/* ==============================
   Han Street — K-Street v4 (Kimchi Alley)
   Palette plus chaude, fond papier riz, néons, tickets & badges épices
   ============================== */

/* ======= Design tokens ======= */
:root{
  /* Couleurs (gochujang / radis kimchi / ciboule / charbon) */
  --brand:     #e23b2a;   /* gochujang red */
  --brand-2:   #ffd9c9;   /* pickled radish pink */
  --brand-3:   #e23b2a;   /* scallion green */
  --ink:       #151719;   /* charcoal */
  --muted:     #70757d;

  /* Surfaces & traits (papier riz plus doux, pas “blanc écran”) */
  --bg:        #f1ebe2;   /* steamed rice (assombri) */
  --surface:   #fbf3ea;   /* rice paper crème */
  --surface-2: #f7efe6;   /* alt */
  --stroke:    rgba(10,15,20,.12);
  --stroke-2:  rgba(10,15,20,.20);

  /* Piments */
  --spice-1:#ff986f;
  --spice-2:#ff5a45;
  --spice-3:#c92a2f;

  /* Ombres */
  --shadow-sm: 0 8px 18px rgba(30,10,5,.06);
  --shadow:    0 16px 32px rgba(30,10,5,.12);
  --shadow-lg: 0 28px 64px rgba(30,10,5,.18);

  /* Typo & layout */
  --container:1120px; --radius:18px;
  --fs-1:clamp(32px,5vw,54px);
  --fs-2:clamp(22px,3.6vw,34px);
  --fs-3:clamp(18px,2.4vw,21px);
  --fs-body:clamp(15px,2vw,17px);
  --section-y:clamp(36px,7vw,90px);

  /* Textures papier / grain léger */
  --grain: radial-gradient(transparent 0, transparent 2px, rgba(0,0,0,.02) 2.2px) 0 0/6px 6px;
  --hanji: repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 2px, transparent 2px 6px);

  /* Hauteur totale de l’en-tête collant (définie en JS) */
  --head-total: 0px;
  --anchor-offset: calc(var(--head-total) + 12px);
}
[id]{ scroll-margin-top: var(--anchor-offset); }

/* ===== Base ===== */
*,*::before,*::after{ box-sizing:border-box }
html:focus-within{ scroll-behavior:smooth }
html,body{ height:100%; overflow-x:hidden }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Helvetica, Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(255,255,255,.0), rgba(255,255,255,.0)),
    var(--hanji), var(--grain), var(--bg);
  color:var(--ink); line-height:1.6; font-size:var(--fs-body);
}
img,svg,video{ max-width:100%; display:block }
a{ color:inherit; text-decoration:none }
a:focus-visible,button:focus-visible{ outline:3px solid var(--brand); outline-offset:2px; border-radius:10px }
::selection{ background:rgba(226,59,42,.18) }
.container{ max-width:var(--container); margin-inline:auto; padding-inline:clamp(16px,4vw,32px) }
.section{ padding-block:var(--section-y) }
.wordmark{ font-weight:900; letter-spacing:.3px }
.h1{ font-size:var(--fs-1) }.h2{ font-size:var(--fs-2) }.h3{ font-size:var(--fs-3) }
.lead{ color:var(--muted); max-width:65ch }
.muted{ color:var(--muted) }
.skip{ position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden }

/* ===== UI ===== */
.btn{
  display:inline-flex; gap:.6rem; align-items:center; justify-content:center;
  padding:.9rem 1.15rem; border-radius:999px; font-weight:750;
  border:1px solid transparent; transition:transform .15s ease, box-shadow .2s ease, background .2s ease
}


.btn--primary{
  background:linear-gradient(180deg, var(--brand) 0%, #b72d21 100%); color:#fff;
  box-shadow:0 8px 22px rgba(226,59,42,.25), inset 0 -1px 0 rgba(255,255,255,.15);
}
.btn--primary:hover{ box-shadow:var(--shadow); transform:translateY(-1px); cursor: pointer!important; }
.btn--ghost{ background:rgba(255,255,255,.75); border-color:var(--stroke-2) }
.btn--ghost:hover{ background:#fff }
.btn--block{ width:100% }

.badge{
  display:inline-flex; align-items:center; gap:.5rem; padding:.38rem .7rem;
  border-radius:999px; background:var(--brand-2); color:var(--brand);
  font-weight:800; font-size:.85rem; letter-spacing:.2px; border:1px solid var(--stroke)
}
.badge--stamp{ border:2px dashed rgba(226,59,42,.40); background:transparent; color:var(--brand) }

.card{
  background:var(--surface); border:1px solid var(--stroke);
  border-radius:calc(var(--radius) + 2px); padding:22px; box-shadow:var(--shadow-sm);
  background-image:var(--hanji), var(--grain); background-blend-mode:multiply;
}
.card:hover{ box-shadow:var(--shadow) }

/* ===== Topbar & Header ===== */
.topbar{ background:#f6e9de; color:var(--brand); border-bottom:1px dashed rgba(226,59,42,.25) }
.topbar .container{ display:flex; align-items:center; gap:1rem; padding-block:.45rem }
.topbar__right{ margin-left:auto; display:flex; gap:.8rem; align-items:center }
.topbar .btn--ghost{ padding:.45rem .75rem }

.site-header{
  position:sticky; top:0; z-index:50; background:rgba(251,243,234,.85);
  border-bottom:1px solid var(--stroke); backdrop-filter:saturate(1.05) blur(8px)
}
.site-header .inner{ display:flex; align-items:center; justify-content:space-between; padding-block:.8rem; gap:1rem }
.brand{ display:flex; align-items:center; gap:.75rem }
.brand img{ width:36px;height:36px; filter:drop-shadow(0 2px 0 rgba(0,0,0,.04)) }
nav.primary{ display:flex; gap:1.2rem }
nav.primary a{ position:relative; padding:.2rem .1rem }
nav.primary a::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:3px; border-radius:3px;
  background:linear-gradient(90deg, var(--brand), var(--brand-3)); transform:scaleX(0);
  transform-origin:left; transition:.18s ease
}
nav.primary a:hover::after{ transform:scaleX(1) }
.header-cta{ display:flex; gap:.6rem; align-items:center }

.drawer{ display:none } .nav-toggle{ display:none }
@media (max-width:920px){
  nav.primary{ display:none } .nav-toggle{ display:inline-flex }
  .drawer{
    display:block; position:fixed; inset:0; z-index:60; background:rgba(0,0,0,.5);
    opacity:0; pointer-events:none; transition:.2s
  }
  .drawer__panel{
    position:absolute; inset:0 0 0 auto; width:min(88%,360px); background:var(--surface);
    padding:20px 22px; box-shadow:var(--shadow-lg); transform:translateX(20%); transition:.2s; max-height:100vh; overflow:auto
  }
  .drawer[data-open="true"]{ opacity:1; pointer-events:auto }
  .drawer[data-open="true"] .drawer__panel{ transform:translateX(0) }
  .drawer nav a{ display:block; padding:12px 6px; border-bottom:1px solid var(--stroke) }
  .drawer__head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px }
}

/* ===== Marquee ===== */
.marquee{
  --gap:24px; --dur:28s;
  background:#fae6da;
  border-block:1px dashed rgba(226,59,42,.30);
  width:100vw; margin-left:50%; transform:translateX(-50%);
}
.marquee__viewport{
  overflow:hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track{
  display:flex; width:max-content; animation:marquee var(--dur) linear infinite; will-change: transform;
}
.marquee__inner{
  flex:0 0 auto; display:flex; gap:var(--gap); padding:.55rem 0;
  padding-inline: calc(var(--gap) / 2); min-width:100vw;
}
.marquee__track:hover{ animation-play-state: paused }
.marquee__item{ font-weight:800; color:var(--brand) }
@keyframes marquee{ to { transform: translateX(-50%) } }

/* ===== Hero (néon & papier) ===== */
.hero.hero--han{
  position:relative; isolation:isolate; overflow:hidden; color:var(--ink);
  height: calc(100svh - var(--head-total));
  min-height: calc(100svh - var(--head-total));
  display:flex; align-items:center; background:var(--bg);
}
.hero--han .hero__bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
  filter:saturate(1.02) contrast(1.03) brightness(1.01);
}
.hero--han::after{
  content:""; position:absolute; inset:0; z-index:0;
  background:linear-gradient(70deg, rgb(241 235 226) 0%, rgb(241 235 226 / 37%) 42%, rgb(241 235 226 / 18%) 68%, rgba(241, 235, 226, 0) 100%);
}
/* Néon vertical subtil côté droit */
.hero--han::before{
  content:""; position:absolute; right:6%; top:10%; bottom:10%; width:6px; border-radius:8px; z-index:0;
  background:linear-gradient(70deg, var(--brand), var(--brand-3));
  box-shadow:0 0 22px rgba(226,59,42,.45), 0 0 18px rgba(17,176,122,.35);
  opacity:.33; pointer-events:none;
}

/* Carte décentrée */
.hero--han .hero__inner{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1fr; gap:1.2rem; width:100%;
  padding-block:clamp(28px,7vw,96px);
}
.hero--han .hero-card{
  max-width:min(820px,100%);
  margin-left:clamp(-56px, -6vw, -96px);
  background:rgba(251,243,234,.86);
  backdrop-filter:blur(10px);
  border:1px solid var(--stroke);
  border-radius:calc(var(--radius) + 12px);
  box-shadow:var(--shadow);
  padding:clamp(20px,3.4vw,34px);
  transform:translateY(-2px);
}
.hero--han .hero-note{ color:var(--muted) }
.cta{ display:flex; gap:.8rem; flex-wrap:wrap; margin-top:.9rem }
.cta--right{ justify-content:flex-end }
@media (max-width:700px){ .cta--right{ justify-content:center } }
@media (max-width:920px){ .hero--han .hero-card{ margin-left:0; transform:none } }

/* ===== Chips ===== */
.chips{ display:flex; flex-wrap:wrap; gap:.6rem; margin:1rem 0 }
.chip{
  display:inline-flex; align-items:center; gap:.5rem; padding:.52rem .9rem;
  border:1px solid var(--stroke-2); border-radius:999px; background:#fffaf4;
  transition:background .15s ease, transform .1s ease, box-shadow .2s ease; box-shadow:0 1px 0 rgba(0,0,0,.03)
}
.chip:hover{ background:var(--brand-2); transform:translateY(-1px) }
.chip--active{ background:linear-gradient(180deg, var(--brand-2), #ffd2bf); color:var(--brand); border-color:rgba(226,59,42,.38) }

/* ===== Grid ===== */
.grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px }
@media (max-width:920px){ .grid{ grid-template-columns:1fr } }

/* ===== Rail horizontal (best-sellers) ===== */
.rail-x{
  display:grid; grid-auto-flow:column; grid-auto-columns:min(78%, 360px);
  gap:16px; overflow-x:auto; padding:4px 2px 10px; scroll-snap-type:x mandatory;
}
.rail-x > *{ scroll-snap-align:start }

/* ===== Dishes ===== */
.dish{ display:grid; grid-template-columns:140px 1fr; gap:14px; align-items:start }
.dish__img{
  width:100%; height:120px; object-fit:cover; border-radius:14px; border:1px solid var(--stroke); box-shadow:var(--shadow-sm)
}
.dish__meta{ display:flex; gap:12px; align-items:center; flex-wrap:wrap }

/* Ticket prix (découpe) */
.price{
  --notch:10px;
  display:inline-block; font-weight:900; letter-spacing:.2px;
  padding:.35rem .6rem .35rem .7rem; background:#fff3ea; color:var(--ink);
  border:1px dashed rgba(226,59,42,.40);
  clip-path: polygon(0% 0%, calc(100% - var(--notch)) 0%, 100% 50%, calc(100% - var(--notch)) 100%, 0% 100%, 0% 0%);
}
.heat{ display:inline-flex; gap:3px; vertical-align:middle; margin-left:.35rem }
.heat i{ width:12px; height:12px; border-radius:3px; display:inline-block; background:var(--spice-1); box-shadow: inset 0 -1px 0 rgba(0,0,0,.08) }
.heat i:nth-child(2){ background:var(--spice-2) }
.heat i:nth-child(n+3){ background:var(--spice-3) }

/* ===== About ===== */
.about__wrap{ display:grid; grid-template-columns:.95fr 1.05fr; gap:26px; align-items:center }
.media{ aspect-ratio:4/3; border-radius:calc(var(--radius) + 6px); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--stroke); background:var(--grain) }
.media > img{ width:100%; height:100%; object-fit:cover }
.ul{ padding-left:1.1rem; margin:0 0 1rem }
.ul li::marker{ color:var(--brand) }
.stats{ display:flex; gap:18px; flex-wrap:wrap; margin-top:.6rem }
.stat{ flex:1 1 160px; background:var(--surface-2); border:1px solid var(--stroke); border-radius:var(--radius); padding:16px 18px; text-align:center }
.stat strong{ display:block; font-size:1.6rem; letter-spacing:.3px; color:var(--brand) }
@media (max-width:920px){ .about__wrap{ grid-template-columns:1fr } }

/* ===== Gallery ===== */
.gallery__items{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px }
.thumb{ border-radius:16px; overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--stroke); background:#f7efe7 }
.thumb__img{ width:100%; height:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .25s ease }
.thumb:hover .thumb__img{ transform:scale(1.03) }
@media (max-width:920px){ .gallery__items{ grid-template-columns:1fr } }

/* ===== Events ===== */
.event{ display:block }
.event__cover{ width:100%; height:180px; object-fit:cover; border-radius:14px; border:1px solid var(--stroke); margin-bottom:8px; box-shadow:var(--shadow-sm) }
.event__title{ display:block; margin-bottom:.2rem }

/* ===== FAQ / CTA ===== */
.rail{ display:grid; grid-auto-flow:column; grid-auto-columns:min(86%,520px); gap:16px; overflow-x:auto; padding-bottom:6px; scroll-snap-type:x mandatory }
.rail .card{ scroll-snap-align:start }
.faq__grid{ display:grid; grid-template-columns:1.3fr .9fr; gap:20px; align-items:start }
.item{ border:1px solid var(--stroke); border-radius:var(--radius); background:var(--surface); overflow:hidden }
.item summary{ list-style:none; cursor:pointer; padding:16px 18px; font-weight:800; letter-spacing:.2px }
.item summary::-webkit-details-marker{ display:none }
.item .content{ padding:14px 18px; color:var(--muted) }
@media (max-width:920px){ .faq__grid{ grid-template-columns:1fr } }

/* ===== Contact ===== */
.contact__grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:20px; align-items:start }
.card--media{ padding:0; overflow:hidden }
/* .map-placeholder{
  aspect-ratio:4/3;
  background:repeating-linear-gradient(45deg, #f6eee6 0 8px, #f1e7de 8px 16px), var(--hanji);
  display:grid; place-items:center; color:var(--brand); font-weight:800; letter-spacing:.2px
} */

.card--media{
  padding:0;
  overflow:hidden;
}

.contact-photo{
  margin:0;
  aspect-ratio:4/3;
  border-radius:calc(var(--radius) + 4px);
  overflow:hidden;
}

.contact-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media (max-width:920px){ .contact__grid{ grid-template-columns:1fr } }

/* ===== Footer ===== */
footer{ margin-top:40px; background:#f6ede4; border-top:1px solid var(--stroke) }
.footgrid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; padding-block:28px }
.brand--foot img{ width:36px;height:36px }
.legal{ border-top:1px solid var(--stroke); padding:12px 0; color:var(--muted); font-size:.92rem }
@media (max-width:920px){ .footgrid{ grid-template-columns:1fr } }

/* ===== Carousel ===== */
.carousel{ position:relative; isolation:isolate }
.carousel__track{ display:flex; overflow:hidden; scroll-snap-type:x mandatory }
.carousel__slide{ flex:0 0 100%; scroll-snap-align:start; border-radius:16px; overflow:hidden; border:1px solid var(--stroke); box-shadow:var(--shadow) }
.carousel__img{ width:100%; height:min(62vh,560px); object-fit:cover; display:block }
.carousel__btn{
  position:absolute; top:50%; transform:translateY(-50%); width:42px; height:42px; border-radius:999px;
  display:grid; place-items:center; border:1px solid var(--stroke-2); background:rgba(255,255,255,.85); cursor:pointer; box-shadow:var(--shadow-sm)
}
.carousel__btn:hover{ background:#fff }
.carousel__btn--prev{ left:12px } .carousel__btn--next{ right:12px }
.carousel__dots{ position:absolute; left:50%; transform:translateX(-50%); bottom:5px ; display:flex; gap:8px; z-index:2 }
.carousel__dot{ width:8px; height:8px; border-radius:999px; background:rgba(0,0,0,.18); border:1px solid var(--stroke-2) }
.carousel__dot[aria-current="true"]{ background:var(--brand) }

/* On désactive l'ancien trait dans le hero */
.hero--han::before{ content:none !important; }

/* On garde le hero__inner en contexte de positionnement */
.hero--han .hero__inner{
  position:relative;
  z-index:1; /* le trait passera sous la carte, pas dessus */
}

/* Nouveau trait placé SOUS le container hero */
.hero--han .hero__inner::after{
  content:"";
  position:absolute;
  left:min(6%, 48px);
  right:min(6%, 48px);
  bottom: calc(-1 * clamp(8px, 1.8vw, 22px)); /* sort sous le container */
  height:6px;
  border-radius:8px;
  background:linear-gradient(90deg, var(--brand), var(--brand-3));
  opacity:.5;
  pointer-events:none;
  filter:none;
}

/* Option : un peu plus proche sur mobile */
@media (max-width:700px){
  .hero--han .hero__inner::after{
    left:16px; right:16px;
    bottom: -12px;
  }
}

/* ====== Champs de formulaire Han Street (newsletter) ====== */
:root{
  /* champs */
  --field-bg:    #fff8f1;                           /* crème doux */
  --field-stroke: rgba(10,15,20,.18);
  --field-stroke-hover: rgba(10,15,20,.28);
  --field-shadow: 0 6px 16px rgba(160,50,30,.06);
  --focus-ring:  color-mix(in oklab, var(--brand) 24%, #fff);
}

.news{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:.6rem;
  align-items:center;
}

.news input[type="email"],
.news input[type="text"],
.news input:not([type]) {
  appearance:none;
  height:44px;
  padding:.7rem .9rem;
  border-radius:999px;
  border:1px solid var(--field-stroke);
  background:var(--field-bg);
  color:var(--ink);
  font:inherit;
  box-shadow:var(--field-shadow);
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
  min-width:0; /* évite les débordements en grid */
}

.news input:hover{
  border-color:var(--field-stroke-hover);
}

.news input:focus{
  outline:none;
  border-color: var(--brand);
  box-shadow:
    0 0 0 3px var(--focus-ring),
    0 8px 22px rgba(185,46,37,.15);
}

.news input::placeholder{
  color:var(--muted);
  opacity:.9;
}

/* assure l’alignement bouton / input */
.news .btn{
  height:44px;
  padding-inline:1rem;
  border-radius:999px;
}

/* Anti-jaunissement autofill */
.news input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 30px var(--field-bg) inset !important;
  transition: background-color 9999s ease-out;
}

/* Mobile: on empile proprement */
@media (max-width: 560px){
  .news{ grid-template-columns:1fr; }
  .news .btn{ width:100%; }
}


/* ====== Scrollbars (globaux + rails horizontaux) ====== */
/* Palette douce inspirée gochujang → scallion */
:root{
  --sb-track:   #f8efe7; /* proche var(--brand-2) */
  --sb-thumb:   color-mix(in oklab, var(--brand) 55%, #fff);
  --sb-thumb-h: color-mix(in oklab, var(--brand) 70%, #fff);
  --sb-corner:  var(--surface);
}

/* Firefox */
*{
  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb) var(--sb-track);
}

/* WebKit (Chrome, Edge, Safari) */
*::-webkit-scrollbar{
  width:10px; height:10px;
}
*::-webkit-scrollbar-track{
  background: var(--sb-track);
  border-radius:999px;
}
*::-webkit-scrollbar-thumb{
  background: var(--sb-thumb);
  border:2px solid var(--sb-track);
  border-radius:999px;
}
*::-webkit-scrollbar-thumb:hover{
  background: var(--sb-thumb-h);
}
*::-webkit-scrollbar-corner{
  background: var(--sb-corner);
}

/* Spécifiques aux zones horizontales (plus fins) */
.rail-x,
.carousel__track{
  scrollbar-width: thin;
}
.rail-x::-webkit-scrollbar,
.carousel__track::-webkit-scrollbar{
  height:8px;
}

/* Couleur/gradient du trait décoratif au début du main */
body > main::before{
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--brand)   70%, var(--surface)) 0%,
    color-mix(in oklab, var(--brand-3) 70%, var(--surface)) 100%
  );
  opacity:.32; /* douceur pour ne pas “hurler” visuellement */
}


/* ===== Auth / Login Han Street ===== */
.auth{
  display:flex;
  justify-content:center;
  align-items:flex-start;
}

.auth__card{
  max-width:420px;
  width:100%;
  margin-inline:auto;
  margin-top:clamp(40px, 8vh, 80px);
}

.auth__title{
  margin:0 0 .4rem;
}

.auth__subtitle{
  margin:0 0 1.4rem;
}

.auth__alert{
  margin-bottom:1rem;
  padding:.75rem .9rem;
  border-radius:var(--radius);
  border:1px solid rgba(200,40,35,.32);
  background:rgba(255,232,227,.9);
  color:#7a1511;
  font-size:.95rem;
}

.auth__logged{
  margin-bottom:1rem;
  padding:.7rem .9rem;
  border-radius:var(--radius);
  background:#f6ede4;
  border:1px dashed var(--stroke-2);
  font-size:.95rem;
}

.auth__logged a{
  margin-left:.3rem;
  font-weight:600;
  text-decoration:underline;
}

/* Champs */
.field{
  display:flex;
  flex-direction:column;
  gap:.35rem;
  margin-bottom:.9rem;
}

.field label{
  font-weight:650;
  letter-spacing:.15px;
  font-size:.9rem;
}

.field input[type="email"],
.field input[type="password"],
.field input[type="text"]{
  appearance:none;
  height:44px;
  padding:.7rem .9rem;
  border-radius:999px;
  border:1px solid var(--field-stroke, rgba(10,15,20,.18));
  background:var(--field-bg, #fff8f1);
  color:var(--ink);
  font:inherit;
  box-shadow:var(--field-shadow, 0 6px 16px rgba(160,50,30,.06));
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
  min-width:0;
}

.field input:hover{
  border-color:var(--field-stroke-hover, rgba(10,15,20,.28));
}

.field input:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow:
    0 0 0 3px var(--focus-ring, color-mix(in oklab, var(--brand) 24%, #fff)),
    0 8px 22px rgba(185,46,37,.15);
}

.field input::placeholder{
  color:var(--muted);
  opacity:.9;
}

/* checkbox éventuelle */
.checkbox{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  font-size:.9rem;
}

.checkbox input[type="checkbox"]{
  width:16px;
  height:16px;
  border-radius:4px;
}

.auth__submit{
  margin-top:.5rem;
}

.auth__hint{
  margin-top:1rem;
  font-size:.85rem;
  text-align:center;
}

/* ===== Admin Han Street — Categories ===== */

/* Wrapper général pour les pages CRUD (optionnel si tu ajoutes .admin-page dans le Twig) */
.admin-page{
  padding-block:clamp(28px, 6vw, 48px);
}

.admin-card{
  background:var(--surface);
  border-radius:calc(var(--radius) + 4px);
  border:1px solid var(--stroke);
  box-shadow:var(--shadow-sm);
  padding:clamp(18px, 3vw, 26px);
}

/* Titres des pages admin */
.admin-title{
  margin:0 0 .6rem;
  font-size:var(--fs-2);
}

.admin-subtitle{
  margin:0 0 1.4rem;
  color:var(--muted);
  font-size:.95rem;
}

/* Barre au-dessus du tableau (titre + bouton "Create new") */
.admin-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1rem;
}

.admin-toolbar h1{
  margin:0;
}

.admin-toolbar .btn{
  white-space:nowrap;
}

/* ===== Table CRUD ===== */
.table{
  width: max-content;       /* 👈 s’adapte au contenu, peut dépasser */
  min-width: 100%;          /* 👈 au moins la largeur de la carte */
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  font-size: .92rem;
  background: rgba(251,243,234,.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}


.table-wrap{
  width:100%;
  overflow-x:auto;          /* scroll horizontal dans la carte */
  -webkit-overflow-scrolling: touch; /* scroll fluide sur mobile */
}

/* Cellule avec scroll horizontal caché (description / imageName) */
.cell-scroll{
  max-width: 150px;        /* largeur max visible */
  overflow-x: auto;        /* on peut scroller horizontalement */
  white-space: nowrap;     /* tout sur une seule ligne */
}

/* Cacher la scrollbar en WebKit (Chrome, Edge, Safari) */
.cell-scroll::-webkit-scrollbar{
  display:none;
}

/* Cacher la scrollbar en Firefox */
.cell-scroll{
  scrollbar-width:none;
}


.table th,
.table td{
  padding:.55rem .8rem;
  text-align:left;
  border-bottom:1px solid rgba(10,15,20,.06);
  white-space: nowrap;          /* 👈 pas de retour à la ligne par défaut */
}

/* Description (4e colonne) peut wrap normalement
.table td:nth-child(4){
  white-space: normal;
}

/* Si tu veux que la colonne image reste compacte avec ellipsis, tu peux laisser : */
/* .table td:nth-child(8){
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
} */
 


.table thead{
  background:linear-gradient(90deg, #ffe1d1, #ffd2bf);
}

.table th,
.table td{
  padding:.55rem .8rem;
  text-align:left;
  border-bottom:1px solid rgba(10,15,20,.06);
}

.table th{
  font-weight:800;
  letter-spacing:.18px;
  font-size:.85rem;
  color:var(--ink);
  text-transform:uppercase;
}

.table tbody tr:nth-child(even){
  background:rgba(255,255,255,.65);
}

.table tbody tr:hover{
  background:#ffe9dd;
}

/* Colonne actions */
.table td:last-child{
  white-space:nowrap;
}

/* Liens d’action */
.table a{
  font-weight:600;
  font-size:.86rem;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}

.table a + a{
  margin-left:.5rem;
}

/* Badge Yes/No pour isActive */
.badge--yes,
.badge--no{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:46px;
  padding:.15rem .55rem;
  border-radius:999px;
  font-size:.76rem;
  font-weight:750;
  letter-spacing:.2px;
}

.badge--yes{
  background:rgba(17,176,122,.12);
  color:#0f7b53;
  border:1px solid rgba(17,176,122,.25);
}

.badge--no{
  background:rgba(226,59,42,.08);
  color:#a32822;
  border:1px solid rgba(226,59,42,.25);
}

/* ===== Formulaires Category (new / edit) ===== */

.category-form{
  max-width:520px;
}

.category-form h1{
  margin-top:0;
  margin-bottom:.6rem;
}

.category-form .muted{
  margin-bottom:1.2rem;
}

/* Symfony forms par défaut (labels + widgets) */
.category-form form > div{
  margin-bottom:.85rem;
}

/* Labels */
.category-form label{
  display:block;
  margin-bottom:.25rem;
  font-weight:650;
  letter-spacing:.15px;
  font-size:.9rem;
}

/* Inputs / textarea / selects */
.category-form input[type="text"],
.category-form input[type="number"],
.category-form textarea,
.category-form select{
  width:100%;
  appearance:none;
  padding:.65rem .85rem;
  border-radius:12px;
  border:1px solid var(--field-stroke, rgba(10,15,20,.18));
  background:var(--field-bg, #fff8f1);
  color:var(--ink);
  font:inherit;
  box-shadow:var(--field-shadow, 0 6px 16px rgba(160,50,30,.06));
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.category-form textarea{
  min-height:120px;
  resize:vertical;
}

.category-form input:hover,
.category-form textarea:hover,
.category-form select:hover{
  border-color:var(--field-stroke-hover, rgba(10,15,20,.28));
}

.category-form input:focus,
.category-form textarea:focus,
.category-form select:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow:
    0 0 0 3px var(--focus-ring, color-mix(in oklab, var(--brand) 24%, #fff)),
    0 8px 22px rgba(185,46,37,.15);
}

/* Bouton principal */
.category-form .btn{
  margin-top:.6rem;
}

/* Lien "back to list" */
.category-back{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  margin-top:1.2rem;
  padding:.45rem .9rem;
  border-radius:999px;
  border:1px dashed var(--stroke-2);
  background:rgba(251,243,234,.95);
  color:var(--muted);
  font-size:.9rem;
  font-weight:600;
  letter-spacing:.15px;
  text-decoration:none;
  transition:background .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease;
}

.category-back::before{
  content:"←";
  font-size:.95rem;
  color:var(--brand);
}

.category-back:hover{
  background:#fff;
  border-color:rgba(226,59,42,.35);
  box-shadow:var(--shadow-sm);
  transform:translateY(-1px);
}

/* ===== Admin Han Street — Dishes ===== */

/* Niveau d'épice sous forme de petits piments / points */
.spice-level{
  display:inline-flex;
  align-items:center;
  gap:3px;
}

.spice-dot{
  width:11px;
  height:11px;
  border-radius:4px;
  border:1px solid rgba(201,42,47,.45);
  background:var(--spice-1);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.08);
}

/* Plus rouge si > 2 points : on laisse Twig générer plusieurs .spice-dot, l’effet visuel vient du nombre */
.spice-level .spice-dot:nth-child(2){
  background:var(--spice-2);
}

.spice-level .spice-dot:nth-child(n+3){
  background:var(--spice-3);
}

/* Optionnel : rendre la colonne image un peu moins large si texte long */
.table td:nth-child(8){
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Formulaire des plats admin (réutilise la base category-form) */
.dish-form{
  max-width:620px;
}

/* ===== Admin card centrée ===== */
.admin-page{
  padding-block:clamp(28px, 6vw, 48px);
}

.admin-card{
  background:var(--surface);
  border-radius:calc(var(--radius) + 4px);
  border:1px solid var(--stroke);
  box-shadow:var(--shadow-sm);
  padding:clamp(18px, 3vw, 26px);

  /* centrage + largeur max pour les pages de formulaire */
  max-width:875px;
  margin-inline:auto;
}

/* Titre & sous-titre centrés (utilisé pour "Nouveau plat") */
.admin-toolbar--center{
  justify-content:center;
}

.admin-subtitle--center{
  text-align:center;
}

/* Formulaires admin */
.category-form{
  max-width:520px;
  margin-inline:auto;   /* centrage du bloc du formulaire */
}

.dish-form{
  max-width:620px;      /* un peu plus large pour les plats */
  margin-inline:auto;
}

/* ===== Admin Han Street — Dashboard ===== */

.admin-dashboard{
  max-width:880px;
  margin-inline:auto;
}

.admin-toolbar--center{
  justify-content:center;
}

.admin-subtitle--center{
  text-align:center;
}

/* Grille de cartes de liens rapides */
.admin-quicklinks{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-top:1.6rem;
}

@media (max-width:900px){
  .admin-quicklinks{
    grid-template-columns:1fr;
  }
}

/* Carte de lien */
.admin-linkcard{
  display:flex;
  align-items:flex-start;
  gap:.9rem;
  padding:14px 16px;
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background:rgba(251,243,234,.96);
  box-shadow:var(--shadow-sm);
  transition:
    transform .12s ease,
    box-shadow .16s ease,
    border-color .16s ease,
    background .16s ease;
}

.admin-linkcard:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
  border-color:rgba(226,59,42,.35);
  background:#fff8f1;
}

/* Icône à gauche (emoji) */
.admin-linkcard__icon{
  width:40px;
  height:40px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#ffe1d1;
  box-shadow:0 4px 10px rgba(226,59,42,.18);
  font-size:1.3rem;
}

/* Texte de la carte */
.admin-linkcard__body h2{
  margin:0 0 .25rem;
  font-size:1rem;
  font-weight:750;
}

.admin-linkcard__body p{
  margin:0;
  font-size:.9rem;
  color:var(--muted);
  max-width:32ch;
}


/* ===== Admin Han Street — Events ===== */

/* Formulaire des événements (new / edit) */
.event-form{
  max-width:720px;       /* un peu plus large, il y a pas mal de champs */
  margin-inline:auto;    /* centré comme category / dish */
}

/* Symfony forms par défaut (labels + widgets) — on réutilise la base */
.event-form form > div{
  margin-bottom:.9rem;
}

.event-form label{
  display:block;
  margin-bottom:.25rem;
  font-weight:650;
  letter-spacing:.15px;
  font-size:.9rem;
}

/* Inputs / textarea / selects / datetime */
.event-form input[type="text"],
.event-form input[type="number"],
.event-form input[type="datetime-local"],
.event-form input[type="url"],
.event-form textarea,
.event-form select{
  width:100%;
  appearance:none;
  padding:.65rem .85rem;
  border-radius:12px;
  border:1px solid var(--field-stroke, rgba(10,15,20,.18));
  background:var(--field-bg, #fff8f1);
  color:var(--ink);
  font:inherit;
  box-shadow:var(--field-shadow, 0 6px 16px rgba(160,50,30,.06));
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.event-form textarea{
  min-height:140px;
  resize:vertical;
}

.event-form input:hover,
.event-form textarea:hover,
.event-form select:hover{
  border-color:var(--field-stroke-hover, rgba(10,15,20,.28));
}

.event-form input:focus,
.event-form textarea:focus,
.event-form select:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow:
    0 0 0 3px var(--focus-ring, color-mix(in oklab, var(--brand) 24%, #fff)),
    0 8px 22px rgba(185,46,37,.15);
}

/* Case à cocher "Publié" / isPublished */
.event-form .checkbox{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  font-size:.9rem;
  margin:.4rem 0 .2rem;
}

.event-form .checkbox input[type="checkbox"]{
  width:16px;
  height:16px;
  border-radius:4px;
}

/* Bouton principal dans le form */
.event-form .btn{
  margin-top:.7rem;
}

/* ===== Index des events (table admin) ===== */

/* Colonnes texte long : on évite que tout déborde */
.table--events td:nth-child(4),   /* location */
.table--events td:nth-child(7),   /* excerpt */
.table--events td:nth-child(8){   /* content */
  max-width:220px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Badge Published / Draft */
.badge--published,
.badge--draft{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:72px;
  padding:.16rem .6rem;
  border-radius:999px;
  font-size:.76rem;
  font-weight:750;
  letter-spacing:.2px;
}

.badge--published{
  background:rgba(17,176,122,.12);
  color:#0f7b53;
  border:1px solid rgba(17,176,122,.25);
}

.badge--draft{
  background:rgba(226,59,42,.08);
  color:#a32822;
  border:1px solid rgba(226,59,42,.25);
}

/* Page "show" d’un event en mode fiche */
.event-show{
  max-width:820px;
  margin-inline:auto;
}

.event-show__meta{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem 1.4rem;
  margin:.8rem 0 1.2rem;
  font-size:.9rem;
  color:var(--muted);
}

.event-show__meta span{
  display:inline-flex;
  align-items:center;
  gap:.3rem;
}

.event-show__meta span::before{
  content:"•";
  font-size:.7rem;
  color:var(--brand);
}

.event-show__content{
  margin-top:1.2rem;
  padding:1rem 1.1rem;
  border-radius:var(--radius);
  border:1px dashed var(--stroke-2);
  background:rgba(251,243,234,.6);
}

/* Boutons d’actions sous la fiche */
.event-show__actions{
  margin-top:1.4rem;
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
}

.event-show__actions .btn{
  padding-inline:1.1rem;
}

/* ==============================
   Han Street — Page Menu
   ============================== */

.menu{
  /* un peu moins de marge que les grosses sections,
     on est déjà sous le hero */
  padding-top:clamp(28px, 6vw, 40px);
}

/* Titre principal “Menu” */
.menu .wordmark{
  font-size:var(--fs-2);
  margin:0 0 .6rem;
}

/* Barre de catégories (chips) */
.menu .chips{
  margin:0 0 1.4rem;
}

/* Titre de catégorie */
.menu .h2{
  margin:0 0 1.2rem;
}

/* Grille des plats : on garde la grille globale,
   mais on force des cartes bien remplies */
.menu .grid{
  align-items:stretch;
}

/* Carte plat sur la page menu (on scope pour ne pas casser le home) */
.menu .dish{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-items:stretch;
}

@media (min-width:720px){
  .menu .dish{
    grid-template-columns:140px 1fr;
  }
}

/* Image plat dans le menu : on reprend le style général mais on s’assure du ratio */
.menu .dish__img{
  width:100%;
  height:130px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--stroke);
  box-shadow:var(--shadow-sm);
}

/* Corps du plat : titre, desc, meta alignés proprement */
.menu .dish__body{
  display:flex;
  flex-direction:column;
  gap:.3rem;
}

/* Description un peu plus claire/compacte */
.menu .dish__body .muted{
  font-size:.94rem;
}

/* Métadonnées (prix + niveau d’épice) plaquées en bas de la carte */
.menu .dish__meta{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  gap:.5rem .9rem;
  align-items:center;
}

/* Prix : on reprend le ticket global mais on le serre un peu sur le menu */
.menu .price{
  font-size:.95rem;
}

/* Niveau d’épice avec les 🌶️ : on les rend visuellement cohérents */
/* Niveau d’épice avec les 🌶️ : on les rend visuellement cohérents */
.menu .heat{
  display:inline-flex;
  align-items:center;
  gap:2px;
  font-size:.9rem;
  line-height:1;
  white-space:nowrap; /* 👈 évite le retour à la ligne à l’intérieur */
}

.menu .heat::before{
  content:"Épice :";
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  margin-right:.25rem;
}


/* Cartes plats : un peu plus de densité sur le menu */
.menu .card.dish{
  padding:16px 18px;
}

/* État “aucun plat” / “choisis une catégorie” */
.menu p.muted{
  margin-top:.6rem;
}


/* ===== Admin Han Street — Pages show (fiches détail) ===== */

.admin-show{
  margin-top: .6rem;
}

/* Bloc actions sous la fiche (retour / modifier / supprimer) */
.admin-show__actions{
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
}

.admin-show__actions form{
  margin: 0;
}

/* Image affichée dans les fiches show (Dish / Event) */
.show-media{
  margin: 0 0 .3rem;
  max-width: 280px;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
  background: #00000008;
}

.show-media img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==============================
   Han Street — Page Menu
   ============================== */

.menu{
  padding-top:clamp(28px, 6vw, 40px);
}

/* Grille des plats : 2 colonnes sur desktop pour laisser plus de place */
.menu .grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr)); /* 👈 avant c'était 3 dans .grid */
  gap:18px;
  align-items:stretch;
}

/* Sur mobile, on reste en 1 colonne */
@media (max-width:920px){
  .menu .grid{
    grid-template-columns:1fr;
  }
}


/* ==============================
   Han Street — Page Event (public)
   ============================== */

.section--event{
  padding-block: clamp(42px, 7vw, 80px);
}

/* Carte principale de la page event */
.event-page{
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(22px, 3vw, 30px);
  position: relative;
  overflow: hidden;
}

/* Trait décoratif en bas de la carte */
.event-page::after{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
  opacity: .32;
  pointer-events: none;
}

/* En-tête de l'événement */
.event-page__head{
  margin-bottom: 1.4rem;
}

.event-page__badge{
  margin-bottom: .7rem;
}

.event-page__title{
  margin: 0;
  font-size: var(--fs-2);
  letter-spacing: .2px;
}

/* Meta (date, heure, lieu) */
.event-page__meta{
  display:flex;
  flex-wrap:wrap;
  gap: .45rem .95rem;
  margin-top: .7rem;
  font-size: .92rem;
  color: var(--muted);
}

.event-page__meta-item{
  display:inline-flex;
  align-items:center;
  gap: .25rem;
  padding: .26rem .6rem;
  border-radius:999px;
  border:1px dashed rgba(10,15,20,.12);
  background: rgba(251,243,234,.9);
}

/* Visuel de couverture */
.event-page__cover{
  margin: 1.2rem 0 1.4rem;
  border-radius: calc(var(--radius) + 2px);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  background: #00000008;
}

.event-page__cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Ratio utilitaire si tu ne l'avais pas déjà */
.media-frame{
  position:relative;
  overflow:hidden;
}

.ratio-4x3{
  aspect-ratio: 4 / 3;
}

/* Contenu riche (texte de la soirée) */
.event-page__content{
  margin-top: .8rem;
  padding: 1.1rem 1.15rem 1.3rem;
  border-radius: var(--radius);
  border: 1px dashed var(--stroke-2);
  background: rgba(251,243,234,.75);
}

/* Style "prose" global pour le contenu d'event
   (si tu n'as pas déjà une classe .prose) */
.prose{
  max-width: 68ch;
}

.prose p{
  margin: 0 0 .8rem;
}

.prose p:last-child{
  margin-bottom: 0;
}

.prose h2,
.prose h3{
  margin: 1.2rem 0 .5rem;
  font-weight: 750;
}

.prose h2{
  font-size: 1.2rem;
}

.prose h3{
  font-size: 1.05rem;
}

.prose ul,
.prose ol{
  margin: .7rem 0 .9rem;
  padding-left: 1.2rem;
}

.prose li{
  margin-bottom: .25rem;
}

/* Adaptation mobile */
@media (max-width: 720px){
  .event-page{
    padding: 18px 16px 22px;
  }

  .event-page::after{
    left: 10px;
    right: 10px;
    bottom: 12px;
  }

  .event-page__title{
    font-size: clamp(22px, 5.5vw, 26px);
  }

  .event-page__meta-item{
    width: 100%;
    justify-content:flex-start;
  }

  .event-page__content{
    padding: .9rem .9rem 1.1rem;
  }
}

.section--event{
  padding-block: clamp(42px, 7vw, 80px);
}

.event-page{
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(22px, 3vw, 30px);
  position: relative;
  overflow: hidden;
}

.event-page::after{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
  opacity: .32;
  pointer-events: none;
}

.event-page__head{
  margin-bottom: 1.1rem;
  text-align: center;
}

.event-page__badge{
  margin-bottom: .7rem;
}

.event-page__title{
  margin: 0;
  font-size: var(--fs-2);
  letter-spacing: .2px;
}

/* Meta */
.event-page__meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: .45rem .95rem;
  margin-top: .7rem;
  font-size: .92rem;
  color: var(--muted);
}

.event-page__meta-item{
  display:inline-flex;
  align-items:center;
  gap: .25rem;
  padding: .26rem .6rem;
  border-radius:999px;
  border:1px dashed rgba(10,15,20,.12);
  background: rgba(251,243,234,.9);
}

/* Texte descriptif de la soirée (au-dessus de l’image) */
.event-page__content{
  margin-top: .4rem;
  margin-bottom: 1.3rem;
  padding: .95rem 1.1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px dashed var(--stroke-2);
  background: rgba(251,243,234,.8);
  text-align: center;
}

/* Prose “propre” mais centrée */
.event-page__content.prose{
  max-width: 60ch;
  margin-inline: auto;
}

.event-page__content.prose p{
  margin: 0 0 .7rem;
}

.event-page__content.prose p:last-child{
  margin-bottom: 0;
}

/* Image d’event sans effet de zoom forcé */
.event-page__cover{
  margin: 0;
  margin-bottom: .5rem;
  border-radius: calc(var(--radius) + 2px);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  background: #00000008;
}

/* Pas de height forcée, pas de aspect-ratio :
   on laisse l’image garder son ratio naturel */
.event-page__cover img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* pas de zoom/cropping */
}

/* Si tu avais défini .media-frame / .ratio-4x3,
   ce bloc s’assure qu’ils ne cassent pas cette image-là */
.event-page__cover.media-frame,
.event-page__cover.ratio-4x3{
  aspect-ratio: auto;
}

@media (max-width: 720px){
  .event-page{
    padding: 18px 16px 22px;
  }

  .event-page::after{
    left: 10px;
    right: 10px;
    bottom: 12px;
  }

  .event-page__title{
    font-size: clamp(22px, 5.5vw, 26px);
  }

  .event-page__content{
    padding: .8rem .9rem 1rem;
  }

  .event-page__meta-item{
    width: 100%;
    justify-content: center;
  }
}

/* ==============================
   Han Street — Event page tweaks
   ============================== */

/* Carte un peu plus “vivante” */
.event-page{
  transition: transform .18s ease, box-shadow .22s ease;
}

.event-page:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Image : plus petite, centrée */
.event-page__cover{
  max-width: 520px;          /* 👈 taille max de l’image */
  margin: 0 auto .6rem;      /* 👈 centrée */
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stroke);
  background: #00000008;
}

.event-page__cover img{
  width: 100%;
  height: auto;              /* garde le ratio naturel */
  display: block;
  object-fit: contain;       /* pas de recadrage agressif */
  transform: scale(1);
  transition: transform .25s ease, filter .25s ease;
}

/* Petit effet “respiration” au hover */
.event-page__cover:hover img{
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.03);
}

/* Meta pills animées */
.event-page__meta-item{
  transition: background .18s ease, border-color .18s ease,
              transform .12s ease, box-shadow .18s ease;
}

.event-page__meta-item:hover{
  background: #fff8f1;
  border-color: rgba(226,59,42,.35);
  box-shadow: 0 6px 14px rgba(30,10,5,.10);
  transform: translateY(-1px);
}

/* Badge “Soirée Han Street” un peu plus punchy */
.event-page__badge{
  transition: transform .15s ease, box-shadow .2s ease;
}

.event-page__badge:hover{
  transform: translateY(-1px) rotate(-0.5deg);
  box-shadow: 0 6px 18px rgba(226,59,42,.30);
}

/* Zone de texte avec légère anim au survol */
.event-page__content{
  transition: box-shadow .18s ease, transform .12s ease, border-color .18s ease;
}

.event-page__content:hover{
  box-shadow: 0 8px 20px rgba(30,10,5,.10);
  border-color: rgba(226,59,42,.26);
  transform: translateY(-1px);
}

/* Galerie plus light */
.thumb{
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow-sm);   /* 👈 ombre plus légère */
  border:1px solid var(--stroke);
  background:#f7efe7;
  transition: transform .16s ease, box-shadow .22s ease;
}

.thumb__img{
  width:100%;
  height:auto;                   /* 👈 laisse l’image garder son ratio */
  display:block;
  object-fit:cover;
  will-change: transform;        /* hint au navigateur */
  transition: transform .22s ease;
}

/* Hover un peu plus discret */
.thumb:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);     /* ombre plus forte seulement au hover */
}

.thumb:hover .thumb__img{
  transform: scale(1.02);
}

/* ===== Espacements entre sections ===== */

/* 1) Base : toutes les sections plus serrées */
.section{
  padding-block: clamp(24px, 5vw, 52px); /* plus compact partout */
}

/* 2) Juste après le hero : on ajoute un petit gap au-dessus seulement */
.hero + .section{
  margin-top: clamp(18px, 4vw, 32px);
}

/* ==========================
   Topbar — responsive étroit
   ========================== */
@media (max-width: 760px) {
  .topbar .container {
    flex-direction: column;
    align-items: center;
    gap: .4rem;
  }

  .topbar__right {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem .6rem;
  }

  .topbar__right span {
    font-size: .9rem;
  }

  .topbar .btn--ghost {
    padding-inline: .85rem;
    font-size: .9rem;
  }
}

@media (max-width: 540px) {
  .topbar__right {
    flex-direction: column;
    align-items: center;
  }

  .topbar .btn--ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================
   Hero — meilleure gestion des petits écrans
   (faible hauteur / paysage)
   ========================================== */
@media (max-height: 770px) {
  .hero.hero--han {
    /* on laisse le contenu respirer : plus de hauteur forcée */
    height: auto;
    min-height: calc(100svh - var(--head-total) * 0.75);
    align-items: flex-start;
    padding-top: clamp(12px, 3vh, 24px);
    overflow: visible; /* ne plus couper le texte */
  }

  .hero--han .hero-card {
    margin-left: 0;
    margin-top: 8px;
    margin-bottom: 16px;
    transform: none;
    padding: clamp(16px, 2.4vw, 24px);
  }

  /* On réduit un poil la taille des titres si besoin */
  .hero--han h1 {
    font-size: clamp(24px, 4vw, 32px);
  }

  .hero--han .lead {
    font-size: clamp(14px, 1.9vw, 16px);
  }
}

/* Option : cas typique mobile en paysage (bas + large) */
@media (max-height: 600px) and (min-width: 720px) {
  .hero.hero--han {
    padding-bottom: 16px;
  }
}

/* ==========================
   Header Han Street — narrow
   ========================== */

/* 1) Très petits écrans (≈ < 360px) : header sur 2 lignes */
@media (max-width: 400px) {
  .site-header .inner{
    flex-wrap: wrap;
    row-gap: 4px;
    justify-content: center;
  }

  /* Brand sur toute la largeur, en haut */
  .brand{
    flex: 1 1 100%;
    justify-content: center;
  }

  .brand img{
    width: 30px;
    height: 30px;
  }

  .wordmark{
    font-size: 1rem;
  }

  /* CTA + burger sur la ligne du dessous */
  .header-cta{
    width: 100%;
    justify-content: space-between;
  }

  .header-cta .btn--ghost{
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: .6rem;
    font-size: .8rem;
    text-align: center;
  }

  .nav-toggle{
    padding-inline: .6rem;
  }
}

