/* Luxury Shop DZ — noir profond, or champagne, titres en sérif. Un seul thème sombre, voulu. */
:root {
  --bg: #0A0A0B; --surface: #141416; --surface-2: #1b1b1e; --line: #2a2a2e; --text: #F2EEE6; --muted: #A09B90;
  --gold: #C9A96A; --gold-ink: #0A0A0B; --ok: #7fbf9a; --warn: #e0b45a; --err: #e08a80;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif; --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--sans); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(32px, 6vw, 48px); } h2 { font-size: clamp(24px, 4vw, 32px); } h3 { font-size: 20px; }
p { margin: 0 0 1em; max-width: 68ch; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.skip { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .skip:focus { width: auto; height: auto; clip-path: none; left: 8px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 460px; padding-block: 48px; }
main.wrap { padding-block: 24px 64px; }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }

/* en-tête */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.top-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 10px; }
.logo { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.search { display: flex; flex: 1 1 220px; min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.search-input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); padding: 0 14px; height: 44px; font: inherit; }
.search-input:focus-visible { outline-offset: -2px; }
.pro-link { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav a { padding: 12px 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a.on, .nav a:hover { color: var(--text); border-bottom-color: var(--gold); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--text); cursor: pointer; }
.foot { border-top: 1px solid var(--line); padding-block: 32px; margin-top: 48px; } .foot-title { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }

/* accueil */
.hero { padding: clamp(40px, 9vw, 110px) 0 clamp(32px, 6vw, 70px); }
.hero h1 { font-size: clamp(40px, 9vw, 84px); max-width: 12ch; font-style: italic; margin-bottom: 28px; }
.genders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 48px; }
@media (min-width: 760px) { .genders { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } }
.gender { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 96px; padding: 16px 6px; text-align: center; border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s, transform .2s; }
.g-ic { color: var(--gold); display: grid; place-items: center; } .g-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; overflow-wrap: anywhere; }
.gender:hover, .gender:focus-visible { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .gender { transition: none; } .gender:hover { transform: none; } }
section { margin-bottom: 48px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.more { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); min-height: 44px; display: inline-flex; align-items: center; }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.brand-tile { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 72px; padding: 8px 12px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.brand-tile:hover { border-color: var(--gold); color: var(--gold); }

/* cartes produit */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: block; min-width: 0; }
.card-img { aspect-ratio: 1 / 1; background: #f1f1f1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; margin-bottom: 12px; color: var(--gold); }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.badge { position: absolute; left: 10px; top: 10px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); background: rgba(10,10,11,.8); padding: 4px 8px; }
.card-brand { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card-name { font-family: var(--serif); font-size: 20px; line-height: 1.15; margin: 2px 0 4px; overflow-wrap: anywhere; }
.card-price { color: var(--gold); font-size: 14px; }
.watch-art { color: var(--gold); }

/* catalogue */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px; scrollbar-width: thin; }
.chip { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.chip.on { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); } .chip:not(.on):hover { border-color: var(--gold); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.filters .input { width: auto; flex: 1 1 140px; min-width: 0; }
.count { margin-bottom: 20px; } .more-row { text-align: center; margin-top: 32px; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; } .check input { width: 18px; height: 18px; accent-color: var(--gold); }

/* fiche produit */
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--muted); font-size: 13px; }
.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 860px) { .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; } }
.stage { aspect-ratio: 1; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--gold); overflow: hidden; }
.stage img, .stage video { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumb { flex: none; width: 64px; height: 64px; padding: 0; background: var(--surface); border: 1px solid var(--line); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; } .thumb:hover, .thumb:focus-visible { border-color: var(--gold); }
.price { font-size: 26px; color: var(--gold); margin: 12px 0 4px; } .stock { color: var(--ok); font-size: 13px; letter-spacing: .06em; } .stock.low { color: var(--warn); }
.desc { color: #d6d1c6; margin-top: 20px; white-space: pre-line; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 20px; margin-top: 20px; } .facts dt { color: var(--muted); } .facts dd { margin: 0; }

/* formulaires et boutons */
.input, select.input, textarea.input { width: 100%; background: var(--surface); color: var(--text); border: 1px solid var(--line); min-height: 44px; padding: 8px 12px; font: inherit; border-radius: 0; }
textarea.input { resize: vertical; } .input[readonly] { opacity: .65; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 4px; } label.check { display: inline-flex; margin: 0; color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; background: transparent; color: var(--text); border: 1px solid var(--muted); font: 500 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; border-radius: 0; }
.btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.btn.gold, .btn.primary { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); } .btn.gold:hover:not(:disabled), .btn.primary:hover:not(:disabled) { background: #d8ba7d; color: var(--gold-ink); }
.btn.danger { border-color: var(--err); color: var(--err); } .btn.small { min-height: 36px; padding: 0 12px; font-size: 11px; }
.btn:disabled { opacity: .45; cursor: not-allowed; } .btn.is-busy { opacity: .7; }
.form-error { color: var(--err); min-height: 1.4em; margin: 10px 0 0; } .login { display: flex; flex-direction: column; }
.login .btn { margin-top: 16px; }

/* administration */
.admin { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; }
@media (min-width: 900px) { .admin { grid-template-columns: 240px minmax(0, 1fr); } }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
@media (min-width: 900px) { .side { position: sticky; top: 0; height: 100vh; } }
.side .logo { font-size: 18px; margin-bottom: 16px; display: block; }
.side a:not(.logo) { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); border-left: 2px solid transparent; font-size: 14px; }
.side a.on, .side a:not(.logo):hover { color: var(--text); border-left-color: var(--gold); background: var(--surface-2); }
.side-foot { margin-top: auto; padding-top: 16px; } .side-foot p { margin: 0 0 4px; overflow-wrap: anywhere; }
.admin-main { padding: 24px max(16px, env(safe-area-inset-right, 0px)) 64px max(16px, env(safe-area-inset-left, 0px)); min-width: 0; }
@media (min-width: 900px) { .admin-main { padding-inline: 32px; } }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; } .table th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--muted); padding: 12px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: middle; } .table td.warn { color: var(--warn); }
.pill { display: inline-block; padding: 2px 10px; font-size: 12px; border: 1px solid var(--line); } .pill.ok { color: var(--ok); border-color: #2c4a3a; } .pill.off { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 32px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--surface); border: 1px solid var(--line); }
a.stat:hover { border-color: var(--gold); } .stat-n { font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--gold); } .stat-l { font-size: 13px; color: var(--muted); }
.stat.warn .stat-n { color: var(--warn); }
.notice { padding: 14px 16px; border: 1px solid var(--line); background: var(--surface); margin: 16px 0; } .notice p { margin: 0 0 8px; } .notice.warn { border-color: var(--warn); } .notice.err { border-color: var(--err); } .notice.ok { border-color: var(--ok); }
.dropzone { border: 1px dashed var(--muted); padding: 32px 16px; text-align: center; margin: 16px 0; } .dropzone input { position: absolute; left: -9999px; }
details { margin: 12px 0; } summary { cursor: pointer; padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
.confirm { margin-top: 24px; max-width: 420px; } .row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.media-box { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; } .media-list { list-style: none; padding: 0; margin: 0 0 12px; }
.media-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.media-add { display: grid; gap: 8px; }

/* fenêtres, messages */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: flex; align-items: flex-start; justify-content: center; padding: 24px 12px; overflow-y: auto; z-index: 50; }
.modal { background: var(--surface); border: 1px solid var(--line); width: 100%; max-width: 480px; } .modal.wide { max-width: 640px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); } .modal-head h2 { margin: 0; font-size: 22px; }
.modal-body { padding: 8px 20px 20px; } .modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); }
.toasts { position: fixed; bottom: max(16px, env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 80; width: min(92vw, 420px); }
.toast { background: var(--surface-2); border: 1px solid var(--ok); padding: 12px 16px; } .toast.err { border-color: var(--err); }
.loading { display: flex; align-items: center; gap: 12px; padding: 40px 16px; color: var(--muted); justify-content: center; }
.spin { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-box { border: 1px solid var(--err); padding: 16px; margin: 16px 0; } .empty { text-align: center; padding: 48px 16px; } .empty-title { font-family: var(--serif); font-size: 26px; margin: 0 0 8px; max-width: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.admin-main h2 { margin-top: 36px; }
.admin-main > h1 { margin-bottom: 16px; }

/* ---- photos (administration) ---- */
.queue-card { border: 1px solid var(--line); background: var(--surface); padding: 20px; display: grid; gap: 14px; max-width: 640px; }
.queue-card h2 { font-size: 30px; margin: 0; overflow-wrap: anywhere; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.paste-zone { border: 1px dashed var(--line); background: var(--surface-2); color: var(--muted); padding: 22px 12px; text-align: center; font-size: 14px; min-height: 64px; outline: none; }
.paste-zone:focus { border-color: var(--gold); }
.photo-preview { background: #fff; display: grid; place-items: center; max-height: 340px; overflow: hidden; }
.photo-preview img { max-width: 100%; max-height: 340px; object-fit: contain; }
.file-btn { cursor: pointer; display: inline-block; }
.table tr.st-erreur td:last-child, .table tr.st-inconnu td:last-child { color: var(--err); } .table tr.st-envoye td:last-child { color: var(--ok); } .table tr.st-ignore td { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- vitrine : outils d'en-tête, langue, panier ---- */
.top-tools { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.lang { display: flex; margin-inline-end: 6px; }
.lang-btn { min-width: 36px; height: 36px; background: none; border: 1px solid transparent; color: var(--muted); font: 600 12px var(--sans); cursor: pointer; padding: 0 6px; }
.lang-btn.on { color: var(--gold); border-color: var(--gold); } .lang-btn:hover { color: var(--text); }
.cart-link, .bell { position: relative; }
.cart-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--gold-ink); font: 700 11px/18px var(--sans); text-align: center; }
.cart-count[hidden] { display: none; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 40px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; } .foot-links a { color: var(--muted); } .foot-links a:hover { color: var(--gold); }
.foot p { margin-bottom: .5em; }
.foot a:not(.more) { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

/* cartes : prix barré, remise, cœur */
.card-wrap { position: relative; min-width: 0; }
.heart { position: absolute; top: 6px; inset-inline-end: 6px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: rgba(10,10,11,.72); border: 0; color: var(--text); cursor: pointer; border-radius: 50%; z-index: 2; }
.heart.on { color: var(--gold); } .heart:hover { color: var(--gold); }
.buy .heart { position: static; background: transparent; border: 1px solid var(--line); border-radius: 0; width: 44px; height: 44px; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; } .price-line .now { color: var(--gold); } .price-line .now.sale { color: var(--text); }
.was { color: var(--muted); font-size: .85em; } .off { color: var(--gold-ink); background: var(--gold); font-size: 11px; font-weight: 700; padding: 1px 6px; }
.badge { inset-inline-start: 10px; left: auto; } .badge.sale { background: var(--gold); color: var(--gold-ink); }
.price { margin: 12px 0 4px; } .price .now { font-size: 26px; } .price .was { font-size: 18px; }
.promo-name { color: var(--gold); font-size: 13px; letter-spacing: .08em; margin: 6px 0 0; }
.buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); } .qty-val { min-width: 36px; text-align: center; font-variant-numeric: lining-nums; }
.qty-btn { width: 44px; height: 44px; background: none; border: 0; color: var(--text); font-size: 20px; cursor: pointer; } .qty-btn:hover { color: var(--gold); }

/* panier et commande */
.lines { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.co-grid .line, .od-grid .line { grid-template-columns: minmax(0, 1fr) auto; }
.line-img { width: 72px; height: 72px; background: var(--surface); object-fit: cover; display: flex; align-items: center; justify-content: center; color: var(--gold); overflow: hidden; } .line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-main { min-width: 0; overflow-wrap: anywhere; } .line-main a:hover { color: var(--gold); }
.line-price { text-align: end; white-space: nowrap; display: grid; gap: 4px; justify-items: end; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; padding: 4px 0; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; max-width: 420px; margin: 18px 0; } .totals dd { margin: 0; text-align: end; } .totals dt { color: var(--muted); }
.totals .big { color: var(--text); font-family: var(--serif); font-size: 24px; border-top: 1px solid var(--line); padding-top: 10px; } .disc { color: var(--ok); }
.row.sp { margin-top: 24px; } .stack { display: flex; flex-direction: column; max-width: 520px; } .stack .btn { margin-top: 18px; align-self: flex-start; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; } @media (min-width: 860px) { .co-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; } }
.recap { background: var(--surface); border: 1px solid var(--line); padding: 20px; align-self: start; } .recap h2 { font-size: 24px; }
.thanks { text-align: center; padding: 48px 0; } .thanks p { margin-inline: auto; } .thanks .row { justify-content: center; } .order-no { font-family: var(--serif); font-size: 36px; color: var(--gold); margin: 8px auto; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 8px; font-size: 14px; color: var(--muted); } .auth-links a:hover { color: var(--gold); }
.acc-nav { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.acc-nav a { padding: 12px 14px; color: var(--muted); border-bottom: 2px solid transparent; } .acc-nav a.on, .acc-nav a:hover { color: var(--text); border-bottom-color: var(--gold); }
.track { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 0; }
.track li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; color: var(--muted); position: relative; }
.track li .dot { width: 12px; height: 12px; border: 1px solid var(--muted); border-radius: 50%; justify-self: center; }
.track li.done { color: var(--text); } .track li.done .dot { background: var(--gold); border-color: var(--gold); } .track li.now .lbl { color: var(--gold); font-weight: 600; }
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; } .shop { border: 1px solid var(--line); background: var(--surface); padding: 20px; } .shop h2 { font-size: 26px; }
.legal { max-width: 70ch; } .legal p { max-width: none; }
.pill.st-nouvelle, .pill.st-a_confirmer { color: var(--warn); border-color: #5a4a22; } .pill.st-livree, .pill.st-confirmee { color: var(--ok); border-color: #2c4a3a; } .pill.st-annulee, .pill.st-retour { color: var(--err); border-color: #5a2e29; }

/* ---- administration : commandes, notifications, sélection ---- */
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .admin-bar h1 { margin: 0; }
.od-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; } .od-head h2 { margin: 0; }
.od-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 8px; }
.thumb-sm { width: 44px; height: 44px; object-fit: cover; background: var(--surface-2); }
.notes { list-style: none; padding: 0; margin: 0 0 16px; } .notes li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.notif { padding: 10px 0; border-bottom: 1px solid var(--line); } .notif.unread { border-inline-start: 3px solid var(--gold); padding-inline-start: 10px; } .notif a { display: block; }
.sel-list { list-style: none; padding: 0; margin: 16px 0; max-width: 720px; } .sel-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sel-found { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.side a.on { background: var(--surface-2); }
.stat.warn { border-color: var(--warn); }

/* ---- arabe : écriture de droite à gauche ---- */
:lang(ar) { --serif: "Noto Naskh Arabic", "Amiri", Georgia, serif; --sans: "Cairo", "Noto Sans Arabic", system-ui, sans-serif; }
:lang(ar) *, :lang(ar) *::before { letter-spacing: 0 !important; text-transform: none !important; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { line-height: 1.35; }
:lang(ar) .hero h1 { font-style: normal; line-height: 1.25; }

[dir="rtl"] .pro-link { margin-left: 0; }
[dir="rtl"] .facts, [dir="rtl"] .table th { text-align: right; }
[dir="rtl"] .back svg { transform: scaleX(-1); }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"], [dir="rtl"] input[type="password"], [dir="rtl"] input[type="number"] { direction: ltr; text-align: right; }

/* recherche et importation des images */
.img-row { border: 1px solid var(--line); background: var(--surface); padding: 12px 14px; margin: 12px 0; }
.cands { margin-top: 10px; display: grid; gap: 10px; }
.cand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cand { border: 1px solid var(--line); padding: 8px; display: grid; gap: 6px; align-content: start; min-width: 0; word-break: break-word; }
.cand.prob { border-color: var(--gold); }
.cand-img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; text-align: center; padding: 4px; }
.cand-img img { width: 100%; height: 100%; object-fit: contain; }
.sticky-actions { position: sticky; bottom: 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 0; background: var(--bg); border-top: 1px solid var(--line); margin-top: 16px; }

/* menu d'administration replié sur téléphone */
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .side-head .logo { margin-bottom: 0; }
.side-links { display: flex; flex-direction: column; gap: 2px; }
.side-toggle { display: none; }
@media (max-width: 899px) {
  .side-toggle { display: inline-flex; }
  .side:not(.open) .side-links, .side:not(.open) .side-foot { display: none; }
  .side { padding-block: 10px; gap: 8px; }
  .side-links { margin-top: 8px; }
}

/* accueil : bandeau vidéo (sans son, en boucle) */
.hero-video { position: relative; overflow: hidden; border-radius: 2px; min-height: min(52vh, 440px); display: flex; align-items: flex-end; padding: 0; margin-bottom: 40px; background: #000; }
@media (min-width: 760px) { .hero-video { min-height: min(62vh, 560px); } }
.hero-video .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.05) 60%); pointer-events: none; }
.hero-video .hero-inner { position: relative; z-index: 1; padding: clamp(24px, 6vw, 64px); color: #fff; }
.hero-video h1 { color: #fff; margin-bottom: 20px; font-size: clamp(32px, 8vw, 72px); }
.vid-prev { max-width: 320px; width: 100%; }

/* accueil : défilement des marques mises en avant */
.hero-slides { position: relative; margin-bottom: 40px; border-radius: 2px; overflow: hidden; background: #000; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: flex-end; min-height: min(78vh, 600px); color: #fff; text-decoration: none; overflow: hidden; }
.slide-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(24px) brightness(.45); }
.slide-fg { position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 78%; max-width: 100%; width: auto; object-fit: contain; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0) 55%); pointer-events: none; }
.slide-text { position: relative; z-index: 1; padding: clamp(20px, 5vw, 56px); padding-bottom: clamp(44px, 7vw, 64px); }
.slide-text h1 { color: #fff; margin-bottom: 16px; font-size: clamp(34px, 8vw, 72px); }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid #fff; background: transparent; cursor: pointer; }
.dot.on { background: #fff; }
.brand-row { margin-bottom: 40px; }
@media (min-width: 760px) { .slide-fg { height: 86%; } }

/* ---- Nos marques : logos sur tuiles claires (les couleurs officielles restent intactes) ---- */
.brands-sec { margin-block: 32px; }
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
@media (min-width: 560px) { .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
.brand-logo { display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s, transform .2s; }
.brand-logo:hover, .brand-logo:focus-visible { border-color: var(--gold); transform: translateY(-2px); }
.brand-logo img { display: block; max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.brand-word { color: #1a1a1c; font: 600 13px/1.2 inherit; letter-spacing: .22em; text-transform: uppercase; text-align: center; }
@media (prefers-reduced-motion: reduce) { .brand-logo { transition: none; } .brand-logo:hover { transform: none; } }

/* ---- Réseaux sociaux : icônes animées aux couleurs de chaque réseau ---- */
.socials { display: flex; gap: 14px; margin: 14px 0 4px; }
.foot a.social { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; text-decoration: none; position: relative; transition: transform .25s; }
.social.fb { background: #1877F2; } .social.wa { background: #25D366; }
.social.ig { background: radial-gradient(circle at 30% 107%, #FED576 0%, #F47133 28%, #BC3081 62%, #4C63D2 100%); }
.social::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: social-ring 2.6s ease-out infinite; animation-delay: calc(var(--i, 0) * .45s); }
.social.fb::after { --c: 24,119,242; } .social.wa::after { --c: 37,211,102; } .social.ig::after { --c: 214,41,118; }
.social svg { animation: social-bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .4s); }
.social:hover, .social:focus-visible { transform: translateY(-3px) scale(1.08) rotate(-4deg); }
@keyframes social-ring { 0% { box-shadow: 0 0 0 0 rgba(var(--c), .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(var(--c), 0); } }
@keyframes social-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .social::after, .social svg { animation: none; } .social:hover { transform: none; } }

/* ---- Bouton WhatsApp flottant ---- */
.wa-float { position: fixed; z-index: 40; inset-inline-end: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; box-shadow: 0 6px 18px rgba(0,0,0,.45); animation: wa-bounce 4s ease-in-out infinite; }
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: wa-wave 2.4s ease-out infinite; }
.wa-float::after { animation-delay: 1.2s; }
.wa-float svg { animation: social-bob 3.2s ease-in-out infinite; }
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.1); }
@keyframes wa-wave { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes wa-bounce { 0%, 88%, 100% { transform: translateY(0); } 92% { transform: translateY(-9px); } 96% { transform: translateY(0); } 98% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float::before, .wa-float::after, .wa-float svg { animation: none; } .wa-float::before, .wa-float::after { display: none; } }

.hp-trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---- Rayons Homme / Femme / Unisexe avec photo de montre ---- */
.gender.has-photo { padding: 0; gap: 0; overflow: hidden; justify-content: flex-start; }
.g-photo { display: block; width: 100%; aspect-ratio: 1 / 1; background: #f1f1f1; }
.g-photo img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.gender.has-photo .g-label { padding: 10px 6px 12px; }

/* ---- Fiche produit : commander maintenant, services, montres semblables ---- */
.buy-now { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; margin-top: 12px; padding: 16px 12px; background: var(--gold); color: #111; border: 0; font: inherit; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.buy-now small { font-size: 11px; font-weight: 500; letter-spacing: .1em; opacity: .8; }
.buy-now:hover, .buy-now:focus-visible { filter: brightness(1.08); }
.services { margin-top: 56px; text-align: center; }
.serv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.serv { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; border: 1px solid var(--line); border-radius: 4px; }
.serv p { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.similar { margin-top: 48px; }
@media (max-width: 420px) { .serv p { font-size: 11px; letter-spacing: .06em; } }

/* ---- Signature discrète sur les photos de montres (affichage) ---- */
.stage { position: relative; }
[data-wm]::after { content: attr(data-wm); position: absolute; inset-inline-end: 8px; bottom: 7px; padding: 2px 6px; font: 600 10px/1.2 var(--sans, inherit); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.38); text-shadow: 0 1px 2px rgba(0,0,0,.6); pointer-events: none; z-index: 2; }
.stage[data-wm]::after { font-size: 12px; bottom: 12px; inset-inline-end: 12px; }
