/* ============================================================
   Modern Viking, "The Viking Pizza Cutter" PDP demo
   Tokens + geometry lifted from the live Impulse 7.4.0 theme and the
   verified live PDP audit:
   - gold promo bar (#d3ac33), black flash-sale bar, black header
   - gallery left / buy box right on the 1640px page width
   - theme .btn angled, .variant-input-wrap pills, .breadcrumb,
     .site-header, .product__price, custom-footer
   The ONLY functional difference from the real PDP: the main gallery
   image live-updates with the customer's engraving.
   ============================================================ */

@font-face {
  /* Same file the live theme loads for its logo/footer headings */
  font-family: 'Norse';
  src: url('fonts/Norse.otf') format('opentype'),
       url('https://cdn.shopify.com/s/files/1/0579/9549/3567/files/Norse.otf?v=1740848391') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-heading: "Fjalla One", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --font-logo: "Norse", "Fjalla One", sans-serif;

  --c-bg: #ffffff;
  --c-text: #000000;
  --c-border: #2b2a27;
  --c-button: #d3ac33;
  --c-button-text: #ffffff;
  --c-header: #000000;
  --c-header-text: #ffffff;
  --c-gold: #d3ac33;
  --c-gold-deep: #b08a1f;
  --c-sale-red: #e11d33;
  --c-price: #2b2a27;
  --c-muted: #67635d;
  --c-line: #d9d6d0;
  --c-light: #f5f3ee;
  --c-footer: #000000;
  --c-footer-text: #ffffff;
  --c-footer-hover: #ffe48c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--c-text);
  background: var(--c-bg);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.2;
}

img { max-width: 100%; }

[hidden] { display: none !important; }

/* Impulse .page-width: max 1640px, 17px gutters mobile / 40px desktop */
.page-width {
  margin: 0 auto;
  max-width: 1640px;
  padding: 0 17px;
}

@media only screen and (min-width: 769px) {
  .page-width { padding: 0 40px; }
}

/* ---------- promo bar (gold, dark text, small caps feel) ---------- */

.promo-bar {
  background-color: var(--c-gold);
  color: #221f16;
  font-size: 12.8px; /* ~0.8em */
  padding: 9px 0;
  position: relative;
  text-align: center;
}

.promo-text {
  display: block;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media only screen and (min-width: 769px) {
  .promo-bar { font-size: 13.6px; }
}

/* ---------- flash sale bar (black bg, red text, static) ---------- */

.sale-bar {
  background-color: #000000;
  color: var(--c-sale-red);
  font-size: 12.8px;
  padding: 8px 0;
  position: relative;
  text-align: center;
}

.sale-text {
  display: block;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media only screen and (min-width: 769px) {
  .sale-bar { font-size: 13.6px; }
}

/* ---------- header (theme .site-header, layout "center-left") ---------- */

.site-header {
  background: var(--c-header);
  color: var(--c-header-text);
  padding: 7px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

@media only screen and (min-width: 769px) {
  .site-header { padding: 10px 0; }
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-item { display: flex; align-items: center; }

.header-item--navigation,
.header-item--icons { flex: 1 1 130px; }

.header-item--icons { justify-content: flex-end; }

/* logo cell: the square horn logo held to the real header height */
.header-item--logo {
  flex: 0 1 60px;
  justify-content: center;
}

@media only screen and (min-width: 769px) {
  .header-item--logo { flex: 0 0 100px; margin: 0 30px; }
}

.site-header__logo-link { display: block; width: 60px; }

@media only screen and (min-width: 769px) {
  .site-header__logo-link { width: 100px; }
}

.site-header__logo-link img { display: block; width: 100%; height: auto; }

.site-nav { display: flex; align-items: center; list-style: none; margin: 0; }

/* nav links: heading font, 18px, letter-spacing normal per store override */
.site-nav__link {
  color: var(--c-header-text);
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: normal;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px;
  white-space: nowrap;
  vertical-align: middle;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-nav__link--underline { position: relative; }

.site-nav__link--underline::after {
  border-bottom: 2px solid #fff;
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  margin: 0 10px;
  position: absolute;
  right: 100%;
  transition: right 0.5s;
}

.site-nav__link--underline:hover::after { right: 0; }

.site-nav__link--icon { padding-left: 12px; padding-right: 12px; }

.site-nav__link--icon .icon {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 5px;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.cart-link { position: relative; display: block; }

.nav-hamburger { display: none; }

@media only screen and (max-width: 860px) {
  .site-nav--desktop { display: none; }
  .nav-hamburger { display: inline-block; }
  .site-nav__link--icon { padding-left: 7.5px; padding-right: 7.5px; }
  .site-nav__link--icon .icon { width: 26px; height: 26px; }
  .header-item--icons .site-nav__link--account { display: none; }
}

/* ---------- breadcrumb (13.6px, grey) ---------- */

.breadcrumb {
  font-size: 13.6px;
  margin: 12px 0;
  text-align: left;
  color: var(--c-muted);
}

.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-text); text-decoration: underline; }
.breadcrumb__divider { color: var(--c-muted); padding: 0 4px; }

/* ---------- PDP layout (gallery left ~55%, buy box right) ---------- */

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 0 45px;
  max-width: 1640px;
  margin: 20px auto 90px;
}

/* ---------- gallery ---------- */

.gallery-col {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--c-light);
  cursor: pointer;
  display: block;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.gallery-thumb:hover { border-color: var(--c-border); }

/* thin gold ring on the active thumb */
.gallery-thumb.is-active {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 1px var(--c-gold);
}

.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--c-light);
  overflow: hidden;
}

.gallery-main > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Live carve overlay: sits exactly over the main image, same box.
   Renders the same photo with the runes carved in. The <img> stays
   underneath for layout. pointer-events none except in zone-drag mode. */
.gallery-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  touch-action: none;
}

.gallery-overlay canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-overlay.drag-mode {
  pointer-events: auto;
  cursor: move;
  touch-action: none;
}

/* ---------- buy column ---------- */

.buy-col { min-width: 0; }

/* rating row */
.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.stars {
  color: var(--c-gold);
  font-size: 15px;
  letter-spacing: 0.12em;
  line-height: 1;
}

.rating-count { font-size: 13px; color: var(--c-muted); }

/* theme .product-single__title: h1, 45px desktop / 38px mobile, sentence case */
.product-single__title {
  font-size: 38.25px;
  margin-bottom: 12px;
  word-wrap: break-word;
  text-align: left;
  text-transform: none;
  letter-spacing: 0.02em;
}

@media only screen and (min-width: 769px) {
  .product-single__title { font-size: 45px; }
}

.product-subtitle {
  margin: 0 0 14px;
  color: var(--c-muted);
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* short bullets */
.product-bullets {
  list-style: none;
  margin: 0 0 18px;
  display: grid;
  gap: 5px;
}

.product-bullets li {
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.product-bullets li::before {
  content: "✓ ";
  color: var(--c-gold-deep);
  font-weight: 700;
}

/* milestone bar (static, simplified version of their app widget) */
.milestone-bar {
  margin: 0 0 22px;
}

.milestone-track {
  position: relative;
  height: 6px;
  background: var(--c-line);
  border-radius: 999px;
}

.milestone-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: var(--c-border);
  border-radius: 999px;
}

.milestone-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.milestone-dot__ring {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-gold);
  box-shadow: 0 0 0 1px var(--c-border);
}

.milestone-dot--gift { left: 40%; }
.milestone-dot--ship { left: 100%; }

.milestone-labels {
  position: relative;
  height: 26px;
  margin-top: 6px;
}

.milestone-label {
  position: absolute;
  top: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  white-space: nowrap;
}

.milestone-label--gift { left: 40%; transform: translateX(-50%); }
.milestone-label--ship { right: 0; }

/* price row */
.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 18px;
}

.compare-price {
  font-size: 16px;
  color: var(--c-muted);
  text-decoration: line-through;
}

.sale-price {
  font-size: 30px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.01em;
}

.afterpay-note {
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

/* bundle & save: centered gold heading with side rules, then the card */
.bundle-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.bundle-head::before,
.bundle-head::after {
  content: "";
  flex: 1 1 auto;
  border-top: 1px solid var(--c-gold-deep);
}

.bundle-head span {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text);
}

.bundle-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-light);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 22px;
}

.bundle-strip img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  flex: 0 0 auto;
}

.bundle-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bundle-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bundle-sub {
  font-size: 12px;
  color: var(--c-muted);
}

.bundle-prices {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.bundle-price {
  font-size: 15px;
  font-weight: 700;
}

.bundle-compare {
  font-size: 12px;
  color: var(--c-muted);
  text-decoration: line-through;
}

/* ---------- personalisation (the live engraving preview driver) ---------- */

.engrave-step { margin: 0 0 18px; }

/* theme form-label style: 0.8em, ls .3em, uppercase */
.engrave-label {
  display: block;
  font-size: 12.8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* variant pills: 1px #2b2a27 ring, 2px black ring when selected */
.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.option-pill {
  border: 0;
  box-shadow: 0 0 0 1px var(--c-border);
  background: var(--c-bg);
  font-family: var(--font-body);
  font-size: 12.8px; /* 0.8em */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 11px 18px;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

.option-pill:hover { box-shadow: 0 0 0 1px var(--c-text); }

.option-pill[aria-checked="true"] {
  box-shadow: 0 0 0 2px var(--c-text);
  font-weight: 700;
}

/* theme input: 1px colorBorder, radius 0, focus = text color */
.field-label {
  display: block;
  font-size: 12.8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.text-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.03em;
  background-color: inherit;
  color: inherit;
}

.text-field:focus { outline: none; border-color: var(--c-text); }

.engrave-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

/* live transliteration line */
.rune-line {
  font-family: var(--font-logo);
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-muted);
  min-height: 1.5em;
  letter-spacing: 0.06em;
  word-break: break-all;
}

.rune-line.is-empty { visibility: hidden; }

.char-counter {
  font-size: 12px;
  color: var(--c-muted);
  white-space: nowrap;
}

/* ---------- ATC button ----------
   Exact Impulse angled implementation from theme.css.liquid:
   [data-button_style=angled] .btn: central rect + skewX(-12deg)
   ::before/::after 20px wings at left:-6px / right:-6px,
   .btn typography: body font 700, 13px, ls .3em, .btn--full pad 13px 20px */
.atc-btn {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-block;
  background: var(--c-button);
  color: var(--c-button-text);
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  line-height: 1.42;
  text-transform: uppercase;
  text-align: center;
  padding: 13px 20px;
  margin: 8px 10px 0;
  width: calc(100% - 20px);
  max-width: 94%;
  cursor: pointer;
  white-space: normal;
  user-select: none;
  transition: filter 0.12s ease, transform 0.12s ease;
}

.atc-btn::before,
.atc-btn::after {
  background-color: inherit;
  bottom: 0;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  transform: skewX(-12deg);
  width: 20px;
}

.atc-btn::before { left: -6px; }
.atc-btn::after { right: -6px; }

.atc-btn.is-pressed { filter: brightness(0.92); transform: translateY(1px); }

.atc-trust {
  font-size: 11.5px;
  color: var(--c-muted);
  text-align: center;
  letter-spacing: 0.06em;
  margin: 12px 0 0;
}

/* ---------- benefit row ---------- */

.benefit-row {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}

.benefit-row li {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12px; /* 0.75em */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text);
}

.benefit-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--c-gold-deep);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- footer (replica of sections/custom-footer.liquid) ---------- */

.custom-footer {
  background-color: var(--c-footer);
  background-image: url('https://www.modernviking.com.au/cdn/shop/files/footer-bg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--c-footer-text);
  padding: 40px 20px 0;
  position: relative;
  margin-top: 40px;
}

.custom-footer::before {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  content: '';
  background: rgba(0, 0, 0, 0.6);
}

.custom-footer .page-width,
.custom-footer .footer-bottom { position: relative; z-index: 3; }

.custom-footer .page-width {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
}

.footer-top { margin-bottom: 30px; }

.footer-top h2 {
  font-family: var(--font-logo);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-top p {
  font-family: var(--font-body);
  letter-spacing: normal;
  line-height: normal;
  font-size: 20px;
  max-width: 400px;
  text-align: left;
}

.company_logo {
  max-width: 104px;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: 20px;
}

.footer-menus {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
}

.footer-menu h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-menu ul { list-style: none; margin: 0; padding: 0; }

.footer-menu li { margin-bottom: 6px; }

.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: normal;
  transition: all 150ms ease-in-out;
}

.footer-menu a:hover { color: var(--c-footer-hover); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 17px 24px;
}

@media only screen and (min-width: 769px) {
  .footer-bottom { padding: 0 40px 24px; margin-top: 60px; }
}

.signature-left { text-align: left; }
.signature-left p { font-size: 12px; margin: 0; letter-spacing: normal; }

.proto-note {
  font-size: 10px;
  opacity: 0.55;
  margin-top: 4px !important;
  letter-spacing: 0.05em !important;
}

.footer-bottom-right {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 6px;
}

.footer-social a { color: #fff; display: block; transition: all 150ms ease-in-out; }
.footer-social a:hover { color: var(--c-footer-hover); }
.footer-social .icon { width: 22px; height: 22px; display: block; fill: currentColor; }
.footer-social .icon path { fill: currentColor; }

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  max-width: 100%;
  list-style: none;
  margin: 0 0 8px;
}

.footer-payments .icon--payment svg { display: block; width: 38px; height: auto; }

/* ---------- demo controls (dev tooling only) ---------- */

.dev-gear {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #888;
  opacity: 0.4;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.dev-gear:hover { opacity: 0.9; }

.dev-panel {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 55;
  width: 232px;
  background: rgba(16, 16, 15, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  color: #d8d5cf;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 12px;
  display: grid;
  gap: 12px;
}

.dev-row { display: grid; gap: 6px; }

.dev-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a968e;
}

.dev-value { color: #d3ac33; font-weight: 400; }

.dev-btn {
  background: #262624;
  color: #d8d5cf;
  border: 1px solid #3d3b37;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 10px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.12s ease, color 0.12s ease;
}

.dev-btn:hover { border-color: #6b675f; }

.dev-btn.is-active {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

.dev-btn:disabled { opacity: 0.45; cursor: default; }

.dev-btn--wide { width: 100%; }

.dev-select {
  width: 100%;
  background: #1c1c1a;
  color: #d8d5cf;
  border: 1px solid #3d3b37;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  padding: 6px 8px;
}

.dev-select:disabled { opacity: 0.45; }

.dev-select:focus { outline: none; border-color: var(--c-gold); }

.dev-panel input[type="range"] {
  width: 100%;
  accent-color: var(--c-gold);
  height: 20px;
  margin: 0;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  z-index: 70;
  max-width: min(520px, calc(100vw - 32px));
  background: rgba(16, 16, 15, 0.95);
  border: 1px solid rgba(211, 172, 51, 0.6);
  border-radius: 6px;
  color: #eee;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  padding: 10px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.toast .toast-title { font-weight: 700; color: var(--c-gold); margin-bottom: 4px; }

.toast pre {
  font-size: 11px;
  line-height: 1.45;
  color: #cfcbc2;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 6px 0 0;
}

/* ---------- responsive ---------- */

.hidden { display: none !important; }

@media only screen and (max-width: 991px) {
  .custom-footer .page-width { grid-template-columns: 1fr; }
  .footer-menus { justify-content: flex-start; }
}

@media only screen and (max-width: 768px) {
  /* stacks: gallery top, buy box below */
  .pdp { grid-template-columns: 1fr; gap: 28px; margin: 12px auto 60px; }

  .gallery-col { grid-template-columns: 1fr; gap: 12px; }

  /* thumbs become a horizontal strip */
  .gallery-thumbs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    order: 2;
  }

  .gallery-thumb { flex: 0 0 auto; }

  .product-single__title { text-align: left; }

  .breadcrumb { margin-bottom: 6px; }

  .benefit-row { gap: 6px; }
  .benefit-row li { font-size: 10.5px; letter-spacing: 0.06em; }
}

@media only screen and (max-width: 622px) {
  .footer-menus { flex-direction: column; gap: 20px; }
  .footer-menu h3 { margin-bottom: 10px; }
  .footer-bottom { flex-direction: column-reverse; }
  .footer-bottom-right { align-items: center; margin-top: 24px; }
  .footer-top h2 { font-size: 34px; }
  .footer-top p { font-size: 16px; }
}
