/* =========================================================
   The Islay Shop — site styles
   Palette taken from the logo: black #231E1F, red #EC1925, white
   ========================================================= */
:root {
  --ink-900: #231e1f;   /* logo black */
  --ink-700: #3a3435;
  --ink-500: #6b6465;
  --grey-100: #f1efee;
  --grey-50: #f6f5f4;
  --paper: #ffffff;
  --line: #e4e1e0;
  --red: #ec1925;       /* logo red */
  --red-700: #c4121d;
  --red-on-dark: #ff5c63;
  --ink: #231e1f;
  --muted: #625b5c;
  --white: #ffffff;
  --star: #f4b400;
  --danger: #c4121d;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(35, 30, 31, .06), 0 8px 24px rgba(35, 30, 31, .08);
  --max: 1160px;
  --display: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red-700); }
a:hover { color: var(--ink-900); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink-900); line-height: 1.1; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--tint { background: var(--grey-50); }
.section--sea { background: var(--ink-900); color: var(--grey-100); }
.section--sea h2, .section--sea h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: .8em;
}
.section--sea .eyebrow, .page-hero .eyebrow { color: var(--red-on-dark); }
.section--sea .section-head p { color: #cfcac9; font-size: 1.15rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lede { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-700); color: var(--white); }
.btn--dark { background: var(--ink-700); color: var(--white); }
.btn--dark:hover { background: var(--ink-900); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--ink-900); background: transparent; }
.btn--ghost:hover { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink-900); }
.btn--light:hover { background: var(--grey-100); color: var(--ink-900); }
.btn--outline { border-color: var(--ink-700); color: var(--ink-700); background: transparent; }
.btn--outline:hover { background: var(--ink-700); color: var(--white); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--red);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-900); }
.brand-logo { display: block; width: 64px; height: 64px; overflow: hidden; flex: none; background: #fff; }
.brand-logo img { width: 102%; height: 102%; max-width: none; margin: -1%; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink-700); color: var(--white); border: 0; border-radius: 999px;
  padding: .55em 1.1em; font: 600 .95rem var(--sans); cursor: pointer;
}
.cart-btn:hover { background: var(--ink-900); }
.cart-count {
  min-width: 22px; height: 22px; border-radius: 11px; background: var(--red); color: var(--white);
  font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px;
}
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink-900); }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 20px; border-top: 1px solid var(--grey-50); }
  .cart-label { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f6f5f4 70%, #eceae9 100%);
  min-height: 620px; display: flex; align-items: center;
}
.hero.has-photo { background-size: cover; background-position: center; }
.hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,30,31,.78), rgba(35,30,31,.25)); }
.hero-art { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; }
.hero.has-photo .hero-art { display: none; }
.hero .container { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 170px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--ink-900); max-width: 720px; font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.02; }
.hero h1 .accent { color: var(--red); }
.hero p { font-size: 1.25rem; max-width: 560px; color: var(--muted); }
.hero-rule { width: 96px; height: 6px; background: var(--red); border: 0; margin: 0 0 24px; }
.hero-photo { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 560px; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1467 / 1072; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(35,30,31,.22); border-bottom: 6px solid var(--red); }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 20px; background: rgba(255,255,255,.95); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.hero.has-photo { color: var(--white); }
.hero.has-photo h1, .hero.has-photo p { color: var(--white); text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hero.has-photo .btn--ghost { color: var(--white); }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; padding-bottom: 140px; } .hero-photo { justify-self: stretch; max-width: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  background: rgba(255,255,255,.95); color: var(--ink); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; box-shadow: var(--shadow);
}
.hero-badge:hover { color: var(--ink); }
.hero-badge .stars { color: var(--star); letter-spacing: 1px; }

.page-hero { background: var(--ink-900); color: var(--grey-100); padding: 72px 0 64px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: #cfcac9; max-width: 640px; font-size: 1.15rem; margin: 0; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; background: #fde8e9; color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split--reverse > :first-child { order: 0; } }
.photo-frame {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--ink-700), var(--ink-900));
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.75); text-align: center;
  font-size: .95rem; padding: 24px;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reviews ---------- */
.rating-summary { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.rating-big { font-family: var(--display); font-size: 3.6rem; line-height: 1; color: var(--ink-900); font-weight: 600; }
.stars { color: var(--star); font-size: 1.3rem; letter-spacing: 2px; }
.rating-meta { color: var(--muted); font-size: .95rem; }
.google-mark { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-card blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: auto; font-weight: 600; font-size: .95rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grey-100); color: var(--ink-700); display: flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-when { font-weight: 400; color: var(--muted); font-size: .85rem; display: block; }
.sample-flag {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: #fff4d6; color: #7a5600; border: 1px solid #f0d58a; border-radius: 6px; padding: 2px 8px;
}

/* ---------- Products ---------- */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px;
  padding: .45em 1em; font: 600 .95rem var(--sans); cursor: pointer;
}
.chip:hover { border-color: var(--ink-500); }
.chip[aria-pressed="true"] { background: var(--ink-700); border-color: var(--ink-700); color: var(--white); }
.search { border: 1.5px solid var(--line); border-radius: 999px; padding: .55em 1.1em; font: 1rem var(--sans); min-width: 240px; background: var(--white); }
.search:focus, .chip:focus-visible, .btn:focus-visible { outline: 3px solid rgba(236,25,37,.35); outline-offset: 2px; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; border: 1px solid var(--line);
}
.product-img { aspect-ratio: 1 / 1; background: var(--grey-50); position: relative; display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img .placeholder { font-family: var(--display); font-size: 3.4rem; color: rgba(255,255,255,.9); }
.product-tag {
  position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); color: var(--ink-900);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 1.12rem; margin: 0; }
.product-body p { font-size: .95rem; color: var(--muted); margin: 0; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; gap: 10px; }
.price { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--ink-900); }
.add-btn { padding: .55em 1.1em; font-size: .95rem; }
.badge-18 { font-size: .72rem; font-weight: 700; color: var(--red-700); background: var(--grey-50); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: middle; }
.out-of-stock { color: var(--muted); font-weight: 600; font-size: .9rem; }
.empty-state { text-align: center; color: var(--muted); padding: 48px 0; grid-column: 1 / -1; }

.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.info-strip .card { padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.info-strip .feature-icon { margin: 0; width: 44px; height: 44px; flex: none; }
.info-strip h3 { font-size: 1.05rem; margin: 0 0 2px; }
.info-strip p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .info-strip { grid-template-columns: 1fr; } }

/* ---------- Cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(35,30,31,.45); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--paper); z-index: 100;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease, visibility 0s .3s; visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .3s ease; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; margin: 0; }
.icon-btn { background: none; border: 0; cursor: pointer; padding: 6px; color: var(--ink); border-radius: 8px; }
.icon-btn:hover { background: var(--grey-50); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--white); }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--grey-50); align-items: center; }
.cart-thumb { width: 64px; height: 64px; border-radius: 10px; background: var(--ink-500); overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--display); font-size: 1.4rem; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h4 { font-family: var(--sans); font-size: 1rem; margin: 0 0 4px; color: var(--ink); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.qty button { background: none; border: 0; width: 30px; height: 30px; cursor: pointer; font-size: 1.1rem; color: var(--ink-700); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: .95rem; }
.line-price { font-weight: 700; text-align: right; }
.remove { background: none; border: 0; color: var(--muted); font-size: .82rem; cursor: pointer; text-decoration: underline; padding: 0; margin-top: 4px; }

.fulfilment { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.fulfil-opt { position: relative; }
.fulfil-opt input { position: absolute; opacity: 0; }
.fulfil-opt label {
  display: block; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: var(--white); height: 100%;
}
.fulfil-opt label strong { display: block; font-size: .98rem; }
.fulfil-opt label span { font-size: .82rem; color: var(--muted); line-height: 1.35; display: block; }
.fulfil-opt input:checked + label { border-color: var(--ink-700); background: var(--grey-100); }
.fulfil-opt input:focus-visible + label { outline: 3px solid rgba(236,25,37,.35); }
.totals { font-size: .98rem; margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .grand { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.age-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 14px; background: var(--grey-50); padding: 10px 12px; border-radius: 10px; }
.age-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.checkout-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.form-error { color: var(--danger); font-size: .9rem; margin: 0 0 10px; }
.cart-empty { text-align: center; color: var(--muted); padding: 48px 0; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 150%); background: var(--ink-900); color: #fff;
  padding: 12px 20px; border-radius: 999px; z-index: 120; transition: transform .3s; font-weight: 600; box-shadow: var(--shadow);
}
.toast.is-show { transform: translate(-50%, 0); }

/* ---------- Visit / map ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.visit-info { padding: 40px; }
.visit-info dl { margin: 0 0 24px; }
.visit-info dt { font-weight: 700; color: var(--ink-900); margin-top: 16px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.visit-info dd { margin: 4px 0 0; }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.today td { font-weight: 700; color: var(--ink-900); }
.map-wrap { min-height: 420px; position: relative; background: var(--grey-100); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .visit-info { padding: 28px; } .map-wrap { min-height: 320px; } }

/* ---------- History timeline ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.18); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 40px; padding: 0 0 32px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 112px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--star); box-shadow: 0 0 0 4px var(--ink-900); background: var(--red); }
.timeline .when { font-family: var(--display); font-weight: 600; color: var(--line); text-align: right; font-size: 1.05rem; }
.timeline h3 { margin: 0 0 4px; font-size: 1.15rem; }
.timeline p { margin: 0; color: #cfcac9; }
@media (max-width: 600px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 32px; }
  .timeline li::before { left: 0; }
  .timeline .when { text-align: left; }
}

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.fact { border-top: 3px solid var(--red); padding-top: 14px; }
.fact strong { display: block; font-family: var(--display); font-size: 2rem; color: var(--white); line-height: 1.1; }
.fact span { color: #cfcac9; font-size: .95rem; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: var(--white); border-radius: var(--radius); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 6px; font-size: 2rem; }
.cta-band p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #bdb8b7; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #ece9e8; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--sans); color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand-logo { width: 110px; height: 110px; border-radius: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .section { padding: 64px 0; } .cta-band { padding: 32px 24px; } }

.prose { max-width: 720px; }
.prose p { font-size: 1.08rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.products--featured { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .products--featured { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .products--featured { grid-template-columns: 1fr; } }
[id] { scroll-margin-top: 84px; }
@media (max-width: 400px) { .site-header .brand-logo { width: 56px; height: 56px; } }
.product-img .placeholder, .cart-thumb { font-weight: 900; }
.add-btn { white-space: nowrap; padding: .55em 1em; }
.price { font-weight: 800; }
.zone-pick { display: flex; align-items: center; gap: 10px; margin: -4px 0 6px; font-weight: 600; font-size: .92rem; }
.zone-pick select { flex: 1; padding: .5em .7em; border: 1.5px solid var(--line); border-radius: 10px; font: 1rem var(--sans); background: var(--white); }
.drawer-foot .note { color: var(--muted); font-size: .82rem; line-height: 1.4; margin: 0 0 12px; }
.zone-list { list-style: none; margin: 4px 0 0; padding: 0; font-size: .9rem; color: var(--muted); }
.zone-list li { display: flex; justify-content: space-between; gap: 12px; }
.zone-list li span:last-child { color: var(--ink); font-weight: 600; }
.info-strip .card > div:last-child { flex: 1; }

/* ---------- Map (click to load) ---------- */
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; color: var(--ink); background: repeating-linear-gradient(45deg, var(--grey-50), var(--grey-50) 12px, var(--grey-100) 12px, var(--grey-100) 24px); }
.map-consent svg { color: var(--red); }
.map-consent small { color: var(--muted); }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.6rem; margin-top: 48px; }
.legal h2:first-of-type { margin-top: 0; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .5em; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.legal-toc a { border: 1.5px solid var(--line); border-radius: 999px; padding: .35em .9em; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.legal-toc a:hover { border-color: var(--red); color: var(--red); }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--grey-50); font-weight: 700; }
.legal-form p { margin-bottom: .7em; }
.legal-updated { margin-top: 48px; color: var(--muted); font-size: .9rem; }
.footer-bottom a { color: #ece9e8; }
@media (max-width: 600px) { .legal-table { display: block; overflow-x: auto; } }

/* ---------- Product cards: clickable ---------- */
button.product-img { border: 0; padding: 0; width: 100%; cursor: zoom-in; font: inherit; }
.product-img img { transition: transform .3s ease; }
button.product-img:hover img { transform: scale(1.03); }
.product-name { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.product-name:hover { color: var(--red); }
.photo-count { position: absolute; right: 12px; bottom: 12px; background: rgba(35,30,31,.8); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.price--tbc { font-size: 1rem; color: var(--muted); font-weight: 700; }

/* ---------- Product viewer ---------- */
.viewer { border: 0; border-radius: var(--radius); padding: 0; width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink); }
.viewer::backdrop { background: rgba(35,30,31,.6); }
.viewer-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255,255,255,.9); }
.viewer-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 28px; }
.viewer-main { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--grey-50); display: flex; align-items: center; justify-content: center; }
.viewer-main img { width: 100%; height: 100%; object-fit: cover; }
.viewer-main .placeholder { font-size: 5rem; color: #fff; font-weight: 900; }
.viewer-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.viewer-thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.viewer-thumbs button[aria-current="true"] { border-color: var(--red); }
.viewer-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.viewer-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .2em; }
.viewer-info .price { font-size: 1.6rem; margin: 0 0 16px; }
.viewer-info .note { color: var(--muted); font-size: .95rem; margin-top: 12px; }
@media (max-width: 760px) { .viewer-grid { grid-template-columns: 1fr; padding: 20px; gap: 20px; } }

/* ---------- Product options (sizes) ---------- */
.option-pick { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-weight: 700; }
.option-pick select { flex: 1; min-width: 0; max-width: none; padding: .6em .8em; border: 1.5px solid var(--line); border-radius: 10px; font: 1rem var(--sans); background: var(--white); }
.option-pick select.is-invalid { border-color: var(--red); outline: 3px solid rgba(236,25,37,.2); }
.cart-option { font-size: .85rem; color: var(--muted); margin: -2px 0 6px; }

/* ---------- Square product photos on cards, full photo in the viewer ---------- */
.product-img { overflow: hidden; display: block; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-img .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.viewer-main { aspect-ratio: auto; min-height: 280px; max-height: min(72vh, 640px); background: var(--grey-50); }
.viewer-main img { width: auto; height: auto; max-width: 100%; max-height: min(72vh, 640px); object-fit: contain; }
.viewer-main .placeholder { aspect-ratio: 1; width: 100%; display: flex; align-items: center; justify-content: center; }
.price { white-space: nowrap; }
.viewer-details { white-space: pre-line; }

/* ---------- Ordering paused notice ---------- */
.closed-banner { background: var(--ink-900); color: #fff; text-align: center; padding: 10px 20px; font-weight: 600; font-size: .95rem; border-bottom: 3px solid var(--red); }
.closed-note { background: var(--grey-50); border-left: 4px solid var(--red); padding: 12px 14px; border-radius: 8px; font-size: .95rem; margin: 0; }
.low-stock { color: var(--red-700); font-weight: 700; font-size: .9rem; margin: 4px 0 0; }
.low-stock:empty { display: none; }
