/*--------------------------------------------------------------------
    Home Page Modern & Clean Aesthetic Enhancements
    AskDealia - 2026
--------------------------------------------------------------------*/

/* =============================================
   0. DESIGN TOKENS (CSS Custom Properties)
   ============================================= */

:root {
    /* Primary Colors */
    --color-primary: #00a2ad;
    --color-primary-dark: #008b95;
    --color-primary-rgb: 0, 162, 173;
    --color-accent: #fed701;
    --color-accent-rgb: 254, 215, 1;

    /* Navy Palette */
    --color-navy: #0b233f;
    --color-navy-light: #1a3a5c;
    --color-navy-rgb: 11, 35, 63;

    /* Text Colors */
    --color-text: #222222;
    --color-text-muted: #666666;
    --color-text-light: #999999;

    /* Backgrounds & Borders */
    --color-bg: #ffffff;
    --color-bg-subtle: #f8fafb;
    --color-bg-muted: #f0f2f5;
    --color-border: #e8e8e8;
    --color-border-light: #f0f0f0;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(var(--color-primary-rgb), 0.15);
    --shadow-xl: 0 20px 48px rgba(var(--color-primary-rgb), 0.2);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration: 0.35s;
    --duration-slow: 0.5s;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-navy: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    --gradient-accent: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

/* =============================================
   1. GLOBAL SMOOTH SCROLL & BASE
   ============================================= */

html {
    scroll-behavior: smooth;
}

/* =============================================
   2. MODERNIZED HEADER — Sticky + Glass Effect
   ============================================= */

.header-pos {
    position: relative;
    z-index: 1000;
}

.header-top-menu {
    transition: all var(--duration) var(--ease);
}

.header-top-menu.header-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(var(--color-navy-rgb), 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s var(--ease) forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Compensate for fixed header */
.header-scrolled-spacer {
    display: none;
}

body.header-is-scrolled .header-scrolled-spacer {
    display: block;
}

/* =============================================
   3. REFRESHED HERO SECTION
   ============================================= */

/* Gradient overlay for better text contrast */
.slider-area .single-slider {
    position: relative;
}

.slider-area .single-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    z-index: 1;
}

.slider-area .single-slider .container-fluid {
    position: relative;
    z-index: 2;
}

/* Staggered hero text animation */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-text h1,
.slider-text p,
.slider-text .btn-1 {
    opacity: 0;
    animation: heroFadeUp 0.8s var(--ease) forwards;
}

.slider-text h1 {
    animation-delay: 0.1s;
}

.slider-text p:nth-of-type(1) {
    animation-delay: 0.25s;
}

.slider-text p:nth-of-type(2) {
    animation-delay: 0.4s;
}

.slider-text .btn-1 {
    animation-delay: 0.55s;
}

/* Animated gradient text highlight */
.text-highlight-blue {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* =============================================
   4. UNIFIED BUTTON SYSTEM
   ============================================= */

/* Hero CTA Button */
.btn-1.home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--gradient-primary);
    color: #ffffff !important;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.35);
    position: relative;
    overflow: hidden;
}

.btn-1.home-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.btn-1.home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(var(--color-primary-rgb), 0.45);
}

.btn-1.home-btn:hover::before {
    opacity: 1;
}

.btn-1.home-btn:active {
    transform: scale(0.97) translateY(-1px);
}

/* Compare Button — Pill outline */
.btn-compare {
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 10px 18px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary) !important;
    background: transparent;
    transition: all var(--duration) var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    letter-spacing: 0.2px;
}

.btn-compare i {
    font-size: 14px;
    transition: transform var(--duration) var(--ease);
}

.btn-compare:hover {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.3);
    transform: translateY(-1px);
}

.btn-compare:hover i {
    transform: rotate(180deg);
}

/* Add to Grocery List — Solid gradient pill */
.btn-list {
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 20px;
    margin-top: 12px;
    color: #ffffff !important;
    background: var(--gradient-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--duration) var(--ease);
    width: 100%;
    border: none;
    text-decoration: none;
    letter-spacing: 0.2px;
    box-shadow: 0 3px 12px rgba(var(--color-navy-rgb), 0.2);
}

.btn-list:hover {
    background: var(--gradient-primary);
    box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.35);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-list i {
    font-size: 16px;
}

/* See More Button — Secondary solid pill */
.see-more.btn-cart {
    background: var(--gradient-navy);
    border: none;
    border-radius: var(--radius-pill);
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 48px;
    line-height: 1.4;
    transition: all var(--duration) var(--ease);
    box-shadow: 0 4px 15px rgba(var(--color-navy-rgb), 0.2);
    letter-spacing: 0.3px;
}

.see-more.btn-cart:hover {
    background: var(--gradient-primary);
    box-shadow: 0 6px 24px rgba(var(--color-primary-rgb), 0.35);
    transform: translateY(-2px);
}

/* Button universal press effect */
.btn-list:active,
.btn-compare:active,
.btn-1.home-btn:active,
.dropdown-button:active,
.see-more.btn-cart:active {
    transform: scale(0.97);
}

/* Focus states for accessibility */
.btn-list:focus-visible,
.btn-compare:focus-visible,
.btn-1.home-btn:focus-visible,
.dropdown-button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* =============================================
   5. ENHANCED PRODUCT CARDS
   ============================================= */

/* Modern card styling */
.product-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

.product-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

/* Gradient accent line on hover */
.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--duration) var(--ease);
    z-index: 10;
    transform-origin: left;
}

.product-item:hover::before {
    transform: scaleX(1);
}

/* Image hover zoom */
.product-thumb {
    overflow: hidden;
    background: var(--color-bg-subtle);
}

.product-thumb img {
    transition: transform var(--duration-slow) var(--ease);
}

.product-item:hover .product-thumb img {
    transform: scale(1.05);
}

/* Enhanced product caption with frosted glass */
.product-caption {
    padding: 16px 18px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: relative;
}

/* Brand styling */
.manufacture-product a {
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color var(--duration-fast) ease;
}

.manufacture-product a:hover {
    color: var(--color-primary-dark);
}

/* Product name */
.product-name h4 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
}

.product-name h4 a {
    color: var(--color-text);
    transition: color var(--duration-fast) ease;
    text-decoration: none;
}

.product-name h4:hover a {
    color: var(--color-primary);
}

/* Enhanced price display — badge style */
.regular-price {
    color: var(--color-navy);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.08) 0%, rgba(var(--color-accent-rgb), 0.08) 100%);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* Price and compare container */
.product-price-compare-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 4px;
    flex-wrap: wrap;
    gap: 8px;
}

/* Improved quantity controls */
.pro-table {
    margin-top: 10px;
    margin-bottom: 0;
}

.pro-table .btn1 {
    border-radius: var(--radius-sm);
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: all var(--duration-fast) var(--ease);
}

.pro-table .btn-danger {
    background: #fee2e2;
    color: #dc2626;
}

.pro-table .btn-danger:hover {
    background: #dc2626;
    color: #ffffff;
}

.pro-table .btn-success {
    background: #d1fae5;
    color: #059669;
}

.pro-table .btn-success:hover {
    background: #059669;
    color: #ffffff;
}

.pro-table .form-control1 {
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    border: 2px solid var(--color-border);
    width: 48px;
    height: 36px;
}

.trash-icon {
    color: #dc2626;
    cursor: pointer;
    font-size: 18px;
    transition: all var(--duration-fast) var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.trash-icon:hover {
    background: #fee2e2;
    transform: scale(1.1);
}

/* =============================================
   6. VENDOR DROPDOWN ENHANCEMENTS
   ============================================= */

.container-dropdownbutton {
    gap: 30px;
}

.dropdown-button {
    padding: 18px 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    min-width: 280px;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.25);
    transition: all var(--duration) var(--ease);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    color: #ffffff;
    text-align: left;
}

.dropdown-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    pointer-events: none;
}

.dropdown-button:hover {
    box-shadow: 0 6px 24px rgba(var(--color-primary-rgb), 0.4);
    transform: translateY(-2px);
}

.dropdown-button .vendor-name {
    font-size: 20px;
    font-weight: 600;
}

.dropdown-button .icon {
    transition: transform var(--duration) var(--ease);
}

.dropdown-button:hover .icon {
    transform: translateY(2px);
}

/* Dropdown menu animation */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(var(--color-primary-rgb), 0.05);
    padding: 20px;
    background: var(--color-bg);
}

.dropdown-content[style*="display: block"],
.dropdown-content[style*="display: grid"] {
    animation: dropdownFadeIn 0.25s var(--ease) forwards;
}

/* Direction A swatch panel inside the dropdown popup */
.dropdown-content-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.dropdown-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.vendor-swatch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    box-shadow: var(--shadow-xs);
    text-decoration: none;
    transition: box-shadow var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
    cursor: pointer;
}

.vendor-swatch:hover {
    border-color: rgba(var(--color-primary-rgb), 0.4);
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.12);
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--color-text);
}

.vendor-swatch-chip {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-xs);
}

.vendor-swatch--all {
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.2);
}

.vendor-swatch--all:hover {
    color: #fff;
    box-shadow: 0 6px 18px rgba(var(--color-primary-rgb), 0.3);
}

.vendor-swatch--all i {
    font-size: 14px;
}

@media (max-width: 575px) {
    .dropdown-content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Text content styling */
.text-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
    margin-bottom: 12px;
}

.text-content h2 .vendor_name {
    color: var(--color-primary);
}

.text-content p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* =============================================
   7. LAYOUT & SPACING IMPROVEMENTS
   ============================================= */

/* Featured Products Section */
.product-wrapper.fix.pb-70 {
    background: linear-gradient(180deg, var(--color-bg-subtle) 0%, var(--color-bg) 100%);
    padding-top: 60px;
    padding-bottom: 80px;
    position: relative;
}

.product-wrapper.fix.pb-70::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

/* Section titles with gradient underline */
.section-title h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
}

.section-title h3 span {
    color: var(--color-primary);
    font-weight: 700;
}

.section-title.hm-11 {
    margin-bottom: 40px;
}

/* Gradient underline for section titles */
.section-title.hm-11 h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Compare section */
.home-module-three.hm-1.fix.pb-40 {
    background: var(--color-bg);
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Product grid spacing */
.module-four-wrapper.custom-seven-column {
    margin-left: -12px;
    margin-right: -12px;
}

.module-four-wrapper.custom-seven-column > .col,
.module-four-wrapper.custom-seven-column > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;
}

/* See More area */
.see-more-area {
    padding-top: 30px;
}

/* =============================================
   8. SKELETON LOADING
   ============================================= */

/* Loading skeleton shimmer */
.loading-skeleton,
.skeleton-card .skeleton-img,
.skeleton-card .skeleton-line {
    background: linear-gradient(90deg, var(--color-border-light) 25%, var(--color-border) 50%, var(--color-border-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Skeleton card structure */
.skeleton-card {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg);
}

.skeleton-card .skeleton-img {
    width: 100%;
    height: 180px;
    border-radius: 0;
}

.skeleton-card .skeleton-body {
    padding: 16px 18px 20px;
}

.skeleton-card .skeleton-line {
    height: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
}

.skeleton-card .skeleton-line.short {
    width: 40%;
}

.skeleton-card .skeleton-line.medium {
    width: 70%;
}

.skeleton-card .skeleton-line.price {
    width: 30%;
    height: 20px;
    margin-top: 14px;
}

.skeleton-card .skeleton-line.btn-skel {
    width: 100%;
    height: 44px;
    margin-top: 14px;
    border-radius: var(--radius-pill);
}

/* Override old spinner — use skeletons instead */
#fetchproducts.loading {
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

#fetchproducts.loading::after {
    display: none;
}

/* =============================================
   9. SCROLL-TRIGGERED REVEAL ANIMATIONS
   ============================================= */

.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.section-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product fade-in animation */
@keyframes productFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.module-four-wrapper .product-item {
    animation: productFadeIn 0.4s var(--ease) forwards;
}

/* Staggered animation for grid items */
.module-four-wrapper .col:nth-child(1) .product-item,
.module-four-wrapper [class*="col-"]:nth-child(1) .product-item { animation-delay: 0.05s; }
.module-four-wrapper .col:nth-child(2) .product-item,
.module-four-wrapper [class*="col-"]:nth-child(2) .product-item { animation-delay: 0.1s; }
.module-four-wrapper .col:nth-child(3) .product-item,
.module-four-wrapper [class*="col-"]:nth-child(3) .product-item { animation-delay: 0.15s; }
.module-four-wrapper .col:nth-child(4) .product-item,
.module-four-wrapper [class*="col-"]:nth-child(4) .product-item { animation-delay: 0.2s; }
.module-four-wrapper .col:nth-child(5) .product-item,
.module-four-wrapper [class*="col-"]:nth-child(5) .product-item { animation-delay: 0.25s; }
.module-four-wrapper .col:nth-child(6) .product-item,
.module-four-wrapper [class*="col-"]:nth-child(6) .product-item { animation-delay: 0.3s; }
.module-four-wrapper .col:nth-child(7) .product-item,
.module-four-wrapper [class*="col-"]:nth-child(7) .product-item { animation-delay: 0.35s; }
.module-four-wrapper .col:nth-child(8) .product-item,
.module-four-wrapper [class*="col-"]:nth-child(8) .product-item { animation-delay: 0.4s; }

/* =============================================
   10. MODERNIZED FOOTER
   ============================================= */

.site-footer {
    position: relative;
}

/* Gradient top accent */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.footer-main {
    background: linear-gradient(135deg, var(--color-navy) 0%, #0f2d4f 50%, var(--color-navy-light) 100%);
    padding: 60px 0 40px;
    color: #ffffff;
}

.footer-widget-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

/* Social icons — circles */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
}

/* Footer links with animated underline */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: color var(--duration-fast) ease;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--duration) var(--ease);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Partner logos on frosted card */
.footer-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    transition: all var(--duration) var(--ease);
}

.partner-logo:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.partner-logo img {
    max-height: 40px;
    width: auto;
    opacity: 1;
    transition: opacity var(--duration-fast) ease;
}

.partner-logo:hover img {
    opacity: 1;
}

/* Footer bottom */
.footer-bottom {
    background: rgba(var(--color-navy-rgb), 0.95);
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-content {
    text-align: center;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}

.footer-copyright a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.footer-copyright a:hover {
    color: var(--color-accent);
}

/* =============================================
   11. TYPOGRAPHY POLISH
   ============================================= */

/* Section subtitle styling */
.section-title.module-three h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.2px;
}

.section-title.module-three h3 span {
    color: var(--color-primary);
    font-weight: 700;
}

/* Breadcrumb modernization */
.breadcrumb-area {
    background: var(--color-bg-subtle);
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.breadcrumb-wrap h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 13px;
    color: var(--color-text-muted);
}

.breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.breadcrumb-item a:hover {
    color: var(--color-primary-dark);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '\203A';
    color: var(--color-text-light);
    font-size: 16px;
}

/* =============================================
   12. CATEGORY PAGE FILTER BAR
   ============================================= */

.shop-top-bar {
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 30px !important;
}

.shop-top-bar .row {
    align-items: center;
}

.shop-top-bar .per-page {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-top-bar .per-page p {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin: 0;
    white-space: nowrap;
}

/* Nice select styling override */
.shop-top-bar .nice-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    height: 38px;
    line-height: 36px;
    font-size: 13px;
    background: var(--color-bg);
    min-width: 120px;
    transition: border-color var(--duration-fast) ease;
}

.shop-top-bar .nice-select:hover,
.shop-top-bar .nice-select.open {
    border-color: var(--color-primary);
}

.shop-top-bar .nice-select .list {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
    max-height: 250px;
    overflow-y: auto;
}

/* Product view mode toggle */
.product-view-mode a {
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all var(--duration-fast) ease;
    text-decoration: none;
}

.product-view-mode a.active,
.product-view-mode a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

/* =============================================
   13. OWL CAROUSEL NAVIGATION
   ============================================= */

.owl-arrow-style .owl-nav {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
}

.owl-arrow-style .owl-nav div {
    color: var(--color-text-muted);
    transition: color var(--duration-fast) ease;
}

.owl-arrow-style .owl-nav div:hover {
    color: var(--color-primary);
}

/* =============================================
   14. SCROLL TO TOP BUTTON
   ============================================= */

.scroll-top {
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.3);
    transition: all var(--duration) var(--ease);
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(var(--color-primary-rgb), 0.45);
}

/* =============================================
   15. SMOOTH TRANSITIONS FOR ALL INTERACTIVE ELEMENTS
   ============================================= */

a, button, .product-item, .dropdown-button, .btn-compare, .btn-list {
    -webkit-transition: all var(--duration) var(--ease);
    transition: all var(--duration) var(--ease);
}

/* =============================================
   16. RESPONSIVE ADJUSTMENTS
   ============================================= */

/* Mobile adjustments */
@media (max-width: 767px) {
    .product-item:hover {
        transform: translateY(-3px);
    }

    .product-price-compare-btn {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-compare {
        margin-top: 8px;
        width: 100%;
        justify-content: center;
    }

    .dropdown-button {
        min-width: 100%;
    }

    .container-dropdownbutton {
        flex-direction: column;
        gap: 20px;
    }

    .text-content h2 {
        font-size: 22px;
    }

    .section-title h3 {
        font-size: 18px;
    }

    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-widget-title {
        font-size: 15px;
    }

    .shop-top-bar {
        padding: 12px 14px;
    }

    .regular-price {
        font-size: 18px;
        padding: 3px 10px;
    }

    /* Skeleton mobile - 2 columns */
    .skeleton-card-col {
        width: 50% !important;
    }

    /* Disable heavy animations on mobile for performance */
    .section-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .slider-text h1,
    .slider-text p,
    .slider-text .btn-1 {
        opacity: 1;
        animation: none;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .dropdown-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .text-content h2 {
        font-size: 24px;
    }

    .skeleton-card-col {
        width: 33.333% !important;
    }
}

/* Large desktop */
@media (min-width: 1200px) {
    .product-item:hover {
        transform: translateY(-8px);
    }
}

/* =============================================
   17. MOBILE HEADER IMPROVEMENTS (< 576px)
   ============================================= */

.header-logo-img {
    width: 200px;
    height: auto;
}

/* Direction A wordmark: ask(navy) + dealia(teal) + yellow dot */
.ad-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.8px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.ad-wordmark:hover {
    text-decoration: none;
}

.ad-wordmark-ask {
    color: var(--color-navy);
}

.ad-wordmark-dealia {
    color: var(--color-primary);
}

.ad-wordmark-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    display: inline-block;
    align-self: center;
    margin-left: 4px;
}

/* Apply icon-only mode and compact header for all mobile/tablet (< 992px) */
@media (max-width: 991.98px) {
    /* Compact header */
    .header-middle {
        padding: 10px 0 !important;
    }

    .header-middle .row {
        flex-wrap: wrap;
        align-items: center;
    }

    /* Compact grocery + account icons */
    .header-middle-inner {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .mini-cart-option {
        float: none !important;
        text-align: right !important;
    }

    .mini-cart-option > ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 2px;
        flex-wrap: nowrap;
    }

    .mini-cart-option li {
        margin-left: 0 !important;
    }

    /* Icon-only mode — hide text labels, show only icons */
    .mini-cart-option li a {
        font-size: 0;
        padding: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        max-width: none;
    }

    .mini-cart-option li a span.lnr {
        font-size: 20px;
        padding-right: 0;
    }

    .mini-cart-option .count {
        top: -8px;
        right: -4px;
        left: auto;
        font-size: 9px;
        width: 16px;
        height: 16px;
        line-height: 16px;
    }

    /* Teal navigation bar — proper spacing on mobile */
    .header-top-menu {
        padding: 8px 0;
    }

    .header-top-menu .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* =============================================
   MOBILE HEADER RESTRUCTURE — stacked layout (< 768px)
   ============================================= */
@media (max-width: 767.98px) {
    /* Search column: full-width second row */
    .header-middle .row > .col-lg-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        order: 3 !important;
        padding-top: 8px;
    }

    /* Logo column: natural width on first row */
    .header-middle .row > .col-lg-2:first-child {
        flex: 0 0 auto !important;
        max-width: none !important;
    }

    /* Icons column: fill remaining space, push right */
    .header-middle .row > .col-lg-2:last-child,
    .header-middle .row > [class*="col-lg-2"].order-lg-last {
        flex: 1 1 auto !important;
        max-width: none !important;
    }
}

/* Show mobile search bar on all screens below 992px (not just <576px) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .header-search-mobile {
        display: block !important;
    }
}

@media (max-width: 575.98px) {
    /* Smaller logo */
    .header-logo-img {
        width: 90px;
    }

    .ad-wordmark {
        font-size: 20px;
        letter-spacing: -0.6px;
    }

    .ad-wordmark-dot {
        width: 5px;
        height: 5px;
        margin-left: 3px;
    }

    .logo {
        text-align: left !important;
    }

    /* Mobile search bar — match desktop style */
    .header-search-mobile {
        width: 100%;
    }

    .header-search-mobile form {
        display: flex;
        align-items: center;
        width: 100%;
        background: #fff;
        border-radius: 10px;
        border: 1.5px solid var(--color-border);
        box-shadow: var(--shadow-xs);
        overflow: hidden;
        height: 40px;
    }

    .header-search-mobile form:focus-within {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(0, 162, 173, 0.1);
    }

    .header-search-mobile .top-cat-field1 {
        flex: 1;
        height: 38px;
        border: none !important;
        background: transparent;
        font-size: 13px;
        padding: 0 10px;
        outline: none;
    }

    .header-search-mobile .top-search-btn1 {
        height: 38px;
        width: 42px;
        min-width: 42px;
        background: var(--color-primary);
        border: none;
        border-radius: 0 8px 8px 0;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        cursor: pointer;
    }
}

/* =============================================
   18. MOBILE HERO IMPROVEMENTS (< 576px)
   ============================================= */

@media (max-width: 575.98px) {
    .slider-area.mobile-hero {
        margin: 0 !important;
        padding: 28px 0 22px;
        background: linear-gradient(135deg, #f8fafb 0%, #e8f7f8 50%, #f8fafb 100%);
        position: relative;
    }

    .slider-area.mobile-hero .slider-text {
        text-align: center;
    }

    .slider-area.mobile-hero .slider-text h1 {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 10px;
        opacity: 1;
        animation: none;
    }

    .slider-area.mobile-hero .slider-text p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 14px;
        color: var(--color-text-muted);
        opacity: 1;
        animation: none;
    }

    .slider-area.mobile-hero .btn-1.home-btn {
        padding: 12px 28px;
        font-size: 14px;
        font-weight: 600;
        opacity: 1;
        animation: none;
        display: inline-block;
    }
}

/* =============================================
   19. MOBILE PRODUCT CARD IMPROVEMENTS (< 576px)
   ============================================= */

@media (max-width: 575.98px) {
    /* Mobile grid gaps — more breathing room */
    .module-four-wrapper.custom-seven-column {
        margin-left: -8px !important;
        margin-right: -8px !important;
    }

    .module-four-wrapper.custom-seven-column > .col,
    .module-four-wrapper.custom-seven-column > [class*="col-"] {
        padding-left: 8px !important;
        padding-right: 8px !important;
        margin-bottom: 16px !important;
    }

    /* Card refinements */
    .product-item {
        border-radius: 10px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.06);
        overflow: hidden;
    }

    /* Constrain image height */
    .product-thumb {
        height: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        overflow: hidden;
    }

    .product-thumb img.pri-img {
        max-height: 100%;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    /* Tighter caption */
    .product-caption {
        padding: 10px 10px 14px;
    }

    .manufacture-product a {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .product-name h4 {
        font-size: 12px;
        min-height: 34px;
        line-height: 1.4;
        margin-top: 2px;
    }

    .product-name h4 a {
        font-size: 12px;
    }

    /* Compact price and compare */
    .product-price-compare-btn {
        padding: 6px 0 2px;
        gap: 4px;
    }

    .regular-price {
        font-size: 16px;
        padding: 2px 8px;
    }

    .btn-compare {
        padding: 6px 10px;
        font-size: 11px;
        width: 100%;
        justify-content: center;
    }

    /* Compact grocery button */
    .grocery-btn-area .btn-list {
        padding: 10px 12px;
        font-size: 12px;
        margin-top: 6px;
        gap: 4px;
    }

    .grocery-btn-area .btn-list i {
        font-size: 14px;
    }

    /* Compact quantity controls */
    .pro-table .btn1 {
        min-width: 28px;
        height: 28px;
        font-size: 14px;
        border-radius: 6px;
    }

    .pro-table .form-control1 {
        width: 36px;
        height: 28px;
        font-size: 12px;
    }

    /* Featured products spacing */
    .product-wrapper.fix.pb-70 {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .section-title.hm-11 {
        margin-bottom: 16px;
    }

    /* Product compare section */
    .home-module-three.hm-1.fix.pb-40 {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    /* See More button */
    .see-more.btn-cart {
        width: 100%;
        padding: 14px 24px;
        font-size: 14px;
    }

    .see-more-area {
        padding-top: 16px;
    }

    /* Vendor dropdown */
    .dropdown-button {
        padding: 14px 16px;
        font-size: 13px;
    }

    .dropdown-button .vendor-name {
        font-size: 16px;
    }

    /* Section title spacing fix */
    .section-title.product-spacing {
        margin-bottom: 20px !important;
    }

    .hm-1 .section-title.module-three {
        margin-bottom: 16px !important;
    }

    .section-title.module-three {
        margin-bottom: 16px !important;
    }
}

/* =============================================
   20. VERY SMALL SCREENS — single column (< 380px)
   ============================================= */
@media (max-width: 379.98px) {
    .module-four-wrapper.custom-seven-column > .col,
    .module-four-wrapper.custom-seven-column > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Landing page — tighter sizing for very small screens */
    .landing-hero-title {
        font-size: 24px;
    }

    .landing-search-select {
        min-width: 85px;
        font-size: 11px;
        padding: 0 20px 0 8px;
    }

    .landing-search-input {
        font-size: 14px;
        padding: 0 8px;
    }
}

/* =============================================
   21. MOBILE NAV BAR — Direction A
   ============================================= */
@media (max-width: 991.98px) {
    /* The standalone navy/teal nav bar is gone on mobile — its only job
       was to hold the burger, which now lives in the white logo bar. */
    .header-top-menu {
        display: none !important;
    }

    /* Logo bar is the positioning context for the dropdown panel */
    .header-middle {
        position: relative;
    }

    /* Right-hand actions cluster: grocery-list + account + burger in a row */
    .header-middle .row > [class*="order-lg-last"] {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
    }

    /* meanmenu mount + bar — inline, no navy strip */
    .mobile-menu {
        position: static;
        flex: 0 0 auto;
        width: auto;
    }

    .mean-container .mean-bar {
        position: static !important;
        display: inline-flex !important;
        align-items: center;
        width: auto !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        float: none !important;
    }

    /* Burger button — compact pill, navy lines on the white bar */
    .mean-container a.meanmenu-reveal {
        position: static !important;
        min-width: 40px;
        min-height: 40px;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        border-radius: 10px;
        background: rgba(var(--color-navy-rgb), 0.06) !important;
        border: 1px solid rgba(var(--color-navy-rgb), 0.12);
        color: var(--color-navy) !important;
        transition: background var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
        z-index: 2;
    }

    .mean-container a.meanmenu-reveal:hover,
    .mean-container a.meanmenu-reveal:active {
        background: rgba(var(--color-navy-rgb), 0.12) !important;
    }

    .mean-container a.meanmenu-reveal span {
        background: var(--color-navy) !important;
        height: 2px !important;
        width: 18px !important;
        margin: 0 !important;
        border-radius: 2px;
        display: block !important;
        position: static !important;
    }

    /* When open — tinted teal */
    .mean-container a.meanmenu-reveal.meanclose {
        background: rgba(var(--color-primary-rgb), 0.12) !important;
        border-color: rgba(var(--color-primary-rgb), 0.3);
    }

    /* Expanded nav panel — drops below the full logo bar, full width */
    .mean-container .mean-nav {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin-top: 0 !important;
        background: linear-gradient(180deg, var(--color-navy) 0%, #0a1e34 100%) !important;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
        z-index: 1001;
    }

    .mean-container .mean-nav ul li a {
        padding: 14px 20px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        letter-spacing: 0.2px !important;
        text-transform: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
        color: rgba(255, 255, 255, 0.88) !important;
    }

    .mean-container .mean-nav ul li:first-child > a {
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .mean-container .mean-nav ul li a:hover {
        background: rgba(var(--color-primary-rgb), 0.15) !important;
        color: #fff !important;
        padding-left: 24px !important;
    }

    .mean-container .mean-nav ul li.mean-active > a,
    .mean-container .mean-nav ul li a.active {
        background: rgba(var(--color-primary-rgb), 0.2) !important;
        color: #fff !important;
        box-shadow: inset 3px 0 0 var(--color-primary);
    }

    /* Sub-nav expand toggle — teal accent */
    .mean-container .mean-nav ul li a.mean-expand {
        width: 42px !important;
        height: 46px !important;
        padding: 14px 0 !important;
        background: transparent !important;
        border: none !important;
        border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
        color: var(--color-accent) !important;
        font-size: 16px !important;
    }

    .mean-container .mean-nav ul li a.mean-expand:hover {
        background: rgba(254, 215, 1, 0.08) !important;
        color: var(--color-accent) !important;
    }

    /* Sub-menu items — slightly dimmer, indented */
    .mean-container .mean-nav ul li li a {
        padding-left: 32px !important;
        font-size: 13px !important;
        color: rgba(255, 255, 255, 0.65) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
    }

    .mean-container .mean-nav ul li li a:hover {
        padding-left: 36px !important;
        color: #fff !important;
    }

    /* Ensure no ghost space from categories bar */
    .categories-menu-bar {
        display: none !important;
    }
}

/* =============================================
   22. FEATURED CAROUSEL MOBILE POLISH (< 576px)
   ============================================= */
@media (max-width: 575.98px) {
    .product-gallary-active.owl-carousel .owl-stage {
        padding-left: 0 !important;
    }

    .product-gallary-active.owl-carousel .owl-item {
        padding: 0 6px;
    }

    /* Show dots on mobile for swipe navigation */
    .product-gallary-active.owl-carousel .owl-dots {
        display: flex !important;
        justify-content: center;
        margin-top: 16px;
        gap: 8px;
    }

    .product-gallary-active.owl-carousel .owl-dot span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--color-border);
        display: block;
        transition: all 0.2s ease;
    }

    .product-gallary-active.owl-carousel .owl-dot.active span {
        background: var(--color-primary);
        width: 20px;
        border-radius: 4px;
    }
}

/* =============================================
   23. SMALL TABLET HERO ADJUSTMENTS (576-767px)
   ============================================= */
@media (min-width: 576px) and (max-width: 767.98px) {
    .slider-area .single-slider {
        min-height: 250px;
        max-height: 300px;
    }

    .slider-area .slider-text h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .slider-area .slider-text p {
        font-size: 14px;
    }
}

/* =============================================
   LANDING HUB PAGE
   ============================================= */

/* --- Hero --- */
.landing-hero {
    background: var(--gradient-navy);
    padding: 64px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-hero-content {
    position: relative;
    z-index: 1;
}

.landing-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.landing-hero-shape--teal {
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: rgba(var(--color-primary-rgb), 0.18);
}

.landing-hero-shape--yellow {
    bottom: -80px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: rgba(var(--color-accent-rgb), 0.10);
}

.landing-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 20px;
}

.landing-hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    display: inline-block;
}

.landing-hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.1;
    letter-spacing: -1.2px;
    text-wrap: balance;
}

.landing-hero-title span {
    color: var(--color-accent);
}

.landing-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.landing-hero-subtitle b {
    color: #fff;
    font-weight: 700;
}

.landing-try-chips {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.landing-try-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.landing-try-chip {
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}

.landing-try-chip:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    text-decoration: none;
}

/* --- Proof Strip --- */
.landing-proof-strip {
    background: var(--color-accent);
    color: var(--color-navy);
    padding: 18px 0;
}

.landing-proof-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.landing-proof-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.landing-proof-item i {
    font-size: 15px;
}

.landing-proof-sep {
    opacity: 0.4;
}

/* --- Landing page: compact header without search --- */
.is-landing .header-middle .header-middle-inner {
    display: none !important;
}

.is-landing .header-middle .row {
    justify-content: space-between;
}

/* Search column collapses so logo + actions spread out */
.is-landing .header-middle .row > .order-sm-last {
    flex: 0 0 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

/* --- Header Search Category Dropdown --- */
.header-search-category {
    flex-shrink: 0;
    border: none;
    background: var(--color-bg-muted, #f0f2f5);
    padding: 0 26px 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text, #222);
    cursor: pointer;
    outline: none;
    border-right: 1px solid var(--color-border, #dde1e6);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 10 10'%3E%3Cpath fill='%2300a2ad' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    min-width: 110px;
    height: 42px;
    line-height: 42px;
    border-radius: 10px 0 0 10px;
}

.header-search-category:focus,
.header-search-category:hover {
    background-color: #e8eaed;
}

/* "Ask Dealia" AI feature pill in the main nav */
.nav-ask-dealia > a .lnr {
    margin-right: 3px;
}

.nav-ai-pill {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-navy);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    padding: 2px 5px;
    margin-left: 4px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    vertical-align: middle;
}

/* Live promotions strip on the groceries page */
.groceries-promo-strip {
    margin: -10px 0 30px;
}

.groceries-promo-strip-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-lg, 16px);
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.10) 0%, rgba(var(--color-accent-rgb), 0.14) 100%);
    border: 1px solid rgba(var(--color-primary-rgb), 0.18);
    color: var(--color-navy);
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.groceries-promo-strip-inner:hover {
    box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.18);
    transform: translateY(-1px);
    color: var(--color-navy);
}

.groceries-promo-strip-icon {
    font-size: 22px;
    line-height: 1;
}

.groceries-promo-strip-text {
    flex: 1;
    font-size: 15px;
}

.groceries-promo-strip-text strong {
    font-weight: 800;
}

.groceries-promo-strip-cta {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.groceries-promo-strip-cta i {
    margin-left: 4px;
    font-size: 12px;
}

@media (max-width: 575.98px) {
    .groceries-promo-strip-cta {
        display: none;
    }
}

/* Mobile header dropdown */
@media (max-width: 991.98px) {
    .header-search-category {
        min-width: 95px;
        font-size: 12px;
        padding: 0 22px 0 8px;
        height: 38px;
        line-height: 38px;
        border-radius: 8px 0 0 8px;
    }
}

/* --- Amazon-style Search Bar --- */
.landing-search-wrapper {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.landing-search-form {
    width: 100%;
}

.landing-search-group {
    display: flex;
    align-items: stretch;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-xl);
    background: #fff;
    position: relative;
}

.landing-search-select {
    flex-shrink: 0;
    border: none;
    background: var(--color-bg-muted);
    padding: 0 32px 0 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    outline: none;
    border-right: 2px solid var(--color-border);
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23666' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 135px;
    height: 52px;
    line-height: 52px;
}

.landing-search-select:focus {
    background-color: #e8eaed;
}

.landing-search-input-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
}

.landing-search-input {
    width: 100%;
    border: none;
    padding: 0 16px;
    height: 52px;
    font-size: 16px;
    color: var(--color-text);
    outline: none;
    background: transparent;
}

.landing-search-input::placeholder {
    color: var(--color-text-light);
}

.landing-search-btn {
    flex-shrink: 0;
    border: none;
    background: var(--color-primary);
    color: #fff;
    width: 52px;
    height: 52px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    transition: background var(--duration-fast) var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.landing-search-btn:hover {
    background: var(--color-primary-dark);
}

/* --- Autocomplete Dropdown --- */
.landing-autocomplete {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    max-height: 320px;
    overflow-y: auto;
}

.landing-autocomplete-item {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text);
    transition: background var(--duration-fast);
    text-align: left;
}

.landing-autocomplete-item:hover {
    background: var(--color-bg-muted);
}

.landing-autocomplete-item:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.landing-autocomplete-item:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* --- Pillar Cards --- */
.landing-pillars {
    padding: 56px 0 40px;
    background: var(--color-bg-subtle);
}

.landing-pillars-header {
    text-align: center;
    margin-bottom: 36px;
}

.landing-pillars-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.landing-pillars-heading {
    font-size: 30px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.6px;
    margin: 0;
}

.landing-pillar-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: all var(--duration) var(--ease);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.landing-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transition: height var(--duration) var(--ease);
}

.landing-pillar--groceries::before { background: var(--gradient-primary); }
.landing-pillar--promos::before { background: linear-gradient(90deg, #fd7e14, #dc3545); }
.landing-pillar--discover::before { background: linear-gradient(90deg, #6f42c1, #17a2b8); }
.landing-pillar--chat::before { background: var(--gradient-navy); }

.landing-pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-border);
    text-decoration: none;
    color: var(--color-text);
}

.landing-pillar-card:hover::before {
    height: 6px;
}

.landing-pillar-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
    gap: 12px;
}

.landing-pillar-stat {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: right;
    line-height: 1.4;
    padding-top: 8px;
}

.landing-pillar-icon-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: transform var(--duration) var(--ease-bounce);
    flex-shrink: 0;
}

.landing-pillar--groceries .landing-pillar-icon-ring {
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
}

.landing-pillar--promos .landing-pillar-icon-ring {
    background: rgba(253, 126, 20, 0.1);
    color: #fd7e14;
}

.landing-pillar--discover .landing-pillar-icon-ring {
    background: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

.landing-pillar--chat .landing-pillar-icon-ring {
    background: rgba(var(--color-navy-rgb), 0.08);
    color: var(--color-navy);
}

.landing-pillar-card:hover .landing-pillar-icon-ring {
    transform: scale(1.1);
}

.landing-pillar-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--color-navy);
}

.landing-pillar-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0 0 20px;
    flex-grow: 1;
}

.landing-pillar-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.landing-pillar-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--duration) var(--ease);
}

.landing-pillar-card:hover .landing-pillar-link {
    color: var(--color-primary-dark);
    gap: 10px;
}

.landing-pillar-badge {
    display: inline-block;
    font-size: 11px;
    color: var(--color-text-light);
    background: var(--color-bg-muted);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-weight: 500;
}

/* --- Featured Promotions Section --- */
.landing-featured-promos {
    padding: 10px 0 70px;
    background: var(--color-bg-subtle);
}

.landing-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.landing-section-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.landing-section-accent {
    color: var(--color-primary);
}

.landing-section-sub {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.landing-view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.landing-view-all:hover {
    color: var(--color-primary-dark);
    text-decoration: none;
}

/* Promo card enhancements for landing */
.landing-featured-promos .promo-card {
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.35s ease;
}

.landing-featured-promos .promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.08));
}

.landing-featured-promos .promo-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.landing-featured-promos .promo-card-img {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-bg-muted, #f0f2f5);
}

.landing-featured-promos .promo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.landing-featured-promos .promo-card:hover .promo-card-img img {
    transform: scale(1.04);
}

.landing-featured-promos .promo-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-muted, #f0f2f5), var(--color-border-light, #f0f0f0));
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-featured-promos .promo-card-img-placeholder i {
    font-size: 36px;
    color: #d0d0d0;
}

.landing-featured-promos .promo-card-body {
    padding: 14px 16px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.landing-featured-promos .promo-card-title {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 14px;
    line-height: 1.35;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.landing-featured-promos .promo-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.landing-featured-promos .promo-retailer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.landing-featured-promos .promo-retailer-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border-light, #f0f0f0);
    flex-shrink: 0;
}

.landing-featured-promos .promo-retailer-avatar-ph {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary, #00a2ad);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
}

.landing-featured-promos .promo-retailer-name {
    color: var(--color-text-muted, #666);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-featured-promos .promo-ends {
    font-size: 11px;
    color: #dc3545;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.landing-featured-promos .promo-badge {
    position: absolute;
    padding: 4px 10px;
    border-radius: var(--radius-pill, 50px);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    z-index: 2;
}

.landing-featured-promos .promo-badge-ai {
    top: 10px;
    right: 10px;
}

.landing-featured-promos .promo-badge-ai--dealia {
    background: rgba(var(--color-navy-rgb), 0.92);
    color: var(--color-accent);
}

.landing-featured-promos .promo-type-badge--corner {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* --- How It Works --- */
.landing-how {
    background: #fff;
    padding: 60px 0;
    border-top: 1px solid var(--color-border-light);
}

.landing-how-header {
    text-align: center;
    margin-bottom: 40px;
}

.landing-how-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.landing-how-heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.5px;
    margin: 0;
}

.landing-step {
    position: relative;
    padding-left: 78px;
    min-height: 58px;
}

.landing-step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
}

.landing-step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 6px 0 6px;
}

.landing-step-body {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- Responsive: Tablet --- */
@media (max-width: 991px) {
    .landing-hero {
        padding: 48px 0 36px;
    }

    .landing-hero-title {
        font-size: 38px;
        letter-spacing: -0.8px;
    }

    .landing-hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .landing-proof-strip-inner {
        font-size: 13px;
        gap: 10px 22px;
    }

    .landing-pillars {
        padding: 40px 0 24px;
    }

    .landing-pillars-heading {
        font-size: 26px;
    }

    .landing-pillar-card {
        padding: 26px 22px;
    }

    .landing-how {
        padding: 48px 0;
    }

    .landing-how-heading {
        font-size: 24px;
    }
}

/* --- Responsive: Mobile --- */
@media (max-width: 767px) {
    .landing-hero {
        padding: 36px 0 28px;
    }

    .landing-hero-eyebrow {
        font-size: 11px;
        padding: 5px 12px;
    }

    .landing-hero-title {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .landing-hero-subtitle {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .landing-try-chips {
        margin-top: 14px;
        gap: 6px;
    }

    .landing-try-chip {
        padding: 3px 10px;
        font-size: 11px;
    }

    /* Keep 3 suggestion chips on one row on mobile */
    .landing-try-chips a.landing-try-chip:nth-of-type(n+4) {
        display: none;
    }

    .landing-search-group {
        border-radius: var(--radius-lg);
    }

    .landing-search-select {
        min-width: 110px;
        font-size: 13px;
        padding: 0 26px 0 12px;
        height: 46px;
        line-height: 46px;
        border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    }

    .landing-search-input {
        padding: 0 12px;
        height: 46px;
        font-size: 15px;
    }

    .landing-search-btn {
        width: 46px;
        height: 46px;
        font-size: 16px;
        border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    }

    .landing-proof-strip {
        padding: 14px 0;
    }

    .landing-proof-strip-inner {
        font-size: 12px;
        gap: 8px 16px;
    }

    .landing-proof-sep {
        display: none;
    }

    .landing-pillars {
        padding: 32px 0 16px;
    }

    .landing-pillars-header {
        margin-bottom: 24px;
    }

    .landing-pillars-heading {
        font-size: 22px;
    }

    .landing-pillar-card {
        padding: 24px 20px;
    }

    .landing-pillar-icon-ring {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .landing-pillar-stat {
        font-size: 10px;
        padding-top: 6px;
    }

    .landing-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .landing-section-header h3 {
        font-size: 20px;
    }

    .landing-how {
        padding: 40px 0;
    }

    .landing-how-heading {
        font-size: 22px;
    }

    .landing-step {
        padding-left: 62px;
    }

    .landing-step-num {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .landing-step-title {
        font-size: 16px;
    }
}

/* =============================================
   GROCERIES PAGE — Direction A
   ============================================= */

.groceries-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f7f8 0%, #fff8e7 60%, #ffffff 100%);
    padding: 54px 0 48px;
}

.groceries-hero-emoji {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 340px;
    line-height: 1;
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
}

.groceries-hero-inner {
    position: relative;
    max-width: 720px;
    z-index: 1;
}

.groceries-hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.groceries-hero-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0 0 14px;
}

.groceries-hero-title-grad {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.groceries-hero-sub {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 560px;
}

.groceries-hero-cta,
.groceries-hero-cta:hover,
.groceries-hero-cta:focus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.35);
    text-decoration: none;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    border: none;
}

.groceries-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(var(--color-primary-rgb), 0.45);
    color: #fff;
}

/* See More — navy gradient pill */
.see-more-pill,
button.see-more.see-more-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 48px;
    background: var(--gradient-navy);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(var(--color-navy-rgb), 0.2);
    cursor: pointer;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.see-more-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--color-navy-rgb), 0.3);
    color: #fff;
}

/* Tablet */
@media (max-width: 991px) {
    .groceries-hero {
        padding: 44px 0 36px;
    }

    .groceries-hero-title {
        font-size: 34px;
        letter-spacing: -0.6px;
    }

    .groceries-hero-emoji {
        font-size: 240px;
        right: -80px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .groceries-hero {
        padding: 32px 0 28px;
    }

    .groceries-hero-title {
        font-size: 26px;
        letter-spacing: -0.4px;
    }

    .groceries-hero-sub {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .groceries-hero-cta,
    .groceries-hero-cta:hover,
    .groceries-hero-cta:focus {
        padding: 12px 24px;
        font-size: 13px;
    }

    .groceries-hero-emoji {
        font-size: 180px;
        right: -60px;
        opacity: 0.08;
    }

    .see-more-pill,
    button.see-more.see-more-pill {
        padding: 12px 32px;
        font-size: 14px;
    }
}

/* =============================================
   PRODUCT DETAIL — Direction A
   ============================================= */

.pd-breadcrumb {
    background: var(--color-bg-subtle);
    padding: 20px 0 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.pd-breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.pd-breadcrumb a:hover {
    color: var(--color-primary);
}

.pd-breadcrumb-sep {
    margin: 0 8px;
    color: var(--color-text-light);
}

.pd-breadcrumb-current {
    color: var(--color-text);
    font-weight: 600;
}

.pd-hero {
    background: var(--color-bg-subtle);
    padding: 28px 0 48px;
}

.pd-grid {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1360px;
    margin: 0 auto;
}

.pd-image-col {
    min-width: 0;
}

.pd-image-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);
}

.pd-image {
    position: relative;
    background: linear-gradient(135deg, #fff8e7 0%, #fefae0 100%);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
}

.pd-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

.pd-image-zoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.pd-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.pd-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.pd-thumb img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.pd-thumb--active {
    background: #fff8e7;
    border: 2px solid var(--color-primary);
}

.pd-thumb--empty {
    opacity: 0.6;
}

.pd-actions {
    display: flex;
    gap: 18px;
    margin-top: 14px;
    padding-left: 4px;
}

.pd-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.pd-action-link:hover {
    color: var(--color-primary);
}

.pd-info-col {
    min-width: 0;
}

.pd-brand-kicker {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pd-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.pd-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.pd-pick-badge {
    background: var(--color-accent);
    color: var(--color-navy);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
}

.pd-sale-badge {
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
}

.pd-tracked {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Headline price */
.pd-lowest {
    padding: 22px 26px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.08) 0%, rgba(var(--color-accent-rgb), 0.08) 100%);
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.pd-lowest-left {
    flex: 1;
    min-width: 260px;
}

.pd-lowest-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.pd-lowest-amount {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.pd-lowest-price {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -1px;
}

.pd-lowest-was {
    font-size: 16px;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.pd-lowest-save {
    font-size: 12px;
    color: #dc3545;
    font-weight: 700;
}

.pd-lowest-retailer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.pd-lowest-retailer-logo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border-light);
}

.pd-lowest-retailer-chip {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.pd-lowest-retailer-name {
    font-size: 13px;
    color: var(--color-text);
    font-weight: 600;
}

.pd-lowest-retailer-more {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.3px;
    margin-left: 4px;
}

.pd-lowest-cta {
    display: flex;
    gap: 10px;
}

.pd-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    background: var(--gradient-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(var(--color-navy-rgb), 0.2);
    cursor: pointer;
    border: none;
    transition: transform var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}

.pd-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(var(--color-navy-rgb), 0.3);
    color: #fff;
}

/* Stats */
.pd-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.pd-stat {
    padding: 14px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.pd-stat-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pd-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-top: 4px;
}

.pd-stat-value--accent {
    color: var(--color-primary);
}

/* Retailer table */
.pd-table-section {
    padding: 48px 0 60px;
    background: #fff;
}

.pd-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: -0.3px;
    margin: 0 0 6px;
}

.pd-section-sub {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.pd-table {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    max-width: 1200px;
}

.pd-table-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 180px;
    column-gap: 24px;
    padding: 12px 24px;
    background: var(--color-bg-subtle);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-border-light);
}

.pd-cell-right {
    text-align: right;
}

.pd-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 180px;
    column-gap: 24px;
    padding: 18px 24px;
    align-items: center;
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
    background: #fff;
    transition: background var(--duration-fast) var(--ease);
}

.pd-table-row:hover {
    background: var(--color-bg-subtle);
}

.pd-table-row:last-child {
    border-bottom: none;
}

.pd-table-row--best {
    background: rgba(var(--color-primary-rgb), 0.05);
}

.pd-table-row--best:hover {
    background: rgba(var(--color-primary-rgb), 0.08);
}

.pd-updated-cell {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.pd-table-best-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-primary);
}

.pd-retailer-cell {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.pd-retailer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border-light);
    flex-shrink: 0;
}

.pd-retailer-chip {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.pd-retailer-info {
    display: flex;
    flex-direction: column;
}

.pd-retailer-name {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 14px;
}

.pd-retailer-best-label {
    font-size: 11px;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.pd-price-cell {
    text-align: right;
}

.pd-price {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.3px;
}

.pd-price-was {
    display: block;
    font-size: 11px;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.pd-action-cell {
    text-align: right;
}

.pd-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: transparent;
    border: 1.5px solid var(--color-border);
    color: var(--color-text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}

.pd-add-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
}

.pd-add-btn--best {
    background: var(--gradient-navy);
    border: none;
    color: #fff;
}

.pd-add-btn--best:hover {
    color: #fff;
    background: var(--gradient-navy);
    box-shadow: 0 4px 12px rgba(var(--color-navy-rgb), 0.25);
}

/* Quantity control (if item is in list) */
.pd-qty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 2px 4px;
}

.pd-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--color-bg-muted);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    cursor: pointer;
}

.pd-qty-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.pd-qty-input {
    width: 36px;
    border: none;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
    outline: none;
    background: transparent;
}

.pd-qty-trash {
    color: #dc3545;
    padding: 4px 8px;
    cursor: pointer;
}

/* Tablet */
@media (max-width: 991px) {
    .pd-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pd-title {
        font-size: 26px;
    }

    .pd-lowest-price {
        font-size: 32px;
    }

    .pd-table-head,
    .pd-table-row {
        grid-template-columns: 1.6fr 1fr 100px 140px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .pd-hero {
        padding: 20px 0 32px;
    }

    .pd-title {
        font-size: 22px;
    }

    .pd-lowest {
        padding: 16px 18px;
        gap: 14px;
    }

    .pd-lowest-price {
        font-size: 28px;
    }

    .pd-stats {
        grid-template-columns: 1fr;
    }

    .pd-table-head {
        display: none;
    }

    .pd-table-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "retailer price"
            "retailer action";
        row-gap: 6px;
        padding: 14px 16px;
    }

    .pd-retailer-cell {
        grid-area: retailer;
    }

    .pd-price-cell {
        grid-area: price;
    }

    .pd-action-cell {
        grid-area: action;
        text-align: right;
    }
}

/* =============================================
   GROCERY LIST — Direction A
   ============================================= */

.gl-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 24px 0 20px;
    flex-wrap: wrap;
}

.gl-hero-text {
    flex: 1;
    min-width: 260px;
}

.gl-hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.gl-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.6px;
    margin: 0 0 6px;
    line-height: 1.15;
}

.gl-hero-sub {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 560px;
}

.gl-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--color-border);
    background: #fff;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: border-color var(--duration-fast) var(--ease), background var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
}

.gl-btn i {
    font-size: 13px;
}

.gl-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.gl-btn--primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 11px 20px;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.25);
}

.gl-btn--primary:hover {
    color: #fff;
    box-shadow: 0 6px 18px rgba(var(--color-primary-rgb), 0.35);
}

.gl-btn--outline {
    background: #fff;
}

.gl-btn--danger:hover {
    border-color: #dc3545;
    color: #dc3545;
}

@media (max-width: 767px) {
    .gl-hero {
        align-items: flex-start;
    }

    .gl-hero-title {
        font-size: 24px;
    }

    .gl-hero-actions {
        width: 100%;
    }

    .gl-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* =============================================
   CATEGORY PAGE — Direction A
   ============================================= */

.cat-title-section {
    background: var(--color-bg-subtle);
    padding: 18px 0 28px;
}

.cat-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cat-title-left {
    min-width: 260px;
}

.cat-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.6px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    line-height: 1.15;
}

.cat-title-tile {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 18px rgba(var(--color-primary-rgb), 0.25);
}

.cat-title-sub {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 10px;
}

.search-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Polish the existing shop-top-bar into a softer card */
.shop-top-bar {
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px !important;
}

.shop-top-bar .per-page p,
.shop-top-bar .product-view-mode a span {
    color: var(--color-text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.shop-top-bar .nice-select,
.shop-top-bar select {
    border-radius: var(--radius-pill) !important;
    border: 1.5px solid var(--color-border) !important;
    background: #fff;
    padding: 4px 28px 4px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--color-navy) !important;
    min-height: 38px;
}

.shop-top-bar .nice-select.open,
.shop-top-bar .nice-select:focus {
    border-color: var(--color-primary) !important;
}

.product-view-mode a {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
}

.product-view-mode a.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

@media (max-width: 767px) {
    .cat-title {
        font-size: 24px;
    }

    .cat-title-tile {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .cat-title-sub {
        font-size: 13px;
    }
}

/* =============================================
   RETAILER PORTAL — Direction A
   ============================================= */

.rp-portal {
    background: var(--color-bg-subtle);
    min-height: 60vh;
}

.rp-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding-top: 8px;
    flex-wrap: wrap;
}

.rp-hero-text {
    min-width: 260px;
    flex: 1;
}

.rp-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.rp-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.6px;
    margin: 0 0 12px;
}

.rp-hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.rp-badge--pending { background: rgba(253, 126, 20, 0.12); color: #fd7e14; }
.rp-badge--active { background: rgba(40, 167, 69, 0.12); color: #28a745; }
.rp-badge--inactive { background: rgba(220, 53, 69, 0.12); color: #dc3545; }
.rp-badge--verified { background: rgba(var(--color-primary-rgb), 0.12); color: var(--color-primary); }

.rp-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rp-logout-form {
    display: inline;
}

.rp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid var(--color-border);
    background: #fff;
    color: var(--color-text);
    cursor: pointer;
    text-decoration: none;
    transition: border-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
}

.rp-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
    text-decoration: none;
}

.rp-btn--primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 11px 20px;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.25);
}

.rp-btn--primary:hover {
    color: #fff;
    box-shadow: 0 6px 18px rgba(var(--color-primary-rgb), 0.35);
}

/* KPI cards */
.rp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.rp-kpi {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.rp-kpi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-navy);
}

.rp-kpi--pending::before { background: #fd7e14; }
.rp-kpi--active::before { background: var(--color-primary); }
.rp-kpi--rejected::before { background: #dc3545; }
.rp-kpi--expired::before { background: #999; }

.rp-kpi-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.rp-kpi-value {
    font-size: 30px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.6px;
    line-height: 1.1;
}

.rp-kpi--pending .rp-kpi-value { color: #fd7e14; }
.rp-kpi--active .rp-kpi-value { color: var(--color-primary); }
.rp-kpi--rejected .rp-kpi-value { color: #dc3545; }
.rp-kpi--expired .rp-kpi-value { color: #999; }

@media (max-width: 991px) {
    .rp-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rp-hero-title {
        font-size: 24px;
    }

    .rp-hero-actions .rp-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .rp-kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rp-kpi-value {
        font-size: 24px;
    }
}

/* =============================================
   EMPTY STATES — Direction A
   ============================================= */

/* Shared search empty state (from main/search.blade.php) */
.es-wrapper {
    max-width: 1080px;
    margin: 0 auto;
}

.es-card {
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px 44px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.es-card--compact {
    padding: 22px 26px;
    display: block;
    margin-bottom: 0;
}

.es-icon {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--color-bg-subtle);
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.es-icon-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    border: 3px solid #fff;
}

.es-body {
    flex: 1;
    min-width: 240px;
}

.es-kicker {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.es-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.4px;
    margin: 0 0 8px;
    line-height: 1.25;
}

.es-title span {
    color: var(--color-primary);
}

.es-sub {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

.es-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}

.es-cta--navy {
    background: var(--gradient-navy);
    color: #fff;
    box-shadow: 0 4px 14px rgba(var(--color-navy-rgb), 0.2);
}

.es-cta--navy:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(var(--color-navy-rgb), 0.3);
    color: #fff;
    text-decoration: none;
}

.es-two-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.es-mini-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.es-tips {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.9;
}

.es-tips li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.es-tips li i {
    color: var(--color-primary);
    margin-top: 6px;
    font-size: 10px;
}

.es-tips a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.es-dealia {
    background: var(--gradient-navy);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 26px 28px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.es-dealia:hover {
    color: #fff;
    text-decoration: none;
}

.es-dealia::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(var(--color-accent-rgb), 0.12);
    pointer-events: none;
}

.es-dealia > * {
    position: relative;
    z-index: 1;
}

.es-dealia-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.es-dealia-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.es-dealia p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0 0 16px;
}

.es-dealia-quote {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 16px;
}

.es-dealia-cta {
    padding: 11px 18px;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    color: var(--color-navy);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

/* Empty grocery list (injected by ProductController) */
.es-basket {
    max-width: 880px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 56px 48px 44px;
    text-align: center;
}

.es-basket-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.12) 0%, rgba(var(--color-accent-rgb), 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.es-basket-icon::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 3px dashed var(--color-primary);
    background: #fff;
}

.es-basket-icon i {
    position: relative;
    font-size: 44px;
    color: var(--color-primary);
    z-index: 1;
}

.es-basket-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.5px;
    margin: 0 0 12px;
}

.es-basket-sub {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 32px;
}

.es-basket-paths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.es-path {
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    text-decoration: none;
    color: inherit;
    transition: border-color var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
    display: block;
}

.es-path:hover {
    border-color: var(--color-primary);
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
}

.es-path-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 12px;
}

.es-path-icon--teal { background: var(--color-primary); }
.es-path-icon--navy { background: var(--color-navy); }
.es-path-icon--orange { background: #fd7e14; }

.es-path-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.es-path-sub {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

@media (max-width: 767px) {
    .es-card {
        padding: 28px 24px;
        gap: 16px;
    }

    .es-title,
    .es-basket-title {
        font-size: 22px;
    }

    .es-two-col {
        grid-template-columns: 1fr;
    }

    .es-basket {
        padding: 40px 28px 32px;
    }

    .es-basket-paths {
        grid-template-columns: 1fr;
    }
}

/* ─── For Retailers band (below How It Works) ─── */
.landing-retailers {
    padding: 30px 0 90px;
}
.landing-retailers-card {
    background: linear-gradient(135deg, #0b233f 0%, #12395f 55%, #0f4d57 100%);
    border-radius: 22px;
    padding: 52px 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.landing-retailers-card::after {
    content: '';
    position: absolute;
    right: -70px;
    top: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 162, 173, 0.35), transparent 70%);
    pointer-events: none;
}
.landing-retailers-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fed701;
    margin-bottom: 14px;
}
.landing-retailers-heading {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 14px;
}
.landing-retailers-copy {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 22px;
    max-width: 560px;
}
.landing-retailers-points {
    list-style: none;
    margin: 0;
    padding: 0;
}
.landing-retailers-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14.5px;
    padding: 6px 0;
}
.landing-retailers-points li .fa {
    flex: 0 0 34px;
    height: 34px;
    width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 162, 173, 0.25);
    color: #7ee4ea;
    font-size: 15px;
}
.landing-retailers-cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 34px 28px;
}
.landing-retailers-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00a2ad, #008c96);
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    padding: 15px 34px;
    border-radius: 12px;
    transition: all 0.18s ease;
}
.landing-retailers-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 162, 173, 0.45);
}
.landing-retailers-signin {
    margin-top: 16px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
}
.landing-retailers-signin a {
    color: #fed701;
    font-weight: 600;
}
.landing-retailers-signin a:hover {
    color: #ffe95c;
}
@media (max-width: 991px) {
    .landing-retailers-card {
        padding: 38px 28px;
    }
    .landing-retailers-heading {
        font-size: 24px;
    }
}

/* ============================================
   App store badges (hero + footer)
   ============================================ */
.landing-app-badges {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.app-store-badge-link {
    display: inline-flex;
    align-items: center;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.app-store-badge-link:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}
.landing-app-badges img {
    height: 48px;
    width: auto;
    display: block;
}
/* Google's badge PNG ships with built-in padding — oversize + pull in so it
   optically matches the Apple badge */
.landing-app-badges .app-store-badge-link--play img {
    height: 72px;
    margin: -12px;
}
.footer-app-badges {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-app-badges img {
    height: 40px;
    width: auto;
    display: block;
}
.footer-app-badges .app-store-badge-link--play img {
    height: 60px;
    margin: -10px;
}
