/* =====================================================
   OS'THÉMA BEAUTY — FEUILLE DE STYLE PRINCIPALE
   Identité : Noir • Or • Rose poudré • Beige
===================================================== */

/* 1. IDENTITÉ VISUELLE */

:root {
    --noir: #080808;
    --or: #D4AF37;
    --or-fonce: #A77D13;
    --rose: #E78BAA;
    --rose-fonce: #B85F7C;
    --rose-clair: #F5DCE5;
    --beige: #EADCC8;
    --beige-clair: #F5EDE3;
    --blanc: #FFFDF9;
    --gris: #A9A29B;
    --texte-doux: #655B52;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --ombre: 0 12px 35px rgba(8, 8, 8, .08);
    --rayon: 18px;
}

/* 2. BASE */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--beige);
    color: var(--noir);
    font-family: var(--sans);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

input,
textarea,
select {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--or);
    outline-offset: 4px;
}

/* 3. BARRE SUPÉRIEURE */

.topbar {
    min-height: 34px;
    padding: 8px 5%;
    background: var(--noir);
    color: var(--beige);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* 4. EN-TÊTE ET NAVIGATION */

.site-header {
    min-height: 86px;
    padding: 18px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    background: var(--beige);
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(8, 8, 8, .12);
}

.brand-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--serif);
    font-size: 29px;
    letter-spacing: 5px;
    font-weight: 500;
    white-space: nowrap;
}

.brand-logo small {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 6px;
    margin-top: 3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    position: relative;
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color .3s ease;
}

.nav-menu a:hover {
    color: var(--or-fonce);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--or);
    transition: width .3s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.action-btn,
.cart-btn,
.menu-toggle {
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--noir);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: color .3s ease, transform .3s ease;
}

.action-btn svg,
.cart-btn svg {
    width: 20px;
    height: 20px;
}

.action-btn:hover,
.cart-btn:hover {
    color: var(--or-fonce);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -7px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--or);
    color: var(--noir);
    display: grid;
    place-items: center;
    font-size: 10px;
}

.menu-toggle {
    display: none;
}

.text-link {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 5. BOUTONS */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: .3s ease;
}

.btn-gold,
.btn-dark,
.surprise-cta {
    background: var(--or);
    color: var(--noir);
    border: 1px solid var(--or);
}

.btn-gold:hover,
.btn-dark:hover,
.surprise-cta:hover {
    background: var(--noir);
    color: var(--or);
    border-color: var(--noir);
}

.btn:hover,
.btn-add:hover,
.btn-cart:hover,
.btn-details:hover {
    transform: translateY(-2px);
}

/* 6. ACCUEIL — HERO */

.hero-editorial {
    min-height: 650px;
    padding: 75px 8% 65px;
    background: var(--noir);
    color: var(--beige);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
    position: relative;
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: block;
    color: var(--or);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 10px;
    margin-bottom: 27px;
}

.hero-copy h1 {
    font-family: var(--serif);
    font-size: clamp(48px, 6.5vw, 88px);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 27px;
}

.hero-copy h1 span {
    color: var(--rose);
}

.hero-copy p {
    max-width: 420px;
    color: #D4C8B9;
    line-height: 1.9;
    font-size: 13px;
    margin-bottom: 35px;
}

.hero-signature {
    margin-top: 45px;
    color: var(--or);
    font-family: var(--serif);
    font-size: 14px;
    font-style: italic;
    line-height: 1.8;
}

.hero-visual {
    min-height: 470px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.image-placeholder span {
    position: relative;
    z-index: 1;
    padding: 15px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.8;
    opacity: .65;
}

.hero-photo {
    width: 82%;
    height: 440px;
    background: linear-gradient(145deg, #6A4B4A, #D9A5A5 55%, var(--beige));
    border-radius: 48% 48% 22px 22px;
}

.hero-floating-note {
    position: absolute;
    bottom: 25px;
    left: -15px;
    max-width: 175px;
    padding: 22px 25px;
    background: var(--rose);
    color: var(--noir);
    border-radius: 16px;
    font-family: var(--serif);
    font-size: 17px;
    transform: rotate(-5deg);
}

.hero-floating-note span {
    display: block;
    font-family: var(--sans);
    font-size: 9px;
    margin-bottom: 10px;
}

.hero-vertical-text {
    position: absolute;
    right: 0;
    top: 20px;
    writing-mode: vertical-rl;
    color: var(--or);
    font-size: 9px;
    letter-spacing: 4px;
}

/* 7. BANDEAU ET INTRODUCTION */

.brand-strip {
    padding: 19px 5%;
    background: var(--or);
    color: var(--noir);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-family: var(--serif);
    font-size: 15px;
    font-style: italic;
}

.intro-section {
    padding: 110px 10%;
    display: grid;
    grid-template-columns: .25fr 2fr .5fr;
    align-items: start;
    gap: 35px;
    background: var(--beige);
}

.intro-number {
    color: var(--or-fonce);
    font-family: var(--serif);
    font-size: 18px;
}

.intro-content h2 {
    max-width: 800px;
    font-family: var(--serif);
    font-size: clamp(32px, 4.5vw, 58px);
    font-weight: 400;
    line-height: 1.2;
}

.intro-content h2 span,
.section-topline h2 span,
.story-content h2 span,
.contact-heading h2 span {
    color: var(--rose-fonce);
}

.intro-content p {
    max-width: 570px;
    margin-top: 25px;
    color: var(--texte-doux);
    font-size: 13px;
    line-height: 1.9;
}

.intro-decoration {
    padding-top: 10px;
    color: var(--or);
    font-family: var(--serif);
    font-size: 15px;
    letter-spacing: 3px;
    text-align: right;
}

/* 8. SECTIONS ET TITRES */

.categories-section,
.shop-section,
.journal-section {
    padding: 85px 7%;
}

.section-topline {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 40px;
}

.section-topline h2 {
    font-family: var(--serif);
    font-size: clamp(35px, 4vw, 55px);
    font-weight: 400;
}

.section-topline p {
    color: #776C60;
    font-size: 11px;
    letter-spacing: 1px;
}

.section-topline a {
    padding-bottom: 7px;
    border-bottom: 1px solid var(--or);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* 9. CATÉGORIES */

.categories-section,
.journal-section {
    background: var(--blanc);
}

.category-mosaic {
    display: grid;
    grid-template-columns: 1.15fr .85fr 1fr;
    grid-template-rows: 250px 220px;
    gap: 15px;
}

.category-tile {
    min-height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: var(--rayon);
    transition: transform .3s ease;
}

.category-large {
    grid-row: span 2;
}

.tile-photo {
    width: 100%;
    height: 100%;
    min-height: 220px;
    transition: transform .6s ease;
}

.category-tile:hover .tile-photo {
    transform: scale(1.04);
}

.tile-photo span {
    color: var(--noir);
}

.category-tile:nth-child(1) .tile-photo {
    background: linear-gradient(145deg, #C9A18B, #7A4E45);
}

.category-tile:nth-child(2) .tile-photo {
    background: linear-gradient(145deg, #E7B9C9, #A85D78);
}

.category-tile:nth-child(3) .tile-photo {
    background: linear-gradient(145deg, #E8D3A2, #A77D32);
}

.category-tile:nth-child(4) .tile-photo {
    background: linear-gradient(145deg, #B7A18D, #665044);
}

.tile-caption {
    position: absolute;
    left: 22px;
    bottom: 20px;
    z-index: 2;
    color: var(--blanc);
}

.tile-caption h3 {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
}

.tile-caption span {
    display: block;
    margin-top: 7px;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.category-pink {
    padding: 25px;
    background: var(--rose);
    color: var(--noir);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: var(--rayon);
}

.category-pink h3 {
    font-family: var(--serif);
    font-size: 31px;
    font-weight: 400;
}

.category-pink p {
    margin-top: 12px;
    font-size: 10px;
    line-height: 1.8;
}

/* 10. PRODUITS ET CARTES */

.shop-section {
    background: var(--beige);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    min-width: 0;
    padding-bottom: 15px;
    overflow: hidden;
    background: rgba(255, 253, 249, .55);
    border-radius: var(--rayon);
    box-shadow: 0 5px 20px rgba(8, 8, 8, .035);
    transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre);
}

.product-photo {
    height: 300px;
    margin-bottom: 17px;
    position: relative;
    overflow: hidden;
    background: var(--rose-clair);
    border-radius: var(--rayon);
}

.product-card:nth-child(2n) .product-photo {
    background: #D8C5AE;
}

.product-card:nth-child(3n) .product-photo {
    background: #D8B1B9;
}

.product-photo span {
    color: var(--noir);
}

.product-tag {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 7px 10px;
    background: var(--or);
    color: var(--noir);
    border-radius: 30px;
    font-size: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin: 0 13px;
}

.product-details h3 {
    margin-bottom: 8px;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
}

.product-details p {
    margin-bottom: 13px;
    color: #806C5D;
    font-size: 12px;
}

.product-price {
    color: var(--or-fonce);
    font-size: 13px;
    font-weight: 700;
}

.btn-add {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    background: var(--noir);
    color: var(--beige);
    border: 1px solid var(--noir);
    font-size: 21px;
    transition: .3s ease;
}

.btn-add:hover {
    background: var(--or);
    color: var(--noir);
    border-color: var(--or);
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 13px 0;
}

.btn-details {
    flex: 1;
    min-height: 38px;
    padding: 8px;
    background: transparent;
    color: var(--noir);
    border: 1px solid var(--noir);
    border-radius: 50px;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .3s ease;
}

.btn-details:hover {
    background: var(--noir);
    color: var(--beige);
}

.product-availability {
    display: block;
    margin: 10px 13px 0;
    color: #806C5D;
    font-size: 10px;
}

.product-card.is-hidden {
    display: none;
}

/* 11. FILTRES DE LA BOUTIQUE */

.shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 35px;
}

.shop-filter {
    padding: 11px 19px;
    background: transparent;
    color: var(--noir);
    border: 1px solid rgba(8, 8, 8, .25);
    border-radius: 50px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .3s ease;
}

.shop-filter:hover,
.shop-filter.active {
    background: var(--noir);
    color: var(--or);
    border-color: var(--noir);
}

/* 12. CADEAUX SURPRISES */

.gift-section {
    padding: 100px 9%;
    background: var(--noir);
    color: var(--beige);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.gift-visual {
    min-height: 420px;
    position: relative;
}

.gift-photo {
    width: 85%;
    height: 390px;
    background: linear-gradient(145deg, #D8B1B9, #A77D32, #5B383A);
    border-radius: 48% 48% 20px 20px;
}

.gift-stamp {
    position: absolute;
    right: 0;
    bottom: 15px;
    width: 125px;
    height: 125px;
    padding: 15px;
    background: var(--or);
    color: var(--noir);
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--serif);
    font-size: 18px;
    transform: rotate(9deg);
}

.gift-content .eyebrow {
    margin-bottom: 20px;
}

.gift-content h2 {
    margin-bottom: 25px;
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 65px);
    font-weight: 400;
    line-height: 1.1;
}

.gift-content h2 span {
    color: var(--rose);
}

.gift-content p {
    max-width: 450px;
    margin-bottom: 22px;
    color: #C6B9A9;
    font-size: 13px;
    line-height: 1.9;
}

.gift-price {
    margin-bottom: 25px;
    color: var(--or);
    font-size: 19px;
}

.gift-price small {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: 2px;
}

/* 13. HISTOIRE DE LA MARQUE */

.story-section {
    padding: 110px 9%;
    background: var(--rose-clair);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.story-content h2 {
    margin-bottom: 25px;
    font-family: var(--serif);
    font-size: clamp(37px, 4vw, 55px);
    font-weight: 400;
    line-height: 1.15;
}

.story-content p {
    margin-bottom: 20px;
    color: #61504E;
    font-size: 13px;
    line-height: 2;
}

.story-visual {
    height: 420px;
    background: linear-gradient(145deg, var(--beige), var(--or), #A85D78);
    border-radius: 48% 48% 20px 20px;
}

/* 14. JOURNAL */

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.journal-card {
    min-width: 0;
    transition: transform .3s ease;
}

.journal-card:hover {
    transform: translateY(-5px);
}

.journal-photo {
    height: 220px;
    margin-bottom: 18px;
    background: linear-gradient(145deg, #D8B1B9, var(--beige));
    border-radius: var(--rayon);
}

.journal-card:nth-child(2) .journal-photo {
    background: linear-gradient(145deg, var(--or), #7A4E45);
}

.journal-card:nth-child(3) .journal-photo {
    background: linear-gradient(145deg, var(--beige), #A85D78);
}

.journal-card small {
    color: var(--or-fonce);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.journal-card h3 {
    margin-top: 10px;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 400;
}

.journal-card a {
    display: inline-block;
    margin-top: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--or);
    font-size: 10px;
    letter-spacing: 1.5px;
}

/* 15. NEWSLETTER */

.newsletter-section {
    padding: 85px 7%;
    background: var(--rose);
    text-align: center;
}

.newsletter-section h2 {
    margin-bottom: 15px;
    font-family: var(--serif);
    font-size: clamp(35px, 4vw, 52px);
    font-weight: 400;
}

.newsletter-section h2 span {
    color: var(--blanc);
}

.newsletter-section p {
    margin-bottom: 28px;
    font-size: 12px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: auto;
    padding-left: 18px;
    overflow: hidden;
    border: 1px solid rgba(8, 8, 8, .25);
    border-radius: 50px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 15px 5px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--noir);
}

.newsletter-form input::placeholder {
    color: #49343A;
}

.newsletter-form button {
    padding: 14px 22px;
    background: var(--noir);
    color: var(--beige);
    border: none;
    border-radius: 50px;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 16. CONTACT */

.contact-section {
    padding: 95px 7%;
    background: var(--blanc);
}

.contact-inner {
    max-width: 900px;
    margin: 0 auto;
}

.contact-heading {
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
}

.contact-heading h2 {
    margin-bottom: 18px;
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 55px);
    font-weight: 400;
}

.contact-heading p {
    color: var(--texte-doux);
    font-size: 13px;
    line-height: 1.9;
}

.contact-form {
    max-width: 760px;
    margin: 0 auto;
    padding: 35px;
    background: var(--blanc);
    border: 1px solid rgba(8, 8, 8, .06);
    border-radius: 24px;
    box-shadow: var(--ombre);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-field.full-width {
    grid-column: 1 / -1;
}

.contact-field label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 16px;
    background: var(--beige);
    color: var(--noir);
    border: 1px solid #D9CBB9;
    border-radius: 13px;
    font-size: 13px;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--or);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .15);
    outline: none;
}

.contact-field textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.contact-submit,
.contact-cancel {
    flex: 1;
    max-width: 220px;
    padding: 16px 25px;
    color: var(--noir);
    border: 1px solid var(--or);
    border-radius: 50px;
    background: var(--or);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: .3s ease;
}

.contact-submit:hover,
.contact-cancel:hover {
    background: var(--noir);
    color: var(--or);
    border-color: var(--noir);
    transform: translateY(-2px);
}

.contact-note,
.contact-feedback {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 11px;
    line-height: 1.8;
}

.contact-note {
    color: #776C60;
}

.contact-feedback {
    min-height: 20px;
    color: #276342;
    font-size: 13px;
}

/* 17. PAGES SECONDAIRES : BOUTIQUE */

.shop-page {
    max-width: 1250px;
    margin: 0 auto;
    padding: 65px 6%;
}

.shop-heading {
    margin-bottom: 35px;
    text-align: center;
}

.shop-heading h1 {
    font-family: var(--serif);
    font-size: clamp(35px, 5vw, 55px);
    font-weight: 400;
}

.shop-heading p {
    margin-top: 12px;
    color: var(--texte-doux);
    line-height: 1.8;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.shop-card {
    overflow: hidden;
    background: var(--blanc);
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
}

.shop-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.shop-card h3,
.shop-card p {
    margin: 13px;
}

.shop-card h3 {
    font-family: var(--serif);
    font-weight: 400;
}

.shop-card button {
    margin: 0 13px 15px;
}

/* 18. PAGE PRODUIT */

.product-page {
    max-width: 1050px;
    margin: 55px auto;
    padding: 25px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
    padding: 30px;
    background: var(--blanc);
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
}

.product-layout img {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    background: var(--beige);
    border-radius: 10px;
}

.product-info h1 {
    margin-bottom: 15px;
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 600;
}

.product-info p {
    color: #666;
    line-height: 1.8;
}

.product-info .product-price {
    margin: 20px 0;
    color: var(--or-fonce);
    font-size: 23px;
}

.product-info input {
    width: 75px;
    margin: 15px 0;
    padding: 12px;
    border: 1px solid #DDD;
    border-radius: 6px;
}

.product-info button {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--or);
    border: 0;
    border-radius: 50px;
    font-weight: 700;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--or-fonce);
}

/* 19. MODALE PRODUIT */

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .72);
}

.product-modal.open {
    display: flex;
}

.product-modal-content {
    position: relative;
    width: min(750px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--beige);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.product-modal-photo {
    min-height: 380px;
    padding: 25px;
    background: linear-gradient(145deg, var(--rose-clair), #D8C5AE);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    letter-spacing: 2px;
}

.product-modal-info {
    padding: 55px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-modal-category {
    margin-bottom: 18px;
    color: var(--or-fonce);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-modal-info h2 {
    margin-bottom: 18px;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
}

.product-modal-description {
    margin-bottom: 20px;
    color: var(--texte-doux);
    font-size: 12px;
    line-height: 1.9;
}

.product-modal-price {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.product-modal-stock {
    margin-bottom: 25px;
    color: #806C5D;
    font-size: 10px;
}

.product-modal-extra {
    margin: 22px 0;
    padding: 18px 0;
    border-top: 1px solid var(--beige);
    border-bottom: 1px solid var(--beige);
}

.product-modal-extra h3 {
    margin: 15px 0 6px;
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
}

.product-modal-extra h3:first-child {
    margin-top: 0;
}

.product-modal-extra p {
    color: #686461;
    font-size: 13px;
    line-height: 1.8;
}

.product-modal-add {
    width: 100%;
    padding: 15px;
    background: var(--noir);
    color: var(--beige);
    border: 1px solid var(--noir);
    border-radius: 50px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-modal-add:hover {
    background: var(--or);
    color: var(--noir);
}

.product-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    z-index: 2;
    width: 35px;
    height: 35px;
    background: var(--noir);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
}

/* 20. PANIER ET COMMANDE */

.cart-page,
.checkout-page {
    max-width: 1100px;
    margin: 50px auto;
    padding: 25px;
}

.cart-page h1,
.checkout-page h1 {
    margin-bottom: 30px;
    font-family: var(--serif);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
}

.cart-item,
.cart-summary,
.checkout-card {
    margin-bottom: 20px;
    padding: 22px;
    background: var(--blanc);
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
}

.cart-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-page button,
.checkout-page button {
    cursor: pointer;
}

/* 21. ESPACE CLIENT */

.account-page {
    max-width: 1050px;
    margin: 50px auto;
    padding: 25px;
}

.account-page h1,
.account-page h2 {
    font-family: var(--serif);
    font-weight: 400;
}

.account-card {
    padding: 30px;
    background: var(--blanc);
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
}

.account-page input,
.account-page select,
.account-page textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #D9CBB9;
    border-radius: 8px;
    background: var(--blanc);
}

.account-page button {
    padding: 13px 20px;
    background: var(--or);
    color: var(--noir);
    border: 1px solid var(--or);
    border-radius: 50px;
}

/* 22. ESPACES VENDEUR ET ADMINISTRATEUR */

.dashboard,
.admin-dashboard,
.seller-dashboard {
    max-width: 1250px;
    margin: 35px auto;
    padding: 25px;
}

.dashboard h1,
.admin-dashboard h1,
.seller-dashboard h1 {
    margin-bottom: 25px;
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 400;
}

.dashboard-card,
.admin-card,
.seller-card,
.stat-card {
    padding: 22px;
    background: var(--blanc);
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
}

.dashboard button,
.admin-dashboard button,
.seller-dashboard button {
    padding: 10px 16px;
    border: 1px solid var(--or);
    border-radius: 30px;
    background: var(--or);
    color: var(--noir);
}

/* 23. PAGES JURIDIQUES */

.legal-page {
    max-width: 1000px;
    margin: 50px auto;
    padding: 25px;
}

.legal-page h1,
.legal-hero h1 {
    margin-bottom: 25px;
    font-family: var(--serif);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
}

.legal-content {
    padding: 35px;
    background: var(--blanc);
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
}

.legal-content h2 {
    margin: 25px 0 12px;
    font-family: var(--serif);
    font-weight: 400;
}

.legal-content p,
.legal-content li {
    color: var(--texte-doux);
    font-size: 13px;
    line-height: 1.9;
}

.legal-footer {
    margin-top: 35px;
    padding: 30px;
    background: var(--noir);
    color: var(--beige);
}

/* 24. NOTIFICATIONS ET RECHERCHE */

.osthema-notification {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 99999;
    max-width: calc(100% - 40px);
    padding: 15px 22px;
    background: var(--noir);
    color: var(--blanc);
    border-left: 4px solid var(--or);
    border-radius: 8px;
    box-shadow: var(--ombre);
    font-size: 14px;
}

.osthema-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    padding: 12vh 20px 20px;
    background: rgba(8, 8, 8, .87);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.osthema-search-overlay > div {
    width: 100%;
    max-width: 600px;
    padding: 30px;
    background: var(--blanc);
    border-radius: var(--rayon);
}

.osthema-search-overlay input {
    width: 100%;
    padding: 14px;
    margin: 20px 0;
    border: 1px solid #DDD;
    border-radius: 8px;
}

/* 25. PANIER LATÉRAL */

.osthema-cart-overlay {
    backdrop-filter: blur(3px);
}

.osthema-cart-drawer {
    padding: 30px 25px !important;
    background: var(--blanc) !important;
    color: var(--noir) !important;
    border-left: 3px solid var(--or);
    border-radius: 24px 0 0 24px;
    box-shadow: -10px 0 35px rgba(0, 0, 0, .2) !important;
}

.osthema-cart-drawer h2,
.osthema-cart-drawer h3 {
    font-family: var(--serif);
    font-weight: 500;
}

.osthema-cart-drawer h2 {
    font-size: 27px;
}

.osthema-cart-drawer h3 {
    padding-top: 18px;
    border-top: 1px solid var(--or);
    font-size: 21px !important;
}

.osthema-cart-drawer strong {
    font-family: var(--serif);
    font-size: 15px !important;
}

.osthema-cart-drawer span {
    color: #77716B;
}

.osthema-cart-drawer button {
    transition: .25s ease;
}

.osthema-cart-drawer button:hover {
    color: var(--or-fonce);
}

.osthema-cart-drawer .btn-gold {
    padding: 16px !important;
    background: var(--or) !important;
    color: var(--noir) !important;
    border: 1px solid var(--or) !important;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.osthema-cart-drawer .btn-dark {
    padding: 13px 20px !important;
    background: var(--noir) !important;
    color: var(--blanc) !important;
    border: 1px solid var(--noir) !important;
    border-radius: 50px;
}

/* 26. PIED DE PAGE */

.site-footer {
    padding: 65px 7% 25px;
    background: var(--noir);
    color: var(--beige);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    margin-bottom: 18px;
    font-size: 30px;
    letter-spacing: 4px;
}

.footer-logo small {
    font-size: 9px;
    letter-spacing: 6px;
}

.footer-brand p {
    max-width: 270px;
    color: #BEB1A2;
    font-size: 11px;
    line-height: 1.9;
}

.footer-signature {
    display: inline-block;
    margin-top: 18px;
    color: var(--or);
    font-size: 9px;
    letter-spacing: 2px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: var(--or);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-column a,
.footer-column p {
    display: block;
    margin-bottom: 13px;
    color: #C9BEB2;
    font-size: 11px;
}

.footer-column a:hover,
.social-links a:hover {
    color: var(--rose);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--or);
    font-size: 12px;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid #34302A;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #968A7D;
    font-size: 9px;
    letter-spacing: 1px;
}

/* 27. ANIMATIONS */

.hero-copy,
.section-topline,
.intro-content {
    animation: osthemaFadeUp .8s ease both;
}

@keyframes osthemaFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 28. RESPONSIVE — TABLETTES */

@media (max-width: 1000px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 9px;
    }

    .hero-editorial {
        padding-left: 6%;
        padding-right: 6%;
    }

    .products-grid,
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-photo {
        height: 300px;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 29. RESPONSIVE — MOBILES */

@media (max-width: 700px) {
    .topbar {
        justify-content: center;
        text-align: center;
        font-size: 8px;
    }

    .topbar > *:not(:first-child) {
        display: none;
    }

    .site-header {
        min-height: 70px;
        padding: 15px 5%;
    }

    .brand-logo {
        font-size: 23px;
        letter-spacing: 3px;
    }

    .menu-toggle {
        display: flex;
        order: -1;
        font-size: 23px;
    }

    .header-actions {
        gap: 12px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 25px 7%;
        background: var(--beige);
        border-top: 1px solid rgba(0, 0, 0, .1);
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

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

    .nav-menu a {
        font-size: 11px;
    }

    .hero-editorial {
        grid-template-columns: 1fr;
        padding: 65px 7% 55px;
        gap: 35px;
    }

    .hero-copy h1 {
        font-size: 53px;
    }

    .hero-visual {
        min-height: 350px;
    }

    .hero-photo {
        height: 340px;
    }

    .hero-floating-note {
        left: 0;
        bottom: 5px;
    }

    .intro-section {
        padding: 75px 7%;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .intro-decoration {
        display: none;
    }

    .categories-section,
    .shop-section,
    .journal-section {
        padding: 65px 6%;
    }

    .section-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 190px 190px;
    }

    .category-large {
        grid-row: span 2;
    }

    .category-pink {
        grid-column: span 2;
    }

    .products-grid,
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .product-photo {
        height: 210px;
    }

    .product-details h3 {
        font-size: 15px;
    }

    .gift-section,
    .story-section {
        grid-template-columns: 1fr;
        padding: 70px 7%;
        gap: 35px;
    }

    .gift-visual {
        min-height: 320px;
    }

    .gift-photo {
        height: 300px;
    }

    .gift-stamp {
        width: 100px;
        height: 100px;
        font-size: 15px;
    }

    .story-visual {
        height: 300px;
    }

    .journal-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .journal-photo {
        height: 250px;
    }

    .newsletter-section {
        padding: 65px 7%;
    }

    .newsletter-form button {
        padding: 0 12px;
        font-size: 8px;
    }

    .contact-section {
        padding: 65px 6%;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 23px 18px;
    }

    .contact-field.full-width,
    .contact-actions,
    .contact-note,
    .contact-feedback {
        grid-column: 1;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-submit,
    .contact-cancel {
        width: 100%;
        max-width: none;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        line-height: 1.8;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-info h1 {
        font-size: 29px;
    }

    .product-modal-content {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .product-modal-photo {
        min-height: 200px;
    }

    .product-modal-info {
        padding: 30px 25px;
    }

    .product-modal-info h2 {
        font-size: 27px;
    }

    .legal-content {
        padding: 23px;
    }
}

/* 30. PETITS ÉCRANS */

@media (max-width: 380px) {
    .products-grid,
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .product-photo {
        height: 300px;
    }

    .category-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 220px);
    }

    .category-large {
        grid-row: auto;
    }

    .category-pink {
        grid-column: auto;
    }

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

    .product-page {
        padding: 12px;
    }

    .product-layout {
        padding: 18px;
    }

    .osthema-cart-drawer {
        padding: 22px 18px !important;
    }
}

/* 31. ACCESSIBILITÉ : RÉDUCTION DES ANIMATIONS */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* Images du catalogue Os'Théma Beauty */
.brand-logo img {
    width: 190px;
    max-height: 70px;
    object-fit: contain;
}

.product-photo img,
.shop-card-image img,
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-photo img {
    min-height: 220px;
}

.shop-card-image img {
    height: 100%;
}

@media (max-width: 600px) {
    .brand-logo img {
        width: 125px;
        max-height: 48px;
    }
}


/* Images de la page d’accueil : logo, collections, coffret, marque et journal */
.hero-photo img,
.tile-photo img,
.gift-photo img,
.story-visual img,
.journal-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo img {
    border-radius: inherit;
}

.tile-photo img {
    min-height: 220px;
}

/* =====================================================
   AJUSTEMENTS DES IMAGES — OS'THÉMA BEAUTY
===================================================== */

/* Logo */
.brand-logo img {
    width: 155px;
    height: 55px;
    object-fit: contain;
}

/* Images de l'accueil */
.image-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Masquer le texte de remplacement lorsqu'une photo est présente */
.image-placeholder:has(img) span {
    display: none;
}

/* Photos des produits sur la page boutique */
.shop-card-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: var(--beige);
}

.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Photos des produits sur la page d'accueil */
.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Filtres de la boutique */
.shop-filters button {
    transition: background .3s ease, color .3s ease;
}

/* Pied de page */
.footer-logo img {
    width: 145px;
    height: 50px;
    object-fit: contain;
}

/* Téléphones */
@media (max-width: 600px) {
    .brand-logo img {
        width: 125px;
        height: 45px;
    }

    .shop-card-image {
        height: 175px;
    }

    .footer-logo img {
        width: 135px;
        height: 45px;
    }
}

/* =====================================================
   CORRECTIONS FINALES — OS'THÉMA BEAUTY
===================================================== */

/* Fenêtre des détails produit : défilement correct */
.product-modal-content {
    overflow-x: hidden;
    overflow-y: auto;
}

/* Images : affichage propre dans leurs conteneurs */
.hero-photo,
.tile-photo,
.gift-photo,
.story-visual,
.journal-photo,
.product-photo,
.shop-card-image {
    position: relative;
    overflow: hidden;
}

.hero-photo img,
.tile-photo img,
.gift-photo img,
.story-visual img,
.journal-photo img,
.product-photo img,
.shop-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Logo */
.brand-logo img {
    width: 155px;
    height: 55px;
    object-fit: contain;
}

.footer-logo img {
    width: 145px;
    height: 50px;
    object-fit: contain;
}

/* Éviter les débordements sur les petits écrans */
.product-modal,
.product-modal-content,
.product-layout,
.contact-form {
    max-width: 100%;
}

@media (max-width: 600px) {
    .brand-logo img {
        width: 125px;
        height: 45px;
    }

    .footer-logo img {
        width: 135px;
        height: 45px;
    }

    .product-modal-content {
        max-height: 90vh;
    }
}