@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #004D2C; /* Dark Forest Green */
    --primary-hover: #003B21;
    --background-cream: #F9F8F3; /* Soft Cream */
    --sale-red: #BD0000;
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --border-light: #E5E5E5;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 1px solid var(--border-light);
    background: transparent;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

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

/* =========================================
   TOP ANNOUNCEMENT BAR
   ========================================= */
.announcement-bar {
    background: linear-gradient(90deg, #FDE6C8 0%, #FFD099 100%);
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #4A2B00;
    position: relative;
    z-index: 100;
}

.announcement-bar strong {
    font-weight: 700;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header-wrapper {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1000; /* Always on top */
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 40px;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 700px;
    position: relative;
}

.search-bar {
    width: 100%;
    background-color: #F3F3F3;
    border: 1px solid transparent;
    border-radius: 100px;
    padding: 14px 24px;
    padding-right: 50px;
    font-size: 14px;
    transition: var(--transition);
}

.search-bar:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--text-dark);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-dark);
    pointer-events: none;
}

/* Header Utilities */
.header-utils {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* =========================================
   SEARCH OVERLAY
   ========================================= */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 890;
    padding: 30px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border-top: 1px solid var(--border-light);
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-dropdown-left {
    flex: 3;
}

.search-dropdown-right {
    flex: 1;
    border-left: 1px solid var(--border-light);
    padding-left: 30px;
}

.search-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.search-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.search-product-card {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px;
    background: white;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.search-product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.trending-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.trending-links a:hover {
    color: var(--primary-color);
}

.close-search-btn {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
}

.search-container.active .close-search-btn {
    display: block;
}

.search-container {
    transition: var(--transition);
}

.search-container.active {
    margin-right: 30px;
}

.util-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
}

.util-btn i {
    font-size: 22px;
}

.util-btn:hover {
    color: var(--primary-color);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--sale-red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Navigation Overlay for Mega Menus */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 700; /* Lower than header */
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 12px 0;
    position: relative;
    z-index: 910; /* Higher than overlay and header background */
}

.nav-item {
    position: static; /* Essential for full-width mega menus */
}

.nav-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    cursor: pointer;
    position: relative;
}

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

.nav-link i {
    font-size: 18px;
    transition: transform 0.3s;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Mega Menu General */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1360px; /* Specific width from screenshot logic */
    max-width: 95vw;
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    /* Seamless transition */
    transition: opacity 0.3s ease;
    z-index: 900;
    padding: 30px 0 50px;
    border-radius: 0 0 24px 24px;
    border-top: none;
}

/* Hover Bridge: Prevents closing when cursor is in the small gap between header and menu */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

/* Shop All Mega Menu */
.mega-shop-all {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mega-banner {
    flex: 0 0 190px;
    background: #004D2C;
    border-radius: 12px;
    padding: 20px 15px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.mega-banner h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.mega-banner img {
    width: 100%;
    margin-bottom: 20px;
}

.mega-banner .btn-white {
    background: white;
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.mega-columns {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mega-column h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.mega-column ul {
    list-style: none;
}

.mega-column ul li {
    margin-bottom: 8px;
}

.mega-column ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    transition: var(--transition);
}

.mega-column ul li a:hover {
    color: var(--primary-color);
}

/* Dropdown (Superfoods, More) */
.simple-dropdown {
    position: absolute;
    top: 100%;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: var(--transition);
    padding: 15px 0;
    z-index: 850;
    border-radius: 0 0 12px 12px;
}

.nav-item:hover .simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.simple-dropdown a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.simple-dropdown a:hover {
    background: #f9f9f9;
    color: var(--primary-color);
}

/* Shop by Concern Mega Menu */
.mega-concern {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

.concern-sidebar-nav {
    flex: 0 0 220px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.concern-sidebar-nav .btn-concern-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    background: white;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: #1a1a1a;
}

.concern-grid-menu {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.concern-item-menu {
    text-align: center;
    cursor: pointer;
}

.concern-item-menu img {
    width: 100%;
    aspect-ratio: 1.2;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.concern-item-menu span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

/* =========================================
   HERO CAROUSEL
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 550px;
    background-color: var(--background-cream);
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 10;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Custom Hero Pagination & Navigation */
.hero-section .swiper-pagination {
    bottom: 20px !important;
}

.hero-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #000;
    opacity: 0.4;
    transition: var(--transition);
    border-radius: 50%;
}

.hero-section .swiper-pagination-bullet-active {
    width: 35px;
    background: #000;
    opacity: 1;
    border-radius: 100px;
}

.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
    top: auto;
    bottom: 10px;
    width: 32px;
    height: 32px;
    margin: 0;
    color: #000;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.hero-section .swiper-button-prev {
    left: calc(50% - 90px);
}

.hero-section .swiper-button-next {
    right: calc(50% - 90px);
}

.hero-section .swiper-button-next::after,
.hero-section .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 800;
}

.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover {
    border-color: #007BFF;
}

/* =========================================
   PRODUCT CARDS
   ========================================= */
.section-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin: 60px 0 30px;
}

.product-slider-container {
    padding: 20px 0;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--text-dark);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-img-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: var(--background-cream);
    overflow: hidden;
    width: 100%;
    display: block;
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Edge-to-edge fill */
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08); /* Sophisticated hover zoom */
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.rating i.bxs-star {
    color: #FFB800;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex: 1;
}

.price-block {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--sale-red);
}

.original-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.btn-card {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.btn-card:hover {
    background-color: var(--primary-hover);
}

/* =========================================
   CART DRAWER SIDEBAR (REFINED)
   ========================================= */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: #F8F9FA;
    z-index: 9999;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active { right: 0; }
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-header {
    background: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.cart-header h3 { font-size: 18px; font-weight: 800; }

.cart-body-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Progress Tracking */
.gift-progress-section {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.gift-text { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: #333; }

.progress-track-wrap {
    height: 6px;
    background: #eee;
    border-radius: 10px;
    position: relative;
    margin: 30px 0 15px;
}

.progress-fill-bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    background: #26C6B2;
    border-radius: 10px;
}

.progress-milestone {
    position: absolute;
    top: -6px;
    transform: translateX(-50%);
    text-align: center;
}

.ms-icon {
    width: 22px;
    height: 22px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.progress-milestone.active .ms-icon {
    border-color: #26C6B2;
    background: #26C6B2;
    color: white;
}

.ms-label {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    color: #888;
    line-height: 1.2;
}

/* Cart Items */
.cart-item-list { padding: 15px; }

.cart-item-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    position: relative;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details { flex: 1; }

.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-title { font-size: 14px; font-weight: 700; color: #000; margin-right: 10px; }
.cart-item-price { font-size: 14px; font-weight: 800; color: #000; }

.cart-item-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.qty-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px 10px;
    background: #fff;
}

.qty-pill button { background: none; border: none; font-size: 18px; cursor: pointer; color: #666; }
.qty-pill span { font-size: 14px; font-weight: 700; }

/* Sticky Footer */
.cart-sticky-footer {
    background: white;
    padding: 20px 24px;
    border-top: 1px solid #eee;
    z-index: 10;
}

.savings-bar {
    background: #EEFEF4;
    color: #2E7D32;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.total-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkout-btn-black {
    width: 100%;
    background: #000;
    color: white;
    padding: 18px 24px;
    border-radius: 14px;
    border: none;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.checkout-btn-black:hover { background: #222; }

/* Coupon & Extra Features */
.upsell-checkbox-row {
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
}

.coupon-applied-status {
    margin: 15px 20px;
    padding: 15px;
    border: 1px dashed #26C6B2;
    border-radius: 10px;
    background: #fff;
}

.coupon-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.benefit-tag {
    background: #C8E6C9;
    color: #2E7D32;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
}

/* =========================================
   KWIKPASS LOGIN MODAL
   ========================================= */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-modal {
    background: var(--white);
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.login-modal-overlay.active .login-modal {
    transform: translateY(0);
}

.k-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f0f0f0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.k-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.k-logo img {
    height: 48px;
}

.k-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.k-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.k-input-group {
    position: relative;
    margin-bottom: 20px;
}

.k-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 14px 16px;
    background: var(--white);
    transition: border-color 0.3s;
}

.k-input-wrapper:focus-within {
    border-color: var(--primary-color);
}

.k-prefix {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid var(--border-light);
}

.k-input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
}

.k-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

.k-btn:hover {
    background-color: var(--primary-hover);
}

/* =========================================
   FOOTER (Global)
   ========================================= */
.global-footer-block {
    margin-top: 80px;
}

/* 1. Value Props */
.value-props {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.prop-card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.prop-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateY(-4px);
}

.prop-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.prop-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* 2. App Promo */
.app-promo-banner {
    background: var(--background-cream);
    border-radius: 20px;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    margin-bottom: 60px;
}

.app-promo-content {
    flex: 1;
}

.app-promo-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.app-promo-content h2 span {
    color: var(--primary-color);
}

.app-promo-content p {
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 500;
}

.app-store-btns {
    display: flex;
    gap: 16px;
}

.app-store-btns img {
    height: 44px;
    cursor: pointer;
}

.app-img-wrap {
    width: 350px;
    transform: translateY(20px);
}

.app-img-wrap img {
    width: 100%;
    display: block;
}

/* 3. Deep Green Footer Base */
.footer-base {
    background-color: #1A3C34; /* Deep Forest Base */
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.contact-links li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.contact-links i {
    font-size: 18px;
    margin-top: 2px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: #1A3C34;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* =========================================
   CUSTOM NOTIFICATION PROMPT (Screenshot Replicated)
   ========================================= */
.push-notification-prompt {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-105%);
    background: white; /* Changed to White */
    color: #004D2C; /* Dark Green Text */
    width: 600px;
    padding: 18px 24px;
    border-radius: 0 0 12px 12px;
    border: 2px solid #004D2C; /* Dark Green Border */
    border-top: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); /* Lighter shadow */
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.push-notification-prompt.active {
    transform: translateX(-50%) translateY(0);
}

.push-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.push-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.push-text {
    flex: 1;
}

.push-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.push-text p {
    font-size: 11px;
    color: #555; /* Darker gray for readability on white */
    line-height: 1.4;
}

.push-btns {
    display: flex;
    gap: 12px;
}

.p-btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: capitalize;
    transition: var(--transition);
}

.p-btn-deny {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.p-btn-allow {
    background: #26C6B2; /* Teal color from screenshot */
    color: white;
}

/* =========================================
   KWIKPASS LOGIN MODAL (Screenshot Replicated)
   ========================================= */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(8px);
    transition: 0.4s;
}

.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-wrap {
    background: white;
    width: 90%;
    max-width: 820px;
    border-radius: 20px;
    position: relative;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.modal-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.modal-logos img:first-child { height: 60px; }
.modal-logos img:last-child { height: 25px; }

.modal-left h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.benefits-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.benefit-pill {
    background: #F1F1F1;
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
    border: 1px solid #EAEAEA;
}

.benefit-pill i {
    font-size: 24px;
    color: #FFC107;
    margin-bottom: 8px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.benefit-pill h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.benefit-pill p {
    font-size: 10px;
    color: #666;
    line-height: 1.3;
}

.modal-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-right h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 24px;
    color: #004D2C;
}

.phone-input-wrap {
    display: flex;
    border: 1px solid #DEDEDE;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.country-code {
    padding: 12px 15px;
    background: white;
    border-right: 1px solid #DEDEDE;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 500;
}

.notify-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
    margin-bottom: 25px;
    cursor: pointer;
}

.submit-btn {
    background: #004D2C;
    color: white;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 50px;
}

.modal-footer-text {
    font-size: 10px;
    color: #999;
    text-align: center;
    line-height: 1.5;
}

.modal-footer-text a {
    text-decoration: underline;
    color: #888;
}

.modal-x {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
}

/* =========================================
   NEW SECTIONS (Circular, Stories, etc)
   ========================================= */
.circular-concerns {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 0 20px;
    overflow-x: auto;
}

.circular-item {
    text-align: center;
    cursor: pointer;
}

.circular-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #F9F8F3;
    margin: 0 auto 12px;
    padding: 2px;
    border: 3px solid transparent;
    transition: var(--transition);
}

.circular-item:hover .circular-img {
    border-color: var(--primary-color);
}

.circular-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.circular-item span {
    font-size: 15px;
    font-weight: 600;
}

/* Stories */
.stories-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.stories-grid::-webkit-scrollbar {
    display: none;
}

.story-card {
    min-width: 250px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.story-img-wrap {
    height: 320px;
    position: relative;
}

.story-img-wrap img.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.story-card:hover img.main-img {
    transform: scale(1.05);
}

.story-circle-icon {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 5;
}

.story-circle-icon img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 40px 15px 20px;
    text-align: center;
}

.story-content h4 {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 700;
}

.story-content p {
    font-size: 12px;
    color: var(--text-muted);
}

.story-rating {
    font-size: 12px;
    color: #FFB800;
    margin: 8px 0 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}

.story-rating span { 
    color: var(--text-muted); 
    font-weight: 400;
}

.story-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--sale-red);
}

.story-old-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.btn-view-all {
    background: #1A1A1A;
    color: white;
    padding: 12px 35px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-view-all:hover {
    background: var(--primary-color);
}

/* Square Concern Grid - New Style from Screenshot */
.concern-grid-new-container {
    background: var(--background-cream);
    padding: 60px 0;
}

.concern-grid-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 30px;
    scrollbar-width: none;
}

.concern-grid-wrapper::-webkit-scrollbar {
    display: none;
}

.concern-card-new {
    min-width: 180px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
}

.concern-card-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.concern-card-new:hover img {
    transform: scale(1.05);
}

.concern-gradient {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(160,80,0,0.85), transparent);
    z-index: 1;
}

.concern-text-new {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 2;
    color: white;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;
    max-width: 80%;
}

.concern-arrow {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 2;
    background: #c47400;
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.4);
}

/* Stores Block - New Style */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.store-card {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.store-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.store-info {
    padding: 25px;
}

.store-loc-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.store-loc-icon {
    color: #00C896;
    font-size: 20px;
    margin-top: 2px;
}

.store-loc-text h4 {
    font-size: 14px;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.store-loc-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.btn-view-all-dark {
    background: #000;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-view-all-dark:hover {
    background: var(--primary-color);
}
/* =========================================
   CHECKOUT MODAL (HIGH-FIDELITY)
   ========================================= */
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10005;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.checkout-overlay.active {
    display: flex;
}

.checkout-window {
    background: #F4F7F8;
    width: 450px;
    max-height: 90vh;
    border-radius: 16px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.checkout-header {
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.checkout-summary-mini {
    text-align: right;
}

.checkout-section {
    padding: 20px;
}

.checkout-section-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.address-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    position: relative;
    border: 1px solid #eee;
}

.btn-change-addr {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.payment-row {
    background: white;
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: 1px solid #eee;
}

.payment-left {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 14px;
}

.payment-left i {
    font-size: 20px;
    color: #555;
}

.upi-expand {
    background: white;
    padding: 0 20px 20px;
    margin-top: -15px;
    margin-bottom: 10px;
    border-radius: 0 0 12px 12px;
    border: 1px solid #eee;
    border-top: none;
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: #f0f0f0;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 10px;
    color: #999;
}

.payment-apps-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.payment-apps-row img {
    height: 14px;
}

.checkout-x {
    cursor: pointer;
    font-size: 20px;
    color: #555;
}

@media (max-width: 768px) {
  .search-products-grid, .footer-grid, .stores-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .header-main, .main-nav, .search-container {
    flex-direction: column !important;
  }
  .main-nav {
    display: none !important;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
