:root {
    --primary-blue: #0099CC;
    /* La Roche-Posay style blue */
    --dark-blue: #005596;
    --text-color: #333333;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e0e0e0;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-width: 1200px;
    /* Valentine's Day theme */
    --valentine-red: #c62828;
    --valentine-pink: #ec407a;
    --valentine-rose: #f8bbd9;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

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

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

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--white);
}

/* Pulsing blue button variant for primary call-to-action */
@keyframes pulse-blue {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0,153,204,0.35);
    }

    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 12px rgba(0,153,204,0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0,153,204,0);
    }
}

.btn-pulse {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 6px 18px rgba(0,153,204,0.18);
    animation: pulse-blue 2s infinite;
    will-change: transform;
}

.btn-pulse:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px) scale(1.02);
    animation-play-state: paused;
}

/* Nav Top - Saint-Valentin */
.nav-top.valentine {
    background: linear-gradient(135deg, #c62828 0%, #ec407a 50%, #c62828 100%);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(198, 40, 40, 0.3);
}

.nav-top-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.nav-top-text {
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.nav-top-text:hover {
    color: var(--valentine-rose);
    transform: scale(1.02);
}

.nav-top-heart {
    font-size: 1rem;
    animation: heart-pulse 1.5s ease-in-out infinite;
}

.nav-top-heart:last-child {
    animation-delay: 0.75s;
}

@keyframes heart-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.15); }
}

/* Header V2 Structure */
header {
    background-color: var(--white);
    /* position: sticky; removed for scrollable header */
    /* top: 0; removed for scrollable header */
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

/* Top Utility Bar */
.top-utility-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.75rem;
    color: #666;
    border-bottom: 1px solid #eee;
}

.top-utility-left,
.top-utility-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-utility-left a i,
.top-utility-right a i {
    margin-right: 5px;
}

.top-utility-bar a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Main Header Area (Logo) */
.main-header-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo-v2 {
    text-align: center;
    color: var(--black);
    text-transform: uppercase;
    text-decoration: none;
}

.logo-v2 .brand-name {
    font-size: 2rem;
    font-weight: 300;
    /* Thin look */
    letter-spacing: 2px;
    display: block;
    line-height: 1;
}

.logo-v2 .brand-name strong {
    font-weight: 700;
}

.logo-v2 .brand-sub {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #888;
    display: block;
    margin-top: 5px;
}

.logo-square {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--primary-blue);
    margin-right: 2px;
    vertical-align: text-top;
}

/* Main Navigation Bar */
.nav-container {
    border-top: 1px solid #f0f0f0;
    padding: 0;
}

.navbar-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    gap: 60px;
    /* Ensure space between GAMMES and DIAGNOSTIC PEAU */
}

.nav-left {
    display: flex;
    gap: 25px;
    padding-top: 8px;
    /* Pushing links down for better visual alignment */
}

.nav-left a {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--black);
    position: relative;
    padding: 20px 0;
}

.nav-left a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-blue);
    transition: width 0.3s;
}

.nav-left a:hover::after {
    width: 100%;
}

.nav-right-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icon-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
}

.nav-icon-item i {
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.search-bar-container {
    background-color: #eaf6fc;
    /* Light blue bg */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    height: 60px;
    /* Full height of nav */
    cursor: pointer;
}

.search-bar-container span {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Service Benefits Bar */
.service-bar {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    font-size: 0.8rem;
    color: #333;
}

.service-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-item i {
    font-size: 1.5rem;
    color: #555;
    opacity: 0.6;
}

.service-text strong {
    display: block;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.service-text span {
    font-size: 0.75rem;
    color: #777;
    font-style: italic;
}

.vertical-divider {
    height: 30px;
    width: 1px;
    background-color: #ddd;
}

/* Mobile adjustments handled via media queries later if needed, hiding complex new nav on mobile for now */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 30px;
}

/* Carousel / Hero Styles */
.c-carousel__inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.c-carousel__content {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.c-carousel__item {
    min-width: 100%;
    box-sizing: border-box;
}

.c-content-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
    /* Fallback */
}

/* Image Wrapper */
.c-content-hero__image-wrapper {
    width: 100%;
    position: relative;
}

.c-content-hero__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Caption / Overlay */
.c-content-hero__caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    pointer-events: none;
    /* Let clicks pass through to links unless on buttons */
}

/* Flex alignments for caption based on classes */
.h-text-justify-content-flex-start-for-large {
    justify-content: flex-start;
}

.h-text-justify-content-flex-end-for-large {
    justify-content: flex-end;
}

.m-width-75--large {
    width: 75%;
}

.m-width-50--large {
    width: 50%;
}

.c-content-hero__body {
    padding: 0 5%;
    pointer-events: auto;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Typography */
.c-content-hero__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--black);
}

.h-text-uppercase {
    text-transform: uppercase;
}

.h-color-secondary {
    color: var(--primary-blue);
}

.h-color-primary {
    color: var(--black);
}

.h-text-bold {
    font-weight: 700;
}

.h-text-size-48 {
    font-size: 2.5rem;
}

.h-text-size-36 {
    font-size: 1.8rem;
}

.h-text-size-32 {
    font-size: 1.6rem;
}

.h-text-size-14 {
    font-size: 0.9rem;
}

/* Buttons */
.c-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--black);
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.c-button.m-primary {
    background-color: var(--primary-blue);
}

.c-button:hover {
    background-color: #333;
}

.c-button.m-primary:hover {
    background-color: var(--dark-blue);
}

/* Utilities */
.h-hide-for-small-only {
    display: block;
}

.h-show-for-small-only {
    display: none;
}

.h-show-for-large {
    display: inline;
}

@media (max-width: 768px) {
    .h-hide-for-small-only {
        display: none !important;
    }

    .h-show-for-small-only {
        display: block !important;
    }

    .h-show-for-large {
        display: none !important;
    }

    .c-content-hero__caption {
        position: relative;
        background: white;
        padding: 20px;
    }

    .c-content-hero {
        flex-direction: column;
    }

    .c-content-hero__body {
        width: 100%;
        padding: 0;
        text-align: center;
    }
}

/* Pagination Dots */
.c-carousel__pagination {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    /* keep container centered; list handles spacing */
}

/* Force the pagination list to be horizontal */
.c-carousel__pagination-list {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-direction: row; /* ensure horizontal layout */
}

.c-carousel__pagination-list-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.c-carousel__pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
}

.c-carousel__pagination-bullet.m-active {
    background: var(--primary-blue);
}

.c-carousel__autoplay {
    display: none;
}

/* Hide autoplay button for now */
.c-carousel__arrows {
    display: none;
}

/* Hide arrows unless needed */

/* Blob Animation Styles (from user snippet) */
/* The user provided <style> blocks inside the HTML snippet, so they will handle themselves locally, but global resets here help */
.blob {
    display: flex;
    align-items: center;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title p {
    color: #777;
}

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

.product-card {
    background: var(--white);
    border: 1px solid transparent;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--light-gray);
    transform: translateY(-5px);
}

.product-image {
    height: 250px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge {
    background: linear-gradient(135deg, #c62828 0%, #ec407a 50%, #c62828 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    text-align: center;
    margin-bottom: 12px;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-tag {
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.product-price {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.product-price .original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9rem;
}

.product-price .sale-price {
    color: #c62828;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 0 80px;
    background-color: var(--light-gray);
}

.reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.reviews-viewport {
    width: 100%;
    max-width: 700px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: var(--white);
}

.reviews-track {
    display: flex;
    transition: transform 0.4s ease;
}

.review-slide {
    min-width: 100%;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.review-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.review-card {
    padding: 30px 32px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-stars {
    color: #ffb400;
    font-size: 1rem;
}

.review-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.review-text {
    font-size: 0.95rem;
    color: #555;
}

.review-author {
    font-size: 0.85rem;
    color: #888;
    margin-top: 4px;
}

.reviews-arrow {
    border: none;
    background: var(--white);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.reviews-arrow i {
    font-size: 1rem;
}

.reviews-arrow:hover {
    transform: translateY(-2px);
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 153, 204, 0.25);
}

.reviews-arrow:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Expertise Section */
.expertise {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.expertise h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.expertise p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

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

.expertise .btn:hover {
    background-color: #f0f0f0;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-col ul li a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-header-center {
        justify-content: center;
        padding: 15px 0;
    }

    .top-utility-bar,
    .service-bar,
    .nav-right-icons {
        display: none;
    }

    .nav-container {
        border: none;
    }

    .navbar-v2 {
        height: auto;
    }

    .nav-left {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 30px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .nav-left.active {
        display: flex;
    }

    .nav-left a {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        font-size: 1.1rem;
    }

    .nav-left a::after {
        display: none;
    }

    .hamburger {
        display: block;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }

    .hero {
        height: auto;
        padding: 50px 0;
    }

    .hero::after {
        background: linear-gradient(180deg, #f4f4f4 40%, rgba(244, 244, 244, 0.8) 100%);
    }

    .hero-content {
        width: 100%;
        text-align: center;
        padding-right: 0;
        z-index: 5;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
        margin-top: -100px;
        /* Pull visually if needed */
        opacity: 0.5;
        z-index: 1;
    }

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