/*------------------------------------------------------------------
  Kandyle.com — Style Sheet
  Design System: Habibi Template (index-8)
  Fonts: Jost (body) + Sail (headings)
  Palette: Warm cream & terracotta
------------------------------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700;800;900&family=Sail&display=swap");

/* ============================================
   ROOT VARIABLES
============================================ */
:root {
    --bg: #F6F5F1;
    --bg-warm: #F6F5F1;
    --black: #3d2b1f;
    --body: #6b5b4f;
    --accent: #A08E6C;
    --accent-hover: #8A7A5C;
    --rose: #D76C58;
    --rose-light: #FFE7AB;
    --section-bg: #F6F5F1;
    --border: #D4A373;
    --border-light: #F1D797;
    --footer-bg: #A08E6C;
    --ff-body: 'Jost', sans-serif;
    --ff-head: 'Sail', cursive;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-pill: 50%;
}

/* ============================================
   RESET & BASE
============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--ff-body);
    font-size: 18px;
    color: var(--body);
    background: var(--bg-warm);
    line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-head);
    color: var(--black);
    font-weight: 400;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

p {
    font-size: 18px;
    color: var(--body);
    line-height: 1.8;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 120px 0;
}

@media (max-width: 991px) {
    .section-padding {
        padding: 90px 0;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 80px 0;
    }

    body {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* ============================================
   SECTION TITLES (Habibi Style)
============================================ */
.wpo-section-title {
    margin-bottom: 60px;
    text-align: center;
}

@media (max-width: 767px) {
    .wpo-section-title {
        margin-bottom: 40px;
    }
}

.wpo-section-title span {
    display: block;
    font-size: 25px;
    font-weight: 400;
    text-align: center;
    color: var(--rose);
    font-family: var(--ff-body);
}

@media (max-width: 575px) {
    .wpo-section-title span {
        font-size: 18px;
    }
}

.wpo-section-title h2 {
    font-family: var(--ff-head);
    font-size: 50px;
    font-weight: 400;
    margin: 10px 0 0;
    color: var(--black);
    display: inline-block;
    position: relative;
}

@media (max-width: 767px) {
    .wpo-section-title h2 {
        font-size: 32px;
        line-height: 40px;
    }
}

@media (max-width: 575px) {
    .wpo-section-title h2 {
        font-size: 25px;
        margin-top: 0;
    }
}

.wpo-section-title p {
    font-size: 18px;
    max-width: 700px;
    margin: 15px auto 0;
}

/* Left-aligned variant */
.wpo-section-title-s2 {
    text-align: left;
    margin-bottom: 40px;
}

.wpo-section-title-s2 span {
    display: block;
    font-size: 25px;
    font-weight: 400;
    text-align: left;
    color: var(--rose);
}

.wpo-section-title-s2 h2 {
    font-family: var(--ff-head);
    font-size: 50px;
    font-weight: 400;
    margin: 10px 0 0;
    color: var(--black);
}

@media (max-width: 991px) {
    .wpo-section-title-s2 {
        text-align: center;
    }

    .wpo-section-title-s2 span {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .wpo-section-title-s2 h2 {
        font-size: 32px;
    }
}

/* ============================================
   BUTTONS (Rounded corners)
============================================ */
.theme-btn {
    background: var(--accent);
    color: #fff;
    display: inline-block;
    font-family: var(--ff-body);
    font-weight: 500;
    padding: 15px 45px;
    border: 0;
    text-transform: uppercase;
    font-size: 18px;
    transition: all .3s;
    cursor: pointer;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
}

.theme-btn:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(101, 113, 80, 0.3);
}

@media (max-width: 767px) {
    .theme-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

.theme-btn-s2 {
    background: var(--accent);
    color: #fff;
    display: inline-block;
    font-family: var(--ff-body);
    font-weight: 500;
    padding: 15px 45px;
    border: 0;
    text-transform: capitalize;
    font-size: 18px;
    transition: all .3s;
    cursor: pointer;
    border-radius: var(--radius);
}

.theme-btn-s2:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(101, 113, 80, 0.3);
}

@media (max-width: 767px) {
    .theme-btn-s2 {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* ============================================
   FORM CONTROLS (Rounded)
============================================ */
.form-control {
    width: 100%;
    border: 1px solid var(--border-light);
    padding: 14px 18px;
    font-size: 16px;
    font-family: var(--ff-body);
    color: var(--black);
    background: rgba(255, 255, 255, 0.6);
    outline: none;
    transition: border-color 0.3s;
    border-radius: var(--radius);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 5px 0 rgba(101, 113, 80, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.form-control::placeholder {
    color: #999;
    font-style: normal;
}

select.form-control {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M6 8L0 0h12z' fill='%235C5C5C'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   1. NAVBAR
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Better than width: 100% for fixed elements */
    z-index: 1010;
    padding: 0;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    /* Reduced from 15px */
}

.navbar-brand {
    font-family: var(--ff-head);
    font-size: 36px;
    color: var(--black);
}

.navbar-brand:hover {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-family: var(--ff-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Right icons area */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icons {
    display: flex;
    align-items: center;
}

.cart-icon-btn {
    position: relative;
    font-size: 20px;
    color: var(--black);
    transition: all 0.3s;
}

.cart-icon-btn:hover {
    color: var(--accent);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: 700;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: var(--accent);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    margin-top: 10px;
    z-index: 100;
}

/* Footer Payment Icons */
.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.payment-icons img {
    height: 25px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: all 0.3s;
}

.payment-icons img:hover {
    filter: grayscale(0);
    transform: translateY(-2px);
}

.lang-dropdown.open {
    display: flex;
}

.lang-dropdown a {
    padding: 8px 15px;
    font-size: 13px;
    color: var(--black);
    transition: all 0.3s;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
    background: var(--bg-warm);
    color: var(--accent);
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s;
}

@media (max-width: 767px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-top: 1px solid var(--border-light);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar .container {
        padding: 8px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-brand {
        font-size: 24px;
        margin-right: auto;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .nav-links.open {
        display: flex;
    }

    /* Mobile: Keep icons visible */
    .nav-icons {
        display: flex;
        order: -1;
        /* Place before toggle but after brand/lang */
    }

    .lang-selector {
        margin-right: 0;
    }

    .mobile-toggle {
        order: 10;
    }
}

/* ============================================
   2. HERO SECTION — ARCHES LAYOUT
============================================ */
.hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
    background: var(--bg-warm);
    position: relative;
    overflow: hidden;
}

.hero-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0 auto 50px;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-img-wrap {
    flex: 1;
    position: relative;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.hero-img-wrap:hover {
    transform: translateY(-10px);
}

.hero-img-wrap img,
.hero-video {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
}


.arch-center:hover {
    transform: translateY(-10px);
}

.hero-text-bottom {
    text-align: center;
    padding: 20px 0;
}

.hero-main-title {
    font-family: var(--ff-head);
    font-size: clamp(60px, 10vw, 120px);
    color: var(--black);
    line-height: 1;
    margin-bottom: 10px;
}

.hero-tagline {
    font-family: var(--ff-body);
    font-size: 16px;
    letter-spacing: 4px;
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 991px) {
    .hero-images {
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .hero-images {
        flex-direction: column;
        max-width: 400px;
    }

    .arch-center {
        transform: none;
    }

    .arch-center:hover {
        transform: translateY(-10px);
    }
}

/* ============================================
   ANIMATION: REVEAL ON SCROLL
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sequential delay for list items if needed */
.reveal.delay-1 {
    transition-delay: 0.1s;
}

.reveal.delay-2 {
    transition-delay: 0.2s;
}

.reveal.delay-3 {
    transition-delay: 0.3s;
}

/* --- MOBILE FIXES --- */
html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

@media (max-width: 991px) {
    .hero-split-container {
        flex-direction: column;
        height: auto !important;
        min-height: 100vh;
    }

    .hero-col-left,
    .hero-col-right {
        width: 100% !important;
        height: 50vh !important;
    }

    .etapes-img {
        max-height: 85%;
        object-fit: contain;
    }

    .slideshow-wrap {
        height: 100% !important;
    }
}

/* ============================================
   3. ABOUT / CONCEPT SECTION
============================================ */
.about-section {
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-text p {
    margin-bottom: 20px;
}

.about-text p:first-of-type::first-letter {
    font-family: var(--ff-head);
    font-size: 50px;
    float: left;
    line-height: 1;
    margin-right: 10px;
    color: var(--accent);
}

.about-img {
    position: relative;
}

.about-img .img-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-img .img-inner {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 250px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 8px solid var(--bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    z-index: 2;
}

@media (max-width: 991px) {
    .about-img .img-inner {
        bottom: -20px;
        left: 0;
        width: 180px;
    }
}

.about-signature {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.about-signature h5 {
    font-family: var(--ff-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}

.about-signature span {
    font-size: 15px;
    color: var(--rose);
}

/* ============================================
   4. FUN FACTS / STATS
============================================ */
.funfact-section {
    background: var(--section-bg);
    padding: 80px 0;
}

.funfact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

@media (max-width: 767px) {
    .funfact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
}

.funfact-item {
    padding: 25px 15px;
}

.funfact-item .icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--accent);
}

.funfact-item h3 {
    font-family: var(--ff-body);
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 5px;
}

.funfact-item p {
    font-size: 16px;
    color: var(--body);
}

/* ============================================
   5. SERVICES / PRODUCTS SECTION
============================================ */
.services-section {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.4s;
    background: var(--bg);
    border-radius: var(--radius-lg);
}

.service-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.service-img {
    height: 480px;
    overflow: hidden;
    position: relative;
}

.service-img img,
.service-img .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img,
.service-card:hover .service-img .placeholder-img {
    transform: scale(1.05);
}

.service-text {
    padding: 30px 25px;
    text-align: center;
}

.service-text h3 {
    font-family: var(--ff-head);
    font-size: 30px;
    margin-bottom: 8px;
}

.service-text .sub {
    font-size: 15px;
    color: var(--rose);
    margin-bottom: 15px;
    display: block;
}

.service-text .price {
    font-family: var(--ff-body);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

/* ============================================
   6. GALLERY SECTION (Masonry style — Habibi portfolio)
============================================ */
.gallery-section {
    background: var(--bg-warm);
}

.gallery-grid {
    column-count: 4;
    column-gap: 25px;
}

@media (max-width: 1199px) {
    .gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 991px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        column-count: 1;
        column-gap: 0;
    }
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
    cursor: pointer;
    break-inside: avoid;
}

.gallery-item img,
.gallery-item .placeholder-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

/* Balanced Pinterest pattern for 12 items (3 columns) */
.gallery-item:nth-child(12n+1),
.gallery-item:nth-child(12n+6),
.gallery-item:nth-child(12n+11) {
    min-height: 450px;
}

.gallery-item:nth-child(12n+2),
.gallery-item:nth-child(12n+5),
.gallery-item:nth-child(12n+12) {
    min-height: 200px;
}

.gallery-item:nth-child(12n+3),
.gallery-item:nth-child(12n+8),
.gallery-item:nth-child(12n+9) {
    min-height: 300px;
}

.gallery-item:nth-child(12n+4),
.gallery-item:nth-child(12n+7),
.gallery-item:nth-child(12n+10) {
    min-height: 350px;
}

.gallery-item img,
.gallery-item .placeholder-img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.gallery-item:hover img,
.gallery-item:hover .placeholder-img {
    transform: scale(1.05);
}

/* ============================================
   7. FRAGRANCES STRIP
============================================ */
.fragrances-section {
    background: var(--bg);
}

.fragrances-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.fragrances-intro p {
    font-size: 18px;
}

.fragrances-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 991px) {
    .fragrances-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .fragrances-grid {
        grid-template-columns: 1fr;
    }
}

.fragrance-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius-lg);
}

.fragrance-card:hover .fragrance-bg {
    transform: scale(1.05);
}

.fragrance-bg {
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
    background-size: cover;
    background-position: center;
}

.fragrance-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.fragrance-overlay h4 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 5px;
}

.fragrance-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

/* ============================================
   8. CONFIGURATOR — Creamy frosted glass style
============================================ */
.configurator-section {
    position: relative;
    background: url('images/configurator-bg.webp') no-repeat center center;
    background-size: cover;
    /* Fallback gradient if no image */
    background-color: #e8ddd0;
}

.configurator-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(250, 245, 235, 0.3);
    z-index: 0;
}

.configurator-section>.container {
    position: relative;
    z-index: 1;
}

.configurator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .configurator-grid {
        grid-template-columns: 1fr;
    }
}

/* Frosted glass form container */
.config-steps {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px 45px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.config-steps h3 {
    font-family: var(--ff-head);
    font-size: 40px;
    margin-bottom: 35px;
    text-align: center;
}

/* Step headers */
.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    border-radius: 50%;
}

.step-header h4 {
    font-family: var(--ff-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}

/* Option cards */
.option-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.option-cards.small {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 575px) {
    .option-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .option-cards.small,
    .option-cards.four-cols,
    .option-cards.five-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

.option-cards.four-cols {
    grid-template-columns: repeat(4, 1fr);
}

.option-cards.five-cols {
    grid-template-columns: repeat(5, 1fr);
}

.option-card .mini-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 5px;
    background: #fdfaf5;
}

.option-card img.option-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.option-card {
    display: flex;
    flex-direction: column;
    padding: 12px 8px;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--border-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-card:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.8);
}

.option-card.active {
    border-color: var(--accent);
    background: rgba(101, 113, 80, 0.08);
}

.option-card.active::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 8px;
    background: var(--accent);
    color: #fff;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
}

.option-info strong {
    display: block;
    font-size: 15px;
    color: var(--black);
    font-weight: 600;
}

.option-info span {
    font-size: 13px;
    color: var(--body);
}

.option-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--accent) !important;
}

/* Upload — Multi-image system */
.upload-section {
    margin-bottom: 30px;
}

/* Layout selector: 1, 2, or 3 photos */
.layout-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 575px) {
    .layout-selector {
        grid-template-columns: 1fr;
    }
}

.layout-option {
    border: 2px solid var(--border-light);
    border-radius: var(--radius);
    padding: 12px 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.5);
}

.layout-option:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.8);
}

.layout-option.active {
    border-color: var(--accent);
    background: rgba(212, 163, 115, 0.12);
}

.layout-option .layout-preview {
    display: flex;
    gap: 3px;
    height: 40px;
    margin-bottom: 8px;
    justify-content: center;
    align-items: center;
}

.layout-option .layout-preview .zone {
    background: var(--border-light);
    border-radius: 4px;
    height: 100%;
    transition: background 0.3s;
}

.layout-option.active .layout-preview .zone {
    background: var(--accent);
    opacity: 0.5;
}

.layout-option:hover .layout-preview .zone {
    background: var(--accent);
    opacity: 0.4;
}

/* 1 photo = one wide bar */
.layout-option[data-layout="1"] .zone {
    width: 80px;
}

/* 2 photos = two bars */
.layout-option[data-layout="2"] .zone {
    width: 38px;
}

/* 3 photos = three bars */
.layout-option[data-layout="3"] .zone {
    width: 24px;
}

.layout-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--body);
    display: block;
}

.layout-option.active .layout-label {
    color: var(--accent);
}

/* Mug printable area preview */
.mug-preview-wrap {
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 15px;
}

.mug-preview-label {
    font-size: 13px;
    color: var(--body);
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mug-preview-label i {
    color: var(--accent);
}

/* Drop zones grid */
.drop-zones {
    display: grid;
    gap: 10px;
    min-height: 140px;
    transition: all 0.3s;
}

.drop-zones[data-count="1"] {
    grid-template-columns: 1fr;
}

.drop-zones[data-count="2"] {
    grid-template-columns: 1fr 1fr;
}

.drop-zones[data-count="3"] {
    grid-template-columns: 1fr 1fr 1fr;
}

.drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    min-height: 140px;
    transition: all 0.3s;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
    gap: 4px;
    padding: 10px;
}

.drop-zone:hover {
    border-color: var(--accent);
    background: rgba(212, 163, 115, 0.08);
}

.drop-zone.has-image {
    border-style: solid;
    border-color: var(--accent);
    padding: 0;
}

/* Square Image Ratios (except Hero) */
.about-img .img-main,
.service-img img,
.gallery-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.gallery-item.tall img,
.gallery-item.wide img {
    aspect-ratio: unset;
    /* Keep masonry logic if needed, but per user request "toutes les images" excluding Hero should be square */
}

/* Forcing all non-hero to be square as requested */
.gallery-item img,
.service-img,
.about-img .img-main {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
}

.drop-zone i.upload-icon {
    font-size: 28px;
    color: var(--accent);
    opacity: 0.7;
    transition: all 0.3s;
}

.drop-zone:hover i.upload-icon {
    opacity: 1;
    transform: translateY(-2px);
}

.drop-zone .zone-label {
    font-size: 12px;
    color: var(--body);
    font-weight: 500;
}

.drop-zone .zone-hint {
    font-size: 11px;
    color: #b5a08a;
}

.drop-zone .zone-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* Filled zone */
.drop-zone .zone-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: calc(var(--radius) - 2px);
}

.drop-zone .zone-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}

.drop-zone:hover .zone-remove {
    opacity: 1;
}

/* Upload tip below */
.upload-tip {
    font-size: 12px;
    color: var(--body);
    text-align: center;
    opacity: 0.7;
    margin-top: 5px;
}

.upload-tip i {
    color: var(--accent);
    margin-right: 4px;
}

/* Form rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row-titre-nom {
    grid-template-columns: 100px 1fr 1fr !important;
}

.form-row-tri {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }

    .form-row,
    .form-row-tri {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .config-steps {
        padding: 30px 20px;
    }

    .order-summary {
        margin-top: 30px;
        position: static;
        padding: 25px 20px;
    }
}

.form-group {
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    .order-summary {
        position: static;
        margin-top: 40px;
    }
}

/* Promo */
.promo-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.promo-row .form-control {
    flex: 1;
}

.promo-btn {
    padding: 10px 25px;
    font-size: 14px;
    white-space: nowrap;
}

/* ============================================
   ORDER SUMMARY SIDEBAR (Frosted glass)
============================================ */
.order-summary {
    position: sticky;
    top: 120px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.ord.hero-main-title {
    font-family: var(--ff-head);
    font-size: 80px;
    color: var(--black);
    margin-bottom: 30px;
    line-height: 1.1;
    margin-top: 60px;
    /* Slightly more space to lower it */
}

.order-summary h3 {
    font-family: var(--ff-head);
    font-size: 34px;
    color: var(--black);
    margin-bottom: 25px;
    text-align: center;
}

.summary-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.summary-line.total {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    padding-top: 10px;
}

.summary-separator {
    height: 1px;
    background: var(--border-light);
    margin: 5px 0;
}

/* Payment */
.payment-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
}

.payment-section h4 {
    font-family: var(--ff-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    text-align: center;
    margin-bottom: 15px;
}

.pay-btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ============================================
   9. HOW IT WORKS
============================================ */
.how-section {
    background: var(--bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 767px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--section-bg);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    border-radius: var(--radius-lg);
}

.step-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.step-icon {
    position: relative;
    margin-bottom: 25px;
}

.step-icon i {
    font-size: 50px;
    color: var(--accent);
}

.step-icon .number {
    position: absolute;
    top: -10px;
    right: calc(50% - 50px);
    width: 30px;
    height: 30px;
    background: var(--rose);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--ff-body);
    border-radius: 50%;
}

.step-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.step-card p {
    font-size: 16px;
}

/* ============================================
   10. REVIEWS
============================================ */
.reviews-section {
    background: var(--section-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fragrances-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .fragrances-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .fragrances-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: var(--bg);
    padding: 35px 30px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    border-radius: var(--radius-lg);
}

.review-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.review-stars {
    color: #F5A623;
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.review-text {
    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--body);
}

.review-author strong {
    display: block;
    font-size: 16px;
    color: var(--black);
    font-family: var(--ff-body);
    font-weight: 600;
}

.review-author span {
    font-size: 13px;
    color: var(--body);
}

/* ============================================
   11. FOOTER — Solid Branding
   8. FOOTER
============================================ */
.footer {
    background: #2b1f16;
    padding: 80px 0 0;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    font-family: var(--ff-head);
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 15px;
    display: block;
}

.footer-col p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #eeeeee;
}

.footer-col h4 {
    font-family: var(--ff-body);
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    color: #dddddd;
}

.footer-col ul li a:hover {
    color: var(--rose-light);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s;
    border-radius: 50%;
}

.social-links a:hover {
    background: #ffffff;
    color: #2b1f16;
    border-color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    font-size: 14px;
    color: #aaaaaa;
}

.footer-bottom p {
    font-weight: 400;
    color: #aaaaaa;
}

.footer-bottom .legal {
    display: flex;
    gap: 20px;
}

.footer-bottom .legal a {
    color: #aaaaaa;
}

.footer-bottom .legal a:hover {
    color: #ffffff;
    opacity: 1;
}

@media (max-width: 575px) {
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Payment Icons Styling */
.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.payment-icons img {
    height: 24px;
    width: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.payment-icons img:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   SCROLL REVEAL ANIMATION
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   BACK TO TOP (Rounded)
============================================ */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(212, 163, 115, 0.75);
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s;
}

.back-to-top:hover {
    background: var(--accent);
}

/* ============================================
   PLACEHOLDER IMAGES (with dimensions)
============================================ */
.placeholder-img {
    background: linear-gradient(135deg, #FAEDCD, #F1D797);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a09080;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 20px;
    border-radius: var(--radius);
    flex-direction: column;
    gap: 6px;
}

.placeholder-img .dim {
    font-size: 12px;
    color: #b5a595;
    font-weight: 400;
}

/* ============================================
   VARIANT 1: GOLDEN AURA (Mystery & Fantasy)
============================================ */
.variant-golden-aura {
    background-color: #fdf5e6;
    /* Even softer warm cream */
    position: relative;
    overflow-x: hidden;
}

/* Global soft light overlay */
.variant-golden-aura::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    animation: auraPulse 15s infinite alternate ease-in-out;
}

@keyframes auraPulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Corner Ornaments using SVG data URLs */
.corner-ornament {
    position: fixed;
    width: 250px;
    height: 250px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0c20 0 40 20 40 40S20 80 0 80V0zm10 10c15 0 30 15 30 30S25 70 10 70V10z' fill='%23A08E6C' fill-opacity='0.4'/%3E%3Cpath d='M0 0c30 0 60 30 60 60s-30 60-60 60V0zm5 5c25 0 50 25 50 55s-25 55-50 55V5z' fill='%23A08E6C' fill-opacity='0.2'/%3E%3Cpath d='M100 0C80 0 60 20 60 40s20 40 40 40V0z' fill='none'/%3E%3Ccircle cx='10' cy='10' r='2' fill='%23A08E6C'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 999;
    opacity: 0.4;
    transition: opacity 0.5s;
}

.variant-golden-aura .corner-ornament.top-left {
    top: -20px;
    left: -20px;
}

.variant-golden-aura .corner-ornament.top-right {
    top: -20px;
    right: -20px;
    transform: rotate(90deg);
}

.variant-golden-aura .corner-ornament.bottom-left {
    bottom: -20px;
    left: -20px;
    transform: rotate(-90deg);
}

.variant-golden-aura .corner-ornament.bottom-right {
    bottom: -20px;
    right: -20px;
    transform: rotate(180deg);
}

/* Image glow effect */
.variant-golden-aura .hero-img-wrap,
.variant-golden-aura .about-img .img-main,
.variant-golden-aura .service-card {
    box-shadow: 0 0 30px rgba(160, 142, 108, 0.3) !important;
    transition: box-shadow 0.5s;
}

/* Shimmer overlay on images */
.variant-golden-aura .hero-img-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.2) 50%, transparent 55%);
    background-size: 300% 300%;
    animation: luxuryShimmer 6s infinite linear;
    pointer-events: none;
}

@keyframes luxuryShimmer {
    0% {
        background-position: 200% 200%;
    }

    100% {
        background-position: -100% -100%;
    }
}

/* Headings Gold Gradient Text */
.variant-golden-aura .hero-main-title,
.variant-golden-aura .wpo-section-title h2 {
    background: linear-gradient(to right, #2b1f16 0%, #A08E6C 50%, #2b1f16 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldTextFlow 8s infinite linear;
    display: inline-block;
}

@keyframes goldTextFlow {
    to {
        background-position: 200% center;
    }
}

/* Responsive ornaments */
@media (max-width: 767px) {
    .corner-ornament {
        width: 150px;
        height: 150px;
    }
}