﻿/* Vente directe ODEXPO : habillage magazine du balisage des includes d'origine - maj 11/11/2026 (categories en bande sur mobile, onglets en liste sobre, ajouts du 11/11 retires ; filtres communs dans filtres.css)
   Les includes d'Odexpo (a_v2_inc_VENTE_*, a_inc_VENTE_CATEGORIE2022, a_v2_incA2_OEUVRE_DETAIL...) restent inchangés :
   on ne fait que remettre en forme leurs classes (col-*, product-*, fancy-title...), sous .v-legacy. */

.v-legacy { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 104px); }
.v-legacy [class*="col-"], .v-legacy .containerOLD, .v-legacy .content-wrap { float: none; width: auto; max-width: none; padding: 0; margin-left: 0; margin-right: 0; }
.v-legacy .clearfix::after { content: ""; display: block; clear: both; }
.v-legacy .clear { clear: both; }
.v-legacy br + br { display: none; }
.v-legacy [class^="icon-"], .v-legacy [class*=" icon-"], .v-legacy .divider i { display: none !important; }
.v-legacy .input0 { display: none; }

/* Titres des includes -> titres de rubrique */
.v-legacy .fancy-title { margin: 56px 0 24px; display: flex; align-items: center; gap: 14px; }
.v-legacy .fancy-title::after { content: ""; flex: 1; height: 1px; background: var(--v-encre); }
.is-container .v-legacy .fancy-title h2, .is-container .v-legacy .fancy-title h3, .is-container .v-legacy .fancy-title h4 { font-family: var(--v-titre); font-stretch: 125%; font-weight: 300; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin: 0; line-height: 1.2; }
.is-container .v-legacy h2 { font-size: clamp(30px, 3.6vw, 52px); margin: 48px 0 8px; }
.v-legacy h2 + p { color: var(--v-ardoise); margin: 0 0 28px; }
.is-container .v-legacy h4 { font-family: var(--v-texte); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .12em !important; margin: 0 0 10px !important; }

/* Recherche et categories */
.v-legacy form { margin: 0; text-align: left !important; display: block; }
.v-legacy form[name="FORMARTISTE"] { display: flex; flex-wrap: wrap; gap: 8px; }
.v-legacy input.sm-form-control, .v-legacy select, .v-legacy input[type=text] { min-height: 44px; padding: 0 12px; border: 1px solid var(--v-encre); background: var(--v-blanc); font: inherit; color: var(--v-encre); border-radius: 0; min-width: 0 !important; }
.v-legacy select { border-color: var(--v-filet); cursor: pointer; }
.v-legacy .topnavph { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 40px !important; }
.v-legacy .topnavph li.icon { display: none; }
.is-container .v-legacy .topnavph a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--v-filet); text-decoration: none; color: var(--v-encre); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.is-container .v-legacy .topnavph a:hover { border-color: var(--v-encre); }
.is-container .v-legacy .topnavph .cat-li-current a { background: var(--v-encre); border-color: var(--v-encre); color: var(--v-papier); }


/* Grilles d'oeuvres */
.v-legacy #shop, .v-legacy .shop { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 40px 24px; margin: 0 0 24px; }
.v-legacy .product, .v-legacy #shop > div { position: relative; margin: 0 !important; }
.v-legacy .product-image { position: relative; overflow: hidden; background: var(--v-sable); }
.v-legacy .product-image img:not(.hid-img) { display: block; width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: cover; background-size: cover !important; background-position: center !important; border-radius: 0 !important; transition: opacity .25s; }
.v-legacy .product-image a:hover img { opacity: .88; }
.v-legacy .hid-img, .v-legacy .product-overlay { display: none !important; }
.v-legacy .product-image .radius[style] { top: 8px !important; left: 8px !important; right: auto !important; background: var(--v-encre) !important; color: #fff !important; font-size: 11px !important; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px !important; border-radius: 0 !important; }
.v-legacy .product-desc { padding-top: 12px; text-align: left !important; }
.is-container .v-legacy .product-title a, .v-legacy .product-title { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; color: var(--v-encre); }
.v-legacy .product-price { color: var(--v-accent); font-weight: 600; font-size: 15px; margin-top: 4px; }
.v-legacy .product-price ins { text-decoration: none; }
.v-legacy .product-price del { color: var(--v-ardoise); font-weight: 400; }
.v-legacy .artiste-name, .v-legacy .art_present, .v-legacy .respodexpo { font-size: 13px; color: var(--v-ardoise); line-height: 1.45; }
.v-legacy .label, .v-legacy .label-info, .v-legacy .check-new { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--v-accent); background: none; padding: 0; }
.v-legacy .divider { height: 1px; background: var(--v-filet); margin: 48px 0; border: 0; }
.v-legacy .paaadtopodexpo15 { height: 0; }

/* Boutons des includes (dont l'ancien bouton magenta) */
.is-container .v-legacy .button, .is-container .v-legacy button.button[style] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px !important; background: var(--v-encre) !important; color: #fff !important; border: 0; border-radius: 0 !important; font: 600 15px/1.3 var(--v-texte) !important; letter-spacing: .02em; text-transform: none; cursor: pointer; }
.is-container .v-legacy .button:hover { background: var(--v-accent) !important; }
.is-container .v-legacy a:has(> button[style*="d60dc6"]) button { background: var(--v-accent) !important; }

/* Pagination des includes */
.v-legacy .pagination, .v-legacy .pager { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 40px 0 0; }
.is-container .v-legacy .pagination a, .v-legacy .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--v-filet); text-decoration: none; color: var(--v-encre); font-weight: 600; }

/* Fiche oeuvre */
.v-oeuvre :has(> .col-md-6) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: start; }
.v-oeuvre img { max-width: 100%; height: auto; }
.v-oeuvre a[data-lightbox] > img[title] { width: 100%; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .55); }
.v-oeuvre a[data-lightbox] img[src*="vide.gif"] { width: 72px !important; height: 72px !important; object-fit: cover; background-size: cover !important; border-radius: 0 !important; margin: 10px 6px 0 0; }
.is-container .v-oeuvre .product-desc h3 { font-family: var(--v-titre); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 4.4vw, 60px); line-height: .95; margin: 0 0 16px; }
.v-oeuvre .product-desc .product-price { font-family: var(--v-titre); font-stretch: 62%; font-weight: 800; font-size: 44px; line-height: 1; margin: 0 0 8px; }
.v-oeuvre .oeuvre-vendu { display: inline-block; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--v-accent); }
.v-oeuvre .vue_oeuvre { font-size: 13px; color: var(--v-ardoise); margin: 10px 0; }
.v-oeuvre .oeuvre-desc { color: var(--v-ardoise); }
.v-oeuvre .oeuvre-interet { margin: 10px 0 8px; color: var(--v-ardoise); }
.v-oeuvre .line { height: 1px; background: var(--v-filet); margin: 28px 0; }
.v-oeuvre .panel { border-top: 2px solid var(--v-encre); padding-top: 14px; }
.v-oeuvre .panel span { display: block; margin: 8px 0; }
.is-container .v-oeuvre .panel a { color: var(--v-encre); font-weight: 600; }
.v-oeuvre .nobottommargin[style*="center"] { text-align: left !important; }
@media (max-width: 900px) {
	.v-oeuvre :has(> .col-md-6) { grid-template-columns: 1fr; }
}

/* Correctifs 1 - maj 10/11/2026 */
/* Cartes : titre, annee, dimensions discrets ; prix lisible mais sobre */
.is-container .v-legacy .product-desc h4, .is-container .v-legacy .product-desc h4 a { font-family: var(--v-texte); font-stretch: 100%; font-weight: 600; font-size: 14px; line-height: 1.3; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 4px; color: var(--v-encre); text-decoration: none; }
.is-container .v-legacy .product-desc h5 { font-family: var(--v-texte); font-weight: 400; font-size: 13px; margin: 0; color: var(--v-ardoise); text-transform: none; }
.v-legacy .product-desc { font-size: 13px; color: var(--v-ardoise); }
.v-oeuvre .product-desc .product-price, .v-legacy .product-price { font-family: var(--v-texte); font-stretch: 100%; font-weight: 600; font-size: 18px; line-height: 1.4; color: var(--v-accent); margin: 6px 0 0; }
/* Prix de l'oeuvre principale : plus present, sans crier */
.v-oeuvre .col-md-6.product-desc > .product-price { font-size: 24px; margin: 4px 0 18px; }
/* Fiche : vignettes en ligne, listes sans puces */
.v-oeuvre a[data-lightbox] { display: inline-block; vertical-align: top; }
.v-oeuvre ul { list-style: none; padding: 0; margin: 0 0 8px; }
.v-oeuvre ul li { padding: 6px 0; border-bottom: 1px solid var(--v-filet); font-size: 15px; }
.v-oeuvre .oeuvre-desc { margin-top: 32px; max-width: 62ch; }
/* Liens de retour */
.v-retour { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 24px; font-size: 14px; }
.is-container .v-retour a { color: var(--v-encre); font-weight: 600; text-decoration: none; }
.is-container .v-retour a:hover { color: var(--v-accent); }
/* Fenetre de contact (magnific popup) au-dessus de l'en-tete */
.mfp-bg, .mfp-wrap { z-index: 100001 !important; }
/* Listes d'oeuvres sur toute la largeur */
.v-legacy #shop, .v-legacy .shop { width: 100% !important; grid-column: 1 / -1; }
.v-legacy #shop > div { width: auto !important; float: none !important; }

/* Vente directe - onglets en liste deroulante sur mobile (meme style que les filtres) */
.v-vente .v-onglets-mobile-label, .v-vente .v-onglets-mobile-select { display: none; }
@media (max-width: 767px) {
  .v-vente .v-onglets-vente { display: none !important; }
  .v-vente .v-onglets-mobile-label { display: block; margin: 18px 0 10px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--v-encre); }
  .v-vente .v-onglets-mobile-select { display: block; width: 100%; height: 46px; padding: 0 10px; border: 1px solid #c9c4ba; background: var(--v-blanc); color: var(--v-encre); font: inherit; font-size: .95rem; border-radius: 0; }
}

/* Responsive des rubriques */
@media (max-width: 760px) {
   .v-legacy select, .v-legacy input.sm-form-control, .v-legacy input[type=text] { width: 100% !important; flex: 1 1 100%; }
   .v-legacy form > *, .v-legacy .col_full { width: 100% !important; }
   .v-legacy #shop, .v-legacy .shop { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
   .v-legacy .topnavph { flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: 10px !important; margin-bottom: 24px !important; -webkit-overflow-scrolling: touch; }
   .v-legacy .topnavph li { flex: 0 0 auto; }
   .is-container .v-legacy .topnavph a { white-space: nowrap; }
   .is-container .v-legacy .topnavph a, .is-container .v-ann-index a { min-height: 32px; padding: 0 9px; font-size: 12px; }
   .is-container .v-legacy h2 { font-size: 30px; margin-top: 40px; }
   .v-legacy .button, .v-legacy a[class*="btn"] { width: 100%; }
}

/* Oeuvres en vente : cover vers contain au survol */
#shop .product-image img[id^="image_"] {
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center center;
}

#shop .product-image:hover img[id^="image_"] {
    background-size: contain !important;
}
/* Fond transparent derrière les oeuvres */
#shop .product-image,
#shop .product-image > a,
#shop .product-image img[id^="image_"] {
    background-color: transparent !important;
}
/* Harmonisation 11/11/2026 : titres, cartes et boutons comme l'annuaire */
.is-container .v-legacy h2 { display: flex; align-items: center; gap: 14px; font-family: var(--v-titre); font-stretch: 125%; font-weight: 300; font-size: 13px; letter-spacing: .18em; line-height: 1.2; margin: 56px 0 6px; }
.is-container .v-legacy h2::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.v-legacy h2 + p { font-size: 13px; margin: 0 0 24px; }
.v-legacy .product-desc { padding-top: 14px; }
.is-container .v-legacy .artiste-name h4 { font-family: var(--v-titre); font-stretch: 100%; font-weight: 600; font-size: 17px; line-height: 1.2; letter-spacing: .04em !important; text-transform: uppercase; margin: 0 0 6px !important; color: var(--v-encre); }
.is-container .v-legacy .product-title { font-family: var(--v-texte); font-weight: 400; font-size: 13px; line-height: 1.45; letter-spacing: 0; text-transform: none; color: var(--v-ardoise); }
.is-container .v-legacy .button, .is-container .v-legacy button.button[style] { background: var(--v-accent) !important; }
.is-container .v-legacy .button:hover { background: var(--v-encre) !important; }