/*
  Pure Dose storefront layout. Loaded after core/base.css, which holds the
  colours and every shared component (buttons, fields, cards, badges...).
  This file only places things on the storefront pages (D31), in the style
  of gruns.co (D32) with the brand colours of D40: chunky headlines, pill
  header, colourful cards, full-bleed bands. Mobile-first, logical properties so the Arabic pages mirror.
*/

.wrap { width: 100%; max-width: 46rem; margin-inline: auto; padding-inline: 1rem; }
.page { padding-block: 2rem 4rem; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-block-end: 1.5rem; }
.page-head h1 { margin: 0; font-family: var(--font-display); font-weight: 900; letter-spacing: -0.02em; }

/* Chunky display headlines with a highlighted phrase. */
.display { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.025em; line-height: 1.05; color: var(--ink); }
html[lang="ar"] .display { font-family: var(--font-arabic); letter-spacing: 0; line-height: 1.3; }
.hl { color: var(--forest); }
.hl-sun { color: var(--sun); }
.section-display { margin: 0 0 1.75rem; font-size: clamp(2rem, 6vw, 3.2rem); text-align: center; color: var(--forest); }

/* Announcement bar */
.announce {
  margin: 0;
  padding: 0.5rem 1rem;
  background: var(--forest);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

/* Header: logo | nav | pill group (language, shop now, cart) */
.site-header { position: sticky; top: 0; z-index: 10; padding-block: 0.6rem; background: var(--cream); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.site-logo { display: inline-flex; line-height: 0; border-radius: 6px; }
.site-logo .logo-badge { width: 2.4rem; height: auto; }
.main-nav { display: none; }
.pill-group {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgb(58 61 64 / 0.08);
}
.lang-switch { margin: 0; }
.lang-switch button {
  padding: 0.35rem 0.6rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--deep);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.lang-switch button:hover { background: rgb(58 61 64 / 0.1); }
.shop-now { display: none; }
.cart-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  color: var(--deep);
}
.cart-link:hover { background: rgb(58 61 64 / 0.1); color: var(--deep); }
.cart-count {
  position: absolute;
  inset-block-start: -0.2rem;
  inset-inline-end: -0.2rem;
  min-width: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2rem;
  text-align: center;
}

/* Hero: copy and stats | illustrated panel */
.hero { padding-block: 1.5rem 2.5rem; }
.hero-grid { display: grid; gap: 1.75rem; align-items: center; }
.hero-copy { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.hero-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1rem; margin: 0; color: var(--forest); font-size: 0.9rem; font-weight: 700; }
.hero-checks span { display: inline-flex; align-items: center; gap: 0.3rem; }
.hero-checks .icon { width: 1rem; height: 1rem; stroke-width: 2.4; }
.hero-title { margin: 0; font-size: clamp(2.2rem, 8vw, 3.6rem); }
.hero-alt { margin: -0.5rem 0 0; color: var(--sage-dark); font-size: 1.05rem; font-weight: 700; }
.hero-text { max-width: 30rem; margin: 0; color: var(--muted); font-size: 1.05rem; }
.hero-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 28rem; margin: 0.5rem 0 0; padding: 0; }
.hero-stats li { display: grid; justify-items: center; gap: 0.2rem; padding-inline: 0.5rem; text-align: center; }
.hero-stats li + li { border-inline-start: 1px solid var(--line-strong); }
.stat-num {
  display: inline-grid;
  place-items: center;
  min-width: 3.4rem;
  height: 3.4rem;
  padding-inline: 0.4rem;
  border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.85rem; font-weight: 700; line-height: 1.25; }
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 15rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 50% 45%, var(--forest) 0%, var(--forest-dark) 100%);
}
.sprigs-defs { position: absolute; width: 0; height: 0; }
/* Physical sides on purpose: the artwork leans inward from each edge in both languages. */
.sprigs { position: absolute; bottom: 0; height: 95%; width: auto; pointer-events: none; }
.sprigs-left { left: -2rem; }
.sprigs-right { right: -2rem; transform: scaleX(-1); }
.hero-badge { position: relative; line-height: 0; filter: drop-shadow(0 10px 18px rgb(0 0 0 / 0.35)); }
.hero-badge .logo-badge { width: 6.5rem; height: auto; }
.sticker {
  position: absolute;
  inset-block-start: 0.9rem;
  inset-inline-end: 0.9rem;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  transform: rotate(-10deg);
}
.sticker-shape { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--sun); filter: drop-shadow(0 4px 8px rgb(0 0 0 / 0.25)); }
.sticker-text { position: relative; max-width: 4.2rem; color: var(--ink); font-size: 0.72rem; font-weight: 900; line-height: 1.1; text-align: center; text-transform: uppercase; }
.hero-float {
  position: absolute;
  inset-block-end: 0.9rem;
  inset-inline-start: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* Ticker: a strip that scrolls on its own (CSS only, stops for reduced motion). */
.ticker { overflow: hidden; padding-block: 0.85rem; border-block: 1px solid var(--line); background: var(--surface-muted); }
.ticker-track { display: flex; width: max-content; gap: 1.25rem; direction: ltr; animation: ticker 40s linear infinite; }
.ticker-track span { color: var(--deep); font-family: var(--font-display); font-size: 1.05rem; font-weight: 900; white-space: nowrap; }
.ticker-track .ticker-dot { color: var(--sun-dark); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Product cards: a colourful square, the name, a "from" price, one pill per size. */
.products { display: grid; gap: 3rem; padding-block: 3rem 3.5rem; scroll-margin-block-start: 4rem; }
.product-section { scroll-margin-block-start: 4rem; }
.section-more { margin: 2rem 0 0; text-align: center; }
.product-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.875rem; }
.product-card { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; scroll-margin-block-start: 6rem; }
.product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-block-end: 0.35rem;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-media:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .thumb-empty { color: var(--white); }
.product-media .thumb-empty .icon { width: 42%; height: 42%; stroke-width: 1.3; filter: drop-shadow(0 4px 10px rgb(0 0 0 / 0.15)); }
/* Four gradients, cycled through the list. */
.tone-1 { background: linear-gradient(160deg, var(--sun) 0%, var(--sage) 55%, var(--forest) 100%); }
.tone-2 { background: linear-gradient(160deg, var(--sage-soft) 0%, var(--sage) 45%, var(--forest-dark) 100%); }
.tone-3 { background: linear-gradient(160deg, var(--terracotta) 0%, var(--sun) 100%); }
.tone-4 { background: linear-gradient(160deg, var(--deep) 0%, var(--deep-light) 40%, var(--sage-dark) 100%); }
.card-tag {
  position: absolute;
  inset-block-start: 0.6rem;
  inset-inline-start: 0.6rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.card-tag.tag-out { background: var(--terracotta-text); }
.card-tag.tag-sale { background: var(--terracotta-text); font-size: 0.85rem; }
.chip-add .was { color: inherit; opacity: 0.75; }
.size-prices { display: inline-flex; gap: 0.4rem; align-items: baseline; }
.detail-price .sale-badge { margin-inline-start: 0.5rem; font-size: 0.9rem; }
.size-offer { display: grid; gap: 0.75rem; }
.size-offer[hidden] { display: none; }
.detail-size { margin-inline-start: 0.5rem; color: var(--muted); font-size: 1rem; font-weight: 600; }
.size-pill .sale-badge { font-size: 0.75rem; }
.card-kind { align-self: flex-start; }
.card-name { color: var(--ink); font-size: 1.1rem; font-weight: 800; line-height: 1.25; text-decoration: none; }
.card-name:hover { color: var(--forest); }
.card-from { margin: 0; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.variants { display: grid; gap: 0.4rem; margin: 0.25rem 0 0; }
.chip-add { gap: 0.5rem; }
.chip-add .price { color: inherit; }
.plus {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--forest);
  font-weight: 900;
  line-height: 1;
}
.chip-out {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.5rem;
  padding: 0.35rem 0.8rem;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
}
:is(.chip-out, .is-out) .price { color: var(--muted); font-weight: 500; text-decoration: line-through; }
.card-more { align-self: center; color: var(--ink); font-size: 0.88rem; font-weight: 700; }
.empty { color: var(--muted); text-align: center; }
.thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--sage-soft); text-decoration: none; }
.thumb img, .detail-image img { width: 100%; height: 100%; object-fit: cover; }
.thumb-empty { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--sage); }
.thumb-empty .icon { width: 45%; height: 45%; stroke-width: 1.2; }

/* Full-bleed bands */
.band { padding-block: 3.5rem; }
.band-title { margin: 0 auto 2rem; max-width: 22ch; font-size: clamp(2rem, 6.5vw, 3.4rem); text-align: center; color: var(--white); }
.band-title.start { margin-inline: 0; text-align: start; }
.band-green { background: var(--forest); scroll-margin-block-start: 4rem; }
.band-deep { background: var(--deep); color: var(--on-dark-muted); }
.band-text { max-width: 30rem; margin: 0; font-size: 1.02rem; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.step {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.55rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}
.step-media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 1;
  margin-block-end: 0.6rem;
  border-radius: calc(var(--radius) - 6px);
  color: var(--white);
}
.step-media .icon { width: 3.5rem; height: 3.5rem; stroke-width: 1.3; }
.step-number { background: var(--sun); color: var(--ink); }
.step h3 { margin: 0.15rem 0 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; }
.step p { margin: 0; padding-inline: 1rem; color: var(--muted); font-size: 0.95rem; }
.trust-grid { display: grid; gap: 2rem; align-items: center; }
.trust-grid .band-title { margin-block-end: 0.75rem; }
.trust-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.trust-tiles li {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius);
  background: var(--deep-dark);
  color: var(--on-dark);
  font-weight: 700;
  text-align: center;
}
.trust-tiles .icon {
  width: 3.2rem;
  height: 3.2rem;
  padding: 0.7rem;
  border: 1.5px solid var(--on-dark);
  border-radius: 50%;
  stroke-width: 1.4;
}

/* FAQ: <details> with a plus that turns into a minus. */
.faq { padding-block: 3.5rem 4rem; scroll-margin-block-start: 4rem; }
.faq-wrap { max-width: 46rem; }
.faq-list { border-block-start: 2px solid var(--ink); }
.faq-list details { border-block-end: 2px solid var(--ink); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  font-size: 1.1rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 1.1rem; height: 1.1rem; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2.5px; margin-block-start: -1.25px; border-radius: 2px; background: currentColor; transition: transform 0.2s; }
.faq-plus::after { transform: rotate(90deg); }
details[open] .faq-plus::after { transform: rotate(0deg); }
.faq-list details p { margin: 0 0 1.25rem; color: var(--muted); }

/* Product page */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block-end: 1.25rem; color: var(--muted); font-size: 0.9rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb [aria-current] { color: var(--forest); font-weight: 700; }
.product-detail { display: grid; gap: 1.5rem; }
.detail-image { aspect-ratio: 1; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--sage-soft); }
.detail-image .thumb-empty { background: linear-gradient(160deg, var(--sun) 0%, var(--sage) 55%, var(--forest) 100%); color: var(--white); }
.detail-image .thumb-empty .icon { width: 35%; height: 35%; }
.detail-info { display: grid; gap: 1rem; align-content: start; }
.detail-info > .badge { justify-self: start; margin-block-end: -0.5rem; }
.detail-info h1 { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.05; color: var(--forest); }
html[lang="ar"] .detail-info h1 { font-family: var(--font-arabic); letter-spacing: 0; line-height: 1.3; }
.detail-price { margin: 0; color: var(--ink); font-size: 1.4rem; font-weight: 800; }
.description { color: var(--muted); }
.description p { margin: 0 0 0.6rem; }
.buy-sizes { display: grid; gap: 1.25rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--line-strong); }
.sizes { margin: 0; padding: 0; border: 0; }
.sizes legend { margin-block-end: 0.75rem; padding: 0; font-size: 1.05rem; font-weight: 800; }
.size-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.6rem; }
.size-pill {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: 0.8rem 0.75rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
label.size-pill { cursor: pointer; }
label.size-pill:hover { border-color: var(--forest); }
.size-pill input { position: absolute; opacity: 0; pointer-events: none; }
.size-pill:has(input:checked) { border-color: var(--forest); background: var(--forest-soft); box-shadow: inset 0 0 0 1px var(--forest); }
.size-pill:has(input:focus-visible) { outline: 2px solid var(--forest); outline-offset: 2px; }
.v-label { font-size: 1.05rem; font-weight: 800; }
.size-pill .price { color: var(--muted); font-weight: 600; }
.is-out .size-pill { border-style: dashed; background: var(--surface-muted); color: var(--muted); }
.stock { font-size: 0.8rem; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.trust li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.trust .icon { color: var(--forest); }
/* Order form on the product page (D33). */
.quantity-field { justify-items: start; }
.order-card { display: grid; gap: 1rem; }
.order-card .form-step { margin: 0; }
.order-card .form-step .icon { color: var(--forest); }
.buy-actions { display: grid; gap: 0.6rem; }
.buy-actions p { margin: 0; }
.delivery-line { color: var(--forest); font-weight: 700; text-align: center; }

/* Cart */
.cart-layout { display: grid; gap: 1.25rem; align-items: start; }
.cart-lines { list-style: none; margin: 0; padding: 0 1.25rem; }
.cart-line {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-block: 1rem;
  border-block-end: 1px solid var(--line);
}
.cart-line:last-child { border-block-end: 0; }
.line-info { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.line-name { color: var(--ink); font-weight: 800; text-decoration: none; }
.line-name:hover { color: var(--forest); }
.line-meta { color: var(--muted); font-size: 0.9rem; }
.line-end { display: flex; flex-direction: column; align-items: end; gap: 0.35rem; }
.line-end form { margin: 0; }
.qty { display: inline-flex; align-items: center; margin: 0.35rem 0 0; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); align-self: start; }
.qty button {
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.qty button:hover:not(:disabled) { background: var(--forest-soft); }
.qty button:disabled { color: var(--line-strong); cursor: not-allowed; }
.qty-value { min-width: 1.75rem; text-align: center; font-weight: 700; }
.summary { display: grid; gap: 0.75rem; }
.summary h2 { margin: 0; }
.free { color: var(--forest); font-weight: 700; }
.summary-note { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin: 0; color: var(--muted); font-size: 0.88rem; }

/* Checkout */
.checkout { display: grid; gap: 1.25rem; align-items: start; }
.checkout-form { display: grid; gap: 1.25rem; }
.form-step { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.1rem; font-size: 1.15rem; font-weight: 800; }
.step-dot { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--forest); color: var(--white); font-size: 0.9rem; font-weight: 800; }
.checkout-send { display: grid; gap: 0.6rem; }
.checkout-send p { margin: 0; }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.recap { list-style: none; margin: 0; padding: 0; }
/* Name and size | quantity | price, in columns so "50 g" and "× 2" never run together. */
.recap li { display: grid; grid-template-columns: 1fr auto auto; gap: 0.75rem; align-items: baseline; padding-block: 0.55rem; border-block-end: 1px solid var(--line); }
.recap-qty { color: var(--muted); }

/* Confirmation and 404 */
.placed { display: grid; justify-items: center; gap: 0.75rem; max-width: 34rem; margin-inline: auto; padding: 2rem 1.5rem; text-align: center; }
.placed h1 { margin: 0; font-family: var(--font-display); font-size: 1.7rem; font-weight: 900; letter-spacing: -0.02em; }
.placed-icon { width: 4rem; height: 4rem; background: var(--forest); color: var(--white); }
.placed-number { margin: 0; padding: 0.4rem 1rem; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; }
.placed-call { display: flex; align-items: center; gap: 0.5rem; margin: 0; color: var(--muted); }
.placed .recap, .placed .totals { width: 100%; text-align: start; }
.not-found { max-width: 34rem; margin-inline: auto; }
.not-found h1 { margin: 0; color: var(--ink); }

/* Notices: fixed at the bottom, fade out on their own (no JavaScript). */
.notices {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 1rem;
  z-index: 20;
  display: grid;
  gap: 0.5rem;
  width: min(100% - 2rem, 30rem);
  margin-inline: auto;
  pointer-events: none;
}
.notice {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--deep);
  color: var(--on-dark);
  font-weight: 600;
  box-shadow: 0 8px 24px rgb(42 45 48 / 0.25);
  animation: notice-out 0.4s ease-in 4s forwards;
}
.notice-warning { background: var(--sun); color: var(--ink); animation-delay: 7s; }
/* The second <bdi> of a notice is the size ("60 g"): never split it across lines. */
.notice bdi + bdi { white-space: nowrap; }
@keyframes notice-out { to { opacity: 0; visibility: hidden; } }

/* Footer: big centred wordmark, then link columns. */
.site-footer { background: var(--deep); color: var(--on-dark-muted); font-size: 0.92rem; }
.footer-top { display: grid; justify-items: center; gap: 0.6rem; padding-block: 3rem 2rem; text-align: center; }
.footer-top p { margin: 0; max-width: 24rem; }
.footer-logo { color: var(--sun); font-family: var(--font-display); font-size: clamp(2.6rem, 10vw, 4.5rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; text-decoration: none; }
.footer-logo .footer-dose { color: var(--on-dark); }
.footer-logo:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1.5rem; padding-block: 1rem 2rem; }
.footer-title { margin: 0 0 0.7rem; color: var(--sun); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-contact li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.8rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-contact .icon { flex: none; width: 1.1em; height: 1.1em; }
.footer-whatsapp { font-size: 0.85em; }
.footer-bottom { padding-block: 1.25rem; border-block-start: 1px solid var(--on-dark-line); font-size: 0.82rem; }
.footer-bottom p { margin: 0; }

/* Wider screens */
@media (min-width: 40rem) {
  .step-list { grid-template-columns: repeat(3, 1fr); }
  .step-media { aspect-ratio: 16 / 9; }
  .form-grid.two-cols { grid-template-columns: 1fr 1fr; }
  .form-grid.two-cols .span-all { grid-column: 1 / -1; }
  .shop-now { display: inline-flex; }
  .hero-visual { min-height: 20rem; }
}
@media (min-width: 48rem) {
  .wrap { max-width: 76rem; padding-inline: 1.5rem; }
  .main-nav { display: flex; gap: 1.75rem; }
  .main-nav a { color: var(--ink); font-weight: 700; text-decoration: none; }
  .main-nav a:hover { color: var(--forest); }
  .hero { padding-block: 1.5rem 3rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero-copy { justify-items: start; text-align: start; }
  .hero-checks { justify-content: start; }
  .hero-visual { min-height: 26rem; }
  .hero-badge .logo-badge { width: 9rem; }
  .sticker { width: 7rem; height: 7rem; inset-block-start: 1.5rem; inset-inline-end: 1.5rem; }
  .sticker-text { max-width: 5.2rem; font-size: 0.85rem; }
  .hero-float { inset-block-end: 1.5rem; inset-inline-start: 1.5rem; font-size: 0.9rem; }
  .product-list { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 2rem 1.25rem; }
  .band { padding-block: 5rem; }
  .trust-grid { grid-template-columns: 1fr 1.3fr; gap: 3rem; }
  .trust-tiles { grid-template-columns: repeat(4, 1fr); }
  .product-detail { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  /* The order form is long: the image stays in view beside it. */
  .detail-image { position: sticky; top: 6rem; }
  .product-detail { align-items: start; }
  .cart-layout, .checkout { grid-template-columns: minmax(0, 1fr) 22rem; gap: 1.5rem; }
  .summary { position: sticky; top: 6rem; }
}
