/* =============================================
   BHAGWATI PHARMACY — PharmEasy-Inspired Design
   ============================================= */

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

/* CSS Variables */
:root {
    --primary: #10847e;
    --primary-dark: #0a6b66;
    --primary-light: #e0f7f5;
    --primary-pink: #10847e;
    --primary-teal: #10847e;
    --light-pink: #e0f7f5;
    --light-green: #e0f7f5;
    --border-color: #e6ebf4;
    --dark-gray: #30363c;
    --medium-gray: #4f585e;
    --accent: #f47779;
    --accent-light: #fde8e8;
    --text-primary: #30363c;
    --text-secondary: #4f585e;
    --text-muted: #8897a2;
    --bg-white: #ffffff;
    --bg-light: #f5f8fc;
    --bg-section: #edf2f9;
    --border: #e6ebf4;
    --border-light: #d7dfe5;
    --success: #28a745;
    --warning: #ff9341;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 3px 4px rgba(33,33,33,0.06), 0 3px 3px rgba(33,33,33,0.04), 0 1px 8px rgba(33,33,33,0.08);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 100px;
    --transition: all 0.25s ease;
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1400px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.5;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
}

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

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== TOP ANNOUNCEMENT BAR ===== */
.top-bar {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: var(--bg-white);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
    text-align: center;
    letter-spacing: 0.3px;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.top-bar-icon {
    font-size: 16px;
}

.top-bar a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-main {
    padding: 14px 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 800;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.logo-text span {
    color: var(--primary);
}

.logo-subtitle {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Navigation */
.header-nav {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 1;
    min-width: 0;
}

.header-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

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

.header-nav a .nav-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

.header-nav a:hover .nav-icon {
    opacity: 1;
}

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

.header-search input {
    width: 100%;
    padding: 12px 48px 12px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-light);
    outline: none;
    transition: var(--transition);
}

.header-search input::placeholder {
    color: var(--text-muted);
}

.header-search input:focus {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.header-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.header-search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    padding: 6px;
    border-radius: var(--radius-md);
}

.header-action:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.header-action i {
    font-size: 20px;
}

.header-action .action-label {
    font-size: 12px;
    display: none;
}

@media (min-width: 1024px) {
    .header-action .action-label {
        display: block;
    }
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--text-primary);
    padding: 8px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #092635 0%, #1b4242 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 132, 126, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 119, 121, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-weight: 400;
}

/* Hero Search */
.hero-search {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius-pill);
    padding: 6px 6px 6px 24px;
    max-width: 600px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: transparent;
    padding: 10px 0;
}

.hero-search input::placeholder {
    color: var(--text-muted);
}

.hero-search-btn {
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hero Quick Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

/* ===== SECTION COMMON ===== */
.section {
    padding: 40px 0;
    border-bottom: 8px solid var(--bg-section);
}

.section:last-of-type {
    border-bottom: none;
}

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

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

.section-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

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

/* ===== FLASH SALE HEADER & TIMER ===== */
.flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.flash-sale-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.flash-sale-badge {
    background: #e91e63;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.flash-sale-timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1.5px solid #fecdd3;
    font-weight: 700;
    color: #e91e63;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.1);
    flex-shrink: 0;
}

.flash-timer-num {
    font-family: monospace;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .flash-sale-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .flash-sale-timer-badge {
        font-size: 13px;
        padding: 6px 14px;
    }

    .flash-timer-num {
        font-size: 14px;
    }
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    gap: 16px;
}

.categories-grid::-webkit-scrollbar {
    height: 8px;
}

.categories-grid::-webkit-scrollbar-thumb {
    background: rgba(16, 132, 126, 0.25);
    border-radius: 4px;
}

.categories-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.categories-grid > .category-card {
    flex: 0 0 auto;
    min-width: 140px;
    scroll-snap-align: start;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    padding: 16px 8px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.category-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.category-icon-wrapper svg {
    width: 48px;
    height: 48px;
}

.category-card:hover .category-icon-wrapper {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.category-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.category-card .category-offer {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.promo-banner:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.promo-banner-content {
    background: linear-gradient(135deg, #2258b8 0%, #3870d3 100%);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: white;
    min-height: 140px;
}

.promo-banner-left h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.promo-banner-left p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 16px;
}

.promo-banner-cta {
    background: white;
    color: #2258b8;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.promo-banner-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.promo-banner-right {
    font-size: 64px;
    opacity: 0.3;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Horizontal Scrolling for specific product grids */
.horizontal-scroll-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px; /* Space for scrollbar */
    /* Hide scrollbar by default for cleaner look, optional */
    scrollbar-width: thin;
}

.horizontal-scroll-grid::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll-grid::-webkit-scrollbar-thumb {
    background: rgba(16, 132, 126, 0.25);
    border-radius: 4px;
}

.horizontal-scroll-grid .product-card {
    flex: 0 0 calc(25% - 18px); /* 4 items per view */
    min-width: 250px;
    scroll-snap-align: start;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    padding: 0;
    background: var(--bg-light);
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px 4px 6px;
    border-radius: 0 0 var(--radius-md) 0;
}

.product-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    font-size: 14px;
    color: var(--text-muted);
}

.product-wishlist:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.product-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.product-brand {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.product-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.product-rating-badge {
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 2px;
}

.product-rating-badge i {
    font-size: 8px;
}

.product-rating-count {
    font-size: 11px;
    color: var(--text-muted);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

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

.discount {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
}

.add-to-cart-btn {
    width: 100%;
    padding: 8px 16px;
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
}

.add-to-cart-btn:hover {
    background: var(--primary);
    color: white;
}

/* ===== OFFER CARDS SECTION ===== */
.offer-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.offer-card {
    border-radius: var(--radius-lg);
    padding: 24px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.offer-card-1 {
    background: linear-gradient(135deg, #10847e, #0a6b66);
}

.offer-card-2 {
    background: linear-gradient(135deg, #ff9341, #e67d2e);
}

.offer-card-3 {
    background: linear-gradient(135deg, #2258b8, #1a4a9e);
}

.offer-card .offer-discount {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.offer-card .offer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.offer-card .offer-desc {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.offer-card .offer-cta {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    opacity: 0.9;
}

.offer-card .offer-cta:hover {
    opacity: 1;
}

.offer-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

/* ===== HEALTH TIPS SECTION ===== */
.health-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.health-tip-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.health-tip-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.health-tip-image {
    width: 100%;
    height: 160px;
    background: var(--bg-section);
    overflow: hidden;
}

.health-tip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.health-tip-card:hover .health-tip-image img {
    transform: scale(1.05);
}

.health-tip-content {
    padding: 16px;
}

.health-tip-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.health-tip-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

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

.testimonial-stars {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-author-info h5 {
    font-size: 14px;
    font-weight: 600;
}

.testimonial-author-info p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== APP DOWNLOAD BANNER ===== */
.app-banner {
    background: linear-gradient(135deg, var(--primary-light) 0%, #e3f2fd 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    position: relative;
}

.app-banner-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-banner-text p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.app-banner-stores {
    display: flex;
    gap: 12px;
}

.app-store-btn {
    background: var(--text-primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.app-store-btn i {
    font-size: 20px;
}

.app-banner-image {
    font-size: 80px;
    opacity: 0.3;
    color: var(--primary);
}

/* ===== TRUST BADGES ===== */
.trust-section {
    background: var(--bg-light);
    padding: 32px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.trust-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

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

/* ===== FOOTER ===== */
.site-footer {
    background: #1c2127;
    color: var(--bg-white);
    padding: 48px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
    color: white;
    margin-bottom: 12px;
}

.footer-brand .logo-text span {
    color: var(--primary);
}

.footer-brand-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-size: 16px;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-contact-item i {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.scroll-top-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .header-main .container {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .categories-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
        gap: 14px;
    }
    .categories-grid::-webkit-scrollbar {
        height: 5px;
    }
    .categories-grid::-webkit-scrollbar-thumb {
        background: rgba(16, 132, 126, 0.25);
        border-radius: 4px;
    }
    .category-card {
        flex: 0 0 auto;
        width: 115px;
        scroll-snap-align: start;
        padding: 12px 6px;
    }
    .category-icon-wrapper {
        width: 64px;
        height: 64px;
    }

    .header-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 4px;
        font-size: 22px;
        color: var(--text-primary);
        flex-shrink: 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .top-bar {
        font-size: 11px;
        padding: 6px 10px;
        overflow: hidden;
    }

    .top-bar .container {
        padding: 0 4px;
    }

    .header-main {
        padding: 10px 0;
    }

    .header-main .container {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 0 12px;
    }

    .logo {
        gap: 8px;
    }

    .logo img {
        height: 36px !important;
    }

    .logo-text {
        font-size: 15px !important;
    }

    .logo-subtitle {
        font-size: 8.5px !important;
    }

    .header-search {
        width: 100%;
        max-width: none;
        order: 10;
        margin-top: 12px;
    }

    .hero-section {
        padding: 32px 0;
    }

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

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-search {
        flex-direction: column;
        background: #ffffff;
        border-radius: var(--radius-xl);
        padding: 14px;
        gap: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }

    .hero-search input {
        width: 100%;
        background: #f8fafc;
        border: 1.5px solid #cbd5e1;
        border-radius: var(--radius-lg);
        padding: 12px 16px;
        font-size: 14px;
        color: var(--text-primary);
        transition: all 0.2s ease;
    }

    .hero-search input:focus {
        background: #ffffff;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(16, 132, 126, 0.15);
    }

    .hero-search-btn {
        width: 100%;
        padding: 12px;
        border-radius: var(--radius-lg);
        font-size: 15px;
        font-weight: 700;
        justify-content: center;
    }

    .hero-actions {
        gap: 12px;
    }

    .hero-action-btn {
        font-size: 12px;
        padding: 8px 14px;
    }

    .categories-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        gap: 12px;
    }
    .categories-grid::-webkit-scrollbar {
        height: 4px;
    }
    .categories-grid::-webkit-scrollbar-thumb {
        background: rgba(16, 132, 126, 0.2);
        border-radius: 4px;
    }
    .category-card {
        flex: 0 0 auto;
        width: 100px;
        scroll-snap-align: start;
    }

    .category-icon-wrapper {
        width: 64px;
        height: 64px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .offer-cards-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .health-tips-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .app-banner {
        flex-direction: column;
        padding: 24px;
        text-align: center;
    }

    .app-banner-stores {
        justify-content: center;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .section {
        padding: 28px 0;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .app-banner-stores {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== PRODUCT DETAIL PAGE STYLES ===== */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--primary);
}
.product-details-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.product-gallery-section {
    position: relative;
}
.product-gallery-main {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-light);
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery-thumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.product-thumb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.product-thumb-dot.active {
    background: var(--text-primary);
    width: 24px;
    border-radius: 10px;
}
.product-info-brand {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.product-info-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}
.product-info-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.product-price-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.product-price-sale {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}
.product-price-original {
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-subscribe-note {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 24px;
}
.product-key-benefits {
    margin-bottom: 28px;
}
.product-key-benefits h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-key-benefits ul {
    padding-left: 18px;
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
    list-style: disc;
}
.product-key-benefits li {
    margin-bottom: 6px;
}
.product-option-group {
    margin-bottom: 20px;
}
.product-option-group h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
.product-size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-size-option {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}
.product-size-option:hover {
    border-color: var(--primary);
}
.product-size-option.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.product-purchase-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.purchase-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.purchase-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}
.purchase-option-label {
    font-size: 14px;
}
.purchase-option-label span {
    color: var(--primary);
    font-weight: 600;
}
.product-quantity-actions {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-top: 28px;
}
.product-quantity-selector {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.product-quantity-selector button {
    width: 40px;
    height: 44px;
    border: none;
    background: white;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.product-quantity-selector button:hover {
    background: var(--bg-light);
}
.product-quantity-selector input {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}
.product-add-to-cart-btn {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.product-add-to-cart-btn:hover {
    background: var(--primary-dark);
}
.product-wishlist-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}
.product-wishlist-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.product-tabs-section {
    margin-top: 32px;
}
.product-tabs {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--border);
    padding: 0 16px;
}
.product-tab {
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.product-tab:hover {
    color: var(--text-primary);
}
.product-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.product-tab-content {
    padding: 32px 0;
}
.product-description-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}
.product-description-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}
.product-description-images img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
    object-fit: cover;
}

/* Mobile Product Detail */
@media (max-width: 768px) {
    .product-details-card {
        padding: 24px;
    }
    .product-info-title {
        font-size: 22px;
    }
}

/* ===== LOADING SKELETON ===== */
.skeleton {
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== SEO & BREADCRUMB STYLES ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 16px 0;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb-separator {
    color: #cbd5e1;
    font-size: 11px;
}
.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

/* Local SEO Badges & Callouts */
.seo-local-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f7f5;
    color: #10847e;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.seo-content-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 32px 0;
}
.seo-content-block h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.seo-content-block p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ===== FLOATING ACTION BAR FOR LOCAL CONVERSIONS ===== */
.mobile-only {
    display: none;
}
.floating-action-bar {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}
.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    overflow: hidden;
}
.floating-btn:hover {
    transform: scale(1.1);
}
.btn-whatsapp {
    background: #25d366;
}
.btn-phone {
    background: var(--primary);
}
.btn-directions {
    background: #ea4335;
}

/* Mobile Sticky Bottom CTA Bar */
@media (max-width: 768px) {
    .mobile-only {
        display: inline-block;
    }
    .floating-action-bar {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: row;
        gap: 0;
        background: white;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
        padding: 8px 12px;
        justify-content: space-around;
        border-top: 1px solid #e2e8f0;
        border-radius: 0;
    }
    .floating-btn {
        width: auto;
        height: auto;
        border-radius: 8px;
        padding: 10px 16px;
        flex: 1;
        margin: 0 4px;
        font-size: 13px;
        font-weight: 700;
        gap: 6px;
        box-shadow: none;
        overflow: visible;
    }
}