/* Thème 2025 + GROS BOUTONS catégorie + CAROUSEL */
:root {
  --ink: #0f172a;
  --muted: #64748b;
}


/* ====== Grille catégories ====== */
#cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width:1024px) {
  #cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ====== GROS BOUTONS ====== */
.cat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 20px;
  border-radius: 20px;
  text-decoration: none;
  border: 2px solid rgba(15, 23, 42, .18);
  box-shadow: 0 10px 0 rgba(15, 23, 42, .09);
  transition: transform .15s ease, box-shadow .15s ease;
  color: var(--ink);
  background: #e2e8f0;
  min-height: 96px;
}

.cat-card:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 2px;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 0 rgba(15, 23, 42, .12);
}

.cat-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cat-icon {
  font-size: 30px;
  line-height: 1;
}

.cat-title {
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.cat-right {
  font-size: clamp(24px, 3vw, 34px);
  opacity: .6;
  transform: translateX(0);
  transition: transform .15s ease;
}

.cat-card:hover .cat-right {
  transform: translateX(4px);
}

.cat-desc {
  display: none;
}

.g1 {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.g2 {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.g3 {
  background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
}

.g4 {
  background: linear-gradient(135deg, #cffafe 0%, #bae6fd 100%);
}

.g5 {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.g6 {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.g7 {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.g8 {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}


/* ====== Carousel ====== */
.logo-brand {
  height: 56px;
}

.carousel {
  position: relative;
  margin-bottom: 18px;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 18px;
}

.carousel-track {
  display: flex;
  gap: 0;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.slide {
  min-width: 100%;
  scroll-snap-align: center;
}

.slide img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .9);
  border: 2px solid rgba(0, 0, 0, .08);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
}

.carousel-dots .dot.active {
  background: #111827;
}


/* ====== Lignes menu ====== */
.menu-row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: 10px 0;
}

.menu-name {
  font-size: 1.05rem;
  font-weight: 600;
}

.menu-dots {
  flex: 1;
  border-bottom: 2px dotted #cbd5e1;
  opacity: .9;
  margin-top: .9rem;
}

.menu-price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 800;
}

.menu-desc {
  color: var(--muted);
  font-size: .95rem;
  margin-top: 2px;
}


/* ====== Header & container ====== */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.45) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer {
  color: #6B7280;
  font-size: 14px;
}

#menu-toggle svg {
  display: block;
}

.slide img {
  width: 100%;
  height: clamp(220px, 35vh, 360px);
  object-fit: cover;
  display: block;
}

#menu-toggle {
  color: var(--ink);
}

/* garantit une icône foncée */
#menu-toggle svg {
  display: block;
}

/* évite un rendu “aplati” */
#menu-toggle:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* ====== Chips (filtres sous-catégorie & raccourcis) ====== */
.chipbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 0;
}

.chip {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 9999px;
  border: 1.5px solid rgba(15, 23, 42, .12);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(15, 23, 42, .06);
  cursor: pointer;
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    border-color .12s ease,
    background .2s ease;
}

.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 rgba(15, 23, 42, .08);
}

.chip:active {
  transform: translateY(0);
  box-shadow: 0 2px 0 rgba(15, 23, 42, .05);
}

.chip:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 2px;
}

.chip.active {
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
  border-color: rgba(15, 23, 42, .25);
  box-shadow: 0 6px 0 rgba(15, 23, 42, .10);
}

a.chip:visited {
  color: var(--ink);
}

.chip span {
  white-space: nowrap;
}