/* =============================================================================
   MENU V2 – Scroll-sectioned layout  |  DS Bowl Speisekarte
   ============================================================================= */

/* Smooth scrolling handled entirely by JS (smoothScrollTo) so CSS
   scroll-behavior is intentionally not set here – avoids double-animation
   on iOS/Safari when clicking category pills. */

/* ── Design tokens ──────────────────────────────────────────────────────────── */
:root {
  --m-pink:      #E6332A;
  --m-pink-2:    #ff5a47;
  --m-pink-glow: rgba(230, 51, 42, 0.28);
  --m-easing:    cubic-bezier(0.22, 1, 0.36, 1);
  --m-nav-h:     54px;
  --m-r-pill:    100px;
  --m-r-tag:     8px;
  /* Card fixed dimensions */
  --m-img-h:     200px;
  --m-name-lines: 2;
  --m-desc-lines: 2;
}

:root:not([data-theme="dark"]) {
  --m-bg:          #f4f4f4;
  --m-nav-bg:      rgba(244, 244, 244, 0.82);
  --m-text:        #111111;
  --m-text-muted:  rgba(17, 17, 17, 0.55);
  --m-border:      rgba(0, 0, 0, 0.08);
  --m-tag-bg:      rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
  --m-bg:          #0e0f12;
  --m-nav-bg:      rgba(14, 15, 18, 0.75);
  --m-text:        #f4f4f4;
  --m-text-muted:  rgba(244, 244, 244, 0.50);
  --m-border:      rgba(255, 255, 255, 0.08);
  --m-tag-bg:      rgba(255, 255, 255, 0.08);
}

/* ── Container ──────────────────────────────────────────────────────────────── */
.dynamic-menu {
  background: var(--m-bg);
  position: relative;
  padding-bottom: 100px; /* space so floating pill nav doesn't overlap last row */
}

/* =============================================================================
   FLOATING BOTTOM PILL NAV
   ============================================================================= */
.cat-nav {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(48px);
  z-index: 500;
  max-width: min(92vw, 780px);
  background: var(--m-nav-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 100px;
  border: 1px solid var(--m-border);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 400ms var(--m-easing), transform 400ms var(--m-easing);
}

.cat-nav.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.cat-nav__inner {
  padding: 8px 20px; /* 20px sides keep pills well inside the rounded corners */
  display: flex;
  align-items: center;
}

.cat-nav__track {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* Extra padding on track ends so first/last pill never touches the nav edge */
  padding: 2px 4px;
}

.cat-nav__track::-webkit-scrollbar { display: none; }

.cat-nav__pill {
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 7px 15px;
  border-radius: var(--m-r-pill);
  border: 1.5px solid var(--m-border);
  background: transparent;
  color: var(--m-text);
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  min-height: 34px;
  min-width: 44px;
  transition:
    background 250ms var(--m-easing),
    color      250ms var(--m-easing),
    border-color 250ms var(--m-easing),
    transform  250ms var(--m-easing),
    box-shadow 250ms var(--m-easing);
}

.cat-nav__pill:hover {
  border-color: var(--m-pink);
  color: var(--m-pink);
}

.cat-nav__pill:focus-visible {
  outline: 2px solid var(--m-pink);
  outline-offset: 2px;
}

.cat-nav__pill.is-active {
  background: linear-gradient(135deg, var(--m-pink), var(--m-pink-2));
  border-color: transparent;
  color: #fff;
  transform: scale(1.05);
}

/* =============================================================================
   CATEGORY SECTIONS
   ============================================================================= */
.cat-section {
  padding-block: 100px;
  padding-inline: clamp(20px, 5vw, 80px);
  max-width: 1400px;
  margin: 0 auto;
  scroll-margin-top: calc(var(--header-height, 60px) + 16px);
}

.cat-section__header {
  margin-bottom: 56px;
  overflow: visible;
}

/* Title: big gradient, no clipping */
.cat-section__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 6.5vw, 80px);
  line-height: 1;
  letter-spacing: clamp(-1px, -0.03em, -2px);
  padding-bottom: 0.08em;
  word-break: break-word;
  overflow-wrap: break-word;
  background: linear-gradient(135deg, var(--m-pink) 0%, var(--m-pink-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 20px 0;
  will-change: transform;
  display: block;
}

.cat-section__desc {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--m-text);
  opacity: 0.65;
  max-width: 540px;
  line-height: 1.65;
  /* margin-top provides space from BELOW the gradient title on all mobile browsers */
  margin: 16px 0 0 0;
}

/* =============================================================================
   PRODUCT GRID
   ============================================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 28px;
  row-gap: 52px;
  /* align-items: stretch so cards stretch to same height */
  align-items: stretch;
}

/* =============================================================================
   PRODUCT CARDS
   Cards have no visible background. PNG floats with drop-shadow.
   Text alignment: fixed img height + min-height on name/desc → price always
   lands at the same Y position for all cards in the same grid row.
   ============================================================================= */
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--m-text);
  cursor: pointer;
  /* Scroll-reveal start state */
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity  380ms var(--m-easing),
    transform 380ms var(--m-easing);
}

.product-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Image wrap: fixed height ensures all images take equal vertical space ── */
.product-card__img-wrap {
  position: relative;
  width: 100%;
  height: var(--m-img-h);
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.product-card__img {
  max-height: var(--m-img-h);
  max-width: 90%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.22));
  /* Isolate the img on its own compositing layer so drop-shadow never
     bleeds into the parent transform layer (fixes bounding-box artifact) */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition:
    transform 350ms var(--m-easing),
    filter    350ms var(--m-easing);
}

/* Desktop hover only */
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card__img {
    transform: translateY(-12px) rotate(1deg);
    filter: drop-shadow(0 32px 44px rgba(0, 0, 0, 0.32));
  }
}

/* ── Badges: overlaid absolutely on top of image area ── */
.product-card__badges {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
  pointer-events: none;
  z-index: 1;
}

.product-card__badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: var(--m-r-pill);
  color: #fff;
  background: var(--m-pink);          /* default: DS pink */
}

/* Modifier colours */
.product-card__badge--vegi   { background: #12b800; }
.product-card__badge--vegan   { background: #12b800; }
.product-card__badge--beliebt { background: var(--m-pink); }
.product-card__badge--neu     { background: linear-gradient(135deg, #2F28FF, #6c63ff); }
.product-card__badge--limited { background: linear-gradient(135deg, #ff6b35, #f7931e); }
.product-card__badge--featured { background: linear-gradient(135deg, var(--m-pink), var(--m-pink-2)); }

/* ── Name ── */
.product-card__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 14px 0 5px 0;
  color: var(--m-text);
  /* Clamp to 2 lines + reserve height so alignment holds */
  display: -webkit-box;
  -webkit-line-clamp: var(--m-name-lines);
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(var(--m-name-lines) * 0.95rem * 1.4); /* ≈ 2.66rem */
  align-self: stretch;
}

/* ── Description ── */
.product-card__desc {
  font-size: 0.78rem;
  color: var(--m-text);
  opacity: 0.60;
  line-height: 1.5;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: var(--m-desc-lines);
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(var(--m-desc-lines) * 0.78rem * 1.5); /* ≈ 2.34rem */
  align-self: stretch;
}

/* ── Price: pushed to bottom via margin-top:auto ── */
.product-card__price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin: auto 0 0 0;             /* auto top margin = align prices at row-bottom */
  background: linear-gradient(135deg, var(--m-pink), var(--m-pink-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================================================
   SPOTLIGHT – fully pink, high-contrast break sections
   ============================================================================= */
.spotlight {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 72px clamp(20px, 5vw, 80px);
  background: linear-gradient(135deg, #E6332A 0%, #b3261c 45%, #ff6a5a 100%);
}

/* Optional subtle noise texture for depth */
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% -10%, rgba(255,255,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Single spotlight (default): image left OR right, text opposite ── */
.spotlight__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.spotlight--img-right .spotlight__img-wrap { order: 2; }
.spotlight--img-right .spotlight__content  { order: 1; }

.spotlight__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight__img {
  max-height: 400px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.30));
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.spotlight__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spotlight__badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--m-r-pill);
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #E6332A;
  background: #fff;
  margin-bottom: 18px;
}

.spotlight__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: #fff;
  -webkit-text-fill-color: #fff;
  margin: 0 0 14px 0;
}

.spotlight__desc {
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 400px;
  margin: 0 0 18px 0;
}

.spotlight__price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
  margin: 0 0 26px 0;
}

.spotlight__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--m-r-pill);
  background: #fff;
  color: #E6332A;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  min-height: 48px;
  transition: transform 350ms var(--m-easing), box-shadow 350ms var(--m-easing), background 250ms;
}

.spotlight__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  background: #fff1ef;
}

/* ── Dual spotlight: two products side by side ── */
.spotlight--dual .spotlight__inner {
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  gap: 32px;
}

.spotlight__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spotlight__item-img {
  max-height: 260px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.28));
  margin-bottom: 20px;
  will-change: transform;
}

.spotlight__item-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--m-r-pill);
  color: #E6332A;
  background: #fff;
  margin-bottom: 10px;
  display: inline-block;
}

.spotlight__item-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: #fff;
  -webkit-text-fill-color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.1;
}

.spotlight__item-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.55;
  margin: 0 0 12px 0;
  max-width: 260px;
}

.spotlight__item-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
  margin: 0 0 16px 0;
}

.spotlight__item-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--m-r-pill);
  background: #fff;
  color: #E6332A;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  min-height: 44px;
  transition: transform 300ms var(--m-easing), box-shadow 300ms;
}

.spotlight__item-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* =============================================================================
   PRODUCT DETAIL PAGE  (produkt.html)
   ============================================================================= */
.product-detail__nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--header-height, 60px) + 36px) clamp(20px, 5vw, 60px) 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.product-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--m-text);
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 250ms var(--m-easing), transform 250ms var(--m-easing);
  min-height: 44px;
  padding: 0 4px;
}

.product-detail__back:hover {
  opacity: 1;
  transform: translateX(-4px);
}

.product-detail__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--m-text-muted);
  font-family: 'Poppins', sans-serif;
}

.product-detail__breadcrumb a {
  color: var(--m-text-muted);
  text-decoration: none;
  transition: color 200ms;
}

.product-detail__breadcrumb a:hover { color: var(--m-pink); }

.product-detail__breadcrumb span[aria-current] {
  color: var(--m-text);
  font-weight: 600;
}

.product-detail__hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 60px) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 68vh;
}

.product-detail__img-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes productFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.product-detail__img {
  max-height: 60vh;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 36px 54px rgba(0, 0, 0, 0.22));
  animation: productFloat 3.5s var(--m-easing) infinite;
}

.product-detail__info-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-detail__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.product-detail__badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 14px;
  border-radius: var(--m-r-pill);
  color: #fff;
  background: var(--m-pink);
}

.product-detail__badge--vegan   { background: #12b800; }
.product-detail__badge--beliebt { background: var(--m-pink); }
.product-detail__badge--neu     { background: linear-gradient(135deg, #2F28FF, #6c63ff); }
.product-detail__badge--limited { background: linear-gradient(135deg, #ff6b35, #f7931e); }
.product-detail__badge--featured { background: linear-gradient(135deg, var(--m-pink), var(--m-pink-2)); }

.product-detail__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--m-text);
  margin: 0 0 16px 0;
  word-break: break-word;
}

.product-detail__desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--m-text);
  opacity: 0.70;
  max-width: 460px;
  margin: 0 0 22px 0;
}

.product-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 26px;
}

.product-detail__tag {
  font-family: 'Poppins', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: var(--m-r-tag);
  background: var(--m-tag-bg);
  color: var(--m-text);
  border: 1px solid var(--m-border);
}

.product-detail__tag--allergen {
  border-color: rgba(230, 51, 42, 0.25);
  background: rgba(230, 51, 42, 0.07);
  color: var(--m-pink);
}

.product-detail__price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  margin: 0;
  background: linear-gradient(135deg, var(--m-pink), var(--m-pink-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================================================
   ZUTATEN-STRIP – Ingredient icons on product detail page
   ============================================================================= */

/* Scrollable row of ingredient chips */
.zutat-strip {
  display: flex;
  flex-wrap: wrap;           /* wrap on wide screens */
  gap: 10px;
  margin-bottom: 20px;
  /* Mobile: horizontal scroll instead of wrap */
}

/* Single chip: image box + label */
.zutat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 72px;               /* fixed width = consistent grid */
  flex-shrink: 0;
}

/* Square image container – object-fit: contain, never cropped */
.zutat-chip__img-box {
  width: 72px;
  height: 72px;
  background: #fff;              /* immer weiß – egal ob PNG oder JPEG, keine sichtbare Kante */
  border: 1px solid var(--m-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.zutat-chip__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;              /* inner breathing room */
  display: block;
}

/* Graceful: chip ohne (passendes) Bild → Box ausblenden, nur das Label zeigen */
.zutat-chip--no-img .zutat-chip__img-box,
.zutat-chip--text-only .zutat-chip__img-box {
  display: none;
}
.zutat-chip--no-img,
.zutat-chip--text-only {
  width: auto;
}

.zutat-chip__label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--m-text);
  opacity: 0.75;
  text-align: center;
  line-height: 1.2;
  max-width: 72px;
  word-break: break-word;
}

/* On mobile: switch to a horizontal scroll strip */
@media (max-width: 600px) {
  .zutat-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .zutat-strip::-webkit-scrollbar { display: none; }

  .zutat-chip {
    scroll-snap-align: start;
    width: 60px;
  }

  .zutat-chip__img-box {
    width: 60px;
    height: 60px;
  }

  .zutat-chip__label {
    font-size: 0.6rem;
    max-width: 60px;
  }
}

/* Allergen tags row – small spacing above price */
.product-detail__tags--allergene {
  margin-top: -10px;
  margin-bottom: 18px;
}

/* Similar products */
.product-similar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px) 100px;
}

.product-similar__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--m-text);
  margin: 0 0 24px 0;
}

.similar-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.similar-track::-webkit-scrollbar { display: none; }

.similar-card {
  flex-shrink: 0;
  width: 170px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--m-text);
  cursor: pointer;
  min-height: 44px;
  transition: transform 300ms var(--m-easing);
}

.similar-card:hover { transform: translateY(-6px); }

.similar-card__img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.16));
  margin-bottom: 10px;
}

.similar-card__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.similar-card__price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  margin: 0;
  background: linear-gradient(135deg, var(--m-pink), var(--m-pink-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .cat-section { padding-block: 72px; }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 44px;
  }

  .cat-section__header { margin-bottom: 40px; }

  /* Spotlight: stack vertically – text first, image centered below */
  .spotlight__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    max-width: 480px;
  }

  /* Force text first, image second on all spotlight variants */
  .spotlight__content  { order: 1; align-items: center; }
  .spotlight__img-wrap { order: 2; justify-content: center; }

  .spotlight__desc    { max-width: 100%; }
  .spotlight__img { max-height: 280px; }

  /* Detail page */
  .product-detail__hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: unset;
    padding-top: 28px;
  }

  .product-detail__img { max-height: 50vh; }
}

@media (max-width: 600px) {
  :root { --m-img-h: 180px; }

  .cat-nav { bottom: 16px; }

  .cat-section { padding-block: 56px; }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 14px;
    row-gap: 40px;
  }

  .spotlight { padding: 52px clamp(16px, 4vw, 32px); }
  .spotlight__img { max-height: 220px; }
  .spotlight__img-wrap { justify-content: center; }
}

@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; }
}

/* =============================================================================
   REDUCED MOTION
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card__img,
  .spotlight__img,
  .spotlight__item-img,
  .cat-nav,
  .spotlight__cta,
  .spotlight__item-cta {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .product-card { opacity: 1; transform: none; }
  .product-detail__img { animation: none; }
}
