/* ============================================================
   Maharaj Furniture - refined styles
   Same layout and colours as the original site (stucco, terracotta,
   walnut from the Tech Town House), with a darker top bar, Playfair
   Display + Lato, light paper grain and calmer details.
   ============================================================ */

:root {
  --cream: #f6f1ea;
  --stucco: #ebdfcf;
  --walnut: #2e2019;
  --walnut-2: #3d2b21;
  --terracotta: #a2533a;
  --terracotta-soft: #d9a189;
  --ink: #231a15;
  --muted: #76695e;
  --line: #d9ccbb;
  --on-dark: #f3ebe0;
  --on-dark-muted: #b9a998;

  --display: "Playfair Display", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px -18px rgba(46, 32, 25, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--terracotta); color: var(--on-dark); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button { touch-action: manipulation; }
p { margin: 0 0 1em; }

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--walnut); color: var(--on-dark);
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Label: small muted text above a value */
.label {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 .4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: 2px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { opacity: .85; }
.btn-light { background: var(--on-dark); color: var(--walnut); border-color: var(--on-dark); }
.btn-light:hover { background: transparent; color: var(--on-dark); }
.btn-ghost { color: var(--on-dark); border-color: rgba(243, 235, 224, .55); }
.btn-ghost:hover { background: var(--on-dark); color: var(--walnut); border-color: var(--on-dark); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s;
}
.text-link:hover { color: var(--terracotta); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--walnut);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(243, 235, 224, .1);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 78px;
}
.nav { display: flex; gap: 34px; align-items: center; }
.nav-right { justify-content: flex-end; }
.nav a {
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease), color .2s;
}
.nav a:hover { background-size: 100% 1px; }
.nav .nav-cta {
  padding: 9px 18px 8px;
  background: var(--terracotta);
  color: var(--on-dark);
  border-radius: 2px;
  transition: background-color .25s;
}
.nav .nav-cta:hover { background: #b8654a; background-size: 0 1px; }

.wordmark { display: block; text-decoration: none; line-height: 1; }
.wordmark img { height: 54px; width: auto; }
.footer-logo { height: 30px; width: auto; }

.nav-toggle, .mobile-nav { display: none; }

/* ---------- hero slider ---------- */

.hero {
  position: relative;
  height: calc(100svh - 78px);
  min-height: 520px;
  max-height: 940px;
  color: var(--on-dark);
  overflow: hidden;
  background: var(--walnut);
}
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity 1.4s ease; }
.slide.is-active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide figcaption { display: none; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 20% 100%, rgba(28, 19, 14, .85) 0%, rgba(28, 19, 14, .4) 45%, transparent 75%),
    linear-gradient(to top, rgba(28, 19, 14, .45), rgba(28, 19, 14, .08) 60%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(96px, 14vh, 160px);
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 1.06;
  max-width: 15em;
}
.hero-place { font-size: 1rem; margin: 0 0 1rem; opacity: .9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }

.hero-foot {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-foot p {
  margin: 0;
  font-size: .85rem;
  letter-spacing: .04em;
  opacity: .85;
}
.slide-controls { display: flex; align-items: center; gap: 16px; font-variant-numeric: tabular-nums lining-nums; font-size: .9rem; letter-spacing: .06em; }
.slide-controls button {
  width: 42px; height: 42px;
  background: none;
  border: 1px solid rgba(243, 235, 224, .45);
  border-radius: 50%;
  color: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.slide-controls button:hover { background: var(--on-dark); color: var(--walnut); border-color: var(--on-dark); }

/* ---------- intro ---------- */

.intro { padding: var(--section) 0 calc(var(--section) * 1.1); }
.intro-inner { max-width: 1060px; }
.statement {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.1vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 3rem;
  text-wrap: balance;
}
.intro-text {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36em;
  margin: 0 0 0 auto;
  text-wrap: pretty;
}
.contact-note { color: var(--on-dark-muted); max-width: 26em; margin: -1.2rem 0 2.2rem; }

/* ---------- rooms ---------- */

.spaces { padding-bottom: var(--section); }
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 40px;
}
.space-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.space {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  color: var(--on-dark);
  text-decoration: none;
  background: var(--stucco);
}
.space img { width: 100%; height: 100%; object-fit: cover; }
.space::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 19, 14, .62), transparent 52%);
}
.space span {
  position: absolute;
  left: 22px; right: 22px; bottom: 18px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
}
.space:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* ---------- featured project ---------- */

.project { padding-bottom: var(--section); background: var(--stucco); }
.project-banner {
  position: relative;
  height: clamp(420px, 70vh, 760px);
  color: var(--on-dark);
  overflow: hidden;
}
.project-banner img { width: 100%; height: 100%; object-fit: cover; }
.project-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 80% at 15% 100%, rgba(28, 19, 14, .75), transparent 65%);
}
.project-banner-text {
  position: absolute;
  left: 0; right: 0; bottom: clamp(36px, 6vw, 70px);
  z-index: 1;
}
.project-banner h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.banner-meta { margin: 14px 0 0; font-size: 1rem; opacity: .85; }

.project-info {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
}
.project-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
  max-width: 30em;
  text-wrap: pretty;
}
.project-meta { margin: 0; }
.project-meta div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.project-meta div:last-child { border-bottom: 1px solid var(--line); }
.project-meta dt { color: var(--muted); }
.project-meta dd { margin: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}
.card { margin: 0; }
.card--wide { grid-column: span 2; }
.card-open {
  all: unset;
  display: block;
  width: 100%;
  height: clamp(240px, 26vw, 400px);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--line);
}
.card-open img { width: 100%; height: 100%; object-fit: cover; }
.card-open:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.card figcaption {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding-top: 10px;
  font-size: .9rem;
  color: var(--muted);
}
.more-note { margin: 56px 0 0; color: var(--muted); }

/* ---------- products ---------- */

.products { padding: var(--section) 0; }
.products .head-row { align-items: flex-end; flex-wrap: wrap; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  min-height: 40px;
  padding: 8px 16px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font: 700 .9rem/1 var(--sans);
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filters button:hover { border-color: var(--walnut); }
.filters button[aria-pressed="true"] { background: var(--walnut); border-color: var(--walnut); color: var(--on-dark); }

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 44px 20px;
}
.product.is-wide { grid-column: span 2; }
.product[hidden] { display: none; }
.product-media {
  position: relative;
  height: clamp(380px, 38vw, 560px);
  overflow: hidden;
  background: #e6ddd3;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media.is-spinning img { object-fit: contain; transform: none; }

.spin-btn {
  position: absolute;
  top: 12px; left: 12px;
  padding: 7px 11px 6px;
  background: rgba(246, 241, 234, .92);
  border: 0;
  border-radius: 2px;
  color: var(--walnut);
  font: 700 .72rem/1 var(--sans);
  letter-spacing: .08em;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.spin-btn[aria-pressed="true"] { background: var(--walnut); color: var(--on-dark); }

.product-body { padding-top: 18px; }
.product-body .label { margin-bottom: .2rem; }
.product h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0 0 .5rem;
}
.product-note { color: var(--muted); font-size: .95rem; line-height: 1.6; margin-bottom: 1rem; max-width: 38em; }

.product-media > a { display: block; height: 100%; }
.product h3 a { text-decoration: none; }
.product h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.product-grid .product-note {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-cta {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(32px, 4vw, 56px);
  background: var(--walnut);
  color: var(--on-dark);
  min-height: clamp(380px, 38vw, 560px);
}
.product-cta[hidden] { display: none; }
.product-cta h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.15; margin: 0 0 1rem; max-width: 14em; }
.product-cta p { color: var(--on-dark-muted); max-width: 32em; margin-bottom: 1.8rem; }

/* ---------- single product page ---------- */

.pd { padding: clamp(28px, 4vw, 48px) 0 var(--section); }
.crumbs { display: flex; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: clamp(24px, 3vw, 40px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--terracotta); }
.pd-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.pd-media { position: relative; margin: 0; width: fit-content; max-width: 100%; justify-self: center; }
.pd-media img { width: auto; max-width: 100%; max-height: 80vh; }
.pd-zoom-open { all: unset; display: block; cursor: zoom-in; }
.pd-zoom-open:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.pd-media::after {
  content: "Click to enlarge";
  position: absolute;
  right: 14px; bottom: 14px;
  padding: 6px 10px 5px;
  background: rgba(246, 241, 234, .9);
  color: var(--walnut);
  font: 700 .8rem/1 var(--sans);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.pd-media:hover::after { opacity: 1; }

.zoom {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(24, 17, 13, .96);
  color: var(--on-dark);
  overscroll-behavior: contain;
}
.zoom[hidden] { display: none; }
.zoom-stage {
  position: absolute;
  inset: 60px 20px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.zoom-stage img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px);
  object-fit: contain;
  cursor: zoom-in;
  transition: transform .35s var(--ease);
}
.zoom-stage.is-zoomed img { cursor: zoom-out; transition: transform .35s var(--ease), transform-origin .12s linear; }
.zoom-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: inherit; font: 700 .95rem/1 var(--sans); cursor: pointer; padding: 12px; }
.zoom-hint { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center; font-size: .85rem; color: var(--on-dark-muted); }
@media (hover: none) { .pd-media::after { content: "Tap to enlarge"; opacity: 1; } }

.pd-info { position: sticky; top: 110px; padding-top: 8px; }
.pd-info h1 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); margin: 0 0 1.2rem; }
.pd-note { font-size: 1.08rem; line-height: 1.8; color: #4b3f37; max-width: 32em; }
.pd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin: 2rem 0 2.6rem; }
.btn-dark { background: var(--walnut); color: var(--on-dark); border-color: var(--walnut); }
.btn-dark:hover { background: var(--terracotta); border-color: var(--terracotta); }
.pd-facts { margin: 0; }
.pd-facts div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.pd-facts div:last-child { border-bottom: 1px solid var(--line); }
.pd-facts dt { color: var(--muted); }
.pd-facts dd { margin: 0; }
.pd-more { background: var(--stucco); padding: var(--section) 0; }
.pd-more h2 { margin-bottom: 36px; }
.pd-more .product-media { height: clamp(300px, 30vw, 440px); }

/* ---------- home visit band ---------- */

.visit-band {
  position: relative;
  background: var(--terracotta);
  color: var(--on-dark);
  padding: clamp(64px, 8vw, 110px) 0 clamp(72px, 9vw, 124px);
  overflow: hidden;
}
.band-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: end; }
.band-lead { font-size: 1.05rem; margin: 0 0 .8rem; }
.visit-band h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.band-text p { margin-bottom: 1.8rem; max-width: 30em; }
.visit-band .btn-light:hover { color: var(--on-dark); }

/* ---------- contact ---------- */

.contact { background: var(--walnut); color: var(--on-dark); padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); }
.contact h2 { margin-bottom: 2.4rem; }
.contact .label { color: var(--on-dark-muted); margin-bottom: 4px; }
.detail { margin-bottom: 26px; }
.detail address, .detail p { font-style: normal; margin: 0 0 8px; }
.detail a:not(.text-link) { text-decoration: none; }
.big-link { font-family: var(--display); font-size: 2.1rem; font-variant-numeric: lining-nums tabular-nums; transition: color .2s; }
.big-link:hover { color: var(--terracotta-soft); }
.socials { list-style: none; margin: 0; padding: 0; }
.map { min-height: 420px; background: var(--walnut-2); display: flex; }
.map-fallback { align-self: flex-end; padding: clamp(28px, 4vw, 56px); }
.map-fallback .label { color: var(--on-dark-muted); }
.map-line { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.3; margin-bottom: 2rem; max-width: 16em; }
@media (max-width: 1000px) { .map { min-height: 0; } }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.4) sepia(.15) contrast(1.05); }

/* ---------- footer ---------- */

.site-footer { background: #1f1510; color: var(--on-dark-muted); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
.footer-inner p { margin: 0; }
.footer-inner a { text-decoration: none; transition: color .2s; }
.footer-inner a:hover { color: var(--on-dark); }

/* ---------- floating WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 60;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--terracotta);
  color: var(--on-dark);
  box-shadow: var(--shadow);
}
.wa-float svg { width: 26px; height: 26px; }
@media (min-width: 1001px) { .wa-float { display: none !important; } }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(24, 17, 13, .95);
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  color: var(--on-dark);
  overscroll-behavior: contain;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; object-fit: contain; }
.lightbox figcaption { margin-top: 14px; font-size: .95rem; }
.lb-close, .lb-nav { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.lb-close { position: absolute; top: 20px; right: 24px; font-size: .95rem; }
.lb-nav { font-size: 1.8rem; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
}

/* ============================================================
   Tablet
   ============================================================ */

@media (max-width: 1000px) {
  .nav { display: none; }
  .header-inner { grid-template-columns: 44px 1fr 44px; }
  .wordmark { grid-column: 2; justify-self: center; }
  .nav-toggle {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 24px; height: 1.5px; margin-left: auto; background: var(--on-dark); transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: calc(100dvh - 78px);
    padding: 16px var(--gutter);
    background: var(--walnut);
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; }
  .mobile-nav a {
    padding: 16px 0;
    font-family: var(--display);
    font-size: 1.8rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(243, 235, 224, .12);
  }
  .mobile-nav a:last-child { color: var(--terracotta-soft); }

  .hero-foot { padding-right: 90px; }
  .space-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-info { position: static; }
  .project-info, .band-inner, .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Phone
   ============================================================ */

@media (max-width: 640px) {
  .header-inner { height: 68px; }
  .wordmark img { height: 38px; }
  .mobile-nav { height: calc(100dvh - 68px); }

  .hero { height: calc(100svh - 68px); }
  .hero-content { bottom: 100px; }
  .hero-actions .btn { padding: 13px 20px 12px; }
  .slide-caption { display: none; }
  .hero-foot { justify-content: flex-end; }

  .intro-text { margin-left: 0; }

  .space-grid { gap: 10px; }
  .space span { left: 14px; right: 14px; bottom: 12px; font-size: 1.25rem; }

  .project-meta div { grid-template-columns: 6em 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .product-grid { gap: 32px 12px; }
  .product-media { height: auto; aspect-ratio: 4 / 5; }
  .product.is-wide .product-media { aspect-ratio: 3 / 2; }
  .product h3 { font-size: 1.2rem; }
  .product-note { font-size: .88rem; }
  .card--wide { grid-column: auto; }
  .card-open { height: auto; aspect-ratio: 4 / 3; }

  .footer-inner { flex-direction: column; text-align: center; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
}
