/* OLMAX product detail: scoped improvements; no imported product data changes. */
body.goods-store #product-info .gs-product-gallery .image > .olmax-gallery-filmstrip {
  /* Show every real thumbnail: horizontal clipping hid most photos while
     the lightbox correctly included them all. Gallery count is unchanged. */
  display:flex; flex-wrap:wrap; gap:10px; overflow:visible;
  max-width:100%; padding:10px 4px 13px;
  scroll-snap-type:none; align-content:start;
}
body.goods-store #product-info .gs-product-gallery .olmax-gallery-filmstrip a {
  display:flex; flex:0 0 78px; width:78px; height:78px;
  min-width:0; align-items:center; justify-content:center;
  scroll-snap-align:start; border:1px solid #d8e6f6;
  border-radius:11px; background:#fff; transition:border-color .16s,box-shadow .16s;
}
body.goods-store #product-info .gs-product-gallery .olmax-gallery-filmstrip a:hover,
body.goods-store #product-info .gs-product-gallery .olmax-gallery-filmstrip a:focus-visible {
  border-color:#0872eb; box-shadow:0 0 0 3px #0872eb17; outline:0;
}
body.goods-store #product-info .gs-product-gallery .olmax-gallery-filmstrip img {
  display:block; width:66px; height:66px; object-fit:contain; margin:0;
}
body.goods-store #product-info .olmax-spec-glance {
  border-top:1px solid #e5edf6; padding:20px 0 2px; margin-top:16px;
}
body.goods-store #product-info .olmax-spec-glance h2 {
  margin:0 0 12px; font-size:1rem; line-height:1.4;
  letter-spacing:-.01em; font-weight:750; color:#173b66;
}
body.goods-store #product-info .olmax-spec-glance__list {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:20px; row-gap:12px; padding:0; margin:0;
}
body.goods-store #product-info .olmax-spec-glance__item {
  min-width:0; border-bottom:1px solid #edf2f8; padding-bottom:10px;
}
body.goods-store #product-info .olmax-spec-glance__item dt {
  margin:0 0 3px; color:#465f77; font-size:.78rem;
  font-weight:500; line-height:1.45; overflow-wrap:anywhere;
}
body.goods-store #product-info .olmax-spec-glance__item dd {
  margin:0; color:#173a61; font-size:.9rem;
  font-weight:650; line-height:1.45; overflow-wrap:anywhere;
}
body.goods-store #product-info .olmax-spec-glance__more {
  display:inline-flex; align-items:center; gap:10px; min-height:44px;
  margin-top:6px; padding:7px 0; border:0; background:transparent;
  color:#075dcc; font-weight:720; font-size:.87rem; cursor:pointer;
}
body.goods-store #product-info .olmax-spec-glance__more:hover,
body.goods-store #product-info .olmax-spec-glance__more:focus-visible {
  color:#024794; text-decoration:underline; text-underline-offset:3px;
}
body.goods-store #product-info .nav-tabs {scroll-margin-top:80px}
@media (max-width:767px) {
  body.goods-store #product-info .gs-product-gallery .image > .olmax-gallery-filmstrip {
    gap:8px; padding:7px 2px 11px;
  }
  body.goods-store #product-info .gs-product-gallery .olmax-gallery-filmstrip a {
    flex-basis:64px; width:64px; height:64px; border-radius:10px;
  }
  body.goods-store #product-info .gs-product-gallery .olmax-gallery-filmstrip img {
    width:56px; height:56px;
  }
  body.goods-store #product-info .nav-tabs {
    display:flex; flex-wrap:nowrap; overflow-x:auto;
    overscroll-behavior-x:contain; scrollbar-width:thin;
  }
  body.goods-store #product-info .nav-tabs .nav-link {
    white-space:nowrap; min-height:46px;
  }
  body.goods-store #product-info .olmax-spec-glance__list {
    grid-template-columns:minmax(0,1fr); row-gap:9px;
  }
  body.goods-store #product-info .olmax-spec-glance__item {
    display:grid; grid-template-columns:minmax(90px,.9fr) minmax(0,1.1fr);
    gap:10px;
  }

}
@media (max-width:359px) {
  body.goods-store #product-info .olmax-spec-glance__item {grid-template-columns:1fr;gap:2px}
}
@media (prefers-reduced-motion:reduce) {
  body.goods-store #product-info .gs-product-gallery .olmax-gallery-filmstrip a {transition:none}
}

body.goods-store #product-info .gs-product-layout > * {
  min-width: 0;
}
body.goods-store #product-info .olmax-gallery-empty {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 200px;
  color: #425f7f;
  text-align: center;
}
body.goods-store #product-info .olmax-gallery-empty i {
  color: #6c8cab;
  font-size: 2rem;
}
body.goods-store #product-info .gs-product-meta {
  overflow-wrap: anywhere;
}
body.goods-store #product-info .olmax-copy-sku {
  display: inline-grid;
  place-items: center;
  color: #1258a8;
  background: transparent;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  vertical-align: middle;
  border-radius: 9px;
}
body.goods-store #product-info .olmax-copy-sku:hover {
  background: #edf5ff;
}
body.goods-store #product-info .olmax-copy-sku[hidden],
body.goods-store .gs-purchase-dock[hidden] {
  display: none !important;
}
body.goods-store #product-info .olmax-copy-feedback {
  font-size: .8rem;
  color: #1258a8;
}
body.goods-store #product-info .olmax-price {
  margin: 0;
  line-height: 1.12;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 760;
  overflow-wrap: anywhere;
}
body.goods-store #product-info .olmax-purchase-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding-top: 12px;
  border-top: 1px solid #e5edf6;
}
body.goods-store #product-info .olmax-purchase-summary :is(.olmax-purchase-price, .olmax-price-note) {
  margin: 0;
  padding: 0;
  border: 0;
}
body.goods-store #product-info .olmax-purchase-summary > form {margin: 0}
body.goods-store #product-info .olmax-detail-actions {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}
body.goods-store #product-info .gs-product-detail .olmax-detail-actions .btn {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  color: #25517e;
  border: 1px solid #dce6f1;
  border-radius: 11px;
  background: #f7faff;
  box-shadow: none;
  font-size: 18px;
  line-height: 1;
}
body.goods-store #product-info .gs-product-detail .olmax-detail-actions .btn i {
  font-size: 18px;
  line-height: 1;
}
body.goods-store #product-info .gs-product-detail .olmax-detail-actions .btn:hover {
  color: #084f9b;
  border-color: #89b5e5;
  background: #edf5ff;
}
body.goods-store #product-info .gs-product-detail .olmax-detail-actions .btn[aria-pressed="true"] {
  color: #075bb8;
  border-color: #9ac4ed;
  background: #eaf4ff;
}
body.goods-store #product-info .gs-product-detail .olmax-detail-actions .gs-favourite-button[aria-pressed="true"] {
  color: #a62451;
  border-color: #ebbad0;
  background: #fff1f6;
}
body.goods-store #product-info #product {margin-top: 12px}
body.goods-store #product-info #form-product > .mb-3:has(.olmax-cart-controls) {margin-bottom: 0 !important}
body.goods-store #product-info .olmax-cart-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  --olmax-purchase-height: 48px;
}
body.goods-store #product-info .olmax-cart-controls--unavailable {grid-template-columns: minmax(0, 1fr)}
body.goods-store #product-info .olmax-quantity {
  display: grid;
  grid-template-columns: 44px 46px 44px;
  grid-template-areas: "minus quantity plus";
  align-items: center;
  min-width: 0;
  overflow: visible;
  border: 1px solid #cbd9e9;
  border-radius: 12px;
  background: #f5f9fe;
}
body.goods-store #product-info .olmax-quantity button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: #124f92;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font: 600 22px/1 system-ui, sans-serif;
  touch-action: manipulation;
}
body.goods-store #product-info .olmax-quantity [data-quantity-delta="-1"] {grid-area: minus}
body.goods-store #product-info .olmax-quantity [data-quantity-delta="1"] {grid-area: plus}
body.goods-store #product-info .olmax-quantity button:enabled:hover {background: #e4effc}
body.goods-store #product-info .olmax-quantity button:active:enabled {background: #d5e8fd}
body.goods-store #product-info .olmax-quantity button:disabled {color: #778da6; cursor: default}
body.goods-store #product-info .olmax-quantity #input-quantity {
  grid-area: quantity;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 44px;
  height: 44px;
  padding: 0 1px;
  text-align: center;
  font-size: 15px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: #0d325d;
  background: #fff;
  border: 0;
  border-inline: 1px solid #dce6f1;
  border-radius: 0;
  appearance: textfield;
  box-shadow: none;
}
body.goods-store #product-info .olmax-quantity #input-quantity::-webkit-inner-spin-button,
body.goods-store #product-info .olmax-quantity #input-quantity::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
body.goods-store #product-info .olmax-quantity #input-quantity:focus-visible {
  outline: 2px solid #1765c2;
  outline-offset: -2px;
}
body.goods-store #product-info .olmax-quantity:has([aria-invalid="true"]) {border-color: #ba3151}
body.goods-store #product-info .olmax-quantity-error {
  color: #a52144;
  margin-top: 5px;
  font-size: .82rem;
}
body.goods-store #product-info .olmax-quantity-error:empty {display: none}
body.goods-store #product-info .olmax-cart-controls #button-cart {
  width: 100%;
  min-width: 0;
  min-height: var(--olmax-purchase-height);
  padding: 6px 8px;
  border-radius: 12px;
  font-size: .95rem;
  line-height: 1.15;
  white-space: normal;
}
body.goods-store #product-info .olmax-buyinfo {
  display: grid;
  gap: .65rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #e5edf6;
}
body.goods-store #product-info .olmax-buyinfo__row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .6rem;
  align-items: start;
}
body.goods-store #product-info .olmax-buyinfo__row > i {
  display: grid;
  place-items: center;
  min-height: 2rem;
  color: #1258a8;
  background: #edf5ff;
  border-radius: .5rem;
}
body.goods-store #product-info .olmax-buyinfo__title {
  display: block;
  color: #143a63;
  font-size: .92rem;
  font-weight: 700;
}
body.goods-store #product-info .olmax-buyinfo__text {
  color: #435d77;
  overflow-wrap: anywhere;
}
body.goods-store #product-info .olmax-buyinfo__text a {
  color: #0759b7;
  text-decoration: underline;
  text-underline-offset: .16em;
}
body.goods-store #product-info :is(#tab-description, #tab-specification) {
  min-width: 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body.goods-store #product-info #tab-description img {
  max-width: 100%;
  height: auto;
}
body.goods-store #product-info #tab-description table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
body.goods-store #product-info #tab-description pre {
  white-space: pre-wrap;
}
body.goods-store #product-info #tab-specification thead th {
  color: #153c64;
  background: #edf5ff;
}
body.goods-store #product-info #tab-specification tbody th {
  width: 40%;
  font-weight: 650;
}
body.goods-store #product-info :is(a, button, [tabindex]):focus-visible {
  outline: 2px solid #1765c2;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  body.goods-store #product-info .gs-product-layout {
    gap: .85rem;
  }
  body.goods-store #product-info .gs-product-layout > .col-sm {
    flex: 0 0 100%;
  }
  body.goods-store #product-info .gs-product-gallery .image > a:first-child img {
    max-height: none;
    aspect-ratio: 1;
  }
  body.goods-store .gs-purchase-dock #goods-dock-cart {
    min-height: 44px;
    white-space: normal;
    text-align: center;
  }
  body.goods-store .gs-purchase-dock .gs-dock-facts {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  body.goods-store.olmax-product-dock-blocked .gs-mobile-dock {
    visibility: hidden;
    pointer-events: none;
  }
}

/* One product heading in reading order on mobile and beside the gallery on desktop. */
body.goods-store #product-info .gs-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "gallery heading" "gallery purchase";
  align-items: start;
  gap: 12px clamp(18px, 3vw, 44px);
  margin-inline: 0;
}
body.goods-store #product-info .gs-product-layout > * {width: 100%; padding-inline: 0}
body.goods-store #product-info .gs-product-gallery {grid-area: gallery}
body.goods-store #product-info .gs-product-detail {grid-area: purchase}
body.goods-store #product-info .olmax-product-heading {grid-area: heading; min-width: 0}
body.goods-store #product-info .olmax-product-heading h1 {
  margin: 0 0 .4rem; color: #143454; line-height: 1.18;
  font-size: clamp(1.3rem, 2.3vw, 2.1rem); overflow-wrap: anywhere;
}
body.goods-store #product-info .olmax-product-heading .gs-product-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem;
  margin: 0; padding: 0; font-size: .85rem; color: #465f77;
}
body.goods-store #product-info .olmax-purchase-price .gs-detail-stock {
  margin-block: .3rem; font-size: .87rem; font-weight: 650;
}
body.goods-store #product-info .gs-product-gallery .image > a:first-child img {object-fit: contain}
body.goods-store #product-info .gs-purchase-panel > .rating {margin: .75rem 0}
@media (max-width: 767px) {
  body.goods-store #product-info .gs-product-layout {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto;
    grid-template-areas: "heading" "gallery" "purchase"; gap: .65rem;
  }
  body.goods-store #product-info .olmax-product-heading h1 {font-size: clamp(1.18rem, 5vw, 1.5rem)}
  body.goods-store #product-info .gs-product-gallery .image > a:first-child img {
    /* Match the visible square raster to its frame, as in listing cards. */
    width: 100%; height: auto; max-height: none; aspect-ratio: 1;
    padding: 0; margin-bottom: 0 !important;
  }
  body.goods-store #product-info .gs-product-gallery .olmax-gallery-filmstrip a {
    width: 48px; height: 48px; flex-basis: 48px;
  }
  body.goods-store #product-info .gs-product-gallery .olmax-gallery-filmstrip img {width: 42px; height: 42px}
}

body.goods-store #product-info .breadcrumb {
  display:flex; flex-wrap:nowrap; align-items:center; gap:0; overflow-x:auto;
  list-style:none; margin:0 0 12px; padding:4px 0; scrollbar-width:thin;
}
body.goods-store #product-info .breadcrumb > li.breadcrumb-item {
  display:inline-flex; align-items:center; flex:0 0 auto;
  position:static; margin:0; padding:0; line-height:1.4; font-size:.8rem;
}
body.goods-store #product-info .breadcrumb > li.breadcrumb-item::after,
body.goods-store #product-info .breadcrumb > li.breadcrumb-item::before {
  content:none; display:none; border:0; transform:none; width:auto; height:auto;
}
body.goods-store #product-info .breadcrumb > li.breadcrumb-item + li.breadcrumb-item::before {
  content:"›"; display:inline-block; position:static; float:none; flex:none;
  padding:0; width:8px; margin:0 5px; color:#62788c; text-align:center;
}
body.goods-store #product-info .breadcrumb :is(a,[aria-current]) {white-space:nowrap}
body.goods-store #product-info .breadcrumb a {display:inline-flex; align-items:center; min-height:32px}
body.goods-store #product-info .breadcrumb [aria-current] {white-space:normal}
body.goods-store #product-info .breadcrumb > li:last-child {flex:0 1 auto; min-width:0}
@media(max-width:767px) {
  body.goods-store #product-info .breadcrumb [aria-current] {display:block; max-width:40vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  body.goods-store #product-info .breadcrumb > li:last-child {flex:none}
}
body.goods-store #product-info .olmax-buyinfo {display:block; padding:0; overflow:visible}
body.goods-store #product-info .olmax-buyinfo__item + details {border-top:1px solid #dce6ef}
body.goods-store #product-info .olmax-buyinfo summary {
  display:grid; grid-template-columns:20px minmax(0,1fr) 12px; align-items:center;
  gap:10px; min-height:44px; padding:8px 12px; cursor:pointer; list-style:none;
  font-weight:650; color:#153b62;
}
body.goods-store #product-info .olmax-buyinfo summary::-webkit-details-marker {display:none}
body.goods-store #product-info .olmax-buyinfo summary:focus-visible {outline:2px solid #1765c2; outline-offset:-2px}
body.goods-store #product-info .olmax-buyinfo__chevron {width:8px;height:8px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
body.goods-store #product-info details[open] .olmax-buyinfo__chevron {transform:rotate(225deg)}
body.goods-store #product-info .olmax-buyinfo__text {padding:0 14px 12px 42px;line-height:1.5}
@media (max-width:359px) {
  body.goods-store #product-info .olmax-buyinfo summary {
    padding-inline:8px; grid-template-columns:16px minmax(0,1fr) 9px;
    gap:7px; font-size:14px; line-height:1.35;
  }
}
