/* ============================================
   SUFFA MOBILE-FIRST REDESIGN
   Brand: #4d0d30 | White Canvas
   Style: App-style eCommerce (Dipstore/Velora)
   ============================================ */

/* ---- GLOBAL APP BODY ---- */
body {
    background: #f8f8f8;
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   MOBILE HEADER — App Style
   ============================================ */
@media (max-width: 767px) {
    .announcement-bar {
        display: none;
    }

    .site-header {
        background: #fff;
        border-bottom: 1px solid #f0f0f0;
        box-shadow: none;
        position: sticky;
        top: 0;
        z-index: 200;
    }

    body, html {
        overflow-x: hidden;
    }
    
    .site {
        overflow-x: hidden;
    }

    .header-container {
        height: 60px;
        padding: 0 16px;
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        justify-items: center;
    }

    /* Hamburger left */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        justify-self: start;
        width: 40px;
        height: 40px;
        background: #f8f8f8;
        border-radius: 12px;
        border: none;
        cursor: pointer;
        color: #1a1a2e;
    }

    /* Logo centred */
    .site-branding {
        justify-self: center;
    }

    .site-logo {
        max-height: 36px;
    }

    /* Cart right */
    .header-actions {
        justify-self: end;
    }

    .header-cart-link {
        width: 40px;
        height: 40px;
        background: #f8f8f8;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-count {
        background: #4d0d30;
        top: -6px;
        right: -6px;
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
}

/* ============================================
   MOBILE BOTTOM NAVIGATION — Redesigned
   ============================================ */
.mobile-bottom-nav {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #b2bec3;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: #4d0d30;
}

.mobile-bottom-nav .nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: #4d0d30;
    border-radius: 0 0 4px 4px;
}

.mobile-bottom-nav svg {
    margin-bottom: 0;
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

/* Cart Nav Icon */
.nav-cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-cart-count {
    background: #4d0d30;
    color: #fff;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    top: -6px;
    right: -8px;
    font-weight: 700;
}

/* ============================================
   FRONT PAGE — App-Style Sections
   ============================================ */

/* Mobile search bar on front page */
.mobile-search-bar-wrap {
    padding: 12px 16px;
    background: #fff;
    display: none;
}

@media (max-width: 767px) {
    .mobile-search-bar-wrap {
        display: block;
    }
}

.mobile-search-bar {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: var(--radius-pill);
    padding: 10px 18px;
    gap: 10px;
    border: 1.5px solid #f0f0f0;
}

.mobile-search-bar input {
    border: none;
    background: transparent;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    color: #636e72;
    flex: 1;
    outline: none;
}

.mobile-search-bar svg {
    color: #b2bec3;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* Hero Banner Card — Dipstore style */
@media (max-width: 767px) {
    .hero-section {
        height: auto;
        padding: 0 16px 16px;
        background: transparent;
        background-image: none !important;
    }

    .hero-overlay {
        display: none;
    }

    .hero-banner-card {
        background: linear-gradient(135deg, var(--color-brand) 0%, #7a1248 100%);
        border-radius: var(--radius-lg);
        padding: 28px 24px;
        position: relative;
        overflow: hidden;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .hero-banner-card::before {
        content: '';
        position: absolute;
        top: -30px;
        right: -30px;
        width: 180px;
        height: 180px;
        background: rgba(255,255,255,0.06);
        border-radius: 50%;
    }

    .hero-banner-card::after {
        content: '';
        position: absolute;
        bottom: -40px;
        right: 60px;
        width: 140px;
        height: 140px;
        background: rgba(255,255,255,0.04);
        border-radius: 50%;
    }

    .hero-offer-tag {
        display: inline-block;
        background: rgba(255,255,255,0.2);
        color: #fff;
        font-size: 0.7rem;
        font-weight: 600;
        padding: 4px 12px;
        border-radius: var(--radius-pill);
        margin-bottom: 12px;
        width: fit-content;
        backdrop-filter: blur(4px);
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 65%;
        padding: 0;
    }

    .hero-title {
        font-size: 1.5rem;
        font-style: normal;
        color: #fff;
        margin-bottom: 8px;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        color: rgba(255,255,255,0.75);
        margin-bottom: 20px;
        font-weight: 400;
    }

    .hero-content .btn-primary {
        background: #fff;
        color: var(--color-brand);
        border-radius: var(--radius-pill);
        padding: 10px 22px;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: none;
        text-transform: none;
    }

    .hero-content .btn-primary::after {
        content: '↗';
        font-size: 0.85rem;
    }

    .hero-image-float {
        position: absolute;
        right: 0;
        bottom: 0;
        height: 100%;
        width: 40%;
        object-fit: cover;
        object-position: top center;
    }

    /* Banner dots */
    .hero-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 10px;
    }

    .hero-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #dfe6e9;
    }

    .hero-dot.active {
        width: 18px;
        border-radius: 3px;
        background: var(--color-brand);
    }
}

/* Category Chips — Scrollable */
.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.section-header-row h2,
.section-header-row .section-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    font-family: var(--font-primary);
    margin: 0;
}

.section-see-all {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-brand);
    text-decoration: none;
}

.category-chips-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-chips-scroll::-webkit-scrollbar {
    display: none;
}

.category-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid #f0f0f0;
    border-radius: var(--radius-md);
    padding: 8px 14px 8px 8px;
    min-width: max-content;
    text-decoration: none;
    color: #1a1a2e;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: var(--shadow-card);
}

.category-chip:hover,
.category-chip.active {
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.category-chip-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--color-brand-light);
    flex-shrink: 0;
}

/* ============================================
   PRODUCT CARDS — App Style
   ============================================ */
.app-products-section {
    padding: 0 16px;
    margin-bottom: 28px;
}

@media (min-width: 768px) {
    .app-products-section {
        padding: 0 20px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
    }
}

.app-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .app-product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.app-product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
    position: relative;
}

.app-product-card:hover {
    transform: translateY(-3px);
    color: inherit;
}

.app-product-card-img {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f8f8f8;
}

.app-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.app-product-card:hover .app-product-card-img img {
    transform: scale(1.05);
}

.app-card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    border: none;
    transition: transform 0.2s;
}

.app-card-wishlist:hover {
    transform: scale(1.15);
}

.app-card-wishlist.active svg {
    fill: #e84393;
    stroke: #e84393;
}

.app-card-wishlist svg {
    width: 16px;
    height: 16px;
    stroke: #636e72;
}

.app-card-info {
    padding: 10px 12px 14px;
}

.app-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px;
    line-height: 1.3;
    font-family: var(--font-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-card-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-brand);
    margin: 0;
}

.app-card-price del {
    color: #b2bec3;
    font-weight: 400;
    font-size: 0.75rem;
    margin-left: 4px;
}

/* ============================================
   SHOP PAGE — Archive Mobile
   ============================================ */

/* Search bar on shop page */
.shop-search-bar-wrap {
    padding: 14px 16px 10px;
    background: #fff;
    position: sticky;
    top: 60px;
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
}

@media (min-width: 768px) {
    .shop-search-bar-wrap {
        display: none;
    }
}

.shop-search-bar {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: var(--radius-pill);
    padding: 11px 18px;
    gap: 10px;
    border: 1.5px solid #f0f0f0;
}

.shop-search-bar input {
    border: none;
    background: transparent;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    color: #636e72;
    flex: 1;
    outline: none;
}

.shop-search-bar svg {
    color: #b2bec3;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.shop-filter-icon-btn {
    background: var(--color-brand-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.shop-filter-icon-btn svg {
    color: var(--color-brand);
    width: 18px;
    height: 18px;
}

/* Category filter chips on shop page */
.shop-cat-chips-wrap {
    padding: 10px 16px;
    background: #fff;
    overflow-x: auto;
    display: flex;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-bottom: 1px solid #f0f0f0;
}

.shop-cat-chips-wrap::-webkit-scrollbar {
    display: none;
}

.shop-cat-chip {
    white-space: nowrap;
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid #f0f0f0;
    background: #fff;
    color: #636e72;
    text-decoration: none;
    transition: all 0.2s;
}

.shop-cat-chip.active,
.shop-cat-chip:hover {
    background: var(--color-brand);
    color: #fff;
    border-color: var(--color-brand);
}

/* Shop product grid override for mobile */
@media (max-width: 767px) {
    .shop-container {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .shop-layout {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .shop-sidebar {
        display: none !important;
    }

    .elegant-shop-header {
        padding: 14px 16px 10px !important;
        border-bottom: none !important;
        margin-bottom: 0 !important;
        background: #fff;
    }

    .shop-title {
        font-size: 1rem !important;
        font-weight: 700 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
    }

    .woocommerce ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 14px 16px !important;
        background: #f8f8f8;
    }

    .woocommerce ul.products li.product {
        background: #fff;
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: var(--shadow-card);
        text-align: left;
        padding-bottom: 0;
        position: relative;
    }

    .woocommerce ul.products li.product img {
        border-radius: 0;
        aspect-ratio: 3/4;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.8rem;
        font-weight: 600;
        padding: 0 10px 2px;
        color: #1a1a2e;
    }

    .woocommerce ul.products li.product .price {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--color-brand);
        padding: 0 10px 12px;
        display: block;
    }

    .woocommerce ul.products li.product .price del {
        color: #b2bec3;
        font-weight: 400;
        font-size: 0.72rem;
    }

    .woocommerce ul.products li.product .button {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        display: block;
        width: calc(100% - 20px);
        margin: 0 10px 12px;
        background: var(--color-brand);
        color: #fff;
        border-radius: var(--radius-sm);
        padding: 9px !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        text-align: center;
        border: none !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
    }

    .woocommerce ul.products li.product .button:hover {
        background: var(--color-brand-dark) !important;
        color: #fff !important;
    }

    .onsale {
        top: 10px !important;
        left: 10px !important;
        background: var(--color-brand) !important;
        border-radius: var(--radius-sm) !important;
        font-size: 0.65rem !important;
        padding: 4px 8px !important;
    }

    /* Product wishlist icon */
    .product-wishlist-icon {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   SINGLE PRODUCT PAGE — App Style
   ============================================ */
@media (max-width: 767px) {

    /* Remove standard WC product layout */
    .clonify-product-container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .clonify-product-top {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
        box-sizing: border-box;
    }

    /* Gallery — full width rounded card with floating thumbnails */
    .clonify-gallery {
        max-width: 100%;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        position: relative;
    }

    .clonify-main-image {
        margin-bottom: 0;
        padding: 16px 16px 0;
        box-sizing: border-box;
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .clonify-main-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: var(--radius-lg);
        background: #f8f8f8;
        display: block;
        box-sizing: border-box;
    }

    .clonify-thumbnails {
        position: absolute;
        bottom: 12px;
        left: 0;
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 0;
        flex-wrap: nowrap;
        box-sizing: border-box;
        z-index: 10;
        display: flex;
    }

    .clonify-thumb {
        width: 45px;
        height: 55px;
        border-radius: 8px;
        object-fit: cover;
        border: 2px solid #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    /* Force Variation Swatches to stay on one line */
    .tawcvs-swatches, 
    .vi-wpvs-variation-wrap, 
    .wvs-pro-swatches,
    .variations td.value {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 8px !important;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .tawcvs-swatches::-webkit-scrollbar,
    .variations td.value::-webkit-scrollbar {
        display: none;
    }

    .tawcvs-swatches .swatch,
    .variations .swatch {
        flex-shrink: 0 !important;
    }

    /* Info panel padding */
    .clonify-info {
        padding: 16px 16px 120px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: block !important;
        overflow: hidden;
    }

    /* Hide legacy theme sticky add-to-cart and floating cart */
    .sticky-add-to-cart,
    .suffa-sticky-cart {
        display: none !important;
    }

    .clonify-cat-label {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #b2bec3;
        margin: 0 0 6px;
        font-weight: 700;
        font-family: var(--font-primary);
    }

    .clonify-title {
        font-size: 1.5rem;
        margin: 0;
        font-weight: 700;
        color: #1a1a2e;
        line-height: 1.2;
    }

    .clonify-price {
        font-size: 1.4rem;
        color: var(--color-brand);
        margin: 0;
        font-weight: 800;
    }

    .clonify-rating-wrap {
        display: flex;
        align-items: center;
        gap: 6px;
        background: #f8f8f8;
        padding: 4px 10px;
        border-radius: var(--radius-pill);
        font-size: 0.75rem;
    }

    .clonify-stars {
        color: #f1c40f;
        font-weight: 700;
    }

    .clonify-review-count {
        color: #636e72;
    }

    .clonify-short-desc {
        font-size: 0.85rem;
        color: #636e72;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .clonify-short-desc p {
        margin-top: 0;
        margin-bottom: 8px;
    }

    /* Viewers badge */
    .clonify-viewers {
        background: #fff0f5; /* light brand tint */
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        font-size: 0.8rem;
        color: var(--color-brand);
        font-weight: 600;
        display: flex;
        align-items: center;
    }

    /* Action Links row */
    .clonify-action-links {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 12px 0;
        padding: 12px 0;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
    }

    .clonify-action-link {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 0.7rem;
        font-weight: 600;
        color: #636e72;
        text-decoration: none;
        transition: all 0.2s;
    }

    .clonify-action-link:hover {
        color: var(--color-brand);
    }

    .clonify-action-link svg {
        color: inherit;
    }

    /* Hide redundant elements (extra wishlists) */
    .yith-wcwl-add-to-wishlist,
    .tinv-wraper,
    .woosw-btn,
    .single-wishlist-button {
        display: none !important;
    }

    /* Hide default stock in add-to-cart form to prevent duplicate */
    .clonify-add-to-cart-wrapper p.stock {
        display: none !important;
    }

    /* Clean stock status for custom location */
    .stock.in-stock {
        color: #27ae60;
        font-weight: 600;
        font-size: 0.8rem;
        margin-bottom: 0;
        background: #eafaf1;
        display: inline-block;
        padding: 6px 12px;
        border-radius: var(--radius-pill);
    }

    /* Add to cart section */
    .clonify-add-to-cart-wrapper {
        margin-bottom: 0;
    }

    /* Variation swatches scale down to fit 1 line (support multiple plugin classes) */
    .tawcvs-swatches .swatch,
    .variations .swatch,
    ul.variable-items-wrapper li.variable-item,
    .vi-wpvs-variation-wrap .vi-wpvs-option-wrap {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        line-height: 32px !important;
        font-size: 0.75rem !important;
        flex-shrink: 0 !important;
        margin-right: 6px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
    }

    ul.variable-items-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 6px !important;
        scrollbar-width: none;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    ul.variable-items-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Variation dropdowns styled as clean selects */
    .clonify-add-to-cart-wrapper table.variations td {
        display: block;
        padding-bottom: 8px;
    }

    .clonify-add-to-cart-wrapper table.variations label {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #1a1a2e;
        margin-bottom: 4px;
        display: inline-block;
    }

    .clonify-add-to-cart-wrapper table.variations select {
        border-radius: var(--radius-sm);
        border: 1.5px solid #f0f0f0;
        padding: 10px 14px;
        font-size: 0.85rem;
        background: #f8f8f8;
        width: 100%;
        margin-bottom: 8px;
    }

    /* Hide the add-to-cart button from main area — sticky bar handles it */
    .clonify-add-to-cart-wrapper button.single_add_to_cart_button {
        display: none !important;
    }

    /* ============================================
       REVIEWS SECTION UI
       ============================================ */
    #reviews {
        padding: 16px 0;
    }

    #reviews h2 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 20px;
    }

    .commentlist {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .commentlist li {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .commentlist .comment_container {
        display: flex;
        gap: 12px;
    }

    .commentlist img.avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        object-fit: cover;
        background: #f8f8f8;
    }

    .commentlist .comment-text {
        flex: 1;
    }

    .commentlist .star-rating {
        font-size: 0.75rem;
        color: #f1c40f;
        margin-bottom: 4px;
    }

    .commentlist .meta {
        font-size: 0.75rem;
        color: #b2bec3;
        margin-bottom: 8px;
    }

    .commentlist .meta strong {
        color: #1a1a2e;
        font-weight: 700;
        font-size: 0.85rem;
    }

    .commentlist .description {
        font-size: 0.85rem;
        color: #636e72;
        line-height: 1.5;
    }

    /* Review Form */
    #review_form_wrapper {
        margin-top: 30px;
        background: #f8f8f8;
        padding: 20px;
        border-radius: var(--radius-lg);
    }

    #review_form_wrapper .comment-reply-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 12px;
        display: block;
    }

    #review_form_wrapper .stars {
        margin-bottom: 16px;
    }

    #review_form_wrapper .stars a {
        color: #f1c40f;
        font-size: 1.2rem;
        text-decoration: none;
    }

    #review_form_wrapper textarea,
    #review_form_wrapper input[type="text"],
    #review_form_wrapper input[type="email"] {
        width: 100%;
        border: 1px solid #e0e0e0;
        border-radius: var(--radius-sm);
        padding: 12px;
        margin-bottom: 12px;
        font-family: inherit;
        font-size: 0.9rem;
    }

    #review_form_wrapper .form-submit input.submit {
        width: 100%;
        background: var(--color-brand);
        color: #fff;
        border: none;
        border-radius: var(--radius-pill);
        padding: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    /* Sticky bottom CTA */
    .sticky-product-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
        gap: 16px;
        z-index: 150;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    }

    .sticky-cta-price-wrap {
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
    }

    .sticky-cta-label {
        font-size: 0.65rem;
        color: #636e72;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .sticky-cta-price {
        font-size: 1.1rem;
        font-weight: 800;
        color: #1a1a2e;
    }

    .sticky-cta-btn {
        flex: 1;
        background: var(--color-brand);
        color: #fff;
        border: none;
        border-radius: var(--radius-pill);
        padding: 15px 24px;
        font-size: 0.9rem;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-family: var(--font-primary);
        letter-spacing: 0;
        transition: all 0.2s;
        box-shadow: var(--shadow-btn);
    }

    .sticky-cta-btn:hover {
        background: var(--color-brand-dark);
    }

    /* Tabs on mobile */
    .clonify-tabs-container {
        flex-direction: column;
        gap: 0;
        margin: 16px 0 0;
        border-top: 8px solid #f8f8f8;
    }

    .clonify-tabs-nav {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        border-bottom: 1px solid #f0f0f0;
        padding: 0 16px;
        scrollbar-width: none;
    }

    .clonify-tab-btn {
        padding: 12px 16px;
        white-space: nowrap;
        border-bottom: 2px solid transparent;
        font-size: 0.85rem;
    }

    .clonify-tab-btn.active {
        color: var(--color-brand);
        border-bottom-color: var(--color-brand);
    }

    .clonify-tabs-content {
        padding: 20px 16px;
    }

    .clonify-action-links {
        gap: 12px;
        flex-wrap: wrap;
    }

    .clonify-meta {
        margin-top: 16px;
    }

    /* Related products mobile */
    .clonify-related-section {
        padding: 0 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    .clonify-related-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .clonify-related-card {
        background: #fff;
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: var(--shadow-card);
    }

    .clonify-related-card .rel-img-wrap {
        margin-bottom: 0;
        aspect-ratio: 3/4;
    }

    .clonify-related-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .clonify-related-card .rel-title {
        padding: 8px 10px 2px;
        font-size: 0.78rem;
    }

    .clonify-related-card .rel-price {
        padding: 0 10px 12px;
        color: var(--color-brand);
        font-weight: 700;
        font-size: 0.82rem;
    }
}

/* ============================================
   CART PAGE — App Style
   ============================================ */
@media (max-width: 767px) {
    .woocommerce-cart .woocommerce {
        padding: 0;
    }

    /* Empty cart state */
    .woocommerce-cart-form:empty + .cart-collaterals::before,
    .cart-empty-state {
        text-align: center;
        padding: 60px 24px;
    }

    .woocommerce table.shop_table {
        border: none;
    }

    .woocommerce table.shop_table th {
        font-size: 0.75rem;
    }

    .woocommerce-cart-form {
        padding: 0 16px;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px 16px;
        background: #fff;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
        border: none;
    }

    /* Checkout button on cart */
    .woocommerce-cart .wc-proceed-to-checkout .checkout-button,
    .woocommerce-cart a.checkout-button {
        background: var(--color-brand) !important;
        color: #fff !important;
        border-radius: var(--radius-pill) !important;
        padding: 16px 24px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        width: 100% !important;
        border: none !important;
        box-shadow: var(--shadow-btn) !important;
    }
}

/* ============================================
   MY ACCOUNT / LOGIN — App Style
   ============================================ */
@media (max-width: 767px) {
    .woocommerce-account .woocommerce,
    .woocommerce-page.woocommerce-account .woocommerce {
        padding: 20px 16px;
    }

    /* Login/Register form */
    .woocommerce-form-login,
    .woocommerce-form-register {
        background: #fff;
        border-radius: var(--radius-lg);
        padding: 28px 24px;
        box-shadow: var(--shadow-card);
        border: none;
    }

    /* Form inputs */
    .woocommerce form .form-row input.input-text {
        border-radius: var(--radius-sm);
        border: 1.5px solid #f0f0f0;
        background: #f8f8f8;
        padding: 14px 16px;
        font-size: 0.9rem;
        transition: border-color 0.2s;
    }

    .woocommerce form .form-row input.input-text:focus {
        border-color: var(--color-brand);
        background: #fff;
        outline: none;
    }

    /* Login/Register buttons */
    .woocommerce-form-login .woocommerce-form__input-checkbox + label,
    .woocommerce-form-login__submit,
    .woocommerce-form-register__submit {
        border-radius: var(--radius-pill) !important;
        background: var(--color-brand) !important;
        color: #fff !important;
        border: none !important;
        padding: 15px 24px !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        width: 100% !important;
        margin-top: 8px;
        box-shadow: var(--shadow-btn) !important;
    }

    /* Lost password link */
    .woocommerce-LostPassword a {
        color: var(--color-brand);
        font-weight: 600;
        font-size: 0.85rem;
    }

    /* My Account navigation */
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        list-style: none;
        padding: 0;
        margin: 0 0 24px;
    }

    .woocommerce-MyAccount-navigation ul li {
        margin: 0;
    }

    .woocommerce-MyAccount-navigation ul li a {
        display: block;
        background: #f8f8f8;
        border-radius: var(--radius-pill);
        padding: 8px 18px;
        font-size: 0.8rem;
        font-weight: 600;
        color: #636e72;
        text-decoration: none;
        transition: all 0.2s;
    }

    .woocommerce-MyAccount-navigation ul li.is-active a {
        background: var(--color-brand);
        color: #fff;
    }
}

/* ============================================
   CHECKOUT PAGE — App Style
   ============================================ */
@media (max-width: 767px) {
    .woocommerce-checkout .woocommerce {
        padding: 16px;
    }

    .woocommerce-checkout h3 {
        font-size: 1rem;
        font-weight: 700;
        font-family: var(--font-primary);
        text-transform: none;
        letter-spacing: 0;
        margin-bottom: 16px;
        color: #1a1a2e;
    }

    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row textarea,
    .woocommerce form .form-row select {
        border-radius: var(--radius-sm);
        border: 1.5px solid #f0f0f0;
        background: #f8f8f8;
        font-size: 0.9rem;
    }

    /* Place order button */
    #place_order {
        background: var(--color-brand) !important;
        color: #fff !important;
        border-radius: var(--radius-pill) !important;
        padding: 16px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        width: 100% !important;
        border: none !important;
        box-shadow: var(--shadow-btn) !important;
    }

    /* Payment box */
    #payment {
        background: #f8f8f8;
        border-radius: var(--radius-md);
        padding: 20px 16px;
    }

    #payment .payment_method_label {
        font-size: 0.9rem;
    }
}

/* ============================================
   ANNOUNCEMENT BAR — Desktop Only
   ============================================ */
.announcement-bar {
    background: var(--color-brand);
    color: #fff;
}

/* ============================================
   DESKTOP BUTTON & BRAND COLOUR UPDATES
   ============================================ */
.btn-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: var(--color-brand);
    border-radius: var(--radius-sm);
    border-color: var(--color-brand);
}

.btn-primary:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--color-brand-dark);
    color: #fff;
}

.btn-outline {
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.btn-outline:hover {
    background-color: var(--color-brand);
    color: #fff;
}

/* Desktop WC product buttons */
.woocommerce ul.products li.product .button:hover {
    color: var(--color-brand);
    border-color: var(--color-brand);
}

/* Cart count badge */
.cart-count,
.mobile-cart-count {
    background-color: var(--color-brand);
}

/* Variation active pill */
.variation-pills .pill.active {
    background: var(--color-brand);
    border-color: var(--color-brand);
}

/* Sale badge */
.onsale {
    background-color: var(--color-brand) !important;
}

/* Footer active nav colour */
.mobile-bottom-nav .nav-item.active {
    color: var(--color-brand);
}

/* Clonify product page brand updates */
.clonify-tab-btn.active {
    color: var(--color-brand);
    border-bottom-color: var(--color-brand);
}

.clonify-add-to-cart-wrapper button.single_add_to_cart_button {
    background: var(--color-brand);
}

.clonify-add-to-cart-wrapper button.single_add_to_cart_button:hover {
    background: var(--color-brand-dark);
}

/* ============================================
   FRONT PAGE SECTIONS — Mobile Padding
   ============================================ */
@media (max-width: 767px) {
    .section-padding {
        padding: 20px 0;
    }

    .core-values.section-padding,
    .craftsmanship.section-padding,
    .customer-feedback.section-padding,
    .brand-story.section-padding {
        padding: 20px 16px;
    }

    .core-values .container,
    .craftsmanship .container,
    .customer-feedback .container,
    .brand-story .container {
        padding: 0;
    }

    .section-title {
        font-size: 1.2rem;
        font-family: var(--font-primary);
        font-weight: 700;
        letter-spacing: 0;
        text-transform: none;
    }

    /* Featured products on front page: horizontal scroll */
    .front-page-products-scroll {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .front-page-products-scroll::-webkit-scrollbar {
        display: none;
    }

    .front-page-products-scroll .app-product-card {
        min-width: 160px;
    }
}

/* WhatsApp float moves up on mobile to clear bottom nav */
@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 80px;
        right: 16px;
        width: 48px;
        height: 48px;
        box-shadow: 0 6px 20px rgba(37,211,102,0.3);
    }
}

/* ============================================
   UTILITY: Hide on mobile / desktop
   ============================================ */
.hide-mobile { display: block; }
.show-mobile { display: none; }

@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
    .show-mobile { display: block; }
}
