/* =====================================================================
   ELS APPAREL — Boutique Storefront
   Palette sourced from Palette.svg (warm rose / terracotta tones)
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette (from Palette.svg) */
  --clay:        #ab4d4d;
  --cream:       #ffece4;
  --muted-rose:  #c28b86;
  --blush:       #efc0b9;
  --rose-deep:   #94504e;
  --brick:       #9a484b;
  --dusty-rose:  #a96c6a;
  --rose:        #a9585a;

  /* Roles */
  --brand:       #ab4d4d;
  --brand-dark:  #94504e;
  --accent:      #efc0b9;
  --bg:          #ffffff;
  --bg-alt:      #fff6f1;
  --bg-cream:    #ffece4;
  --ink:         #3b2a2a;
  --ink-soft:    #6b5555;
  --line:        #f0dcd4;
  --white:       #ffffff;

  /* Deliveroo brand */
  --deliveroo:      #00ccbc;
  --deliveroo-dark: #00a599;

  /* Type */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body:    "Jost", "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --wrap: 1320px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --radius: 4px;
  --shadow: 0 10px 40px -12px rgba(148, 80, 78, 0.28);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Utility ---------- */
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--brand);
}
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--cream { background: var(--bg-cream); }
.section--alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0.4rem 0 0.6rem; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--solid { background: var(--brand); color: #fff; }
.btn--solid:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--deliveroo { background: var(--deliveroo); color: #fff; }
.btn--deliveroo:hover { background: var(--deliveroo-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0,204,188,0.6); }
.btn--sm { padding: 0.7rem 1.4rem; font-size: 0.68rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* =====================================================================
   ANNOUNCEMENT BAR
   ===================================================================== */
.announce {
  background: var(--brand-dark);
  color: #ffe9e2;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
  position: relative;
  height: 38px;
}
.announce__track { position: relative; height: 100%; }
.announce__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.6s ease;
  padding: 0 1rem;
}
.announce__item.is-active { opacity: 1; }
.announce__item a { text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem var(--gutter);
}
.brand-logo { display: flex; justify-content: center; align-items: center; gap: 0.7rem; }
.brand-logo img { height: 58px; width: auto; border-radius: 50%; }
.brand-logo .wordmark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--brand-dark);
  line-height: 1;
}
.brand-logo .wordmark small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* Primary nav */
.primary-nav { justify-self: start; }
.primary-nav > ul { display: flex; gap: 1.6rem; align-items: center; }
.primary-nav > ul > li > a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.4rem 0;
  display: inline-block;
  position: relative;
  transition: color var(--transition);
}
.primary-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.9rem;
  width: 0; height: 1.5px;
  background: var(--brand);
  transition: width var(--transition);
}
.primary-nav > ul > li > a:hover { color: var(--brand); }
.primary-nav > ul > li > a:hover::after { width: 100%; }
.primary-nav .sale > a { color: var(--brand); }
.primary-nav .deliveroo-link > a { color: var(--deliveroo-dark); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block;
  padding: 0.5rem 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: var(--transition);
}
.dropdown li a:hover { color: var(--brand); background: var(--bg-cream); padding-left: 1.7rem; }

/* Header icons */
.header-actions { justify-self: end; display: flex; align-items: center; gap: 1.1rem; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
  transition: color var(--transition);
}
.icon-btn:hover { color: var(--brand); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute;
  top: -7px; right: -9px;
  background: var(--brand);
  color: #fff;
  font-size: 0.6rem;
  font-family: var(--font-body);
  min-width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.menu-toggle { display: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 800px);
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(148,80,78,0.62) 0%, rgba(171,77,77,0.32) 55%, rgba(239,192,185,0.15) 100%),
    radial-gradient(circle at 78% 30%, var(--blush), transparent 60%),
    linear-gradient(135deg, var(--rose) 0%, var(--brand-dark) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 8c6 8 6 14 0 22-6-8-6-14 0-22z' fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.6;
}
.hero__content { position: relative; z-index: 2; max-width: 640px; }
.hero__content .eyebrow { color: var(--blush); }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  margin: 0.8rem 0 1.2rem;
  font-weight: 500;
}
.hero p { font-size: 1.12rem; max-width: 460px; margin-bottom: 2rem; color: #fdeee9; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slim hero variant for interior pages */
.page-hero {
  background:
    radial-gradient(circle at 80% 20%, var(--blush), transparent 55%),
    linear-gradient(120deg, var(--muted-rose), var(--brand));
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero p { color: #fdeee9; margin-top: 0.6rem; }
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fde3db; margin-bottom: 0.8rem; }
.breadcrumb a:hover { text-decoration: underline; }

/* =====================================================================
   PRODUCT GRID
   ===================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.2vw, 2rem);
}
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card { position: relative; }
.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  isolation: isolate;
}
.product-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1.2' fill='%23ffffff' fill-opacity='0.18'/%3E%3C/svg%3E");
  z-index: -1;
}
.product-card__label {
  font-family: var(--font-display);
  font-size: 2rem;
  opacity: 0.5;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.product-card__badge {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  background: #fff;
  color: var(--brand-dark);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  border-radius: 2px;
  z-index: 3;
}
.product-card__quick {
  position: absolute;
  left: 0.8rem; right: 0.8rem; bottom: 0.8rem;
  transform: translateY(12px);
  opacity: 0;
  transition: var(--transition);
  z-index: 3;
}
.product-card:hover .product-card__quick { transform: translateY(0); opacity: 1; }
.product-card__wish {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  z-index: 3;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark);
  transition: var(--transition);
}
.product-card__wish:hover { background: #fff; transform: scale(1.08); }
.product-card__wish svg { width: 16px; height: 16px; }
.product-card__info { text-align: center; }
.product-card__name { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; }
.product-card__price { color: var(--brand); font-size: 0.92rem; margin-top: 0.15rem; }
.product-card__price del { color: var(--ink-soft); margin-right: 0.4rem; opacity: 0.7; }
.product-card__swatches { display: flex; gap: 0.35rem; justify-content: center; margin-top: 0.5rem; }
.swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); }

/* =====================================================================
   COLLECTION TILES
   ===================================================================== */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.tile::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(59,42,42,0.65) 100%);
  z-index: 1;
}
.tile__body { position: relative; z-index: 2; padding: 1.8rem; width: 100%; }
.tile__body h3 { font-size: 1.9rem; margin-bottom: 0.5rem; }
.tile__body .btn { margin-top: 0.4rem; }
.tile:hover { transform: translateY(-4px); }
.tile { transition: var(--transition); }

/* =====================================================================
   DELIVEROO BANNER
   ===================================================================== */
.deliveroo-band {
  background: linear-gradient(120deg, var(--deliveroo) 0%, var(--deliveroo-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.deliveroo-band .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.deliveroo-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: #fff; }
.deliveroo-band p { margin: 0.8rem 0 1.5rem; max-width: 460px; opacity: 0.95; }
.deliveroo-band__steps { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.deliveroo-step { display: flex; gap: 0.6rem; align-items: center; font-size: 0.85rem; }
.deliveroo-step span {
  width: 30px; height: 30px; flex: none;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.deliveroo-visual {
  justify-self: end;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(4px);
  max-width: 340px;
}
.deliveroo-visual .roo-logo { font-size: 1.4rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 0.4rem; }

/* =====================================================================
   EDITORIAL / STORY
   ===================================================================== */
.editorial { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.editorial__media {
  aspect-ratio: 5 / 6;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, var(--blush), transparent 55%),
    linear-gradient(150deg, var(--muted-rose), var(--rose-deep));
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.editorial__media img { width: 46%; border-radius: 50%; box-shadow: var(--shadow); }
.editorial__body h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0.5rem 0 1rem; }
.editorial__body p { color: var(--ink-soft); margin-bottom: 1rem; }
.editorial--reverse .editorial__media { order: 2; }

/* Feature strip (icons) */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.feature svg { width: 34px; height: 34px; color: var(--brand); margin: 0 auto 0.7rem; }
.feature h4 { font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.3rem; }
.feature p { font-size: 0.85rem; color: var(--ink-soft); }

/* =====================================================================
   NEWSLETTER
   ===================================================================== */
.newsletter {
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
}
.newsletter h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.newsletter p { color: #fbdfd8; max-width: 480px; margin: 0.6rem auto 1.8rem; }
.newsletter form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter input {
  flex: 1;
  min-width: 220px;
  padding: 0.95rem 1.2rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter input:focus { outline: none; border-color: #fff; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--ink); color: #e9d9d4; font-size: 0.88rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-brand .brand-logo { justify-content: flex-start; margin-bottom: 1rem; }
.footer-brand .wordmark { color: #fff; }
.footer-brand p { color: #c9b4ae; max-width: 300px; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 1.1rem; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: #c9b4ae; transition: var(--transition); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.4rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  color: #b7a09a;
  font-size: 0.78rem;
}
.payment-icons { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.payment-icons span {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 0.28rem 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

/* =====================================================================
   SHOP / FILTER TOOLBAR
   ===================================================================== */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.shop-count { font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0.05em; }
.chip-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line);
  padding: 0.5rem 1.1rem;
  border-radius: 40px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  color: var(--ink-soft);
}
.chip:hover, .chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.shop-sort select {
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
}

/* =====================================================================
   ABOUT / CONTACT
   ===================================================================== */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.6rem; color: var(--brand); line-height: 1; }
.stat span { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-info li { display: flex; gap: 0.9rem; margin-bottom: 1.4rem; align-items: flex-start; }
.contact-info svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.contact-info b { display: block; font-family: var(--font-body); }
.contact-info span { color: var(--ink-soft); font-size: 0.9rem; }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--brand); }
.form-field textarea { resize: vertical; min-height: 130px; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; }
.info-card svg { width: 30px; height: 30px; color: var(--brand); margin: 0 auto 0.8rem; }
.info-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.4rem; }
.info-card p { color: var(--ink-soft); font-size: 0.9rem; }

/* Map placeholder */
.map-embed {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(148,80,78,0.15), rgba(239,192,185,0.25)),
    repeating-linear-gradient(45deg, #f7e7e0, #f7e7e0 20px, #fbeee9 20px, #fbeee9 40px);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

/* =====================================================================
   REVEAL ANIMATION
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .primary-nav > ul { gap: 1.1rem; }
  .primary-nav > ul > li > a { font-size: 0.72rem; }
}

@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .brand-logo { justify-content: flex-start; }
  .menu-toggle { display: inline-flex; }
  /* backdrop-filter on the header would trap the fixed nav inside the
     header's box; disable it on mobile so the slide-in menu fills the screen */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .primary-nav {
    position: fixed;
    inset: 0 30% 0 0;
    background: #fff;
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 200;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav > ul { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .primary-nav > ul > li { width: 100%; border-bottom: 1px solid var(--line); }
  .primary-nav > ul > li > a { padding: 0.9rem 0; width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0.8rem 0.8rem; min-width: auto; display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav-close { position: absolute; top: 1.2rem; right: 1.2rem; }
  .deliveroo-band .wrap, .editorial, .contact-grid { grid-template-columns: 1fr; }
  .editorial--reverse .editorial__media { order: 0; }
  .deliveroo-visual { justify-self: stretch; max-width: none; }
}

@media (max-width: 620px) {
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: 1fr; }
  .features, .footer-top, .info-cards, .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .brand-logo .wordmark { font-size: 1.3rem; }
  .brand-logo img { height: 46px; }
}

.nav-close { display: none; }
@media (max-width: 860px) { .nav-close { display: block; } }

/* =====================================================================
   WEB IMAGE INTEGRATION (product photos, collection tiles, hero)
   ===================================================================== */
/* Product card photos */
.pcard-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: 0;
  transition: transform var(--transition);
}
.product-card:hover .pcard-img { transform: scale(1.05); }
.product-card__media.has-img .product-card__label { display: none; }
.product-card__media.has-img::before { display: none; }

/* Collection tiles keep the ::before scrim for legible text */
.tile { background-size: cover; background-position: center; }

/* Hero background photo */
.hero { background-size: cover; background-position: center; }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: 0;
}
@media (max-width: 860px) {
  .hero__bg { object-position: 72% 20%; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(148,80,78,0.92) 0%,
    rgba(154,72,75,0.62) 44%,
    rgba(148,80,78,0.22) 100%);
}
.hero::after { z-index: 2; }
.hero__content { z-index: 3; }

/* Editorial media photo */
.editorial__media.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: none;
}
