/* EliteDeluxe — Premium editorial catalogue
   Original design. Light theme only. Catalogue/enquiry — not e-commerce. */
:root {
  --ed-near-black: #000000;
  --ed-soft-black: #0a0a0a;
  --ed-ivory: #faf5ef;
  --ed-paper: #fffdf9;
  --ed-warm-grey: #6b6b6b;
  --ed-muted: #555555;
  --ed-champagne: #d4af37;
  --ed-border: rgba(0, 0, 0, 0.14);
  --ed-accent-line: #c9a227;
  --ed-font-display: Georgia, "Times New Roman", "Noto Serif Armenian", serif;
  --ed-font-body: "Noto Sans Armenian", Inter, "Noto Sans", Arial, sans-serif;
  --ed-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ed-gap: clamp(1.25rem, 2.5vw, 2.5rem);
  color-scheme: light;
}

body.page-catalogue,
body.page-product {
  background: var(--ed-ivory);
  color: var(--ed-soft-black);
  font-family: var(--ed-font-body);
}

body.page-catalogue .site-main,
body.page-product .site-main {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

/* Armenian: never force uppercase */
html[lang="hy"] .site-nav a,
html[lang="hy"] .lang-switcher a,
html[lang="hy"] .lang-switcher__current,
html[lang="hy"] .editorial-product-card__badge,
html[lang="hy"] .catalogue-index__link,
html[lang="hy"] .editorial-meta-label {
  text-transform: none;
  letter-spacing: 0.02em;
}

/* ── Catalogue hero ───────────────────────────────────────────── */
.catalogue-hero {
  position: relative;
  background: var(--ed-soft-black);
  color: var(--ed-paper);
  padding: clamp(5.5rem, 12vw, 8.5rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}

.catalogue-hero__inner {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.catalogue-hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(228, 235, 200, 0.72);
}

html[lang="hy"] .catalogue-hero__eyebrow {
  text-transform: none;
  letter-spacing: 0.06em;
}

.catalogue-hero__title {
  margin: 0;
  font-family: var(--ed-font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.catalogue-hero__statement {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  color: rgba(252, 252, 248, 0.78);
}

.catalogue-hero__count {
  display: inline-block;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(223, 230, 195, 0.35);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--ed-champagne);
}

.catalogue-hero__accent {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  bottom: 0;
  width: min(12rem, 40vw);
  height: 2px;
  background: var(--ed-champagne);
}

/* ── Search ───────────────────────────────────────────────────── */
.catalogue-search-wrap {
  max-width: 900px;
  margin: -1.75rem auto 0;
  padding: 0 var(--page-gutter, clamp(1rem, 4vw, 2.5rem));
  position: relative;
  z-index: 2;
}

.catalogue-search {
  background: var(--ed-paper);
  border: 1px solid var(--ed-border);
  padding: 0.65rem;
  box-shadow: 0 12px 40px rgba(9, 9, 9, 0.06);
}

.catalogue-search__row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.catalogue-search__field {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.catalogue-search__input {
  width: 100%;
  height: 56px;
  border: 0;
  background: transparent;
  padding: 0 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ed-soft-black);
}

.catalogue-search__input:focus {
  outline: none;
}

.catalogue-search__field:focus-within {
  outline: 2px solid var(--ed-soft-black);
  outline-offset: 2px;
}

.catalogue-search__clear {
  flex-shrink: 0;
  align-self: center;
  margin-right: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ed-muted);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.catalogue-search__clear:hover {
  color: var(--ed-soft-black);
}

.catalogue-search__submit {
  min-height: 56px;
  min-width: 7rem;
  padding: 0 1.5rem;
  border: 0;
  background: var(--ed-soft-black);
  color: var(--ed-paper);
  font: inherit;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 250ms var(--ed-ease), color 250ms var(--ed-ease);
}

.catalogue-search__submit:hover {
  background: var(--ed-near-black);
}

.catalogue-search__submit:focus-visible {
  outline: 2px solid var(--ed-champagne);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .catalogue-search__row {
    flex-direction: column;
  }
  .catalogue-search__submit {
    width: 100%;
  }
}

/* ── Category index ───────────────────────────────────────────── */
.catalogue-index {
  max-width: var(--max-width, 1200px);
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  padding: 0 var(--page-gutter, clamp(1rem, 4vw, 2.5rem));
  box-sizing: border-box;
  width: 100%;
}

.catalogue-index__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalogue-index__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--ed-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 250ms var(--ed-ease), border-color 250ms var(--ed-ease);
}

.catalogue-index__link:hover,
.catalogue-index__link:focus-visible {
  color: var(--ed-soft-black);
}

.catalogue-index__link[aria-current="page"] {
  color: var(--ed-soft-black);
  border-bottom-color: var(--ed-champagne);
}

.catalogue-index__mobile {
  display: none;
  width: 100%;
  margin-top: 0.75rem;
}

.catalogue-index__select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ed-border);
  background: var(--ed-paper);
  font: inherit;
  color: var(--ed-soft-black);
}

@media (max-width: 720px) {
  .catalogue-index__list {
    display: none;
  }
  .catalogue-index__mobile {
    display: block;
  }
}

/* ── Search summary / empty ───────────────────────────────────── */
.catalogue-summary {
  max-width: var(--max-width, 1200px);
  margin: 2rem auto 0;
  padding: 0 var(--page-gutter, clamp(1rem, 4vw, 2.5rem));
  font-family: var(--ed-font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.35;
  color: var(--ed-soft-black);
  box-sizing: border-box;
  width: 100%;
}

.catalogue-empty-state {
  max-width: 720px;
  margin: clamp(3rem, 8vw, 5rem) auto;
  padding: 0 var(--page-gutter, clamp(1rem, 4vw, 2.5rem));
  text-align: left;
}

.catalogue-empty-state__title {
  margin: 0;
  font-family: var(--ed-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.catalogue-empty-state__body {
  margin: 1rem 0 1.75rem;
  color: var(--ed-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.catalogue-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.catalogue-empty-state__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.35rem;
  background: var(--ed-soft-black);
  color: var(--ed-paper);
  text-decoration: none;
  font-size: 0.875rem;
}

.catalogue-empty-state__link:hover {
  background: var(--ed-near-black);
}

/* ── Featured story ───────────────────────────────────────────── */
.editorial-feature {
  max-width: var(--max-width, 1200px);
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: 0 var(--page-gutter, clamp(1rem, 4vw, 2.5rem));
}

.editorial-feature__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--ed-gap);
  align-items: stretch;
  background: var(--ed-paper);
  border: 1px solid var(--ed-border);
}

.editorial-feature--flip .editorial-feature__media {
  order: 2;
}

.editorial-feature--flip .editorial-feature__body {
  order: 1;
}

.editorial-feature__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  max-height: clamp(260px, 38vh, 400px);
  background:
    radial-gradient(ellipse 70% 45% at 50% 78%, rgba(0, 0, 0, 0.1), transparent 70%),
    linear-gradient(180deg, #f7f0e6 0%, #efe4d4 100%);
}

.editorial-feature__media img,
.editorial-feature__media picture,
.editorial-feature__media picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 1.25rem;
  transition: transform 350ms var(--ed-ease);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
}

.editorial-feature:hover .editorial-feature__media img {
  transform: scale(1.03);
}

.editorial-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

.editorial-feature__category,
.editorial-meta-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ed-warm-grey);
}

.editorial-feature__title {
  margin: 0;
  font-family: var(--ed-font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.1;
}

.editorial-feature__title a {
  color: inherit;
  text-decoration: none;
}

.editorial-feature__text {
  margin: 1rem 0 0;
  color: var(--ed-muted);
  line-height: 1.65;
  font-size: 1.0625rem;
}

.editorial-feature__origin {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--ed-warm-grey);
}

.editorial-feature__link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--ed-soft-black);
  text-decoration: none;
  border-bottom: 1px solid var(--ed-champagne);
  align-self: flex-start;
  transition: gap 250ms var(--ed-ease);
}

.editorial-feature__link:hover {
  gap: 0.85rem;
}

@media (max-width: 900px) {
  .editorial-feature__grid,
  .editorial-feature--flip .editorial-feature__grid {
    grid-template-columns: 1fr;
  }
  .editorial-feature--flip .editorial-feature__media,
  .editorial-feature--flip .editorial-feature__body {
    order: initial;
  }
}

/* ── Editorial product grid ───────────────────────────────────── */
.editorial-catalogue {
  max-width: var(--max-width, 1200px);
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: 0 var(--page-gutter, clamp(1rem, 4vw, 2.5rem));
  box-sizing: border-box;
  width: 100%;
}

.editorial-product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--ed-gap);
}

.editorial-product-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  min-width: 0;
}

.editorial-product-card--pattern-0 { grid-column: span 6; }
.editorial-product-card--pattern-1 { grid-column: span 6; }
.editorial-product-card--pattern-2 { grid-column: span 4; }
.editorial-product-card--pattern-3 { grid-column: span 12; }
.editorial-product-card--pattern-4 { grid-column: span 5; }
.editorial-product-card--pattern-5 { grid-column: span 7; }

.editorial-product-card--pattern-3 .editorial-product-card__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--ed-gap);
  align-items: center;
}

.editorial-product-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  max-height: clamp(220px, 32vh, 340px);
  background:
    radial-gradient(ellipse 65% 40% at 50% 82%, rgba(0, 0, 0, 0.12), transparent 72%),
    linear-gradient(180deg, #f7f0e6 0%, #efe4d4 100%);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.editorial-product-card--pattern-0 .editorial-product-card__image,
.editorial-product-card--pattern-2 .editorial-product-card__image,
.editorial-product-card--pattern-4 .editorial-product-card__image {
  aspect-ratio: 4 / 5;
}

.editorial-product-card--pattern-1 .editorial-product-card__image,
.editorial-product-card--pattern-5 .editorial-product-card__image {
  aspect-ratio: 5 / 4;
}

.editorial-product-card--pattern-3 .editorial-product-card__image {
  aspect-ratio: 16 / 10;
  max-height: clamp(240px, 34vh, 360px);
}

.editorial-product-card__image img,
.editorial-product-card__image picture,
.editorial-product-card__image picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: clamp(0.85rem, 2vw, 1.35rem);
  transition: transform 320ms var(--ed-ease);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.16));
}

.editorial-product-card:hover .editorial-product-card__image img {
  transform: scale(1.03);
}

.editorial-product-fallback {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(160deg, #f7f0e6 0%, #e0d2c0 100%);
  color: var(--ed-muted);
  text-align: center;
  padding: 1.5rem;
}

.editorial-product-fallback__mark {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(17, 17, 15, 0.28);
  display: grid;
  place-items: center;
  font-family: var(--ed-font-display);
  font-size: 1rem;
  color: var(--ed-soft-black);
}

.editorial-product-fallback__label {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}

.editorial-product-card__meta {
  padding: 1.1rem 0 0.25rem;
}

.editorial-product-card__category {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-warm-grey);
}

.editorial-product-card__badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--ed-champagne);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

.editorial-product-card__title {
  margin: 0;
  font-family: var(--ed-font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.2;
}

.editorial-product-card__title a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 280ms var(--ed-ease);
}

.editorial-product-card:hover .editorial-product-card__title a {
  background-size: 100% 1px;
}

.editorial-product-card__brand {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--ed-warm-grey);
}

.editorial-product-card__text {
  margin: 0.65rem 0 0;
  color: var(--ed-muted);
  font-size: 0.975rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editorial-product-card__link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: var(--ed-soft-black);
  text-decoration: none;
  font-size: 0.875rem;
}

.editorial-product-card__arrow {
  display: inline-block;
  transition: transform 250ms var(--ed-ease);
}

.editorial-product-card:hover .editorial-product-card__arrow {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .editorial-product-card--pattern-0,
  .editorial-product-card--pattern-1,
  .editorial-product-card--pattern-2,
  .editorial-product-card--pattern-3,
  .editorial-product-card--pattern-4,
  .editorial-product-card--pattern-5 {
    grid-column: span 6;
  }
  .editorial-product-card--pattern-3 .editorial-product-card__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .editorial-product-grid {
    grid-template-columns: 1fr;
  }
  .editorial-product-card--pattern-0,
  .editorial-product-card--pattern-1,
  .editorial-product-card--pattern-2,
  .editorial-product-card--pattern-3,
  .editorial-product-card--pattern-4,
  .editorial-product-card--pattern-5 {
    grid-column: auto;
  }
  .editorial-product-card__image {
    aspect-ratio: 1 / 1 !important;
    max-height: 300px;
  }
}

/* Home reuse — keep grid boxed and centered like the rest of the site */
.home-section .editorial-product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--ed-gap);
  width: 100%;
  max-width: var(--max-width, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-inline: var(--page-gutter, clamp(1rem, 4vw, 2.5rem));
  box-sizing: border-box;
}

.home-section--featured .editorial-product-card,
.home-section--new .editorial-product-card,
.home-section--new-arrivals .editorial-product-card,
.product-story__related .editorial-product-card {
  grid-column: span 4;
}

@media (max-width: 1024px) {
  .home-section--featured .editorial-product-card,
  .home-section--new .editorial-product-card,
  .home-section--new-arrivals .editorial-product-card,
  .product-story__related .editorial-product-card {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .home-section--featured .editorial-product-card,
  .home-section--new .editorial-product-card,
  .home-section--new-arrivals .editorial-product-card,
  .product-story__related .editorial-product-card {
    grid-column: auto;
  }
}

/* ── Pagination ───────────────────────────────────────────────── */
.catalogue-pagination {
  max-width: var(--max-width, 1200px);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 0 var(--page-gutter, clamp(1rem, 4vw, 2.5rem));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  box-sizing: border-box;
  width: 100%;
}

.catalogue-pagination__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalogue-pagination a,
.catalogue-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.65rem;
  text-decoration: none;
  color: var(--ed-muted);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
}

.catalogue-pagination a:hover,
.catalogue-pagination a:focus-visible {
  color: var(--ed-soft-black);
}

.catalogue-pagination [aria-current="page"] {
  color: var(--ed-soft-black);
  border-bottom-color: var(--ed-champagne);
}

/* ── Catalogue CTA ────────────────────────────────────────────── */
.catalogue-cta {
  max-width: var(--max-width, 1200px);
  margin: clamp(3rem, 8vw, 5rem) auto 0;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--ed-soft-black);
  color: var(--ed-paper);
}

.catalogue-cta__title {
  margin: 0;
  font-family: var(--ed-font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 3rem);
}

.catalogue-cta__text {
  margin: 0.85rem 0 1.5rem;
  max-width: 36rem;
  color: rgba(252, 252, 248, 0.75);
  line-height: 1.6;
}

.catalogue-cta__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.5rem;
  background: var(--ed-champagne);
  color: var(--ed-soft-black);
  text-decoration: none;
  font-size: 0.875rem;
}

.catalogue-cta__link:hover {
  background: #d4af37;
}

/* ── Product story ────────────────────────────────────────────── */
.product-story {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem) 0;
}

.product-story__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.product-story__title {
  margin: 0.35rem 0 0;
  font-family: var(--ed-font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1.05;
}

.product-story__summary {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ed-muted);
}

.product-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.product-story__enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.5rem;
  background: var(--ed-soft-black);
  color: var(--ed-paper);
  text-decoration: none;
  font-size: 0.875rem;
}

.product-story__enquire:hover {
  background: var(--ed-near-black);
}

.product-story__back {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: var(--ed-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--ed-border);
}

.product-story__back:hover {
  color: var(--ed-soft-black);
}

.product-metadata {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem 0;
  border-top: 1px solid var(--ed-border);
  padding-top: 1.25rem;
}

.product-metadata__row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.product-metadata dt {
  margin: 0;
  color: var(--ed-warm-grey);
}

.product-metadata dd {
  margin: 0;
  color: var(--ed-soft-black);
}

.product-metadata a {
  color: inherit;
}

@media (max-width: 900px) {
  .product-story__top {
    grid-template-columns: 1fr;
  }
  .product-metadata__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* Gallery */
.product-gallery {
  display: grid;
  gap: 0.75rem;
}

.product-gallery__main {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #ede3d5;
  aspect-ratio: 4 / 5;
}

.product-gallery__main img,
.product-gallery__main picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery__zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.product-gallery__thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 90px;
  padding: 0;
  border: 1px solid transparent;
  background: #ede3d5;
  cursor: pointer;
  overflow: hidden;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb[aria-current="true"] {
  border-color: var(--ed-soft-black);
}

.product-gallery__thumb:focus-visible {
  outline: 2px solid var(--ed-champagne);
  outline-offset: 2px;
}

/* Sections */
.product-story__section {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--ed-border);
}

.product-story__section-title {
  margin: 0 0 1.25rem;
  font-family: var(--ed-font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.prose-editorial {
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ed-soft-black);
}

.prose-editorial h2,
.prose-editorial h3 {
  font-family: var(--ed-font-display);
  font-weight: 400;
  line-height: 1.2;
  margin: 1.75rem 0 0.75rem;
}

.prose-editorial p { margin: 0 0 1rem; }
.prose-editorial ul,
.prose-editorial ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose-editorial blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 2px solid var(--ed-champagne);
  color: var(--ed-muted);
  font-family: var(--ed-font-display);
  font-size: 1.25rem;
}
.prose-editorial a { color: inherit; }
.prose-editorial img { max-width: 100%; height: auto; }
.prose-editorial table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.prose-editorial th,
.prose-editorial td {
  text-align: left;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--ed-border);
  vertical-align: top;
}

.product-specs {
  width: 100%;
  max-width: 42rem;
  border-collapse: collapse;
}

.product-specs th,
.product-specs td {
  text-align: left;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--ed-border);
  font-weight: 400;
  vertical-align: top;
}

.product-specs th {
  width: 40%;
  color: var(--ed-warm-grey);
  padding-right: 1rem;
}

@media (max-width: 600px) {
  .product-specs,
  .product-specs tbody,
  .product-specs tr,
  .product-specs th,
  .product-specs td {
    display: block;
    width: 100%;
  }
  .product-specs th {
    padding-bottom: 0.2rem;
    border-bottom: 0;
  }
  .product-specs td {
    padding-top: 0.2rem;
  }
}

.product-downloads {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 36rem;
}

.product-downloads li {
  border-bottom: 1px solid var(--ed-border);
}

.product-downloads a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  text-decoration: none;
  color: var(--ed-soft-black);
  font-size: 0.975rem;
}

.product-downloads__type {
  color: var(--ed-warm-grey);
  font-size: 0.8125rem;
}

.product-story__related .editorial-product-grid {
  margin-top: 0.5rem;
}

/* Breadcrumbs on catalogue/product */
body.page-catalogue .breadcrumbs,
body.page-product .breadcrumbs {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 1rem var(--page-gutter, clamp(1rem, 4vw, 2.5rem)) 0;
  color: var(--ed-warm-grey);
  font-size: 0.8125rem;
}

body.page-product .page-header {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0;
}

/* Hide legacy shop chrome if any remnant markup appears */
.catalogue-filters,
.product-card__price,
.product-detail__price,
.product-card__icons,
.js-fav-toggle,
.js-compare-toggle,
.nav-badge {
  display: none !important;
}

/* Motion */
.ed-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 450ms var(--ed-ease), transform 450ms var(--ed-ease);
}

.ed-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ed-reveal,
  .editorial-product-card__image img,
  .editorial-feature__media img,
  .editorial-product-card__arrow,
  .editorial-feature__link {
    transition: none !important;
    transform: none !important;
  }
  .ed-reveal {
    opacity: 1;
  }
}
