*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Thin */
@font-face {
    font-family: 'Inter Tight';
    src: url('../../fonts/InterTight-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('../../fonts/InterTight-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

/* Light */
@font-face {
    font-family: 'Inter Tight';
    src: url('../../fonts/InterTight-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('../../fonts/InterTight-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

/* Regular */
@font-face {
    font-family: 'Inter Tight';
    src: url('../../fonts/InterTight-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Medium */
@font-face {
    font-family: 'Inter Tight';
    src: url('../../fonts/InterTight-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* SemiBold */
@font-face {
    font-family: 'Inter Tight';
    src: url('../../fonts/InterTight-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Bold */
@font-face {
    font-family: 'Inter Tight';
    src: url('../../fonts/InterTight-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* ExtraBold */
@font-face {
    font-family: 'Inter Tight';
    src: url('../../fonts/InterTight-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

/* Black */
@font-face {
    font-family: 'Inter Tight';
    src: url('../../fonts/InterTight-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* Styles généraux */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

body {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    background-color: #ffffff;
    color: #3F3F3F;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

body.no-scroll {
    overflow: hidden;
}

.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Styles communs pour le menu de navigation */
nav {
    background-color: #fff;
    font-size: 14px;
    line-height: 1.2;
    z-index: 1100;
}

/* -------------------------------------------------- */
/* Pages imprimés                                     */
/* -------------------------------------------------- */
.prints-gallery {
    width: 100%;
}

.prints-gallery-thumb {
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    display: block;
}

.prints-gallery-thumb img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

.prints-gallery-caption {
    font-size: 0.9rem;
    color: #6c6c6c;
    margin: 0;
}

.prints-gallery-empty {
    font-size: 1rem;
    color: #6a6a6a;
    max-width: 720px;
    width: 100%;
}

.prints-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1500;
}

.prints-lightbox.is-visible {
    display: flex;
}

.prints-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

.prints-lightbox-content {
    position: relative;
    max-width: min(90vw, 980px);
    max-height: 90vh;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prints-lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.prints-lightbox-caption {
    font-size: 0.95rem;
    color: #4a4a4a;
    margin: 0;
}

.prints-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .prints-page .main-container {
        padding: 80px 24px 60px;
    }

    .prints-page .content {
        max-width: none;
    }

    .prints-gallery-grid {
        gap: 20px;
    }

    .prints-lightbox-content {
        width: calc(100vw - 40px);
        padding: 16px;
    }
}

nav a {
    display: block;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    color: #8D8D8D;
    font-weight: 400;
    margin: 8px 0; /* Ajouté pour restaurer le menu PC */
}

nav a.active,
nav a.no-hover {
    color: #801720;
}

nav a:not(.active):not(.no-hover):hover,
nav a.no-hover:hover {
    color: #801720;
}

nav a:not(.active):not(.no-hover) {
    color: #909090;
}

nav a.no-hover {
    margin-bottom: 25px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.nav-primary {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-secondary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

nav .nav-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #8D8D8D;
    margin: 0;
}

nav .nav-social-link svg {
    width: 20px;
    height: 20px;
}

nav .nav-social-link:hover,
nav .nav-social-link:focus {
    color: #8D8D8D;
}

.nav-legal {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

nav .nav-legal a {
    font-size: 12px;
    color: #8D8D8D;
    margin: 0;
}

nav .nav-legal a:hover,
nav .nav-legal a:focus,
nav .nav-legal a.active {
    color: #8D8D8D;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.nav-primary {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-secondary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

nav .nav-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #8D8D8D;
    margin: 0;
}

nav .nav-social-link svg {
    width: 20px;
    height: 20px;
}

nav .nav-social-link:hover,
nav .nav-social-link:focus {
    color: #8D8D8D;
}

.nav-legal {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

nav .nav-legal a {
    font-size: 12px;
    color: #8D8D8D;
    margin: 0;
}

nav .nav-legal a:hover,
nav .nav-legal a:focus,
nav .nav-legal a.active {
    color: #8D8D8D;
}

body.home nav a {
    color: #3F3F3F;
}

body.home nav a:hover {
    color: #3F3F3F;
}

/* Styles généraux pour le contenu */
.content {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.content h1 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 0.75em;
    line-height: 1.2;
}

.content h2 {
    font-size: 1em;
    font-weight: 500;
    margin: 0 0 0.5em;
    line-height: 1.2;
}

.content p {
    margin: 0 0 1em;
    line-height: 1.2;
    font-weight: 400;
}

.menu-link {
    display: inline-block;
    text-decoration: none;
    color: #909090;
    transition: color 0.3s;
}

.menu-link:hover,
.menu-link:focus {
    color: #801720;
}

.content ul {
    padding-left: 18px;
    margin: 0 0 1em;
}

.content li {
    margin-bottom: 0.5em;
}

.legal-content {
    max-width: 720px;
    padding-bottom: 60px;
}

.legal-article {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-article header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-meta {
    font-size: 12px;
    color: #8D8D8D;
    margin: 0;
}

.legal-section h2 {
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 0.75em;
}

.legal-section p {
    margin: 0 0 1em;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    padding-left: 18px;
    margin: 0 0 1em;
}

.legal-section li {
    margin-bottom: 0.5em;
}

.content ul {
    padding-left: 18px;
    margin: 0 0 1em;
}

.content li {
    margin-bottom: 0.5em;
}

.legal-content {
    max-width: 720px;
    padding-bottom: 60px;
}

.legal-article {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-article header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-meta {
    font-size: 12px;
    color: #8D8D8D;
    margin: 0;
}

.legal-section h2 {
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 0.75em;
}

.legal-section p {
    margin: 0 0 1em;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    padding-left: 18px;
    margin: 0 0 1em;
}

.legal-section li {
    margin-bottom: 0.5em;
}

/* -------------------------------------------------- */
/* Page collections                                   */
/* -------------------------------------------------- */
.collections-page .content {
    padding: 40px 25px 60px;
}

.collections-bands {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.collection-band {
    display: flex;
    gap: 24px;
    align-items: stretch;
    border: 1px solid #ededed;
    border-radius: 16px;
    padding: 20px;
    background: #fff;
}

.collection-band-image {
    width: 220px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.collection-band-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collection-band-placeholder {
    font-size: 0.85rem;
    color: #8D8D8D;
    text-align: center;
    padding: 12px;
}

.collection-band-content h2 {
    margin: 0 0 8px;
}

.collection-band-button {
    margin-top: 12px;
}

.collection-band-button.enter-btn {
    color: #909090;
}

.collection-band-button.enter-btn::after {
    content: none;
}

.collection-band-button.enter-btn:hover,
.collection-band-button.enter-btn:focus {
    color: #801720;
}

body.selected-works .content {
    padding: 0;
}

.artwork {
    position: relative;
}

.artwork-item {
    float: left;
    margin-bottom: 50px;
    box-sizing: border-box;
}

.artwork-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.artwork::after {
    content: "";
    display: table;
    clear: both;
}

/* Styles pour l'overlay en plein écran */
.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
}

.fullscreen-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: flex-end;
    max-width: calc(90vw - 320px);
    max-height: 90vh;
}

.fullscreen-overlay img {
    max-width: 100%;
    max-height: 90vh;
    height: auto;
}

.fullscreen-details {
    margin-top: 15px;
    width: 100%;
    max-width: 600px;
    padding: 10px;
    position: absolute;
    left: 100%;
    bottom: 0;
    padding-left: 20px;
    color: #3F3F3F;
    font-size: 0.85em;
    background-color: white;
}

.fullscreen-details h1 {
    font-size: 12px;
    margin: 0 0 5px;
    font-weight: 700;
}

.fullscreen-details p {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 1024px) {
    .image-container {
        max-width: 90vw;
        align-items: center;
    }

    .fullscreen-details {
        position: static;
        padding-left: 0;
        padding-top: 10px;
    }
}

/* Styles pour la bande de tri */
.sorting-bar {
    background-color: #fff;
    font-size: 12px;
    line-height: 1.2;
    padding: 25px 25px 0 25px; /* Même padding que le menu de navigation */
}

.sorting-options {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sorting-options li {
    margin-right: 20px;
    cursor: pointer;
    font-weight: 400;
    color: #8D8D8D;
    transition: color 0.3s;
}

.sorting-options li.active,
.sorting-options li:hover {
    color: #3F3F3F;
}

.sorting-options li[data-category="all"] {
    display: none;
}

.artwork-item.hidden {
    display: none;
}

@media (max-width: 900px) {
    .collection-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .collection-band-image {
        width: min(360px, 100%);
        height: min(360px, 100%);
    }
}

/* Styles pour le bouton Instagram */
.bouton {
    color: #3F3F3F;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s;
}

.bouton:hover,
.bouton.active {
    color: #8D8D8D;
}


/* Commandes — blocs tarifs */
.commandes-intro,
.commandes-note,
.prints-intro {
    max-width: 720px;
    width: 100%;
    margin-bottom: 32px;
    line-height: 1.4;
}

.commandes-grid,
.prints-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    width: 100%;
    max-width: 960px;
    margin-bottom: 40px;
}

.commande-card,
.prints-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.commande-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.commande-card-text h3 {
    font-size: 1em;
    font-weight: 500;
    margin: 0 0 8px;
    color: #3F3F3F;
}

.commande-card-text p {
    margin: 0;
    color: #5C5C5C;
    line-height: 1.3;
}

.commandes-form {
    margin-top: 0;
    margin-bottom: 80px;
    width: 100%;
    max-width: 720px;
}

.commandes-form h2 {
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Styles pour le formulaire de contact */
.contact-form {
    max-width: 720px;
    width: 100%;
    margin-top: 20px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

#painting_format_group {
    display: none;
}

#painting_format_group.is-visible {
    display: block;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 400;
    color: #3F3F3F;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    font-family: 'Inter Tight', sans-serif;
    border: 1px solid #D0D0D0;
    background-color: #fff;
    color: #3F3F3F;
    box-sizing: border-box;
}

.contact-form select {
    cursor: pointer;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form button {
    padding: 12px 28px;
    font-size: 14px;
    font-family: 'Inter Tight', sans-serif;
    background-color: #3F3F3F;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.contact-form .form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #7a7a7a;
}

.contact-form button:hover,
.contact-form button:focus {
    background-color: #801720;
}

/* Styles pour les messages d'erreur */
.error-messages {
    background-color: #ffe5e5;
    color: #d8000c;
    padding: 10px;
    margin-bottom: 20px;
}

.error-messages p {
    margin: 0;
}

/* Styles pour le message de succès */
.success-message {
    background-color: #e5ffe5;
    color: #4f8a10;
    padding: 10px;
    margin-bottom: 20px;
}

.success-message p {
    margin: 0;
}

/* Styles pour l'icône Instagram */
.social-media {
    margin-top: 40px;
}

.social-media a {
    display: inline-block;
}

.instagram-icon {
    width: 32px; /* Ajustez la taille selon vos préférences */
    height: 32px;
}

/*Styles pour page d'accueil*/
.hero {
    width: 100%;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px; /* On ajuste l'espacement pour le nouveau texte */
}

.hero-img {
    max-width: min(100%, 1200px);
    max-height: 65vh; /* On réduit un peu pour laisser place au texte */
    height: auto;
    display: block;
    object-fit: contain;
}

/* NOUVEAU : Style pour le nom et le titre */
.hero-text {
    text-align: center;
    margin-top: 10px; /* Petit espace après l'image */
}

.artist-name,
.artist-title {
    margin: 0;
    padding: 1px 0;
    color: #3F3F3F;
    /* Style calqué sur celui du menu/bouton */
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* Bouton minimaliste (style de base inchangé) */
.enter-btn {
    display: inline-block;
    color: #3F3F3F;
    text-decoration: none;
    background: transparent;
    position: relative; /* Indispensable pour l'animation */

    /* Style du texte (identique au menu) */
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    
    /* ON RETIRE LA BORDURE ET LE PADDING POUR IMITER UN LIEN TEXTE */
    border: none;
    padding: 5px; /* Un léger padding pour agrandir la zone cliquable */
}

/* Animation de soulignement (identique au menu) */
.enter-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;  /* Positionne le trait juste sous le texte */
    height: 1px;
    width: 0%;
    background: #3F3F3F;
    transition: width 250ms ease-in-out;
}

.enter-btn:hover::after {
    width: 100%;
}





/* Styles pour la version PC */
@media (min-width: 769px) {
    /* Styles spécifiques pour le menu sur PC */
    nav {
        width: 220px;
        padding: 25px 20px 25px 25px;
        position: fixed;
        height: 100%;
        background-color: #fff;
        font-size: 14px;
        line-height: 1.2;
        z-index: 1100;
        display: flex;
        flex-direction: column;
    }

    .nav-links {
        flex: 1;
    }

    .nav-primary {
        flex: 1;
    }

    .nav-secondary {
        margin-top: auto;
    }

    .nav-legal {
        padding-top: 8px;
    }

    /* Supprimer la marge supérieure du lien "Fanny Malicet" */
    nav a.logo.no-hover {
        margin-top: 0; /* Élimine les 8px de marge-top définis globalement */
        margin-bottom: 25px; /* Maintient la marge inférieure */
        padding-top: 0; /* Assure qu'il n'y a pas de padding supplémentaire */
        padding-bottom: 0; /* Assure qu'il n'y a pas de padding supplémentaire */
        line-height: 1; /* Réduit le line-height pour minimiser l'espace vertical */
    }

    .content {
        margin-left: 220px;
        padding-top: 0;
    }

    .artwork {
        /* Retirer les styles CSS Grid pour les écrans larges */
        display: block;
        padding: 0 25px;
    }

    .artwork-item {
        width: 350px; /* Largeur fixe pour Masonry */
        margin-left: 20px;
        margin-bottom: 50px;
        padding: 0 5px; /* Restauré pour le PC */
    }

    .artwork-sizer {
        display: none; /* Pas nécessaire sur PC */
    }
    
    .hamburger {
        display: none;
    }

    body.home .main-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Centrer verticalement */
        align-items: center;
        width: 100%;
        margin-left: 0;
        padding-top: 25px; /* Alignement avec le nav */
        padding-bottom: 25px; /* Marge inférieure égale */
        box-sizing: border-box;
        height: 100vh; /* Occupation totale de la hauteur de la fenêtre */
        overflow: hidden; /* Empêche le défilement global */
    }

    /* Ajuster la section de l'image pour qu'elle ne dépasse pas */
    body.home .image-container {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centre horizontalement les éléments */
        width: 80vw;          /* Limite la largeur maximale */
        flex-grow: 1;         /* Prend l'espace disponible */
        margin: 0 auto;       /* Centre le conteneur dans son parent */
        padding: 0;            /* Supprime le padding vertical */
        box-sizing: border-box;
        position: relative;
    }

    /* Ajuster l'image pour qu'elle s'adapte sans dépasser */
    body.home .image-container img {
        display: block;
        max-width: 100%;      /* Empêche l'image de dépasser la largeur du conteneur */
        height: auto;         /* Maintient les proportions de l'image */
        margin: 0 auto;       /* Centre l'image horizontalement */
    }

    /* Ajuster les détails de l'image */
    body.home .fullscreen-details {
        position: static;             /* Supprime le positionnement absolu */
        width: 100%;                  /* Utilise toute la largeur disponible */
        max-width: none;              /* Supprime la limite de largeur */
        text-align: center;           /* Centre le texte */
        padding-left: 0;              /* Supprime le padding à gauche */
        margin-top: 15px;             /* Ajoute un espace au-dessus des détails */
        padding-bottom: 10px;
        background-color: transparent;/* Supprime le fond blanc */
        box-sizing: border-box;
    }

    /* Centrer le contenu de .content */
    body.home .content {
        margin-left: 0; /* Assure qu'il n'y a pas de décalage */
    }

    .sorting-bar {
        position: fixed;
        top: 0;
        left: 270px; /* Démarre à 270px de la bordure gauche */
        width: calc(100% - 270px); /* Occupe le reste de la largeur */
        padding: 25px 25px 0 0; /* Ajuster le padding */
        background-color: #fff;
        z-index: 1000; /* Assurez-vous que le menu de navigation est au-dessus */
    }
    body.about-page .content,
    body.contact-page .content,
    body.legal-page .content,
    body.prints-page .content {
        padding-right: 270px;
        padding-left: 50px;
    }


}

/* Styles pour la version mobile */
@media (max-width: 768px) {
    /* Menu en haut */
    nav {
        width: 100%;
        position: relative;
        padding: 10px 15px; /* Ajustez le padding si nécessaire */
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        height: auto;
        z-index: 1100;
    }

    /* Réinitialiser la marge du logo */
    nav a.no-hover {
        margin-bottom: 0;
    }

    /* Ajuster les styles du logo */
    nav a.logo {
        font-size: 14px; /* Ajustez la taille de la police si nécessaire */
        line-height: 1; /* Assure un alignement vertical précis */
        padding: 0; /* Réinitialise le padding */
        margin: 0; /* Réinitialise les marges */
    }

    /* Styles de l'icône hamburger */
    .hamburger {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .hamburger span {
        display: block;
        width: 20px; /* Réduit la largeur */
        height: 2px; /* Réduit la hauteur */
        margin: 3px 0; /* Ajuste la marge entre les barres */
        background-color: #333;
        transition: 0.4s;
    }

    /* Styles pour les liens du menu déroulant */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px; /* Ajustez selon la hauteur du nav */
        right: 10px;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        padding: 10px;
        border-radius: 5px;
        align-items: flex-start;
        height: auto;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links a {
        margin: 10px 0;
        font-size: 14px;
        color: #3F3F3F; /* Assure la cohérence des couleurs */
    }

    .nav-primary,
    .nav-secondary,
    .nav-legal {
        width: 100%;
    }

    .nav-secondary {
        margin-top: 12px;
        gap: 10px;
    }

    .nav-legal a {
        margin: 6px 0 0;
    }

    .nav-social {
        gap: 14px;
    }

    .nav-primary,
    .nav-secondary,
    .nav-legal {
        width: 100%;
    }

    .nav-secondary {
        margin-top: 12px;
        gap: 10px;
    }

    .nav-legal a {
        margin: 6px 0 0;
    }

    .nav-social {
        gap: 14px;
    }

    /* Afficher le menu déroulant lorsque le nav a la classe 'active' */
    nav.active .nav-links {
        display: flex;
    }



    nav a {
        margin: 5px;
        font-size: 14px;
        flex: none;
    }

    /* Supprimer la marge à gauche */
    .main-container,
    .content,
    body.selected-works .content {
        margin-left: 0;
        padding: 0;
    }

    body.about-page .content,
    body.contact-page .content,
    body.legal-page .content,
    body.prints-page .content {
        margin-top: 20px;
        padding: 20px; /* Ajustez selon vos besoins */
    }

    .commandes-grid,
    .prints-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .commandes-form {
        margin-top: 32px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    /* Styles pour la grille sur mobile utilisant CSS Grid */
    .artwork {
        column-count: 3;
        column-gap: 10px;
        padding: 10px;
    }

    .artwork-item {
        display: inline-block;
        width: 100%;
        margin-bottom: 10px;
    }

    .artwork-item img {
        width: 100%;
        height: auto;
        display: block;
        cursor: pointer;
    }

    
    .image-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    

    .image-container img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .fullscreen-details {
        width: 100%;
        text-align: center; /* Centre le texte */
        padding: 10px;
    }

    .artwork-sizer,
    .gutter-sizer {
        display: none; /* Masquer les sizers en mobile */
    }

    .sorting-bar {
        margin-left: 0;
        padding: 10px 15px;
    }

    .hero {
        padding: 10px;
        gap: 15px;
    }

    .hero-img {
        max-height: 55vh;
    }
}

/* About page — styles spécifiques */
.about-page .bio-portrait {
  display: block;
  max-width: min(380px, 100%);
  height: auto;
  margin: 0 0 16px;
}

.about-page .about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.about-page .about-col {
  min-width: 0;
}

.about-page .about-portrait {
  margin: 0 0 16px;
}

.about-page .about-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Artwork page — styles spécifiques (ex-inline de l'ancien artwork.php) ===== */
:root{
  --menu-offset: 0px;            /* aligne le haut du contenu sur le lien "Œuvres originales" du menu */
  --img-bottom-margin: 100px;    /* marge sous l'image principale en plein écran */
  --media-w: 560px;              /* largeur de référence avec fallback sûr */
}

/* Mise en page œuvre */
.artwork-page .content { padding: 0; }

.detail-wrap{
  display: grid;
  grid-template-columns: minmax(280px,1fr) minmax(280px,1fr);
  gap: 40px;
  padding: 0 25px 25px 25px;
  padding-top: var(--menu-offset);
  align-items: start;
}

/* Sous-colonne gauche (photo principale) */
.detail-left{ display: grid; }
.detail-left img{
  max-width: clamp(280px, var(--media-w), 40vw);
  width: 100%;
  height: auto;
  justify-self: center;
  align-self: start;
  display: block;
  cursor: pointer;
  max-height: calc(100vh - var(--menu-offset) - var(--img-bottom-margin));
}

/* Sous-colonne droite (texte) */
.detail-right{
  justify-self: stretch;
  padding-left: 12px;
  padding-right: 90px;
}
.detail-right h1 { font-size:14px; font-weight:700; margin:0 0 8px; }
.detail-right p  { font-size:14px; line-height:1.2; margin:0 0 10px; }
.price-line      { font-size:13px; margin:6px 0 14px; color:#333; }

.purchase-module {
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 24px;
  background: transparent;
}

.purchase-type-toggle {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.purchase-option-btn {
  flex: 0 0 auto;
  min-width: 120px;
  border: 1px solid #801720;
  background: #fff;
  color: #801720;
  font-size: 10px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
  text-align: center;
}

.purchase-option-btn.is-active {
  background: #801720;
  color: #fff;
}

.purchase-option-btn:disabled {
  border-color: #d0d0d0;
  color: #9d9d9d;
  background: #f7f7f7;
  cursor: not-allowed;
}

.purchase-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.print-options {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.print-options.is-visible {
  display: flex;
}

.print-field {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  color: #4a4a4a;
}

.print-field label {
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.print-field select {
  margin-top: 4px;
  padding: 6px 9px;
  border-radius: 0;
  border: 1px solid #dcdcdc;
  font-size: 11px;
  background: #fff;
  min-width: unset;
  width: auto;
  align-self: flex-start;
}

.print-field select:disabled {
  background: #f5f5f5;
  color: #9d9d9d;
}
/*
.artwork-print-note {
  font-size: 12px;
  line-height: 1.35;
  color: #4a4a4a;
}
*/
.detail-right p.artwork-print-note {
  font-size: 12px;
  line-height: 1.35;
  color: #4a4a4a;
}
.purchase-price {
  font-size: 13px;
  color: #3f3f3f;
  margin-top: 4px;
}

/* Bouton "Acheter" */
.buy-btn {
  display:inline-block;    
}
.artwork-page .detail-right .buy-btn.enter-btn{
  padding: 0;
  margin: 0;
  text-decoration: none;
  margin-top: 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}
.artwork-page .detail-right .buy-btn.enter-btn::after{
  bottom: -2px;
  margin-top: 20px;
}
p.acquire-note {
  margin: 32px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #8d8d8d;
}
.detail-right p.acquire-note {
  margin: 32px 0 0;
}
.acquire-note a {
  color: inherit;
  text-decoration: underline;
}
.enter-btn.disabled { opacity:.45; pointer-events:none; }
.free-ship{ display:block; margin:6px 0 10px; color:#666; font-size:12px; line-height:1; }

/* Galerie additionnelle */
.extras{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 72px;
  margin-top: 40px;
}
.extras-col{ display:grid; row-gap:56px; }
.extras figure{
  margin:0;
  width: clamp(280px, var(--media-w), 40vw);
  justify-self: center;
}
.extras .thumb{
  position: relative; width:100%;
  aspect-ratio: 3/4; overflow:hidden; border-radius:2px;
}
.extras .thumb img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; cursor:pointer; display:block;
}

@media (max-width:1024px){
  .detail-wrap{ grid-template-columns:1fr; }
  .extras{ grid-template-columns:1fr; column-gap:0; }
  .detail-right{ padding-left:0; }
  .detail-left img, .extras figure{ max-width: 92vw; }
}

/* Overlay image seule */
.fullscreen-overlay{
  display:none; position:fixed; inset:0; background:#fff; z-index:1000;
  justify-content:center; align-items:center;
}
.fullscreen-overlay.active{ display:flex; }
.fullscreen-overlay img{
  max-width:90vw; max-height:90vh; height:auto; width:auto; display:block;
}

/* Assure la même couleur sur tous les états du lien */
nav a#logo-link:link,
nav a#logo-link:visited,
nav a#logo-link:hover,
nav a#logo-link:active{
  color: #801720 !important;
  font-weight: 500 !important;  
}

/* On garde l’absence de soulignement animé sur le logo */
nav .logo.no-hover::after{ display: none !important; }

@media (max-width: 768px) {
  .about-page .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}




/*
.about-portrait {
  max-width: 25%;
  min-width: 180px;
  margin: 0 0 20px 0;
}
.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .about-portrait {
    max-width: 50%;
    margin: 0 auto 20px auto;
  }
}
*/









