/* ========================================
   BUILDMART — КАТАЛОГ
======================================== */

:root {
  --navy: #111c31;
  --ink: #111111;
  --paper: #ffffff;
  --line: rgba(17, 28, 49, 0.18);
  --muted: rgba(17, 17, 17, 0.62);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

.no-scroll {
  overflow: hidden;
}

/* ========================================
   ТОЛГОЙ ХЭСЭГ
======================================== */

.catalog-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 110px 44px;
  align-content: start;

  min-height: 390px;
  background-color: #111c31;
  background-image:
    linear-gradient(
      rgba(9, 15, 25, 0.42),
      rgba(9, 15, 25, 0.28)
    ),
    var(--header-image, url("assets/Headers/HDF.jpg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.catalog-logo {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-logo img {
  width: 275px;
  height: auto;
  filter: brightness(0) invert(1);
}

.catalog-header nav {
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 36px;

  color: #ffffff;
  background: rgba(17, 28, 49, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.catalog-header nav a {
  display: flex;
  align-items: center;
  height: 100%;
  color: #ffffff;
  border-bottom: 2px solid transparent;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.catalog-header nav a:hover,
.catalog-header nav a.active {
  border-bottom-color: #ffffff;
}

.catalog-header nav .nav-user {
  position: absolute;
  top: 34px;
  right: 4vw;
  width: 42px;
  height: 42px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(17, 28, 49, 0.18);
}

.nav-user svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.back-home {
  display: none;
}

@media (max-width: 900px) {
  .catalog-header {
    min-height: 290px;
  }
}
/* ========================================
   КАТАЛОГИЙН ГАРЧИГ
======================================== */

.catalog-intro {
  display: grid;
  grid-template-columns: 0.6fr 2.8fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 30px 5vw;
  border-bottom: 1px solid var(--line);
}

.catalog-intro > p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.catalog-intro h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(60px, 6vw, 100px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.catalog-intro h1 em {
  color: var(--navy);
  font-weight: 500;
}

.catalog-intro > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ========================================
   АНГИЛАЛ
======================================== */

.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

/* АНГИЛЛЫН ЦЭС */
.catalog-layout > aside.category-sidebar {
  display: block;
  padding: 30px 18px;
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.catalog-category-heading {
  margin: 0 0 22px;
  padding: 0 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
}

.category-group {
  margin: 10px 0;
  border-bottom: 1px solid var(--line);
}

.category-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 15px 10px;
  list-style: none;
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 400; 
  line-height: 1.6;
  cursor: pointer;
}

.category-group > summary::-webkit-details-marker {
  display: none;
}

.category-group > summary::after {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.category-group[open] > summary::after {
  transform: rotate(45deg);
}

.category-children {
  margin: 0 0 16px 14px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.category-sidebar .filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  width: 100%;
  min-height: 40px;
  margin: 3px 0;
  padding: 10px;
  border: 0;
  border-radius: 3px;

  background: transparent;
  color: var(--ink);
  text-align: left;
  white-space: normal;

  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
}

.category-sidebar .filter:hover {
  background: rgba(17, 28, 49, 0.05);
}

.category-sidebar .filter.active {
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
}

.category-sidebar .filter span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 10px;
}

.category-sidebar .filter.active span {
  color: #ffffff;
}

.catalog-intro {
  display: block;
  padding: 24px 22px;
}

.catalog-intro h1 {
  margin: 12px 0;
  font-size: clamp(40px, 6vw, 60px);
}
/* ========================================
   ХАЙЛТ, ЭРЭМБЭЛЭЛТ
======================================== */

.products-area {
  min-width: 0;
  padding: 38px 3vw 70px;
}

.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.catalog-toolbar h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
}

.catalog-toolbar > div:first-child p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.toolbar-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 22px;
}

.toolbar-controls label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.toolbar-controls input,
.toolbar-controls select {
  width: 180px;
  max-width: 100%;
  height: 40px;
  padding: 0 6px;
  border: 0;
  border-bottom: 1px solid var(--navy);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

/* ========================================
   БҮТЭЭГДЭХҮҮНИЙ КАРТ
======================================== */

.product-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 16px;
}

.product-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  align-self: start;

  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;

  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sample {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  flex-shrink: 0;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transition: filter 0.25s ease;
}

.product-item:hover .sample {
  filter: brightness(0.96);
}

.product-item small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.product-item strong {
  display: block;
  margin: 8px 0;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.product-item b {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}

.image-sample {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-sample.plywood {
  background-image: url("assets/plywood-eb011.png");
}

.image-sample.profile {
  background-image: url("assets/profile-black.png");
  background-size: contain;
}

/* Түр жишээ материалын өнгөнүүд */
.wood {
  background-image:
    repeating-linear-gradient(
      91deg,
      #00000012 0 2px,
      transparent 2px 11px
    ),
    linear-gradient(100deg, #33231d, #725343, #2d221f);
}

.wood.taupe {
  background-image:
    repeating-linear-gradient(
      88deg,
      #ffffff15 0 3px,
      transparent 3px 14px
    ),
    linear-gradient(100deg, #77685f, #aa9b90, #675c56);
}

.wood.walnut {
  background-image:
    repeating-linear-gradient(
      92deg,
      #00000020 0 2px,
      transparent 2px 13px
    ),
    linear-gradient(100deg, #5f321d, #a96f3f, #4d2718);
}

.wood.grey {
  background-image:
    repeating-linear-gradient(
      90deg,
      #ffffff20 0 2px,
      transparent 2px 9px
    ),
    linear-gradient(100deg, #8b8581, #b4aaa5, #77716f);
}

.wood.ash {
  background-image:
    repeating-linear-gradient(
      89deg,
      #00000012 0 1px,
      transparent 1px 10px
    ),
    linear-gradient(100deg, #b3aa99, #ded7c9, #999081);
}

.color.red {
  background: linear-gradient(135deg, #591d27, #a23849);
}

.color.ivory {
  background: linear-gradient(145deg, #eee8dc, #d9d0bf);
}

.profile-line {
  position: relative;
  background: linear-gradient(135deg, #c6a87a, #f3dfba, #85673e);
}

.profile-line::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 47%;
  height: 18px;
  background: rgba(0, 0, 0, 0.2);
  transform: skewX(-25deg);
}

.profile-line.silver {
  background: linear-gradient(135deg, #92969a, #f3f3f0, #74787c);
}

.profile-line.bronze {
  background: linear-gradient(135deg, #68482f, #c18a59, #4b3325);
}

.empty-state {
  display: none;
  padding: 60px 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

/* ========================================
   БҮТЭЭГДЭХҮҮНИЙ ДЭЛГЭРЭНГҮЙ
======================================== */

.product-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.product-dialog.open {
  visibility: visible;
  opacity: 1;
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 28, 49, 0.86);
  backdrop-filter: blur(5px);
}

.dialog-panel {
  position: absolute;
  top: 4vh;
  bottom: 4vh;
  left: 50%;
  width: min(1100px, 92vw);
  transform: translateX(-50%);

  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: start;

  overflow: auto;
  overscroll-behavior: contain;
  background: #ffffff;
  border: 1px solid var(--line);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-size: 25px;
  cursor: pointer;
}

.detail-gallery {
  position: static;
  min-width: 0;
  padding: 40px 24px 30px;
}

.main-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(58vh, 500px);
  padding: 16px;
  background: #f7f7f7;
}

.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-copy {
  min-width: 0;
  padding: 50px 36px 40px 12px;
}

.detail-category {
  margin: 0;
  color: var(--navy);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.detail-copy h2 {
  margin: 16px 0 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3.3vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.detail-copy > p {
  font-size: 13px;
  line-height: 1.8;
}

.detail-size {
  font-weight: 600;
}

#detail-description {
  color: var(--muted);
}

/* ========================================
   ДУГУЙ ӨНГӨНИЙ СОНГОЛТ
======================================== */

.swatch-block {
  margin: 24px 0;
}

.swatch-block > span {
  display: block;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 4px 18px;
}

.swatch {
  width: 30px;
  height: 30px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid rgba(17, 28, 49, 0.25);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.swatch.active {
  outline: 1px solid var(--navy);
  outline-offset: 4px;
}

.swatch.black {
  background-color: #171717;
}

.swatch.champagne {
  background-color: #c8ae82;
}

.swatch.silver {
  background-color: #c7cbcc;
}

.swatch.bronze {
  background-color: #8b5b38;
}

.swatch-block strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

/* ========================================
   ҮЗҮҮЛЭЛТҮҮД
======================================== */

.product-specifications {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.product-specifications h3 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.product-specifications dl {
  margin: 0;
}

.product-specifications dl > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}

.product-specifications dt {
  color: var(--muted);
}

.product-specifications dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* ========================================
   ДАГАЛДАХ ХЭРЭГСЭЛ
======================================== */

.detail-copy details {
  margin-top: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.detail-copy summary {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
}

.detail-copy details p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.matching-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.accessory-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.accessory-card:hover {
  border-color: var(--navy);
}

.accessory-card img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  background: #f6f7f8;
}

.accessory-card span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.6;
}

/* Хуучин HTML-ийн нэмэлт хэсгүүд */
.matching-grid > span {
  font-size: 11px;
  line-height: 1.6;
}

.set {
  display: block;
  height: 75px;
  margin-bottom: 8px;
  background: #f0f1f3;
}

.download-links {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

.download-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.model-note {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.6;
}

/* ========================================
   ДУНД ДЭЛГЭЦ
======================================== */

@media (max-width: 1280px) {
  .product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .catalog-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

/* ========================================
   УТАС, ЖИЖИГ ДЭЛГЭЦ
======================================== */

@media (max-width: 900px) {
  .catalog-header {
    grid-template-columns: 1fr;
    grid-template-rows: 90px 44px;
  }

  .catalog-logo {
    grid-column: 1;
  }

  .catalog-logo img {
    width: 210px;
  }

  .catalog-header nav {
    justify-content: flex-start;
    gap: 24px;
    padding: 0 20px;
    overflow-x: auto;
  }

  .catalog-header nav a {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 10px;
  }

  .catalog-header nav .nav-user {
    top: 28px;
    right: 16px;
    width: 34px;
    height: 34px;
  }

  .catalog-intro {
    display: block;
    padding: 38px 22px;
  }

  .catalog-intro h1 {
    margin: 20px 0;
    font-size: clamp(44px, 9vw, 68px);
  }

  .catalog-intro > span {
    display: block;
    max-width: 400px;
  }

  .catalog-layout {
    display: block;
  }

  .catalog-layout > aside {
    display: flex;
    gap: 8px;
    padding: 18px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .aside-label {
    display: none;
  }

  .filter {
    flex-shrink: 0;
    width: auto;
    padding: 10px 14px;
    border: 1px solid var(--line);
    white-space: nowrap;
    font-size: 12px;
  }

  .filter.active {
    border-color: var(--navy);
    background: var(--navy);
    color: #ffffff;
  }

  .filter.active span {
    color: #ffffff;
  }

  .products-area {
    padding: 28px 18px 50px;
  }

  .catalog-toolbar {
    align-items: start;
    gap: 20px;
  }

  .toolbar-controls {
    width: 100%;
    gap: 16px;
  }

  .toolbar-controls label {
    flex: 1;
    min-width: 0;
  }

  .toolbar-controls input,
  .toolbar-controls select {
    width: 100%;
    min-width: 0;
  }

  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }

  .product-item strong {
    font-size: 21px;
  }

  .dialog-panel {
  top: 12px;
  bottom: 12px;
  left: 12px;
  right: 12px;
  width: auto;
  transform: none;
  display: block;
}

  .dialog-close {
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .detail-gallery {
    position: static;
    padding: 50px 20px 0;
  }

  .main-product-image {
    height: min(48vh, 420px);
  }

  .detail-copy {
    padding: 28px 22px 40px;
  }

  .detail-copy h2 {
    font-size: 34px;
  }
}

/* ========================================
   ХӨДӨЛГӨӨН БАГАСГАХ ТОХИРГОО
======================================== */

@media (prefers-reduced-motion: reduce) {
  .product-dialog,
  .product-item,
  .sample,
  .filter,
  .accessory-card {
    transition: none;
  }

  .product-item {
    transform: none !important;
  }
}
/* ЗУРАГ ТОМРУУЛАХ */
#detail-image-file {
  cursor: zoom-in;
}

/* ЗУРАГ ТОМРУУЛАХ — ШИНЭ ЗАГВАР */
#detail-image-file {
  cursor: zoom-in;
}

.image-zoom {
  width: min(860px, 94vw);
  height: 88vh;
  max-width: 94vw;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: #ffffff;
  color: #111c31;

  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.image-zoom::backdrop {
  background: rgba(8, 13, 25, 0.94);
  backdrop-filter: blur(8px);
}

.zoom-toolbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(17, 28, 49, 0.1);
  background: #ffffff;
}

.zoom-brand {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zoom-toolbar button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;

  border: 1px solid rgba(17, 28, 49, 0.15);
  border-radius: 50%;
  background: transparent;
  color: #111c31;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.zoom-toolbar button:hover {
  background: #111c31;
  color: #ffffff;
}

.zoom-toolbar button:disabled {
  opacity: 0.3;
  cursor: default;
}

.zoom-toolbar button:disabled:hover {
  background: transparent;
  color: #111c31;
}

.zoom-toolbar button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zoom-toolbar .zoom-close {
  background: #111c31;
  color: #ffffff;
  border-color: #111c31;
}

.zoom-toolbar .zoom-close:hover {
  background: #26354f;
}

.zoom-percent {
  min-width: 46px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.zoom-stage {
  height: calc(100% - 64px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 28, 49, 0.25) transparent;
  cursor: grab;
  touch-action: none; 
}
.zoom-stage.is-dragging {
  cursor: grabbing;
}

.zoom-canvas img {
  user-select: none;
  -webkit-user-drag: none;
}
.zoom-canvas {
  position: relative;
  min-width: 100%;
  min-height: 100%;
}

.zoom-canvas img {
  position: absolute;
  max-width: none;
  object-fit: contain;
}

@media (max-width: 600px) {
  .zoom-toolbar {
    padding: 0 10px;
    gap: 8px;
  }

  .zoom-brand {
    font-size: 10px;
  }

  .zoom-controls {
    gap: 5px;
  }

  .zoom-toolbar button {
    width: 30px;
    height: 30px;
  }
}
.category-group.profile-submenu {
  margin: 4px 0;
  border-bottom: 0;
}

.profile-submenu > summary {
  padding: 10px;
  font-size: 12px;
  font-weight: 500;
}

.profile-submenu > .category-children {
  margin: 4px 0 12px 10px;
  padding-left: 8px;
}
/* ҮНДСЭН ЗУРГИЙН ДООРХ ЖИЖИГ ЗУРГУУД */
#hdf-installed {
  margin-top: 12px;
}

.product-extra-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-extra-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  overflow: hidden;

  border: 1px solid rgba(17, 28, 49, 0.1);
  background: #ffffff;
  cursor: zoom-in;
}

.product-extra-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-extra-image:hover {
  border-color: #111c31;
}
.bm-price-login {padding:0;border:0;background:none;color:#17375e;font:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.bm-price-login:hover {color:#006e92}.bm-price-login:focus-visible {outline:2px solid #17375e;outline-offset:4px}

.material-color-preview {margin:18px 0;color:#546174;font-size:13px;line-height:1.6}.material-color-sample {height:60px;border:1px solid #d7dee7;border-radius:8px;margin-bottom:8px}.matching-grid>p {grid-column:1/-1;margin:0;color:#546174}.product-specifications dd {overflow-wrap:anywhere}.detail-copy {min-width:0}
