/* v3 � Homepage Mobile-First Styles
   Base canvas: 390px | Breakpoints: min-width
   ============================================ */

/* --------------------------------------------
   1. GLOBAL RESETS & CONFLICT OVERRIDES
   -------------------------------------------- */

/* Kill stylesheet.css body height:100% - needed for fixed tab bar */
html {
    width: 100%;
    max-width: 100vw;
}
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}
body {
    height: auto !important;
    min-height: 100vh;
}

/* Product page: don't force min-height (body shorter than 100vh creates whitespace below footer) */
body.route-product-product {
    min-height: auto;
}

/* Kill stylesheet.css absolute positioning that breaks flow */
#container {
    position: relative !important;
    margin-bottom: 0 !important;
    min-height: auto !important;
}

/* Kill the absolute footer from stylesheet.css */
footer {
    position: static !important;
}

/* Kill old OpenCart nav/header � replaced by custom header */
#top, #search, #menu, #cart {
    display: none !important;
}

/* Kill the huge padding-bottom from stylesheet.css content rule */
#content {
    padding-bottom: 0 !important;
}

#common-home {
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}
#common-home .row {
    margin: 0;
}

/* --------------------------------------------
   2. BOTTOM TAB BAR (Mobile)
   -------------------------------------------- */
#bottom-tab-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 4px 0;
    padding-bottom: max(4px, env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
    height: 56px;
    box-shadow: 0 -1px 8px rgba(0,0,0,0.06);
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Swap-on-Scroll: hide bottom nav when sticky product bar is visible */
body.bottom-nav-hidden #bottom-tab-bar {
    transform: translateY(100%);
}

/* On product pages, ensure the sticky bar and bottom nav don't overlap
   during transition by keeping transitions synchronized */
body.bottom-nav-hidden {
    /* Contextual class applied by product page JS */
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    text-decoration: none;
    color: #999;
    font-size: 10px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    position: relative;
    transition: color 0.15s;
    gap: 2px;
}

.tab-item.active,
.tab-item:hover {
    color: #1773b0;
}

/* Categories tab � hero CTA, larger icon + accent colour */
.tab-item--categories {
    color: #3aaa35;
    font-weight: 600;
    font-size: 11px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    padding: 0;
}
.tab-item--categories svg {
    width: 24px;
    height: 24px;
}
.tab-item--categories:hover,
.tab-item--categories:active {
    color: #2d8e26;
}

.tab-item svg,
.tab-item .tab-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.tab-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 16px);
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

/* Compensate for fixed tab bar � add padding to scroller */
#common-home {
    padding-bottom: 72px;
}

body.has-bottom-tabs {
    /* not used for bottom padding � #common-home handles it */
}

/* Hide tab bar on desktop */
@media (min-width: 992px) {
    #bottom-tab-bar {
        display: none !important;
    }
    body.has-bottom-tabs {
        /* no padding needed on desktop */
    }
    #common-home {
        padding-bottom: 0;
    }
}

/* --------------------------------------------
   3. TOP ANNOUNCEMENT BAR
   -------------------------------------------- */
.top-announcement-bar {
    background: linear-gradient(135deg, #1773b0, #0d5b8a);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 10px 16px;
    line-height: 1.4;
}

.top-announcement-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

@media (max-width: 575.98px) {
    .top-announcement-bar {
        font-size: 14px;
        padding: 10px 16px;
    }
}

@media (min-width: 992px) {
    .top-announcement-bar {
        font-size: 15px;
        padding: 12px 24px;
    }
}

/* --------------------------------------------
   4. TRUST BAR
   -------------------------------------------- */
.trust-bar {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4eaf5 100%);
    border-bottom: 3px solid #1773b0;
    padding: 10px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #1a1a2e;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    padding: 3px 0;
}

.trust-bar__item svg,
.trust-bar__item i {
    width: 16px;
    height: 16px;
    font-size: 16px;
    flex-shrink: 0;
    color: #15803d;
}

@media (min-width: 391px) {
    .trust-bar {
        padding: 12px 10px;
        gap: 6px;
    }
    .trust-bar__item {
        gap: 6px;
        font-size: 11px;
    }
    .trust-bar__item svg,
    .trust-bar__item i {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }
}

@media (min-width: 576px) {
    .trust-bar {
        padding: 12px 20px;
        justify-content: center;
        gap: 32px;
    }
    .trust-bar__item {
        font-size: 13px;
    }
}

/* --------------------------------------------
   4. HERO BANNER (Baymard: static gradient, single CTA)
   -------------------------------------------- */
.hero-banner {
    width: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 35%, #0f3460 70%, #1773b0 100%);
}
.hero-banner__inner {
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}
.hero-banner__text {
    text-align: center;
    max-width: 360px;
}
.hero-banner__title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 auto 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-banner__subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
    margin: 0 auto 16px;
}
.hero-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3aaa35;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 10px 28px;
    border-radius: 10px;
    min-width: 140px;
    min-height: 42px;
    transition: background 0.2s;
    box-shadow: 0 4px 14px rgba(58,170,53,0.4);
}
.hero-banner__cta:active {
    background: #2d8a29;
    transform: scale(0.97);
}

/* Responsive */
@media (min-width: 576px) {
    .hero-banner__inner { min-height: 260px; padding: 56px 24px; }
    .hero-banner__title { font-size: 26px; }
    .hero-banner__subtitle { font-size: 15px; }
    .hero-banner__text { max-width: 460px; }
}

@media (min-width: 992px) {
    .hero-banner__inner { min-height: 340px; padding: 72px 32px; }
    .hero-banner__title { font-size: 32px; }
    .hero-banner__subtitle { font-size: 16px; }
    .hero-banner__text { max-width: 560px; }
    .hero-banner__cta { font-size: 16px; padding: 12px 36px; }
}

/* Quick Category Chips (Taobao-style) */
.quick-cats {
    background: #fff;
    border-bottom: 1px solid #eef1f5;
    padding: 12px 0;
}
.quick-cats__scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
    scrollbar-width: none;
}
.quick-cats__scroll::-webkit-scrollbar {
    display: none;
}
.quick-cat-chip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    scroll-snap-align: start;
    min-width: 64px;
}
.quick-cat-chip__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.quick-cat-chip:active .quick-cat-chip__icon-wrap {
    border-color: #1773b0;
}
.quick-cat-chip__icon-wrap--more {
    background: linear-gradient(135deg, #1773b0, #0d5b8a);
    color: #fff;
}
.quick-cat-chip__icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.quick-cat-chip__label {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
    line-height: 1.2;
    max-width: 68px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

@media (min-width: 576px) {
    .quick-cats__scroll {
        padding: 0 24px;
        gap: 16px;
    }
    .quick-cat-chip__icon-wrap {
        width: 64px;
        height: 64px;
    }
    .quick-cat-chip__label {
        font-size: 12px;
    }
}

@media (min-width: 992px) {
    .quick-cats__scroll {
        max-width: 1232px;
        margin: 0 auto;
        padding: 0 24px;
        justify-content: center;
    }
}

/* --------------------------------------------
   4.05 DEALS ROW (Chinese CRO � horizontal scroll deals)
   -------------------------------------------- */
.deals-row {
    padding: 16px 0 20px;
    background: #fff;
    border-bottom: 1px solid #eef1f5;
}

.deals-row__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    margin-bottom: 12px;
}

.deals-row__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.deals-row__view-all {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1773b0;
    text-decoration: none;
    white-space: nowrap;
}

.deals-row__view-all:hover {
    text-decoration: underline;
}

.deals-row__scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
    scrollbar-width: none;
}

.deals-row__scroll::-webkit-scrollbar {
    display: none;
}

.deal-card {
    flex: 0 0 148px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eef1f5;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.2s;
}

.deal-card:active {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.deal-card__image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f9fafb;
    overflow: hidden;
}

.deal-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.deal-card__badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #dc3545;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.2;
}

.deal-card__body {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.deal-card__name {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.deal-card__special {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #dc3545;
    line-height: 1;
}

.deal-card__old {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #aaa;
    text-decoration: line-through;
    line-height: 1;
}

@media (min-width: 576px) {
    .deals-row__header {
        padding: 0 24px;
    }
    .deals-row__scroll {
        padding: 0 24px;
        gap: 14px;
    }
    .deal-card {
        flex: 0 0 170px;
    }
}

@media (min-width: 992px) {
    .deals-row {
        padding: 20px 0 28px;
    }
    .deals-row__header {
        max-width: 1200px;
        margin: 0 auto 16px;
        padding: 0 24px;
    }
    .deals-row__scroll {
        max-width: 1232px;
        margin: 0 auto;
        padding: 0 24px;
        gap: 16px;
    }
    .deal-card {
        flex: 0 0 190px;
    }
    .deal-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        transform: translateY(-2px);
        transition: all 0.2s;
    }
}

/* --------------------------------------------
   4.1 FREE SHIPPING PROGRESS BAR (Chinese CRO)
   -------------------------------------------- */
.free-shipping-bar {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4eaf5 100%);
    border-bottom: 2px solid #1773b0;
    padding: 14px 16px;
}

.free-shipping-bar__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.free-shipping-bar__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.free-shipping-bar__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.free-shipping-bar__label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.3;
}

.free-shipping-bar__label strong {
    font-weight: 700;
    color: #1773b0;
}

.free-shipping-bar__link {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #1773b0;
    text-decoration: none;
}

.free-shipping-bar__link:hover {
    text-decoration: underline;
}

.free-shipping-bar__track {
    width: 100%;
    height: 4px;
    background: #c5dbe8;
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.free-shipping-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, #1773b0, #3aaa35);
    border-radius: 2px;
    transition: width 0.4s ease;
    min-width: 0;
}

/* --------------------------------------------
   4.2 WHATSAPP FAB (Chinese CRO)
   -------------------------------------------- */
.whatsapp-fab {
    position: fixed;
    bottom: 76px;
    right: 16px;
    z-index: 9990;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.whatsapp-fab:hover,
.whatsapp-fab:active {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.6);
    color: #fff;
    text-decoration: none;
}

@media (min-width: 992px) {
    .whatsapp-fab {
        display: none;
    }
}



/* --------------------------------------------
   5. SOCIAL PROOF (Enhanced)
   -------------------------------------------- */
.social-proof {
    padding: 28px 16px 32px;
    background: linear-gradient(180deg, #f0f7ff 0%, #f8f9fa 30%);
    text-align: center;
    border-top: 1px solid #eef1f5;
}

.social-proof__stars-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.social-proof__stars {
    display: inline-flex;
    gap: 2px;
}

.social-proof__stars svg {
    width: 20px;
    height: 20px;
}

.social-proof__rating-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.social-proof__count {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #777;
    margin-bottom: 20px;
}

.social-proof__quotes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 370px;
    margin: 0 auto;
}

.social-proof__quote {
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.social-proof__quote-stars {
    display: inline-flex;
    gap: 1px;
    margin-bottom: 6px;
}

.social-proof__quote-stars svg {
    width: 14px;
    height: 14px;
}

.social-proof__quote-text {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    margin: 0 0 8px;
    font-style: italic;
}

.social-proof__quote-author {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.social-proof__quote-city {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #999;
}

@media (min-width: 576px) {
    .social-proof__quotes {
        flex-direction: row;
        max-width: 540px;
    }
    .social-proof__quote {
        flex: 1;
    }
}

@media (min-width: 992px) {
    .social-proof {
        padding: 48px 24px 56px;
    }
    .social-proof__quotes {
        max-width: 960px;
        gap: 20px;
    }
    .social-proof__rating-text {
        font-size: 16px;
    }
    .social-proof__count {
        font-size: 14px;
    }
}

/* --------------------------------------------
   6. USP STRIP
   -------------------------------------------- */
.usp-strip {
    padding: 28px 16px 32px;
    background: #fff;
    border-top: 1px solid #eef1f5;
}

.usp-strip__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 20px;
}

.usp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 370px;
    margin: 0 auto;
}

.usp-grid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    min-height: 48px;
}

.usp-grid__item svg,
.usp-grid__item i {
    width: 32px;
    height: 32px;
    font-size: 32px;
    color: #1773b0;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.usp-grid__item-title {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.usp-grid__item-text {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

@media (min-width: 576px) {
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 540px;
    }
}

@media (min-width: 992px) {
    .usp-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 960px;
        gap: 28px;
    }
}

/* --------------------------------------------
   6.5 SKELETON LOADING (Chinese CRO)
   -------------------------------------------- */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
}

.skeleton-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef1f5;
}

.skeleton-card__image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-card__text {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-line {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-line--short { width: 60%; }
.skeleton-line--long { width: 90%; }
.skeleton-line--medium { width: 40%; }

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Hide skeleton after real content fades in */
.featured-skeleton { transition: opacity 0.3s; }
.featured-grid + .featured-skeleton,
.featured-grid ~ .featured-skeleton { display: none; }
.featured-skeleton:not([aria-hidden="true"]) + .featured-grid { display: none; }

/* JS will set aria-hidden=false on skeleton and add loaded class */
.featured-section.loaded .featured-skeleton { display: none; }
.featured-section.loaded .featured-grid { opacity: 1; }

/* Fade-in animation for real content */
.featured-grid {
    animation: content-fade-in 0.4s ease-out;
}

@keyframes content-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 576px) {
    .skeleton-grid {
        max-width: 600px;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 992px) {
    .skeleton-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        gap: 20px;
    }
}

/* --------------------------------------------
   7. FEATURED PRODUCTS (Redesigned Cards)
   -------------------------------------------- */
.featured-section {
    padding: 32px 16px 40px;
    background: #fff;
    border-top: 1px solid #eef1f5;
}

.featured-section__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin: 0 auto 4px;
    max-width: 400px;
}

.featured-section__subheading {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #888;
    text-align: center;
    margin: 0 auto 20px;
    max-width: 400px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

/* Product Card � refined, no sticker */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #eef1f5;
    transition: box-shadow 0.25s, transform 0.2s;
    position: relative;
}

.product-card:active {
    transform: scale(0.98);
}

/* Image wrapper with quick-add overlay */
.product-card__image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f9fafb;
    overflow: hidden;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.3s;
}

.product-card:hover .product-card__image {
    transform: scale(1.04);
}

/* Quick-add cart button � overlay on image */
.product-card__quick-add {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #dde3ea;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s;
    z-index: 2;
    font-size: 0;
    padding: 0;
}

.product-card__quick-add:hover,
.product-card__quick-add:active {
    background: #3aaa35;
    border-color: #3aaa35;
    color: #fff;
    box-shadow: 0 4px 14px rgba(58,170,53,0.35);
    transform: scale(1.1);
}

.product-card__quick-add:disabled {
    background: #ddd;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.product-card__quick-add svg {
    width: 18px;
    height: 18px;
}

/* Desktop Add-to-Cart button � hidden on mobile by default */
.product-card__btn-desktop {
    display: none;
}

/* Sale / Special badge */
.product-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #15803d;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.product-card__badge--sale {
    background: #dc3545;
}

/* Card body */
.product-card__body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.product-card__name {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

a.product-card__name:hover {
    color: #1773b0;
}

/* Product description excerpt */
.product-card__desc {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #777;
    line-height: 1.5;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating row */
.product-card__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.product-card__stars {
    display: inline-flex;
    gap: 1px;
}

.product-card__stars svg {
    width: 12px;
    height: 12px;
}

.product-card__rating-count {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #999;
    font-weight: 500;
}

/* Price row */
.product-card__price-row {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.product-card__price {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #15803d;
    line-height: 1;
}

.product-card__price-old {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 400;
}

.product-card__discount-pct {
    font-size: 11px;
    font-weight: 600;
    color: #dc3545;
    background: #fff0f0;
    padding: 2px 6px;
    border-radius: 3px;
}

/* Link wraps image + name */
.product-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__link:hover,
.product-card__link:active {
    text-decoration: none;
    color: inherit;
}

@media (min-width: 576px) {
    .featured-section__heading {
        max-width: 600px;
        text-align: left;
        font-size: 20px;
    }
    .featured-section__subheading {
        max-width: 600px;
        text-align: left;
    }
    .featured-grid {
        max-width: 600px;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .product-card__name {
        font-size: 14px;
    }
    .product-card__price {
        font-size: 18px;
    }
    /* Cards are wider here � switch back to left alignment */
    .product-card__body {
        text-align: left;
    }
    .product-card__rating {
        justify-content: flex-start;
    }
    .product-card__price-row {
        justify-content: flex-start;
    }
    /* Show full button, hide quick-add icon */
    .product-card__quick-add {
        display: none !important;
    }
    .product-card__btn-desktop {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        margin-top: auto;
        padding: 10px 16px;
        min-height: 42px;
        background: #3aaa35;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-family: 'Poppins', sans-serif;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.2s, transform 0.1s;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        line-height: 1;
    }
    .product-card__btn-desktop:hover {
        background: #2d8a29;
    }
}

@media (min-width: 992px) {
    .featured-section {
        padding: 48px 24px 56px;
    }
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        gap: 20px;
    }
    .product-card:hover {
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

    /* Spacious body with clear vertical rhythm */
    .product-card__body {
        padding: 16px 16px 18px;
        gap: 10px;
    }
    .product-card__name {
        font-size: 15px;
        margin-bottom: 0;
    }
    .product-card__desc {
        margin-bottom: 6px;
    }
    .product-card__rating {
        margin-bottom: 4px;
    }
    .product-card__price-row {
        margin-top: 4px;
        margin-bottom: 14px;
    }
    .product-card__price {
        font-size: 20px;
    }

    .product-card__btn-desktop {
        margin-top: 0;
    }
    .product-card__btn-desktop:active {
        transform: scale(0.97);
    }

    .product-card__btn-desktop:disabled {
        background: #ddd;
        color: #999;
        cursor: not-allowed;
        transform: none;
    }

    .product-card__btn-desktop svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
}

/* --------------------------------------------
   8. CATEGORY TILES
   -------------------------------------------- */
.category-section {
    padding: 32px 12px 36px;
    background: #f8f9fa;
    border-top: 1px solid #eef1f5;
}

.category-section__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: left;
    margin: 0 4px 16px;
    padding: 0 4px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 370px;
    margin: 0 auto;
}

.category-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4eaf5 100%);
    min-height: 48px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-tile:active {
    transform: scale(0.97);
}

.category-tile:hover,
.category-tile:active {
    text-decoration: none;
}

.category-tile__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tile__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
    padding: 24px 12px 10px;
}

.category-tile__name {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@media (min-width: 576px) {
    .category-grid {
        max-width: 540px;
        gap: 14px;
    }
}

@media (min-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 960px;
        gap: 18px;
    }
    .category-tile:hover {
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }
}

/* --------------------------------------------
   9. HOW IT WORKS
   -------------------------------------------- */
.how-it-works {
    padding: 28px 16px 32px;
    background: linear-gradient(180deg, #f0f7ff 0%, #f8f9fa 30%);
    text-align: center;
    border-top: 1px solid #eef1f5;
}

.how-it-works__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px;
}

.how-it-works__steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 370px;
    margin: 0 auto;
}

.how-it-works__step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
}

.how-it-works__step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #1773b0;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.how-it-works__step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.how-it-works__step-text {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 576px) {
    .how-it-works__steps {
        flex-direction: row;
        max-width: 540px;
        gap: 24px;
    }
    .how-it-works__step {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 992px) {
    .how-it-works__steps {
        max-width: 960px;
        gap: 36px;
    }
    .how-it-works__step-title {
        font-size: 16px;
    }
    .how-it-works__step-text {
        font-size: 14px;
    }
    .how-it-works__step-number {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 22px;
    }
}

/* --------------------------------------------
   10. REWARDS TEASER
   -------------------------------------------- */
.rewards-teaser {
    padding: 28px 16px 32px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
}

.rewards-teaser__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.rewards-teaser__text {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px;
    opacity: 0.9;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.rewards-teaser__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0c040;
    color: #1a1a2e;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 28px;
    border-radius: 8px;
    min-height: 48px;
    min-width: 160px;
    transition: background 0.2s;
}

.rewards-teaser__cta:hover,
.rewards-teaser__cta:active {
    background: #d4aa30;
    color: #1a1a2e;
    text-decoration: none;
}

@media (min-width: 576px) {
    .rewards-teaser {
        padding: 32px 24px;
    }
}

@media (min-width: 992px) {
    .rewards-teaser {
        padding: 48px 24px 56px;
    }
    .rewards-teaser__heading {
        font-size: 20px;
    }
    .rewards-teaser__text {
        font-size: 15px;
        max-width: 560px;
    }
}

/* --------------------------------------------
   11. AFFILIATE TEASER
   -------------------------------------------- */
.affiliate-teaser {
    padding: 28px 16px 32px;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.affiliate-teaser__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.affiliate-teaser__text {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 14px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.affiliate-teaser__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1773b0;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 28px;
    border-radius: 8px;
    min-height: 48px;
    min-width: 160px;
    transition: background 0.2s;
}

.affiliate-teaser__cta:hover,
.affiliate-teaser__cta:active {
    background: #125d90;
    color: #fff;
    text-decoration: none;
}

@media (min-width: 576px) {
    .affiliate-teaser {
        padding: 32px 24px;
    }
}

@media (min-width: 992px) {
    .affiliate-teaser {
        padding: 48px 24px 56px;
    }
    .affiliate-teaser__heading {
        font-size: 20px;
    }
    .affiliate-teaser__text {
        font-size: 15px;
        max-width: 560px;
    }
}

/* --------------------------------------------
   12. HOMEPAGE FOOTER (base rules that don't overlap with the footer block below)
   -------------------------------------------- */

.homepage-footer__compliance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-bottom: 16px;
    font-size: 12px;
    letter-spacing: 0.2px;
}

.homepage-footer__compliance a {
    color: #ccc;
    text-decoration: underline;
}

.homepage-footer__compliance a:hover {
    color: #fff;
}

.homepage-footer__compliance span {
    color: #888;
}

.homepage-footer__payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.homepage-footer__payment-badge {
    background: #fff;
    color: #1a1a2e;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.homepage-footer__whatsapp {
    font-size: 13px;
    margin-bottom: 8px;
}

.homepage-footer__whatsapp a {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
}

.homepage-footer__whatsapp a:hover {
    text-decoration: underline;
}

.homepage-footer__copyright {
    font-size: 11px;
    color: #888;
    margin: 0;
}

/* --------------------------------------------
   11.5 CAROUSEL PAGINATION DOTS (Chinese CRO)
   -------------------------------------------- */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 12px 0 4px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d0d5dd;
    transition: background 0.3s, width 0.3s;
}

.carousel-dot.active {
    background: #1773b0;
    width: 18px;
    border-radius: 3px;
}

@media (min-width: 576px) {
    .carousel-dots {
        display: none;
    }
}

/* --------------------------------------------
   12.5 FOOTER ICON GRID QUICK LINKS (Chinese CRO)
   -------------------------------------------- */
.footer-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 0 8px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 16px;
}

.footer-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    color: #ccc;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    min-height: 64px;
    padding: 8px 4px;
    border-radius: 10px;
    transition: background 0.15s, color 0.15s;
}

.footer-icon-item i {
    font-size: 22px;
    color: #1773b0;
}

.footer-icon-item:hover,
.footer-icon-item:active {
    background: rgba(255,255,255,0.06);
    color: #fff;
    text-decoration: none;
}

@media (min-width: 576px) {
    .footer-icon-grid {
        max-width: 400px;
        margin: 0 auto 16px;
        gap: 12px;
    }
}

@media (min-width: 992px) {
    .footer-icon-grid {
        display: none;
    }
    .homepage-footer {
        padding-bottom: 40px;
    }
}

/* --------------------------------------------
   13. DESKTOP TWO-LAYER HEADER (Baymard CRO)
   -------------------------------------------- */
@media (min-width: 992px) {

/* ===== LINE 1: Logo � Search � Utility Links ===== */
/* Compact but legible � secondary actions live here */
.desktop-utility-bar {
    background: #fff;
    padding: 10px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}

.desktop-utility-bar .container {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    padding: 0 24px;
    gap: 20px;
}

.desktop-utility-bar__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.desktop-utility-bar__logo img {
    max-height: 32px;
    width: auto;
}

/* Search � flex:1 takes available space between logo and links */
.desktop-utility-bar__search {
    flex: 1;
    max-width: 520px;
    min-width: 220px;
    position: relative;
}

.desktop-search-form {
    display: flex;
    align-items: center;
    background: #f1f3f5;
    border-radius: 8px;
    border: 1px solid #e0e4e8;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.desktop-search-form:focus-within {
    border-color: #1773b0;
    box-shadow: 0 0 0 3px rgba(23,115,176,0.12);
    background: #fff;
}

.desktop-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #1a1a2e;
    outline: none;
    min-width: 0;
}

.desktop-search-input::placeholder {
    color: #999;
    font-weight: 400;
}

.desktop-search-btn {
    background: #1773b0;
    border: none;
    color: #fff;
    padding: 8px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    font-size: 14px;
    min-height: 36px;
}

.desktop-search-btn:hover {
    background: #0d5b8a;
}

/* Search autocomplete dropdown */
.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1060;
    background: #fff;
    border: 1px solid #e0e4e8;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 320px;
    overflow-y: auto;
}

.search-autocomplete__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #1a1a2e;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.1s;
    border-bottom: 1px solid #f5f5f5;
    min-height: 44px;
}

.search-autocomplete__item:last-child {
    border-bottom: none;
}

.search-autocomplete__item:hover,
.search-autocomplete__item.active {
    background: #f0f7ff;
}

.search-autocomplete__item-image {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    object-fit: contain;
    background: #f9fafb;
    flex-shrink: 0;
}

.search-autocomplete__item-name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-autocomplete__item-price {
    font-weight: 700;
    color: #15803d;
    flex-shrink: 0;
}

.search-autocomplete__no-results {
    padding: 12px 14px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

.desktop-utility-bar__links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.desktop-utility-bar__links a {
    color: #555;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.desktop-utility-bar__links a:hover {
    color: #1773b0;
    background: #e8f4f8;
}

.desktop-utility-bar__cart-btn {
    position: relative;
    background: #f0f7ff !important;
    color: #1773b0 !important;
    font-weight: 700 !important;
    border: 1px solid #d4eaf5;
}

.desktop-utility-bar__cart-btn:hover {
    background: #1773b0 !important;
    color: #fff !important;
    border-color: #1773b0;
}

.desktop-utility-bar__checkout-btn {
    background: #3aaa35 !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 7px 16px !important;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.desktop-utility-bar__checkout-btn:hover {
    background: #2d8a29 !important;
    color: #fff !important;
}

.utility-cart-count {
    position: absolute;
    top: 0;
    right: 2px;
    background: #dc3545;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

/* Cart badge bounce animation */
@keyframes cartBadgeBounce {
    0%   { transform: scale(1); }
    25%  { transform: scale(1.4); }
    50%  { transform: scale(0.9); }
    75%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.cart-badge-bounce {
    animation: cartBadgeBounce 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Mobile Header Bar ===== */
.mobile-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid #eef1f5;
    gap: 12px;
    min-height: 60px;
}

.mobile-header-bar__logo {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-header-bar__logo img {
    max-height: 34px;
    width: auto;
}

.mobile-header-bar__cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 8px;
    flex-shrink: 0;
}

.mobile-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    padding: 0 4px;
}

/* ===== Mobile Search Bar ===== */
.mobile-search-bar {
    padding: 10px 16px 14px;
    background: #fff;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    min-width: 0;
}

.mobile-search-btn {
    background: #1773b0;
    color: #fff;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 15px;
    flex-shrink: 0;
}

.search-autocomplete--mobile {
    left: 0;
    right: 0;
}

/* Kill any search module form leaked from the old header */
@media (max-width: 991.98px) {
    header form.input-group,
    header .col-md-5 form {
        display: none !important;
    }
}

/* Hide header elements on search page (search page has its own complete header + bar) */
.route-product-search .desktop-utility-bar__search,
.route-product-search .mobile-search-bar,
.route-product-search .mobile-header-bar {
    display: none !important;
}

/* ===== LINE 2: Mega Menu — prominent, pushes direction/sale ===== */
.desktop-nav-wrapper {
    background: #fff;
    border-bottom: 2px solid #1773b0;
    position: sticky;
    top: 0;
    z-index: 1040;
    overflow: visible;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.desktop-nav-wrapper .container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 56px;
    max-width: 1200px;
    overflow: visible;
}

/* Mega Nav List */
#desktop-nav {
    display: flex !important;
    align-items: center;
}

#desktop-nav .mega-nav-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#desktop-nav .mega-nav-list .mega-nav-item {
    position: relative;
    display: block;
    flex-shrink: 0;
}

#desktop-nav .mega-nav-list .mega-nav-item::before {
    display: none !important;
    content: none !important;
}

/* Mega Nav Link � larger, bolder, direction-driving */
.mega-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    text-decoration: none;
    padding: 14px 20px;
    min-height: 48px;
    white-space: nowrap;
    transition: color 0.2s, background 0.15s;
    border-radius: 8px;
}

.mega-nav-link:hover,
.mega-nav-link:focus-visible {
    color: #1773b0;
    background: #f0f7ff;
    text-decoration: none;
    outline: none;
}

.mega-nav-link svg {
    flex-shrink: 0;
    opacity: 0.5;
    transition: transform 0.2s, opacity 0.2s;
}

.mega-nav-item.has-dropdown:hover .mega-nav-link svg {
    transform: rotate(180deg);
    opacity: 1;
}

/* Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    z-index: 1050;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    pointer-events: none;
}

.mega-nav-item.has-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-dropdown-inner {
    display: flex;
    padding: 8px 0;
}

.mega-dropdown-links {
    flex: 1;
    min-width: 200px;
}

.mega-dropdown-viewall {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1773b0;
    text-decoration: none;
    padding: 10px 20px 8px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
    transition: background 0.15s;
}

.mega-dropdown-viewall:hover {
    background: #f0f7ff;
    color: #0d5b8a;
    text-decoration: none;
}

.mega-subnav {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

.mega-subnav li a {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 9px 20px;
    transition: background 0.12s, color 0.12s, padding-left 0.15s;
    border-radius: 0;
}

.mega-subnav li a:hover {
    background: #f0f7ff;
    color: #1773b0;
    padding-left: 26px;
}

/* Hide mobile/original elements on desktop */
    #top,
    #menu,
    #search,
    #cart,
    .navbar-toggler,
    .navbar-collapse,
    #category,
    header {
        display: none !important;
    }

} /* end min-width: 992px header block */

/* Hide desktop nav on mobile */
@media (max-width: 991.98px) {
    .desktop-nav-wrapper {
        display: none;
    }
}

/* --------------------------------------------
   14. MOBILE HEADER � KILL OLD CHROME
   -------------------------------------------- */
@media (max-width: 991.98px) {
    /* Kill old header elements that don't belong on mobile */
    #top,
    #menu,
    #search,
    #cart,
    .navbar-toggler,
    #category,
    .navbar-collapse {
        display: none !important;
    }

    /* Force-hide old <header> and any legacy search inside it */
    header:not(.d-lg-block),
    header .input-group {
        display: none !important;
    }

    /* No overrides needed � .mobile-header-bar + .mobile-search-bar handle mobile */
}

/* Hide mobile header bar on desktop */
@media (min-width: 992px) {
    .mobile-header-bar,
    .mobile-search-bar {
        display: none !important;
    }
}

/* --------------------------------------------
   18. BREADCRUMBS & SEARCH STYLES
   -------------------------------------------- */
/* Breadcrumb separators � ensure chevrons are visible */
.breadcrumb {
    background: transparent;
    padding: 8px 16px;
    margin: 0;
    flex-wrap: wrap;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '�';
    padding: 0 6px;
    color: #aaa;
    font-size: 16px;
    line-height: 1;
    float: none;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #1773b0;
    text-decoration: underline;
}

.breadcrumb-item:last-child a,
.breadcrumb-item.active {
    color: #1a1a2e;
    font-weight: 600;
}

/* Modern page breadcrumbs (cart, checkout, etc.) � unified style with � separators */
.page-breadcrumbs {
    padding: 10px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #888;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.page-breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.page-breadcrumbs a:hover {
    color: #1773b0;
    text-decoration: underline;
}

.page-breadcrumbs__sep {
    padding: 0 6px;
    color: #ccc;
    font-size: 14px;
    line-height: 1;
}

.page-breadcrumbs__current {
    color: #1a1a2e;
    font-weight: 600;
}

/* Search page breadcrumbs */
.search-page__breadcrumbs {
    padding: 10px 16px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    background: #fff;
}

.search-page__breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.search-page__breadcrumbs a:hover {
    color: #1773b0;
    text-decoration: underline;
}

.search-page__breadcrumb-sep {
    color: #ccc;
    padding: 0 6px;
    font-size: 14px;
}

.search-page__breadcrumb-current {
    color: #1a1a2e;
    font-weight: 600;
}

@media (min-width: 992px) {
    .breadcrumb {
        padding: 12px 24px;
        font-size: 13px;
    }
    .search-page__breadcrumbs {
        padding: 12px 24px 0;
        font-size: 13px;
    }
}
   -------------------------------------------- */
#account-login #column-left,
#account-login #column-right {
    display: none !important;
}

#account-login .row {
    display: block !important;
}

#account-login #content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Two-column login layout: New Customer | Returning Customer */
#account-login #content > .row {
    display: flex !important;
    flex-wrap: wrap;
}

/* --------------------------------------------
   15. MOBILE ACCOUNT PAGE � ICON GRID LAYOUT
   -------------------------------------------- */
/* Account page wrapper */
.account-page-wrapper {
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* Suppress the default OpenCart Account module list-group injected via content_top */
.account-page-wrapper .list-group {
    display: none !important;
}

/* Kill column_left/right on account page � icon grid replaces sidebar */
.account-page-wrapper #column-left,
.account-page-wrapper #column-right {
    display: none !important;
}

.account-page-wrapper .row {
    display: block !important;
}

.account-page-wrapper #content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Order Status Strip */
.account-order-strip {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid #eef1f5;
    padding: 16px 8px;
    gap: 4px;
}

.account-order-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #1a1a2e;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
    padding: 6px 4px;
    border-radius: 8px;
    transition: background 0.15s;
    flex: 0 1 auto;
}

.account-order-item i {
    font-size: 22px;
    color: #1773b0;
}

.account-order-item:hover,
.account-order-item:active {
    background: #f0f7ff;
    text-decoration: none;
    color: #1a1a2e;
}

/* Account Icon Grid */
.account-section-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    padding: 20px 16px 12px;
}

.account-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 16px;
}

.account-legal-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 16px;
    border-bottom: 1px solid #eef1f5;
}

.account-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    color: #1a1a2e;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    min-height: 72px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px 4px;
    transition: background 0.15s, transform 0.1s;
    text-align: center;
}

.account-icon-item i {
    font-size: 24px;
    color: #1773b0;
}

.account-icon-item:hover,
.account-icon-item:active {
    background: #e8f4f8;
    text-decoration: none;
    color: #1a1a2e;
    transform: translateY(-1px);
}

/* Product Recommendations Section */
.account-recs-section {
    padding: 16px 16px 32px;
}

.account-recs-section .account-section-heading {
    padding: 0 0 16px;
}

.account-recs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Reuse product-card styles from homepage for account recs */
.account-recs-grid .product-card {
    border: 1px solid #eef1f5;
}

.account-recs-grid .product-card__btn-desktop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: auto;
    padding: 10px 12px;
    min-height: 40px;
    background: #3aaa35;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
}

.account-recs-grid .product-card__btn-desktop:hover {
    background: #2d8a29;
}

.account-recs-grid .product-card__quick-add {
    display: none !important;
}

.account-page-wrapper .breadcrumb {
    margin-bottom: 0;
    padding: 8px 16px;
}

/* Desktop account � hide column_left and keep icon grid layout */
@media (min-width: 992px) {
    .account-page-wrapper .row {
        display: block !important;
    }
    .account-page-wrapper #content {
        width: 100% !important;
        max-width: 100% !important;
    }
    .account-icon-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 800px;
        margin: 0 auto;
        padding: 0 24px;
    }
    .account-order-strip {
        max-width: 800px;
        margin: 0 auto;
        padding: 20px 24px;
    }
    .account-order-item {
        font-size: 13px;
    }
    .account-order-item i {
        font-size: 26px;
    }
    .account-section-heading {
        max-width: 800px;
        margin: 0 auto;
        padding: 24px 24px 16px;
    }
    .account-recs-section {
        max-width: 1200px;
        margin: 0 auto;
    }
    .account-recs-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    .account-legal-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------
   17. TIER 2 LOGIN BOTTOM SHEET
   -------------------------------------------- */
.login-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s, visibility 0.25s;
}

.login-sheet-overlay[aria-hidden="true"] {
    opacity: 0;
    visibility: hidden;
}

.login-sheet {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: 20px 20px 0 0;
    padding: 28px 24px 36px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-sheet-overlay[aria-hidden="true"] .login-sheet {
    transform: translateY(100%);
}

.login-sheet__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}

.login-sheet__close:hover {
    background: #f1f3f5;
    color: #333;
}

.login-sheet__icon {
    font-size: 36px;
    color: #1773b0;
    margin-bottom: 16px;
    display: block;
}

.login-sheet__message {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 24px;
    line-height: 1.5;
    padding: 0 8px;
}

.login-sheet__btn {
    display: block;
    width: 100%;
    background: #3aaa35;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 10px;
    margin-bottom: 16px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    min-height: 48px;
}

.login-sheet__btn:hover,
.login-sheet__btn:active {
    background: #2d8a29;
    color: #fff;
    text-decoration: none;
}

.login-sheet__register {
    font-size: 13px;
    color: #1773b0;
    text-decoration: none;
    font-weight: 500;
}

.login-sheet__register:hover {
    text-decoration: underline;
}

/* ================================================================
   SIMVOLY-STYLE HOMEPAGE SECTIONS � ELITE MOBILE-FIRST DESIGN
   Base: 390px | Typography: Poppins | Spacing scale: 8-12-16-20-24-32-40-48-64
   Baymard compliant: clear CTAs, trust signals, 48px touch targets
   ================================================================ */

/* ---------- SHARED SECTION HEADINGS ---------- */
.section-heading {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}
.section-subheading {
    text-align: center;
    font-size: 15px;
    color: #64748b;
    margin: 0 0 32px;
    line-height: 1.5;
}

/* ---------- HERO SECTION ---------- */
.hero-simvoly {
    background: linear-gradient(160deg, #0b1121 0%, #132444 35%, #0f1d35 70%, #0b1121 100%);
    padding: 0;
    overflow: clip;
    position: relative;
}
.hero-simvoly::before {
    content: '';
    position: absolute;
    top: -60%;
    right: 0;
    width: 55%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(23,115,176,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Trust badges strip */
.hero-trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 10px 16px;
    background: rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
}
.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.78);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2px;
}
.hero-trust-badge svg { flex-shrink: 0; }

/* Hero inner */
.hero-simvoly__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 48px;
    gap: 0;
    box-sizing: border-box;
}
.hero-simvoly__content { width: 100%; max-width: 100%; text-align: left; box-sizing: border-box; }
.hero-simvoly__image { display: none; }
.hero-simvoly__content * { max-width: 100%; box-sizing: border-box; }

/* Hero badge pill */
.hero-simvoly__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(58,170,53,0.12);
    color: #4ade80;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(74,222,128,0.22);
    letter-spacing: 0.3px;
}

/* Hero title */
.hero-simvoly__title {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

/* Hero description */
.hero-simvoly__desc {
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 24px;
    max-width: 500px;
}

/* Hero testimonial block */
.hero-simvoly__testimonial {
    background: rgba(255,255,255,0.04);
    border-left: 3px solid rgba(58,170,53,0.5);
    padding: 14px 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 24px;
    max-width: 460px;
}
.hero-simvoly__stars { display: flex; gap: 3px; margin-bottom: 6px; }
.hero-simvoly__testimonial-text {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 4px;
}
.hero-simvoly__testimonial-author {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 500;
}

/* Hero CTAs */
.hero-simvoly__ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #3aaa35;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    min-height: 48px;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 12px rgba(58,170,53,0.3);
    width: 100%;
}
.btn-primary-hero:active { transform: scale(0.97); }
.btn-primary-hero:hover { background: #2d8a29; color: #fff; text-decoration: none; }

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.25);
    min-height: 48px;
    transition: all 0.2s;
    width: 100%;
}
.btn-outline-hero:active { transform: scale(0.97); }
.btn-outline-hero:hover { border-color: rgba(255,255,255,0.6); color: #fff; text-decoration: none; }

/* Desktop hero */
@media (min-width: 576px) {
    .hero-simvoly__ctas { flex-direction: row; }
    .btn-primary-hero, .btn-outline-hero { width: auto; }
    .hero-trust-badge { font-size: 12px; }
}
@media (min-width: 992px) {
    .hero-simvoly__inner {
        flex-direction: row;
        padding: 56px 32px 64px;
        gap: 48px;
    }
    .hero-simvoly__content { flex: 1; }
    .hero-simvoly__image {
        display: block;
        flex: 0 0 380px;
    }
    .hero-simvoly__image img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
    }
    .hero-simvoly__title { font-size: 42px; }
    .hero-simvoly__desc { font-size: 16px; }
}

/* ---------- WHY TRUST SECTION (6 cards) ---------- */
.trust-section {
    padding: 48px 16px 40px;
    max-width: 600px;
    margin: 0 auto;
}
.trust-section .section-heading { font-size: 22px; }
.trust-section .section-subheading { margin-bottom: 28px; }

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.trust-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    padding: 22px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.trust-card:active { border-color: #c8d6e5; }
.trust-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-card__icon svg { width: 22px; height: 22px; }

/* Icon color variations */
.trust-card:nth-child(1) .trust-card__icon { background: #dbeafe; color: #2563eb; }
.trust-card:nth-child(2) .trust-card__icon { background: #dcfce7; color: #16a34a; }
.trust-card:nth-child(3) .trust-card__icon { background: #fef3c7; color: #d97706; }
.trust-card:nth-child(4) .trust-card__icon { background: #fce7f3; color: #db2777; }
.trust-card:nth-child(5) .trust-card__icon { background: #ede9fe; color: #7c3aed; }
.trust-card:nth-child(6) .trust-card__icon { background: #e0f2fe; color: #0284c7; }

.trust-card__text { flex: 1; min-width: 0; }
.trust-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
    line-height: 1.3;
}
.trust-card__desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

@media (min-width: 576px) {
    .trust-section { max-width: 1200px; padding: 56px 24px 48px; }
    .trust-section .section-heading { font-size: 26px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .trust-card { padding: 24px 20px; }
}
@media (min-width: 992px) {
    .trust-section { padding: 64px 32px 56px; }
    .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ---------- HOW IT WORKS (3 steps) ---------- */
.how-section {
    padding: 48px 16px 40px;
    background: #f1f5f9;
    position: relative;
}
.how-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(23,115,176,0.1), transparent);
}
.how-section .section-heading { font-size: 22px; }
.how-section .section-subheading { margin-bottom: 28px; }

.how-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}
.how-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    position: relative;
    transition: box-shadow 0.2s;
}
.how-card:active { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.how-card__number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af, #1773b0);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(23,115,176,0.3);
}
.how-card__text { flex: 1; min-width: 0; }
.how-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}
.how-card__desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

@media (min-width: 576px) {
    .how-section { padding: 56px 24px 48px; }
    .how-section .section-heading { font-size: 26px; }
    .how-grid { max-width: 800px; }
    .how-card { padding: 28px 24px; }
}
@media (min-width: 768px) {
    .how-grid { flex-direction: row; max-width: 940px; }
    .how-card { flex: 1; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 32px 24px; }
    .how-card__number { width: 48px; height: 48px; font-size: 20px; }
}

/* ---------- WHY EXISTS SECTION ---------- */
.why-exists {
    padding: 48px 16px 40px;
    max-width: 600px;
    margin: 0 auto;
}
.why-exists__inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}
.why-exists__content { text-align: left; }
.why-exists__title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}
.why-exists__subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #1773b0;
    margin: 0 0 14px;
}
.why-exists__text {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 20px;
}
.why-exists__content .btn-primary-hero {
    width: auto;
    display: inline-flex;
    font-size: 14px;
    padding: 12px 24px;
}
.why-exists__image {
    order: -1;
    width: 100%;
}
.why-exists__image img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

@media (min-width: 576px) {
    .why-exists { max-width: 1200px; padding: 56px 24px 48px; }
    .why-exists__title { font-size: 26px; }
    .why-exists__image { order: 0; }
    .why-exists__inner { flex-direction: row; align-items: center; gap: 40px; }
    .why-exists__image { flex: 0 0 340px; }
}

/* ---------- FAQ SECTION ---------- */
.faq-section {
    padding: 48px 16px 40px;
    background: #f8fafc;
    max-width: 600px;
    margin: 0 auto;
}
.faq-section__heading {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 28px;
    letter-spacing: -0.3px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: #d0d7e2; }
.faq-item--open {
    border-color: #1773b0;
    box-shadow: 0 2px 12px rgba(23,115,176,0.08);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-align: left;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}
.faq-item__question span { flex: 1; line-height: 1.4; }
.faq-item__chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
    color: #94a3b8;
}
.faq-item--open .faq-item__chevron {
    transform: rotate(180deg);
    color: #1773b0;
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item--open .faq-item__answer {
    max-height: 400px;
}
.faq-item__answer-inner {
    padding: 0 18px 16px;
}
.faq-item__answer p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.65;
}

@media (min-width: 576px) {
    .faq-section { max-width: 800px; padding: 56px 24px 48px; }
    .faq-section__heading { font-size: 26px; }
    .faq-item__question { font-size: 15px; padding: 18px 22px; }
    .faq-item__answer-inner { padding: 0 22px 18px; }
    .faq-item__answer p { font-size: 14px; }
}

/* ---------- TESTIMONIALS SECTION ---------- */
.testimonials-section {
    padding: 48px 16px 40px;
    max-width: 600px;
    margin: 0 auto;
}
.testimonials-section__heading {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 28px;
    letter-spacing: -0.3px;
}

.testimonials-google { margin-bottom: 32px; }
.testimonials-google__label,
.testimonials-whatsapp__label {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.testimonials-whatsapp__label svg { color: #25D366; }

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.testimonial-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 18px;
    transition: box-shadow 0.2s;
}
.testimonial-card:active { box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.testimonial-card__stars { display: flex; gap: 2px; margin-bottom: 8px; }
.testimonial-card__text {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 10px;
}
.testimonial-card__author {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 4px;
}
.testimonial-card__source {
    font-weight: 400;
    color: #94a3b8;
    font-size: 11px;
}

.testimonials-grid--whatsapp .testimonial-card {
    border-left: 3px solid #25D366;
    border-radius: 0 12px 12px 0;
}

@media (min-width: 576px) {
    .testimonials-section { max-width: 1200px; padding: 56px 24px 48px; }
    .testimonials-section__heading { font-size: 26px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .testimonials-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .testimonial-card { padding: 22px; transition: box-shadow 0.2s, transform 0.2s; }
    .testimonial-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
}

/* ---------- PAYMENT TRUST BAR ---------- */
.payment-trust {
    padding: 36px 16px;
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
    border-top: 1px solid #e2e8f0;
    text-align: center;
}
.payment-trust__label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 16px;
    letter-spacing: 0.2px;
}
.payment-trust__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    max-width: 600px;
    margin: 0 auto;
}
.payment-trust__badge {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

@media (min-width: 576px) {
    .payment-trust { padding: 40px 24px; }
    .payment-trust__badge { font-size: 12px; padding: 9px 16px; }
}

/* ---------- PRODUCT CARD: Low Stock Badge ---------- */
.product-card__badge--lowstock {
    background: #ef4444;
    color: #fff;
    top: 8px;
    right: 8px;
    left: auto;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}

/* ---------- CATEGORY TILE: Markup Potential ---------- */
.category-tile__markup {
    font-size: 10px;
    color: rgba(255,255,255,0.75);
    text-align: center;
    line-height: 1.3;
    margin-top: 4px;
}
.category-tile__markup strong {
    color: #4ade80;
    font-size: 20px;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

/* ---------- SECTION HEADING CLASS ASSIGNMENT ---------- */
.trust-section__heading,
.how-section__heading { display: none; }
.trust-section__subheading,
.how-section__subheading { display: none; }

/* ---------- FOOTER ---------- */
.footer-columns { display: none; }
.footer-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 16px 0;
    max-width: 400px;
    margin: 0 auto;
}
.footer-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    min-height: 48px;
    justify-content: center;
}
.footer-icon-item i { font-size: 18px; }

@media (min-width: 768px) {
    .footer-columns {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        max-width: 860px;
        margin: 0 auto 28px;
    }
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin: 0 0 10px;
    letter-spacing: 0.3px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-col__text {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 14px;
}
.footer-cta-btn {
    display: inline-block;
    font-size: 13px;
    padding: 10px 18px;
}

/* ---------- Quick Answers (footer, every page) ---------- */
.footer-quick-answers {
    max-width: 640px;
    margin: 0 auto 28px;
    text-align: left;
    padding: 0 4px;
}

.footer-quick-answers h3 {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin: 0 0 14px;
    text-align: center;
    letter-spacing: 0.3px;
}

.footer-faq-list {
    margin: 0 0 14px;
}

.footer-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    list-style: none;
    display: block;
}

.footer-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
    list-style: none;
    user-select: none;
    min-height: 44px;
}

.footer-faq-question::-webkit-details-marker,
.footer-faq-question::marker {
    display: none;
    content: '';
}

.footer-faq-question::after {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 16px;
    font-weight: 300;
    color: rgba(255,255,255,0.35);
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.2s;
}

.footer-faq-item[open] .footer-faq-question::after {
    content: '\2212';
    transform: rotate(180deg);
}

.footer-faq-answer {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    margin: 0 0 12px;
    padding-right: 8px;
}

.footer-faq-all {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s;
}

.footer-faq-all:hover {
    color: #fff;
}

@media (max-width: 767.98px) {
    .footer-faq-question {
        font-size: 14px;
        padding: 15px 0;
        min-height: 48px;
    }
    .footer-faq-question::after {
        font-size: 22px;
        font-weight: 500;
        margin-left: 16px;
        width: 24px;
        height: 24px;
        color: rgba(255,255,255,0.5);
    }
    .footer-faq-answer {
        font-size: 13px;
    }
}

/* ---------- Customer Reviews (footer, every page) ---------- */
.footer-reviews {
    max-width: 560px;
    margin: 0 auto 20px;
    padding: 0 4px;
}

.footer-reviews p {
    font-size: 12px;
    font-style: italic;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin: 0 0 10px;
}

.footer-reviews p:last-child {
    margin-bottom: 0;
}

/* ---------- Trust Row (footer, every page) ---------- */
.footer-trust-row {
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 0 4px;
}

.footer-trust-row span {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    line-height: 1.6;
    letter-spacing: 0.2px;
}

@media (min-width: 768px) {
    .footer-quick-answers {
        padding: 0;
    }
    .footer-faq-question {
        font-size: 14px;
    }
    .footer-faq-answer {
        font-size: 13px;
    }
    .footer-reviews p {
        font-size: 13px;
    }
    .footer-trust-row span {
        font-size: 12px;
    }
}

.homepage-footer {
    background: linear-gradient(180deg, #0f1d35 0%, #0b1121 100%);
    color: #ccc;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 40px 16px 80px;
    margin-top: 48px;
}
.homepage-footer__compliance {
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin: 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.homepage-footer__compliance a { color: rgba(255,255,255,0.4); }
.homepage-footer__payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}
.homepage-footer__payment-badge {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.06);
    padding: 5px 10px;
    border-radius: 6px;
}
.homepage-footer__whatsapp {
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 8px;
}
.homepage-footer__whatsapp a { color: rgba(255,255,255,0.45); }
.homepage-footer__copyright {
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

/* ---------- DELIVERY PAGE ---------- */
.delivery-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 16px 48px;
}
.delivery-page__title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 20px 0 2px;
    letter-spacing: -0.3px;
}
.delivery-page__subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 28px;
}
.delivery-page h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}
.delivery-page h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1773b0;
    margin: 16px 0 6px;
}
.delivery-page p {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 10px;
}
.delivery-page ul, .delivery-page ol { margin: 0 0 14px; padding-left: 20px; }
.delivery-page li { font-size: 14px; color: #475569; line-height: 1.65; margin-bottom: 5px; }

.delivery-note {
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    padding: 12px 14px;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: #92400e;
    margin: 14px 0;
    line-height: 1.5;
}

/* Fee table */
.fee-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 8px 0 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 340px;
}
.fee-table th {
    background: #0f172a;
    color: #fff;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.2px;
}
.fee-table th:first-child { border-radius: 9px 0 0 0; }
.fee-table th:last-child { border-radius: 0 9px 0 0; }
.fee-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 500;
}
.fee-table tr:nth-child(even) td { background: #f8fafc; }
.fee-table tr:last-child td:first-child { border-radius: 0 0 0 9px; }
.fee-table tr:last-child td:last-child { border-radius: 0 0 9px 0; }

.delivery-page .btn-outline-hero {
    color: #1773b0;
    border-color: #1773b0;
    margin-top: 8px;
    width: auto;
    display: inline-flex;
    font-size: 14px;
    padding: 12px 20px;
}
.delivery-page .btn-outline-hero:hover { background: #1773b0; color: #fff; }

@media (min-width: 576px) {
    .delivery-page__title { font-size: 28px; }
    .delivery-page h2 { font-size: 20px; }
    .fee-table th, .fee-table td { padding: 13px 16px; }
}
