﻿@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* ========================================
   MAC'N GI - Style Mobile-First
   Identité visuelle: 
   - Titres: Monsieur La Doulaise
   - Texte: Libre Baskerville
   - Couleur: #674ea7 (violet)
   ======================================== */

/* Variables */
:root {
    --primary: #674ea7;
    --primary-dark: #4a3578;
    --primary-light: #8b7bb8;
    --cream: #faf9f7;
    --gold: #c9a961;
    --white: #ffffff;
    --black: #333333;
    --gray: #666666;
    --gray-light: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --radius: 8px;
    --font-title: 'Monsieur La Doulaise', cursive;
    --font-body: 'Libre Baskerville', Georgia, serif;
    --font-libre: 'Libre Baskerville', Georgia, serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    background: var(--cream);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray);
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

main, .page-content {
    flex: 1;
}

/* Titres en Monsieur La Doulaise */
h1, h2, h3 {
    font-family: var(--font-title);
    font-weight: normal;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Images dans les cartes produits - forcer les dimensions */
.product-image img {
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   HEADER - Mobile First
   ======================================== */

header {
    max-width: 100%;
}

.header-top {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
    max-width: 100%;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: var(--white);
    position: relative;
    z-index: 1000;
    box-shadow: var(--shadow);
    max-width: 100%;
}

.header-social {
    display: none;
}

.header-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-icons a {
    color: var(--primary);
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.65rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.65rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Bouton Menu Hamburger */
.menu-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    padding: 0.5rem;
}

/* Navigation Mobile */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    overflow-y: auto;
}

nav.open {
    transform: translateX(0);
}

.nav-header {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 1rem;
}

.nav-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary);
}

nav > a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--gray-light);
    color: var(--primary-dark);
    font-weight: bold;
}

nav > a:hover {
    color: var(--primary);
    background: var(--cream);
}

/* Dropdown Mobile */
.dropdown {
    border-bottom: 1px solid var(--gray-light);
}

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background: none;
    border: none;
    text-align: left;
    color: var(--primary-dark);
    font-weight: bold;
}

.dropdown-toggle::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.dropdown.open .dropdown-toggle::after {
    content: '−';
}

.dropdown-menu {
    display: none;
    padding-left: 1rem;
    background: var(--cream);
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    color: var(--gray);
}

.dropdown-menu a:hover {
    color: var(--primary);
}

/* ========================================
   HERO - Mobile First
   ======================================== */

.hero {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--cream);
}

.hero-logo {
    max-width: 250px;
    margin: 0 auto 1.5rem;
    mix-blend-mode: multiply;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--primary);
    font-style: italic;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.hero-note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-buttons .btn {
    width: 100%;
    max-width: 260px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s;
    text-align: center;
    width: auto;
    max-width: 280px;
}

.btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-dark);
}

/* ========================================
   SECTIONS - Mobile First
   ======================================== */

/* Bloc Nouveautés (page d'accueil) */
.nouveautes {
    padding: 2.5rem 1rem 1.5rem;
}

.nouveautes-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 420px;
    margin: 0 auto;
}

.nouveaute-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nouveaute-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.nouveaute-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: center;
}

.nouveaute-info {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
}

.nouveaute-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: normal;
    letter-spacing: 0.01em;
    color: var(--gray);
    width: fit-content;
    margin-bottom: 0.2rem;
    align-self: flex-start;
}

.nouveaute-info h3 {
    font-family: var(--font-title);
    font-size: 2.3rem;
    color: var(--primary);
    font-weight: normal;
    line-height: 1.1;
    margin: 0 0 0.15rem 0;
}

.nouveaute-info p {
    font-size: 1.0rem;
    color: var(--gray);
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Nouveautés — Tablette+ */
@media (min-width: 768px) {
    .nouveautes {
        padding: 3rem 2rem 2rem;
    }

    .nouveautes-grid {
        flex-direction: row;
        justify-content: center;
        max-width: 1200px;
        gap: 2rem;
    }
    
    .nouveaute-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        flex: 0 1 400px;
        max-width: 400px;
        border-radius: 14px;
    }
    
    .nouveaute-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .nouveaute-info {
        padding: 1rem 1.2rem 1.2rem;
        text-align: center;
        align-items: center;
        gap: 0.35rem;
    }
    
    .nouveaute-info h3 {
        font-size: 2.9rem;
        margin: 0.15rem 0 0.1rem;
    }
    
    .nouveaute-info p {
        font-size: 1.05rem;
        line-height: 1.45;
    }
}

section {
    padding: 2rem 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
}

.section-header h1,
.section-header h2 {
    font-family: var(--font-title);
    font-size: 2.8rem;
    color: var(--primary);
    font-weight: normal;
}

.section-header p {
    color: var(--gray);
    font-family: var(--font-libre);
    font-style: italic;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.section-header .section-logo {
    height: 120px;
    margin: 1rem auto;
    mix-blend-mode: multiply;
}

.ornament {
    display: block;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 1rem auto;
    position: relative;
}

.ornament::before {
    content: '◆';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--cream);
    color: var(--primary);
    padding: 0 8px;
    font-size: 0.5rem;
}

section h2 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Grille de catégories */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
    text-align: center;
}

.card h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.card .price {
    color: var(--primary);
    font-weight: bold;
}

/* Category Cards avec overlay */
.category-card {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.8rem;
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(103, 78, 167, 0.85) 0%, rgba(103, 78, 167, 0.3) 100%);
}

.category-overlay h3 {
    font-family: var(--font-title);
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
    font-weight: normal;
    white-space: nowrap;
}

.category-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-style: italic;
}

/* Section About */
.about {
    background: var(--cream);
}

.about-content {
    text-align: justify;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
}

.about-content .btn {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
}

/* Grilles spécifiques */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.collection-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.collection-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-bg);
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

.collection-info {
    padding: 1.5rem;
    text-align: center;
}

.collection-info h2 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.collection-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.discover-link {
    display: inline-block;
    color: var(--gold);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.collection-card:hover .discover-link {
    color: var(--primary-dark);
}

.decorations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.decorations-grid .category-card {
    flex: 0 0 calc(33.333% - 0.67rem);
    height: auto;
    aspect-ratio: 1 / 1;
}

/* ========================================
   FOOTER - Mobile First
   ======================================== */

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 1.5rem 1rem 1rem;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.footer-content,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.5rem;
}

.footer-section h3 {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
    color: var(--gold);
    text-align: left;
    font-family: inherit;
    font-weight: bold;
}

.footer-section a {
    display: block;
    color: rgba(255,255,255,0.7);
    padding: 0.1rem 0;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: left;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.footer-social img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-social img:hover {
    opacity: 1;
}

.footer-bottom {
    margin-top: 0.8rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    text-align: center;
}

.footer-legal {
    font-size: 0.75rem;
    margin-top: 0.15rem;
}

/* (.favorites-count doublon supprimé — fusionné dans le header) */

/* ========================================
   PAGES PRODUITS - Mobile First
   ======================================== */

.product-page {
    padding: 1.5rem 1rem;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ========================================
   BREADCRUMB - Standard pour toutes les pages
   ======================================== */
.breadcrumb-wrapper {
    background: #faf9f7;
    padding: 24px 20px 14px 40px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* En desktop, compenser le header fixed */
@media (min-width: 768px) {
    .breadcrumb-wrapper {
        margin-top: 120px; /* Hauteur approximative du header desktop */
    }
}

.breadcrumb-wrapper .breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    font-size: 16px;
    color: #666;
}

.breadcrumb-wrapper .breadcrumb a {
    color: #674ea7;
    text-decoration: none;
}

.breadcrumb-wrapper .breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-wrapper .breadcrumb span {
    color: #999;
    margin: 0 5px;
}

.breadcrumb-container {
    display: block !important;
    background: #faf9f7;
    padding: 1.2rem 1rem 1rem 2.5rem;
    margin: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.breadcrumb-container .breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    display: block !important;
    font-size: 1rem;
    color: #333333 !important;
    position: relative;
    z-index: 2;
}

.breadcrumb-container .breadcrumb a {
    color: #674ea7 !important;
    text-decoration: underline;
}

.breadcrumb-container .breadcrumb span {
    color: #666666 !important;
    margin: 0 0.3rem;
}

.breadcrumb {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.3rem;
    color: var(--gray-light);
}

/* ========================================
   PAGE PRODUIT
   ======================================== */

/* Breadcrumb - Page produit (plus petit) */
.product-page .breadcrumb {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.product-page .breadcrumb a {
    color: var(--primary);
}

.product-page .breadcrumb a:hover {
    text-decoration: underline;
}

.product-page .breadcrumb span {
    margin: 0;
    color: var(--gray-light);
}

/* Titre avec favoris */
.product-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    margin-bottom: 3.5rem;
    position: relative;
}

.product-title {
    font-family: var(--font-title);
    font-size: 2.9rem;
    color: var(--primary);
    font-weight: 400;
    text-align: center;
    flex: 1;
}

.product-title .variant {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-style: italic;
    color: #888;
    display: block;
    margin-top: 0.3rem;
}

.deco-symbol {
    font-size: 0.62em;
    vertical-align: 0.08em;
}

.deco-symbol.deco-heart {
    color: var(--primary-dark);
    font-size: 0.78em;
}

.deco-symbol.deco-mars {
    -webkit-text-stroke: 0.05em currentColor;
}

.deco-heart-svg {
    display: inline-block;
    width: 0.32em;
    height: 0.32em;
    vertical-align: 0.14em;
    color: var(--primary-dark);
}

.deco-heart-svg svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

/* Cœur agrandi dans les titres de section (3.5rem) pour matcher la taille absolue du hero (4.5rem) */
.collection-title .deco-heart-svg {
    width: 0.42em;
    height: 0.42em;
}

.cross-suggestion {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 1rem 0 0.5rem;
}

.cross-suggestion-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--primary-dark);
    margin-bottom: 1.3rem;
}

.favorite-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.favorite-btn:hover svg {
    transform: scale(1.1);
}

.favorite-btn svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--primary-dark);
    stroke-width: 2;
    transition: all 0.3s;
}

.favorite-btn.active svg {
    fill: var(--primary-dark);
    stroke: var(--primary-dark);
}

/* Zone principale */
.product-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

/* Galerie */
.product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.product-gallery .main-image {
    width: 100%;
    max-width: calc(100vw - 2rem);
    max-height: 600px;
    object-fit: contain;
    margin-bottom: 1rem;
    background: var(--cream);
    border-radius: 8px;
    cursor: zoom-in;
}

.thumbnail-grid {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

/* Galerie bijoux - thumbnails pleine largeur */
.bijou-gallery .thumbnail-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.bijou-gallery .thumbnail {
    width: 90px;
    height: 90px;
    aspect-ratio: 1;
    flex-shrink: 0;
}

/* Caractéristiques largeur visuel pour bijoux */
.bijou-gallery .product-specs {
    width: 100%;
    margin-top: 0.5rem;
}

.bijou-gallery .product-specs h2 {
    font-size: 1.1rem;
}

.thumbnail:hover {
    opacity: 0.9;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary);
}

/* Infos produit */
.product-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Sélecteur de variante produit */
.variant-selector {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.variant-selector label {
    font-weight: 600;
    color: var(--dark);
    min-width: 5rem;
}

.variant-selector select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    font-family: 'Baskerville', 'Libre Baskerville', Georgia, serif;
    font-size: 1rem;
    color: var(--dark);
    cursor: pointer;
    min-width: 200px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.variant-selector select:hover {
    border-color: var(--primary);
}

.variant-selector select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(103, 78, 167, 0.1);
}

.variant-note {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
}

.product-price {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-description {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.8;
    text-align: justify;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-description p.subtitle {
    margin-bottom: 0;
}

.product-description .highlight {
    background: linear-gradient(135deg, rgba(103, 78, 167, 0.08), rgba(103, 78, 167, 0.03));
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
    font-style: italic;
    color: var(--gray);
}

/* Texte highlight sans fond (bijoux) */
.product-description .highlight-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 1rem;
}

.product-description .cta-text {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Bloc highlight bijou - couleur primary et police réduite */
.bijou-highlight {
    color: var(--primary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.bijou-highlight p {
    margin-bottom: 0.5rem;
}

/* Bouton outline primary (blanc avec bordure) */
.btn-outline-primary {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--white);
    color: var(--primary);
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    border-radius: 8px;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1.5rem;
}

.product-actions .btn,
.product-actions .btn-add-cart,
.product-actions .btn-outline-primary {
    width: 100%;
    box-sizing: border-box;
}

/* Actions bijoux - boutons pleine largeur en primary */
.product-actions.bijou-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-actions.bijou-actions .btn,
.product-actions.bijou-actions .btn-add-cart,
.product-actions.bijou-actions .btn-outline-primary {
    width: 100%;
    max-width: none;
    height: 70px;
    min-height: 70px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 1rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    transition: all 0.3s;
}

.product-actions.bijou-actions .btn:hover,
.product-actions.bijou-actions .btn-add-cart:hover,
.product-actions.bijou-actions .btn-outline-primary:hover {
    background: var(--primary-dark);
}

/* Actions déco - bouton centré */
.product-actions.deco-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.product-actions.deco-actions .btn,
.product-actions.deco-actions .btn-add-cart {
    width: 100%;
    max-width: 350px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.product-actions .btn {
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.btn-add-cart {
    display: block;
    width: 100%;
    padding: 1.2rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    border-radius: 8px;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.product-disclaimer {
    color: var(--primary);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
    text-align: justify;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(103, 78, 167, 0.05);
    border-radius: 8px;
}

/* Caractéristiques */
.product-specs {
    background: #E2DDEF;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.product-specs h2 {
    font-family: 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.spec-label {
    color: var(--gray);
    font-size: 0.85rem;
}

.spec-value {
    color: var(--black);
    font-weight: 400;
    font-size: 0.85rem;
}

/* Conseils d'entretien */
.product-care {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    border: 1px solid var(--gray-light);
}

/* Conseils entretien bijoux - style comme ancienne fiche */
.product-care.bijou-care {
    background: rgba(103, 78, 167, 0.05);
    border: none;
    color: var(--primary);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
    text-align: justify;
}

.product-care.bijou-care p {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.product-care.bijou-care strong {
    font-style: normal;
}

.product-care.bijou-care a {
    color: var(--primary);
    text-decoration: underline;
}

.product-care.bijou-care .disclaimer {
    border-top: none;
    padding-top: 0;
    font-size: 0.9rem;
}

.product-care h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
}

.product-care h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
}

.product-care p {
    color: var(--gray);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.care-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.care-links a {
    color: var(--primary);
    text-decoration: underline;
    font-size: 0.95rem;
}

.care-links a:hover {
    color: var(--primary-dark);
}

.product-care .disclaimer {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--gray);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

/* Sections Parure et Suggestions */
.product-section {
    margin-bottom: 3rem;
}

.product-section h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Titre Parure en Baskerville même taille que Suggestions */
.section-parure .parure-title {
    font-family: 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.parure-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    width: 100%;
}

.parure-item {
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.parure-item:hover {
    transform: translateY(-5px);
}

.parure-item img {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.parure-name {
    font-family: var(--font-title);
    font-size: 2.8rem;
    color: var(--primary);
    display: block;
}

/* Section Suggestions */
.section-suggestions {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 2%;
    text-align: center;
}

.section-suggestions h2 {
    font-family: 'Baskerville Old Face', var(--font-body);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.suggestion-item {
    text-decoration: none;
    transition: transform 0.3s;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    max-width: 350px;
    margin: 0 auto;
}

.suggestion-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.suggestion-item img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: var(--cream);
}

.suggestion-name {
    font-family: var(--font-title);
    font-size: 2.6rem;
    color: var(--primary);
    font-weight: 400;
    padding: 1rem;
    text-align: center;
    line-height: 0.9;
}

.suggestion-name .variant {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: italic;
    color: #888;
    display: block;
    margin-top: 0.7rem;
}

/* Mobile : suggestions horizontales */
@media (max-width: 768px) {
    .suggestions-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .suggestion-item {
        display: grid !important;
        grid-template-columns: 150px 1fr !important;
        height: 150px !important;
        max-width: 355px !important;
        width: 355px !important;
        margin: 0 auto !important;
        flex-direction: row !important;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .suggestion-item img {
        width: 150px !important;
        height: 150px !important;
        object-fit: cover !important;
        object-position: center !important;
        grid-row: 1 / -1;
    }
    
    .suggestion-name {
        font-size: 1.7rem;
        padding: 0.6rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.15;
    }
    
    .suggestion-name .variant {
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }
}

/* Zoom Modal */
.zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    cursor: zoom-out;
}

.zoom-modal.show {
    opacity: 1;
    visibility: visible;
}

.zoom-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius);
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.zoom-close:hover {
    opacity: 0.7;
}

.zoom-nav,
.zoom-prev,
.zoom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--white);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: opacity 0.3s, text-shadow 0.3s;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.zoom-nav:hover,
.zoom-prev:hover,
.zoom-next:hover {
    opacity: 0.8;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.zoom-prev {
    left: 20px;
}

.zoom-next {
    right: 20px;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.cart-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    pointer-events: none;
}

.cart-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cart-toast-icon {
    margin-right: 10px;
}

.heart-inline {
    color: var(--primary-dark);
    font-size: 1.5rem;
}

/* ========================================
   PAGES CATÉGORIES - Mobile First
   ======================================== */

.category-page {
    padding: 1.5rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-page .breadcrumb {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.category-page .breadcrumb a {
    color: var(--primary);
}

.category-page .breadcrumb a:hover {
    text-decoration: underline;
}

.category-page .breadcrumb span {
    margin: 0;
    color: var(--gray-light);
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-header h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--gray);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grille de produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Carte produit */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(103, 78, 167, 0.15);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card-image {
    position: relative;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

/* Boutons d'action sur la carte */
.product-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-card-actions {
    opacity: 1;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.action-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--gray);
    stroke-width: 2;
}

.action-btn:hover {
    background: var(--primary);
}

.action-btn:hover svg {
    stroke: var(--white);
}

.action-btn.active {
    background: var(--primary);
}

.action-btn.active svg {
    fill: var(--white);
    stroke: var(--white);
}

/* Infos produit */
.product-card-info {
    padding: 1rem;
    text-align: center;
}

.product-card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    display: block;
    margin-bottom: 0.3rem;
}

.product-card-name {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.product-card-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--black);
}

/* Lien retour */
.back-link {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   FORMULAIRES - Mobile First
   ======================================== */

.form-page {
    padding: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* .form-group base supprimé — défini dans la section connexion/inscription (V2) */
/* Surcharges spécifiques page contact */
.form-page .form-group label {
    color: var(--primary);
}

.form-page .form-group input,
.form-page .form-group textarea,
.form-page .form-group select {
    padding: 0.8rem;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

/* (Stone Page V1 supprimé — voir section "PAGES PIERRE - Vertus des pierres" plus bas) */

/* ========================================
   UTILITAIRES
   ======================================== */

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ========================================
   DESKTOP - Media Queries (min-width: 768px)
   ======================================== */

@media (min-width: 768px) {
    /* Header Desktop */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--cream);
        box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    }
    
    .header-top {
        font-size: 0.95rem;
        padding: 0.4rem;
        letter-spacing: 2px;
    }
    
    .header-main {
        padding: 0.6rem 2%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .header-social {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        margin-right: 1.5rem;
    }
    
    .header-social span {
        font-size: 1.2rem;
        color: var(--primary-dark);
        font-style: italic;
    }
    
    .header-social img {
        width: 24px;
        height: 24px;
    }
    
    .menu-toggle {
        display: none;
    }
    
    /* Navigation Desktop - dans le header */
    nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 0;
        background: transparent;
        height: auto;
        overflow: visible;
        width: auto;
        max-width: 85%;
    }
    
    .header-main {
        position: relative;
    }
    
    .header-icons {
        position: relative;
        z-index: 1002;
        pointer-events: auto;
    }
    
    .header-icons a {
        pointer-events: auto;
        cursor: pointer;
    }
    
    .header-icon-artisan {
        position: absolute;
        right: 17rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .nav-header {
        display: none;
    }
    
    nav > a {
        padding: 0.5rem 0;
        margin: 0 -0.9rem;
        border-bottom: none;
        font-size: 1.1rem;
        letter-spacing: 0;
        position: relative;
        color: var(--primary-dark);
        font-weight: bold;
        white-space: nowrap;
    }
    
    nav > a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--primary);
        transition: width 0.3s ease;
    }
    
    nav > a:hover::after {
        width: 100%;
    }
    
    nav > a:hover {
        background: transparent;
        color: var(--primary);
    }
    
    /* Dropdown Desktop */
    .dropdown {
        position: relative;
        border-bottom: none;
        margin: 0 -0.9rem;
    }
    
    .dropdown-toggle {
        padding: 0.5rem 0;
        font-size: 1.1rem;
        letter-spacing: 0;
        color: var(--primary-dark);
        font-weight: bold;
        white-space: nowrap;
    }
    
    .dropdown-toggle::after {
        content: '';
        font-size: 0;
        margin-left: 0;
    }
    
    .dropdown-toggle:hover {
        color: var(--primary);
    }
    
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        max-height: 400px;
        overflow-y: auto;
        background: var(--white);
        box-shadow: var(--shadow);
        border-top: 2px solid var(--primary);
        padding: 1rem 0;
        z-index: 1001;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 0.5rem 1.5rem;
        font-size: 1.1rem;
        color: var(--primary);
        text-align: left;
    }
    
    .dropdown-menu a:hover {
        background: var(--cream);
    }
    
    /* Hero Desktop */
    .hero {
        padding: 120px 2% 40px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-logo {
        max-width: 350px;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
    }
    
    .hero-note {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .btn {
        width: auto;
        max-width: none;
        font-size: 1.15rem;
        padding: 1.2rem 2.5rem;
    }
    
    /* Boutons hero avec police plus grande */
    .hero-buttons .btn {
        font-size: 1.1rem;
        width: auto;
        min-width: 280px;
        max-width: none;
        white-space: nowrap;
    }
    
    /* Sections Desktop */
    section {
        padding: 5rem 5%;
    }
    
    .section-header {
        margin-bottom: 3rem;
        padding-top: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 5.0rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 1rem auto 0;
    }
    
    .section-header .section-logo {
        height: 180px;
    }
    
    .ornament {
        width: 120px;
        margin: 1.5rem auto;
    }

    section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Category cards desktop */
    .category-card {
        height: 400px;
    }
    
    .category-overlay {
        padding: 1.5rem;
    }
    
    .category-overlay h3 {
        font-size: 2.8rem;
    }
    
    .category-overlay p {
        font-size: 1rem;
    }
    
    .collections-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
        justify-content: center;
    }
    
    .decorations-grid {
        max-width: 1100px;
    }
    
    /* About desktop */
    .about-content {
        max-width: none;
        padding: 0;
    }
    
    .about-content p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    /* Footer Desktop - style ancien index */
    footer {
        padding: 1.8rem 2% 1rem;
    }
    
    .footer-content,
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
        text-align: left;
    }
    
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
        text-transform: none;
        text-align: left;
        font-family: inherit;
        font-weight: bold;
    }
    
    .footer-section a {
        font-size: 0.85rem;
        padding: 0.15rem 0;
        display: block;
        line-height: 1.4;
        text-align: left;
    }
    
    .footer-social {
        display: flex;
        justify-content: flex-start;
        gap: 0.8rem;
    }
    
    .footer-social img {
        width: 32px;
        height: 32px;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        margin-top: 0.8rem;
        padding-top: 0.6rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .footer-legal {
        font-size: 0.75rem;
    }
    
    /* Product Page Desktop */
    .product-page {
        padding: 80px 2% 60px;
        display: block;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .product-title-wrapper {
        flex-direction: row;
        justify-content: center;
    }
    
    .product-title-wrapper .favorite-btn {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0;
    }
    
    .product-title {
        font-size: 4.3rem;
    }
    
    .product-main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .product-gallery .main-image {
        max-width: 600px;
    }
    
    .thumbnail-grid {
        max-width: 100%;
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .thumbnail {
        width: 200px;
        height: 200px;
        max-width: 200px;
        aspect-ratio: 1;
        object-fit: cover;
        opacity: 0.6;
        transition: all 0.3s;
        border: 2px solid transparent;
        border-radius: 4px;
    }
    
    .thumbnail:hover, .thumbnail.active {
        opacity: 1;
        border-color: var(--primary);
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .product-actions.bijou-actions {
        width: 100%;
        display: flex;
    }
    
    .product-specs {
        max-width: 100%;
    }
    
    .spec-row {
        display: flex;
        justify-content: space-between;
    }
    
    .product-care {
        max-width: 100%;
    }
    
    .section-parure .parure-title,
    .section-suggestions h2 {
        font-size: 3.2rem;
    }
    
    .suggestions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .suggestion-item {
        max-width: none;
    }
    
    .suggestion-name {
        font-size: 2.5rem;
    }
    
    .zoom-nav {
        font-size: 3rem;
        padding: 1.5rem 2rem;
    }
    
    /* Category Page Desktop */
    .category-page {
        padding: 2rem 3rem;
    }
    
    .category-header h1 {
        font-size: 4rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .product-card-name {
        font-size: 2.2rem;
    }
    
    /* Forms Desktop */
    .form-page {
        padding: 3rem;
    }
    
    .submit-btn {
        width: auto;
        padding: 1rem 3rem;
    }
}

/* Large Desktop */
@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .collections-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
    }
    
    .collection-image {
        height: 250px;
    }
}

@media (min-width: 1200px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .collections-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1500px;
    }
    
    nav > a,
    .dropdown-toggle {
        padding: 1rem 1.4rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===========================================
   PAGES SPÉCIFIQUES
   =========================================== */

/* Page Content générique */
.page-content {
    padding: 1.5rem 1rem;
    margin-top: 0;
}

/* Breadcrumb pages générales */
.page-content .breadcrumb {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.page-content .breadcrumb a {
    color: var(--primary);
}

.page-content .breadcrumb a:hover {
    text-decoration: underline;
}

.page-content .breadcrumb span {
    margin: 0;
    color: var(--gray-light);
}

/* Contact : réduire espace titre-header sur mobile */
.page-content .section-header {
    padding-top: 0;
}

/* Contact Page */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Mobile : formulaire en premier, coordonnées ensuite */
.contact-form-section {
    order: 1;
}

.contact-info {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-form {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* .info-block h3 — voir version finale dans la section contact plus bas */

.info-block p {
    color: var(--text);
    line-height: 1.6;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links img {
    width: 32px;
    height: 32px;
}

/* Aligner le bloc Réseaux sociaux avec les autres (pas d'icône) */
.info-block > h3:first-child {
    margin-left: calc(24px + 1rem);
}
.info-block > h3:first-child + .social-links {
    margin-left: calc(24px + 1rem);
}

/* Account Page */
.account-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    max-width: 500px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

.account-form {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* .form-row doublon supprimé (L2591) — voir définition unique dans section formulaires */

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.3rem;
}

.form-group.checkbox label {
    font-size: 0.9rem;
    color: var(--text);
}

.form-group small {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* .forgot-password V1 supprimé — voir version finale dans section connexion/inscription */

/* Favorites */
.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.empty-message {
    text-align: center;
    color: var(--text-light);
    padding: 1rem;
}

/* Account Page with Sidebar */
.account-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Mobile Accordion Style */
.account-sidebar {
    background: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.account-sidebar h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--primary);
    margin: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.account-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-menu li {
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
}

.account-menu li:last-child {
    border-bottom: none;
}

.account-menu a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    border-radius: 0;
}

.account-menu a:hover,
.account-menu a.active {
    background: var(--cream);
    color: var(--primary);
}

.account-menu svg {
    flex-shrink: 0;
    stroke: var(--primary-dark);
}

.account-menu .add-to-cart-favorite.in-cart svg {
    stroke: white;
}

/* Mobile accordion section content */
.accordion-content {
    display: none;
    background: var(--cream);
    padding: 1.5rem;
    border-top: 1px solid #ddd;
}

.accordion-content.active {
    display: block;
}

/* Mobile: hide desktop content, show accordion */
@media (max-width: 767px) {
    .account-sidebar {
        display: block;
    }
    
    .account-content {
        display: none !important;
    }
    
    .accordion-content {
        display: none;
    }
    
    .accordion-content.active {
        display: block;
    }
    
    /* Panier mobile - récap sous articles */
    .cart-container {
        display: flex;
        flex-direction: column;
    }
    
    .cart-summary {
        order: 2;
    }
    
    .cart-items {
        order: 1;
    }
    
    /* Mon compte mobile: boutons comme desktop */
    .accordion-content .login-buttons,
    .accordion-content .profile-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .accordion-content .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        background: var(--primary);
        color: var(--white);
        font-family: var(--font-body);
        border-radius: var(--radius);
    }
    
    /* Carte cadeau mobile: réduire espace au-dessus et aligner */
    #accordion-carte-cadeau {
        padding-top: 0;
    }
    
    #accordion-carte-cadeau .gift-card-balance {
        padding: 0;
        margin-bottom: 1rem;
    }
    
    #accordion-carte-cadeau .info-card {
        padding: 0;
        margin: 0;
        background: none;
    }
    
    #accordion-carte-cadeau .form-group label {
        font-weight: normal;
        color: var(--gray);
    }
    
    /* Contact mobile: réduire espaces */
    .page-content {
        padding-top: 0.8rem;
    }
    
    .section-header {
        margin-bottom: 1rem;
    }
    
    .contact-info {
        gap: 0;
    }
    
    .info-block {
        margin-bottom: 0;
        padding: 0.8rem;
    }
    
    /* Contact mobile: réduire police h3 en Baskerville */
    .info-block h3 {
        font-family: var(--font-body);
        font-size: 0.9rem;
    }
    
    /* Contact mobile: centrer bouton envoyer */
    .contact-form .submit-btn {
        display: block;
        margin: 0 auto;
    }
    
    /* Contact mobile: justifier le texte intro */
    .contact-info > p {
        text-align: justify;
    }
    
    /* Favoris dans accordéon mobile et section compte: cartes horizontales autonomes */
    .accordion-content .favorites-grid,
    #favoris .favorites-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .accordion-content .favorite-item,
    #favoris .favorite-item {
        display: grid;
        grid-template-columns: 130px 1fr;
        height: 130px;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        width: 355px;
        margin: 0 auto;
        position: relative;
        padding: 0;
        gap: 0;
    }
    
    .accordion-content .favorite-link,
    #favoris .favorite-link {
        display: grid;
        grid-template-columns: 130px 1fr;
        grid-column: 1 / -1;
        grid-row: 1 / -1;
        height: 130px;
        text-decoration: none;
        color: inherit;
        padding: 0;
        gap: 0;
    }
    
    .accordion-content .favorite-image,
    #favoris .favorite-image {
        width: 130px;
        height: 130px;
        overflow: hidden;
    }
    
    .accordion-content .favorite-image img,
    #favoris .favorite-image img {
        width: 130px;
        height: 130px;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .accordion-content .favorite-info,
    #favoris .favorite-info {
        padding: 0.6rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 130px;
        overflow: hidden;
        gap: 0.25rem;
    }
    
    .accordion-content .favorite-name,
    #favoris .favorite-name {
        font-family: var(--font-title);
        font-size: 1.8rem;
        line-height: 1.15;
        color: var(--primary);
        font-weight: normal;
        margin: 0;
        text-align: center;
        width: 100%;
        height: 2.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    .accordion-content .favorite-price,
    #favoris .favorite-price {
        color: var(--primary-dark);
        font-size: 0.9rem;
        font-weight: bold;
    }
    
    .accordion-content .favorite-stone,
    #favoris .favorite-stone {
        font-size: 0.8rem;
        font-style: italic;
        color: var(--gray);
        margin: 0;
        text-align: center;
    }
    
    .accordion-content .remove-favorite,
    #favoris .remove-favorite {
        position: absolute;
        top: 4px;
        right: 4px;
        left: auto;
        width: 28px;
        height: 28px;
        background: rgba(255,255,255,0.85);
        border-radius: 50%;
        z-index: 10;
    }
    
    .accordion-content .add-to-cart-favorite,
    #favoris .add-to-cart-favorite {
        position: absolute;
        bottom: 8px;
        left: 8px;
        top: auto;
        width: 28px;
        height: 28px;
        background: rgba(255,255,255,0.85);
        border-radius: 50%;
        z-index: 10;
    }

    .accordion-content .add-to-cart-favorite.in-cart,
    #favoris .add-to-cart-favorite.in-cart {
        background: var(--primary-dark);
        color: white;
        pointer-events: none;
        box-shadow: 0 2px 6px rgba(74, 35, 90, 0.3);
    }

    .accordion-content .favorites-grid .empty-state,
    #favoris .favorites-grid .empty-state {
        width: 100%;
        max-width: 100%;
    }
    
    .accordion-content .favorites-grid .empty-state p,
    #favoris .favorites-grid .empty-state p {
        max-width: 100%;
    }
}

/* Desktop: show account content, hide accordion */
@media (min-width: 768px) {
    .accordion-content {
        display: none !important;
    }
    
    .account-content {
        display: block !important;
    }
}

.account-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.account-section {
    display: none;
}

.account-section.active {
    display: block;
}

.account-section h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

/* Info Cards */
.info-card {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text);
    font-size: 0.95rem;
}

/* Profile */
.profile-grid {
    display: flex;
    flex-direction: column;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.profile-value {
    font-weight: 500;
    color: var(--primary-dark);
}

.login-buttons,
.profile-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
}

.empty-state .icon {
    margin-bottom: 1rem;
    opacity: 0.7;
    display: flex;
    justify-content: center;
}

.empty-state .icon svg {
    stroke: var(--primary-dark);
}

.empty-state p {
    margin-bottom: 0.5rem;
}

.empty-state .btn {
    margin-top: 1rem;
    display: inline-block;
}

/* Gift Card */
.gift-card-balance {
    background: none;
    color: var(--text);
    padding: 0;
    margin-bottom: 1rem;
    text-align: left;
}

.gift-card-balance h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: bold;
}

.gift-card-balance .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

.gift-card-form {
    margin-top: 1rem;
}

/* Favorites Grid — favoris.html ET section #favoris dans Mon compte */
.favorites-page-content .favorites-grid,
#favoris .favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.favorites-page-content .favorite-item,
#favoris .favorite-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow);
}

.favorites-page-content .favorite-item:hover,
#favoris .favorite-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.favorites-page-content .favorite-link,
#favoris .favorite-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.favorites-page-content .favorite-image,
#favoris .favorite-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.favorites-page-content .favorite-image img,
#favoris .favorite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorites-page-content .favorite-info,
#favoris .favorite-info {
    padding: 1rem 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.favorite-category {
    display: none;
}

.favorites-page-content .favorite-name,
#favoris .favorite-name {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--primary);
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1.1;
    height: 3.5rem;
    text-align: center;
}

.favorites-page-content .favorite-price,
#favoris .favorite-price {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: auto;
    padding-bottom: 0.3rem;
}

.favorites-page-content .favorite-stone,
#favoris .favorite-stone {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--gray);
    display: block;
    margin-top: 0.2rem;
}
/* Mobile: cartes favoris horizontales (favoris.html + mon-compte) */
@media (max-width: 767px) {
    .favorites-page-content .favorites-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .favorites-page-content .favorite-item {
        display: grid;
        grid-template-columns: 130px 1fr;
        height: 130px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
        transition: none;
    }
    .favorites-page-content .favorite-item:hover {
        transform: none;
    }
    .favorites-page-content .favorite-link {
        display: grid;
        grid-template-columns: 130px 1fr;
        grid-column: 1 / -1;
        grid-row: 1 / -1;
        height: 130px;
    }
    .favorites-page-content .favorite-image {
        width: 130px;
        height: 130px;
        aspect-ratio: unset;
        position: relative;
    }
    .favorites-page-content .favorite-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .favorites-page-content .favorite-info {
        padding: 0.6rem 1rem;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 130px;
        overflow: hidden;
        gap: 0.25rem;
    }
    .favorites-page-content .favorite-name {
        font-size: 1.8rem;
        line-height: 1.15;
        width: 100%;
        height: 2.8rem;
        overflow: hidden;
    }
    .favorites-page-content .favorite-price {
        font-size: 0.9rem;
        font-weight: bold;
    }
    .favorites-page-content .favorite-stone {
        font-size: 0.8rem;
        margin: 0;
    }
    .favorites-page-content .remove-favorite {
        position: absolute;
        top: 4px;
        right: 4px;
        left: auto;
        width: 28px;
        height: 28px;
        background: rgba(255,255,255,0.85);
        border-radius: 50%;
        z-index: 10;
    }
    .favorites-page-content .add-to-cart-favorite {
        position: absolute;
        bottom: 8px;
        left: 8px;
        top: auto;
        width: 28px;
        height: 28px;
        background: rgba(255,255,255,0.85);
        z-index: 10;
    }
}

.add-to-cart-favorite {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s;
    color: var(--primary-dark);
}

.add-to-cart-favorite:hover {
    background: var(--primary-dark);
    color: white;
}

.add-to-cart-favorite.in-cart {
    background: var(--primary-dark);
    color: white;
    cursor: default;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(74, 35, 90, 0.3);
}

.remove-favorite {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s;
}

.remove-favorite:hover {
    background: #e74c3c;
}

.remove-favorite:hover svg {
    stroke: white;
}

/* Cart Page */
.cart-empty-icon {
    margin-bottom: 1rem;
    opacity: 0.7;
    display: flex;
    justify-content: center;
}

.cart-empty-icon svg {
    stroke: var(--primary-dark);
}

.shipping-note.free {
    background: rgba(103, 78, 167, 0.15);
    color: var(--primary-dark);
    font-weight: bold;
    padding: 1rem;
    border-radius: 8px;
}

/* .secure-note V1 supprimé — voir version finale dans section paiement */

/* (Shipping V1 supprimé — voir section "Options de livraison" plus bas pour V2 grid) */

/* Contact Info Blocks */
.contact-info h2,
.contact-form-section h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
}

.info-icon svg {
    stroke: var(--primary-dark);
}

.info-block h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-weight: bold;
}

.info-block a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.info-block a:hover {
    color: var(--primary);
}

.form-note {
    font-size: 0.55rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Desktop Pages */
@media (min-width: 768px) {
    .page-content {
        padding: 0.8rem 2rem 1.5rem;
        margin-top: 150px;
        max-width: none;
    }
    
    /* Pages avec fil d'Ariane : le wrapper compense déjà le header,
       on supprime le margin-top redondant pour réduire l'écart titre */
    .breadcrumb-wrapper + .page-content {
        margin-top: 0;
    }
    
    /* Réduire espace titre-header pour les pages */
    .page-content .section-header {
        padding-top: 0;
    }
    
    /* Pages index (catégories) : même alignement titre que les pages générales */
    .breadcrumb-wrapper + .index-page {
        padding-top: 0.8rem;
    }
    
    .breadcrumb-wrapper + .index-page .section-header {
        padding-top: 0;
    }
    
    /* Titre de page plus grand (+0.5rem) */
    .section-header h1 {
        font-size: 4.5rem;
    }
    
    /* Textes justifiés et polices agrandies desktop */
    .contact-info p,
    .contact-form-section p,
    .info-card p,
    .form-note {
        text-align: justify;
        font-size: 0.9rem;
        line-height: 1.8;
    }
    
    /* Textes centrés dans les sections mon compte sauf politique retour */
    .empty-state p {
        text-align: center;
        font-size: 1.3rem;
        line-height: 1.8;
    }
    
    /* Politique de retour aligné à gauche */
    #retours .info-card p {
        text-align: left;
    }
    
    /* Intro contact - interligne réduit */
    .contact-info > p {
        line-height: 1.5;
    }
    
    /* Email, Téléphone, Horaires en Baskerville */
    .info-block h3 {
        font-family: var(--font-body);
    }
    
    .contact-container {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
    }
    
    /* Desktop : rétablir l'ordre (coordonnées à gauche, formulaire à droite) */
    .contact-info {
        order: 1;
    }
    
    .contact-form-section {
        order: 2;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    /* Hiérarchie titres/sous-titres : titre +0.5rem */
    .contact-info h2,
    .contact-form-section h2 {
        font-size: 3.5rem;
    }
    
    .info-block h3 {
        font-size: 1.1rem;
        font-family: var(--font-body);
        font-weight: bold;
    }
    
    .info-block a,
    .info-block p {
        font-size: 1.1rem;
    }
    
    .form-group label {
        font-size: 1.05rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 1.05rem;
    }

    /* Contact desktop: centrer bouton envoyer */
    .contact-form .submit-btn {
        display: block;
        margin: 1.5rem auto 0;
    }

    /* Account Desktop */
    .account-container {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }
    
    .account-sidebar {
        position: sticky;
        top: 100px;
        height: fit-content;
    }
    
    .account-sidebar h3 {
        font-size: 2.8rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.3rem;
    }
    
    .account-menu a {
        font-size: 1.05rem;
        padding: 0.6rem 0.8rem;
    }
    
    /* Icones sidebar en primary-dark */
    .account-menu svg {
        stroke: var(--primary-dark);
    }
    
    
    .info-card h4 {
        font-size: 1.15rem;
    }
    
    .profile-label,
    .profile-value {
        font-size: 1.05rem;
    }
    
    /* Boutons plus petits, même police */
    .login-buttons,
    .profile-buttons {
        flex-direction: row;
    }
    
    .login-buttons .btn,
    .profile-buttons .btn,
    .account-section .btn {
        padding: 0.6rem 1.2rem;
    }
    /* Alignement Mon espace / Mon profil */
    .account-content {
        padding: 0 1.5rem 1.5rem 1.5rem !important;
    }
    
    .account-section {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .account-section.active {
        padding-top: 1rem !important;
    }
    
    .account-section h2 {
        font-size: 2.8rem;
        padding: 0 0 0.3rem 0 !important;
        margin: 0 0 0.8rem 0 !important;
        text-align: left;
    }

    /* Favoris - texte pleine largeur et centré */
    #favoris .empty-state {
        max-width: 100%;
        grid-column: 1 / -1;
        text-align: center;
    }
    
    #favoris .empty-state p {
        max-width: 100%;
    }
    
    #favoris .favorites-grid:has(.empty-state) {
        display: block;
    }
    
    .favorites-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .account-form {
        padding: 2rem;
    }
    
    .tab-btn {
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }
    
    .empty-state .icon {
        font-size: 3.5rem;
    }
    
    /* Carte cadeau - sans fond, aligné gauche, Baskerville */
    .gift-card-balance {
        background: none;
        color: var(--text);
        text-align: left;
        padding: 1rem 0;
    }
    
    .gift-card-balance h3 {
        font-family: var(--font-body);
        font-size: 1.4rem;
        color: var(--primary);
        opacity: 1;
        font-weight: bold;
    }
    
    .gift-card-balance .amount {
        font-size: 2.5rem;
        color: var(--primary);
    }
    
    /* Code de la carte - pas gras, gris */
    #carte-cadeau .form-group label {
        font-weight: normal;
        color: var(--gray);
    }
}
/* ========================================
   PANIER / CART
   ======================================== */

/* Layout panier */
.cart-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Liste des articles */
.cart-items {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-light);
    align-items: stretch;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    grid-row: 1 / -1;
}

.cart-item-link {
    color: inherit;
    text-decoration: none;
}

.cart-item-link:hover {
    color: var(--primary);
}

.cart-item > .cart-item-link {
    grid-row: 1 / -1;
    display: flex;
}

.cart-item > .cart-item-link > .cart-item-image {
    grid-row: unset;
}

.cart-item-content {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-details {
    flex: 1;
    display: flex;
    align-items: center;
}

.cart-item-details h3 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: normal;
    color: var(--primary);
    margin-bottom: 0;
    line-height: 1.15;
}

.cart-item-details p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    border-radius: 4px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.qty-value {
    width: 30px;
    text-align: center;
    font-weight: 500;
}

.cart-item-unique {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-remove {
    background: none;
    border: none;
    color: var(--primary-dark);
    padding: 0.3rem;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    color: var(--primary);
    background: rgba(0,0,0,0.05);
}

/* Panier vide */
.cart-empty {
    text-align: center;
    padding: 3rem 1.5rem;
}

.cart-empty h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Récapitulatif */
.cart-summary {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.cart-summary h2 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--gray-light);
    color: var(--primary-dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.summary-row.total {
    font-size: 1.1rem;
    font-weight: 700;
    padding-top: 0.8rem;
    border-top: 2px solid var(--gray-light);
    margin-top: 0.8rem;
    color: var(--primary-dark);
}

.summary-row.total .amount {
    color: var(--primary);
}

/* Options de livraison */
.shipping-options {
    margin: 1.5rem 0;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    overflow: visible;
}

.shipping-options h3 {
    background: var(--cream);
    padding: 0.8rem 1rem;
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--gray-light);
    border-radius: var(--radius) var(--radius) 0 0;
}

.carrier-group {
    border-bottom: 1px solid var(--gray-light);
}

.carrier-group:last-child {
    border-bottom: none;
}

.shipping-option {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--gray-light);
    cursor: pointer;
    transition: background 0.2s;
    gap: 0.3rem 0.8rem;
}

.shipping-option:last-child {
    border-bottom: none;
}

.shipping-option:hover {
    background: var(--cream);
}

.shipping-option.selected {
    background: rgba(103, 78, 167, 0.1);
    border-left: 3px solid var(--primary);
}

.shipping-option input[type="radio"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
}

.shipping-logo {
    flex-shrink: 0;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

.shipping-logo.mondial-relay {
    height: 32px;
    width: auto;
}

.shipping-logo.colissimo {
    height: 32px;
    width: auto;
}

.shipping-option-info {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
}

.shipping-option-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray);
}

.shipping-option-delay {
    font-size: 0.75rem;
    color: var(--gray);
    grid-column: 2 / 4;
    grid-row: 2;
}

.shipping-option-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.shipping-option-price.free {
    color: var(--primary);
}

/* Livraison internationale */
.shipping-logo-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.international-country-select {
    padding: 0.8rem 1rem;
    background: var(--bg-light);
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 1px solid var(--gray-light);
    position: relative;
    z-index: 200;
}

.international-country-select label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}

/* Searchable country dropdown */
.country-search-wrapper {
    position: relative;
    width: 100%;
}

.country-search-input {
    width: 100%;
    padding: 0.6rem 2.2rem 0.6rem 0.8rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: var(--font-body);
    background: var(--white);
    color: var(--dark);
    cursor: text;
    box-sizing: border-box;
}

.country-search-input::placeholder {
    color: #999;
}

.country-search-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb, 139, 90, 43), 0.15);
}

.country-search-icon {
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.85rem;
    pointer-events: none;
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    z-index: 9999;
}

.country-dropdown .country-group:last-of-type .country-option:last-child {
    margin-bottom: 0;
}

.country-spacer {
    height: 2.5rem;
    pointer-events: none;
}

.country-dropdown.hidden {
    display: none;
}

.country-group-label {
    padding: 0.45rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: #ffffff;
    border-bottom: 1px solid var(--gray-light);
    border-top: 1px solid var(--gray-light);
    position: sticky;
    top: 0;
    z-index: 2;
}

.country-option {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    color: var(--dark);
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.15s;
}

.country-option:last-child {
    border-bottom: none;
}

.country-option:hover,
.country-option.highlighted {
    background: var(--bg-light);
    color: var(--primary-dark);
}

.country-no-result {
    padding: 0.8rem;
    font-size: 0.85rem;
    color: #999;
    text-align: center;
}

.country-no-result.hidden {
    display: none;
}

/* Bouton Commander */
button.checkout-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    margin: 0 auto;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-sizing: border-box;
}

button.checkout-btn:hover:not(:disabled) {
    background: var(--primary-dark);
}

button.checkout-btn:disabled {
    background: var(--gray-light);
    color: var(--gray);
    cursor: not-allowed;
}

/* Formulaire checkout */
.checkout-form {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
    max-width: 100%;
    overflow: hidden;
}

.checkout-form.active {
    display: block;
}

.checkout-form h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* .form-row doublon supprimé (L4152) — voir définition unique dans section formulaires */

/* Point relais */
.point-relais-search {
    display: flex;
    gap: 0.5rem;
}

.point-relais-search input {
    flex: 1;
}

.points-list {
    max-height: 420px;
    overflow-y: auto;
    margin-top: 1rem;
}

/* Loading / empty / error */
.points-loading {
    text-align: center;
    padding: 2rem;
    color: var(--gray);
}

.points-loading .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 0.8rem;
}

.points-empty,
.points-error {
    text-align: center;
    padding: 1.5rem;
    color: var(--gray);
    background: var(--cream);
    border-radius: 8px;
    font-size: 0.9rem;
}

.points-error {
    color: #c0392b;
    background: #fdf2f2;
}

.points-count {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.8rem;
}

/* Point cards */
.points-results {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.point-card {
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--white);
}

.point-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 2px 8px rgba(103, 78, 167, 0.1);
}

.point-card.selected {
    border-color: var(--primary);
    background: rgba(103, 78, 167, 0.04);
    box-shadow: 0 2px 12px rgba(103, 78, 167, 0.15);
}

.point-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.4rem;
}

.point-card-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.point-card-name strong {
    font-size: 0.95rem;
    color: var(--black);
}

.point-type-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    background: var(--cream);
    color: var(--gray);
    white-space: nowrap;
}

.point-type-badge.locker {
    background: #e8f5e9;
    color: #2e7d32;
}

.point-distance {
    font-size: 0.8rem;
    color: var(--gray);
    white-space: nowrap;
}

.point-card-address {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.point-toggle-hours {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.2rem 0;
    text-decoration: underline;
}

.point-toggle-hours:hover {
    color: var(--primary-dark);
}

.point-card-hours {
    margin-top: 0.5rem;
}

.hours-table {
    width: 100%;
    font-size: 0.8rem;
    border-collapse: collapse;
}

.hours-table td {
    padding: 0.2rem 0.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.hours-table td:first-child {
    font-weight: 600;
    width: 40px;
    color: var(--primary-dark);
}

.hours-table tr.closed td {
    color: var(--gray);
    font-style: italic;
}

/* Selected point confirmation */
.selected-point {
    background: rgba(103, 78, 167, 0.08);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 2px solid var(--primary);
}

.selected-point-info {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.selected-point-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.selected-point-info strong {
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.selected-point-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Bouton Modifier le point de livraison */
.btn-change-point {
    display: block;
    margin: 0.8rem auto 0;
    padding: 0.5rem 1rem;
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.85rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    text-align: center;
}

.btn-change-point:hover {
    background: var(--primary);
    color: var(--white);
}

/* Widget Mondial Relay */
#mondialRelayWidgetContainer {
    margin-top: 1rem;
    max-width: 100%;
    overflow: hidden;
}

#mondialRelayWidget {
    width: 100%;
    max-width: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

#mondialRelayWidget .MRW-Results {
    max-height: 350px;
}

/* Widget Colissimo */
#colissimoWidgetContainer {
    margin-top: 1rem;
    max-width: 100%;
    overflow: hidden;
}

#colissimoWidget {
    width: 100%;
    max-width: 100%;
    min-height: 600px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

#colissimoWidget iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 600px;
    border: none;
}

/* Couleurs personnalisées du widget Colissimo (Mac'n Gi) */
.couleur1 {
    color: #8B6914 !important;
}

.couleur2 {
    color: #6B4F12 !important;
}

.police {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Widget overlay header (desktop: caché) */
.widget-overlay-header {
    display: none;
}

/* Responsive points relais */
@media (max-width: 768px) {
    .point-card-header {
        flex-direction: column;
        gap: 0.3rem;
    }

    .points-list {
        max-height: 350px;
    }

    /* ---- OVERLAY PLEIN ÉCRAN MOBILE ---- */
    .widget-overlay {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        z-index: 10000;
        background: #fff;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .widget-overlay.hidden {
        display: none !important;
    }

    .widget-overlay-header {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.7rem 1rem;
        background: var(--primary-dark, #6B4F12);
        color: #fff;
        position: sticky;
        top: 0;
        z-index: 10001;
        min-height: 44px;
        box-sizing: border-box;
    }

    .widget-overlay-header h3 {
        font-family: var(--font-body);
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0;
        color: #fff;
    }

    .widget-overlay-close {
        background: none;
        border: none;
        color: #fff;
        font-size: 1rem;
        cursor: pointer;
        padding: 0.3rem 0.5rem;
        border-radius: 4px;
        white-space: nowrap;
    }

    .widget-overlay-close:active {
        background: rgba(255,255,255,0.2);
    }

    /* Widget MR dans overlay */
    .widget-overlay #mondialRelayWidget {
        width: 100% !important;
        max-width: 100% !important;
        min-height: calc(100vh - 60px);
        overflow: visible !important;
        border-radius: 0;
    }

    .widget-overlay #mondialRelayWidget > div,
    .widget-overlay #mondialRelayWidget table {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .widget-overlay #mondialRelayWidget table {
        table-layout: fixed !important;
    }

    .widget-overlay #mondialRelayWidget .MRW-Results {
        max-height: none;
    }

    .widget-overlay #mondialRelayWidget .MRW-Map,
    .widget-overlay #mondialRelayWidget .MRW-List,
    .widget-overlay #mondialRelayWidget .MRW-Search {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Widget Colissimo dans overlay */
    .widget-overlay #colissimoWidget {
        width: 100% !important;
        max-width: 100% !important;
        min-height: calc(100dvh - 56px);
        overflow: auto !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 0;
        border: none;
    }

    .widget-overlay #colissimoWidget iframe {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 800px !important;
        height: 800px !important;
        border: none !important;
    }
}

/* Méthodes de paiement */
.payment-methods {
    margin-top: 1.5rem;
    text-align: center;
}

.secure-note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
}

.payment-icons img {
    height: 24px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
}

/* Loading et erreurs */
.payment-loading {
    text-align: center;
    padding: 1.5rem;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.payment-loading p {
    color: var(--gray);
    font-size: 0.9rem;
}

.payment-error {
    background: #fff5f5;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    font-size: 0.85rem;
}

/* Modal SumUp */
.sumup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.sumup-modal.active {
    display: flex;
}

.sumup-modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    position: relative;
}

.sumup-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
}

.sumup-modal h3 {
    font-family: var(--font-body);
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.sumup-modal .amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

#sumup-card-container {
    min-height: 280px;
}

/* ========================================
   PANIER - Desktop (768px+)
   ======================================== */
@media (min-width: 768px) {
    .cart-container {
        display: grid;
        grid-template-columns: 40% 1fr;
        gap: 2rem;
        align-items: start;
    }

    .cart-item {
        grid-template-columns: 130px 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
        padding: 1.2rem 1.5rem;
        align-items: center;
    }

    .cart-item-image {
        width: 130px;
        height: 130px;
        grid-row: auto;
    }

    .cart-item-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }

    .cart-item-details {
        flex: 1;
    }

    .cart-item-actions {
        margin-top: 0;
        gap: 1.5rem;
    }

    .cart-item-details h3 {
        font-size: 2rem;
        max-width: 220px;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .cart-item-price {
        min-width: 80px;
        text-align: right;
        font-size: 1.3rem;
    }

    .btn-remove {
        padding: 0.4rem;
    }

    .btn-remove svg {
        width: 22px;
        height: 22px;
    }

    .qty-btn {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .qty-value {
        font-size: 1.1rem;
    }

    .cart-empty {
        padding: 4rem 2rem;
    }

    .cart-empty h2 {
        font-size: 3rem;
    }

    .cart-empty p {
        font-size: 1.2rem;
    }

    .cart-summary {
        position: sticky;
        top: 140px;
        padding: 2rem;
        overflow: visible;
        min-width: 0;
    }

    .cart-summary h2 {
        font-size: 3rem;
    }

    .summary-row {
        font-size: 1.15rem;
    }

    .summary-row.total {
        font-size: 1.2rem;
    }

    .shipping-options h3 {
        font-size: 1.1rem;
    }

    .shipping-logo.mondial-relay {
        height: 40px;
    }

    .shipping-logo.colissimo {
        height: 40px;
    }

    .shipping-option-name {
        font-size: 1.1rem;
    }

    .shipping-option-delay {
        font-size: 1rem;
    }

    .shipping-option-price {
        font-size: 1.1rem;
    }

    button.checkout-btn {
        font-size: 1.2rem;
    }

    .checkout-form h3 {
        font-size: 1.2rem;
    }

    .payment-icons img {
        height: 30px;
        max-width: 50px;
    }

    .sumup-modal-content {
        padding: 2.5rem;
    }

    .sumup-modal .amount {
        font-size: 2rem;
    }

    #sumup-card-container {
        min-height: 300px;
    }
}

/* ========================================
   PAGES LÉGALES (CGV, Mentions légales)
   ======================================== */

.legal-content {
    margin: 0 auto;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-content h2 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--primary-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-dark);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    color: var(--gray);
    margin-bottom: 0.8rem;
    text-align: justify;
    line-height: 1.5;
}

.legal-content ul {
    color: var(--gray);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.legal-content li {
    margin-bottom: 0.3rem;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content .btn {
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.2rem;
}

.legal-content .btn:hover {
    text-decoration: none;
    color: var(--white);
}

.legal-content .info-block {
    background: var(--cream);
    padding: 1.2rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
    display: block;
    flex-direction: unset;
    align-items: unset;
    gap: unset;
    box-shadow: none;
}

.legal-content .info-block p {
    margin-bottom: 0.3rem;
    text-align: left;
    display: block;
    width: 100%;
}

.legal-content .info-block p:last-child {
    margin-bottom: 0;
}

.legal-content .copyright-notice {
    background: rgba(103, 78, 167, 0.08);
    border: 2px solid var(--primary);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.legal-content .copyright-notice p {
    margin-bottom: 0.8rem;
}

.legal-content .copyright-notice p:last-child {
    margin-bottom: 0;
}

.legal-content .pro-section {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    border: 1px solid var(--gray-light);
}

.legal-content .pro-section h4 {
    color: var(--primary);
    margin-top: 0;
}

.legal-content .update-date {
    font-style: italic;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* ========================================
   PAGE À PROPOS
   ======================================== */

.about-content .quote-block {
    background: var(--cream);
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 2rem;
}

.about-content .quote-block blockquote {
    font-family: var(--font-title);
    font-style: normal;
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.about-content .quote-block cite {
    color: var(--gray);
    font-size: 1rem;
}

.about-content .about-text {
    padding: 0 1rem;
}

.about-content .about-text h2 {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-style: italic;
    color: var(--primary);
    text-align: left;
    margin: 5rem 0 1.2rem;
}

.about-content .about-text p {
    text-align: justify;
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.about-content .about-text p strong {
    color: var(--primary-dark);
}

.about-content .about-text .signature {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gray);
    margin-top: 2.5rem;
    text-align: center;
}

.about-content .about-text .signature img {
    height: 100px;
    display: block;
    margin: 0.5rem auto 0;
    mix-blend-mode: multiply;
}

.about-content .about-text .about-closing {
    font-family: var(--font-title);
    font-style: normal;
    font-size: 2.6rem;
    line-height: 1.4;
    color: var(--primary);
    text-align: center;
    max-width: 640px;
    margin: 9rem auto 3rem;
    padding: 1.8rem 1.5rem;
}

/* ========================================
   PAGE RETOURS
   ======================================== */

.highlight-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    margin: 0 0 2rem 0;
    text-align: center;
    border-radius: var(--radius);
}

.highlight-box h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.highlight-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    font-size: 1.05rem;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.step {
    background: var(--cream);
    padding: 1.2rem;
    text-align: center;
    border-top: 3px solid var(--primary);
    border-radius: var(--radius);
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-weight: bold;
    font-size: 1rem;
}

.step h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 1.1rem;
}

.step p {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0;
    color: var(--gray);
}

.step .btn {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Desktop */
@media (min-width: 768px) {
    .legal-content {
        padding: 2.5rem;
    }

    .legal-content h2 {
        font-size: 1.2rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }

    .legal-content h4 {
        font-size: 1.3rem;
    }

    .legal-content p,
    .legal-content ul {
        font-size: 1.1rem;
    }
    
    /* Page À propos - Desktop */
    .about-subtitle {
        font-size: 2rem !important;
    }
    
    .about-content .quote-block {
        padding: 1rem 3rem 3rem;
    }
    
    .about-content .quote-block blockquote {
        font-size: 3.5rem;
    }
    
    .about-content .about-text {
        padding: 0;
    }
    
    .about-content .about-text h2 {
        font-size: 1.7rem;
    }
    
    .about-content .about-text p {
        font-size: 1.1rem;
    }
    
    .about-content .about-text .about-closing {
        font-size: 3.5rem;
        max-width: none;
        white-space: nowrap;
    }
    
    .about-content .about-text .signature {
        font-size: 1.8rem;
    }
    
    .about-content .about-text .signature img {
        height: 130px;
    }
    
    /* Page Retours - Desktop */
    .highlight-box {
        padding: 1.2rem 2rem;
    }
    
    .highlight-box h3 {
        font-size: 1.3rem;
    }
    
    .highlight-box p {
        font-size: 1.1rem;
    }
    
    .steps-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .step h4 {
        font-size: 1.3rem;
    }
    
    .step p {
        font-size: 1rem;
    }
}

/* ==================== LIVRAISON ==================== */
.shipping-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.shipping-table th,
.shipping-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.shipping-table th {
    background: var(--cream);
    color: var(--primary);
    font-weight: normal;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.shipping-table td {
    color: var(--gray);
}

.shipping-table tr:hover td {
    background: var(--cream);
}

.carrier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.carrier-card {
    background: var(--cream);
    padding: 1.5rem;
    text-align: center;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carrier-card img {
    height: 80px;
    margin-bottom: 1rem;
    mix-blend-mode: multiply;
}

.carrier-card p {
    font-size: 0.9rem;
    text-align: center;
    margin-top: auto;
    color: var(--gray);
}

.packaging-info {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--cream);
    align-items: center;
    border-radius: 12px;
}

.packaging-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.packaging-text h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .packaging-text h4 {
        font-size: 1.1rem;
    }
}

.packaging-text p {
    margin-bottom: 0;
    color: var(--gray);
}

/* ==================== FORMULAIRES (Connexion/Inscription) ==================== */
.form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.form-container-large {
    max-width: 700px;
}

.form-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
    font-style: italic;
}

/* Messages de confirmation (mdp oublié, réinitialisation) */
.confirmation-msg {
    text-align: center;
    padding: 2rem 0;
}

.confirmation-msg .confirmation-icon {
    margin-bottom: 1.5rem;
}

.confirmation-msg h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.confirmation-msg p {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.confirmation-msg .text-muted {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.confirmation-msg .btn {
    margin-top: 1rem;
}

.form-section-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.form-group.required label::after {
    content: " *";
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input[type="password"],
.form-group input[type="text"].password-input {
    padding-right: 45px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(103, 78, 167, 0.1);
}

.form-group.error input,
.form-group.error select {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--gray);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--primary);
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

.forgot-password {
    text-align: right;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.forgot-password a {
    color: var(--gray);
    font-size: 0.85rem;
    text-decoration: none;
}

.forgot-password a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.btn-full {
    width: auto;
    min-width: 250px;
    padding: 16px 40px;
    font-size: 1rem;
    letter-spacing: 1px;
    display: block;
    margin: 0 auto;
}

.form-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
    color: var(--gray);
}

.form-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.form-link a:hover {
    text-decoration: underline;
}

/* Type de compte */
.account-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.account-type-card {
    padding: 1.5rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.account-type-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.account-type-card.active {
    border-color: var(--primary);
    background: rgba(103, 78, 167, 0.05);
}

.account-type-card input[type="radio"] {
    display: none;
}

.account-type-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.account-type-card p {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* Champs professionnels */
.pro-fields {
    display: none;
    padding: 1.5rem;
    background: rgba(103, 78, 167, 0.05);
    border-left: 4px solid var(--primary);
    margin-bottom: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.pro-fields.active {
    display: block;
}

.pro-fields h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Cases à cocher */
.checkbox-group {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 8px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-wrapper:last-child {
    margin-bottom: 0;
}

.checkbox-wrapper input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    margin-top: 4px;
    accent-color: var(--primary);
}

.checkbox-wrapper label {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    cursor: pointer;
}

.checkbox-wrapper label a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-wrapper label a:hover {
    text-decoration: underline;
}

/* Charte pro */
.pro-charter {
    background: var(--white);
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    font-size: 0.85rem;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--gray-light);
}

.pro-charter h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pro-charter ul {
    margin-left: 1.5rem;
    color: var(--gray);
}

.pro-charter li {
    margin-bottom: 0.5rem;
}

/* Social follow in form */
.social-follow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-follow span {
    color: var(--gray);
    font-size: 0.85rem;
}

.social-follow a img {
    height: 24px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-follow a:hover img {
    opacity: 1;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    display: none;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.show {
    display: block;
}

/* Responsive formulaires */
@media (max-width: 768px) {
    .shipping-table {
        font-size: 0.85rem;
    }
    
    .shipping-table th,
    .shipping-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .packaging-info {
        flex-direction: column;
        text-align: center;
        gap: 0.2rem;
    }
    
    .packaging-icon {
        margin-bottom: -0.3rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-row,
    .account-type-selector {
        grid-template-columns: 1fr;
    }
    
    .social-follow {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-full {
        display: block;
        margin: 0 auto;
    }
}

/* ==================== PAGE CONFIRMATION ==================== */
.confirmation-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.confirmation-container h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.confirmation-container p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.confirmation-container a {
    color: var(--primary);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--white);
}

.confirmation-container .highlight-box {
    background: var(--cream);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.confirmation-container .highlight-box h3 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.confirmation-container .highlight-box p {
    color: var(--gray);
    margin: 0;
    line-height: 2;
}

.confirmation-container .btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    margin-top: 2rem;
}

.confirmation-container .btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Création de compte post-commande */
.create-account-block {
    background: var(--cream);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.create-account-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.create-account-block h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.create-account-block > p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.create-account-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.create-account-form .form-row {
    margin-bottom: 1rem;
}

.create-account-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.create-account-form input[type="password"] {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.create-account-form input[type="password"]:focus {
    border-color: var(--primary);
    outline: none;
}

.create-account-form .checkbox-row label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.85rem;
    cursor: pointer;
}

.create-account-form .checkbox-row input[type="checkbox"] {
    width: auto;
    accent-color: var(--primary);
}

.create-account-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.account-error {
    background: #fee;
    color: #c33;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
}

.account-success {
    background: #efe;
    color: #2a7;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
}

.account-success a {
    color: var(--primary);
    font-weight: 600;
}

.account-already {
    background: var(--cream);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.account-already a {
    color: var(--primary);
    font-weight: 600;
}

.create-account-form .social-row p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.4rem;
    text-align: center;
}

.create-account-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.create-account-social a img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s;
}

.create-account-social a img:hover {
    transform: scale(1.15);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.order-reference {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.order-reference .label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.order-reference .ref-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(103, 78, 167, 0.08);
    border: 1px solid var(--primary-dark);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: left;
}

.info-box .info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-box .info-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.info-box .info-content h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.info-box .info-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* ==================== PAGE RECHERCHE ==================== */
.search-page-container {
    max-width: 1000px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-btn {
    padding: 1rem 2rem;
}

.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.results-info {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.results-grid .product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.results-grid .product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.results-grid .product-image {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.results-grid .product-type {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: capitalize;
    margin-bottom: 0.2rem;
    text-align: left;
}

.results-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.results-grid .product-card:hover .product-image img {
    transform: scale(1.05);
}

.results-grid .product-info {
    padding: 1rem;
    text-align: center;
}

.results-grid .product-info h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0.9;
}

.results-grid .product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.results-grid .variant-badge {
    display: inline-block;
    font-size: 0.7rem;
    color: #b8860b;
    background: rgba(184, 134, 11, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}

.results-grid .product-card.sold {
    opacity: 0.6;
    pointer-events: none;
}

.sold-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-dark, #5c3a21);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Badge « Indisponible » sur les cartes produit */
.unavailable-badge {
    background: #8b6914;
}

/* Bannière « Vendu / Réservé » sur les fiches produit */
.product-sold-banner {
    background: var(--primary-dark, #5c3a21);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 12px 0;
}

/* Bannière « Temporairement indisponible » sur les fiches produit */
.product-unavailable-banner {
    background: #8b6914;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .confirmation-container {
        padding: 2rem 1.5rem;
    }
    
    .confirmation-container h1 {
        font-size: 2.5rem;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .info-box .info-icon {
        margin: 0 auto;
    }
    
    .search-box {
        flex-direction: column;
        align-items: center;
    }
    
    .search-box .search-btn {
        width: auto;
        min-width: 200px;
    }
    
    .results-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .results-grid .product-card {
        display: grid !important;
        grid-template-columns: 150px 1fr !important;
        height: 150px !important;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        width: 355px !important;
        margin: 0 auto !important;
    }
    
    .results-grid .product-image {
        grid-row: 1 / -1 !important;
        width: 150px !important;
        height: 150px !important;
        aspect-ratio: unset !important;
    }
    
    .results-grid .product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .results-grid .product-info {
        padding: 0.6rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: 150px !important;
        overflow: hidden;
        gap: 0.25rem;
    }
    
    .results-grid .product-info h3 {
        font-size: 1.7rem;
        line-height: 1.15;
        margin: 0;
        text-align: center;
        width: 100%;
        height: auto !important;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .results-grid .product-type {
        font-size: 0.85rem;
        text-align: left;
        width: 100%;
        line-height: 1.1;
        margin: 0;
    }
    
    .results-grid .product-price {
        font-size: 0.8rem;
        font-weight: bold;
    }
    
    .results-grid .variant-badge {
        font-size: 0.65rem;
    }
}

/* ========================================
   PAGES INDEX - Collections & Catégories
   ======================================== */

/* Page Index générique */
.index-page {
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Page Bijoux Index */
.bijoux-index {
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bijoux-index .breadcrumb {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.bijoux-index .breadcrumb a {
    color: var(--primary);
}

.bijoux-index .breadcrumb a:hover {
    text-decoration: underline;
}

.bijoux-index .breadcrumb span {
    margin: 0 0.3rem;
    color: var(--gray-light);
}

/* Page Collection */
.collection-page {
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.collection-page .breadcrumb {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.collection-page .breadcrumb a {
    color: var(--primary);
}

.collection-page .breadcrumb a:hover {
    text-decoration: underline;
}

.collection-page .breadcrumb span {
    margin: 0 0.3rem;
    color: var(--gray-light);
}

/* Breadcrumb pour index-page */
.index-page .breadcrumb {
    display: block;
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.index-page .breadcrumb a {
    color: var(--primary);
}

.index-page .breadcrumb a:hover {
    text-decoration: underline;
}

.index-page .breadcrumb span {
    margin: 0 0.3rem;
    color: var(--gray-light);
}

/* Header de page avec grand titre */
.index-page .page-header {
    text-align: center;
    margin: 2rem 0 3rem;
}

.index-page .page-header h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    color: var(--primary);
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.index-page .page-header p {
    color: var(--gray);
    font-style: italic;
    font-size: 1rem;
}

/* Sections par collection (pour index catégorie comme bracelets) */
.collection-section {
    margin-bottom: 4rem;
}

.collection-section .product-card {
    display: flex;
    flex-direction: column;
}

.collection-section .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.index-page .collection-section .products-grid {
    grid-template-columns: repeat(3, 1fr);
}

.collection-section .product-card .product-image {
    aspect-ratio: 1;
    height: auto;
    position: relative;
}

.collection-section .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-section .product-card .product-info {
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    min-height: 160px;
}

.collection-section .product-card .product-info h3 {
    font-size: 2.7rem;
    margin: 0;
    line-height: 1.2;
    height: 6.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    order: 1;
}

.collection-section .product-card .product-info h3.long-name {
    font-size: 2.2rem;
}

.collection-section .product-card .product-info .type {
    font-family: var(--font-title);
    font-size: 2.7rem;
    color: var(--primary);
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
}

.collection-section .product-card .product-info .stone {
    font-size: 0.9rem;
    margin-top: auto;
    margin-bottom: 0.3rem;
    order: 3;
}

.collection-section .product-card .product-info .price {
    font-size: 1.1rem;
    margin: 0;
    order: 4;
}

.collection-section .product-card .product-info .color {
    font-size: 0.8rem;
    color: var(--gray);
    font-style: italic;
    min-height: 1.2rem;
    margin-bottom: 0.3rem;
    order: 3;
}

/* Mobile : grille 2 colonnes pour collection-section */
@media (max-width: 768px) {
    .collection-section .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
        padding: 0 2%;
    }
    
    .collection-section .product-card .product-info {
        padding: 0.5rem;
        min-height: 110px;
    }
    
    .collection-section .product-card .product-info h3 {
        font-size: 1.7rem;
        margin: 0;
        line-height: 1;
        height: 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        order: 1;
    }

    .collection-section .product-card .product-info h3.long-name {
        font-size: 1rem;
    }

    .collection-section .product-card .product-info .type {
        font-family: var(--font-title);
        color: var(--primary);
        font-size: 1.3rem;
        line-height: 1;
        margin: 0;
    }
    
    .collection-section .product-card .product-info .stone {
        font-size: 0.65rem;
        margin-top: auto;
        margin-bottom: 0.2rem;
        order: 3;
    }
    
    .collection-section .product-card .product-info .price {
        font-size: 0.85rem;
        order: 4;
    }
    
    .collection-section .product-card .product-info .color {
        font-size: 0.7rem;
        min-height: 1rem;
        order: 3;
    }
}

/* Index Noël - tailles légèrement plus grandes */
.noel-index .collection-section .product-card .product-info h3 {
    font-size: 3.8rem;
}

.noel-index .collection-section .product-card .product-info .color {
    font-size: 1rem;
}

/* Index Saint-Valentin - mêmes tailles que Noël */
.sv-index .collection-section .product-card .product-info h3 {
    font-size: 3.8rem;
}

.sv-index .collection-section .product-card .product-info .color {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .noel-index .collection-section .product-card .product-info h3 {
        font-size: 2.3rem;
    }
    
    .noel-index .collection-section .product-card .product-info .color {
        font-size: 0.9rem;
    }

    .sv-index .collection-section .product-card .product-info h3 {
        font-size: 2.3rem;
    }
    
    .sv-index .collection-section .product-card .product-info .color {
        font-size: 0.9rem;
    }
}


.collection-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: normal;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.collection-title a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.collection-title a:hover {
    color: var(--primary);
}

/* Sections par type de bijou (pour index collection) */
.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: normal;
    margin: 3rem 0 1.5rem;
}

.section-title a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.section-title a:hover {
    color: var(--primary);
}

/* Grille de produits pour pages index */
.index-page .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

/* Grille centrée pour 2 produits */
.index-page .products-grid-centered {
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Carte produit pour pages index */
.index-page .product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.index-page .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(103, 78, 167, 0.2);
}

.index-page .product-image {
    height: auto;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: var(--cream);
}

.index-page .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.index-page .product-card:hover .product-image img {
    transform: scale(1.08);
}

.index-page .product-info {
    padding: 0.8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    min-height: 120px;
}

.index-page .product-info h3 {
    font-family: var(--font-title);
    font-size: 3.0rem;
    color: var(--primary);
    font-weight: normal;
    line-height: 0.9;
    margin: 0;
    order: 1;
}

.index-page .product-info .type,
.index-page .collection-section .product-info .type {
    font-family: 'Libre Baskerville', Georgia, serif;
    color: #888;
    font-size: 0.9rem;
    font-style: normal;
    line-height: 1.2;
    margin: 0 0 0.3rem 0;
    order: -1;
    align-self: flex-start;
}

.index-page .product-info .color {
    font-size: 0.8rem;
    color: var(--gray);
    font-style: italic;
    margin-top: auto;
    margin-bottom: 0.3rem;
    order: 3;
}

.index-page .product-info .stone {
    font-size: 0.7rem;
    color: var(--gray);
    font-style: italic;
    margin-top: auto;
    margin-bottom: 0.3rem;
    order: 3;
}

.index-page .product-info .price {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0;
    order: 4;
}

/* Icônes d'action sur les cartes */
.product-card-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.index-page .product-card:hover .product-card-icons {
    opacity: 1;
}

/* Badge promotionnel */
.promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    pointer-events: none;
}

/* Badge promo sur category-card (homepage) */
.category-card .promo-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
}

/* Prix barré (fiche produit) */
.product-price .old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-weight: 400;
    font-size: 0.9em;
    margin-right: 0.4rem;
}

.product-price .promo-price {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Prix barré sur les cartes collection */
.product-info .price .old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-weight: 400;
    font-size: 0.85em;
    margin-right: 0.3rem;
}

.product-info .price .promo-price {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Pages index catégories (sans prix, juste le nom centré) */
.index-page.category-index .product-info {
    text-align: center;
    align-items: center;
    min-height: 80px;
    padding: 1rem;
}

.index-page.category-index .product-info h3 {
    margin: 0;
}

/* Produit bientôt disponible */
.product-card.coming-soon {
    opacity: 0.6;
    pointer-events: none;
}

/* Grille avec uniquement coming-soon : centrer */
.products-grid:has(.coming-soon:only-child) {
    display: flex;
    justify-content: center;
}

.product-card.coming-soon .product-image,
.index-page .product-card.coming-soon .product-image,
.collection-section .product-card.coming-soon .product-image {
    background: transparent;
    aspect-ratio: auto;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-card.coming-soon .product-image img,
.index-page .product-card.coming-soon .product-image img,
.collection-section .product-card.coming-soon .product-image img {
    object-fit: contain;
    width: 100%;
    height: auto;
    max-height: 200px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.icon-btn:hover svg {
    stroke: var(--white);
}

.icon-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-dark);
    fill: none;
    stroke-width: 2;
}

.icon-btn.favoris.active svg {
    fill: var(--primary-dark);
    stroke: var(--primary-dark);
}

/* Lien "Découvrir toute la collection" */
.discover-more {
    text-align: center;
    margin-top: 2rem;
}

.discover-more a {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.discover-more a:hover {
    color: var(--primary);
}

/* Badge produit (sur image) */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-dark);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    z-index: 10;
    border-radius: 4px;
    font-weight: 500;
}

/* Badge vendu */
.badge-vendu {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-dark);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    z-index: 10;
    border-radius: 4px;
}

/* ===========================================
   PAGES INDEX - Responsive Tablette
   =========================================== */
@media (min-width: 768px) {
    .index-page {
        padding: 2rem;
    }
    
    .index-page .page-header h1 {
        font-size: 4.5rem;
    }
    
    .collection-title,
    .section-title {
        font-size: 3rem;
    }
    
    .index-page .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .index-page .product-image {
        height: 400px;
    }
    
    .index-page .product-info h3 {
        font-size: 3.3rem;
    }
    
    .index-page .product-info .type {
        font-size: 1rem;
    }
    
    .discover-more a {
        font-size: 2.5rem;
    }
}

/* ===========================================
   PAGES INDEX - Responsive Desktop
   =========================================== */
@media (min-width: 1024px) {
    .index-page {
        padding: 2rem 5%;
    }
    
    .index-page .page-header h1 {
        font-size: 5.5rem;
    }
    
    .collection-title,
    .section-title {
        font-size: 3.5rem;
    }
    
    .index-page .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .index-page .collection-section .products-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .index-page .product-image {
        height: 400px;
    }
    
    .index-page .product-info h3 {
        font-size: 3.3rem;
    }
    
    .index-page .product-info .type {
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .index-page .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .index-page .collection-section .products-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Mobile : icônes toujours visibles + images plus petites */
@media (max-width: 767px) {
    .product-card-icons {
        opacity: 1;
    }
    
    .index-page .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 3%;
    }
    
    .index-page .product-image {
        height: 350px;
    }
    
    .index-page .product-info h3 {
        font-size: 1.8rem;
    }
    
    .index-page .product-info .type {
        font-size: 0.8rem;
    }

    .index-page .page-header h1 {
        font-size: 3rem;
    }
}

/* ========================================
   UTILITAIRES
   ======================================== */

/* Marges */
.mt-1 { margin-top: 1rem; }
.mt-1-5 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }

/* Texte */
.text-center { text-align: center; }
.text-bold { font-weight: 700; }
.text-primary { color: var(--primary); }

/* États JavaScript */
.hidden { display: none; }

/* Icônes header */
.header-icon-search {
    width: 22px;
    height: auto;
}

.header-icon-artisan {
    height: 38px;
    width: auto;
    display: block;
}

/* Logos transporteurs inline */
.logo-inline-sm {
    height: 40px;
    vertical-align: middle;
}

.logo-inline-md {
    height: 60px;
    vertical-align: middle;
}

/* Icônes inline dans titres */
.icon-inline {
    vertical-align: middle;
    margin-right: 8px;
}

/* Texte italique */
.text-italic { font-style: italic; }
/* ========================================
   PAGES PIERRE - Vertus des pierres
   ======================================== */
.stone-page {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 8%;
}

.stone-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stone-header .series-title {
    font-family: var(--font-title);
    font-size: 6rem;
    color: var(--primary);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.stone-header .stone-name {
    font-family: var(--font-title);
    font-size: 4.5rem;
    font-weight: 400;
}

/* Couleurs par pierre */
.stone-name.stone-aigue-marine { color: #06b6d4; }
.stone-name.stone-amethyste { color: #8b5cf6; }
.stone-name.stone-argent { color: #9ca3af; }
.stone-name.stone-aventurine { color: #22c55e; }
.stone-name.stone-citrine { color: #f59e0b; }
.stone-name.stone-cornaline { color: #ea580c; }
.stone-name.stone-cristal-de-roche { color: #e2e8f0; }
.stone-name.stone-grenat { color: #991b1b; }
.stone-name.stone-hematite { color: #374151; }
.stone-name.stone-howlite { color: #e5e7eb; }
.stone-name.stone-jade { color: #059669; }
.stone-name.stone-lapis-lazuli { color: #1e40af; }
.stone-name.stone-oeil-de-tigre { color: #b45309; }
.stone-name.stone-or { color: #d4a574; }
.stone-name.stone-pierre-de-lave { color: #1f2937; }
.stone-name.stone-pierre-de-lune { color: #94a3b8; }
.stone-name.stone-quartz-rose { color: #f472b6; }

.stone-intro {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.stone-intro .stone-image {
    width: 100%;
    border-radius: 8px;
    mix-blend-mode: multiply;
}

.stone-intro .stone-description {
    color: var(--gray);
    text-align: justify;
    line-height: 1.4;
    font-size: 1.2rem;
}

.stone-properties-table {
    width: 100%;
    margin-bottom: 2.5rem;
}

.stone-properties-table .property-row {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    padding: 1rem 0;
}

.stone-properties-table .property-row:last-child {
}

.stone-properties-table .property-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
}

.stone-properties-table .property-label-sub {
    display: block;
    font-weight: 400;
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    line-height: 1.4;
    text-align: justify;
}

.stone-properties-table .property-value {
    color: var(--gray);
    line-height: 1.6;
    text-align: justify;
}

.stone-disclaimer {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: rgba(103, 78, 167, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-left: 3px solid var(--primary);
}

.stone-disclaimer .disclaimer-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.stone-disclaimer .disclaimer-text {
    color: var(--primary);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
}

.stone-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.stone-related .related-title {
    font-family: var(--font-body);
    font-size: 1.8rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.stone-related .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stone-related .product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.stone-related .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(103, 78, 167, 0.15);
}

.stone-related .product-card .product-image {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.stone-related .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.stone-related .product-card:hover .product-image img {
    transform: scale(1.05);
}

.stone-related .product-card .product-info {
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    min-height: 140px;
}

.stone-related .product-card .product-info h3 {
    font-family: var(--font-title);
    font-size: 2.4rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
    order: 1;
}

.stone-related .product-card .product-info .stone {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--gray);
    margin-top: auto;
    margin-bottom: 0.3rem;
    order: 3;
}

.stone-related .product-card .product-info .price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--black);
    margin: 0;
    order: 4;
}

/* Stone page - Responsive Mobile */
@media (max-width: 767px) {
    .stone-page {
        padding: 1.5rem 4%;
    }
    
    .stone-header .series-title {
        font-size: 3.5rem;
    }
    
    .stone-header .stone-name {
        font-size: 2.8rem;
    }
    
    .stone-intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stone-intro .stone-image {
        max-width: 180px;
        margin: 0 auto;
    }
    
    .stone-intro .stone-description {
        font-size: 1rem;
    }
    
    .stone-properties-table .property-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stone-properties-table .property-label {
        font-size: 1rem;
    }
    
    .stone-disclaimer {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .stone-related .related-title {
        font-size: 1.8rem;
    }
    
    .stone-related .related-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .stone-related .product-card {
        display: grid !important;
        grid-template-columns: 150px 1fr !important;
        height: 150px !important;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        width: 355px !important;
        margin: 0 auto !important;
    }
    
    .stone-related .product-card .product-image {
        grid-row: 1 / -1 !important;
        width: 150px !important;
        height: 150px !important;
        aspect-ratio: unset !important;
    }
    
    .stone-related .product-card .product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .stone-related .product-card .product-info {
        padding: 0.6rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: 150px !important;
        overflow: hidden;
        gap: 0.25rem;
        min-height: unset !important;
    }
    
    .stone-related .product-card .product-info h3 {
        font-size: 1.7rem;
        line-height: 1.15;
        margin: 0;
        text-align: center;
        width: 100%;
        height: auto;
        flex: 1;
        display: flex;
        align-items: center;
    }
    
    .stone-related .product-card .product-info .stone {
        font-size: 0.8rem;
        margin: 0;
        text-align: center;
    }
    
    .stone-related .product-card .product-info .price {
        font-size: 0.8rem;
        font-weight: bold;
    }
}

/* ============================================
   INDEX PAGES - Bijoux, Collections, Vertus
   ============================================ */

/* Doublons index-page supprimés — les styles principaux sont dans la section "index-page .product-info" plus haut */

/* Index Bijoux - grille 3 colonnes pour index-parure */
.index-page .collection-section .products-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-content: start;
    max-width: 1400px;
}

/* Index Vertus des Pierres */
.pierres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3%;
}

.pierre-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pierre-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.pierre-card img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    mix-blend-mode: multiply;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pierre-card h3 {
    color: var(--pierre-color, var(--primary));
    font-size: 2.7rem;
    font-weight: 500;
    margin: 0;
}

.page-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 3%;
    color: var(--gray);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .pierres-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 2%;
    }
    
    .pierre-card {
        padding: 1.5rem 1rem;
    }
    
    .pierre-card img {
        width: 100px;
        height: 100px;
    }
    
    .pierre-card h3 {
        font-size: 1.5rem;
    }
    
    .page-intro {
        font-size: 1rem;
    }
}

/* ========================================
   INDEX CATÉGORIES MOBILE - Cartes horizontales
   ======================================== */
@media (max-width: 767px) {
    .index-page .collection-section .products-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem;
        padding: 0 !important;
        width: 100% !important;
    }
    .index-page .collection-section .product-card {
        display: grid !important;
        grid-template-columns: 150px 1fr !important;
        height: 150px !important;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        width: 355px !important;
        margin: 0 auto !important;
    }
    .index-page .collection-section .product-card .product-image {
        grid-row: 1 / -1 !important;
        width: 150px !important;
        height: 150px !important;
    }
    .index-page .collection-section .product-card .product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    .index-page .collection-section .product-card .product-card-icons {
        display: flex !important;
        opacity: 1 !important;
        position: absolute;
        top: 4px;
        right: 4px;
        flex-direction: row;
        gap: 4px;
        z-index: 10;
    }
    .index-page .collection-section .product-card .product-card-icons .icon-btn {
        width: 28px;
        height: 28px;
        padding: 4px;
        background: rgba(255,255,255,0.85);
        border-radius: 50%;
        box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    }
    .index-page .collection-section .product-card .product-card-icons .icon-btn svg {
        width: 16px;
        height: 16px;
    }
    .index-page .collection-section .product-card .product-info {
        padding: 0.6rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: 150px !important;
        overflow: hidden;
        gap: 0.25rem;
    }
    .index-page .collection-section .product-card .product-info h3 {
        font-size: 1.7rem;
        line-height: 1.15;
        margin: 0;
        text-align: center;
        width: 100%;
        height: auto;
        flex: 1;
        display: flex;
        align-items: center;
    }
    .index-page .collection-section .product-card .product-info .type {
        font-size: 0.85rem;
        line-height: 1.1;
        text-align: left;
        width: 100%;
        color: var(--gray);
        margin: 0;
    }
    .index-page .collection-section .product-card .product-info .stone {
        font-size: 0.8rem;
        margin: 0;
        text-align: center;
    }
    .index-page .collection-section .product-card .product-info .price {
        font-size: 0.8rem;
        font-weight: bold;
    }

    /* Coming-soon mobile : logo pas coupé */
    .index-page .collection-section .product-card.coming-soon .product-image {
        background: transparent !important;
    }
    .index-page .collection-section .product-card.coming-soon .product-image img {
        object-fit: contain !important;
        padding: 0.5rem !important;
    }
}

/* ========================================
   PAGES D'ERREUR (404, 500)
   ======================================== */

.error-page {
    text-align: center;
    padding: 3% 5% 8%;
}

.error-page .error-code {
    font-family: 'Monsieur La Doulaise', cursive;
    font-size: 8rem;
    color: var(--primary);
    margin: 0;
    line-height: 1;
}

.error-page p {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0.5rem 0;
}

.error-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.error-links .btn-primary,
.error-links .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.error-links .btn-primary {
    background: var(--primary);
    color: white;
}

.error-links .btn-primary:hover {
    background: var(--primary-dark);
}

.error-links .btn-secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.error-links .btn-secondary:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 600px) {
    .error-page .error-code {
        font-size: 5rem;
    }
    
    .error-links {
        flex-direction: column;
        align-items: center;
    }
    
    .error-links .btn-primary,
    .error-links .btn-secondary {
        width: 80%;
        text-align: center;
    }
}

/* ========================================
   PROMO - Badges & prix barrés
   ======================================== */

/* Badge promo sur fiche produit */
.promo-badge {
    display: inline-block;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
    vertical-align: middle;
    margin-right: 0.4rem;
    animation: promoPulse 2s ease-in-out infinite;
}

@keyframes promoPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Ancien prix barré */
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85em;
    margin-right: 0.3rem;
    font-weight: 400;
}

/* Badge promo sur carte produit (page collection) */
.product-card .promo-badge-card {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    z-index: 2;
    letter-spacing: 0.04em;
}

/* Badge promo sur carte collection (page d'accueil) */
.category-card .promo-badge-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 3px;
    z-index: 2;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Prix promo dans les cartes collection */
.price .promo-price {
    color: var(--primary-dark);
    font-weight: 700;
}