:root {
    --color-primary: #0B8457;
    /* Medical Green - Premium, Professional, Health */
    --color-primary-dark: #086743;

    --color-accent: #2E8B57;
    /* Sea Green - Complementary */
    --color-accent-dark: #236B42;

    --color-bg: #FFFFFF;
    /* Pure White */
    --color-bg-alt: #F8F9FA;
    /* Very Light Grey */

    --color-text: #1C2833;
    /* Deep Slate - Premium contrast */
    --color-text-light: #5D6D7E;
    /* Lighter slate */

    --font-heading: 'Poppins', sans-serif;
    --font-main: 'Inter', sans-serif;

    --spacing-xs: 0.75rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 4rem;
    --spacing-lg: 6rem;
    --spacing-xl: 12rem;

    --border-radius: 16px;
    --hero-border-radius: 30px;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    /* Rounded CTA */
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(11, 132, 87, 0.3);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(11, 132, 87, 0.4);
    background: var(--color-primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background-color: transparent;
    color: var(--color-primary);
}

/* Header */
.header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-link {
    font-size: 1.1rem;
    color: var(--color-text);
}

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

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.7rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--color-text);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    /* Slide from left */
    width: 320px;
    max-width: 90%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    /* Blanc translucide */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-right: 1px solid var(--color-primary);
    /* Bordure droite fine en Bleu Ciel */
    z-index: 1002;
    padding: 2rem 1.5rem;
    transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Rebond doux */
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.mobile-logo img {
    height: 35px;
}

.close-menu-btn {
    font-size: 1.5rem;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s;
}

.close-menu-btn:hover {
    transform: rotate(90deg);
    color: var(--color-primary);
}

.mobile-nav-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mobile-link {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-text);
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    padding-left: 0;
}

.mobile-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 3px;
    background-color: var(--color-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-link:hover {
    padding-left: 12px;
    color: var(--color-primary);
}

.mobile-link:hover::before {
    opacity: 1;
}

.mobile-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    display: block;
}

.mobile-sub-nav {
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.mobile-sub-nav .mobile-link {
    font-size: 1.05rem;
    font-weight: 400;
}

.nav-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-text-light);
    margin-right: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

.mobile-link:hover .nav-dot {
    background-color: var(--color-primary);
    transform: scale(1.5);
}

.mobile-menu-actions {
    margin-bottom: 2rem;
}

.btn-diagnostic.mobile-link {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    color: white !important;
}

.btn-diagnostic.mobile-link::before {
    display: none;
}

.btn-diagnostic.mobile-link:hover {
    padding-left: 0;
    color: white !important;
}

.mobile-menu-footer {
    border-top: 1px solid rgba(135, 206, 235, 0.3);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-footer-link {
    font-size: 1rem;
    color: var(--color-text-light);
}

.mobile-footer-link i {
    margin-right: 10px;
    font-size: 1.1rem;
    color: var(--color-primary);
}

/* Stagger Animation Base */
.stagger-elements {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.stagger-elements.active {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Section */
.hero {
    padding-top: calc(80px + var(--spacing-lg));
    padding-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
    z-index: 1;
    /* Establish stacking context */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Place behind content but above background */
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Premium slow panning background */
    animation: smoothPan 30s ease-in-out infinite alternate;
}

@keyframes smoothPan {
    0% {
        transform: scale(1.05) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(-2%, 2%);
    }

    100% {
        transform: scale(1.05) translate(2%, -1%);
    }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.hero-content {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 2;
    /* Ensure content is above background image */
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(135, 206, 235, 0.2);
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

/* Placeholders */
.image-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #f0f9ff 25%, #e0f2fe 50%, #f0f9ff 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    color: #999;
    font-weight: 600;
    border-radius: var(--border-radius);
}

.hero-placeholder {
    height: 500px;
    background: linear-gradient(90deg, #f0f9ff 25%, #e0f2fe 50%, #f0f9ff 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    color: #546e7a;
    border-radius: var(--hero-border-radius);
    box-shadow: var(--shadow-lg);
}

/* Categories */
.categories {
    background-color: var(--color-bg);
}

/* Testimonials Slider */
.testimonials-slider {
    overflow: hidden;
    padding: 1rem 0;
    width: 100%;
    position: relative;
}

.testimonials-slider::before,
.testimonials-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.testimonials-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.testimonials-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background-color: var(--color-bg-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    flex: 0 0 350px;
    /* Fixed width for slide items */
    transition: var(--transition);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 3 - 6rem));
        /* Width of 3 cards + gaps */
    }
}

.category-card:hover {
    transform: translateY(-5px);
    background-color: white;
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
}

.category-name {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Products */
.products {
    background-color: #fff;
}

.view-all-link {
    float: right;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: -3rem;
    /* Align with title */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
    will-change: transform, box-shadow;
    /* optimize animation */
}

/* Premium 3D Tilt Effect Simulation */
.product-card:hover {
    transform: translateY(-8px) scale(1.02) perspective(1000px) rotateX(2deg);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(11, 132, 87, 0.05);
    /* Soft medical green glow */
    border-color: rgba(11, 132, 87, 0.3);
    z-index: 10;
}

.product-image {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background-color: var(--color-bg-alt);
}

.product-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f9ff 25%, #e0f2fe 50%, #f0f9ff 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Description Overlay on Hover */
.product-image {
    overflow: hidden;
    /* Ensure overlay stays within image boundaries */
}

.product-description-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(100%);
    /* Start from below */
    transition: var(--transition);
    z-index: 5;
}

.product-card:hover .product-description-overlay {
    opacity: 1;
    transform: translateY(0);
}

.product-description-overlay h3 {
    font-size: 1.1rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.product-description-overlay p {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-description-overlay h3,
.product-card:hover .product-description-overlay p {
    transform: translateY(0);
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.add-to-cart-btn-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
}



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

.product-info {
    padding: 1.5rem 1rem;
    text-align: center;
}

.product-category {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 600;
    color: var(--color-primary);
}

/* Reassurance */
.reassurance {
    background-color: var(--color-bg-alt);
    padding: var(--spacing-lg) 0;
}

.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.reassurance-item {
    padding: 1rem;
}

.reassurance-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.reassurance-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.reassurance-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: var(--spacing-lg);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--color-text-light);
    font-size: 0.95rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Diagnostic Banner */
.diagnostic-banner {
    position: relative;
    background-image: url('assets/images/lifestyle.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 6rem 0;
    overflow: hidden;
}

.diagnostic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(135, 206, 235, 0.8) 100%);
    z-index: 1;
}

.diagnostic-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.diagnostic-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    display: block;
}

.diagnostic-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.diagnostic-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn-white:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary-dark);
}

/* Ingredients Section */
.ingredients {
    background-color: var(--color-bg);
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.ingredient-item {
    transition: var(--transition);
}

.ingredient-item:hover {
    transform: translateY(-5px);
}

.ingredient-bubble {
    width: 100px;
    height: 100px;
    background-color: #e0f7fa;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid white;
}

/* Packs Section */
.packs {
    background-color: var(--color-bg-alt);
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pack-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-slider .pack-card {
    width: 320px;
    flex-shrink: 0;
}

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

.pack-image {
    height: 250px;
    background-color: #eee;
    position: relative;
    overflow: hidden;
}

.pack-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    font-weight: 600;
    z-index: 5;
}

.badge-discount {
    background-color: #e74c3c;
    color: white;
}

.badge-new {
    background-color: #95a5a6;
    color: white;
}

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

.instagram-item {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.instagram-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instagram-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.pack-info {
    padding: 2rem;
    text-align: center;
}

.pack-info h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.pack-info p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.pack-price {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--color-text-light);
    margin-right: 0.5rem;
    font-size: 1rem;
}

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

.pack-btn {
    width: 100%;
}

/* Social Proof */
.social-proof {
    background-color: var(--color-bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.stars {
    color: #f1c40f;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.verified-badge {
    color: #27ae60;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Expertise Section */
.expertise {
    background-color: var(--color-bg);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.expertise-item {
    padding: 1rem;
}

.expertise-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.expertise-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.expertise-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Instagram Feed */
.instagram {
    padding-bottom: 0;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.instagram-item {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.insta-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #eee;
    transition: var(--transition);
}

.instagram-item:hover .insta-placeholder {
    transform: scale(1.05);
    filter: brightness(0.9);
}

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

/* About Section */
.about {
    background-color: white;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
    height: 500px;
}

.about-img_real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-placeholder {
    height: 100%;
    background-color: #e0f2f1;
    color: var(--color-primary-dark);
    border-radius: var(--border-radius);
}

.about-content {
    flex: 1;
}

.about-tag {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    font-size: 1rem;
}

.about-text strong {
    color: var(--color-text);
    font-weight: 600;
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        height: 300px;
        order: -1;
        /* Image on top on mobile */
    }
}

/* Animations */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        background-color: #f0f0f0;
    }

    50% {
        background-color: #e0e0e0;
    }

    100% {
        background-color: #f0f0f0;
    }
}

/* Reveal on Scroll Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Wow Effect - Pop In */
.reveal-pop {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy */
}

.reveal-pop.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Skeleton Loading */
.skeleton {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Staggered Delays for Grids */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Enhanced Hover Effects */
.product-card:hover {
    transform: translateY(-8px) scale(1.02) perspective(1000px) rotateX(2deg);
    /* Soft Scale & 3D tilt */
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(11, 132, 87, 0.05);
    /* Soft green ambient shadow */
}

.product-image img,
.product-placeholder {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.product-card:hover .product-image .product-placeholder,
.product-card:hover .product-image img {
    transform: scale(1.08);
    /* slight smooth zoom in */
}

/* Slide up and fade keyframes for explicit JS control */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav-list {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .view-all-link {
        float: none;
        display: block;
        text-align: center;
        margin-top: 0;
        margin-bottom: 1rem;
    }
}

/* Side Cart Styles */
.side-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

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

.side-cart {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 9999;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

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

.side-cart-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}

.side-cart-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.close-cart {
    font-size: 1.5rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 0;
}

.close-cart:hover {
    color: var(--color-text);
}

.free-shipping-bar {
    padding: 1rem 2rem;
    background: #fcfcfc;
    border-bottom: 1px solid #eee;
}

.progress-bar-bg {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--color-primary);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 3px;
}

.shipping-msg {
    font-size: 0.85rem;
    color: var(--color-text);
    text-align: center;
    margin: 0;
}

.amount-left {
    font-weight: 700;
    color: var(--color-primary);
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 1rem;
    background: #f9f9f9;
}

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

.cart-item-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--color-text);
    display: block;
}

.cart-item-dosage {
    font-size: 0.8rem;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 2px 8px;
}

.qty-btn {
    font-size: 0.8rem;
    color: var(--color-text);
    padding: 0 8px;
    cursor: pointer;
    background: none;
    border: none;
}

.qty-val {
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-price {
    font-weight: 600;
    font-size: 0.95rem;
}

.remove-item {
    font-size: 0.8rem;
    color: #e74c3c;
    cursor: pointer;
    margin-left: 10px;
}

/* Upsell Section */
.cart-upsell {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.cart-upsell h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: inherit;
    font-weight: 600;
}

.upsell-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.upsell-info {
    flex: 1;
    margin: 0 10px;
}

.upsell-info h4 {
    font-size: 0.9rem;
    margin: 0;
}

.upsell-price {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.btn-add-upsell {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-add-upsell:hover {
    transform: scale(1.1);
}

/* Sticky Footer */
.side-cart-footer {
    padding: 2rem;
    background: white;
    border-top: 1px solid #f5f5f5;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.03);
}

.subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.total-price {
    font-weight: 700;
}

.checkout-btn {
    width: 100%;
    background-color: var(--color-text);
    /* Forest Green or Dark Theme */
    color: white;
    padding: 15px;
    border-radius: 50px;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
    text-align: center;
    /* Glow Effect */
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.4);
    background-color: #34495e;
}

.payment-icons {
    text-align: center;
    color: #bdc3c7;
    font-size: 1.5rem;
    letter-spacing: 10px;
}

@media (max-width: 480px) {
    .side-cart {
        width: 100%;
    }
}

/* Product Slider (Best Sellers) */
.product-slider {
    overflow: hidden;
    padding: 2rem 0;
    width: 100%;
    position: relative;
}

.product-slider::before,
.product-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    /* Allow clicking through fade */
}

.product-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.product-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.product-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-products 30s linear infinite;
}

.product-track:hover {
    animation-play-state: paused;
}

.product-slider .product-card {
    flex: 0 0 280px;
    /* Fixed width for slider items */
    width: 280px;
}

@keyframes scroll-products {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-280px * 4 - 8rem));
        /* Adjust based on original count width */
    }
}

/* Force Add to Cart button visibility in Slider */
.product-slider .minimal-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 15px;
    /* Add padding for button */
}

.product-slider .minimal-card .add-to-cart-btn {
    opacity: 1 !important;
    position: relative !important;
    transform: none !important;
    bottom: auto !important;
    left: auto !important;
    width: 90%;
    margin: 10px auto 0;

    background-color: var(--color-text);
    /* Black/Dark Grey */
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    /* Slightly squarer for professional look */
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.product-slider .minimal-card .add-to-cart-btn:hover {
    background-color: var(--color-primary);
    /* Brand color on hover */
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-slider .minimal-card .add-to-cart-btn::before {
    content: "\f291";
    /* FontAwesome Shopping Bag */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Contact Section */
.contact-section {
    background-color: #f9fbff;
    /* Very light blue tint */
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    padding-right: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    background: #eef2ff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 600;
}

.info-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: #f9fafb;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    background-color: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.contact-form button[type="submit"]:hover {
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
}

.contact-info {
    padding-right: 0;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;

    /* Flexbox centering */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.search-container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.search-form {
    display: flex;
    border-bottom: 2px solid var(--color-text);
}

.search-input {
    width: 100%;
    padding: 1rem 0;
    font-size: 2rem;
    border: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    color: var(--color-text);
}

.search-submit {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text);
    cursor: pointer;
}

.close-search {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text);
}

/* Quiz Modal Styles */
.quiz-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quiz-modal.active {
    display: flex;
    opacity: 1;
}

.quiz-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.quiz-container {
    background-color: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    /* Prevent modal from exceeding screen height */
    overflow-y: auto;
    /* Enable vertical scroll if content is too long */
    border-radius: var(--hero-border-radius);
    padding: 3rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    z-index: 10001;
    text-align: center;
}

.quiz-modal.active .quiz-container {
    transform: translateY(0);
}

.close-quiz-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-text-light);
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

.close-quiz-btn:hover {
    color: var(--color-text);
    transform: rotate(90deg);
}

/* Quiz Steps */
.quiz-step {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-question h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quiz-option-btn {
    padding: 1.5rem;
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.quiz-option-btn:hover {
    border-color: var(--color-primary);
    background-color: #f0f9ff;
    transform: translateY(-3px);
}

.quiz-option-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.quiz-option-text {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Quiz Result */
.quiz-result {
    text-align: center;
}

.quiz-result h3 {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.quiz-result h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.quiz-product-card {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.quiz-product-img {
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.quiz-product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quiz-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .quiz-options {
        grid-template-columns: 1fr;
    }
}

/* New Diagnostic Section */
.diagnostic-section {
    padding: 5rem 0;
    background-color: #f7fbff;
    /* Soft blue/white */
}

.diagnostic-wrapper {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2);
    overflow: hidden;
    position: relative;
    color: white;
}

.diagnostic-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.diagnostic-info {
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

.diagnostic-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.diagnostic-info .diagnostic-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.diagnostic-info .diagnostic-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.diagnostic-benefits {
    list-style: none;
    margin-bottom: 2.5rem;
}

.diagnostic-benefits li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 0.95;
}

.diagnostic-benefits li i {
    color: #ffd700;
}

.diagnostic-btn {
    background: white;
    color: #2c3e50;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
}

.diagnostic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    color: #3498db;
}

.diagnostic-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.diagnostic-circle {
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    animation: spin 30s linear infinite;
}

.diagnostic-circle i {
    position: absolute;
    font-size: 2.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.diagnostic-circle i:nth-child(1) {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.diagnostic-circle i:nth-child(2) {
    bottom: 20px;
    right: -20px;
}

.diagnostic-circle i:nth-child(3) {
    bottom: 20px;
    left: -20px;
}

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

@media (max-width: 900px) {
    .diagnostic-wrapper {
        flex-direction: column;
        padding: 2.5rem;
        text-align: center;
    }

    .diagnostic-benefits li {
        justify-content: center;
    }

    .diagnostic-visual {
        margin-top: 4rem;
        display: none;
        /* Hide visual on small screens for simplicity */
    }
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: inherit;
}

.wa-float-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.wa-float-btn:hover {
    transform: scale(1.1);
}

.wa-message-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    /* Hidden by default */
    transform-origin: bottom right;
    animation: popup 0.3s ease;
}

@keyframes popup {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wa-header {
    background: #075e54;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.wa-close {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.wa-close:hover {
    opacity: 1;
}

.wa-body {
    padding: 20px;
}

.wa-body p {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.wa-btn {
    display: inline-block;
    width: 100%;
    background: #25d366;
    color: white;
    padding: 12px 0;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.wa-btn:hover {
    background: #1da851;
}

/* Custom Cursor (Water Drop) */
body {
    cursor: none;
    /* Hide default cursor */
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: rgba(135, 206, 235, 0.4);
    border: 2px solid rgba(135, 206, 235, 0.8);
    border-radius: 50% 50% 50% 0;
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease, width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: multiply;
}

.custom-cursor.hovering {
    width: 40px;
    height: 40px;
    background: rgba(135, 206, 235, 0.1);
    transform: rotate(45deg) scale(1.5);
    border-width: 1px;
}

/* Mobile Optimization - Sticky Tab Bar & Typography */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(135, 206, 235, 0.3);
    z-index: 1005;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    width: 25%;
    height: 100%;
    transition: color 0.3s;
}

.mobile-bottom-nav-item i {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.mobile-bottom-nav-item.active,
.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item:active {
    color: var(--color-primary);
}

.tab-cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
        /* Space for the tab bar */
        font-size: 16px;
        /* Prevent iOS zoom */
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
        /* Critical for iOS zoom */
    }

    /* Hide default header cart on mobile */
    .header-actions .cart-icon {
        display: none !important;
    }

    /* Full screen mobile menu */
    .mobile-menu {
        width: 100vw;
        max-width: 100%;
        padding: 4rem 2rem;
    }

    .mobile-link {
        min-height: 48px;
        /* Touch target */
        font-size: 1.25rem;
    }

    .close-menu-btn {
        min-height: 48px;
        min-width: 48px;
    }
}

/* Elegant Skeletons */
.skeleton {
    background: linear-gradient(90deg, #f0f9ff 25%, #e0f2fe 50%, #f0f9ff 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--border-radius);
    opacity: 0.7;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}