/**
 * The Nutrition World — Storefront Components & Layout
 * Apple-grade aesthetic: Generous section rhythm, image-as-hero, micro-interactions
 */

/* ==========================================================
   1. NAVIGATION & STICKY HEADER
   ========================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: var(--text-md);
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
    color: var(--color-text-primary);
}

.brand-logo img, .site-logo-img {
    height: 42px;
    max-width: 175px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-logo svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.75rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    cursor: pointer;
}

.nav-link:hover, 
.nav-link.active,
.nav-item.has-dropdown:hover .nav-link {
    color: var(--color-text-primary);
}

.dropdown-chevron {
    transition: transform var(--transition-fast);
    opacity: 0.7;
}

.nav-item.has-dropdown:hover .dropdown-chevron,
.nav-item.has-dropdown:focus-within .dropdown-chevron {
    transform: rotate(180deg);
}

/* Dropdown Card Containers */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    z-index: 1050;
}

/* Invisible bridge preventing hover drop between link and menu */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-item.has-dropdown:hover .nav-dropdown-menu,
.nav-item.has-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.single-column-menu {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mega-brands-menu {
    min-width: 420px;
}

.brands-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.75rem;
}

.brands-column {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.dropdown-item {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #48484a;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}

.dropdown-item:hover {
    background-color: #F5F5F7;
    color: #000000;
    padding-left: 1.05rem;
}

.hot-deal-link {
    color: #ff3b30 !important;
    font-weight: 600 !important;
}

.hot-deal-link:hover {
    color: #d70015 !important;
}

/* Header Actions: Search, User, Cart, Admin */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.admin-header-pill {
    background: #1d1d1f;
    color: #FFFFFF !important;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.header-search-wrap {
    display: flex;
    align-items: center;
}

.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-input {
    width: min(210px, 30vw);
    height: 38px;
    padding: 0 2.25rem 0 1rem;
    font-size: 0.825rem;
    background: #F5F5F7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    outline: none;
    font-family: inherit;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.header-search-input:focus {
    width: min(260px, 35vw);
    background: #FFFFFF;
    border-color: #1d1d1f;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.header-search-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #86868B;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color var(--transition-fast);
}

.header-search-submit:hover {
    color: #1d1d1f;
}

.site-header .search-mobile-toggle {
    display: none;
}

.mobile-nav-toggle {
    display: none;
}

.nav-action-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text-primary);
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.nav-action-btn:hover {
    background-color: var(--color-bg-subtle);
}

/* Header Cart Button: Clean icon style without rounded background box */
.header-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-text-primary);
    font-family: inherit;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.header-cart-btn:hover {
    background: transparent;
    color: var(--color-accent);
}

.header-cart-amount {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
}

.header-cart-icon-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #000000;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
}

/* ==========================================================
   2. TOP ANNOUNCEMENT / AUTHENTICITY BAR
   ========================================================== */
.top-notice-bar {
    background-color: var(--color-bg-subtle);
    border-bottom: 1px solid var(--color-border-light);
    padding: 0.45rem 1rem;
    font-size: var(--text-xs);
    font-weight: 500;
    text-align: center;
    color: var(--color-text-secondary);
}

.top-notice-bar a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* ==========================================================
   3. HYDERABAD STORES TICKER & HERO BANNER MOTION SLIDER
   ========================================================== */

/* Store Locations Announcement Bar */
.store-ticker-bar {
    background: transparent;
    border: none;
    padding: 0.75rem 1rem 0.25rem;
    font-size: 0.8rem;
    overflow: hidden;
}

.ticker-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    text-align: center;
}

.ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    font-size: 0.76rem;
    text-transform: uppercase;
}

.ticker-locations {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    color: #48484A;
    letter-spacing: 0.03em;
    font-size: 0.78rem;
    flex-wrap: wrap;
    justify-content: center;
}

.dot-sep {
    color: #86868B;
    font-size: 0.7rem;
}

.badge-city {
    background: transparent;
    color: #1D1D1F;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0;
    letter-spacing: 0.05em;
    margin-left: 0.25rem;
}

/* Hero Banner Section */
.hero-banner-section {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
    background-color: var(--color-bg);
}

.hero-banner-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    min-width: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1500 / 375;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    background-color: #0E0E10;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.hero-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
    cursor: pointer;
    text-decoration: none;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider:hover .hero-banner-img {
    transform: scale(1.015);
}

/* Navigation Arrows (Apple Frosted Glass) */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    color: #1D1D1F;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background-color 0.2s, transform 0.2s;
}

.hero-slider:hover .hero-slider-arrow,
.hero-slider:focus-within .hero-slider-arrow {
    opacity: 1;
    pointer-events: auto;
}

.hero-slider-arrow:hover {
    background: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.hero-slider-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.arrow-prev {
    left: 20px;
}

.arrow-next {
    right: 20px;
}

/* Pagination Dots / Pills */
.hero-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    width: 26px;
    background: #FFFFFF;
}



/* ==========================================================
   4. FEATURED CATEGORIES STRIP
   ========================================================== */
.categories-section {
    padding-top: var(--section-spacing-sm);
    padding-bottom: var(--section-spacing-sm);
    background-color: var(--color-bg-subtle);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: var(--text-xl);
    font-weight: 700;
}

.section-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.category-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.category-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 0, 0, 0.15);
}

.category-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    transition: background-color var(--transition-fast);
}

.category-card:hover .category-icon-box {
    background-color: var(--color-accent-subtle);
}

.category-card-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text-primary);
}

/* ==========================================================
   5. PRODUCT CARDS & SHOWCASE
   ========================================================== */
.products-section {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.product-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0,0,0,0.14);
}

.product-card-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 10;
    pointer-events: none;
    line-height: 1;
}

.product-card-image-wrap {
    position: relative;
    z-index: 1;
    isolation: isolate;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    padding: 1.5rem 1rem 1rem;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-card-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform var(--transition-smooth);
}

.product-card:hover .product-card-image {
    transform: scale(1.05);
}

/* Discount Pill (-21% Badge) */
.discount-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FF3B30;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.22rem 0.45rem;
    border-radius: 5px;
    letter-spacing: 0.02em;
    vertical-align: middle;
}

.product-card-brand {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-tertiary);
    margin-bottom: 0.35rem;
}

.product-card-title {
    font-size: 0.885rem;
    font-weight: 500;
    color: #6E6E73;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5rem;
    letter-spacing: -0.005em;
}

.product-card-title a {
    color: #6E6E73;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-card-title a:hover {
    color: var(--color-text-primary);
}

.product-card-bottom {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.product-card-price-line {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
    min-width: 0;
}

.product-card-compare {
    font-size: 0.78rem;
    color: var(--color-text-tertiary);
    text-decoration: line-through;
    font-weight: 500;
    line-height: 1;
}

.product-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
    line-height: 1;
}

.product-card-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    height: 32px;
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
    background-color: #FFFFFF;
    border: 1.5px solid #0071E3;
    color: #0071E3;
    cursor: pointer;
    font-family: inherit;
    user-select: none;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 113, 227, 0.1);
}

.product-card-btn .btn-plus-icon {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    color: #0071E3;
    transition: color 0.18s ease;
}

.product-card-btn .btn-option-text {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    color: #0071E3;
    transition: color 0.18s ease;
}

.product-card-btn:hover {
    background-color: #0071E3;
    border-color: #0071E3;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.28);
}

.product-card-btn:hover .btn-plus-icon,
.product-card-btn:hover .btn-option-text {
    color: #FFFFFF;
}

.product-card-btn:active {
    transform: translateY(0);
    opacity: 0.95;
}

/* ==========================================================
   6. TRUST & AUTHENTICITY BAR
   ========================================================== */
.trust-strip {
    background-color: var(--color-bg-subtle);
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.trust-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    box-shadow: var(--shadow-subtle);
    flex-shrink: 0;
}

.trust-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.trust-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* ==========================================================
   7. TOP BRANDS SLIDING CAROUSEL (Matches user screenshot)
   ========================================================== */
.top-brands-section {
    padding: 1.75rem 0;
    background-color: var(--color-bg);
    overflow: hidden;
}

.top-brands-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.top-brands-title {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.top-brands-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brands-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E5E5EA;
    color: #1D1D1F;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s, border-color 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.brands-nav-btn:hover {
    background: #F5F5F7;
    border-color: #D1D1D6;
    transform: scale(1.06);
}

.brands-nav-btn:active {
    transform: scale(0.95);
}

/* Slider Track with Smooth Infinite Motion */
.top-brands-slider {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 12px;
}

.top-brands-slider::-webkit-scrollbar {
    display: none;
}

.top-brands-track {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: max-content;
    animation: brandsMarquee 38s linear infinite;
    will-change: transform;
}

.top-brands-slider:hover .top-brands-track {
    animation-play-state: paused;
}

@keyframes brandsMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 0.425rem));
    }
}

/* Brand Card exactly matching media_1789387250331.png */
.top-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E5E5EA;
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    min-width: 140px;
    max-width: 165px;
    height: 72px;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.top-brand-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
    border-color: #C7C7CC;
}

.top-brand-img {
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}



/* ==========================================================
   8. CATEGORY LISTING & FILTERS
   ========================================================== */
.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.5rem 0 1.75rem;
    border-bottom: 1px solid var(--color-border);
}

.catalog-header-main {
    flex: 1;
    min-width: 0; /* Allow shrinking, flex-wrap on parent handles stacking */
}

.catalog-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.catalog-description {
    font-size: var(--text-sm);
    max-width: 720px;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.55;
}

.catalog-action-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.catalog-filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background-color: #FFFFFF;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    padding: 0.55rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-fast);
}

.catalog-filter-toggle-btn:hover {
    background-color: #F5F5F7;
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.catalog-filter-toggle-btn.is-active {
    background-color: #1d1d1f;
    color: #FFFFFF;
    border-color: #1d1d1f;
}

.catalog-filter-toggle-btn.is-active svg {
    stroke: #FFFFFF;
}

.catalog-result-count {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.catalog-layout {
    display: grid;
    grid-template-columns: min(260px, 28vw) 1fr;
    gap: 2.25rem;
    padding: 1.5rem 0 3rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When filters are hidden on desktop (>= 1025px) */
@media (min-width: 1025px) {
    .catalog-layout.filters-hidden {
        grid-template-columns: 1fr;
    }

    .catalog-layout.filters-hidden .catalog-sidebar {
        display: none !important;
    }
}

/* Desktop: When filter sidebar is visible (shown), display 3 products per row */
.catalog-layout:not(.filters-hidden) .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

/* Desktop: When filter sidebar is hidden, display 4 products per row */
.catalog-layout.filters-hidden .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.catalog-sidebar {
    background-color: var(--color-surface);
    position: sticky;
    top: 90px;
    height: fit-content;
}

.filter-group {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.filter-group-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-primary);
    margin-bottom: 0.85rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: 0.55rem;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    accent-color: var(--color-accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-option:hover {
    color: var(--color-text-primary);
}

/* Active Filters Chips Bar */
.active-filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
}

.active-filters-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
    margin-right: 0.25rem;
}

.active-filter-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1E293B;
    cursor: pointer;
    line-height: 1.2;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.active-filter-chip:hover {
    background: #FEF2F2;
    border-color: #F87171;
    color: #DC2626;
    transform: translateY(-1px);
}

.active-filter-chip-remove {
    font-size: 1.15rem;
    line-height: 0.8;
    font-weight: 700;
    color: #94A3B8;
    transition: color 0.15s ease;
}

.active-filter-chip:hover .active-filter-chip-remove {
    color: #DC2626;
}

.active-filter-clear-all {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0071E3;
    text-decoration: none;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.active-filter-clear-all:hover {
    background: rgba(0, 113, 227, 0.08);
    text-decoration: underline;
}

/* Price Range Filter controls */
.price-input-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.price-input-row .form-input {
    width: 100%;
    padding: 0.5rem 0.65rem;
    font-size: 0.82rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.btn-price-apply {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-price-apply:hover {
    background: #0071E3;
    border-color: #0071E3;
    color: #FFFFFF;
}

/* Mobile Sidebar Drawer polish */
.catalog-sidebar-mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.catalog-sidebar-close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-secondary);
    padding: 0 0.5rem;
}

.catalog-mobile-drawer-footer {
    display: none;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

@media (max-width: 1024px) {
    .catalog-sidebar-mobile-header {
        display: flex;
    }
    .catalog-mobile-drawer-footer {
        display: block;
    }
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* ==========================================================
   9. PRODUCT DETAIL PAGE (PDP)
   ========================================================== */
.pdp-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    padding: 2rem 0 3.5rem;
}

.pdp-layout > * {
    min-width: 0;
}

.pdp-gallery-sticky {
    position: sticky;
    top: 90px;
}

.pdp-main-image-box {
    width: 100%;
    height: 480px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
}

.pdp-main-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: opacity 0.25s ease, transform var(--transition-smooth);
}

.pdp-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1D1D1F;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.pdp-main-image-box:hover .pdp-gallery-nav {
    opacity: 1;
}

.pdp-gallery-prev {
    left: 14px;
}

.pdp-gallery-next {
    right: 14px;
}

.pdp-gallery-nav:hover {
    background: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
    color: var(--color-accent);
}

.pdp-gallery-counter {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(29, 29, 31, 0.7);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    z-index: 4;
    user-select: none;
}

/* PDP Thumbnails Carousel / Strip */
.pdp-thumbnails-strip {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 4px 2px;
}

.pdp-thumbnails-strip::-webkit-scrollbar {
    height: 4px;
}

.pdp-thumbnails-strip::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.pdp-thumbnail-btn {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    background: #FFFFFF;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pdp-thumbnail-btn:hover {
    border-color: #94A3B8;
    transform: translateY(-1px);
}

.pdp-thumbnail-btn.is-active {
    border-color: #0071E3;
    box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.25);
}

.pdp-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.pdp-meta-brand {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-tertiary);
    margin-bottom: 0.35rem;
}

.pdp-title {
    font-size: 1.55rem !important;
    font-weight: 700 !important;
    line-height: 1.32 !important;
    letter-spacing: -0.015em !important;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.pdp-tagline {
    font-size: var(--text-md);
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
}

.pdp-rating-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    margin-bottom: 1.15rem;
}

.star-rating {
    color: #FF9500;
}

.pdp-price-panel {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.25rem;
}

.pdp-current-price {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: var(--color-text-primary);
    line-height: 1.1;
}

.pdp-compare-price {
    font-size: 1.05rem !important;
    font-weight: 500;
    color: var(--color-text-tertiary);
    text-decoration: line-through;
}

.pdp-selector-label {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

.variant-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.variant-pill {
    padding: 0.65rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background-color: var(--color-surface);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.variant-pill:hover {
    border-color: var(--color-text-primary);
}

.variant-pill.is-active {
    background-color: var(--color-text-primary);
    color: #FFFFFF;
    border-color: var(--color-text-primary);
}

.variant-pill.is-out-of-stock {
    opacity: 0.45;
    text-decoration: line-through;
    cursor: not-allowed;
}

.pdp-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0 1.5rem;
}

.nutrition-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 0;
    font-size: var(--text-sm);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.nutrition-table th, .nutrition-table td {
    padding: 0.75rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    word-break: break-word;
    overflow-wrap: anywhere;
    vertical-align: top;
}

.nutrition-table th {
    background-color: var(--color-bg-subtle);
    font-weight: 600;
    color: var(--color-text-primary);
}

.pdp-info-label {
    width: 32%;
    min-width: 95px;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* ==========================================================
   10. MINI-CART DRAWER & CART PAGE
   ========================================================== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.cart-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background-color: var(--color-surface);
    z-index: 2001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
}

.cart-drawer-overlay.is-open .cart-drawer {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-title {
    font-size: var(--text-lg);
    font-weight: 700;
}

.cart-drawer-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-secondary);
    padding: 0.25rem;
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cart-item-row {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border-light);
}

.cart-item-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background-color: var(--color-bg-subtle);
    border-radius: var(--radius-sm);
    padding: 0.35rem;
}

/* Cart full-page item rows */
.cart-page-item-row {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
}

.cart-page-item-img {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    object-fit: contain;
    background: var(--color-bg-subtle);
    border-radius: var(--radius-md);
    padding: 0.5rem;
}


.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.cart-item-variant {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.cart-qty-ctrl {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.cart-qty-btn {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-primary);
}

.cart-qty-input {
    width: 32px;
    text-align: center;
    border: none;
    font-size: var(--text-xs);
    font-weight: 600;
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg-subtle);
}

/* ==========================================================
   11. CHECKOUT STREAMLINED FLOW
   ========================================================== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    padding: 2rem 0 3.5rem;
}

.checkout-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.checkout-step-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkout-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--color-text-primary);
    color: #FFFFFF;
    font-size: var(--text-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.payment-option-box {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.payment-option-box.is-selected {
    border-color: var(--color-accent);
    background-color: var(--color-accent-subtle);
}

/* ==========================================================
   12. FOOTER
   ========================================================== */
.site-footer {
    background-color: #000000 !important;
    color: #E5E5EA !important;
    border-top: 1px solid #1C1C1E;
    padding: 3rem 0 2rem;
    font-size: var(--text-xs);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 1.35fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-bottom: 2rem;
    align-items: start;
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 1.35rem;
    letter-spacing: -0.01em;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.footer-links-list a {
    color: #AEAEB2;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color var(--transition-fast);
}

.footer-links-list a:hover {
    color: #FFFFFF !important;
}

/* Contact Us Column */
.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.92rem;
    color: #FFFFFF;
    line-height: 1.5;
}

.footer-company-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.footer-contact-item {
    margin: 0;
    color: #FFFFFF;
}

.footer-contact-item a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: #0071E3;
    text-decoration: underline;
}

.footer-address {
    margin: 0.25rem 0 0;
    font-style: normal;
    color: #FFFFFF;
    line-height: 1.6;
    max-width: 320px;
}

/* Right Column: Logo, Payments, Social */
.footer-trust-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-wrap {
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    max-width: 220px;
    height: auto;
    display: block;
}

.footer-secure-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.04em;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.footer-payments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 270px;
    margin-bottom: 1.75rem;
}

.payment-badge-card {
    background: #FFFFFF;
    border-radius: 8px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.payment-badge-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.payment-badge-card img {
    max-height: 26px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Connect With Us */
.footer-social-section {
    margin-top: 0.25rem;
}

.footer-social-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.social-btn {
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.social-btn:hover {
    color: #0071E3;
    transform: scale(1.18);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1C1C1E;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: #8E8E93;
    font-size: 0.82rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    .footer-payments-grid {
        max-width: 250px;
    }
}

/* ==========================================================
   12. MOBILE MENU DRAWER COMPONENT
   ========================================================== */

/* Mobile Menu Drawer */
.mobile-nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-nav-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 320px;
    max-width: 86vw;
    background: #ffffff;
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform var(--transition-smooth);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.25rem 2rem;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.12);
}

.mobile-nav-drawer-overlay.is-open .mobile-nav-drawer {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1rem;
}

.mobile-nav-scroll {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-right: 0.25rem;
}

.mobile-accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 0.35rem;
}

.mobile-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    font-family: inherit;
    border-radius: 8px;
    transition: background-color var(--transition-fast);
}

.mobile-accordion-toggle:hover {
    background-color: #F5F5F7;
}

.accordion-chevron {
    transition: transform 0.25s ease;
    opacity: 0.65;
}

.mobile-accordion-item.is-expanded .accordion-chevron {
    transform: rotate(180deg);
}

.mobile-accordion-content {
    display: none;
    padding: 0.35rem 0.5rem 0.75rem;
    flex-direction: column;
    gap: 0.3rem;
}

.mobile-accordion-item.is-expanded .mobile-accordion-content {
    display: flex;
}

.mobile-accordion-content a {
    display: block;
    padding: 0.45rem 0.65rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #555558;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-accordion-content a:hover {
    background-color: #F5F5F7;
    color: #000000;
}

.brands-mobile-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.5rem;
}

.mobile-direct-link a {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color var(--transition-fast);
}

.mobile-direct-link a:hover {
    background-color: #F5F5F7;
}

.mobile-nav-footer-links {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-nav-footer-links a {
    display: block;
    padding: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666668;
    text-decoration: none;
    border-radius: 6px;
}

.mobile-nav-footer-links a:hover {
    background-color: #F5F5F7;
    color: #000000;
}



/* ==========================================================
   24. QUICK OPTIONS MODAL (Nutrabay Style)
   ========================================================== */
.quick-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.quick-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.quick-modal-dialog {
    background: #FFFFFF;
    border-radius: 20px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
    transform: scale(0.94) translateY(12px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.quick-modal-overlay.is-open .quick-modal-dialog {
    transform: scale(1) translateY(0);
}

.quick-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F1F5F9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    z-index: 10;
    transition: background 0.15s ease, color 0.15s ease;
}

.quick-modal-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.quick-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 2rem;
    color: #64748B;
    font-size: 0.9rem;
}

.quick-modal-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #E2E8F0;
    border-top-color: #0071E3;
    border-radius: 50%;
    animation: quickSpin 0.75s linear infinite;
}

@keyframes quickSpin {
    to { transform: rotate(360deg); }
}

.quick-modal-body {
    padding: 1.5rem 1.5rem 0.5rem;
    flex: 1;
}

/* Header Product Mini Card */
.quick-modal-header-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1.25rem;
    margin-top: 0.5rem;
    transition: background 0.2s, border-color 0.2s;
}

.quick-modal-header-card:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.quick-modal-thumb {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    background: #FFFFFF;
    padding: 4px;
    border: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.quick-modal-header-info {
    flex: 1;
    min-width: 0;
}

.quick-modal-brand {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #64748B;
    display: block;
    margin-bottom: 2px;
}

.quick-modal-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quick-modal-arrow {
    color: #0071E3;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.quick-modal-header-card:hover .quick-modal-arrow {
    transform: translateX(3px);
}

/* Section common */
.quick-modal-section {
    margin-bottom: 1.25rem;
}

.quick-modal-section-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.65rem;
}

/* Flavour Chips */
.quick-modal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-modal-chip {
    padding: 0.45rem 0.95rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    background: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.quick-modal-chip:hover {
    border-color: #94A3B8;
}

.quick-modal-chip.is-selected {
    border-color: #0071E3;
    background: rgba(0, 113, 227, 0.06);
    color: #0071E3;
    font-weight: 600;
    box-shadow: 0 0 0 1px #0071E3;
}

/* Weight Selection Cards Grid */
.quick-modal-weight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.quick-modal-weight-card {
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.85rem;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    user-select: none;
}

.quick-modal-weight-card:hover {
    border-color: #94A3B8;
    transform: translateY(-1px);
}

.quick-modal-weight-card.is-selected {
    border: 2px solid #0071E3;
    background: rgba(0, 113, 227, 0.04);
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.18);
}

.weight-card-size {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 0.35rem;
}

.weight-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.weight-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
}

.weight-card-compare {
    font-size: 0.78rem;
    text-decoration: line-through;
    color: #94A3B8;
}

.weight-card-savings {
    font-size: 0.72rem;
    font-weight: 600;
    color: #16A34A;
    background: #ECFDF5;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

/* Modal Footer */
.quick-modal-footer {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid #F1F5F9;
    background: #FFFFFF;
    border-radius: 0 0 20px 20px;
}

.quick-modal-add-btn {
    flex: 1;
    height: 48px;
    background: #0071E3;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 113, 227, 0.25);
}

.quick-modal-add-btn:hover {
    background: #005bb5;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 113, 227, 0.35);
}

.quick-modal-add-btn:active {
    transform: translateY(0);
}

.quick-modal-add-btn.is-success {
    background: #10B981;
    color: #FFFFFF;
}

.quick-modal-cart-btn {
    width: 48px;
    height: 48px;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0F172A;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.quick-modal-cart-btn:hover {
    border-color: #0071E3;
    color: #0071E3;
}

.quick-modal-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #0071E3;
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}

/* ==========================================================================
   PDP Nutrabay-Style Variant Matrix & Add to Cart
   ========================================================================== */
.pdp-variant-section {
    margin-bottom: 1.5rem;
}

.pdp-variant-section-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
}

.pdp-flavour-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pdp-chip {
    padding: 0.45rem 0.95rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    background: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
}

.pdp-chip:hover {
    border-color: #94A3B8;
}

.pdp-chip.is-selected {
    border-color: #0071E3;
    background: rgba(0, 113, 227, 0.06);
    color: #0071E3;
    font-weight: 600;
    box-shadow: 0 0 0 1px #0071E3;
}

.pdp-chip.is-out-of-stock {
    opacity: 0.5;
    text-decoration: line-through;
}

.pdp-weight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 165px));
    gap: 0.75rem;
}

.pdp-weight-card {
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 96px;
    user-select: none;
    font-family: inherit;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.pdp-weight-card:hover {
    border-color: #94A3B8;
    transform: translateY(-1px);
}

.pdp-weight-card.is-selected {
    border: 2px solid #0071E3;
    background: rgba(0, 113, 227, 0.04);
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.18);
    padding: calc(0.85rem - 0.5px) calc(1rem - 0.5px);
}

.pdp-weight-card.is-out-of-stock {
    opacity: 0.55;
    background: #F8FAFC;
    cursor: not-allowed;
}

.pdp-weight-card .weight-card-size {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.pdp-weight-card .weight-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.pdp-weight-card .weight-card-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
}

.pdp-weight-card .weight-card-compare {
    font-size: 0.8rem;
    text-decoration: line-through;
    color: #94A3B8;
    line-height: 1.2;
}

.pdp-weight-card .weight-card-savings {
    font-size: 0.72rem;
    font-weight: 600;
    color: #16A34A;
    background: #ECFDF5;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    line-height: 1.2;
    margin-top: 0.15rem;
}

.pdp-actions-row {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.pdp-add-cart-btn {
    width: 100%;
    height: 52px;
    background: #0071E3;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.28);
    user-select: none;
    font-family: inherit;
}

.pdp-add-cart-btn:hover {
    background: #0062C4;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.38);
}

.pdp-add-cart-btn:active {
    transform: translateY(1px);
}

.pdp-add-cart-btn.is-success {
    background: #10B981 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
}

.pdp-add-cart-btn:disabled {
    background: #94A3B8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ==========================================================================
   PDP Click & Collect, Trust Features, Accordions & Tabs
   ========================================================================== */

/* Click & Collect Card */
.pdp-click-collect-box {
    margin-top: 1.25rem;
    margin-bottom: 1rem;
    padding: 1.25rem 1.4rem;
    background: #FAFAFB;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.pdp-cc-icon-wrap {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1D1D1F;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.pdp-cc-content {
    flex: 1;
}

.pdp-cc-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.pdp-cc-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
}

.pdp-cc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.15s ease;
}

.pdp-cc-link:hover {
    color: #005bb5;
}

/* Trust Features Row */
.pdp-trust-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1rem;
    background: var(--color-bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.pdp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.pdp-trust-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdp-trust-text {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.25;
    display: flex;
    flex-direction: column;
}

.pdp-trust-text span {
    display: block;
    /* white-space: nowrap removed — caused horizontal overflow on 320-375px */
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Accordion Card Group */
.pdp-accordion-group {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #FFFFFF;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-subtle);
}

.pdp-acc-item {
    border-bottom: 1px solid var(--color-border);
}

.pdp-acc-item:last-child {
    border-bottom: none;
}

.pdp-acc-header {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
    user-select: none;
}

.pdp-acc-header:hover {
    background: #F9F9FA;
}

.pdp-acc-header-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.pdp-acc-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

.pdp-acc-item.is-open .pdp-acc-chevron {
    transform: rotate(180deg);
}

.pdp-acc-body {
    display: none;
    padding: 1rem 1.2rem;
    background: #FFFFFF;
    border-top: 1px solid var(--color-border-light);
    animation: pdpFadeIn 0.2s ease forwards;
}

.pdp-acc-item.is-open .pdp-acc-body {
    display: block;
}

@keyframes pdpFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tabs inside Details Accordion */
.pdp-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1rem;
    gap: 1.5rem;
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pdp-tabs-nav::-webkit-scrollbar {
    display: none;
}

.pdp-tab-btn {
    background: none;
    border: none;
    padding: 0.65rem 0.25rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.pdp-tab-btn:hover {
    color: var(--color-text-primary);
}

.pdp-tab-btn.is-active {
    font-weight: 700;
    color: var(--color-accent);
}

.pdp-tab-btn.is-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2.5px;
    background: var(--color-accent);
    border-radius: 2px 2px 0 0;
}

.pdp-tab-panel {
    display: none;
}

.pdp-tab-panel.is-active {
    display: block;
    animation: pdpFadeIn 0.2s ease forwards;
}

/* ========================================================
   PDP Description UI/UX Standardized Typography & Clamping
   ======================================================== */
.pdp-description-wrapper {
    position: relative;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-description-wrapper.is-clamped {
    max-height: 290px;
    overflow: hidden;
}

.pdp-description-wrapper.is-expanded {
    max-height: none;
    overflow: visible;
}

.pdp-desc-fade {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FFFFFF 92%);
    pointer-events: none;
    z-index: 2;
}

.pdp-description-wrapper.is-clamped .pdp-desc-fade {
    display: block;
}

.pdp-description-wrapper.is-expanded .pdp-desc-fade {
    display: none !important;
}

.pdp-desc-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.85rem auto 0;
    padding: 0.45rem 1.15rem;
    background: #F8FAFC;
    color: var(--color-accent);
    border: 1px solid rgba(0, 113, 227, 0.2);
    border-radius: 980px;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pdp-desc-toggle-btn:hover {
    background: rgba(0, 113, 227, 0.08);
    border-color: var(--color-accent);
    color: var(--color-accent-hover);
    transform: translateY(-1px);
}

.pdp-desc-toggle-icon {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-desc-toggle-btn[aria-expanded="true"] .pdp-desc-toggle-icon {
    transform: rotate(180deg);
}

/* Normalized, Beautiful Description Content Typography */
.pdp-description-content {
    font-size: 0.925rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    word-break: break-word;
    overflow-wrap: break-word;
}

.pdp-description-content p {
    margin-bottom: 0.85rem;
    font-size: 0.925rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
}

.pdp-description-content p:last-child {
    margin-bottom: 0;
}

/* Headings (h2, h3, h4, h5) normalized across ALL products to same size */
.pdp-description-content h2,
.pdp-description-content h3,
.pdp-description-content h4,
.pdp-description-content h5 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text-primary);
    margin: 1.25rem 0 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.pdp-description-content h2::before,
.pdp-description-content h3::before,
.pdp-description-content h4::before,
.pdp-description-content h5::before {
    content: '';
    display: inline-block;
    width: 3.5px;
    height: 1.05rem;
    background: var(--color-accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.pdp-description-content h2:first-child,
.pdp-description-content h3:first-child,
.pdp-description-content h4:first-child {
    margin-top: 0;
}

/* Bold / Strong */
.pdp-description-content strong,
.pdp-description-content b {
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Styled Lists */
.pdp-description-content ul,
.pdp-description-content ol {
    margin: 0.6rem 0 0.9rem;
    padding-left: 0;
    list-style: none;
}

.pdp-description-content ul li,
.pdp-description-content ol li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-text-secondary);
}

.pdp-description-content ul li::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.pdp-description-content ol {
    counter-reset: pdp-desc-counter;
}

.pdp-description-content ol li {
    counter-increment: pdp-desc-counter;
}

.pdp-description-content ol li::before {
    content: counter(pdp-desc-counter) '.';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-accent);
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
}

/* Clean Formatted Tables inside Description */
.pdp-description-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0 1.25rem;
    font-size: 0.85rem;
    background: #FFFFFF;
}

.pdp-description-content thead th {
    background: #F8FAFC;
    color: var(--color-text-primary);
    font-weight: 600;
    padding: 0.65rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pdp-description-content tbody td {
    padding: 0.6rem 0.85rem;
    color: var(--color-text-secondary);
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.85rem;
    line-height: 1.5;
}

.pdp-description-content tbody tr:last-child td {
    border-bottom: none;
}

.pdp-description-content tbody tr:nth-child(even) {
    background: #FAFAFA;
}

/* Click & Collect Modal */
.tnw-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.tnw-modal.is-open {
    display: flex;
}

.tnw-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tnw-modal-container {
    position: relative;
    background: #FFFFFF;
    border-radius: 20px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: flex;
    flex-direction: column;
    animation: pdpModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pdpModalPop {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.tnw-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: #FFFFFF;
    z-index: 2;
}

.tnw-modal-close {
    background: #F2F2F7;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #48484A;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.tnw-modal-close:hover {
    background: #E5E5EA;
    color: #000000;
}

.tnw-modal-body {
    padding: 1.5rem 1.75rem 2rem;
}

.cc-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.cc-step {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.cc-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 113, 227, 0.12);
    color: #0071E3;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================
   13. CONSOLIDATED RESPONSIVE BREAKPOINTS
   ========================================================== */

/* ----------------------------------------------------------
   13.1 TABLET / SMALL LAPTOP BREAKPOINT (<= 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    /* Header & Navigation: Swap desktop mega-menu for off-canvas drawer */
    .nav-links {
        display: none;
    }
    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .header-search-form {
        display: flex;
        position: relative;
    }
    .header-search-input {
        width: min(150px, 32vw);
        height: 34px;
        font-size: 0.775rem;
        padding-right: 2rem;
    }
    .header-search-input:focus {
        width: min(180px, 38vw);
    }
    .search-mobile-toggle {
        display: none !important;
    }
    .header-cart-amount {
        font-size: 0.8rem;
    }

    /* Layout Grids: Collapse multi-column layouts into single column */
    .catalog-layout,
    .pdp-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Catalog Filter Drawer: Appears as an interactive top drawer */
    .catalog-sidebar {
        display: none;
        width: 100%;
        background-color: #FFFFFF;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-lg);
        padding: 1.25rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
        position: static;
        margin-bottom: 1.25rem;
    }

    .catalog-sidebar.is-mobile-open {
        display: block !important;
        animation: filterSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes filterSlideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .catalog-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .catalog-action-bar {
        justify-content: space-between;
        width: 100%;
    }

    .catalog-filter-toggle-btn {
        flex: 1;
        justify-content: center;
        padding: 0.65rem 1rem;
    }

    /* Product Grids: 3 columns on tablet (No !important needed) */
    .catalog-layout:not(.filters-hidden) .product-grid,
    .catalog-layout.filters-hidden .product-grid,
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    /* Footer: 2 columns on tablet */
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

/* ----------------------------------------------------------
   13.2 STANDARD MOBILE BREAKPOINT (<= 767px)
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    /* Top Announcement & Store Ticker */
    .top-notice-bar {
        padding: 0.4rem 0.5rem;
        font-size: 0.72rem;
    }

    /* Hero Banner Slider */
    .hero-banner-section {
        padding-top: 0.5rem;
        padding-bottom: 1rem;
    }
    .hero-banner-container {
        padding: 0 0.5rem;
    }
    .hero-slider {
        border-radius: 12px;
    }
    .hero-slider-arrow {
        opacity: 0.75;
        pointer-events: auto;
        width: 36px;
        height: 36px;
    }
    .arrow-prev {
        left: 8px;
    }
    .arrow-next {
        right: 8px;
    }
    .hero-slider-dots {
        bottom: 8px;
        padding: 4px 8px;
    }
    .slider-dot {
        width: 6px;
        height: 6px;
    }
    .slider-dot.active {
        width: 18px;
    }
    .ticker-locations {
        font-size: 0.72rem;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta-group .btn {
        width: 100%;
    }

    /* Top Brands Track */
    .top-brand-card {
        min-width: 120px;
        max-width: 135px;
        height: 64px;
        padding: 0.45rem 0.75rem;
    }
    .top-brand-img {
        max-height: 36px;
    }
    .top-brands-track {
        animation-duration: 26s;
    }

    /* Category Cards Strip */
    .category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .category-card {
        padding: 1.25rem 0.75rem;
        gap: 0.65rem;
    }

    /* Product Grid: 2 columns on mobile across catalog, search, and homepage */
    .catalog-layout:not(.filters-hidden) .product-grid,
    .catalog-layout.filters-hidden .product-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    /* Product Card Mobile Ergonomics */
    .product-card {
        padding: 0.75rem;
        border-radius: var(--radius-md);
    }
    .product-card-image-wrap {
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 0.85rem 0.5rem 0.4rem;
        margin-bottom: 0.5rem;
    }
    .product-card-brand {
        font-size: 0.68rem;
        margin-bottom: 0.2rem;
    }
    .product-card-title {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.35rem;
        min-height: 2.1em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-card-price {
        font-size: 0.92rem;
    }
    .product-card-compare {
        font-size: 0.72rem;
    }
    .discount-pill {
        font-size: 0.62rem;
        padding: 0.15rem 0.32rem;
    }
    .product-card-bottom {
        gap: 0.35rem;
        padding-top: 0.6rem;
    }
    .product-card-btn {
        height: 32px;
        min-height: 32px;
        padding: 0.25rem 0.5rem;
        font-size: 0.72rem;
    }
    .product-card-btn .btn-plus-icon {
        font-size: 0.82rem;
    }
    .product-card-btn .btn-option-text {
        font-size: 0.72rem;
    }

    /* Quick Options Modal */
    .quick-modal-dialog {
        max-height: 85vh;
        border-radius: 16px;
        margin: 1rem;
        width: calc(100% - 2rem);
        max-width: 500px;
    }
    .quick-modal-body {
        padding: 1.25rem 1rem 0.5rem;
    }
    .quick-modal-footer {
        padding: 0.85rem 1rem 1rem;
    }
    .quick-modal-weight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    /* Single Product Page (PDP) Mobile Refinements */
    .pdp-layout {
        gap: 1.5rem;
    }
    .pdp-gallery-sticky {
        position: static;
    }
    .pdp-main-image-box {
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: 380px;
        padding: 1.25rem;
    }
    .pdp-gallery-nav {
        opacity: 0.85;
        pointer-events: auto;
        width: 36px;
        height: 36px;
    }
    .pdp-thumbnails-strip {
        gap: 0.5rem;
        padding: 4px 0;
    }
    .pdp-thumbnail-btn {
        width: 58px;
        height: 58px;
        padding: 4px;
        border-radius: 10px;
    }
    .pdp-title {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
    }
    .pdp-price-panel {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }
    .pdp-current-price {
        font-size: 1.5rem !important;
    }
    .variant-pill-grid {
        gap: 0.5rem;
    }
    .pdp-weight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }
    .pdp-weight-card {
        padding: 0.75rem 0.85rem;
    }
    .variant-pill {
        min-height: 44px;
        padding: 0.55rem 0.95rem;
        font-size: 0.85rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    #pdpAddToCartBtn,
    .pdp-add-cart-btn {
        min-height: 48px;
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
    .pdp-trust-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.35rem;
        padding: 0.75rem 0.85rem;
        overflow-x: visible;
    }
    .pdp-trust-item {
        flex: 1;
        justify-content: center;
        gap: 0.35rem;
    }
    .pdp-trust-icon {
        width: 30px;
        height: 30px;
    }
    .pdp-trust-icon svg {
        width: 30px;
        height: 30px;
    }
    .pdp-trust-text {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    .pdp-tabs-nav {
        gap: 1.25rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .pdp-tab-btn {
        font-size: 0.85rem;
        min-height: 44px;
        padding: 0.75rem 0.5rem;
    }
    .pdp-acc-header {
        min-height: 46px;
        padding: 0.75rem 1.2rem;
    }
    .pdp-click-collect-box {
        padding: 1.15rem;
    }

    /* Generic Modals on Mobile */
    .tnw-modal {
        padding: 0;
        align-items: flex-end;
    }
    .tnw-modal-container {
        max-height: 85vh;
        border-radius: 16px 16px 0 0;
        margin-top: auto;
        margin-bottom: 0;
        width: 100%;
    }

    /* Cart & Checkout Forms */
    .cart-drawer {
        width: 100%;
        max-width: 100vw;
    }
    .cart-item-row {
        gap: 0.75rem;
    }
    .cart-qty-btn {
        min-width: 36px;
        min-height: 36px;
        font-size: 1rem;
    }
    .cart-qty-input {
        height: 36px;
        width: 36px;
    }
    .checkout-form-grid {
        grid-template-columns: 1fr;
    }
    /* Cart page: stack layout on mobile */
    .cart-page-item-row {
        gap: 0.85rem;
        padding: 1.25rem 0;
    }
    .cart-page-item-img {
        width: 72px;
        height: 72px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Prevents auto-zoom in Safari iOS */
        min-height: 44px;
    }

    /* Footer: 2 columns on 767px */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }
}

/* ----------------------------------------------------------
   13.3 COMPACT MOBILE BREAKPOINT (<= 479px - 360px to 428px)
   ---------------------------------------------------------- */
@media (max-width: 479px) {
    /* Header: Ultra-compact bar, zero horizontal overflow */
    .site-header {
        height: 56px;
    }
    .brand-logo img,
    .site-logo-img {
        height: 30px;
        max-width: 125px;
    }
    .nav-actions {
        gap: 0.25rem;
    }
    .admin-header-pill {
        display: none;
    }
    .nav-action-btn {
        padding: 0.35rem;
        width: 36px;
        height: 36px;
    }
    .header-cart-btn {
        padding: 0.35rem 0.55rem;
        gap: 0.35rem;
    }

    /* Top Announcements */
    .top-notice-bar {
        font-size: 0.68rem;
        line-height: 1.35;
        padding: 0.35rem 0.5rem;
    }
    .top-notice-bar a {
        display: block;
        margin-left: 0;
        margin-top: 0.15rem;
    }

    /* Hero Banner Slider */
    .hero-banner-section {
        padding-top: 0.25rem;
        padding-bottom: 0.75rem;
    }
    .hero-banner-container {
        padding: 0 0.25rem;
    }
    .hero-slider {
        border-radius: 8px;
    }
    .hero-slider-arrow {
        width: 30px;
        height: 30px;
    }

    /* Product Grid: Compact 2-column layout */
    .catalog-layout:not(.filters-hidden) .product-grid,
    .catalog-layout.filters-hidden .product-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }
    .product-card {
        padding: 0.55rem;
        border-radius: 10px;
    }
    .product-card-image-wrap {
        padding: 0.75rem 0.35rem 0.35rem;
        margin-bottom: 0.35rem;
    }
    .product-card-badge {
        top: 0.45rem;
        left: 0.45rem;
        font-size: 0.65rem;
        padding: 0.2rem 0.45rem;
        z-index: 10;
    }
    .product-card-title {
        font-size: 0.75rem;
        line-height: 1.25;
    }
    .product-card-price {
        font-size: 0.86rem;
    }
    .product-card-compare {
        font-size: 0.68rem;
    }
    .product-card-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        padding-top: 0.45rem;
    }
    .product-card-price-row {
        width: 100%;
        display: flex;
        align-items: baseline;
        gap: 0.35rem;
        flex-wrap: wrap;
    }
    .product-card-btn {
        width: 100%;
        height: 32px;
        min-height: 32px;
        justify-content: center;
        padding: 0.25rem 0.35rem;
    }
    .product-card-btn .btn-option-text {
        font-size: 0.68rem;
    }

    /* Quick Options Modal */
    .quick-modal-dialog {
        margin: 0.5rem;
        width: calc(100% - 1rem);
    }
    .quick-modal-weight-grid {
        grid-template-columns: 1fr;
    }

    /* Single Product Page */
    .pdp-title {
        font-size: 1.15rem !important;
    }
    .pdp-current-price {
        font-size: 1.35rem !important;
    }
    .pdp-main-image-box {
        max-height: 300px;
        padding: 0.75rem;
    }
    .pdp-thumbnail-btn {
        width: 50px;
        height: 50px;
    }
    .pdp-weight-grid {
        grid-template-columns: 1fr;
    }
    #pdpAddToCartBtn,
    .pdp-add-cart-btn {
        font-size: 0.9rem;
        height: 48px;
        padding: 0.7rem 0.5rem;
    }

    /* Footer: Single column on compact mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-col-title {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    .footer-legal {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}





/* ==========================================================
   HOMEPAGE PREMIUM OVERHAUL SECTIONS
   ========================================================== */

/* Shared Utility */
.section-eyebrow {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}
.alt-bg {
    background-color: var(--color-bg-subtle);
}

/* --- TRUST STRIP --- */
.trust-strip-section {
    padding: 1.15rem 0;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border-light);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.trust-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 0.85rem;
    padding: 0.75rem 1.15rem;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.trust-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-bg-subtle);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0;
}
.trust-title {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--color-text-primary);
    white-space: nowrap;
}

/* --- SHOP BY GOAL --- */
.shop-by-goal-section {
    padding: var(--section-spacing-sm) 0;
}
.goal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.goal-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    text-decoration: none;
    transition: transform var(--transition-smooth);
}
.goal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.goal-title {
    color: #FFF;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.goal-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    padding: var(--section-spacing) 0;
}
.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
}
.testimonial-card .stars {
    color: var(--color-warning);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}
.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}
.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-primary);
}
.testimonial-author span {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    margin-top: 0.2rem;
}

/* --- FAQ ACCORDION --- */
.faq-section {
    padding: var(--section-spacing) 0;
    background: var(--color-surface);
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    overflow: hidden;
}
.faq-summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none; /* Hide default arrow in some browsers */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-primary);
}
.faq-summary::-webkit-details-marker {
    display: none;
}
.faq-summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--color-accent);
    font-weight: 400;
}
.faq-item[open] .faq-summary::after {
    content: '-';
}
.faq-content {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- WHATSAPP CTA --- */
.whatsapp-section {
    padding: 2rem 0;
}
.whatsapp-card {
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    text-align: center;
    color: #FFF;
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.2);
}
.whatsapp-content h2 {
    color: #FFF;
    margin-bottom: 0.5rem;
}
.whatsapp-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.btn-whatsapp {
    background: #FFF;
    color: #059669;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn-whatsapp:hover {
    background: #F0FDF4;
    transform: translateY(-2px);
}

/* --- INSTAGRAM --- */
.instagram-section {
    padding: var(--section-spacing-sm) 0;
}
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.insta-card {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    position: relative;
    background-color: #F3F4F6;
    box-shadow: var(--shadow-sm);
}
.insta-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
    display: block;
}
.insta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E") no-repeat center center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.insta-card:hover img {
    transform: scale(1.05);
}
.insta-card:hover::after {
    opacity: 1;
}

/* --- MOBILE RESPONSIVENESS (Overriding specifically for these new components) --- */
@media (max-width: 1024px) {
    .goal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonial-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
    .insta-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .hide-mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    /* Trust Strip: horizontal swipe */
    .trust-strip-section {
        padding: 1.5rem 0;
    }
    .trust-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    .trust-grid::-webkit-scrollbar {
        display: none; /* Chrome */
    }
    .trust-card {
        flex: 0 0 auto;
        min-width: 170px;
        scroll-snap-align: center;
        background: var(--color-bg-subtle);
        border-radius: var(--radius-md);
        padding: 0.65rem 0.85rem;
    }

    /* Shop by Goal: 2x2 grid */
    .goal-grid {
        gap: 0.75rem;
    }
    .goal-card {
        height: 160px;
        padding: 1rem;
    }
    .goal-title {
        font-size: 1rem;
    }
    .goal-desc {
        font-size: 0.75rem;
    }

    /* Testimonials: horizontal swipe */
    .testimonial-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .testimonial-carousel::-webkit-scrollbar {
        display: none;
    }
    .testimonial-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    /* Whatsapp CTA */
    .whatsapp-card {
        padding: 2rem 1.25rem;
    }
    
    /* Instagram */
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* PDP Accordion & Additional Information Table on Mobile */
    .pdp-acc-body {
        padding: 0.85rem 0.65rem;
    }
    .nutrition-table th, .nutrition-table td {
        padding: 0.55rem 0.45rem;
        font-size: 0.8125rem;
        line-height: 1.45;
    }
    .pdp-info-label {
        width: 32% !important;
        min-width: 82px;
        font-size: 0.8125rem;
    }
}


/* --- FIX CATEGORY CARDS WITH IMAGES --- */
.category-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 1.25rem 0.75rem 1rem !important;
    min-height: 190px !important;
    background: #F4F6F8 !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 18px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}
.category-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09) !important;
    border-color: rgba(220, 38, 38, 0.2) !important;
}
.category-card img {
    height: 120px !important;
    max-height: 120px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    margin-bottom: 0.35rem !important;
    transition: transform 0.25s ease !important;
}
.category-card:hover img {
    transform: scale(1.06) !important;
}
.category-card .category-name,
.category-card .category-card-name {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: var(--color-text-primary) !important;
    line-height: 1.3 !important;
}
@media (max-width: 991px) {
    .category-card {
        min-height: 165px !important;
        padding: 1rem 0.5rem 0.85rem !important;
        border-radius: 16px !important;
    }
    .category-card img {
        height: 100px !important;
        max-height: 100px !important;
    }
    .category-card .category-name,
    .category-card .category-card-name {
        font-size: 0.85rem !important;
    }
}

/* --- MOBILE CATEGORY UX REFINEMENT --- */
@media (max-width: 767px) {
    .category-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
    }
    .category-card {
        min-height: 140px !important;
        padding: 0.85rem 0.4rem 0.75rem !important;
        border-radius: 14px !important;
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        gap: 0.4rem !important;
    }
    .category-card img {
        height: 80px !important;
        max-height: 80px !important;
        margin-bottom: 0.15rem !important;
    }
    .category-card .category-name,
    .category-card .category-card-name {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 479px) {
    .category-card {
        min-height: 128px !important;
        padding: 0.75rem 0.3rem 0.65rem !important;
        border-radius: 12px !important;
    }
    .category-card img {
        height: 72px !important;
        max-height: 72px !important;
    }
    .category-card .category-name,
    .category-card .category-card-name {
        font-size: 0.70rem !important;
    }
}

/* --- TOP NOTICE MARQUEE (MOBILE) --- */
.notice-marquee {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}
@media (max-width: 767px) {
    .top-notice-bar {
        overflow: hidden; /* Intentional: contains the marquee scroll */
        white-space: nowrap;
        display: block;
        padding: 0.5rem 0 !important;
        max-width: 100%;
    }
    .notice-marquee {
        display: inline-flex;
        animation: scroll-marquee 15s linear infinite;
        width: max-content;
    }
    @keyframes scroll-marquee {
        0% { transform: translateX(100%); } /* 100% is safe — 100vw caused scrollbar overflow */
        100% { transform: translateX(-100%); }
    }
}

/* --- ROTATING STORES TICKER --- */
.ticker-locations {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    vertical-align: middle !important;
    animation: none !important;
    padding-left: 0 !important;
    transform: none !important;
}
.store-location {
    position: absolute !important;
    left: 0 !important;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}
.store-location.active {
    opacity: 1;
    transform: translateY(0);
    position: relative !important;
    pointer-events: auto !important;
}



.store-location.exit {
    opacity: 0 !important;
    transform: translateY(-20px) !important;
    position: absolute !important;
}

/* --- FIX TICKER MOBILE LAYOUT --- */
.ticker-inner {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    white-space: nowrap !important;
}
.ticker-locations {
    min-width: 120px;
    text-align: left;
}

/* --- BULLETPROOF ROTATING TICKER --- */
.ticker-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 0.5rem !important;
}
.ticker-locations {
    display: inline-block !important;
    position: relative !important;
    width: 130px !important;
    height: 18px !important;
    overflow: visible !important;
    text-align: left !important;
    vertical-align: middle !important;
}
.store-location {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    opacity: 0 !important;
    transform: translateY(15px) !important;
    transition: opacity 0.4s ease, transform 0.4s ease !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    line-height: 18px !important;
}
.store-location.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}
.store-location.exit {
    opacity: 0 !important;
    transform: translateY(-15px) !important;
}



/* --- HIDE ADMIN PILL ON MOBILE HEADER --- */
@media (max-width: 1024px) {
    .admin-header-pill {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .brand-logo img, .site-logo-img {
        height: 34px !important;
        max-width: 140px !important;
    }
}


/* --- MOBILE HEADER LAYOUT --- */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
@media (max-width: 1024px) {
    .nav-actions {
        margin-left: auto;
    }
}

/* ==========================================================
   STATIC INFORMATIONAL & POLICY PAGES
   ========================================================== */
.static-page-main {
    background-color: var(--color-bg-primary, #ffffff);
    padding: 2rem 0 3.5rem;
    min-height: 60vh;
}

.static-page-content {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--color-border, #E5E5EA);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.static-page-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary, #1D1D1F);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border, #E5E5EA);
    line-height: 1.25;
}

.static-page-content h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text-primary, #1D1D1F);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.static-page-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-primary, #1D1D1F);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.static-page-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary, #48484A);
    margin-bottom: 1rem;
}

.static-page-content ul,
.static-page-content ol {
    margin: 0.75rem 0 1.25rem 1.5rem;
    color: var(--color-text-secondary, #48484A);
}

.static-page-content li {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.static-page-content li p {
    margin-bottom: 0;
}

.static-page-content a {
    color: var(--color-accent, #0071E3);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.static-page-content a:hover {
    color: #0051A8;
}

.static-page-content b,
.static-page-content strong {
    color: var(--color-text-primary, #1D1D1F);
}

@media (max-width: 768px) {
    .static-page-main {
        padding: 1.5rem 0 3rem;
    }
    .static-page-content {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
        border: none;
        box-shadow: none;
    }
    .static-page-content h1 {
        font-size: 1.6rem;
    }
    .static-page-content h2 {
        font-size: 1.2rem;
    }
}

/* ==========================================================
   Review Star Picker
   ========================================================== */
.review-star-picker {
    display: flex;
    gap: 0.35rem;
}
.review-star-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-border);
    cursor: pointer;
    padding: 0 0.05rem;
    line-height: 1;
    transition: color 0.15s, transform 0.1s;
}
.review-star-btn.is-active,
.review-star-btn:hover {
    color: #F59E0B;
}
.review-star-btn:hover {
    transform: scale(1.15);
}

/* ==========================================================
   COMPREHENSIVE RESPONSIVE OVERFLOW FIXES v2.0
   Root-cause fixes identified in full responsive audit.
   Applied after all component styles to avoid specificity wars.
   ========================================================== */

/* 1. Global: Every flex and grid child should be allowed to shrink */
.product-grid > *,
.product-card,
.catalog-layout > *,
.checkout-layout > *,
.pdp-layout > *,
.footer-grid > *,
.cart-item-row > *,
.cart-page-item-row > * {
    min-width: 0;
}

/* 2. Ensure images never blow out their containers */
img, video, svg, canvas, picture {
    max-width: 100%;
}

/* 3. Install pill button: collapse to icon-only on small screens */
@media (max-width: 480px) {
    .tnw-install-pill-btn .install-pill-text {
        display: none;
    }
    .tnw-install-pill-btn {
        padding: 0.4rem;
        min-width: 36px;
        justify-content: center;
    }
}
@media (max-width: 360px) {
    .tnw-install-pill-btn {
        display: none !important;
    }
}

/* 4. Mobile search form: ensure 100% width, never overflow header */
@media (max-width: 1024px) {
    .header-search-form.is-active .header-search-input {
        width: 100%;
        max-width: 100%;
        flex: 1;
    }
    .header-search-form.is-active {
        left: 0;
        right: 0;
        width: 100%;
    }
}

/* 5. Catalog toolbar wrapping on mobile */
.catalog-toolbar {
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* 6. Intermediate breakpoint: catalog on 768–1024px */
@media (max-width: 900px) and (min-width: 768px) {
    .catalog-layout:not(.filters-hidden) .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .catalog-layout:not(.filters-hidden) {
        grid-template-columns: min(220px, 28vw) 1fr;
        gap: 1.5rem;
    }
}

/* 7. PWA Status Modal — proper mobile sizing */
.pwa-status-modal-overlay {
    padding: 1rem;
}
.pwa-status-modal {
    width: min(92vw, 420px);
    max-height: 90dvh;
    overflow-y: auto;
}
@media (max-width: 479px) {
    .pwa-status-modal {
        width: calc(100vw - 2rem);
        border-radius: 16px;
    }
}

/* 8. iOS Guide bottom sheet */
.ios-install-guide {
    width: 100%;
    max-width: 100%;
    max-height: 90dvh;
    overflow-y: auto;
}

/* 9. Mobile banner (floating install strip) — stay inside viewport */
.mobile-install-banner {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 10. Static page content: smaller horizontal padding on small mobile */
@media (max-width: 479px) {
    .static-page-content {
        padding: 1.25rem 1rem;
    }
    .static-page-content h1 {
        font-size: 1.45rem;
    }
}

/* 11. Cart drawer: prevent it from overflowing on ultra-small screens */
@media (max-width: 375px) {
    .cart-drawer {
        width: 100%;
        max-width: 100%;
    }
    .cart-drawer-header,
    .cart-drawer-items,
    .cart-drawer-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* 12. nav-container: prevent header from overflowing */
.nav-container {
    overflow-x: clip;
}

/* 13. Section title: prevent overflow on tiny phones */
.section-title,
.catalog-title,
.pdp-title {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 14. Catalog action bar mobile: use full width with wrapping */
@media (max-width: 479px) {
    .catalog-action-bar {
        flex-wrap: wrap;
        gap: 0.65rem;
    }
    .catalog-filter-toggle-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 15. PDP weight grid: 1 column on 320px screens */
@media (max-width: 360px) {
    .pdp-weight-grid {
        grid-template-columns: 1fr;
    }
    .pdp-trust-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .pdp-trust-item {
        flex: 0 0 calc(50% - 0.25rem);
    }
}

/* 16. Table wrappers: only table scrolls, never the page */
.pdp-table-wrap,
.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

/* 17. Large desktop (1536px+): improve content scaling */
@media (min-width: 1536px) {
    .container {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
    .product-grid {
        gap: 1.5rem;
    }
    .goal-card {
        height: 320px;
    }
}

/* 18. Category card grid — 4 columns desktop, safe on mobile */
@media (min-width: 1024px) {
    .category-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
    }
}

/* 19. Trust strip section: prevent inner scroll from affecting page */
.trust-grid {
    max-width: 100%;
}

/* 20. Flex banners: don't overflow on iPhone SE (320px) */
@media (max-width: 320px) {
    .nav-actions {
        gap: 0.1rem;
    }
    .header-cart-btn {
        padding: 0.3rem 0.4rem;
    }
    .brand-logo img,
    .site-logo-img {
        height: 26px;
        max-width: 100px;
    }
    .product-card-title {
        font-size: 0.7rem;
    }
    .product-card-price {
        font-size: 0.8rem;
    }
    .product-card-btn {
        font-size: 0.65rem;
        padding: 0.2rem 0.25rem;
    }
}

/* ==========================================================
   21. PDP LEFT COLUMN ADDONS & MOBILE FLOW
   ========================================================== */
.pdp-left-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pdp-right-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

@media (min-width: 1025px) {
    .pdp-left-col .pdp-gallery-sticky {
        position: static;
    }
    .pdp-left-addons-desktop {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-top: 2rem;
    }
    .pdp-addons-mobile {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .pdp-left-addons-desktop {
        display: none !important;
    }
    .pdp-addons-mobile {
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
        margin-top: 2.25rem;
        margin-bottom: 2rem;
        padding-top: 1.75rem;
        border-top: 1px solid var(--color-border-light);
    }
}

/* ==========================================================
   22. PDP SQUARE PROMOTIONAL & BRAND BANNER
   ========================================================== */
.pdp-square-banner {
    width: 100%;
    position: relative;
    border-radius: 20px;
    background: #0B132B;
    border: 1px solid rgba(0, 113, 227, 0.22);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pdp-square-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(0, 113, 227, 0.4);
    border-color: rgba(0, 113, 227, 0.5);
}

.pdp-sq-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.pdp-sq-banner-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 19px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-sq-banner-link:hover .pdp-sq-banner-img {
    transform: scale(1.025);
}

/* Aspect ratio 1:1 on desktop left column */
.pdp-sq-desktop {
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
}

/* Mobile Banner styling */
.pdp-sq-mobile {
    aspect-ratio: 1 / 1;
    max-width: 100%;
    margin-bottom: 0.5rem;
    border-radius: 16px;
}

.pdp-sq-mobile .pdp-sq-banner-img {
    border-radius: 15px;
}

/* ==========================================================
   23. PDP CATEGORIES STRIP (Mobile Discovery)
   ========================================================== */
.pdp-categories-section {
    width: 100%;
    box-sizing: border-box;
}

.pdp-categories-strip {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.35rem 0.2rem 0.85rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.pdp-categories-strip::-webkit-scrollbar {
    display: none;
}

.pdp-cat-chip {
    flex: 0 0 106px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 0.85rem 0.5rem;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    scroll-snap-align: start;
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.pdp-cat-chip:hover {
    transform: translateY(-2px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.pdp-cat-chip-img-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    background: #F8FAFC;
    border-radius: 12px;
    padding: 6px;
}

.pdp-cat-chip-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform var(--transition-fast);
}

.pdp-cat-chip:hover .pdp-cat-chip-img-wrap img {
    transform: scale(1.08);
}

.pdp-cat-chip-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 479px) {
    .pdp-cat-chip {
        flex: 0 0 88px;
        padding: 0.7rem 0.35rem;
        border-radius: 12px;
    }
    .pdp-cat-chip-img-wrap {
        width: 58px;
        height: 58px;
    }
    .pdp-cat-chip-name {
        font-size: 0.70rem;
    }
}

/* ==========================================================
   24. PDP RELATED PRODUCTS GRID
   ========================================================== */
.pdp-related-section {
    width: 100%;
    box-sizing: border-box;
}

.pdp-related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.pdp-related-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.25rem;
}

.pdp-related-title {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.pdp-related-more-link {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.pdp-related-more-link:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

/* Grid on Desktop: 2 columns in the left column */
.pdp-left-addons-desktop .pdp-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

/* Grid on Mobile: 2 columns */
.pdp-addons-mobile .pdp-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

/* Clean, modern card overrides for the related products grid */
.pdp-related-grid .product-card {
    opacity: 1 !important;
    transform: none !important;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-smooth);
    min-width: 0;
    box-sizing: border-box;
}

.pdp-related-grid .product-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 0, 0, 0.14);
}

.pdp-related-grid .product-card-image-wrap {
    height: 160px;
    padding: 0.85rem 0.5rem 0.4rem;
    margin-bottom: 0.75rem;
    background: #FFFFFF;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pdp-related-grid .product-card-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform var(--transition-smooth);
}

.pdp-related-grid .product-card:hover .product-card-image {
    transform: scale(1.04);
}

.pdp-related-grid .product-card-title {
    font-size: 0.82rem;
    font-weight: 500;
    color: #48484A;
    line-height: 1.35;
    margin-bottom: 0.45rem;
    min-height: 2.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pdp-related-grid .product-card-price {
    font-size: 0.95rem;
    font-weight: 700;
}

.pdp-related-grid .product-card-compare {
    font-size: 0.75rem;
}

.pdp-related-grid .discount-pill {
    font-size: 0.65rem;
    padding: 0.18rem 0.38rem;
}

.pdp-related-grid .product-card-btn {
    height: 32px;
    font-size: 0.75rem;
    padding: 0.3rem 0.55rem;
}

@media (max-width: 479px) {
    .pdp-addons-mobile .pdp-related-grid {
        gap: 0.45rem;
    }
    .pdp-addons-mobile .product-card {
        padding: 0.65rem 0.45rem;
        border-radius: 10px;
    }
    .pdp-addons-mobile .product-card-image-wrap {
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 0.5rem 0.25rem 0.25rem;
        margin-bottom: 0.35rem;
    }
    .pdp-addons-mobile .product-card-title {
        font-size: 0.74rem;
        line-height: 1.25;
        min-height: 2.1em;
        margin-bottom: 0.3rem;
    }
    .pdp-addons-mobile .product-card-price {
        font-size: 0.85rem;
    }
    .pdp-addons-mobile .product-card-btn {
        width: 100%;
        height: 30px;
        min-height: 30px;
        font-size: 0.68rem;
        padding: 0.2rem;
    }
}



/* ==========================================================
   COUPON OFFERS STRIP — PDP (Product Detail Page)
   ========================================================== */
.pdp-coupon-section {
    margin: 1.25rem 0;
    padding: 1.1rem 1.25rem;
    background: rgba(0, 113, 227, 0.04);
    border: 1.5px solid rgba(0, 113, 227, 0.14);
    border-radius: var(--radius-md);
}

.pdp-coupon-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.pdp-coupon-header-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.pdp-coupon-header-title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
}

.pdp-coupon-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.pdp-coupon-scroll::-webkit-scrollbar {
    display: none;
}

.pdp-coupon-card {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    width: 260px;
    scroll-snap-align: start;
    background: #FFFFFF;
    border: 1px solid rgba(0, 113, 227, 0.18);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 113, 227, 0.06);
}

.pdp-coupon-card::before,
.pdp-coupon-card::after {
    content: '';
    position: absolute;
    left: 42px;
    width: 10px;
    height: 10px;
    background: rgba(0, 113, 227, 0.04);
    border-radius: 50%;
    border: 1px solid rgba(0, 113, 227, 0.18);
    z-index: 2;
}

.pdp-coupon-card::before { top: -5px; }
.pdp-coupon-card::after  { bottom: -5px; }

.pdp-coupon-badge {
    width: 36px;
    flex-shrink: 0;
    background: rgba(0, 113, 227, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1.5px dashed rgba(0, 113, 227, 0.25);
}

.pdp-coupon-badge-text {
    font-size: 0.58rem;
    font-weight: 800;
    color: #0071E3;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}

.pdp-coupon-body {
    flex: 1;
    padding: 0.65rem 0.75rem 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.pdp-coupon-desc {
    font-size: 0.77rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.pdp-coupon-desc strong {
    color: var(--color-text-primary);
    font-weight: 700;
}

.pdp-coupon-code-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pdp-coupon-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--color-bg-subtle);
    border: 1.5px dashed rgba(0, 113, 227, 0.3);
    border-radius: 5px;
    padding: 0.18rem 0.45rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.04em;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

.pdp-coupon-code-pill:hover {
    background: rgba(0, 113, 227, 0.07);
}

.pdp-coupon-copy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0071E3;
    opacity: 0.7;
    flex-shrink: 0;
    transition: opacity 0.15s, color 0.15s;
}

.pdp-coupon-code-pill:hover .pdp-coupon-copy-icon {
    opacity: 1;
}

.pdp-coupon-code-pill.is-copied .pdp-coupon-copy-icon {
    color: var(--color-success, #16A34A);
    opacity: 1;
}

.pdp-coupon-min-order {
    font-size: 0.67rem;
    color: var(--color-text-tertiary);
}

/* Compact coupon summary below the selling price. */
.product-card-coupon { margin-top: 10px; color: #166534; font-size: 12px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; word-break: normal; min-width: 0; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { .pwa-spinner { animation: none; } }

.pwa-install-progress { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 0; text-align: center; }
.pwa-install-progress .pwa-install-ring { width: 64px; height: 64px; border-width: 5px; }
.pwa-install-progress strong { font-size: 18px; color: #1d1d1f; }
.pwa-install-progress span { font-size: 14px; color: #6e6e73; }
.pwa-install-check { width: 64px; height: 64px; border-radius: 50%; background: #e8f8ed; color: #15803d; display: grid; place-items: center; font-size: 38px; font-weight: 700; }

.pdp-coupon-price-summary { margin: -12px 0 20px; color: #166534; font-size: 14px; font-weight: 600; line-height: 1.5; }
.pdp-coupon-price-summary[hidden] { display: none; }

/* Keep cart money and the bag icon readable at every header width. */
.header-cart-btn, .header-cart-amount, .header-cart-icon-box { flex-shrink: 0; }
.header-cart-amount { white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.header-cart-icon-box { width: 24px; height: 24px; }
.header-cart-icon-box svg { width: 24px; height: 24px; flex-shrink: 0; }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cart-item-total { font-size: 15px; font-weight: 700; white-space: nowrap; }
.cart-qty-ctrl { flex-shrink: 0; }
@media (max-width: 767px) {
    .site-header { height: auto; }
    .site-header .nav-container { height: auto; min-height: 64px; flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
    .site-header .header-left { order: 1; flex: 1 1 auto; gap: 8px; min-width: 0; }
    .site-header .nav-actions { display: contents; }
    .site-header .tnw-install-pill-btn { order: 2; flex-shrink: 0; }
    .site-header .nav-actions > .nav-action-btn { order: 3; flex-shrink: 0; }
    .site-header .header-cart-btn { order: 4; display: inline-flex; flex-direction: column-reverse; gap: 3px; padding: 4px 8px; min-width: 56px; min-height: 48px; }
    .site-header .header-cart-amount { font-size: 12px; line-height: 1.2; }
    .site-header .header-search-wrap { order: 5; flex: 0 0 100%; width: 100%; }
    .site-header .header-search-form { width: 100%; }
    .site-header .header-search-input, .site-header .header-search-input:focus { width: 100%; min-width: 0; }
    .site-header .cart-badge-count { top: -5px; right: -8px; }
}
@media (max-width: 480px) {
    .site-header .brand-logo img { max-width: 112px !important; height: 32px !important; }
}

/* Mobile account, search, and cart remain visible; search expands below. */
@media (max-width: 767px) {
    .site-header .nav-container { gap: 6px; }
    .site-header .nav-actions > .nav-action-btn { display: inline-flex; width: 36px; height: 40px; padding: 6px; }
    .site-header .search-mobile-toggle { display: inline-flex !important; order: 3; }
    .site-header .nav-actions > a.nav-action-btn { order: 2; }
    .site-header .header-search-wrap { display: none; }
    .site-header .header-search-wrap.is-open { display: flex; padding-top: 4px; }
    .site-header .header-search-form, .site-header .header-search-form.is-active { position: relative; inset: auto; width: 100%; }
    .site-header .header-search-input { height: 42px; }
    .site-header .tnw-install-pill-btn { order: 2; padding: 6px; min-width: 32px; }
    .site-header .tnw-install-pill-btn .install-pill-text { display: none; }
    .site-header .header-cart-btn { min-width: 52px; padding: 4px; }
}
@media (max-width: 360px) {
    .site-header .brand-logo img { max-width: 96px !important; }
    .site-header .header-left { gap: 4px; }
}

@media (max-width: 480px) {
    .product-card-coupon { font-size: 11px; line-height: 1.5; }
}

/* Header-only adjustment: icon cart without an amount, compact action spacing. */
.site-header .header-cart-amount { display: none !important; }
.site-header .nav-actions { gap: 4px; }
.site-header .header-cart-btn {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 36px;
    min-height: 40px;
    padding: 6px;
}
@media (max-width: 767px) {
    .site-header .nav-container { column-gap: 4px; }
}
