/* ==========================================================================
   ECKENSTEIN & CO AG — Design system
   Palette : grain d'orge, houblon, cave de maltage
   -------------------------------------------------------------------------
   --barley   #C89B3C  or d'orge / malt
   --hop      #4A5D23  vert houblon profond
   --cellar   #241B12  brun-noir cave / sac torréfié
   --parchment#EDE6D3  toile de sac / papier grain
   --brick    #8C3B26  rouge brique, accent rare (CTA)
   ========================================================================== */

:root {
  --barley: #ffffff;
  --barley-light: #ffffff;
  --hop: #ffffff;
  --hop-dark: #9a9a9a;
  --cellar: #000000;
  --parchment: #0c0c0c;
  --parchment-dim: #141414;
  --brick: #ffffff;
  --ink: #ffffff;
  --paper: #000000;

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --font-accent: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --header-h: 88px;
  --border: 1px solid rgba(255, 255, 255, 0.14);

  --c-malt: #E8B23D;
  --c-houblon: #6FA84B;
  --c-contrat: #61C8EF;
  --c-red: #E0685A;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-accent);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hop-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--barley);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  min-width: 0;
}
.brand-name {
  white-space: nowrap;
}
.brand small {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: none;
  margin-left: 2px;
}
.brand .mark {
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  object-fit: contain;
}

/* ---------- logo entrance animation (every page load) ---------- */
.logo-anim .logo-blue,
.logo-anim .logo-yellow,
.logo-anim .logo-green {
  opacity: 0;
  transform: scale(0.8);
  transform-origin: 627px 627px;
  animation: logo-part-in .4s cubic-bezier(.2,.8,.2,1) forwards;
}
.logo-anim .logo-blue { animation-delay: 0s; }
.logo-anim .logo-yellow { animation-delay: 1.5s; }
.logo-anim .logo-green { animation-delay: 2.5s; }
@keyframes logo-part-in {
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-anim .logo-blue,
  .logo-anim .logo-yellow,
  .logo-anim .logo-green { animation: none; opacity: 1; transform: none; }
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
nav.main-nav a.active,
nav.main-nav a:hover { color: var(--hop-dark); }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--barley);
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: var(--border);
  padding: 8px 14px;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}
.cart-link:hover { border-color: var(--hop); }
#cart-count {
  background: var(--hop);
  color: var(--paper);
  border-radius: 50%;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.66rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  line-height: 1;
}
.lang-switch .flag-icon {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  display: block;
}
.lang-switch .lang-flag {
  text-decoration: none;
  opacity: 0.4;
  filter: grayscale(0.6);
  transition: opacity .15s ease, filter .15s ease;
  cursor: pointer;
  display: flex;
}
.lang-switch a.lang-flag:hover { opacity: 0.75; filter: grayscale(0.2); }
.lang-switch .lang-flag.active { opacity: 1; filter: none; cursor: default; }

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }

  .wrap { padding: 0 18px; }

  .brand { gap: 8px; font-size: clamp(0.62rem, 4.4vw, 1rem); }
  .brand .mark { width: 38px; height: 38px; }
  .brand small { font-size: clamp(0.62rem, 4.4vw, 1rem); }

  nav.main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 calc(24px + env(safe-area-inset-bottom));
    transform: translateY(-110%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  nav.main-nav.open { transform: translateY(0); }
  nav.main-nav a {
    padding: 18px 24px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
  }
  nav.main-nav a.cart-link {
    border-bottom: none;
    width: auto;
    align-self: flex-start;
    margin: 16px 24px 0;
    padding: 10px 18px;
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 60;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--cellar);
  color: var(--ink);
  overflow: hidden;
  padding: 40px 0 44px;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- hero ambient particles ---------- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  opacity: 0;
  animation-name: particle-drift;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes particle-drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: var(--p-op, 0.6); }
  88% { opacity: var(--p-op, 0.6); }
  100% { transform: translateY(-360px) translateX(var(--p-drift, 20px)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .particle { display: none; }
}
@media (max-width: 480px) {
  .particle:nth-child(even) { display: none; }
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  color: var(--ink);
  max-width: 16ch;
}
.hero p.lede {
  max-width: 42ch;
  font-size: 1.05rem;
  color: rgba(250,247,239,0.72);
  margin-top: 16px;
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.c-malt { color: var(--c-malt); }
.c-houblon { color: var(--c-houblon); }
.c-contrat { color: var(--c-contrat); }
.c-red { color: var(--c-red); }

/* ---------- hero product showcase ---------- */
.hero-showcase {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border: var(--border);
  background: #0a0a0a;
  padding: 20px 14px;
  border-radius: var(--radius);
  min-width: 0;
  width: 100%;
  overflow: hidden;
}
.showcase-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  flex: 1;
  min-width: 0;
  padding-bottom: 4px;
}
.showcase-track::-webkit-scrollbar { display: none; }
.showcase-card {
  scroll-snap-align: start;
  flex: 0 0 100px;
  text-decoration: none;
  color: var(--ink);
  border: var(--border);
  border-radius: var(--radius);
  padding: 18px 10px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: border-color .15s ease;
}
.showcase-card:hover { border-color: rgba(255,255,255,0.4); }
.showcase-card img { width: 64px; height: 64px; object-fit: contain; }
.showcase-card .name { font-size: 0.74rem; line-height: 1.25; }
.showcase-card .price { font-family: var(--font-mono); font-size: 0.68rem; color: rgba(255,255,255,0.6); }
.showcase-arrow {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: var(--border);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.showcase-arrow:hover { background: #1a1a1a; }
@media (max-width: 860px) {
  .hero-showcase { margin-top: 8px; }
  .showcase-card { flex: 0 0 108px; }
  .showcase-card img { width: 70px; height: 70px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius);
  padding: 13px 24px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-body);
}
.btn-primary { background: var(--barley); color: var(--cellar); }
.btn-primary:hover { background: var(--barley-light); }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: #161616; color: var(--ink); border: 1px solid rgba(255,255,255,0.25); }
.btn-dark:hover { background: #242424; }
.btn-gray { background: #4a4a4a; color: #ffffff; border: 1px solid rgba(255,255,255,0.2); }
.btn-gray:hover { background: #5a5a5a; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-houblon { background: var(--c-houblon); color: #fff; border-color: var(--c-houblon); }
.btn-houblon:hover { background: #7fbb5f; border-color: #7fbb5f; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- sections generic ---------- */
section { padding: 48px 0; }
section.tight { padding: 32px 0; }
.tight.has-particles { position: relative; overflow: hidden; }
.tight.has-particles .wrap { position: relative; z-index: 1; }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 10px; }

.divider-wheat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 36px;
  color: var(--hop);
}
.divider-wheat svg { display: none; }
.divider-wheat .line { flex: 1; height: 1px; background: rgba(255,255,255,0.14); }

.title-underline {
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--ink);
}

/* ---------- category / partner grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: var(--border);
}
.category-card {
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  transition: background-color .18s ease;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.category-card:hover { background: #0a0a0a; }
.category-card .visual { display: none; }
.category-card .tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hop-dark); }
.category-card h3 { margin: 0; font-size: 1.5rem; }
.category-card p { margin: 0; color: rgba(255,255,255,0.65); font-size: 0.92rem; flex: 1; min-width: 0; }
.category-card .go { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.03em; }
.category-card .go::after { content: "→"; margin-left: 6px; transition: margin .15s ease; }
.category-card:hover .go::after { margin-left: 10px; }

.partners {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: clamp(6px, 2vw, 44px);
  align-items: center;
  width: 100%;
  overflow: hidden;
}
.partners img {
  height: clamp(14px, 3.4vw, 46px);
  width: auto;
  max-width: none;
  flex: 0 1 auto;
  min-width: 0;
  object-fit: contain;
  opacity: 1;
  filter: grayscale(1) brightness(1.5);
  transition: opacity .2s ease;
}
.partners img:hover { opacity: 0.8; }
.partners img.logo-large {
  height: clamp(20px, 4.8vw, 66px);
}

/* ---------- products ---------- */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.filter-row button {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--ink);
}
.filter-row button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-row button[data-filter="malt"] { background: var(--c-malt); color: #000; border-color: var(--c-malt); }
.filter-row button[data-filter="houblon"] { background: var(--c-houblon); color: #000; border-color: var(--c-houblon); }
.filter-row button.active[data-filter="malt"] { background: var(--c-malt); color: #000; border-color: var(--c-malt); }
.filter-row button.active[data-filter="houblon"] { background: var(--c-houblon); color: #000; border-color: var(--c-houblon); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.tag-card {
  background: #0a0a0a;
  border: var(--border);
  border-radius: var(--radius);
  position: relative;
  padding: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.tag-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.32);
  box-shadow: 0 16px 32px rgba(0,0,0,0.4);
}
.tag-card .visual {
  position: relative;
  height: 140px;
  background: #111111;
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tag-card .visual svg { width: 40px; height: 40px; opacity: 0.85; }
.tag-card .visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  filter: grayscale(1) contrast(1.05) brightness(1.05);
  opacity: 0.9;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.tag-card:hover .visual img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.08) rotate(-1.5deg);
}
.tag-card .badge {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  padding: 4px 10px;
  background: #000;
}
.tag-card .body { padding: 16px 20px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tag-card .sku {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.tag-card h3 {
  font-size: 1.2rem;
  margin: 0 0 4px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,255,255,0.85);
  display: inline-block;
  width: fit-content;
}
.tag-card .origin {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}
.tag-card p.desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  margin: 0;
  flex: 1;
}
.tag-card .price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 6px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 12px;
}
.tag-card .price {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
}
.tag-card .price small { font-size: 0.68rem; font-weight: 400; color: rgba(255,255,255,0.55); display:block; }
.tag-card .stock-out {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink);
  text-transform: uppercase;
  text-decoration: line-through;
  opacity: 0.55;
}
.qty-row { display: flex; gap: 8px; align-items: center; margin: 0 20px 20px; }
.qty-row input {
  width: 56px; text-align: center;
  border: var(--border); border-radius: var(--radius);
  padding: 8px 6px; font-family: var(--font-mono);
}
.add-btn {
  flex: 1;
  font-size: 0.8rem;
  padding: 10px 12px;
  transition: transform .15s ease, box-shadow .15s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.tag-card:not(.hop) .add-btn:hover { background: var(--c-malt); color: #000; border-color: var(--c-malt); }
.tag-card.hop .add-btn:hover { background: var(--c-houblon); color: #000; border-color: var(--c-houblon); }

/* ---------- info blocks ---------- */
.info-columns { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
.info-columns h2 { font-size: 2rem; }
.fact-list { list-style: none; margin: 24px 0 0; padding: 0; }
.fact-list li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.94rem;
}
.fact-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.fact-list span:first-child { color: rgba(255,255,255,0.55); }
.fact-list li span.c-red:first-child { color: var(--c-red); }

.contact-card {
  background: #0c0c0c;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card a:not(.btn) { color: var(--barley-light); text-decoration: none; }
.contact-card .eyebrow { color: var(--barley-light); }
.contact-card .eyebrow::before { background: var(--barley-light); }

/* ---------- forms ---------- */
form.card-form {
  background: var(--parchment);
  border: var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.form-row { display: grid; gap: 6px; }
.form-row.two { grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-size: 0.82rem; font-weight: 600; }
input, textarea, select {
  font-family: var(--font-body);
  border: var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #141414;
  color: var(--ink);
  font-size: 1rem;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.4); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
textarea { resize: vertical; min-height: 100px; }

/* ---------- cart / commande ---------- */
#order-form .eyebrow {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}
#order-form .eyebrow::before { display: none; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table th, .order-table td {
  text-align: left; padding: 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
}
.order-table th { font-family: var(--font-accent); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.55); }
.order-table .rm {
  color: rgba(255,255,255,0.7);
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  cursor: pointer;
  width: 34px; height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity .15s ease, border-color .15s ease, color .15s ease, background-color .15s ease;
}
.order-table .rm svg { width: 16px; height: 16px; }
.order-table .qty-input { width: 64px; text-align: center; }
.order-table .rm:hover { opacity: 1; border-color: var(--c-red); color: var(--c-red); background: rgba(224,104,90,0.08); }
.order-total {
  display: flex; justify-content: flex-end; gap: 24px;
  padding: 18px 10px; font-family: var(--font-accent); font-weight: 600; font-size: 1.1rem;
}
.empty-note {
  border: var(--border); border-radius: var(--radius);
  padding: 40px; text-align: center; color: rgba(255,255,255,0.6);
}

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: var(--border);
  margin-top: 12px;
}
.delivery-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  padding: 14px 16px;
  cursor: pointer;
}
.delivery-option input[type="radio"] { width: 19px; height: 19px; accent-color: #000000; flex-shrink: 0; }
.delivery-option span { flex: 1; font-size: 0.94rem; }
.delivery-option strong { font-family: var(--font-accent); font-weight: 600; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.delivery-option.disabled { opacity: 0.4; cursor: not-allowed; }
.delivery-option.disabled span, .delivery-option.disabled strong { color: rgba(255,255,255,0.4); }

.notice {
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.9rem;
  border: var(--border);
  background: var(--parchment);
  margin-bottom: 24px;
}
.notice.warn { border-color: var(--brick); background: #141414; }
.notice.success { border-color: var(--c-houblon); background: rgba(111,168,75,0.08); color: var(--c-houblon); font-weight: 500; }

/* ---------- footer ---------- */
footer {
  background: var(--cellar);
  color: rgba(250,247,239,0.75);
  padding: 14px 0 24px;
  margin-top: 8px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,247,239,0.14);
}
footer h4 {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--barley-light);
  margin-bottom: 16px;
}
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; color: rgba(250,247,239,0.75); font-size: 0.9rem; }
footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; font-size: 0.8rem; flex-wrap: wrap; gap: 10px;
}
.swiss-badge {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(250,247,239,0.75);
}
.swiss-badge .swiss-flag { flex-shrink: 0; border-radius: 3px; }

@media (max-width: 820px) {
  .category-grid, .info-columns, .footer-grid { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .hero-strip { grid-template-columns: 1fr; }

  .filter-row button { padding: 11px 18px; font-size: 0.8rem; }
  .qty-row input { width: 64px; padding: 12px 6px; }
  .qty-row { gap: 10px; }
  .add-btn { padding: 13px 12px; }
  .aroma-badge { width: 30px; height: 30px; }
  .aroma-badge svg { width: 15px; height: 15px; }

  /* Moins de particules sur mobile : même effet visuel, moins de calques animés */
  .particle:nth-child(n+21) { display: none; }

  /* ---------- panier : cartes empilées au lieu d'un tableau large ---------- */
  .order-table thead { display: none; }
  .order-table, .order-table tbody, .order-table tr, .order-table td {
    display: block;
    width: 100%;
  }
  .order-table tr {
    border: var(--border);
    border-radius: var(--radius);
    padding: 14px 14px 6px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.02);
  }
  .order-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.92rem;
  }
  .order-table td:last-child { border-bottom: none; }
  .order-table td.cell-product {
    display: block;
    font-weight: 600;
    padding-bottom: 10px;
  }
  .order-table td.cell-product .sku { font-weight: 400; }
  .order-table td[data-label]::before {
    content: attr(data-label);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.45);
  }
  .order-table .cell-remove { justify-content: flex-end; padding-top: 4px; }
  .order-table .qty-input { width: 72px; }

  .delivery-option input[type="radio"] { width: 22px; height: 22px; }
}

@media (max-width: 480px) {
  .particle:nth-child(n+16) { display: none; }
}

/* ==========================================================================
   Animations & micro-interactions
   ========================================================================== */

/* Fondu d'entrée de page */
body { animation: page-in .5s ease both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* Apparition au scroll (activée en JS via la classe .reveal / .in-view) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* En-tête : légère ombre dès qu'on scrolle */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

/* Cartes : légère élévation au survol au lieu d'un simple changement de couleur */
.category-card, .tag-card, .contact-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-card:hover, .tag-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}

/* Boutons : micro-interaction au survol / clic */
.btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.35); }
.btn:active { transform: translateY(0); box-shadow: none; }

/* Badge panier : pulsation quand le contenu change (classe .bump ajoutée en JS) */
#cart-count.bump { animation: cart-bump .35s ease; }
@keyframes cart-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

/* Liens de nav : soulignement qui se déploie au survol */
nav.main-nav a:not(.cart-link)::before {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--ink);
  transition: right .2s ease;
}
nav.main-nav a:not(.cart-link):hover::before { right: 0; }

/* Flèches du carrousel : léger effet ressort */
.showcase-arrow { transition: transform .15s ease, background-color .15s ease; }
.showcase-arrow:active { transform: scale(0.9); }
.showcase-card { transition: transform .2s ease, border-color .2s ease; }
.showcase-card:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- fenêtre modale : profil aromatique ---------- */
.has-aroma { cursor: pointer; position: relative; }
.tag-card .visual.has-aroma:hover img { opacity: 0.55; }
.aroma-badge {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-houblon);
  background: rgba(10,10,10,0.72);
  border: 1px solid rgba(111,168,75,0.5);
  border-radius: 50%;
  pointer-events: none;
  animation: aroma-badge-pulse 2.8s ease-in-out infinite;
}
.aroma-badge svg { width: 13px; height: 13px; flex-shrink: 0; }
@keyframes aroma-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111,168,75,0.45); }
  50% { box-shadow: 0 0 0 5px rgba(111,168,75,0); }
}
.tag-card .visual.has-aroma:hover .aroma-badge { transform: scale(1.1); border-color: var(--c-houblon); }
p.desc.has-aroma:hover { text-decoration: underline; text-underline-offset: 3px; }

.aroma-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
.aroma-modal.open { display: flex; }
.aroma-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  opacity: 0;
  animation: aroma-backdrop-in .25s ease forwards;
}
@keyframes aroma-backdrop-in { to { opacity: 1; } }
.aroma-modal-content {
  position: relative;
  z-index: 1;
  background: #0c0c0c;
  border: var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: min(90vw, 520px);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  animation: aroma-in .32s cubic-bezier(.2,.9,.25,1.15) forwards;
}
@keyframes aroma-in { to { opacity: 1; transform: scale(1) translateY(0); } }
.aroma-modal-content img {
  max-width: 100%; max-height: 65vh; object-fit: contain; border-radius: var(--radius);
  opacity: 0;
  transform: scale(0.94);
  animation: aroma-img-in .4s ease .12s forwards;
}
@keyframes aroma-img-in { to { opacity: 1; transform: scale(1); } }
.aroma-modal-content p { font-family: var(--font-mono); font-size: 0.85rem; color: rgba(255,255,255,0.75); text-align: center; }
.aroma-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: var(--border);
  background: #161616;
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
}
.aroma-modal-close:hover { background: #242424; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,0.14); border: var(--border); margin-top: 20px; }
.faq details { background: var(--paper); padding: 18px 20px; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.2rem; color: rgba(255,255,255,0.5); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: rgba(255,255,255,0.7); font-size: 0.94rem; line-height: 1.6; }
