/* Product detail page. Existing gallery, options and purchase hooks are retained. */
.store-product {
  --product-accent: #2a70b0;
  --product-ink: #172b3e;
  --product-muted: #64768a;
  --product-border: #dce6ef;
  --product-gallery-size: clamp(280px, 32vw, 430px);
  background: #f5f8fb;
  color: var(--product-ink);
}
.store-product .product-page { max-width: 1380px !important; padding: 26px 32px 64px; }
.store-product h1, .store-product h2, .store-product h3, .store-product h4, .store-product h5, .store-product h6,
.store-product button, .store-product input, .store-product select { font-family: inherit; }
.store-product .product-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--product-muted); font-size: .81rem; line-height: 1.5; letter-spacing: 0; }
.store-product .product-breadcrumb a { text-decoration: none; }
.store-product .product-breadcrumb a:hover { color: var(--product-accent); text-decoration: underline; }
.store-product .product-layout { display: flex; align-items: flex-start; gap: 32px; }
.store-product .product-layout > * { min-width: 0; }
.store-product .product-left-column { display: flex; flex: 1.08 1 0; flex-direction: column; gap: 24px; }
.store-product .product-information { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.store-product .product-information:empty { display: none; }
.store-product .product-gallery { position: relative; width: 100%; padding: 20px; background: #fff; border: 1px solid var(--product-border); border-radius: 18px; }
.store-product .product-gallery-layout { display: flex; align-items: stretch; gap: 14px; min-width: 0; }
.store-product .product-thumbnails { flex: 0 0 66px; width: 66px; min-width: 66px; max-width: 66px; height: var(--product-gallery-size); }
.store-product .image-container-small { display: flex; flex-direction: column; gap: 10px; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; scroll-behavior: smooth; scrollbar-width: none; }
.store-product .image-container-small .center-img { flex: 0 0 66px; width: 66px; min-height: 66px; padding: 7px; border: 1px solid var(--product-border); border-radius: 9px; cursor: pointer; transition: border-color .15s, background .15s; }
.store-product .image-container-small .center-img:hover { background: #f4f8fc; border-color: var(--product-accent); }
.store-product .image-container-small .center-img img { width: auto; max-width: 100%; height: auto; max-height: 50px; padding: 0; object-fit: contain; }
.store-product .product-thumbnails:has(.image-container-small:empty) { display: none; }
.store-product .product-main-image { flex: 1; min-width: 0; }
.store-product .product-image-original { position: relative; display: block; width: 100%; border-radius: 12px; color: #245e91; text-decoration: none; cursor: zoom-in; }
.store-product .product-image-zoom { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #dce7ef; border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 2px 8px rgba(23,43,62,.06); pointer-events: none; transition: background .15s, border-color .15s; }
.store-product .product-image-original:hover .product-image-zoom { border-color: #b6d0e5; background: #eaf3fa; }
.store-product .product-image-original:focus-visible { outline: 3px solid #86b7e2; outline-offset: 3px; }
.store-product .product-image-original[hidden] { display: none !important; }
.store-product .image-container { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--product-gallery-size); min-height: 0; padding: 20px 12px; overflow: hidden; border: 0; border-radius: 12px; background: #fff; }
.store-product .image-container > img, .store-product .image-container > .store-picture > img { display: block; width: auto; height: auto; min-width: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.store-product .scroll-arrow { z-index: 2; display: none; align-items: center; justify-content: center; width: 100%; min-height: 32px; border: 1px solid var(--product-border); border-radius: 8px; background: rgba(255,255,255,.95); color: var(--product-accent); cursor: pointer; box-shadow: 0 3px 10px rgba(23,43,62,.07); }
.store-product #scroll-top-arrow { top: 0; }
.store-product #scroll-bottom-arrow { bottom: 0; }
.store-product .product-details { flex: 1 1 0; width: 100%; min-width: 0; max-width: none; }
.store-product .product-spec { display: flex; flex-direction: column; gap: 22px; }
.store-product .product-heading h1 { margin: 0 0 20px; color: var(--product-ink); font-size: clamp(1.6rem, 2.35vw, 2.3rem); font-weight: 720; line-height: 1.22; letter-spacing: -.035em; overflow-wrap: anywhere; }
.store-product .product-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.store-product .product-fact { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 5px; max-width: 100%; padding: 6px 10px; border: 1px solid #e0e8f0; border-radius: 7px; background: #fff; font-size: .74rem; line-height: 1.5; }
.store-product .product-fact > span { color: var(--product-muted); }
.store-product .product-fact strong { font-weight: 650; overflow-wrap: anywhere; }
.store-product .product-brand { background: #edf5fc; border-color: #d4e6f4; }
.store-product .product-brand strong { color: #225b8b; }
.store-product .product-edit { padding: 6px 4px; color: var(--product-accent); font-size: .8rem; }
.store-product .product-order-form { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 24px; border: 1px solid var(--product-border); border-radius: 16px; background: #fff; }
.store-product .product-price-label { color: var(--product-muted); font-size: .8rem; font-weight: 500; }
.store-product .product-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 4px 0 10px; }
.store-product .product-current-price { color: #1b527f; font-size: clamp(2rem, 3vw, 2.65rem); font-weight: 750; line-height: 1.15; letter-spacing: -.04em; white-space: nowrap; }
.store-product .product-currency { font-size: .7em; font-weight: 650; }
.store-product .product-prices .rrp { display: inline; color: #7b8795; font-size: 1rem; font-weight: 400; text-decoration: line-through; white-space: nowrap; }
.store-product .product-stock-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .81rem; }
.store-product .product-stock { display: inline-flex; align-items: center; gap: 6px; color: #435c70; }
.store-product .product-stock strong { color: var(--product-ink); font-weight: 650; }
.store-product .product-stock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--product-accent); }
.store-product .product-savings { color: #276b54; font-size: .78rem; font-weight: 550; }
.store-product .product-section-label { margin: 0; color: var(--product-ink); font-size: .92rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.4; }
.store-product .product-options { gap: 14px; padding-top: 16px; border-top: 1px solid #e7edf3; }
.store-product .product-options > .flex { min-width: 0; gap: 6px; }
.store-product .product-options label { color: #405569; font-size: .82rem; font-weight: 550; }
.store-product .product-options select, .store-product .product-options input[type="text"], .store-product .product-options input[type="datetime-local"] { width: 100%; max-width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #cad8e4; border-radius: 9px; background: #fff; color: var(--product-ink); font: inherit; font-size: .88rem; }
.store-product .product-options select { padding-right: 30px; }
.store-product .product-options .radio-checkbox { display: flex; flex-wrap: wrap; gap: 6px; }
.store-product .product-options .radio-checkbox > div { max-width: 100%; }
.store-product .product-options .radio-checkbox label { display: block; height: 100%; cursor: pointer; }
.store-product .product-options .radio-checkbox label span { display: flex; align-items: center; min-height: 42px; padding: 7px 10px; font-size: .82rem; overflow-wrap: anywhere; }
.store-product .product-purchase { display: flex; align-items: end; gap: 14px; }
.store-product .product-quantity-field { flex: 0 0 auto; }
.store-product .product-quantity-field > label { display: block; margin-bottom: 7px; color: #405569; font-size: .77rem; font-weight: 550; }
.store-product .quantity-button { display: flex; align-items: stretch; height: 50px; overflow: hidden; border: 1px solid #cbd9e5; border-radius: 9px; }
.store-product .quantity-button .quantity-input { width: 44px; min-width: 0; height: 48px; padding: 8px 0; border-radius: 0; color: var(--product-ink); font-size: 1rem; font-weight: 600; }
.store-product .quantity-button .decrement-btn, .store-product .quantity-button .increment-btn { width: 34px; min-height: 48px; padding: 8px 0; border-radius: 0; background: #fff; color: #526a7f; font-size: 1.1rem; }
.store-product .quantity-button .decrement-btn:hover, .store-product .quantity-button .increment-btn:hover { background: #edf5fc; color: var(--product-accent); }
.store-product .product-add-to-cart { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 10px; min-width: 0; height: auto; min-height: 50px; padding: 12px 18px; border: 1px solid var(--product-accent); border-radius: 9px; background: var(--product-accent); color: #fff; font-size: .98rem; font-weight: 650; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.store-product .product-add-to-cart:hover { background: #205c92; border-color: #205c92; box-shadow: 0 5px 14px rgba(42,112,176,.15); }
.store-product .product-add-to-cart .shoping-cart-icon { display: inline-flex; flex: 0 0 auto; align-items: center; padding: 0; border: 0; }
.store-product .product-add-to-cart .shoping-cart-icon img { width: 19px; max-width: 19px; height: 19px; object-fit: contain; }
.store-product .product-unavailable { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 50px; padding: 12px; border: 1px solid #dce3e9; border-radius: 9px; background: #f2f5f8; color: #687989; font-size: .9rem; font-weight: 600; text-align: center; }
.store-product .product-secondary-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -10px; }
.store-product .product-secondary-actions > .m-w100, .store-product .product-unavailable { width: auto !important; min-width: 0; }
.store-product .product-secondary { display: inline-flex; flex: 1; flex-direction: row; align-items: center; justify-content: center; gap: 8px; width: auto; height: auto; min-height: 44px; padding: 10px 12px; border: 1px solid #dce6ef; border-radius: 9px; background: #fff; color: #3e5d77; font-family: inherit; font-size: .81rem; font-weight: 550; line-height: 1.4; cursor: pointer; }
.store-product .product-secondary:hover { background: #f0f6fb; border-color: #b5cde1; color: #205c92; }
.store-product .product-secondary img { flex: 0 0 auto; width: 17px; max-width: 17px; height: 17px; object-fit: contain; filter: brightness(0) saturate(100%) invert(35%) sepia(25%) saturate(620%) hue-rotate(163deg); }
.store-product .product-secondary i { font-size: 1rem; }
.store-product .product-delivery { display: grid; gap: 12px; padding-top: 19px; border-top: 1px solid #e7edf3; }
.store-product .product-delivery > div { display: flex; align-items: start; gap: 12px; color: #536a7e; font-size: .8rem; line-height: 1.6; }
.store-product .product-delivery i { flex: 0 0 20px; padding-top: 4px; color: var(--product-accent); font-size: 1rem; text-align: center; }
.store-product .product-service-note { padding: 13px 14px; border-radius: 8px; background: #f2f6fa; }
.store-product .product-service-note > div { color: #63768a !important; font-size: .72rem; font-weight: 400; line-height: 1.65; }
.store-product .product-description, .store-product .product-documents { margin: 0; padding: 26px; border: 1px solid var(--product-border); border-radius: 16px; background: #fff; overflow-wrap: anywhere; }
.store-product .product-section-title { margin: 0 0 20px; color: var(--product-ink); font-size: 1.35rem; font-weight: 650; line-height: 1.3; letter-spacing: -.025em; }
.store-product .product-rich-content { max-width: 100%; overflow-x: auto; color: #43576a; font-size: .94rem; line-height: 1.8; }
.store-product .product-rich-content > :first-child { margin-top: 0; }
.store-product .product-rich-content p { margin-bottom: 14px; }
.store-product .product-rich-content h2, .store-product .product-rich-content h3, .store-product .product-rich-content h4 { margin-top: 24px; margin-bottom: 12px; color: var(--product-ink); line-height: 1.4; }
.store-product .product-rich-content h2 { font-size: 1.2rem; }
.store-product .product-rich-content h3 { font-size: 1.08rem; }
.store-product .product-rich-content h4 { font-size: 1rem; }
.store-product .product-rich-content img, .store-product .product-rich-content video, .store-product .product-rich-content iframe { max-width: 100%; }
.store-product .product-rich-content img { height: auto; }
.store-product .product-rich-content table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.store-product .product-rich-content td, .store-product .product-rich-content th { padding: 12px 14px; border-color: #e0e8ef; text-align: left; }
.store-product .product-rich-content tr:nth-child(even), .store-product .product-rich-content tr:first-child { background: #f3f7fb; color: inherit; }
.store-product .product-rich-content a { color: #21679f; text-decoration: underline; text-underline-offset: 3px; }
.store-product .product-document-list { display: flex; flex-wrap: wrap; gap: 12px; }
.store-product .product-document-list a { display: flex; align-items: center; gap: 12px; max-width: 100%; min-height: 64px; padding: 14px 16px; border: 1px solid var(--product-border); border-radius: 10px; color: #3e5d77; font-size: .86rem; }
.store-product .product-document-list a:hover { background: #f3f8fc; border-color: #b5cde1; }
.store-product .product-document-list img { flex: 0 0 auto; object-fit: contain; }
.store-product .product-related { margin-top: 42px; }
.store-product .product-related .product-section-title { margin-bottom: 4px; }
.store-product .product-related .p-wrap.product { background: #fff; }

/* Complementary items use spare desktop column height without stretching the purchase form. */
.store-product .product-complement-slot { min-width: 0; margin-top: 24px; }
.store-product .product-complements { min-width: 0; padding: 16px; border: 1px solid var(--product-border); border-radius: 14px; background: #fff; }
.store-product .product-complements > h2 { margin: 0; color: var(--product-ink); font-size: 1rem; font-weight: 650; line-height: 1.45; letter-spacing: -.015em; text-transform: none; }
.store-product .product-complement-notice { margin: 6px 0 14px; color: var(--product-muted); font-size: .75rem; line-height: 1.5; letter-spacing: 0; }
.store-product .product-complements-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.store-product .product-complement-card { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 14px; min-width: 0; min-height: 108px; padding: 10px; border: 1px solid #e1e8ef; border-radius: 10px; background: #fff; color: var(--product-ink); text-align: left; text-decoration: none; transition: border-color .15s, background .15s; }
.store-product .product-complement-card:hover { border-color: #9ebfda; background: #f8fbfe; color: var(--product-ink); }
.store-product .product-complement-card:focus-visible { outline: 3px solid #8cb8dc; outline-offset: 3px; }
.store-product .product-complement-image { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; min-width: 0; padding: 4px; border-radius: 7px; background: #fff; }
.store-product .product-complement-image img { display: block; width: 100%; height: 100%; min-width: 0; max-width: 100%; max-height: 100%; padding: 0; object-fit: contain; }
.store-product .product-complement-image:empty { background: #f2f6fa; }
.store-product .product-complement-image:empty::before { content: ""; width: 30px; height: 30px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' stroke='%2392a9bc' stroke-width='1.5'%3E%3Crect x='4' y='5' width='24' height='22' rx='4'/%3E%3Ccircle cx='11' cy='12' r='2'/%3E%3Cpath d='m5 23 7-7 5 5 4-4 6 6'/%3E%3C/svg%3E"); }
.store-product .product-complement-content { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.store-product .product-complement-name { display: -webkit-box; width: 100%; min-width: 0; max-height: 2.8em; margin: 0; overflow: hidden; color: var(--product-ink); font-size: .82rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.store-product .product-complement-reason { display: -webkit-box; width: 100%; max-height: 1.4em; margin: 4px 0 0; overflow: hidden; color: var(--product-muted); font-size: .72rem; line-height: 1.4; letter-spacing: 0; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.store-product .product-complement-price { display: block; margin-top: 4px; color: #205e91; font-size: 1.06rem; font-weight: 700; line-height: 1.4; letter-spacing: -.015em; white-space: nowrap; }
@media (max-width: 480px) {
  .store-product .product-complements { padding: 14px; }
  .store-product .product-complement-card { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .store-product .product-complement-image { width: 64px; height: 64px; }
}
/* Browsers without size queries keep the useful section in normal document flow. */
@supports (container-type: size) {
  @media (min-width: 901px) {
    .store-product .product-details { align-self: stretch; display: flex; flex-direction: column; }
    .store-product .product-spec { flex: 0 0 auto; }
    .store-product .product-complement-slot { flex: 1 1 0; min-height: 0; margin-top: 0; container-name: product-complement-space; container-type: size; }
    .store-product .product-complements { display: none; margin-top: 24px; }
    .store-product .product-complement-card { height: 108px; }
    .store-product .product-complement-card:nth-child(n+2) { display: none; }
    @container product-complement-space (min-height: 280px) {
      .store-product .product-complements { display: block; }
    }
    @container product-complement-space (min-height: 400px) {
      .store-product .product-complement-card:nth-child(2) { display: grid; }
    }
    @container product-complement-space (min-height: 520px) {
      .store-product .product-complement-card:nth-child(3) { display: grid; }
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .store-product .product-complement-card { transition: none; }
}

/* The native dialog occupies the viewport and leaves the product page in place. */
.store-image-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #f4f7fb; color: #173149; overflow: hidden; }
.store-image-viewer[open] { display: flex; flex-direction: column; }
.store-image-viewer::backdrop { background: rgba(14,30,46,.8); }
.store-image-viewer-header { display: flex; flex: 0 0 auto; align-items: center; gap: 16px; padding: max(14px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 14px max(20px, env(safe-area-inset-left)); background: #fff; border-bottom: 1px solid #dce5ef; }
.store-image-viewer-title { flex: 1; min-width: 0; margin: 0; font-size: 1rem; font-weight: 650; line-height: 1.4; }
.store-image-viewer-count { flex: 0 0 auto; color: #52697e; font-size: .9rem; font-variant-numeric: tabular-nums; }
.store-image-viewer button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 48px; padding: 0; border: 1px solid #ccdbe9; border-radius: 50%; background: #fff; color: #215f91; font: 400 32px/1 Arial, sans-serif; cursor: pointer; box-shadow: 0 3px 12px rgba(24,47,70,.06); }
.store-image-viewer button:hover { background: #e9f2fb; border-color: #8eb5d6; }
.store-image-viewer button:focus-visible { outline: 3px solid #2674b6; outline-offset: 4px; }
.store-image-viewer [hidden] { display: none !important; }
.store-image-viewer-stage { display: flex; position: relative; flex: 1; min-height: 0; align-items: center; justify-content: center; gap: 16px; padding: 20px max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); touch-action: pan-y pinch-zoom; }
.store-image-viewer-picture { display: flex; flex: 1; min-width: 0; height: 100%; align-items: center; justify-content: center; }
.store-image-viewer-image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.store-image-viewer-status { position: absolute; left: 50%; top: 50%; max-width: calc(100% - 120px); margin: 0; padding: 12px 16px; border-radius: 10px; transform: translate(-50%, -50%); background: #fff; color: #415c73; font-size: .94rem; text-align: center; pointer-events: none; }
@media (max-width: 600px) {
  .store-image-viewer-header { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .store-image-viewer-stage { padding: 12px; }
  .store-image-viewer-stage > button { position: absolute; z-index: 1; bottom: max(20px, env(safe-area-inset-bottom)); width: 44px; height: 44px; }
  .store-image-viewer-prev { left: calc(50% - 54px); }
  .store-image-viewer-next { right: calc(50% - 54px); }
  .store-image-viewer-picture { padding-bottom: 64px; box-sizing: border-box; }
}

/* Unavailable product routes use the regular storefront header and footer. */
.store-product.product-not-found { padding: 48px 20px 64px; }
.store-product .product-not-found-content { width: 100%; max-width: 800px !important; padding: 0; }
.store-product .product-not-found-card { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--product-border); border-radius: 20px; background: #fff; box-shadow: 0 12px 36px rgba(23,43,62,.04); }
.store-product .product-not-found-code { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 11px; border: 1px solid #d4e6f4; border-radius: 8px; background: #edf5fc; color: #225b8b; font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.store-product .product-not-found-card h1 { margin: 20px 0 14px; font-size: clamp(1.65rem, 4vw, 2.25rem); font-weight: 720; line-height: 1.2; letter-spacing: -.025em; color: var(--product-ink); }
.store-product .product-not-found-card > p { max-width: 60ch; margin: 0; color: #536b80; font-size: 1rem; line-height: 1.7; }
.store-product .product-not-found-search { display: flex; flex-direction: column; gap: 9px; margin: 28px 0 22px; }
.store-product .product-not-found-search label { color: var(--product-ink); font-size: .88rem; font-weight: 650; }
.store-product .product-not-found-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.store-product .product-not-found-search input { width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 11px 14px; border: 1px solid #b9cad9; border-radius: 9px; background: #fff; color: var(--product-ink); font-size: 1rem; }
.store-product .product-not-found-search input::placeholder { color: #62798c; opacity: 1; }
.store-product .product-not-found-search button { min-height: 48px; padding: 11px 22px; border: 1px solid var(--product-accent); border-radius: 9px; background: var(--product-accent); color: #fff; font-size: .95rem; font-weight: 650; letter-spacing: 0; cursor: pointer; }
.store-product .product-not-found-search button:hover { border-color: #225b8b; background: #225b8b; }
.store-product .product-not-found-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.store-product .product-not-found-actions a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #225b8b; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.store-product .product-not-found-actions .product-not-found-catalog { font-weight: 650; }
.store-product .product-not-found-card :is(a, button, input):focus-visible { outline: 3px solid #97bee0; outline-offset: 3px; }
@media (max-width: 480px) {
  .store-product.product-not-found { padding: 24px 14px 36px; }
  .store-product .product-not-found-card { padding: 24px 20px; border-radius: 14px; }
  .store-product .product-not-found-search-row { grid-template-columns: 1fr; }
  .store-product .product-not-found-search button { width: 100%; }
}

@media (min-width: 1101px) {
  .store-product .product-related .wrap-products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .store-product .product-related .p-wrap.product { width: 100%; min-width: 0; max-width: none; }
}
@media (max-width: 1100px) {
  .store-product { --product-gallery-size: 380px; }
  .store-product .product-layout { gap: 24px; }
  .store-product .product-left-column { flex: 1 1 0; }
  .store-product .product-gallery { padding: 14px; }
  .store-product .product-gallery-layout { flex-direction: column-reverse; }
  .store-product .product-thumbnails { flex: 0 0 auto; width: 100%; min-width: 0; max-width: none; height: auto; }
  .store-product .image-container-small { flex-direction: row; height: auto; overflow-x: auto; overflow-y: hidden; }
  .store-product .product-thumbnails .scroll-arrow { display: none !important; }
  .store-product .product-order-form { padding: 20px; }
  .store-product .product-add-to-cart { padding: 12px; font-size: .9rem; }
  .store-product .product-secondary-actions { flex-direction: column; }
}
@media (max-width: 800px) {
  .store-product { --product-gallery-size: min(82vw, 450px); }
  .store-product .product-page { padding: 18px 20px 42px; }
  .store-product .product-breadcrumb { margin-bottom: 18px; font-size: .75rem; }
  .store-product .product-layout { flex-direction: column; gap: 24px; }
  .store-product .product-left-column { display: contents; }
  .store-product .product-gallery { order: 1; position: static; border-radius: 14px; }
  .store-product .product-details { order: 2; flex: 0 1 auto; }
  .store-product .product-information { order: 3; width: 100%; }
  .store-product .product-gallery-layout { gap: 12px; }
  .store-product .image-container-small { display: flex !important; }
  .store-product .image-container { padding: 16px 24px; }
  .store-product .product-heading h1 { margin-bottom: 16px; font-size: 1.65rem; }
  .store-product .product-spec { gap: 18px; }
  .store-product .product-order-form { gap: 18px; }
  .store-product .product-options .radio-checkbox label span { min-height: 44px; }
  .store-product .product-secondary-actions { flex-direction: row; }
  .store-product .product-description, .store-product .product-documents { padding: 24px 20px; border-radius: 14px; }
  .store-product .product-section-title { font-size: 1.2rem; }
  .store-product .product-rich-content { font-size: .89rem; }
  .store-product .product-document-list a { width: 100%; }
}
@media (max-width: 420px) {
  .store-product .product-page { padding-left: 14px; padding-right: 14px; }
  .store-product .product-heading h1 { font-size: 1.45rem; }
  .store-product .product-order-form { padding: 18px 16px; }
  .store-product .product-purchase { gap: 10px; }
  .store-product .quantity-button .quantity-input { width: 34px; }
  .store-product .quantity-button .decrement-btn, .store-product .quantity-button .increment-btn { width: 28px; }
  .store-product .product-add-to-cart { gap: 7px; padding: 10px; font-size: .86rem; }
  .store-product .product-secondary { padding: 10px 8px; font-size: .76rem; }
  .store-product .product-description, .store-product .product-documents { padding: 22px 16px; }
}
