/* Hamburger Menu styles */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1000;
    /* Ensure it's above the menu */
    position: relative;
    width: 30px;
    height: 20px;
}

.bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    transition: all 0.4s ease-in-out;
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.bar:nth-child(3) {
    bottom: 0;
}

/* Carousel for screens below 1200px - 3 items */
@media (max-width: 1200px) {

    section.best-seller .best-seller-content,
    section.candle-chantilly .candle-chantilly-content,
    section.bouquet .bouquet-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 20px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    section.best-seller .best-seller-content::-webkit-scrollbar,
    section.candle-chantilly .candle-chantilly-content::-webkit-scrollbar,
    section.bouquet .bouquet-container::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    section.best-seller .best-seller-content .sell-content,
    section.candle-chantilly .candle-chantilly-content .candle-content,
    section.bouquet .bouquet-container .bouquet-content {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
        scroll-snap-align: start;
    }
}

/* Carousel for screens below 900px - 2 items */
@media (max-width: 900px) {

    section.best-seller .best-seller-content .sell-content,
    section.candle-chantilly .candle-chantilly-content .candle-content,
    section.bouquet .bouquet-container .bouquet-content {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    /* Disable ALL scroll animations for mobile to prevent overflow and interaction issues */
    .animate-on-scroll,
    .animate-on-scroll.fade-up,
    .animate-on-scroll.fade-down,
    .animate-on-scroll.fade-left,
    .animate-on-scroll.fade-right,
    .animate-on-scroll.zoom-in,
    .animate-on-scroll.zoom-in-large,
    .animate-on-scroll.fade-up-large,
    .delay-100,
    .delay-200,
    .delay-300,
    .delay-400,
    .delay-500,
    .delay-600 {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Valour section in column at 750px */
@media (max-width: 750px) {
    section.valour {
        flex-direction: column;
        gap: 40px;
    }

    section.valour .valour-content .valour-text p {
        max-width: 100%;
    }
}

/* Carousel for screens below 600px - 1 item */
@media (max-width: 600px) {

    section.best-seller .best-seller-content .sell-content,
    section.candle-chantilly .candle-chantilly-content .candle-content,
    section.bouquet .bouquet-container .bouquet-content {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
    }

    section.best-seller .best-seller-content,
    section.candle-chantilly .candle-chantilly-content,
    section.bouquet .bouquet-container {
        gap: 15px;
        padding: 0 10px 20px;
    }
}

@media (max-width: 900px) {
    header nav .hamburger {
        display: block;
        order: 3;
        /* Place hamburger last */
        margin-left: 20px;
        /* Space from items */
    }

    header nav .logo {
        order: 1;
        z-index: 1000;
        /* Keep logo visible if desired, or let menu cover it */
        position: relative;
    }

    header nav .items {
        order: 2;
        margin-left: auto;
        position: relative;
        z-index: 1001;
        /* Push items to the right, next to hamburger */
    }

    /* Animate Hamburger */
    header nav .hamburger.active .bar:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    header nav .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    header nav .hamburger.active .bar:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    /* Mobile Menu Container */
    header nav ul {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background-color: rgba(245, 239, 230, 0.98);
        /* var(--background-color) with opacity */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        gap: 0;
        /* Removed gap to ensure continuous click area, controlled via padding */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        overflow-y: auto;
        padding-top: 120px;
        padding-bottom: 50px;
    }

    header nav ul.active {
        transform: translateX(0);
    }

    /* Menu Items Typography */
    header nav ul li a {
        font-family: var(--font-primary);
        font-size: 32px;
        font-weight: 400;
        color: var(--text-color);
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
        overflow: hidden;
        display: inline-block;
        padding: 20px 0;
        /* Increased padding for larger tap target */
    }

    /* Decorative underline animation - ONLY for non-submenu items */
    header nav ul li:not(.has-submenu) a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--primary-color);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s ease;
    }

    @media (hover: hover) {
        header nav ul li a:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }
    }

    /* Staggered Entry Animation */
    header nav ul li {
        width: 100%;
        /* Force full width for the row */
        text-align: center;
        /* keep text centered */
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
        transition-delay: 0s;
    }

    header nav ul.active li {
        opacity: 1;
        transform: translateY(0);
    }

    header nav ul.active li:nth-child(1) {
        transition-delay: 0.4s;
    }

    header nav ul.active li:nth-child(2) {
        transition-delay: 0.5s;
    }

    header nav ul.active li:nth-child(3) {
        transition-delay: 0.6s;
    }

    header nav ul.active li:nth-child(4) {
        transition-delay: 0.7s;
    }

    /* Hide items in navbar while on mobile (except search/cart/user if desired) */
    /* The original design kept .items visible on top which is fine. */

    /* Mobile Mega Menu */
    header nav ul li.has-submenu {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        /* Override desktop position: static */
    }

    /* CRITICAL: Disable the desktop invisible bridge that steals clicks */
    header nav ul li.has-submenu::after {
        display: none !important;
        content: none !important;
        height: 0 !important;
        pointer-events: none !important;
    }

    /* Indicator for main menu item */
    header nav ul li.has-submenu>a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: none;
        padding: 20px 0;
        cursor: pointer;
        gap: 15px;
        position: relative;
        /* Ensure z-index works */
        z-index: 10;
        /* Force above other overlapping elements */
        overflow: visible;
        /* prevent clipping */
    }

    header nav ul li.has-submenu>a::after {
        content: '+';
        font-size: 20px;
        font-weight: 300;
        transition: transform 0.3s ease;
        height: auto;
        width: auto;
        background: none;
        position: static;
        /* Ensure it's inline, not absolute */
        transform: none;
        /* Reset any inherited transforms */
    }

    header nav ul li.has-submenu.submenu-active>a::after {
        content: '-';
        transform: none;
    }

    .mega-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0;
        border-top: none;
        display: none;
        /* Hidden by default on mobile */
        background: transparent;
        transform: none;
        transition: none;
    }

    header nav ul li.has-submenu.submenu-active .mega-menu {
        display: block;
        animation: fadeIn 0.3s ease;
        pointer-events: auto;
        /* Ensure clicks work when open */
    }

    /* Disable hover effect on mobile */
    header nav ul li.has-submenu:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        /* But display is controlled by class */
    }

    .menu-content {
        grid-template-columns: 1fr;
        gap: 0;
        /* Remove gap for accordion look */
        padding: 10px 0;
        text-align: center;
    }

    .menu-content .category {
        align-items: center;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .menu-content .category:last-child {
        border-bottom: none;
    }

    .menu-content .category h3 {
        font-size: 18px;
        color: var(--primary-color);
        margin: 0;
        border-bottom: none;
        padding: 15px 0;
        width: 100%;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        position: relative;
    }

    /* Indicator for categories */
    .menu-content .category h3::after {
        content: '+';
        font-size: 16px;
        font-weight: 300;
        position: absolute;
        right: 15px;
        /* Adjust padding as needed */
    }

    .menu-content .category.active h3::after {
        content: '-';
    }

    .menu-content .category ul {
        display: none;
        /* Hidden by default */
        padding-bottom: 15px;
        padding-top: 0;
        width: 100%;
        align-items: center;
        /* Reset inherited styles from header nav ul */
        position: static;
        inset: auto;
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transform: none;
        z-index: auto;
        gap: 5px;
        overflow-y: visible;
    }

    .menu-content .category.active ul {
        display: flex;
        flex-direction: column;
        animation: fadeIn 0.3s ease;
    }

    .menu-content .category ul li a {
        font-size: 15px;
        color: var(--text-color);
        padding: 8px 0;
        opacity: 0.8;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ================================================
   FOOTER RESPONSIVE STYLES
   Beautiful, fluid responsive design for all devices
   ================================================ */

/* Footer Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(245, 239, 230, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(245, 239, 230, 0.5);
    }
}

/* Large Tablets & Small Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
    footer {
        padding: 40px 5%;
    }

    footer .newsletter {
        flex-direction: column;
    }

    footer .newsletter .text {
        flex: 1 1 100%;
        text-align: center;
    }

    footer .newsletter .text h2 {
        background: linear-gradient(90deg, var(--background-color), rgba(245, 239, 230, 0.7), var(--background-color));
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        animation: shimmer 4s linear infinite;
    }

    footer .newsletter .text p {
        max-width: 100%;
        margin: 10px auto 0;
        opacity: 0.9;
    }

    footer .newsletter .input-content {
        flex: 1 1 100%;
        justify-content: center;
        align-self: center;
    }

    footer .links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    footer .links .link-content {
        min-width: 180px;
        text-align: center;
        align-items: center;
        animation: fadeInUp 0.6s ease backwards;
    }

    footer .links .link-content:nth-child(1) {
        animation-delay: 0.1s;
    }

    footer .links .link-content:nth-child(2) {
        animation-delay: 0.2s;
    }

    footer .links .link-content:nth-child(3) {
        animation-delay: 0.3s;
    }

    footer .links .link-content:nth-child(4) {
        animation-delay: 0.4s;
    }

    footer .links .link-content h3 {
        position: relative;
    }

    footer .links .link-content h3::before {
        left: 50%;
        transform: translateX(-50%);
        transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    footer .links .link-content:hover h3::before {
        width: 60px;
    }

    footer .links .link-content ul {
        align-items: center;
    }

    footer .links .link-content ul li a {
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    footer .links .link-content ul li a:hover {
        transform: translateX(5px);
        text-shadow: 0 0 15px rgba(245, 239, 230, 0.4);
    }

    footer .end {
        flex-direction: column;
        height: auto;
        gap: 40px;
        align-items: center;
    }

    footer .end .left {
        order: 2;
        text-align: center;
    }

    footer .end .left .logo {
        transition: all 0.4s ease;
        filter: drop-shadow(0 0 10px rgba(245, 239, 230, 0.2));
    }

    footer .end .left .logo:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(245, 239, 230, 0.4));
    }

    footer .end .right {
        order: 1;
        width: 100%;
        max-width: 600px;
    }

    footer .end .right .contact {
        flex-direction: column;
        align-items: stretch;
    }

    footer .end .right .contact button {
        align-self: center;
        margin-top: 15px;
        border-radius: 0;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    footer .end .right ul li {
        transition: all 0.3s ease;
        cursor: pointer;
    }

    footer .end .right ul li:hover {
        color: rgba(245, 239, 230, 0.7);
        text-shadow: 0 0 10px rgba(245, 239, 230, 0.3);
    }
}

/* Tablets (max-width: 900px) */
@media (max-width: 900px) {
    footer {
        padding: 35px 5%;
    }

    footer .line {
        margin: 30px 0;
        background: linear-gradient(90deg, transparent, rgba(245, 239, 230, 0.3), transparent);
        height: 1px;
    }

    footer .newsletter .text h2 {
        font-size: clamp(24px, 5vw, 40px);
    }

    footer .newsletter .input-content {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    footer .newsletter .input-content input {
        width: 100%;
    }

    footer .newsletter .input-content button {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    footer .links .link-content {
        min-width: 150px;
        flex: 1 1 calc(50% - 30px);
        padding: 20px;
        border-radius: 15px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    footer .links .link-content:hover {
        background: rgba(245, 239, 230, 0.05);
        transform: translateY(-5px);
    }

    footer .links .link-content h3 {
        font-size: 20px;
    }

    footer .links .link-content ul li {
        font-size: 14px;
    }

    footer .links .link-content .social-links {
        justify-content: center;
    }

    footer .links .link-content .social-links li {
        width: 50px;
        height: 50px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    footer .links .link-content .social-links li::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(160, 82, 45, 0.3), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    footer .links .link-content .social-links li:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        animation: pulse-glow 1.5s ease-in-out infinite;
    }

    footer .links .link-content .social-links li:hover::before {
        opacity: 1;
    }

    footer .end {
        gap: 30px;
    }

    footer .end .right .contact .contact-content p.title {
        font-size: 26px;
        text-align: center;
        background: linear-gradient(135deg, var(--background-color), rgba(245, 239, 230, 0.7));
        -webkit-background-clip: text;
        background-clip: text;
    }

    footer .end .right ul {
        gap: 10px;
    }

    footer .end .right ul li {
        font-size: 13px;
        position: relative;
        padding: 5px 15px;
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    footer .end .right ul li:hover {
        background: rgba(245, 239, 230, 0.1);
    }
}

/* Mobile Landscape & Small Tablets (max-width: 600px) */
@media (max-width: 600px) {
    footer {
        padding: 30px 5%;
    }

    footer .line {
        margin: 25px 0;
    }

    footer .newsletter .text h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    footer .newsletter .text p {
        font-size: 14px;
    }

    footer .newsletter .input-content input {
        height: 50px;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    footer .newsletter .input-content button {
        height: 50px;
        font-size: 15px;
    }

    footer .links {
        flex-direction: column;
        gap: 25px;
    }

    footer .links .link-content {
        flex: 1 1 100%;
        width: 100%;
        border-bottom: 1px solid rgba(245, 239, 230, 0.1);
        padding-bottom: 25px;
    }

    footer .links .link-content:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    footer .links .link-content h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    footer .links .link-content h3::before {
        width: 30px;
    }

    footer .links .link-content ul {
        gap: 8px;
    }

    footer .links .link-content ul li {
        font-size: 15px;
        padding: 5px 0;
    }

    footer .links .link-content .social-links {
        gap: 15px;
        margin-top: 5px;
    }

    footer .links .link-content .social-links li {
        width: 50px;
        height: 50px;
    }

    footer .links .link-content .social-links li svg {
        width: 24px;
        height: 24px;
    }

    footer .end {
        gap: 25px;
    }

    footer .end .left {
        gap: 20px;
    }

    footer .end .left .logo {
        max-width: 120px;
    }

    footer .end .left p {
        font-size: 13px;
        text-align: center;
        line-height: 1.4;
    }

    footer .end .right {
        width: 100%;
        gap: 20px;
    }

    footer .end .right .contact {
        gap: 15px;
    }

    footer .end .right .contact .contact-content {
        gap: 10px;
    }

    footer .end .right .contact .contact-content p.title {
        font-size: 24px;
    }

    footer .end .right .contact .contact-content input {
        height: 50px;
        font-size: 16px;
        padding: 10px 15px;
    }

    footer .end .right .contact .contact-content textarea {
        min-height: 100px;
        font-size: 16px;
        padding: 12px 15px;
    }

    footer .end .right .contact button {
        width: 100%;
        height: 50px;
        justify-content: center;
        font-size: 15px;
    }

    footer .end .right ul {
        flex-direction: column;
        gap: 12px;
    }

    footer .end .right ul li {
        font-size: 13px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(245, 239, 230, 0.1);
        width: 100%;
        text-align: center;
    }

    footer .end .right ul li:last-child {
        border-bottom: none;
    }
}

/* Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
    footer {
        padding: 25px 4%;
    }

    footer .newsletter .text h2 {
        font-size: 22px;
    }

    footer .newsletter .text p {
        font-size: 13px;
    }

    footer .newsletter .input-content {
        max-width: 100%;
    }

    footer .newsletter .input-content input {
        padding: 0 12px;
    }

    footer .links .link-content h3 {
        font-size: 16px;
    }

    footer .links .link-content ul li {
        font-size: 14px;
    }

    footer .links .link-content .social-links li {
        width: 45px;
        height: 45px;
    }

    footer .links .link-content .social-links li svg {
        width: 20px;
        height: 20px;
    }

    footer .end .left .logo {
        max-width: 100px;
    }

    footer .end .left p {
        font-size: 12px;
    }

    footer .end .right .contact .contact-content p.title {
        font-size: 20px;
    }

    footer .end .right .contact .contact-content input,
    footer .end .right .contact .contact-content textarea {
        font-size: 14px;
    }

    footer .end .right ul li {
        font-size: 12px;
    }
}

/* ================================================
   ADDITIONAL RESPONSIVE ENHANCEMENTS
   Hero, Sections, and General improvements
   ================================================ */

/* Hero Section Responsive - Image en arrière-plan */
@media (max-width: 900px) {
    header {
        height: 100svh;
        position: relative;
    }

    header .hero {
        position: relative;
        height: calc(100% - 100px);
    }

    header .hero .hero-content {
        position: relative;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 5%;
        height: 100%;
        z-index: 2;
    }

    /* Image en arrière-plan */
    header .hero .hero-content .hero-content-right {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        order: unset;
        margin: 0;
    }

    header .hero .hero-content .hero-content-right img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 0;
    }

    /* Overlay dégradé élégant */
    header .hero .hero-content .hero-content-right::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,
                rgba(245, 239, 230, 0) 0%,
                rgba(245, 239, 230, 0.4) 30%,
                rgba(245, 239, 230, 0.8) 60%,
                rgba(245, 239, 230, 1) 100%);
        z-index: 1;
    }

    header .hero .hero-content .hero-content-left {
        position: relative;
        width: 100%;
        text-align: center;
        z-index: 2;
        margin-top: auto;
        padding-bottom: 20px;
    }



    header .hero .hero-content .hero-content-left p {
        margin: 15px auto 0;
        max-width: 90%;
    }

    header .hero .hero-content .hero-content-left .btn-content {
        justify-content: center;
        flex-wrap: wrap;
    }

    header .hero .shape {
        display: none;
    }

    header .hero .hero-banner {
        flex-direction: column;
        height: auto;
        padding: 15px 5%;
        gap: 5px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    header {
        height: 100svh;
        min-height: 100svh;
    }

    header .hero .hero-content {
        padding: 30px 5%;
    }

    header .hero .hero-content .hero-content-right::before {
        background: linear-gradient(180deg,
                rgba(245, 239, 230, 0) 0%,
                rgba(245, 239, 230, 0.3) 25%,
                rgba(245, 239, 230, 0.7) 50%,
                rgba(245, 239, 230, 1) 100%);
    }

    header .hero .hero-content .hero-content-left {
        padding-bottom: 30px;
    }

    header .hero .hero-content .hero-content-left .btn-content .btn {
        width: 100%;
        justify-content: center;
        height: 50px;
        padding: 12px 20px;
    }

    header .hero .hero-content .hero-content-left .btn-content {
        gap: 12px;
    }
}

/* Atelier Section Responsive */
@media (max-width: 1000px) {
    section.atelier .atelier-container .atelier-content {
        width: calc(100% / 3 - 20px);
        /* Animation base */
        opacity: 0;
        animation: fadeInUp 0.8s ease forwards;
    }

    /* Staggered animation delays */
    section.atelier .atelier-container .atelier-content:nth-child(1) {
        animation-delay: 0.2s;
    }

    section.atelier .atelier-container .atelier-content:nth-child(2) {
        animation-delay: 0.4s;
    }

    section.atelier .atelier-container .atelier-content:nth-child(3) {
        animation-delay: 0.6s;
    }

    section.atelier .atelier-container .atelier-content .atelier-img {
        width: 100%;
        height: 200px;
        object-fit: contain;
        transition: transform 0.4s ease;
    }

    section.atelier .atelier-container .atelier-content:hover .atelier-img {
        transform: scale(1.03);
    }
}

@media (max-width: 750px) {
    section.atelier .atelier-container {
        gap: 30px;
    }

    section.atelier .atelier-container .atelier-content {
        width: 100%;
        max-width: 400px;
    }

    section.atelier .atelier-container .atelier-content .atelier-img {
        height: 220px;
        object-fit: contain;
    }

    section.atelier .atelier-container .atelier-content h3,
    section.atelier .atelier-container .atelier-content p {
        text-align: center;
        max-width: 90%;
        /* Prevent text from hitting edges */
    }

    section.atelier .atelier-container .atelier-content h3 {
        font-size: 24px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    section.atelier .atelier-container .atelier-content p {
        font-size: 16px;
        line-height: 1.6;
        opacity: 0.9;
    }

    section.atelier .title-content p {
        max-width: 90%;
    }

    section.atelier .about {
        flex-direction: column;
        gap: 30px;
        margin-top: 60px;
    }

    section.atelier .about .img-container {
        width: 80%;
        max-width: 400px;
    }

    section.atelier .about .text-content {
        width: 100%;
        text-align: center;
        padding: 0 5%;
    }

    section.atelier .about .text-content button {
        margin: 15px auto 0;
    }

    section.atelier .about .text-content .bg-img {
        display: none;
    }
}

/* Transition Section Responsive */
@media (max-width: 600px) {
    section.transition {
        padding: 50px 5%;
    }

    section.transition p {
        max-width: 95%;
        font-size: clamp(20px, 6vw, 40px);
    }
}

/* Best Seller & Product Sections Title Responsive */
@media (max-width: 600px) {

    section.best-seller .title p,
    .candle-chantilly .title-content p,
    section.bouquet .title-content p {
        max-width: 95%;
        font-size: 14px;
    }

    .candle-chantilly .title-content .title img,
    section.bouquet .title-content .title img {
        width: 50px;
        right: -55px;
    }

    section.best-seller .title .title-content img {
        width: 45px;
    }
}