
.catalog-page .site-header { position: sticky; top: 0; }
.catalog-page .brand-name { font-size: 30px; }

.catalog-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(31, 27, 24, .94), rgba(16, 14, 13, .98));
}
.catalog-hero-content { padding-top: 30px; padding-bottom: 32px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { color: var(--brand-color); outline: none; }
.catalog-hero h1 { margin-bottom: 10px; font-size: clamp(54px, 6vw, 78px); line-height: .9; }
.catalog-hero-content > p:last-child { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; }

.catalog-filter-section { padding-top: 32px; }
.catalog-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), var(--bg-soft));
}
.catalog-controls label { display: grid; gap: 7px; min-width: 0; }
.catalog-controls label > span { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.catalog-controls select {
  width: 100%; min-width: 0; height: 48px; padding: 0 34px 0 12px;
  border: 1px solid var(--line); border-radius: 0; background: #171411; color: var(--text); font: inherit; font-size: 13px;
}
.catalog-controls select:focus-visible, .catalog-reset:focus-visible { border-color: var(--brand-color); outline: none; }
.catalog-controls option:disabled { color: #6d665f; }
.catalog-reset { min-width: 112px; height: 48px; padding: 0 14px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.catalog-reset:hover { border-color: var(--brand-color); color: var(--brand-color); }
.catalog-results { width: min(var(--max-width), calc(100% - (var(--page-gutter) * 2))); min-height: 26px; margin: 12px auto 0; color: var(--muted); font-size: 13px; text-align: right; }

.catalog-products { display: grid; gap: 34px; padding-top: 12px; }
.catalog-product {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
  padding: 22px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 14% 15%, rgba(208,181,119,.06), transparent 32%), linear-gradient(145deg, rgba(30,26,23,.97), rgba(16,14,13,.95));
  box-shadow: var(--shadow);
}
.catalog-product[hidden] { display: none !important; }
.product-media { display: grid; gap: 12px; width: 100%; max-width: 390px; }
.product-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, .48fr); gap: 8px; min-width: 0; }
.product-small-photos { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; min-height: 0; }
.product-photo { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; padding: 0; border: 1px solid var(--line); background: #171411; cursor: zoom-in; }
.product-main-photo { aspect-ratio: 1206 / 2622; }
.product-photo picture, .product-photo img { display: block; width: 100%; height: 100%; }
.product-photo img { object-fit: cover; }
.product-photo::after { content: ''; position: absolute; inset: 0; border: 1px solid transparent; pointer-events: none; transition: border-color .2s ease, background .2s ease; }
.product-photo:hover::after, .product-photo:focus-visible::after { border-color: var(--brand-color); background: rgba(208,181,119,.035); }
.product-photo:focus-visible { outline: none; }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 6px 8px; border: 1px solid var(--line); background: rgba(12,10,9,.78); color: #eee7dd; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.product-price { padding: 14px 16px; border: 1px solid var(--line); background: rgba(12,10,9,.6); }
.product-price strong { color: var(--brand-color); font-family: 'Cormorant', Georgia, serif; font-size: 32px; line-height: 1; }
.product-copy { align-self: start; padding-top: 8px; }
.product-copy h2 { margin-bottom: 16px; font-size: clamp(48px, 4.7vw, 66px); line-height: .9; }
.product-description { max-width: 760px; margin-bottom: 22px; color: #ddd4ca; font-size: 17px; line-height: 1.62; }
.product-specs { max-width: 720px; margin: 0; border-top: 1px solid var(--line); }
.product-specs > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.product-specs dt { color: var(--muted); font-size: 13px; }
.product-specs dd { margin: 0; color: #f0e9e0; font-size: 15px; }

.catalog-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; margin-top: 76px; margin-bottom: 96px; padding: 38px; border: 1px solid var(--line); background: linear-gradient(145deg, var(--panel), var(--bg-soft)); }
.catalog-contact h2 { margin-bottom: 12px; font-size: clamp(38px, 4vw, 58px); line-height: .96; }
.catalog-contact p:last-child { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; }
.catalog-contact .phone-large { margin: 0; white-space: nowrap; }

.catalog-lightbox { width: min(1160px, calc(100% - 26px)); max-width: none; max-height: calc(100dvh - 26px); padding: 0; border: 1px solid var(--line-strong); background: #100e0d; color: var(--text); box-shadow: 0 30px 100px rgba(0,0,0,.72); }
.catalog-lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(7px); }
.catalog-lightbox-box { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: calc(100dvh - 28px); }
.catalog-lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.catalog-lightbox-head > div { min-width: 0; }
.catalog-lightbox-head h2 { overflow: hidden; margin: 0; font-size: 26px; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.catalog-lightbox-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.catalog-lightbox-head button { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 0 0 3px; border: 1px solid var(--line); background: transparent; color: var(--brand-color); font-size: 28px; line-height: 1; cursor: pointer; }
.catalog-lightbox-stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; background: #0b0908; touch-action: pan-y; }
.catalog-lightbox-stage > img { width: 100%; height: calc(100dvh - 145px); object-fit: contain; }
.lightbox-arrow { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 52px; height: 70px; padding: 0; transform: translateY(-50%); border: 1px solid var(--line); background: rgba(12,10,9,.74); color: var(--brand-color); font-size: 30px; cursor: pointer; }
.lightbox-prev { left: 12px; } .lightbox-next { right: 12px; }
.lightbox-help { margin: 0; padding: 9px 15px 11px; color: var(--muted); font-size: 12px; text-align: center; }
body.lightbox-open { overflow: hidden; }

body.accessible .catalog-product, body.accessible .product-price, body.accessible .catalog-controls { background: #000; }

@media (max-width: 1180px) {
  .catalog-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-reset { width: 100%; }
}
@media (max-width: 820px) {
  .catalog-page .brand-name { font-size: 26px; }
  .catalog-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-product { grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: 24px; padding: 17px; }
  .product-media { max-width: 340px; }
  .catalog-contact { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 650px) {
  .catalog-hero-content { padding-top: 22px; padding-bottom: 24px; }
  .catalog-hero h1 { font-size: 52px; }
  .catalog-filter-section { padding-top: 20px; }
  .catalog-controls { grid-template-columns: 1fr; padding: 14px; }
  .catalog-results { text-align: left; }
  .catalog-products { gap: 26px; }
  .catalog-product { grid-template-columns: 1fr; padding: 11px; }
  .product-media { max-width: 320px; margin-inline: auto; }
  .product-gallery { grid-template-columns: minmax(0, 1fr) minmax(70px, .48fr); gap: 7px; }
  .product-small-photos { gap: 7px; }
  .product-price strong { font-size: 29px; }
  .product-copy { padding: 5px 4px 4px; }
  .product-copy h2 { font-size: 48px; }
  .product-specs > div { grid-template-columns: 1fr; gap: 4px; }
  .catalog-contact { margin-top: 56px; margin-bottom: 76px; padding: 24px 20px; }
  .catalog-contact .phone-large { white-space: normal; font-size: 28px; }
  .catalog-lightbox { width: 100%; max-height: 100dvh; border: 0; }
  .catalog-lightbox-box { max-height: 100dvh; }
  .catalog-lightbox-head { padding: max(8px, env(safe-area-inset-top)) 10px 8px 14px; }
  .catalog-lightbox-head h2 { font-size: 21px; white-space: normal; }
  .catalog-lightbox-head button { flex-basis: 40px; width: 40px; height: 40px; }
  .catalog-lightbox-stage > img { height: calc(100dvh - 126px - env(safe-area-inset-bottom)); }
  .lightbox-arrow { width: 43px; height: 58px; }
  .lightbox-prev { left: 5px; } .lightbox-next { right: 5px; }
  .lightbox-help { padding-bottom: max(9px, env(safe-area-inset-bottom)); }
}


/* Placeholder catalog sections */
.placeholder-controls select:disabled, .placeholder-controls button:disabled { opacity: .62; cursor: default; }
.placeholder-results { text-align: left; }
.catalog-product-placeholder .product-photo { cursor: default; }
.product-photo-placeholder {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 34%, rgba(208,181,119,.11), transparent 36%), linear-gradient(145deg, #24201c, #141210);
  color: #90857b;
  font-size: 10px;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.product-photo-placeholder span { padding: 12px; }
.catalog-product-placeholder .product-price strong { font-size: 27px; }

/* Accessible catalogue typography and spacing. */
body.accessible .catalog-hero h1,
body.accessible .product-copy h2,
body.accessible .product-price strong,
body.accessible .catalog-contact h2,
body.accessible .catalog-lightbox-head h2 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700;
  line-height: 1.2;
}

body.accessible .catalog-hero-content > p:last-child,
body.accessible .product-description,
body.accessible .product-specs dt,
body.accessible .product-specs dd,
body.accessible .catalog-contact p:last-child,
body.accessible .catalog-results,
body.accessible .catalog-controls label > span,
body.accessible .catalog-controls select,
body.accessible .catalog-reset {
  font-size: 18px;
  line-height: 1.55;
}

body.accessible .catalog-controls select,
body.accessible .catalog-reset {
  min-height: 56px;
  height: auto;
}

body.accessible .catalog-product {
  grid-template-columns: minmax(280px, 350px) minmax(0, 1fr);
}

body.accessible .product-specs > div {
  grid-template-columns: 210px minmax(0, 1fr);
}

body.accessible .catalog-lightbox-head h2 {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

@media (min-width: 1181px) {
  body.accessible .catalog-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body.accessible .catalog-product {
    grid-template-columns: 1fr;
  }

  body.accessible .product-media {
    margin-inline: auto;
  }
}

@media (max-width: 650px) {
  body.accessible .catalog-hero h1,
  body.accessible .product-copy h2 {
    font-size: 38px;
  }

  body.accessible .product-specs > div {
    grid-template-columns: 1fr;
  }

  body.accessible .catalog-controls label > span,
  body.accessible .catalog-controls select,
  body.accessible .catalog-reset,
  body.accessible .product-description,
  body.accessible .product-specs dt,
  body.accessible .product-specs dd {
    font-size: 18px;
  }
}


/* Revision 10: navigation between catalogue sections. */
.catalog-category-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding-top: 24px;
}

.catalog-category-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: rgba(22, 19, 17, .78);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: border-color .2s ease, background .2s ease;
}

.catalog-category-nav a:hover,
.catalog-category-nav a:focus-visible,
.catalog-category-nav a[aria-current="page"] {
  border-color: var(--brand-color);
  background: rgba(208, 181, 119, .12);
  outline: none;
}

.catalog-category-nav a[aria-current="page"] {
  color: var(--brand-color);
}

body.accessible .catalog-category-nav a {
  min-height: 62px;
  border-width: 2px;
  background: #000;
  font-size: 17px;
}

body.accessible .catalog-category-nav a[aria-current="page"] {
  background: #ffdf00;
  color: #000;
}

@media (max-width: 980px) {
  .catalog-category-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .catalog-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding-top: 16px;
  }

  .catalog-category-nav a {
    min-height: 56px;
    font-size: 12px;
  }
}


/* Revision 13: catalogue navigation fixed to the header and active placeholder filters. */
.catalog-page {
  --catalog-header-offset: var(--header-height);
}

.catalog-page .catalog-category-nav {
  position: sticky;
  z-index: 75;
  top: var(--catalog-header-offset);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: 0;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(16, 14, 13, .985);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
  backdrop-filter: blur(12px);
}

.catalog-page .catalog-category-nav a {
  min-height: 56px;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.catalog-page .catalog-category-nav a:last-child {
  border-right: 0;
}

.catalog-page .catalog-category-nav a:hover,
.catalog-page .catalog-category-nav a:focus-visible,
.catalog-page .catalog-category-nav a[aria-current="page"] {
  background: rgba(208, 181, 119, .14);
  box-shadow: inset 0 -3px 0 var(--brand-color);
}

.catalog-page .catalog-hero {
  scroll-margin-top: calc(var(--catalog-header-offset) + 58px);
}

.catalog-product[hidden] {
  display: none !important;
}

.catalog-product-placeholder .product-price strong {
  font-size: 25px;
}

@media (max-width: 980px) and (min-width: 651px) {
  .catalog-page .catalog-category-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .catalog-page .catalog-category-nav {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .catalog-page .catalog-category-nav::-webkit-scrollbar {
    display: none;
  }

  .catalog-page .catalog-category-nav a {
    flex: 0 0 148px;
    min-height: 52px;
    padding: 7px 9px;
    scroll-snap-align: center;
    font-size: 12px;
  }

  .catalog-page .catalog-hero {
    scroll-margin-top: calc(var(--catalog-header-offset) + 52px);
  }
}

body.accessible .catalog-page .catalog-category-nav {
  background: #000;
}

body.accessible .catalog-page .catalog-category-nav a {
  border-right: 2px solid #fff;
}

/* Let each filter set fill the available row, regardless of field count. */
.catalog-controls {
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

.catalog-reset {
  width: 100%;
}

@media (max-width: 650px) {
  .catalog-controls {
    grid-template-columns: 1fr;
  }
}

/* v18: catalogue switcher follows the same width as the main page content. */
.catalog-page .catalog-category-nav {
  width: min(var(--max-width), calc(100% - (var(--page-gutter) * 2)));
  max-width: var(--max-width);
  margin-inline: auto;
}


/* v19: the result count belongs to the filter panel. */
.catalog-controls .catalog-results-inline {
  grid-column: 1 / -1;
  width: 100%;
  margin: 2px 0 0;
  padding: 11px 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.route-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand-color) 72%, transparent);
  text-underline-offset: .18em;
}
.route-link:hover, .route-link:focus-visible { color: var(--brand-color); }

/* v20: catalogue colours for the persistent light theme. */
:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-hero {
  background: linear-gradient(145deg, rgba(255, 253, 249, .96), rgba(239, 230, 217, .98));
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-controls,
:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-product,
:root[data-theme="light"] body.catalog-page:not(.accessible) .product-price,
:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-contact {
  background: var(--panel);
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-controls select,
:root[data-theme="light"] body.catalog-page:not(.accessible) .product-photo {
  background: #f2eadf;
  color: var(--text);
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-controls option:disabled {
  color: #a79b8d;
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-product {
  background: radial-gradient(circle at 14% 15%, rgba(179, 131, 55, .08), transparent 32%), linear-gradient(145deg, #fffdf9, #f3ebe0);
  box-shadow: 0 18px 52px rgba(69, 45, 19, .08);
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .zoom-hint,
:root[data-theme="light"] body.catalog-page:not(.accessible) .lightbox-arrow {
  background: rgba(255, 253, 249, .9);
  color: var(--brand-color);
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .product-description,
:root[data-theme="light"] body.catalog-page:not(.accessible) .product-specs dd {
  color: var(--muted);
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .product-photo-placeholder {
  background: radial-gradient(circle at 50% 34%, rgba(179, 131, 55, .12), transparent 36%), linear-gradient(145deg, #fffdf9, #e9dece);
  color: #75685a;
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-category-nav {
  background: rgba(250, 246, 239, .985);
  box-shadow: 0 12px 28px rgba(69, 45, 19, .1);
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-category-nav a:hover,
:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-category-nav a:focus-visible,
:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-category-nav a[aria-current="page"] {
  background: rgba(179, 131, 55, .12);
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-lightbox {
  background: #f8f3eb;
  color: var(--text);
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-lightbox-stage {
  background: #e9e0d5;
}

/* v21: balanced filter grid, wrapped mobile catalogue navigation and seamless sticky header. */
.catalog-controls {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: end;
}

.catalog-controls > label,
.catalog-controls > .catalog-reset {
  width: 100%;
  min-width: 0;
}

.catalog-controls .catalog-results-inline {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  padding: 11px 0 0;
  border-top: 1px solid var(--line);
  font-weight: 400;
  text-align: right;
}

.catalog-page .catalog-category-nav {
  top: calc(var(--catalog-header-offset) - 1px);
}

@media (max-width: 650px) {
  .catalog-page .catalog-category-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: visible;
    gap: 0;
    scroll-snap-type: none;
  }

  .catalog-page .catalog-category-nav a {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 50px;
    padding: 7px 8px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    line-height: 1.18;
    text-align: center;
    white-space: normal;
  }

  .catalog-page .catalog-category-nav a:last-child {
    border-right: 1px solid var(--line);
  }

  .catalog-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-controls .catalog-reset {
    grid-column: 1 / -1;
  }

  .catalog-controls .catalog-results-inline {
    text-align: right;
  }
}

@media (max-width: 430px) {
  .catalog-controls {
    grid-template-columns: 1fr;
  }
}

/* v22: compact mobile catalogue selector, seamless sticky placement and equal filter columns. */
.catalog-page .catalog-category-bar {
  position: sticky;
  z-index: 75;
  top: var(--catalog-header-offset);
  width: 100%;
  margin: 0;
  padding: 0;
  background: rgba(16, 14, 13, .985);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
  backdrop-filter: blur(12px);
}

.catalog-page .catalog-category-nav {
  position: static;
  top: auto;
  width: min(var(--max-width), calc(100% - (var(--page-gutter) * 2)));
  max-width: var(--max-width);
  margin-inline: auto;
  box-shadow: none;
  backdrop-filter: none;
}

.catalog-nav-toggle {
  display: none;
}

.catalog-controls {
  grid-template-columns: repeat(var(--filter-columns, 6), minmax(0, 1fr));
}

:root[data-theme="light"] body.catalog-page:not(.accessible) .catalog-category-bar {
  background: rgba(250, 246, 239, .985);
  box-shadow: 0 12px 28px rgba(69, 45, 19, .1);
}

@media (max-width: 980px) and (min-width: 651px) {
  .catalog-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .catalog-page .catalog-category-bar {
    top: calc(var(--catalog-header-offset) - 2px);
    margin-top: -1px;
    border-top: 0;
    border-bottom: 1px solid var(--line-strong);
    transform: translateY(-1px);
  }

  .catalog-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 52px;
    padding: 7px var(--page-gutter);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    text-align: left;
  }

  .catalog-nav-toggle-text {
    display: grid;
    gap: 1px;
    min-width: 0;
  }

  .catalog-nav-toggle-eyebrow {
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .11em;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .catalog-nav-toggle-label {
    overflow: hidden;
    color: var(--brand-color);
    font-size: 15px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-nav-toggle-icon {
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
    transition: transform .18s ease;
  }

  .catalog-category-bar.is-open .catalog-nav-toggle-icon {
    transform: rotate(180deg);
  }

  .catalog-page .catalog-category-nav {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: visible;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    background: transparent;
    scroll-snap-type: none;
  }

  .catalog-page .catalog-category-bar.is-open .catalog-category-nav {
    display: grid;
  }

  .catalog-page .catalog-category-nav a {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 48px;
    padding: 7px 8px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    line-height: 1.18;
    text-align: center;
    white-space: normal;
  }

  .catalog-page .catalog-category-nav a:nth-child(even) {
    border-right: 0;
  }

  .catalog-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-controls .catalog-results-inline {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .catalog-controls {
    grid-template-columns: 1fr;
  }
}

/* v23: informational sections instead of product catalogues */
.catalog-info {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: clamp(30px, 5vw, 72px);
  margin-top: 46px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), var(--bg-soft));
}
.catalog-info-copy h2 {
  margin: 8px 0 22px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: .98;
}
.catalog-info-copy p:not(.eyebrow) {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.catalog-info-steps {
  display: grid;
  align-content: start;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.catalog-info-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel-strong, var(--panel));
}
.catalog-info-steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--brand-color);
  border-radius: 50%;
  color: var(--brand-color);
  font-weight: 700;
}
.catalog-info-steps p {
  margin: 7px 0 0;
  color: var(--text);
  line-height: 1.5;
}
:root[data-theme="light"] body.catalog-info-page:not(.accessible) .catalog-info {
  background: linear-gradient(145deg, #fffdfa, #f4ede3);
}
body.accessible .catalog-info,
body.accessible .catalog-info-steps li {
  background: #000;
  border-color: currentColor;
}
body.accessible .catalog-info-copy p:not(.eyebrow),
body.accessible .catalog-info-steps p {
  color: inherit;
  font-size: 20px;
}
@media (max-width: 820px) {
  .catalog-info { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .catalog-info { margin-top: 28px; padding: 22px 18px; }
  .catalog-info-copy h2 { font-size: 38px; }
  .catalog-info-copy p:not(.eyebrow) { font-size: 16px; }
}


/* v24: one-photo catalogues, exact sticky header offset and stable mobile layout. */
.product-gallery.product-gallery-single {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 300px);
  margin-inline: auto;
}

.product-gallery.product-gallery-single .product-main-photo {
  width: 100%;
  aspect-ratio: 1206 / 2622;
}

.product-gallery.product-gallery-single .product-photo img {
  object-fit: contain;
}

.catalog-page .catalog-category-bar {
  top: var(--catalog-header-live-offset, var(--catalog-header-offset));
}

@media (max-width: 650px) {
  .catalog-page .catalog-category-bar {
    top: var(--catalog-header-live-offset, var(--catalog-header-offset));
    margin-top: 0;
    transform: none;
  }

  .catalog-nav-toggle {
    min-height: 48px;
    padding-block: 5px;
  }

  .catalog-product:has(.product-gallery-single) .product-media {
    max-width: 280px;
  }
}


/* v24: five actual catalogue sections fill the navigation evenly. */
.catalog-page .catalog-category-nav {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 980px) and (min-width: 651px) {
  .catalog-page .catalog-category-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .catalog-page .catalog-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* v25: price note, horizontal plaques and a high-contrast light accessible theme. */
.product-price { display:grid; gap:7px; }
.product-price-note { color:var(--muted); font-size:12px; line-height:1.4; font-weight:400; }
.product-gallery-horizontal.product-gallery-single { width:min(100%, 620px); }
.product-gallery-horizontal .product-main-photo { aspect-ratio:2622 / 1206; }
.product-gallery-horizontal .product-photo img { width:100%; height:100%; object-fit:contain; }
.catalog-lightbox-stage img.is-horizontal { max-width:min(94vw, 1180px); max-height:76vh; }

:root[data-theme="light"] body.accessible.catalog-page { background:#fff; color:#000; }
:root[data-theme="light"] body.accessible.catalog-page .site-header,
:root[data-theme="light"] body.accessible.catalog-page .catalog-category-bar,
:root[data-theme="light"] body.accessible.catalog-page .catalog-category-nav,
:root[data-theme="light"] body.accessible.catalog-page .catalog-hero,
:root[data-theme="light"] body.accessible.catalog-page .catalog-controls,
:root[data-theme="light"] body.accessible.catalog-page .catalog-product,
:root[data-theme="light"] body.accessible.catalog-page .product-price,
:root[data-theme="light"] body.accessible.catalog-page .catalog-contact,
:root[data-theme="light"] body.accessible.catalog-page .catalog-info,
:root[data-theme="light"] body.accessible.catalog-page .catalog-info-steps li { background:#fff; color:#000; border-color:#000; }
:root[data-theme="light"] body.accessible.catalog-page .product-description,
:root[data-theme="light"] body.accessible.catalog-page .product-specs dt,
:root[data-theme="light"] body.accessible.catalog-page .product-specs dd,
:root[data-theme="light"] body.accessible.catalog-page .catalog-contact p,
:root[data-theme="light"] body.accessible.catalog-page .catalog-results,
:root[data-theme="light"] body.accessible.catalog-page .breadcrumbs,
:root[data-theme="light"] body.accessible.catalog-page .product-price-note { color:#000; }
:root[data-theme="light"] body.accessible.catalog-page .catalog-controls select,
:root[data-theme="light"] body.accessible.catalog-page .catalog-reset,
:root[data-theme="light"] body.accessible.catalog-page .product-photo { background:#fff; color:#000; border-color:#000; }
:root[data-theme="light"] body.accessible.catalog-page .catalog-controls select { color:#000; }
:root[data-theme="light"] body.accessible.catalog-page .catalog-category-nav a { color:#000; border-color:#000; background:#fff; }
:root[data-theme="light"] body.accessible.catalog-page .catalog-category-nav a[aria-current="page"],
:root[data-theme="light"] body.accessible.catalog-page .catalog-category-nav a:hover { color:#fff; background:#000; }


/* v26: explicit high-contrast controls in the light accessible catalogue. */
:root[data-theme="light"] body.accessible.catalog-page .catalog-category-nav a,
:root[data-theme="light"] body.accessible.catalog-page .catalog-nav-toggle,
:root[data-theme="light"] body.accessible.catalog-page .catalog-controls select,
:root[data-theme="light"] body.accessible.catalog-page .catalog-reset {
  border: 2px solid #000 !important;
  background: #fff !important;
  color: #000 !important;
}
:root[data-theme="light"] body.accessible.catalog-page .catalog-category-nav a[aria-current="page"],
:root[data-theme="light"] body.accessible.catalog-page .catalog-category-nav a:hover,
:root[data-theme="light"] body.accessible.catalog-page .catalog-category-nav a:focus-visible,
:root[data-theme="light"] body.accessible.catalog-page .catalog-reset:hover,
:root[data-theme="light"] body.accessible.catalog-page .catalog-reset:focus-visible {
  background: #004b87 !important;
  color: #fff !important;
  border-color: #004b87 !important;
}
:root[data-theme="light"] body.accessible.catalog-page .catalog-nav-toggle-icon,
:root[data-theme="light"] body.accessible.catalog-page .catalog-nav-toggle-label,
:root[data-theme="light"] body.accessible.catalog-page .catalog-nav-toggle-eyebrow,
:root[data-theme="light"] body.accessible.catalog-page .product-price strong,
:root[data-theme="light"] body.accessible.catalog-page .zoom-hint {
  color: #004b87 !important;
}
:root[data-theme="light"] body.accessible.catalog-page .catalog-lightbox,
:root[data-theme="light"] body.accessible.catalog-page .catalog-lightbox-stage {
  background: #fff !important;
  color: #000 !important;
}
:root[data-theme="light"] body.accessible.catalog-page .lightbox-arrow,
:root[data-theme="light"] body.accessible.catalog-page .catalog-lightbox-head button {
  border: 2px solid #000 !important;
  background: #fff !important;
  color: #000 !important;
}

/* v28: catalogue photo standards — portrait 1023×1523, landscape 1523×1023. */
.product-gallery {
  grid-template-columns: minmax(0, 2fr) minmax(82px, 1fr);
  align-items: start;
  column-gap: 8px;
  row-gap: 0;
}
.product-gallery-vertical .product-main-photo,
.product-gallery-vertical .product-small-photos .product-photo,
.product-gallery-single:not(.product-gallery-horizontal) .product-main-photo {
  aspect-ratio: 1023 / 1523;
}
.product-small-photos {
  grid-template-rows: repeat(2, auto);
  align-content: start;
  gap: 2px;
}
.product-small-photos .product-photo {
  width: 100%;
  aspect-ratio: 1023 / 1523;
}
.product-photo {
  border: 1px solid var(--line);
  background: #171411;
  box-shadow: none;
}
.product-photo img,
.product-gallery-horizontal .product-photo img {
  object-fit: contain;
}
.product-photo::after {
  border: 0;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .2s ease, background .2s ease;
}
.product-photo:hover::after,
.product-photo:focus-visible::after {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px var(--brand-color);
}
.product-gallery.product-gallery-single {
  display: block;
  width: min(100%, 340px);
  margin-inline: auto;
}
.product-gallery.product-gallery-single .product-main-photo {
  width: 100%;
}
.product-gallery-horizontal.product-gallery-single {
  width: min(100%, 620px);
}
.product-gallery-horizontal .product-main-photo,
.product-gallery-horizontal.product-gallery-single .product-main-photo,
.product-gallery-horizontal .product-photo {
  aspect-ratio: 1523 / 1023;
}
.product-gallery-horizontal .product-photo,
.product-gallery-horizontal .product-photo::after {
  border-radius: 0;
}

@media (max-width: 650px) {
  .product-gallery {
    grid-template-columns: minmax(0, 2fr) minmax(72px, 1fr);
    column-gap: 7px;
  }
  .product-gallery.product-gallery-single {
    width: min(100%, 300px);
  }
  .product-gallery-horizontal.product-gallery-single {
    width: 100%;
    max-width: 430px;
  }
}

/* v29: exact catalogue photo proportions and clean previews. */
.product-gallery {
  grid-template-columns: minmax(0, 2fr) minmax(76px, 1fr);
  align-items: start;
  gap: 8px;
}
.product-gallery-vertical .product-main-photo,
.product-gallery-vertical .product-small-photos .product-photo,
.product-gallery-single.product-gallery-vertical .product-main-photo {
  aspect-ratio: 1023 / 1523;
}
.product-gallery-horizontal .product-main-photo,
.product-gallery-horizontal .product-small-photos .product-photo,
.product-gallery-single.product-gallery-horizontal .product-main-photo {
  aspect-ratio: 1523 / 1023;
}
.product-small-photos {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.product-photo,
.product-gallery-horizontal .product-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #171411;
  box-shadow: none;
}
.product-photo::after,
.product-gallery-horizontal .product-photo::after {
  display: none;
}
.product-photo:hover,
.product-photo:focus-visible {
  border-color: var(--brand-color);
  outline: none;
  box-shadow: 0 0 0 1px var(--brand-color);
}
.product-photo img,
.product-gallery-horizontal .product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-gallery.product-gallery-single {
  display: block;
  margin-inline: auto;
}
.product-gallery-single.product-gallery-vertical {
  width: min(100%, 340px);
}
.product-gallery-single.product-gallery-horizontal {
  width: min(100%, 620px);
}
.product-gallery[data-image-count="3"] .product-small-photos .product-photo {
  width: 100%;
}

@media (max-width: 650px) {
  .product-gallery {
    grid-template-columns: minmax(0, 2fr) minmax(68px, 1fr);
    gap: 7px;
  }
  .product-small-photos { gap: 7px; }
  .product-gallery-single.product-gallery-vertical { width: min(100%, 300px); }
  .product-gallery-single.product-gallery-horizontal { width: 100%; max-width: 430px; }
}

/* v30: previews align exactly to the first photo and never leave inner gaps. */
.product-gallery[data-image-count="3"] {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
}
.product-gallery[data-image-count="3"] > .product-main-photo {
  align-self: start;
  width: 100%;
}
.product-gallery[data-image-count="3"] > .product-small-photos {
  align-self: stretch;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: 100%;
  min-height: 0;
  gap: 8px;
  overflow: hidden;
}
.product-gallery[data-image-count="3"] > .product-small-photos > .product-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto !important;
}
.product-photo,
.product-gallery-horizontal .product-photo {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  line-height: 0;
}
.product-photo > img,
.product-gallery-horizontal .product-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}
/* One-photo products keep the full image without cropping. */
.product-gallery-single .product-photo > img {
  object-fit: contain;
}
/* Plaques always use the 1523×1023 landscape frame. */
body.catalog-page .product-gallery.product-gallery-horizontal.product-gallery-single,
body.catalog-page .product-gallery.product-gallery-horizontal {
  width: min(100%, 620px);
}
body.catalog-page .product-gallery.product-gallery-horizontal .product-main-photo,
body.catalog-page .product-gallery.product-gallery-horizontal.product-gallery-single .product-main-photo,
body.catalog-page .product-gallery.product-gallery-horizontal .product-photo-horizontal {
  aspect-ratio: 1523 / 1023 !important;
}
body.catalog-page .product-gallery.product-gallery-vertical .product-main-photo,
body.catalog-page .product-gallery.product-gallery-vertical.product-gallery-single .product-main-photo {
  aspect-ratio: 1023 / 1523 !important;
}
@media (max-width: 650px) {
  .product-gallery[data-image-count="3"] { gap: 7px; }
  .product-gallery[data-image-count="3"] > .product-small-photos { gap: 7px; }
}
.product-gallery[data-image-count="3"] > .product-small-photos > .product-photo > img {
  position: absolute;
  inset: 0;
}


/* v31: exact preview geometry, progressive rendering and header-integrated mobile catalogue selector. */
.catalog-products > .catalog-product {
  content-visibility: auto;
  contain-intrinsic-size: auto 650px;
}
.js .catalog-product-progressive {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .36s ease, transform .36s ease;
}
.js .catalog-product-progressive.is-in-view {
  opacity: 1;
  transform: none;
}

.product-gallery[data-image-count="3"] {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.product-gallery[data-image-count="3"] > .product-main-photo {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  width: 100%;
}
.product-gallery[data-image-count="3"] > .product-small-photos {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-width: 0;
  min-height: 0;
  height: auto !important;
  gap: 8px !important;
  overflow: hidden;
}
.product-gallery[data-image-count="3"] > .product-small-photos > .product-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto !important;
}

/* A single portrait occupies the same first column as the main photo in a three-photo gallery. */
.product-gallery-single.product-gallery-vertical {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.product-gallery-single.product-gallery-vertical > .product-main-photo {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 1023 / 1523 !important;
}
.product-gallery-single.product-gallery-horizontal {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.product-gallery-single.product-gallery-horizontal > .product-main-photo {
  width: 100%;
  aspect-ratio: 1523 / 1023 !important;
}
.catalog-product:has(.product-gallery-single) .product-media {
  width: 100%;
  max-width: 390px;
}

/* Images overlap the inner edge by one pixel, removing browser seams around landscape previews. */
.product-photo,
.product-gallery-horizontal .product-photo {
  position: relative;
  box-sizing: border-box;
  padding: 0 !important;
  line-height: 0;
  overflow: hidden;
}
.product-photo > img,
.product-gallery-horizontal .product-photo > img {
  position: absolute !important;
  inset: -1px !important;
  display: block;
  width: calc(100% + 2px) !important;
  height: calc(100% + 2px) !important;
  max-width: none;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center;
}
.lightbox-arrow[hidden],
.lightbox-help[hidden] {
  display: none !important;
}

@media (max-width: 650px) {
  .catalog-page .site-header {
    overflow: visible;
  }
  .catalog-page .site-header > .catalog-category-bar.is-header-integrated {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    width: 100%;
    margin: 0 !important;
    transform: none !important;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: none;
  }
  .catalog-page .site-header > .catalog-category-bar.is-header-integrated .catalog-nav-toggle {
    min-height: 48px;
  }
  .catalog-page .catalog-category-nav a:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 4px);
    border-right: 1px solid var(--line);
  }
  .product-gallery[data-image-count="3"],
  .product-gallery-single.product-gallery-vertical {
    gap: 7px !important;
  }
  .product-gallery[data-image-count="3"] > .product-small-photos {
    gap: 7px !important;
  }
  .catalog-product:has(.product-gallery-single) .product-media {
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .catalog-product-progressive {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.catalog-info,
.catalog-contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}
.product-price {
  box-sizing: border-box;
  width: 100%;
}

/* Progressive rendering must never hide fallback catalogue content if a script is unavailable. */
.js .catalog-product-progressive,
.js .catalog-product-progressive.is-in-view {
  opacity: 1;
  transform: none;
}

/* v32: center a single portrait over the full-width price block. */
.product-gallery-single.product-gallery-vertical {
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.product-gallery-single.product-gallery-vertical > .product-main-photo {
  flex: 0 0 auto;
  width: calc(66.6667% - 5.34px) !important;
  aspect-ratio: 1023 / 1523 !important;
}

@media (max-width: 650px) {
  .product-gallery-single.product-gallery-vertical > .product-main-photo {
    width: calc(66.6667% - 4.67px) !important;
  }
}

/* v33: mobile gallery — one full-width main photo, two equal previews below. */
@media (max-width: 650px) {
  .catalog-product:has(.product-gallery[data-image-count="3"]) .product-media {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .product-gallery[data-image-count="3"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .product-gallery[data-image-count="3"] > .product-main-photo {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0;
    align-self: start;
  }

  .product-gallery[data-image-count="3"] > .product-small-photos {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    gap: 7px !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0;
    min-height: 0;
    overflow: visible !important;
  }

  .product-gallery[data-image-count="3"] > .product-small-photos > .product-photo {
    width: 100% !important;
    height: auto !important;
    min-width: 0;
    min-height: 0;
  }

  .product-gallery-vertical[data-image-count="3"] > .product-small-photos > .product-photo {
    aspect-ratio: 1023 / 1523 !important;
  }

  .product-gallery-horizontal[data-image-count="3"] > .product-small-photos > .product-photo {
    aspect-ratio: 1523 / 1023 !important;
  }
}

/* v34: mobile product cards follow the same content width as the header, hero and filters. */
@media (max-width: 650px) {
  body.catalog-page {
    overflow-x: clip;
  }

  .catalog-products.section-shell {
    box-sizing: border-box;
    width: calc(100% - (var(--page-gutter) * 2)) !important;
    max-width: var(--max-width) !important;
    min-width: 0;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    overflow-x: clip;
  }

  .catalog-products > .catalog-product {
    box-sizing: border-box;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
    margin-inline: 0 !important;
    overflow: hidden;
  }

  .catalog-product > *,
  .catalog-product .product-media,
  .catalog-product .product-gallery,
  .catalog-product .product-copy,
  .catalog-product .product-price {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .catalog-product .product-media,
  .catalog-product:has(.product-gallery[data-image-count="3"]) .product-media,
  .catalog-product:has(.product-gallery-single) .product-media {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .catalog-product .product-gallery,
  .catalog-product .product-main-photo,
  .catalog-product .product-small-photos,
  .catalog-product .product-photo,
  .catalog-product .product-price,
  .catalog-product .product-copy {
    max-inline-size: 100%;
  }

  .catalog-product .product-copy h2,
  .catalog-product .product-description,
  .catalog-product .product-specs dd {
    overflow-wrap: anywhere;
  }
}
