/* ==========================================================================
   IBERICOCENTER VITAL - MODERN & COMPLIANT E-COMMERCE STYLESHEET
   ========================================================================== */

:root {
    --primary: #059669;
    --primary-hover: #047857;
    --primary-dark: #064e3b;
    --primary-light: #ecfdf5;
    --primary-border: #a7f3d0;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-soft: #f1f5f9;
    
    --border-color: #e2e8f0;
    --border-focus: #10b981;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   TOPBAR & HEADER
   ========================================================================== */
.topbar {
    background: linear-gradient(90deg, #064e3b 0%, #065f46 100%);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 0;
    font-weight: 500;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-promo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.15);
    padding: 2px;
    border-radius: var(--radius-sm);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active, .lang-btn:hover {
    background: #ffffff;
    color: var(--primary-dark);
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.brand-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-toggle-btn {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid var(--primary-border);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.cart-toggle-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.cart-badge-count {
    background: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ==========================================================================
   BUTTONS & UI ELEMENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid var(--primary-border);
}

.btn-secondary:hover {
    background: #d1fae5;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

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

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 16px 28px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(209, 250, 229, 0.6) 0%, rgba(248, 250, 252, 1) 70%);
    padding: 70px 0 60px;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--primary-border);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-feature-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.hero-feature-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-card-preview {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.hero-guarantee-floating {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   TRUST BADGES BAR
   ========================================================================== */
.trust-bar-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
}

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

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

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

.trust-badge-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.trust-badge-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PRODUCTS CATALOG & FILTERS
   ========================================================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-badge {
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.category-filters-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.category-filter-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.category-filter-btn:hover, .category-filter-btn.active {
    background: var(--primary-dark);
    color: #ffffff;
    border-color: var(--primary-dark);
    box-shadow: 0 4px 10px rgba(6, 78, 59, 0.2);
}

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

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

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

.product-card-badge-wrap {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.product-badge {
    background: var(--primary-dark);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

.product-rating {
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #d97706;
    border: 1px solid var(--border-color);
}

.product-card-image-link {
    display: block;
    background: #f8fafc;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.product-image-container {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-serving-tag {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--text-main);
}

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

.product-short-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.current-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.cod-tag {
    font-size: 0.72rem;
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.product-card-actions {
    display: flex;
    gap: 10px;
}

.product-card-actions .btn-quick-buy {
    flex-grow: 1;
    padding: 10px 14px;
    font-size: 0.88rem;
}

.product-card-actions .btn-add-cart {
    padding: 10px 14px;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP)
   ========================================================================== */
.pdp-section {
    padding: 50px 0 80px;
}

.breadcrumb {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

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

.breadcrumb .active {
    color: var(--text-main);
    font-weight: 600;
}

.pdp-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.pdp-gallery {
    position: sticky;
    top: 100px;
}

.pdp-main-image-wrap {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
}

.pdp-main-image-wrap img {
    max-height: 380px;
    margin: 0 auto;
    object-fit: contain;
}

.pdp-zoom-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pdp-trust-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.pdp-trust-pill {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 12px 8px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pdp-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pdp-rating-row .stars {
    color: #d97706;
    letter-spacing: 2px;
}

.stock-badge {
    color: #059669;
    font-weight: 700;
    font-size: 0.85rem;
}

.pdp-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 12px;
}

.pdp-serving-banner {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.pdp-price-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.pdp-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.pdp-current-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.pdp-original-price {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.pdp-tax-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pdp-cod-highlight {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fefce8;
    border: 1px solid #fef08a;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    color: #854d0e;
}

.pdp-short-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.pdp-actions-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.pdp-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
}

.qty-stepper .btn-qty {
    background: #f8fafc;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.qty-stepper .btn-qty:hover {
    background: #e2e8f0;
}

.qty-stepper input, .qty-stepper .qty-val {
    width: 45px;
    text-align: center;
    border: none;
    font-weight: 700;
}

.pdp-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.pdp-guarantee-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Tabs */
.pdp-tabs-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pdp-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: #f8fafc;
    overflow-x: auto;
}

.pdp-tab-btn {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.pdp-tab-btn.active {
    color: var(--primary);
    background: #ffffff;
    border-bottom-color: var(--primary);
}

.pdp-tab-content {
    display: none;
    padding: 24px;
}

.pdp-tab-content.active {
    display: block;
}

.pdp-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdp-benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.ingredients-box, .usage-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.usage-note {
    background: #f0fdf4;
    border-left: 4px solid var(--primary);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-top: 10px;
}

/* ==========================================================================
   CART DRAWER & OVERLAYS
   ========================================================================== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: #ffffff;
    z-index: 200;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.cart-shipping-banner {
    background: #f8fafc;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.82rem;
}

.progress-bar-bg {
    height: 6px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.4s ease;
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty-state {
    text-align: center;
    padding: 50px 20px;
}

.cart-empty-state .icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img-wrapper {
    width: 75px;
    height: 75px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-img-wrapper img {
    max-height: 65px;
    object-fit: contain;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2px;
}

.cart-item-serving {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.cart-item-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.cart-item-price {
    font-weight: 800;
    color: var(--primary-dark);
}

.cart-item-unit-price {
    font-size: 0.75rem;
    color: var(--text-light);
}

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

.btn-remove-item {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 4px;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.cart-summary-row.total-row {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 16px;
}

/* ==========================================================================
   CHECKOUT MODAL
   ========================================================================== */
.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 95%;
    max-width: 650px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: var(--radius-xl);
    z-index: 210;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.checkout-modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.checkout-modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10;
}

.checkout-modal-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
}

.checkout-modal-body {
    padding: 24px;
}

.checkout-order-summary-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.checkout-item-summary {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 6px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--text-main);
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.checkout-cod-badge-box {
    background: #f0fdf4;
    border: 1px solid var(--primary-border);
    padding: 14px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.checkout-terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   THANK YOU PAGE (thx.html)
   ========================================================================== */
.thx-page-section {
    padding: 60px 0 100px;
}

.thx-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.thx-success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
    border: 3px solid var(--primary-border);
}

.thx-order-ref-badge {
    display: inline-block;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.thx-steps-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: left;
    margin: 30px 0;
}

.thx-steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.thx-steps-list li {
    display: flex;
    gap: 14px;
    font-size: 0.92rem;
}

.thx-step-num {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.thx-receipt-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    text-align: left;
}

.thx-receipt-table th, .thx-receipt-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* ==========================================================================
   STATIC PAGES (ABOUT, CONTACT, LEGAL)
   ========================================================================== */
.static-page-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0;
    text-align: center;
}

.static-content-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 900px;
    margin: -30px auto 60px;
    box-shadow: var(--shadow-md);
}

.static-content-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 28px 0 12px;
    color: var(--primary-dark);
}

.static-content-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.static-content-card ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 18px;
    font-size: 0.92rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   TOAST NOTIFICATION & COOKIES
   ========================================================================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffffff;
    border: 1px solid var(--primary-border);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    max-width: 380px;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.toast-title {
    font-weight: 700;
    font-size: 0.9rem;
}

.toast-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 850px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-xl);
    z-index: 250;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-banner.show {
    display: flex;
}

.cookie-text {
    font-size: 0.85rem;
    color: #cbd5e1;
}

/* ==========================================================================
   FOOTER & COMPLIANCE DISCLAIMER
   ========================================================================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 70px 0 30px;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

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

.footer-brand h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer-disclaimer-box {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 30px;
}

.footer-disclaimer-title {
    color: #f1f5f9;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.footer-disclaimer-text {
    font-size: 0.78rem;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pdp-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-features-list {
        grid-template-columns: 1fr;
    }
    .trust-badges-grid {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cookie-consent-banner {
        flex-direction: column;
        text-align: center;
    }
}
