@font-face {
  font-family: NexusIcons;
  src: url('/assets/interface.woff2') format('woff2');
  font-display: block;
}
:root {
  --ink: #28221e;
  --brown: #683808;
  --deep: #362a20;
  --copper: #a37048;
  --sand: #ddbe99;
  --pale: #f6f3ed;
  --line: #dcd5ca;
  --muted: #625e58;
  --serif: 'Source Serif 4 Variable', Georgia, serif;
  --sans: 'Source Sans 3 Variable', Arial, sans-serif;
  color: var(--ink);
  font: 400 17px/1.54 var(--sans);
  background: #fffdf9;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
figure {
  margin: 0;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--brown);
}
button,
input,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a56827;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.3rem);
}
h3 {
  font-size: 1.45rem;
}
.wrap {
  width: min(1370px, calc(100% - clamp(38px, 9vw, 150px)));
  margin-inline: auto;
}
.section {
  padding-block: clamp(52px, 6vw, 95px);
}
.ic {
  font-family: NexusIcons;
  font-weight: normal;
  display: inline-block;
  line-height: 1;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  position: fixed;
  z-index: 100;
  background: white;
  padding: 12px;
}
.utility {
  background: #38281d;
  color: #f0dfcc;
  font-size: 0.84rem;
}
.utility .wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.utility a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}
.utility a:hover {
  text-decoration: underline;
}
.mast {
  background: #fffdf9;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.mast-row,
.mast-nav,
.tools,
.langs {
  display: flex;
  align-items: center;
}
.mast-row {
  gap: clamp(16px, 2.4vw, 38px);
  min-height: 83px;
}
.brand {
  margin-right: auto;
  flex-shrink: 0;
}
.brand img {
  width: clamp(147px, 14vw, 209px);
  height: auto;
}
.mast-nav {
  gap: clamp(13px, 1.8vw, 28px);
}
.mast-nav a,
.mast-nav summary,
.tools a {
  text-decoration: none;
}
.mast-nav > a,
.mast-nav summary {
  font-size: 1rem;
  font-weight: 590;
  white-space: nowrap;
  padding-block: 12px;
}
.mast-nav [aria-current='page'] {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.navdrop {
  position: relative;
}
.navdrop summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.42rem;
}
.navdrop summary::-webkit-details-marker {
  display: none;
}
.nav-chevron {
  flex: none;
  color: #795439;
}
.navdrop[open] > summary .when-closed {
  display: none;
}
.navdrop[open] > summary .when-open {
  display: inline;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 205px;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  box-shadow: 0 12px 25px #412f1d21;
  padding: 8px;
  z-index: 5;
}
.dropdown.wide {
  width: 365px;
}
.dropdown a {
  display: block;
  padding: 7px 12px;
  font-size: 0.96rem;
}
.dropdown a:hover,
.dropdown a:focus-visible {
  background: #f3ede4;
}
.tools {
  gap: 14px;
  border-left: 1px solid var(--line);
  padding-left: 17px;
}
.langs {
  gap: 7px;
  font-size: 0.85rem;
}
.langs [aria-current] {
  color: var(--brown);
  font-weight: 750;
}
.langs a {
  color: var(--muted);
}
.tools .search-link {
  padding: 7px;
}
.langs a,
.langs span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.mast button {
  border: 0;
  background: none;
}
#menu-button {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #302920;
  color: #fff9ec;
}
.hero picture,
.hero picture img,
.hero:after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero picture img {
  object-fit: cover;
  object-position: 62% center;
}
.hero:after {
  content: '';
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(29, 23, 18, 0.94) 0%,
    rgba(34, 29, 24, 0.84) 30%,
    rgba(37, 32, 25, 0.53) 52%,
    rgba(38, 33, 28, 0.08) 78%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  min-height: clamp(460px, 40vw, 620px);
  display: grid;
  align-items: center;
  padding-block: 52px;
}
.hero-inner {
  max-width: 45rem;
}
.kicker {
  font: 650 0.82rem/1.3 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #815c3c;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.kicker:before {
  content: '';
  width: 30px;
  height: 2px;
  background: currentColor;
}
.hero .kicker {
  color: #f1d7ae;
  margin-bottom: 19px;
}
.hero h1 {
  font-size: clamp(3.3rem, 6.2vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: initial;
}
.hero-lead {
  font-size: clamp(1.03rem, 1.35vw, 1.29rem);
  max-width: 44ch;
  line-height: 1.5;
  margin: 21px 0 24px;
  color: #fcf5e9;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.btn,
.text-link {
  font: 650 1rem/1.25 var(--sans);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 47px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.btn.brass {
  color: #352417;
  background: #ebcba5;
}
.btn.brass:hover {
  background: #f9dcb8;
}
.btn.glass {
  color: white;
  border-color: #baafa4;
  background: #2f271c60;
}
.btn.glass:hover {
  background: #3d332c;
}
.btn.dark {
  background: #55321b;
  color: white;
}
.btn.dark:hover {
  background: #372419;
}
.text-link {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.section-title h2 {
  margin-top: 8px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 25px);
}
.product-card {
  min-width: 0; display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  background: #fffefa; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none;
}
.product-image { overflow: hidden; background: #f3efea; position: relative; min-height: 188px; }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-caption { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: clamp(16px,1.6vw,26px); }
.product-caption h3 { font-size: clamp(1.2rem,1.65vw,1.58rem); color: var(--deep); }
.product-caption p { color: var(--muted); font-size: .97rem; line-height: 1.44; }
.card-action { margin-top: auto; padding-top: 6px; display: inline-flex; gap: 9px; align-items: center; font-weight: 650; font-size: .86rem; color: var(--brown); }
.card-action .ui-icon { width: 16px; }
.product-card:hover {
  border-color: #a48466;
  box-shadow: 0 7px 17px #49342015;
}
.spotlight {
  background: #eee9df;
  border-block: 1px solid var(--line);
  padding-block: clamp(32px, 4vw, 62px);
}
.spot-grid,
.split,
.product-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(22px, 5vw, 84px);
}
.spot-img img,
.detail-photo img,
.company-photos img,
.layer-detail img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}
.spot-img img {
  aspect-ratio: 1.8;
}
.spot-copy h2 {
  margin: 12px 0;
}
.spot-copy p:not(.kicker) {
  margin-bottom: 18px;
  max-width: 52ch;
}
.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: #3d3025;
  color: #fff6e9;
  border-radius: 6px;
  padding: clamp(25px, 4vw, 56px);
}
.contact-band h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.65rem);
}
.contact-band p {
  margin-top: 7px;
  color: #eadfce;
}
.contact-band .btn {
  flex: none;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-block: 20px;
  font-size: 0.87rem;
  color: var(--muted);
}
.crumb a {
  color: var(--brown);
}
.inner {
  padding-block: 16px clamp(46px, 6vw, 85px);
}
.intro {
  margin-bottom: 28px;
  max-width: 58rem;
}
.intro h1 {
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  letter-spacing: -0.035em;
}
.intro p {
  max-width: 66ch;
  margin-top: 15px;
  color: var(--muted);
  font-size: 1.13rem;
}
.product-lead {
  border-block: 1px solid var(--line);
  padding-block: 24px 30px;
}
.detail-photo {
  position: relative;
}
.detail-photo img {
  aspect-ratio: 1.58;
}
.detail-photo a > span {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #fff9ee;
  padding: 7px 12px;
  border-radius: 4px;
}
.reading {
  max-width: 80ch;
}
.inner > .subsection,
.inner > .reading,
.inner > .layer-detail,
.inner > .contact-band,
.inner > .product-grid:not(:first-child) {
  margin-top: 34px;
}
.subsection h2 {
  margin-bottom: 17px;
}
.text-section {
  margin-bottom: 24px;
}
.text-section h2,
.note h2,
.info-panel h2,
.form-panel h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
  margin-bottom: 10px;
}
.text-section p + p {
  margin-top: 9px;
}
.text-section p,
.note p {
  line-height: 1.7;
}
.note {
  padding: 20px 24px;
  border-left: 3px solid #a57247;
  background: #f1ece3;
}
.layer-detail {
  max-width: 630px;
}
.layer-detail figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 8px;
}
.gallery,
.company-photos {
  display: grid;
  gap: 12px;
}
.company-photos img {
  max-height: 320px;
}
.split {
  align-items: start;
}
.company-story .actions {
  margin-top: 18px;
}
.gallery {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 18px;
}
.gallery img {
  width: 100%;
  height: auto;
}
.info-panel,
.form-panel {
  padding: clamp(18px, 3vw, 32px);
  border-radius: 7px;
  border: 1px solid var(--line);
}
.info-panel {
  background: var(--pale);
}
.info-panel address {
  font-style: normal;
  margin: 1em 0;
}
.info-panel dl,
dialog dl {
  margin: 18px 0;
}
.info-panel dt,
dialog dt {
  font-weight: 700;
}
.info-panel dd,
dialog dd {
  margin: 0 0 12px;
}
.form-panel label,
.search-form label {
  font-weight: 600;
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
}
.form-panel form {
  margin-top: 20px;
}
.form-panel input,
.form-panel textarea,
.search-form input {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid #a39b8c;
  border-radius: 3px;
  background: #fff;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-panel textarea {
  resize: vertical;
}
.enquiry-field { min-width: 0; margin-bottom: 16px; }
.enquiry-field label { display: block; margin-bottom: 5px; }
.enquiry-field :is(input,textarea) { display: block; font-weight: 400; }
.enquiry-field [aria-invalid="true"] { border-color: #9b362c; box-shadow: inset 3px 0 #9b362c; }
.enquiry-field .field-error { margin: 5px 0 0; font-size: .91rem; line-height: 1.4; color: #82271f; }
.enquiry-feedback p:not(:empty) { margin-top: 12px; }
.enquiry-feedback a { color: var(--brown); font-weight: 600; }
.search-form {
  max-width: 650px;
}
.search-form > div {
  display: flex;
  gap: 8px;
}
.directory {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
}
.directory li {
  border-block-end: 1px solid var(--line);
  padding: 12px 0;
}
.directory a {
  font-weight: 650;
}
.directory p {
  font-size: 0.95rem;
  margin-top: 3px;
  color: var(--muted);
}
footer {
  background: #2d271f;
  color: #efe7d9;
  font-size: 0.93rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr 0.65fr;
  gap: clamp(16px, 3vw, 45px);
  padding-block: 48px;
}
.foot-grid h2 {
  font: 650 1rem var(--sans);
  margin: 0 0 12px;
  color: #f7ddbb;
}
.foot-grid a {
  display: block;
  color: inherit;
  text-decoration: none;
  margin: 5px 0;
}
.foot-grid a:hover,
.foot-end a:hover,
.foot-end button:hover {
  text-decoration: underline;
  color: white;
}
.foot-grid p {
  max-width: 36ch;
  color: #d7cebe;
}
.foot-id img {
  width: 175px;
  height: auto;
  margin-bottom: 16px;
}
.foot-end {
  border-top: 1px solid #5f5445;
  display: flex;
  align-items: center;
  gap: 10px 24px;
  flex-wrap: wrap;
  padding-block: 16px;
}
.foot-end span {
  margin-right: auto;
}
.foot-end button {
  border: 0;
  background: none;
  text-decoration: underline;
  color: inherit;
  padding: 4px 0;
}
.privacy,
dialog {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 9px;
  box-shadow: 0 8px 35px #30271929;
}
.privacy {
  position: fixed;
  bottom: max(12px, env(safe-area-inset-bottom));
  right: max(12px, env(safe-area-inset-right));
  z-index: 20;
  width: min(516px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 15px 17px;
  border-top: 3px solid #976539;
}
.privacy-body,
.dialog-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.privacy-body > .ic {
  padding: 9px;
  border-radius: 5px;
  background: #f4eee5;
  color: var(--brown);
}
.privacy h2,
dialog h2 {
  font: 650 1.06rem var(--sans);
}
.privacy p {
  font-size: 0.91rem;
  margin-top: 3px;
  color: #575249;
}
.privacy-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.privacy-actions button,
.dialog-heading button {
  background: white;
  border: 1px solid #b7a58c;
  border-radius: 4px;
  min-height: 42px;
  padding: 5px 10px;
  font-size: 0.91rem;
  font-weight: 600;
}
.privacy-actions button {
  flex: 1;
}
.privacy-actions button:hover {
  background: #f3ede4;
}
dialog {
  width: min(490px, calc(100% - 24px));
  padding: 23px;
}
dialog::backdrop {
  background: #16120f80;
}
.dialog-heading {
  justify-content: space-between;
  align-items: center;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: no-preference) {
  main {
    animation: page-in 0.27s ease-out both;
  }
  @keyframes page-in {
    from {
      opacity: 0.45;
      transform: translateY(3px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  .hero-inner,
  .dropdown {
    animation: rise 0.35s ease-out both;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(7px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  .product-image img {
    transition: transform 0.45s ease;
  }
  .product-card:hover .product-image img {
    transform: scale(1.035);
  }
  .btn,
  a {
    transition:
      background-color 0.16s ease,
      color 0.16s ease,
      border-color 0.16s ease;
  }
}
@media (max-width: 1050px) {
  .mast-row {
    flex-wrap: wrap;
    gap: 10px 14px;
    min-height: 70px;
    padding-block: 10px;
  }
  .js #menu-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
  }
  .mast-nav {
    order: 4;
    flex: 1 0 100%;
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  .js .mast-nav:not(.mobile-open) {
    display: none;
  }
  .mast-nav.mobile-open {
    display: grid;
    gap: 0;
    padding-block: 8px;
  }
  .mobile-open > a,
  .mobile-open summary {
    border-bottom: 1px solid var(--line);
  }
  .dropdown,
  .dropdown.wide {
    position: static;
    width: auto;
    min-width: 0;
    box-shadow: none;
    border: 0;
    background: #f1ede6;
  }
  .tools {
    padding-left: 10px;
    gap: 6px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 690px) {
  .utility-right {
    display: none;
  }
  .hero-content {
    min-height: 418px;
  }
  .hero:after {
    background: linear-gradient(90deg, #211b16eb, #211b16c7 55%, #211b165c);
  }
  .hero h1 {
    font-size: clamp(2.8rem, 9.9vw, 4.2rem);
  }
  .hero-lead {
    font-size: 1.06rem;
    max-width: 34ch;
  }
  .spot-grid,
  .split,
  .product-lead {
    grid-template-columns: 1fr;
  }
  .product-lead .detail-photo {
    grid-row: 2;
  }
  .spot-copy {
    padding-bottom: 6px;
  }
  .contact-band,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .product-caption {
    padding: 12px 10px;
  }
  .product-caption .ic {
    display: none;
  }
  .fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .directory {
    grid-template-columns: 1fr;
  }
  .foot-end span {
    flex-basis: 100%;
  }
  .inner {
    padding-top: 2px;
  }
  .intro {
    margin-bottom: 21px;
  }
  .foot-grid {
    gap: 22px;
  }
  .privacy-actions {
    gap: 5px;
  }
  .privacy-actions button {
    padding: 5px;
  }
  .brand img {
    width: 130px;
  }
}
@media (max-width: 400px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .mast-row {
    gap: 5px;
  }
  .tools {
    padding-left: 6px;
  }
  .langs {
    gap: 5px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .product-caption h3 {
    font-size: 1.1rem;
  }
  .btn {
    padding: 11px 15px;
  }
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
}
.archive-photo {
  display: block;
  color: var(--brown);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
}
.archive-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
}
.archive-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-weight: 620; color: var(--deep); padding: 12px 14px; background: #f5f0e8;
}
.archive-caption .ui-icon { width: 17px; color: var(--brown); }
.archive-photo:hover {
  text-decoration: underline;
}
.trap {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-panel button:disabled {
  opacity: 0.65;
}

.ui-icon { flex: none; vertical-align: middle; }
.mast-nav a, .mast-nav summary { display: flex; gap: .44rem; align-items: center; }
.mast-nav .ui-icon { width: 17px; height: 17px; color: #7e5738; }
.mast-nav .dropdown .ui-icon { width: 20px; height: 20px; margin-right: 3px; }
.foot-grid .social-link, .info-panel .social-link { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 40px; text-decoration: none; }
.social-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: #f0e3d1; }
.social-mark img { width: 17px; height: 17px; }
.social-link:hover .social-mark, .social-link:focus-visible .social-mark { background: #fff7e9; }
html:has(#photo-viewer[open]) { overflow: hidden; }
#photo-viewer {
  width: min(980px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0;
  border: 1px solid #706050; border-radius: 12px; background: #f9f6f0; color: var(--deep);
  box-shadow: 0 24px 80px #17110e50; overflow: auto; overscroll-behavior: contain;
}
#photo-viewer::backdrop { background: #211a15df; }
.viewer-head, .viewer-info { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 8px 18px; }
.viewer-head { background: #322b24; color: #fff7eb; }
.viewer-head h2 { font: 500 1.13rem var(--serif); }
.viewer-stage { display: grid; place-items: center; background: #211e1b; height: min(59dvh, 580px); touch-action: pan-y pinch-zoom; }
.viewer-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.viewer-info { padding-block: 10px; }
.viewer-arrows, .viewer-label { display: flex; align-items: center; gap: 8px; }
.viewer-label { flex-wrap: wrap; gap: 5px 12px; line-height: 1.25; }
.viewer-count { font-variant-numeric: tabular-nums; font-size: .87rem; color: var(--muted); white-space: nowrap; }
.viewer-caption { font: 550 1.07rem var(--serif); }
#photo-viewer [data-view] {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  background: transparent; border: 1px solid #c4b49e; border-radius: 50%; color: inherit;
}
#photo-viewer [data-view=close] { border-color: #786c60; }
#photo-viewer [data-view]:hover { background: #e9dfd2; color: var(--deep); }
.viewer-thumbs { display: flex; gap: 7px; overflow-x: auto; overscroll-behavior-x: contain; padding: 5px 16px 11px; border-top: 1px solid var(--line); scrollbar-width: thin; }
.viewer-thumbs button { flex: none; background: none; padding: 2px; border: 2px solid transparent; border-radius: 5px; width: 62px; height: 47px; }
.viewer-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.viewer-thumbs [aria-pressed=true] { border-color: var(--brown); }
@media (min-width: 691px) and (max-width: 1000px) {
  .product-card { grid-template-columns: 1fr; }
  .product-image { min-height: 0; aspect-ratio: 2.15; }
}
@media (max-width: 690px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); }
  .product-caption { padding: 14px; }
  .product-image { min-height: 145px; }
  .viewer-stage { height: min(51dvh, 440px); }
  .viewer-info, .viewer-head { padding-inline: 12px; }
  .viewer-label { display: grid; }
  #photo-viewer { width: calc(100% - 16px); }
}
@media (max-height: 480px) and (orientation: landscape) {
  .viewer-stage { height: calc(100dvh - 143px); }
  .viewer-thumbs { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  #photo-viewer[open] { animation: rise .18s ease-out; }
}
