
/* Global Overflow and Word Wrapping Fixes */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
h1, h2, h3, h4, h5, h6, p, a, span {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Custom Properties - Chirs.am Brand Colors */
:root {
    --primary: #FF8C00; /* Rich vibrant orange for Apricot vibe */
    --primary-dark: #E07B00;
    --primary-light: #FFF0E0;
    --secondary: #3E2723; /* Dark warm brown for earthy vibe */
    --text: #2D3748;
    --text-light: #718096;
    --bg-light: #FAFAF9; /* Warm off-white */
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Offset for desktop sticky header */
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px; /* Offset for mobile sticky header */
    }
}

body {
    font-family: 'Noto Sans Armenian', 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 24px;
}

.scrolled .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1px;
    transition: var(--transition);
}

.scrolled .logo {
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
    z-index: 100;
}

.scrolled .hamburger {
    color: var(--secondary);
}

.hamburger.active i::before {
    content: "\f00d"; /* times icon */
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.scrolled .nav a {
    color: var(--text);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: var(--primary);
}

.nav-btn-mobile {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30,15,5,0.85) 0%, rgba(30,15,5,0.4) 100%);
}

.hero-content {
    color: var(--white);
    max-width: 700px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Section Common */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 30px auto 0;
}

/* About Us Section */
.about-section {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image-side {
    flex: 1;
    position: relative;
    padding-left: 20px; /* space for offset border */
}

.about-image-wrapper {
    position: relative;
    z-index: 2;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--primary);
    border-radius: 24px;
    z-index: -1;
    transition: var(--transition);
}

.about-image-side:hover .about-image-wrapper::before {
    transform: translate(5px, -5px);
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.about-badge-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 140, 0, 0.2);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 3;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.badge-txt {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.about-content-side {
    flex: 1.2;
}

.about-sub {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.about-heading {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

.about-p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}

.about-feat-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    cursor: default;
}

.feat-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}

.about-feat-item:hover .feat-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.feat-txt h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 4px;
    font-weight: 700;
}

.feat-txt p {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        gap: 50px;
    }
    
    .about-image-side {
        width: 100%;
        max-width: 550px;
        padding-left: 20px;
    }
    
    .about-content-side {
        width: 100%;
    }
    
    .about-heading {
        font-size: 2.3rem;
    }
}

@media (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-badge-card {
        padding: 12px 18px;
        bottom: 20px;
        right: 20px;
    }
    
    .badge-num {
        font-size: 1.8rem;
    }
}

/* Benefits */
.benefits {
    padding: 120px 0 60px;
    background-color: var(--bg-light);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.benefit-card {
    text-align: center;
    padding: 50px 30px;
    background-color: var(--white);
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.benefit-card .icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.benefit-card:hover .icon {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.benefit-card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.benefit-card p {
    color: var(--text-light);
}

/* Products */
.products {
    padding: 60px 0 120px;
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-img::after {
    opacity: 1;
}

.product-info {
    padding: 30px;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.product-info .desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}

.btn-cart {
    width: 100%;
    background-color: var(--bg-light);
    color: var(--secondary);
    border: 2px solid transparent;
}

.btn-cart:hover,
.btn-cart:active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 15px rgba(255, 140, 0, 0.2);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #20130f 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 800px;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #1a0f0c;
    color: var(--white);
    padding: 80px 0 24px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    flex: 1;
    min-width: 280px;
}

.footer-col .logo {
    display: inline-block;
    margin-bottom: 24px;
}

.footer-col p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
}

.socials {
    display: flex;
    gap: 16px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.socials a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
}

.contact-info li i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 4px;
}

.contact-info li a {
    color: inherit;
    transition: var(--transition);
    text-decoration: none;
}

.contact-info li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* Header Right Buttons & Cart Icon */
.header-right-btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.scrolled .cart-icon-btn {
    background-color: var(--primary-light);
    border-color: transparent;
    color: var(--primary);
}

.cart-icon-btn:hover {
    transform: scale(1.08);
    background-color: var(--white);
    color: var(--secondary);
}

.scrolled .cart-icon-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #E53E3E; /* Bright red */
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.cart-icon-btn.bounce {
    animation: bounce 0.3s ease;
}

/* Controls Panel (Search & Filter) */
.controls-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    font-family: 'Noto Sans Armenian', sans-serif;
    font-size: 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 50px;
    background-color: #F8FAFC;
    color: var(--text);
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background-color: #F1F5F9;
    border: 1px solid transparent;
    color: var(--text-light);
    font-family: 'Noto Sans Armenian', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background-color: #E2E8F0;
    color: var(--secondary);
}

.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
}

.no-products-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-products-state i {
    font-size: 3rem;
    color: #CBD5E1;
    margin-bottom: 16px;
}

.no-products-state p {
    font-size: 1.1rem;
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h2 {
    font-size: 1.5rem;
    font-family: 'Noto Sans Armenian', sans-serif;
    color: var(--secondary);
}

.btn-close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-cart:hover {
    color: var(--primary);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-light);
}

.cart-empty-state i {
    font-size: 4rem;
    color: #E2E8F0;
    margin-bottom: 16px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 1rem;
    font-family: 'Noto Sans Armenian', sans-serif;
    color: var(--secondary);
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-item-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #CBD5E1;
    border-radius: 50px;
    width: fit-content;
    overflow: hidden;
}

.cart-item-qty-control button {
    border: none;
    background-color: #F8FAFC;
    padding: 4px 12px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.cart-item-qty-control button:hover {
    background-color: #E2E8F0;
}

.cart-item-qty-control span {
    padding: 0 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
}

.btn-remove-item {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    transition: var(--transition);
}

.btn-remove-item:hover {
    color: #EF4444;
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid #E2E8F0;
    background-color: #F8FAFC;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
}

.cart-total span:last-child {
    color: var(--primary);
}

.btn-checkout {
    width: 100%;
}

.btn-checkout:disabled {
    background-color: #CBD5E1;
    color: #94A3B8;
    cursor: not-allowed;
    box-shadow: none;
}

/* Checkout Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    background-color: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 2001;
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-family: 'Noto Sans Armenian', sans-serif;
    color: var(--secondary);
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-modal:hover {
    color: var(--primary);
}

.checkout-form {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
    font-family: 'Noto Sans Armenian', sans-serif;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Noto Sans Armenian', sans-serif;
    font-size: 0.95rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.modal-footer {
    padding-top: 10px;
}

.btn-submit-order {
    width: 100%;
    background-color: #25D366; /* WhatsApp Green */
    color: var(--white);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.btn-submit-order:hover {
    background-color: #128C7E;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3.5rem; }
    /* Apply tighter section paddings on tablets and smaller screens to reduce empty gaps */
    .benefits,
    .products,
    .process,
    .quiz-section,
    .reviews-section,
    .faq-section {
        padding: 50px 0 !important;
    }
}

@media (max-width: 768px) {
    .header { padding: 16px 0; }
    .header-content {
        flex-wrap: wrap;
    }
    .logo {
        order: 1;
    }
    .header-right-btns {
        order: 2;
        margin-left: auto;
        margin-right: 12px;
        display: flex;
        align-items: center;
        gap: 6px; /* Closer to cart icon */
    }
    .header-right-btns .lang-dropdown-trigger {
        width: 38px; /* Fixed width prevents any shifting */
        justify-content: center;
        padding: 6px 0;
        background: transparent !important;
        border: none;
    }
    
    .hamburger {
        order: 3;
        display: block;
    }
    
    .nav-btn {
        display: none;
    }

    .nav {
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background-color: var(--white);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        gap: 20px;
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        margin-top: 15px;
        opacity: 0;
    }
    
    .nav.active {
        padding: 30px 20px;
        max-height: 500px;
        opacity: 1;
    }
    
    .nav a {
        color: var(--secondary);
        font-size: 1.1rem;
    }
    
    .nav-btn-mobile {
        display: inline-flex;
        width: 100%;
        margin-top: 10px;
    }
    .hero-content h1 { font-size: 2.1rem !important; word-break: break-word; overflow-wrap: break-word; }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn { width: 100%; }
    .section-title h2 { font-size: 1.8rem !important; word-break: break-word; overflow-wrap: break-word; }
    
    /* New Responsive styles */
    .header-right-btns {
        gap: 12px;
    }
    .header-right-btns .nav-btn {
        display: none;
    }
    .controls-panel {
        padding: 20px;
    }
    .cart-drawer {
        max-width: 100%;
    }
    .modal {
        width: 95%;
    }
}

/* ==========================================================================
   New Blocks (Process, Quiz, Reviews, FAQ) & Design Enhancements
   ========================================================================== */

/* Typography Overrides */
.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary) 15%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    line-height: 1.3;
}

/* Benefit Cards Enhancements */
.benefits {
    background: linear-gradient(180deg, var(--white) 0%, #FAF6F0 100%);
}

.benefit-card {
    background: var(--white);
    border-top: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    border-left: 1px solid rgba(0, 0, 0, 0.02);
    border-right: 1px solid rgba(0, 0, 0, 0.02);
    border-radius: 24px;
    transition: var(--transition);
}

.benefit-card:hover {
    border-top-color: var(--primary-dark);
    box-shadow: 0 20px 45px rgba(255, 140, 0, 0.06);
}

/* Process Section */
.process {
    padding: 120px 0;
    background: linear-gradient(180deg, #FAF6F0 0%, #FFF5EC 100%);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
}

.process-step {
    position: relative;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid rgba(255, 140, 0, 0.06);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.03);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.08);
    border-color: var(--primary);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF9E2A, #FF7300);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(255, 115, 0, 0.35);
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Products Section Enhancements */
.products {
    background: linear-gradient(180deg, #FFF5EC 0%, #FAFAF9 100%);
}

.product-card {
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 140, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(255, 140, 0, 0.1);
    border-color: rgba(255, 140, 0, 0.3);
}

.filter-btn {
    background-color: #FFF3E0;
    border: 1px solid rgba(255, 140, 0, 0.15);
    color: var(--secondary);
}

.filter-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.3);
}

/* Quiz Section - Premium Dark Mode Overhaul */
.quiz-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #2A1A17 0%, #170E0D 100%);
    color: var(--white);
    position: relative;
}

.quiz-section .section-title h2 {
    background: linear-gradient(135deg, #FFFFFF 20%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quiz-section .section-title p {
    color: #E2E8F0;
    opacity: 0.85;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 28px;
    padding: 50px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-progress-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.quiz-progress {
    height: 100%;
    width: 0%;
    background-color: var(--primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-step-card {
    display: none;
}

.quiz-step-card.active {
    display: block;
}

.quiz-step-card h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: var(--white);
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.quiz-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
    height: 100%;
}

.option-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 16px;
    transition: var(--transition);
}

.option-card strong {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.option-card small {
    color: #CBD5E1;
    font-size: 0.85rem;
    line-height: 1.4;
}

.quiz-option:hover .option-card {
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.quiz-option input[type="radio"]:checked + .option-card {
    border-color: var(--primary);
    background-color: rgba(255, 140, 0, 0.15);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.2);
}

.quiz-option input[type="radio"]:checked + .option-card i {
    transform: scale(1.15);
}

.quiz-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Quiz Result Card */
.quiz-result-card {
    text-align: center;
    animation: quizScaleUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quiz-result-card h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 24px;
}

.recommended-product-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: rgba(255, 255, 255, 0.04);
    padding: 30px;
    border-radius: 24px;
    text-align: left;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.recommended-img {
    width: 220px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.recommended-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommended-info {
    flex-grow: 1;
}

.recommended-info h4 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 8px;
}

.recommended-info p {
    color: #CBD5E1;
    margin-bottom: 20px;
    font-size: 0.98rem;
}

.recommended-info .price {
    margin-bottom: 20px;
}

/* Customer Reviews */
.reviews-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--white) 0%, #FFF8F2 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 140, 0, 0.05);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.08);
    border-color: var(--primary-light);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.review-user h4 {
    font-size: 1.05rem;
    color: var(--secondary);
    font-weight: 600;
}

.review-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 2px;
}

.stars {
    color: #FBBF24; /* Warm Yellow */
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    font-style: italic;
    margin-bottom: 20px;
}

.review-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 6px 14px;
    border-radius: 50px;
}

/* FAQ Accordion */
.faq-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #FFF8F2 0%, #FAF6F0 100%);
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid #E2E8F0;
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.05);
    border-left-color: var(--primary);
    border-top: 1px solid rgba(255, 140, 0, 0.05);
    border-bottom: 1px solid rgba(255, 140, 0, 0.05);
    border-right: 1px solid rgba(255, 140, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--secondary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.95rem;
    color: var(--text-light);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    color: var(--primary);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 24px 24px 24px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* New Responsive Styling */
@media (max-width: 768px) {
    .process {
        padding: 50px 0;
    }
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .process-step {
        padding: 30px 20px;
    }
    
    .quiz-section {
        padding: 50px 0;
    }
    .quiz-container {
        padding: 30px 20px;
    }
    .quiz-step-card h3 {
        font-size: 1.25rem;
        margin-bottom: 24px;
    }
    .quiz-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .option-card {
        padding: 20px;
    }
    .recommended-product-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    .recommended-img {
        width: 160px;
        height: 160px;
    }
    
    .reviews-section {
        padding: 50px 0;
    }
    .faq-section {
        padding: 50px 0;
    }
    .faq-question {
        padding: 20px;
        font-size: 0.98rem;
    }
    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }
}

/* Product Detail Page Overlay & Page Styling */
.product-page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 15, 5, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.product-page-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.product-page {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 92%;
    max-width: 1120px;
    height: 85vh;
    background-color: var(--white);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    z-index: 1401;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-page.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.product-page-close {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 40px;
    cursor: pointer;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border-bottom: 1px solid #F1F5F9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--white);
    z-index: 10;
}

.product-page-close:hover {
    color: var(--primary);
}

.product-page-close i {
    font-size: 1.1rem;
}

.product-page-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.product-page-left {
    flex: 1;
    background-color: #FAF9F6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    border-right: 1px solid #F1F5F9;
}

.product-page-img-container {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--white);
}

.product-page-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-page-img-container:hover img {
    transform: scale(1.06);
}

.product-page-right {
    flex: 1.2;
    padding: 50px 60px;
    overflow-y: auto;
}

.pdp-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-page-right h1 {
    font-size: 2.6rem;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.2;
    font-family: 'Noto Sans Armenian', 'Montserrat', sans-serif;
}

.pdp-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.pdp-pricing-section {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px 24px;
    background-color: #FAF8F5;
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 0, 0.05);
}

.pdp-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.pdp-unit-info {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
}

.pdp-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #E2E8F0;
}

.pdp-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pdp-section h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 16px;
    font-weight: 800;
    font-family: 'Noto Sans Armenian', 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pdp-weight-selector {
    display: flex;
    gap: 12px;
}

.weight-btn {
    padding: 12px 28px;
    border-radius: 14px;
    border: 2px solid #E2E8F0;
    background-color: var(--white);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.weight-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.weight-btn.active {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.25);
}

.pdp-purchase-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.pdp-purchase-actions .quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #E2E8F0;
    border-radius: 50px;
    background-color: var(--white);
    overflow: hidden;
    height: 52px;
}

.pdp-purchase-actions .qty-btn {
    border: none;
    background: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--secondary);
    transition: var(--transition);
    height: 100%;
}

.pdp-purchase-actions .qty-btn:hover {
    background-color: #F8FAFC;
    color: var(--primary);
}

.pdp-purchase-actions .qty-number {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--secondary);
    min-width: 20px;
    text-align: center;
}

.pdp-add-btn {
    flex: 1;
    height: 52px;
    text-transform: uppercase;
}

.pdp-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.pdp-specs-table tr {
    border-bottom: 1px solid #F1F5F9;
}

.pdp-specs-table tr:last-child {
    border-bottom: none;
}

.pdp-specs-table td {
    padding: 14px 0;
    font-size: 0.98rem;
}

.pdp-specs-table td:first-child {
    color: var(--text-light);
    font-weight: 600;
    width: 220px;
}

.pdp-specs-table td i {
    color: var(--primary);
    margin-right: 8px;
    width: 20px;
    font-size: 1rem;
}

.pdp-specs-table td:last-child {
    color: var(--secondary);
    font-weight: 700;
}

.pdp-nutrition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.nutrition-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: #F8FAFC;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.nutrition-item .val {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
}

.nutrition-item .lbl {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 6px;
    text-align: center;
    font-weight: 600;
}

.pdp-benefits-list {
    list-style: none;
}

.pdp-benefits-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
}

.pdp-benefits-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: #10B981;
    font-size: 0.9rem;
}

/* Media Queries for Product Detail Page */
@media (max-width: 992px) {
    .product-page {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: translate(0, 0) scale(1);
    }
    
    .product-page.active {
        transform: translate(0, 0) scale(1);
    }

    .product-page-close {
        padding: 16px 24px;
    }

    .product-page-container {
        flex-direction: column;
        overflow-y: auto;
    }

    .product-page-left {
        flex: none;
        padding: 40px;
        border-right: none;
        border-bottom: 1px solid #F1F5F9;
    }

    .product-page-img-container {
        max-width: 320px;
    }

    .product-page-right {
        flex: none;
        padding: 32px 24px;
        overflow-y: visible;
    }
    
    .product-page-right h1 {
        font-size: 2.1rem;
    }

    .pdp-nutrition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .pdp-specs-table td:first-child {
        width: 150px;
    }
}




/* Language Dropdown */
.lang-dropdown {
    position: relative;
    user-select: none;
    margin-right: 15px;
    z-index: 1000;
}

.lang-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 10px;
    border-radius: 6px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.08);
}

.scrolled .lang-dropdown-trigger {
    color: var(--text);
    background: rgba(0, 0, 0, 0.04);
}

.lang-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
}

.scrolled .lang-dropdown-trigger:hover {
    background: rgba(0, 0, 0, 0.08);
}

.lang-chevron {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.lang-dropdown.active .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 130px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-dropdown.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
}

.lang-dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary);
}

.lang-dropdown-item.active {
    background: rgba(230, 162, 37, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.lang-dropdown-item .lang-flag {
    font-size: 1.1rem;
}

.lang-dropdown-mobile {
    display: none;
    margin: 15px auto 0 auto;
    width: fit-content;
}

@media (max-width: 768px) {
    .header-right-btns .lang-dropdown {
        display: block;
    }
    .lang-dropdown-mobile {
        display: none;
    }
}


/* Prevent flag shifting */
.lang-current-flag {
    width: 20px;
    height: 14px;
    display: inline-block;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    vertical-align: middle;
}
.lang-current-flag img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute;
    top: 0;
    left: 0;
}

/* --- Blog Styles --- */
.blog-section {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 140, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 140, 0, 0.2);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(255, 115, 0, 0.2);
}

.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-card-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--secondary);
    font-weight: 600;
}

.blog-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
}

.blog-card-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* --- Single Article page styles --- */
.article-section {
    padding: 140px 0 100px;
    background-color: var(--white);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.article-back-link:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

.article-header {
    margin-bottom: 40px;
}

.article-category {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 800;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 20px;
}

.article-meta i {
    color: var(--primary);
}

.article-banner {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.article-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2, .article-content h3 {
    color: var(--secondary);
    margin: 40px 0 20px;
    font-weight: 600;
    line-height: 1.3;
}

.article-content h2 {
    font-size: 1.8rem;
}

.article-content h3 {
    font-size: 1.4rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    background-color: var(--bg-light);
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--secondary);
}

.article-cta-box {
    background: linear-gradient(135deg, #FFF5EC, #FFF0E0);
    border: 1px solid var(--primary-light);
    border-radius: 24px;
    padding: 35px;
    margin-top: 50px;
    text-align: center;
}

.article-cta-box h3 {
    margin-top: 0 !important;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.article-cta-box p {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    .article-banner {
        height: 250px;
    }
    .article-content {
        font-size: 1rem;
    }
}


/* Recommended Products Widget in Blog Articles */
.article-recommendations {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.article-recommendations h3 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 24px;
    font-weight: 600;
    text-align: center;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.rec-item-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 140, 0, 0.08);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.rec-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.08);
    border-color: var(--primary-light);
}

.rec-item-img {
    height: 160px;
    overflow: hidden;
}

.rec-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.rec-item-card:hover .rec-item-img img {
    transform: scale(1.05);
}

.rec-item-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rec-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.rec-item-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.rec-item-btn {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}
