:root {
  --red-ink: #8e1117;
  --red-deep: #4f070b;
  --red-soft: #fdf0f1;
  --red: #e4262f;
  --red-dark: #b81d25;
  --ink: #111;
  --text: #2b2223;
  --muted: #6e6163;
  --line: #f0e2e4;
  --radius: 10px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
  color: var(--red-ink);
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
}
.section-title { margin-bottom: 28px; font-size: clamp(24px, 3.4vw, 34px); text-align: center; text-transform: uppercase; }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border: 2px solid var(--red);
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--outline { background: transparent; color: var(--red-ink); border-color: var(--red-ink); }
.btn--outline:hover { background: var(--red-ink); color: #fff; }
.btn--light { background: #fff; color: var(--red-ink); border-color: #fff; }
.btn--light:hover { background: var(--red-soft); border-color: var(--red-soft); }
.btn--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--red-ink); }
.btn--block { width: 100%; }
.btn--small { min-height: 40px; padding: 10px 16px; font-size: 12px; }

.link-btn {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* Header: white bar with logo, Products mega menu and icons */
.announce {
  padding: 8px 16px;
  background: var(--red-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__top {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: #111;
  line-height: 1;
  text-decoration: none;
}
.logo__word {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.logo__sub {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.logo--light { color: #fff; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav__item { position: static; }
.nav > a,
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.nav > a:hover,
.nav > a[aria-current="page"],
.nav__trigger:hover,
.nav__trigger[aria-expanded="true"],
.nav__trigger[aria-current="page"] { border-bottom-color: var(--red); }

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.mega__all {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.mega__col { display: grid; gap: 24px; align-content: start; }
.mega__section h3 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
}
.mega__section ul { margin: 0; padding: 0; list-style: none; }
.mega__section li a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  font-size: 13px;
  color: #555;
  text-transform: uppercase;
  text-decoration: none;
}
.mega__section li a:hover { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 4px; }

/* Header search */
.search {
  display: flex;
  flex: 1;
  align-items: center;
  max-width: 340px;
  min-width: 0;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--red-soft);
}
.search input {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.search input:focus { outline: none; }
.search input::-webkit-search-cancel-button,
.search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.search:focus-within { border-color: var(--red); }
.search__submit {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red-ink);
  cursor: pointer;
}
.search__submit:hover { color: var(--red); }
.search + .header-actions { margin-left: 0; }
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #111;
  text-decoration: none;
  cursor: pointer;
}
.icon-btn:hover { background: var(--red-soft); }
.menu-toggle { display: none; }

.badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.badge:empty { display: none; }

@media (max-width: 899px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; }
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 4px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  }
  .site-header.is-open .nav > a,
  .site-header.is-open .nav__trigger {
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .mega {
    position: static;
    padding: 8px 0 0;
    border: 0;
    box-shadow: none;
  }
  .site-header.is-open .mega__grid { grid-template-columns: 1fr; gap: 20px; }
  .site-header.is-open .mega__section li a { min-height: 40px; }
}

/* Home: hero, stats, features, promo */
.hero {
  padding: 56px 0 64px;
  color: #fff;
  background: linear-gradient(120deg, var(--red-deep) 0%, var(--red-ink) 60%, #e4262f 100%);
}
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero .eyebrow { text-align: left; color: #ff8b90; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); color: #fff; font-weight: 800; }
.hero p { max-width: 46ch; margin: 16px 0 0; font-size: 16px; color: rgba(255, 255, 255, 0.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__visual {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats { border-bottom: 1px solid var(--line); }
.stats__inner { display: grid; grid-template-columns: minmax(0, 1fr); }
.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 8px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__icon { color: var(--red); flex: none; }
.stat strong { display: block; font-size: 14px; color: var(--red-ink); }
.stat span { font-size: 13px; color: var(--muted); line-height: 1.5; }

.section { padding: 56px 0; scroll-margin-top: 120px; }
.section--tint { background: var(--red-soft); }
.section__more { margin-top: 28px; text-align: center; }

.grid-features { display: grid; grid-template-columns: 1fr; gap: 32px; }
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.feature__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--red-soft);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.feature h3 { font-size: 16px; text-transform: uppercase; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }
.feature .btn { margin-top: auto; }

.promo { padding: 56px 0; background: var(--red-soft); }
.promo__grid { display: grid; gap: 28px; align-items: center; }
.promo__media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.promo h2 { font-size: clamp(26px, 3.6vw, 38px); text-transform: uppercase; }
.promo p { color: var(--muted); }
.promo__stat { font-size: 14px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.08em; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 10px; text-decoration: none; text-align: center; }
.tile__media { aspect-ratio: 4 / 3; transition: transform 0.2s; }
.tile:hover .tile__media { transform: translateY(-2px); }
.tile__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red-ink); }

.wholesale { padding: 56px 0; background: var(--red-ink); color: #fff; text-align: center; }
.wholesale .eyebrow { color: #ff8b90; }
.wholesale h2 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); text-transform: uppercase; }
.wholesale p { max-width: 60ch; margin: 14px auto 24px; color: rgba(255, 255, 255, 0.82); }

.faq { max-width: 800px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 0;
  font-weight: 600;
  color: var(--red-ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

.slab { padding: 56px 0; background: var(--red-deep); color: #fff; }
.slab__grid { display: grid; gap: 28px; align-items: center; }
.slab h2 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); text-transform: uppercase; }
.slab p { color: rgba(255, 255, 255, 0.8); }
.slab__media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Photos in the home page banners and feature tiles */
img.hero__visual,
img.feature__media,
img.slab__media,
img.tile__media {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--red-soft);
  border: 0;
  color: transparent;
}
img.hero__visual { border: 1px solid rgba(255, 255, 255, 0.14); }

/* Card images are square, whether a photo or a placeholder tile */
.card .media { aspect-ratio: 1 / 1; }

/* Real product photos replace the placeholder tiles */
img.media--photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 12%;
  object-fit: contain;
  background: #f4f4f4;
}

/* Placeholder image tones, one per menu section */
.tone-sleeves { background: #fbe9ea; }
.tone-toploaders { background: #f8e3e5; }
.tone-binders { background: #f6e6ea; }
.tone-graded { background: #fbeee2; }
.tone-acrylics { background: #fce8e6; }
.tone-storage { background: #f3eeee; }

.media {
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  padding: 8px;
  border-radius: 8px;
  background: var(--red-soft);
  color: #4a3d3e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

/* Product grid and cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: 0 16px 32px rgba(79, 7, 11, 0.14); transform: translateY(-4px); }

/* Glossy sheen that glides across the product image on hover */
.card .media { position: relative; overflow: hidden; }
.card .media::after {
  content: "";
  position: absolute;
  inset: -50%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.6) 50%, transparent 58%);
  transform: translate(-50%, -50%);
  transition: transform 0.6s ease;
}
.card:hover .media::after { transform: translate(50%, 50%); }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 12px 4px 4px; }
.card { min-width: 0; height: 100%; }
.grid { align-items: stretch; }
.card .btn:disabled { opacity: 0.6; }
.card__body { text-align: center; }
.card__category {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__title { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--red-ink); overflow-wrap: anywhere; }
.card__title a { color: inherit; }
.card .btn { border-radius: 999px; }
.card__price { margin: 0; font-weight: 800; color: var(--red-ink); }
.card__price s { margin-right: 6px; font-weight: 500; color: var(--muted); }
.card__note { margin: 0; font-size: 12px; color: var(--muted); }
.card .btn { margin-top: auto; }

/* Footer */
.site-footer { padding: 48px 0 24px; background: var(--red-deep); color: #ecd9db; font-size: 14px; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h3 { margin-bottom: 12px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 4px 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 32px; color: #ecd9db; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { margin: 12px 0 0; }
.legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12px; color: #c4a9ab; }

/* Shop */
.page-head { padding: 28px 0 8px; }
.crumbs { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-title { font-size: clamp(28px, 4.5vw, 40px); text-transform: uppercase; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.toolbar__left { display: flex; align-items: center; gap: 12px; }
.result-count { margin: 0; font-size: 13px; color: var(--muted); }
.sort-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.shop { display: grid; gap: 24px; padding-bottom: 64px; }
.filters {
  display: none;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.filters.is-open { display: block; }
.filters fieldset { margin: 0 0 20px; padding: 0; border: 0; }
.filters legend {
  margin-bottom: 4px;
  padding: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-ink);
}
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: 13px; }
.check input { width: 18px; height: 18px; flex: none; accent-color: var(--red); }
input[type="range"] { width: 100%; accent-color: var(--red); }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* Cart */
.cart { display: grid; gap: 24px; padding: 28px 0 64px; }
.lines {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  padding: 16px;
  border-top: 1px solid var(--line);
}
.line:first-child { border-top: 0; }
.line__thumb { width: 88px; }
.line__title { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
.line__unit { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.line__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.line__total { margin: 0; font-weight: 800; color: var(--red-ink); }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.qty__btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--red-ink);
  font-size: 18px;
  cursor: pointer;
}
.qty__btn:hover { background: var(--red-soft); }
.qty__value { min-width: 28px; font-weight: 700; text-align: center; }

.summary {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.summary h2 { margin-bottom: 12px; font-size: 18px; text-transform: uppercase; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 0 12px; font-size: 14px; }
.summary dt, .summary dd { margin: 0; }
.summary__total {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  font-weight: 800;
  color: var(--red-ink);
}
.summary__note { margin: 12px 0 16px; font-size: 13px; color: var(--muted); }
.cart-empty { padding: 64px 0; text-align: center; }
.cart-empty p { margin: 0 0 20px; color: var(--muted); }

/* Add to cart: width shrinks to a circle, colour changes, label swaps for a checkmark */
.btn--add {
  position: relative;
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.35s, border-color 0.35s, padding 0.35s;
}
.btn--add .btn__label { transition: opacity 0.2s; white-space: nowrap; }
.btn__check {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
  transition: opacity 0.2s 0.1s;
}
.btn--add.is-added {
  width: 44px;
  padding: 0;
  border-radius: 999px;
  background: #1f9d55;
  border-color: #1f9d55;
}
.btn--add.is-added:hover { background: #1f9d55; border-color: #1f9d55; }
.btn--add.is-added .btn__label { opacity: 0; }
.btn--add.is-added .btn__check { opacity: 1; }

/* Snap demo: two halves of a magnetic case */
.snap {
  display: grid;
  place-items: center;
  gap: 20px;
  align-content: center;
  padding: 24px;
}
.snap__case { position: relative; width: min(240px, 70%); height: 170px; }
.snap__half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  border: 1px solid rgba(79, 7, 11, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 205, 208, 0.5));
  box-shadow: 0 6px 16px rgba(79, 7, 11, 0.12);
}
.snap__half--top { top: 0; border-radius: 14px 14px 4px 4px; }
.snap__half--bottom { bottom: 0; border-radius: 4px 4px 14px 14px; }

/* Bundle pile: spread view and stacked view */
.pile-section .pile-controls { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; }
.pile-section .btn[aria-pressed="true"] { background: var(--red-ink); border-color: var(--red-ink); color: #fff; }
.pile {
  position: relative;
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 140px));
  justify-content: center;
  gap: 14px;
}
.pile__item {
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(79, 7, 11, 0.08);
  background: #fff;
}
.pile.is-stacked { grid-template-columns: 140px; }
.pile.is-stacked .pile__item {
  grid-area: 1 / 1;
  translate: calc(var(--i) * 3px) calc(var(--i) * -4px);
}
.pile__item span { display: none; }
.pile-section .result-count { text-align: center; margin-top: 16px; }

/* 3D tilt for slab and toploader photos */
[data-tilt] {
  transition: transform 0.2s ease-out, box-shadow 0.3s;
  box-shadow:
    inset var(--shine-x, 0px) var(--shine-y, 0px) 24px rgba(255, 255, 255, 0.35),
    inset calc(var(--shine-x, 0px) * -1) calc(var(--shine-y, 0px) * -1) 40px rgba(0, 0, 0, 0.3),
    0 24px 40px -18px rgba(0, 0, 0, 0.6);
}

/* Variant selectors on product cards */
.opts { display: grid; gap: 8px; margin-top: 4px; }
.opt { display: grid; gap: 4px; }
.opt__name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-ink);
}
.opt select { width: 100%; min-height: 40px; font-size: 13px; }
.line__attrs { margin: 0 0 6px; font-size: 12px; color: var(--muted); }

/* Contact page */
.contact { display: grid; gap: 40px; padding: 28px 0 64px; }
.contact__heading { margin-bottom: 12px; font-size: 22px; text-transform: uppercase; }
.contact__info p { margin: 0 0 20px; color: var(--muted); }
.contact__points { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.contact__points li {
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: #fff;
}
.contact__points strong { display: block; font-size: 14px; color: var(--red-ink); }
.contact__points span { font-size: 14px; color: var(--muted); }

.contact__details { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.contact__details li { display: grid; gap: 2px; }
.contact__details strong { font-size: 13px; color: var(--red-ink); text-transform: uppercase; letter-spacing: 0.06em; }
.contact__details a { font-size: 16px; font-weight: 600; color: var(--red); text-decoration: none; }
.contact__details a:hover { text-decoration: underline; }

.form { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.form__row { display: grid; gap: 16px; }
.form__field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--red-ink); }
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 400;
}
.form__field textarea { min-height: 140px; resize: vertical; }
.form__field input:focus-visible,
.form__field select:focus-visible,
.form__field textarea:focus-visible { outline-offset: 0; border-color: var(--red); }
.form abbr { color: var(--red); text-decoration: none; }
.form__error { margin: 0; padding: 12px; border-radius: 6px; background: #fdecec; color: #9b1c1c; font-size: 14px; }
.form__status { margin: 0; padding: 12px; border-radius: 6px; background: #e8f6ee; color: #1f6b41; font-size: 14px; }
.form .btn { justify-self: start; }

/* Product page */
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { text-decoration: underline; }

.product-wrap { padding: 28px 0 64px; }
.product-page {
  display: grid;
  gap: 32px;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
}
.product-page:hover { transform: none; box-shadow: none; }
.product-page img.media--photo { max-width: 520px; width: 100%; justify-self: center; }
.product-page .card__body { padding: 0; }
.product-page .crumbs { margin: 0; }
.product-page .card__body { gap: 16px; }
.product-page__title { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; text-transform: none; letter-spacing: 0; }
.product-page .card__price { font-size: 22px; }
.product-page .card__note { font-size: 14px; }
.product-page .btn { min-height: 52px; }
.product-page .btn--add { width: 100%; }
.product-page .opts { gap: 12px; }
.qty--pick {
  align-self: flex-start;
  width: auto;
  height: 52px;
  padding: 0 4px;
}
.qty--pick .qty__btn { height: 48px; width: 44px; font-size: 20px; }
.qty--pick .qty__value { min-width: 40px; font-size: 16px; }
.product-page__description { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
.product-page__description h2 { margin-bottom: 12px; font-size: 18px; text-transform: uppercase; }
.product-page__description p { margin: 0 0 10px; max-width: 70ch; color: var(--muted); }
.product-missing { padding: 64px 0; text-align: center; }
.product-missing p { margin: 0 0 20px; color: var(--muted); }

/* Quick view dialog */
.qv { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding: 16px; }
.qv[hidden] { display: none; }
.qv__backdrop { position: absolute; inset: 0; background: rgba(79, 7, 11, 0.6); }
.qv__panel {
  position: relative;
  justify-self: center;
  width: min(980px, 100%);
  min-width: 0;
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}
.qv__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--red-ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.qv__close:hover { background: var(--red-soft); }
.qv .product-page { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.qv .product-page img.media--photo { max-width: 420px; }
.product-page__features { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--text); }
.product-page__features li { font-size: 15px; }

@media (min-width: 720px) {
  .qv .product-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Breakpoints */
@media (min-width: 720px) {
  .stats__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat + .stat { border-left: 1px solid var(--line); }
  .grid-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .filter-toggle { display: none; }
  .filters { display: block; position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow: auto; }
  .shop { grid-template-columns: 260px 1fr; align-items: start; }
  .shop .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
  .promo__grid { grid-template-columns: 1fr 1fr; }
  .slab__grid { grid-template-columns: 1fr 1fr; }
  .cart { grid-template-columns: 1fr 360px; align-items: start; }
  .contact { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .product-page { grid-template-columns: 1fr 1fr; }
  .product-page__description { grid-column: 1 / -1; }
  .form__row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1099px) {
  .shop .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .card:hover, .tile:hover .tile__media { transform: none; }
}

/* Events page */
.events { padding: 28px 0 64px; }
.events__empty {
  padding: 48px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--red-soft);
  text-align: center;
}
.events__empty p { margin: 0 0 20px; color: var(--muted); }

/* Phones: header search gets its own full-width row, cards keep their text on one line */
@media (max-width: 719px) {
  .site-header__top { flex-wrap: wrap; min-height: 0; padding-top: 8px; padding-bottom: 10px; row-gap: 10px; }
  .search { order: 5; flex: 0 0 100%; max-width: none; margin-left: 0; }
  .search input { min-height: 40px; font-size: 15px; }
  .card__category { font-size: 11px; letter-spacing: 0.04em; }
  .card .btn { font-size: 12px; letter-spacing: 0.04em; padding-left: 10px; padding-right: 10px; white-space: nowrap; }
}
