:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #111111;
  --muted: #5a5a5a;
  --line: #e5e5e5;
  --menu-bg: #f6c1d0;
  --home-bg: #8dc73f;
  --lightbox-bg: rgba(10, 10, 10, 0.94);
  --caption-text: #f2f2f2;

  --font-family: "Arial Narrow", Arial, sans-serif;
  --font-style: italic;

  --site-max-width: 1400px;
  --content-padding-x: 24px;
  --content-padding-bottom: 80px;
  --menu-height-padding: 18px;

  --brand-size: 1.8rem;
  --menu-size: 1rem;
  --title-size: clamp(1.8rem, 3vw, 3rem);
  --body-size: 1.05rem;
  --caption-size: 1.05rem;

  --gallery-gap: 22px;
  --panel-gap: 24px;
  --cover-cell-ratio: 3 / 4;
  --thumb-height: 104px;
  --thumb-width: 82px;

  --button-size: 56px;
  --button-size-mobile: 46px;
  --button-edge-offset: 28px;
  --button-edge-offset-mobile: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-family);
  font-style: var(--font-style);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--menu-bg);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.topbar {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: var(--menu-height-padding) var(--content-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-size: var(--brand-size);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.menu { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.menu-link {
  position: relative;
  font-size: var(--menu-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
}
.menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.menu-link:hover::after, .menu-link.active::after { transform: scaleX(1); }

main {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 28px var(--content-padding-x) var(--content-padding-bottom);
}

/* Etusivu: kuva pysyy koko selainikkunan levyisenä. Jos kuvan ja viewportin
   väliin jää pystysuuntaista tilaa, kuva keskitetään ja vapaa tila jakautuu
   tasan: valkoinen ylös, vihreä alas. */
body.home-page { min-height: 100svh; display: flex; flex-direction: column; }
body.home-page .site-header { flex: 0 0 auto; }
body.home-page .home-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.home-hero {
  flex: 1 0 auto;
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #fff 0%, #fff 50%, var(--home-bg) 50%, var(--home-bg) 100%);
}
.home-hero img { width: 100vw; max-width: none; height: auto; flex: 0 0 auto; }

.panel-header { margin-bottom: var(--panel-gap); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.panel-header.compact-header { border-bottom: 0; padding-bottom: 0; }
.panel-title {
  margin: 0 0 6px;
  font-size: var(--title-size);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.panel-intro { margin: 0; max-width: 760px; color: var(--muted); font-size: 1rem; line-height: 1.5; }

/* Sarjakuvat-pääsivu: yksi suuri vaakasuunnassa selattava kansirivi. */
.comics-index-main {
  max-width: none;
  margin: 0;
  padding: clamp(26px, 3vw, 48px) 0 clamp(36px, 5vw, 72px);
}
.comics-index-section { width: 100%; }
.comic-series-scroll {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.comic-series-track {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2vw, 30px);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: none;
  scroll-behavior: auto;
  scrollbar-width: thin;
  padding: 4px var(--content-padding-x) 18px;
}
.comic-series-card {
  position: relative;
  display: block;
  flex: 0 0 auto;
  height: clamp(500px, 68vh, 760px);
  overflow: hidden;
  background: #fff;
  scroll-snap-align: none;
}
.comic-series-card img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  background: #fff;
}

.comic-series-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.72em 0.8em;
  background: #000;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(0.9rem, 1.25vw, 1.25rem);
  line-height: 1.1;
  opacity: 0;
  transition: opacity 0.16s ease;
  pointer-events: none;
}
.comic-series-card:hover .comic-series-label,
.comic-series-card:focus-visible .comic-series-label { opacity: 1; }



/* Kuvitukset-pääsivu käyttää samaa vaakakarusellia kuin Sarjakuvat.
   Kuvatekstit ovat kuvan alla koko ajan näkyvissä.
   Tekstiä voi muuttaa suoraan kuvitukset.html:n .comic-series-label-elementeistä. */
.illustration-card {
  margin: 0;
  height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}
.illustration-card img {
  width: auto;
  height: clamp(500px, 68vh, 760px);
  max-width: none;
  object-fit: contain;
  cursor: zoom-in;
  background: #fff;
}
.illustration-card .comic-series-label {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  width: 100%;
  padding: 10px 4px 0;
  background: transparent;
  color: var(--text);
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  opacity: 1;
  transition: none;
  pointer-events: auto;
}
.illustration-card:hover .comic-series-label,
.illustration-card:focus-visible .comic-series-label {
  opacity: 1;
}


/* COMICS index: series names are permanent captions below the covers. */
.comics-cover-card {
  height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}
.comics-cover-card img {
  width: auto;
  height: clamp(500px, 68vh, 760px);
  max-width: none;
  object-fit: contain;
  background: #fff;
}
.comics-cover-card .comic-series-label {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  width: 100%;
  padding: 10px 4px 0;
  background: transparent;
  color: var(--text);
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  opacity: 1;
  transition: none;
  pointer-events: auto;
}
.comics-cover-card:hover .comic-series-label,
.comics-cover-card:focus-visible .comic-series-label { opacity: 1; }

/* SHORTS / anthology page */
.anthology-main {
  max-width: none;
  margin: 0;
  padding: clamp(22px, 2.4vw, 36px) 0 clamp(36px, 5vw, 72px);
}
.anthology-main .series-thumb-nav {
  max-width: var(--site-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--content-padding-x);
  padding-right: var(--content-padding-x);
}
.anthology-caption-empty { visibility: hidden; }

/* Sarjakuvat-pääsivun klikkausnuolet. */
.comic-series-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: clamp(48px, 4.2vw, 68px);
  height: clamp(48px, 4.2vw, 68px);
  transform: translateY(-50%);
  border: 0;
  border-radius: 0;
  background: var(--menu-bg);
  color: #000;
  font-family: var(--font-family);
  font-size: 0;
  font-style: normal;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.comic-series-arrow::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
}
.comic-series-arrow-prev::before {
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 21px solid #000;
}
.comic-series-arrow-next::before {
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 21px solid #000;
}
.comic-series-arrow:hover { transform: translateY(-50%) scale(1.04); }
.comic-series-arrow:active { transform: translateY(-50%) scale(0.98); }
.comic-series-arrow:disabled { opacity: 0.28; cursor: default; }
.comic-series-arrow:disabled:hover { transform: translateY(-50%); }
.comic-series-arrow-prev { left: 14px; }
.comic-series-arrow-next { right: 14px; }

/* Yksittäisen sarjan sivu. Kannet, tekstikortti ja näytesivut ovat kaikki
   samassa 3-sarakkeisessa ruudukossa. Näytesivut jatkavat heti ensimmäiseen
   vapaaseen slottiin, joten uutta riviä ei pakoteta turhaan. */
.subpage-topbar { margin-bottom: 14px; }
.series-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.series-page-nav-left { display: flex; align-items: center; gap: 24px; }
.series-thumb-nav {
  width: 100%;
  margin: 0 0 clamp(24px, 3.5vw, 42px);
  overflow: hidden;
}
.series-thumb-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding: 4px 2px 10px;
}
.series-thumb {
  position: relative;
  flex: 0 0 var(--thumb-width);
  height: var(--thumb-height);
  overflow: hidden;
  background: #fff;
  scroll-snap-align: center;
  outline-offset: 2px;
}
.series-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.series-thumb-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  padding: 6px 4px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.67rem;
  line-height: 1.05;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
.series-thumb:hover,
.series-thumb:focus-visible {
  outline: 3px solid var(--home-bg);
  outline-offset: 1px;
}
.series-thumb:hover .series-thumb-label,
.series-thumb:focus-visible .series-thumb-label {
  opacity: 1;
}
.series-thumb.active {
  outline: 3px solid #000;
  outline-offset: 1px;
}
.series-thumb.active .series-thumb-label { opacity: 1; }

.back-link {
  display: inline-block;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 0;
  cursor: pointer;
}
.series-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
  align-items: stretch;
}

/* Jokainen sarjasivun ruutu on aina täsmälleen yhden grid-sarakkeen levyinen.
   Kuvan alkuperäinen pikselikoko tai kuvasuhde ei saa kasvattaa saraketta. */
.series-detail-grid > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.series-cover-cell, .sample-page {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}
.series-cover-cell {
  aspect-ratio: var(--series-aspect, var(--cover-cell-ratio));
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}
.series-cover-cell img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.series-cover-duplicate img { cursor: default; }
.series-info-card {
  aspect-ratio: var(--series-aspect, var(--cover-cell-ratio));
  min-width: 0;
  background: var(--menu-bg);
  overflow: hidden;
}
.series-info-scroll {
  height: 100%;
  overflow-y: auto;
  padding: clamp(20px, 2.2vw, 34px);
  scrollbar-width: thin;
}
.series-info-scroll h2 {
  margin: 0 0 1.1em;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.series-info-scroll h3 {
  margin: 1.5em 0 0.4em;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.series-info-scroll p { margin: 0 0 1.05em; font-size: clamp(0.86rem, 1vw, 1rem); line-height: 1.48; }
.series-info-scroll .metadata { line-height: 1.42; }
.series-info-scroll .series-link { margin-bottom: 0.45em; }
.series-info-scroll .publication { margin: 1.25em 0 0; padding-top: 1em; border-top: 1px solid rgba(0,0,0,0.18); font-size: clamp(0.84rem, 0.95vw, 0.96rem); line-height: 1.45; }
.series-info-scroll .publication strong { display: inline-block; margin-bottom: 0.25em; font-size: 1.04em; }
.series-info-scroll a { text-decoration: underline; text-underline-offset: 0.12em; overflow-wrap: anywhere; }
.series-empty-slot { aspect-ratio: var(--series-aspect, var(--cover-cell-ratio)); visibility: hidden; }

.sample-page { margin: 0; min-width: 0; align-self: start; }
.sample-page img { width: 100%; height: auto; cursor: zoom-in; }

/* Vanha yleinen galleria säilyy Kuvitukset-sivua varten. */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gallery-gap); }
.gallery-item { grid-column: span 4; margin: 0; }
.gallery-item.wide { grid-column: span 6; }
.gallery-item.tall img { aspect-ratio: 3 / 4; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; cursor: zoom-in; }

.text-block { max-width: 760px; font-size: var(--body-size); line-height: 1.7; }
.text-block p { margin: 0 0 1.2em; }
.contact-list { display: grid; gap: 8px; font-size: var(--body-size); }

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--lightbox-bg);
  z-index: 1000;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.lightbox-image-wrap { width: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; }
.lightbox img { max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain; cursor: zoom-out; }
.lightbox-caption {
  color: var(--caption-text);
  text-align: center;
  font-family: var(--font-family);
  font-style: var(--font-style);
  font-size: var(--caption-size);
  line-height: 1.4;
  min-height: 1.4em;
  max-width: 900px;
  padding: 0 60px;
}
.lightbox-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: var(--button-size);
  height: var(--button-size);
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.13);
  color: #fff;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 1002;
}
.lightbox-prev { left: var(--button-edge-offset); }
.lightbox-next { right: var(--button-edge-offset); }
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.13);
  color: #fff;
  font: inherit;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 1003;
}
.zoom-cursor {
  position: fixed;
  width: 58px;
  height: 58px;
  margin-left: -29px;
  margin-top: -29px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.14s ease, transform 0.14s ease;
  mix-blend-mode: difference;
}
.zoom-cursor.visible { opacity: 1; transform: scale(1); }
.zoom-cursor svg { width: 100%; height: 100%; display: block; }

@media (max-width: 900px) {
  .series-detail-grid { gap: 18px; }
  .series-info-scroll { padding: 20px; }
}

@media (hover: none), (pointer: coarse) {
  .comic-series-label { opacity: 1; }
}

@media (max-width: 700px) {
  :root { --content-padding-x: 16px; --thumb-height: 92px; --thumb-width: 72px; }
  .topbar { align-items: flex-start; flex-direction: column; padding-top: 14px; padding-bottom: 14px; gap: 6px; }
  .brand { font-size: 1.45rem; }
  .menu { gap: 8px 16px; justify-content: flex-start; }
  .menu-link { font-size: 0.88rem; }
  main { padding-top: 22px; }

  .series-detail-grid { grid-template-columns: 1fr; gap: 22px; }
  .series-page-nav { gap: 12px; align-items: flex-start; }
  .series-page-nav-left { gap: 14px; flex-wrap: wrap; }
  .series-thumb-nav { margin-bottom: 28px; }
  .series-thumb-track { gap: 8px; padding-bottom: 8px; }
  .series-thumb-label { font-size: 0.6rem; padding: 5px 3px; }

  .comic-series-arrow { display: none; }

  .comic-series-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    overflow: visible;
    padding: 0 var(--content-padding-x);
  }
  .comic-series-card {
    width: 100%;
    height: auto;
    scroll-snap-align: none;
  }
  .comic-series-card img { width: 100%; height: auto; max-width: 100%; }
  .illustration-card { align-items: stretch; }
  .illustration-card img { width: 100%; height: auto; max-width: 100%; }
  .illustration-card .comic-series-label { padding: 9px 2px 0; text-align: left; }
  .comics-cover-card { align-items: stretch; }
  .comics-cover-card img { width: 100%; height: auto; max-width: 100%; }
  .comics-cover-card .comic-series-label { padding: 9px 2px 0; text-align: left; }

  .series-cover-cell { aspect-ratio: auto; min-height: 0; }
  .series-cover-cell img { width: 100%; height: auto; object-fit: contain; }
  .series-empty-slot { display: none; }
  .series-info-card { aspect-ratio: auto; overflow: visible; }
  .series-info-scroll { height: auto; overflow: visible; padding: 22px; }

  .gallery { gap: 14px; }
  .gallery-item, .gallery-item.wide { grid-column: span 12; }

  .lightbox { padding: 16px 12px 78px; }
  .lightbox img { max-height: 72vh; }
  .lightbox-caption { padding: 0 8px; font-size: 0.98rem; }
  .lightbox-btn { width: var(--button-size-mobile); height: var(--button-size-mobile); top: auto; bottom: 14px; transform: none; }
  .lightbox-prev { left: var(--button-edge-offset-mobile); }
  .lightbox-next { right: var(--button-edge-offset-mobile); }
  .lightbox-close { top: 10px; right: 10px; }
  .zoom-cursor { display: none; }
}

/* BIO & CONTACT */
.bio-grid {
  --bio-aspect: 1500 / 2354;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
  align-items: stretch;
}

.bio-portrait,
.bio-info-card {
  aspect-ratio: var(--bio-aspect);
  min-width: 0;
  margin: 0;
}

.bio-portrait {
  overflow: hidden;
  background: #fff;
}

.bio-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-info-card {
  background: var(--menu-bg);
  overflow: hidden;
}

.bio-info-scroll {
  height: 100%;
  overflow-y: auto;
  padding: clamp(20px, 2.2vw, 34px);
  scrollbar-width: thin;
}

.bio-info-scroll p {
  margin: 0 0 1.35em;
  font-size: clamp(0.86rem, 1vw, 1rem);
  line-height: 1.48;
}

.bio-links {
  display: grid;
  gap: 0.58em;
}

.bio-links a {
  text-decoration: underline;
  text-underline-offset: 0.12em;
  overflow-wrap: anywhere;
  font-size: clamp(0.84rem, 0.95vw, 0.96rem);
  line-height: 1.35;
}

@media (max-width: 700px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .bio-portrait,
  .bio-info-card {
    aspect-ratio: auto;
  }

  .bio-portrait img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .bio-info-card {
    overflow: visible;
  }

  .bio-info-scroll {
    height: auto;
    overflow: visible;
    padding: 22px;
  }
}


/* SHOP */
.shop-main {
  max-width: 1120px;
  padding-top: clamp(44px, 5vw, 70px);
}

/* SHOP title, intro and product list share exactly the same left edge. */
.shop-header,
.shop-intro-note,
.shop-list {
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.shop-header {
  max-width: none;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.shop-header .panel-title {
  font-size: clamp(2rem, 3vw, 2.55rem);
}

.shop-list {
  display: grid;
  gap: var(--gallery-gap);
}

.shop-product {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gallery-gap);
  min-width: 0;
}

.shop-product-image,
.shop-product-info {
  aspect-ratio: 1 / 1;
  min-width: 0;
  margin: 0;
}

.shop-product-image {
  overflow: hidden;
  background: #fff;
}

.shop-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-product-info {
  background: var(--menu-bg);
  overflow: hidden;
}

.shop-product-info-inner {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: clamp(24px, 3.2vw, 44px);
  scrollbar-width: thin;
}

.shop-product-info h2 {
  margin: 0 0 0.75em;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shop-product-info p {
  margin: 0 0 1em;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.48;
}

.shop-price {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem) !important;
  font-weight: 700;
}

.shop-order-area {
  width: min(760px, 100%);
  margin: clamp(54px, 7vw, 92px) auto 0;
}

.shop-postage-note {
  margin: 0 0 2.7em;
  text-align: center;
  font-size: 1rem;
}

.shop-order-title {
  margin: 0 0 1.3em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.shop-enquiry-card {
  background: var(--menu-bg);
  padding: clamp(24px, 4vw, 44px);
}

.shop-enquiry-card h3 {
  margin: 0 0 1.2em;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shop-enquiry-form {
  display: grid;
  gap: 18px;
}

.shop-enquiry-form label {
  display: grid;
  gap: 7px;
}

.shop-enquiry-form label > span {
  font-size: 0.95rem;
}

.shop-enquiry-form input,
.shop-enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--text);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-style: normal;
  padding: 12px 13px;
  outline: none;
}

.shop-enquiry-form textarea {
  resize: vertical;
  min-height: 150px;
}

.shop-enquiry-form input:focus,
.shop-enquiry-form textarea:focus {
  outline: 2px solid var(--home-bg);
  outline-offset: 1px;
}

.shop-send-button {
  justify-self: start;
  border: 1px solid var(--text);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 12px 18px;
  cursor: pointer;
}

.shop-send-button:hover,
.shop-send-button:focus-visible {
  background: var(--text);
  color: #fff;
}

.shop-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .shop-main {
    padding-top: 30px;
  }

  .shop-product {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .shop-product-image,
  .shop-product-info {
    aspect-ratio: 1 / 1;
  }

  .shop-product-info-inner {
    padding: 22px;
  }

  .shop-order-area {
    margin-top: 52px;
  }
}


/* SHOP intro note (orders by email) */
.shop-intro-note {
  margin-top: 0;
  margin-bottom: clamp(30px, 4vw, 48px);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.5;
}
.shop-metadata {
  margin-top: 1.25em !important;
}
