/* ARGems Product Detail · V3006 lightbox minimal overlay cleanup */
:root {
  --pd-blue: #1f59cf;
  --pd-blue-d: #1b4fbd;
  --pd-blue-dd: #143a93;
  --pd-navy: #16327d;
  --pd-navy-d: #102661;
  --pd-bg: #eef2f8;
  --pd-card: #ffffff;
  --pd-border: #e5ebf3;
  --pd-border-2: #dde6f1;
  --pd-line: #eef2f7;
  --pd-text: #26344f;
  --pd-title: #16244a;
  --pd-muted: #667794;
  --pd-muted-2: #8d9bb3;
  --pd-green: #1a8a4f;
  --pd-green-bg: #e6f6ec;
  --pd-amber: #e2700d;
  --pd-amber-bg: #fdeede;
  --pd-gold: #c79a3a;
  --pd-red: #d6453a;
  --pd-red-bg: #fdeceb;
  --pd-blue-bg: #e8effb;
  --pd-slate: #5b6b86;
  --pd-slate-bg: #eef2f8;
  --pd-shadow: 0 1px 2px rgba(16, 40, 80, .04), 0 1px 3px rgba(16, 40, 80, .05);
  --pd-shadow-card: 0 1px 2px rgba(16, 40, 80, .04), 0 1px 3px rgba(16, 40, 80, .05);
  --pd-shadow-pop: 0 14px 40px rgba(16, 40, 80, .14), 0 2px 8px rgba(16, 40, 80, .08);
  --pd-radius: 14px;
  --pd-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.single-product-page {
  background: var(--pd-bg);
  color: var(--pd-text);
  font-family: var(--pd-font);
  font-size: 14px;
  line-height: 1.45;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.single-product-page *,
.single-product-page *::before,
.single-product-page *::after {
  box-sizing: border-box;
}

.single-product-page a {
  color: inherit;
  text-decoration: none;
}

.single-product-page button,
.single-product-page input,
.single-product-page textarea,
.single-product-page select {
  font: inherit;
}

.single-product-page [data-product-detail-root] button,
.single-product-page [data-product-detail-root] input,
.single-product-page [data-product-detail-root] textarea,
.single-product-page [data-product-detail-root] select {
  font: inherit;
}

.single-product-page [data-product-detail-root] button {
  -webkit-appearance: none;
  appearance: none;
}

.single-product-page [data-product-detail-root] {
  font-family: var(--pd-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.single-product-page [data-product-detail-root] button:focus,
.single-product-page [data-product-detail-root] a:focus,
.single-product-page [data-product-detail-root] input:focus {
  outline: 0;
}

.single-product-page img,
.single-product-page svg {
  display: block;
}

.single-product-page button:focus-visible,
.single-product-page a:focus-visible,
.single-product-page input:focus-visible {
  box-shadow: 0 0 0 3px rgba(31, 89, 207, .18);
  outline: 0;
  outline-offset: 2px;
}

.pd-icon-sprite {
  height: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.pd-page {
  margin: 0 auto;
  max-width: 1500px;
  padding: 22px 24px 56px;
  width: 100%;
}

.pd-card {
  background: var(--pd-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius);
  box-shadow: var(--pd-shadow-card);
}

.pd-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  font-size: 13.5px;
  font-weight: 600;
  gap: 9px;
  justify-content: center;
  line-height: 1.15;
  min-height: 40px;
  padding: 9px 15px;
  transition: background-color .13s ease, border-color .13s ease, color .13s ease, box-shadow .13s ease;
  white-space: nowrap;
}

.pd-btn svg {
  flex: 0 0 17px;
  height: 17px;
  width: 17px;
}

.pd-btn:disabled,
.pd-btn[aria-disabled="true"] {
  cursor: default;
  opacity: .6;
}

.pd-btn-ghost {
  background: #fff;
  border-color: var(--pd-border-2);
  box-shadow: var(--pd-shadow);
  color: var(--pd-blue-dd);
}

.pd-btn-ghost:hover {
  background: #f6f9fd;
  border-color: #c6d6e9;
}

.pd-btn-navy {
  background: var(--pd-navy);
  box-shadow: 0 6px 18px rgba(22, 50, 125, .30);
  color: #fff;
}

.pd-btn-navy:hover {
  background: var(--pd-navy-d);
}

.pd-btn-block {
  width: 100%;
}

.pd-btn-lg {
  border-radius: 11px;
  font-size: 14px;
  height: 44px;
}

.pd-btn-lg svg {
  flex-basis: 18px;
  height: 18px;
  width: 18px;
}

.pd-btn-sm {
  border-radius: 11px;
  font-size: 12.5px;
  gap: 6px;
  padding: 11px 8px;
}

.pd-btn-sm svg {
  flex-basis: 15px;
  display: block;
  height: 15px;
  width: 15px;
}

.pd-btn.is-wished {
  background: #fdecec;
  border-color: #f0c3bf;
  color: var(--pd-red);
}

.pd-crumbs {
  align-items: center;
  color: var(--pd-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  margin: 2px 0 20px;
}

.pd-crumbs a,
.pd-crumbs span:not(.pd-current) {
  color: var(--pd-muted);
}

.pd-crumbs a:hover {
  color: var(--pd-blue);
}

.pd-sep {
  color: var(--pd-muted-2);
  font-size: 12px;
}

.pd-current {
  color: var(--pd-title);
  font-weight: 600;
}

.pd-layout {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) 290px;
}

.pd-main {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  min-width: 0;
}

.pd-gallery,
.pd-info,
.pd-buybox,
.pd-tabs-section {
  min-width: 0;
}

.pd-gallery {
  display: grid;
  gap: 14px;
  grid-column: 1;
  grid-template-columns: 58px minmax(0, 1fr);
}

.pd-info {
  grid-column: 2;
}

.pd-tabs-section {
  border-top: 1px solid var(--pd-border);
  grid-column: 1 / -1;
  margin-top: 22px;
  padding-top: 22px;
}

.pd-thumbs {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}

.pd-thumbs-track {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 9px;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.pd-thumbs-track::-webkit-scrollbar,
.pd-tabs::-webkit-scrollbar,
.pd-related-track::-webkit-scrollbar {
  display: none;
}

.pd-thumb-nav {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--pd-muted-2);
  cursor: pointer;
  display: grid;
  flex: 0 0 auto;
  height: 24px;
  justify-items: center;
  padding: 0;
  transition: background-color .12s ease, color .12s ease;
  width: 40px;
}

.pd-thumb-nav:hover {
  background: #eaeff6;
  color: var(--pd-slate);
}

.pd-thumb-nav svg {
  height: 18px;
  width: 18px;
}

.pd-thumb-nav-up svg {
  transform: rotate(180deg);
}

.pd-thumb-nav[hidden] {
  display: none;
}

.pd-thumb {
  background: #fff;
  border: 1.5px solid var(--pd-border-2);
  border-radius: 11px;
  cursor: pointer;
  display: block;
  flex: 0 0 auto;
  height: 52px;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: border-color .12s ease, box-shadow .12s ease;
  width: 52px;
}

.pd-thumb img,
.pd-thumb-placeholder {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.pd-thumb-placeholder {
  align-items: center;
  background: #f1f4f8;
  color: var(--pd-muted-2);
  display: grid;
  justify-items: center;
}

.pd-thumb-placeholder svg {
  height: 20px;
  width: 20px;
}

.pd-thumb:hover {
  border-color: #b8cdec;
}

.pd-thumb.is-active {
  border-color: var(--pd-blue);
  box-shadow: 0 0 0 3px rgba(31, 89, 207, .16);
}

.pd-stage {
  aspect-ratio: 1 / 1.06;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  background: #f1f4f8;
  border: 1px solid var(--pd-border);
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.pd-stage-media,
.pd-hero {
  height: 100%;
  width: 100%;
}

.pd-hero {
  -webkit-user-drag: none;
  object-fit: cover;
  user-select: none;
}

.pd-stage.is-swiping .pd-hero {
  cursor: grabbing;
}

.pd-hero-placeholder {
  align-content: center;
  color: var(--pd-muted);
  display: grid;
  font-size: 13px;
  gap: 10px;
  height: 100%;
  justify-items: center;
  width: 100%;
}

.pd-hero-placeholder svg {
  color: var(--pd-muted-2);
  height: 48px;
  width: 48px;
}

.pd-icon-btn {
  align-items: center;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(221, 230, 241, .78);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(16, 40, 80, .05), 0 4px 14px rgba(16, 40, 80, .08);
  color: var(--pd-slate);
  cursor: pointer;
  display: grid;
  height: 42px;
  justify-items: center;
  padding: 0;
  position: absolute;
  transition: background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
  width: 42px;
}

.pd-icon-btn:hover,
.pd-icon-btn:focus-visible {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(198, 214, 233, .92);
  box-shadow: 0 1px 2px rgba(16, 40, 80, .06), 0 7px 18px rgba(16, 40, 80, .12);
  color: var(--pd-blue);
}

.pd-icon-btn svg {
  height: 19px;
  width: 19px;
}

.pd-stage-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.pd-stage-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.pd-stage-prev,
.pd-stage-next {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--pd-slate);
  height: 28px;
  width: 28px;
}

.pd-stage-prev:hover,
.pd-stage-prev:focus-visible,
.pd-stage-next:hover,
.pd-stage-next:focus-visible {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--pd-blue);
}

.pd-stage-prev svg,
.pd-stage-next svg {
  height: 24px;
  width: 24px;
}

.pd-stage-expand {
  border-radius: 10px;
  bottom: 16px;
  height: 36px;
  right: 16px;
  width: 36px;
}

.pd-stage-expand svg {
  height: 16px;
  width: 16px;
}

.pd-stockline {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.pd-stock-badge {
  align-items: center;
  background: var(--pd-green-bg);
  border-radius: 7px;
  color: var(--pd-green);
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 7px;
  letter-spacing: .05em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.pd-stock-badge::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.pd-stock-badge[data-stock-code="low_stock"] {
  background: var(--pd-amber-bg);
  color: var(--pd-amber);
}

.pd-stock-badge[data-stock-code="out_of_stock"],
.pd-stock-badge[data-stock-code="unavailable"] {
  background: var(--pd-red-bg);
  color: var(--pd-red);
}

.pd-sku {
  color: var(--pd-muted);
  font-size: 13px;
  font-weight: 500;
}

.pd-sku b {
  color: var(--pd-text);
  font-weight: 600;
}

.pd-title {
  color: var(--pd-title);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 0;
}

.pd-lead {
  color: var(--pd-muted);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 13px 0 0;
  max-width: 560px;
}

.pd-divider {
  border: 0;
  border-top: 2px solid #c3d0e2;
  margin: 24px 0 6px;
}

.pd-block-title {
  color: var(--pd-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 26px 0 4px;
}

.pd-block-subtitle {
  color: var(--pd-muted);
  font-size: 13px;
  margin: 0 0 14px;
}

.pd-variants {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pd-variant {
  background: #fff;
  border: 1.5px solid var(--pd-border-2);
  border-radius: 13px;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  position: relative;
  text-align: left;
  transition: border-color .12s ease, box-shadow .12s ease;
}

.pd-variant:hover {
  border-color: #b8cdec;
}

.pd-variant.is-active {
  border-color: var(--pd-blue);
  box-shadow: 0 0 0 3px rgba(31, 89, 207, .14);
}

.pd-variant-img {
  aspect-ratio: 1 / .82;
  background: #f1f4f8;
  border-radius: 9px;
  display: block;
  margin-bottom: 9px;
  overflow: hidden;
  width: 100%;
}

.pd-variant-img img,
.pd-variant-placeholder {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.pd-variant-placeholder {
  align-items: center;
  color: var(--pd-muted-2);
  display: grid;
  justify-items: center;
}

.pd-variant-placeholder svg {
  height: 24px;
  width: 24px;
}

.pd-variant-name {
  color: var(--pd-title);
  display: block;
  font-size: 12.5px;
  font-weight: 700;
}

.pd-variant-meta {
  color: var(--pd-muted);
  display: block;
  font-size: 11.5px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-variant-price {
  color: var(--pd-title);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
  padding-top: 6px;
  white-space: nowrap;
}

.pd-variant-price.is-promo {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
}

.pd-variant-old {
  color: var(--pd-muted-2);
  font-size: 11px;
  font-weight: 600;
  text-decoration: line-through;
}

.pd-variant-new {
  color: var(--pd-red);
  font-size: 13px;
  font-weight: 800;
}

.pd-variant-check {
  align-items: center;
  background: var(--pd-blue);
  border-radius: 50%;
  color: #fff;
  display: none;
  height: 20px;
  justify-content: center;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 20px;
}

.pd-variant-check svg {
  height: 12px;
  width: 12px;
}

.pd-variant.is-active .pd-variant-check {
  display: grid;
}

.pd-view-all {
  align-items: center;
  color: var(--pd-blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  line-height: 1.2;
  margin-top: 14px;
  text-decoration: none;
}

.pd-view-all:hover {
  color: var(--pd-navy);
}

.pd-view-all svg {
  display: block;
  height: 15px;
  width: 15px;
}

.pd-tabs-wrap {
  position: relative;
}

.pd-tabs {
  align-items: center;
  border-bottom: 1px solid var(--pd-border);
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pd-tabs-wrap.can-scroll .pd-tabs {
  cursor: grab;
}

.pd-tabs.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.pd-tabs-wrap.fade-r::after,
.pd-tabs-wrap.fade-l::before {
  bottom: 0;
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 34px;
  z-index: 2;
}

.pd-tabs-wrap.fade-r::after {
  background: linear-gradient(to right, rgba(238, 242, 248, 0), var(--pd-bg));
  right: 0;
}

.pd-tabs-wrap.fade-l::before {
  background: linear-gradient(to left, rgba(238, 242, 248, 0), var(--pd-bg));
  left: 0;
}

.pd-tab {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--pd-muted);
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  margin-right: 18px;
  padding: 12px 4px;
  position: relative;
  transition: color .12s ease;
  white-space: nowrap;
}

.pd-tab:hover,
.pd-tab.is-active {
  color: var(--pd-blue);
}

.pd-tab.is-active::after {
  background: var(--pd-blue);
  border-radius: 3px;
  bottom: -1px;
  content: "";
  height: 2.5px;
  left: 0;
  position: absolute;
  right: 0;
}

.pd-tabpane {
  color: var(--pd-muted);
  font-size: 13.5px;
  line-height: 1.65;
  padding: 18px 2px 0;
}

.pd-tabpane[hidden] {
  display: none;
}

.pd-tabpane p {
  margin: 0 0 8px;
}

.pd-empty {
  color: var(--pd-muted);
  margin: 0;
}

.pd-spec-list {
  border-top: 1px solid var(--pd-line);
  margin: 4px 0 0;
}

.pd-spec-row {
  align-items: center;
  border-bottom: 1px solid var(--pd-line);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(130px, 220px) minmax(0, 1fr);
  padding: 12px 2px;
}

.pd-spec-row dt {
  color: var(--pd-muted);
  font-size: 13.5px;
  font-weight: 500;
}

.pd-spec-row dd {
  color: var(--pd-title);
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
}

.pd-buybox {
  grid-column: 2;
  padding: 22px 22px 20px;
  position: sticky;
  top: 20px;
}

.pd-price-row {
  align-items: baseline;
  display: flex;
  gap: 9px;
}

.pd-price {
  align-items: flex-start;
  color: var(--pd-title);
  display: inline-flex;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}

.pd-price-minor,
.pd-price-currency {
  font-size: .5em;
  font-weight: 700;
  line-height: 1;
  margin-left: 1px;
  margin-top: .18em;
}

.pd-price-currency {
  font-size: .52em;
  margin-left: 3px;
}

.pd-price-unit {
  color: var(--pd-muted);
  font-size: 13px;
}

.pd-price-promo {
  align-items: center;
  display: flex;
  gap: 9px;
  margin-top: 7px;
}

.pd-price-promo[hidden] {
  display: none;
}

.pd-price-was,
.pd-price-old {
  color: var(--pd-muted-2);
  font-weight: 600;
}

.pd-price-was {
  font-size: 12px;
}

.pd-price-old {
  font-size: 14px;
  text-decoration: line-through;
}

.pd-promo-pill {
  background: var(--pd-red);
  border-radius: 7px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .01em;
  padding: 3px 8px;
}

.pd-promo-save {
  color: var(--pd-red);
  font-size: 12.5px;
  font-weight: 600;
}

.pd-pricecalc {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 18px;
}

.pd-calc-line {
  align-items: center;
  color: var(--pd-muted);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
}

.pd-calc-line[hidden] {
  display: none;
}

.pd-shipping-preview {
  display: flex;
}

.pd-calc-left {
  align-items: center;
  display: flex;
  gap: 7px;
}

.pd-info-i {
  align-items: center;
  border: 1.4px solid var(--pd-muted-2);
  border-radius: 50%;
  color: var(--pd-muted-2);
  cursor: help;
  display: inline-grid;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
  height: 15px;
  justify-items: center;
  width: 15px;
}

.pd-calc-value {
  color: var(--pd-text);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.pd-calc-divider {
  background: var(--pd-line);
  height: 1px;
  margin: 3px 0;
}

.pd-calc-extra {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pd-calc-extra[hidden] {
  display: none;
}

.pd-total {
  font-size: 13.5px;
}

.pd-total .pd-calc-left {
  color: var(--pd-text);
  font-weight: 600;
}

.pd-grand .pd-calc-left {
  color: var(--pd-title);
  font-size: 14px;
  font-weight: 700;
}

.pd-grand .pd-calc-value {
  color: var(--pd-title);
  font-size: 15px;
  font-weight: 800;
}

.pd-calc-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--pd-blue);
  cursor: pointer;
  display: flex;
  font-family: var(--pd-font);
  font-size: 12.5px;
  font-weight: 700;
  gap: 5px;
  line-height: 1.2;
  justify-content: center;
  margin-top: 8px;
  padding: 4px 0;
  width: 100%;
}

.pd-calc-toggle:hover {
  color: var(--pd-navy);
}

.pd-calc-toggle svg {
  height: 14px;
  transition: transform .18s ease;
  width: 14px;
}

.pd-calc-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.pd-ship-note {
  align-items: center;
  background: var(--pd-blue-bg);
  border-radius: 10px;
  color: var(--pd-blue-dd);
  display: flex;
  font-size: 12.5px;
  font-weight: 500;
  gap: 8px;
  margin-top: 11px;
  padding: 9px 11px;
}

.pd-ship-note svg {
  color: var(--pd-blue);
  flex: 0 0 17px;
  height: 17px;
  width: 17px;
}

.pd-ship-note-link {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.pd-ship-note-link:hover {
  color: var(--pd-blue);
}

.pd-qty-row {
  align-items: center;
  border: 1px solid var(--pd-border-2);
  border-radius: 11px;
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  min-height: 52px;
  padding: 8px 8px 8px 15px;
}

.pd-qty-row.is-disabled {
  opacity: .58;
}

.pd-qty-label {
  color: var(--pd-title);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
}

.pd-qty {
  align-items: center;
  display: flex;
  gap: 2px;
}

.pd-qty button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--pd-border-2);
  border-radius: 9px;
  color: var(--pd-slate);
  cursor: pointer;
  display: grid;
  height: 34px;
  justify-items: center;
  line-height: 1;
  padding: 0;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
  width: 34px;
}

.pd-qty button:hover:not(:disabled) {
  background: #f6f9fd;
  border-color: #c6d6e9;
  color: var(--pd-blue);
}

.pd-qty button:disabled {
  cursor: default;
  opacity: .45;
}

.pd-qty button svg {
  display: block;
  height: 15px;
  width: 15px;
}

.pd-qty input {
  -moz-appearance: textfield;
  appearance: textfield;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--pd-title);
  display: block;
  font-family: var(--pd-font);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  height: 34px;
  line-height: 1;
  margin: 0;
  max-width: 42px;
  min-width: 42px;
  outline: 0;
  padding: 0;
  text-align: center;
  width: 42px;
}

.pd-qty input::-webkit-inner-spin-button,
.pd-qty input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.pd-actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 14px;
}

.pd-action-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.pd-trust {
  border-top: 1px solid var(--pd-line);
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  padding-top: 18px;
}

.pd-trust-item {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.pd-trust-icon {
  align-items: center;
  background: var(--pd-blue-bg);
  border-radius: 9px;
  color: var(--pd-blue);
  display: grid;
  flex: 0 0 30px;
  height: 30px;
  justify-items: center;
  margin-top: 1px;
  width: 30px;
}

.pd-trust-green .pd-trust-icon {
  background: var(--pd-green-bg);
  color: var(--pd-green);
}

.pd-trust-icon svg {
  height: 18px;
  width: 18px;
}

.pd-trust-item > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pd-trust-item strong {
  color: var(--pd-title);
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.pd-trust-item small {
  color: var(--pd-muted);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.pd-related {
  margin-top: 46px;
}

.pd-related-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pd-related-head h2 {
  color: var(--pd-title);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
  white-space: nowrap;
}

.pd-related-head .pd-view-all {
  margin: 0;
}

.pd-related-grid {
  position: relative;
}

.pd-related-track {
  cursor: grab;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.pd-related-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.pd-related-card {
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius);
  box-shadow: var(--pd-shadow-card);
  flex: 0 0 calc((100% - 4 * 16px) / 5);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform .22s cubic-bezier(.22, .61, .36, 1), box-shadow .22s ease, border-color .22s ease;
}

.pd-related-card:hover {
  border-color: #c6d6e9;
  box-shadow: var(--pd-shadow-pop);
  transform: translateY(-4px);
}

.pd-related-link {
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pd-related-img {
  aspect-ratio: 1 / .92;
  background: #f1f4f8;
  display: block;
  overflow: hidden;
  position: relative;
}

.pd-related-img img {
  height: 100%;
  object-fit: cover;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
  width: 100%;
}

.pd-related-card:hover .pd-related-img img {
  transform: scale(1.06);
}

.pd-related-placeholder {
  align-items: center;
  color: var(--pd-muted-2);
  display: grid;
  height: 100%;
  justify-items: center;
  width: 100%;
}

.pd-related-placeholder svg {
  height: 34px;
  width: 34px;
}

.pd-related-badge {
  background: var(--pd-red);
  border-radius: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  left: 8px;
  letter-spacing: .01em;
  padding: 3px 7px;
  position: absolute;
  top: 8px;
  z-index: 2;
}

.pd-related-body {
  align-items: flex-end;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 13px 14px 14px;
}

.pd-related-info {
  min-width: 0;
}

.pd-related-name,
.pd-related-sub,
.pd-related-price {
  display: block;
}

.pd-related-name {
  color: var(--pd-title);
  font-size: 13.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-related-sub {
  color: var(--pd-muted);
  font-size: 12px;
  margin-top: 2px;
}

.pd-related-price {
  color: var(--pd-title);
  font-size: 14px;
  font-weight: 800;
  margin-top: 9px;
}

.pd-related-price.is-promo {
  align-items: baseline;
  display: flex;
  gap: 7px;
}

.pd-related-old {
  color: var(--pd-muted-2);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: line-through;
}

.pd-related-new {
  color: var(--pd-red);
  font-size: 14px;
  font-weight: 800;
}

.pd-related-cart {
  align-items: center;
  background: var(--pd-navy);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(22, 50, 125, .24);
  color: #fff;
  display: grid;
  flex: 0 0 38px;
  height: 38px;
  justify-items: center;
  transition: background-color .12s ease;
  width: 38px;
}

.pd-related-link:hover .pd-related-cart {
  background: var(--pd-navy-d);
}

.pd-related-cart svg {
  height: 17px;
  width: 17px;
}

.pd-related-arrow {
  align-items: center;
  background: #fff;
  border: 1px solid var(--pd-border-2);
  border-radius: 50%;
  box-shadow: var(--pd-shadow-pop);
  color: var(--pd-slate);
  cursor: pointer;
  display: grid;
  height: 36px;
  justify-items: center;
  padding: 0;
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  transition: color .12s ease;
  width: 36px;
  z-index: 3;
}

.pd-related-arrow:hover {
  color: var(--pd-blue);
}

.pd-related-arrow svg {
  height: 18px;
  width: 18px;
}

.pd-related-arrow[hidden] {
  display: none;
}

.pd-related-prev {
  left: -13px;
}

.pd-related-next {
  right: -13px;
}

.pd-lightbox {
  align-items: center;
  background: rgba(16, 36, 74, .82);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 40px;
  position: fixed;
  z-index: 1000;
}

.pd-lightbox.is-open {
  display: flex;
}

.pd-lightbox-inner {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  position: relative;
}

.pd-lightbox-stage {
  aspect-ratio: 1 / 1;
  background: transparent;
  width: min(640px, 84vw);
}

.pd-lightbox-stage img,
.pd-lightbox-stage .pd-hero-placeholder {
  border-radius: 0;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.pd-lightbox-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: grid;
  height: 28px;
  justify-items: center;
  padding: 0;
  position: absolute;
  right: 0;
  top: -36px;
  transition: color .12s ease, opacity .12s ease;
  width: 28px;
  z-index: 2;
}

.pd-lightbox-close:hover,
.pd-lightbox-close:focus-visible {
  color: #dbe7ff;
  opacity: .92;
}

.pd-lightbox-close svg {
  height: 24px;
  width: 24px;
}


@media (max-width: 760px) {
  .pd-lightbox {
    padding: 20px;
  }

  .pd-lightbox-stage {
    width: min(100vw - 40px, 640px);
  }

  .pd-lightbox-close {
    right: 0;
    top: -32px;
  }
}



.single-product-page [data-product-detail-root] .pd-calc-toggle,
.single-product-page [data-product-detail-root] .pd-calc-toggle span {
  font-family: var(--pd-font);
  font-size: 12.5px;
  font-weight: 700;
}

.single-product-page [data-product-detail-root] .pd-qty input {
  color: var(--pd-title);
  font-family: var(--pd-font);
  font-weight: 800;
  line-height: 1;
}

.single-product-page [data-product-detail-root] .pd-view-all,
.single-product-page [data-product-detail-root] .pd-calc-toggle {
  color: var(--pd-blue);
}

.single-product-page [data-product-detail-root] .pd-view-all:hover,
.single-product-page [data-product-detail-root] .pd-calc-toggle:hover {
  color: var(--pd-navy);
}

.single-product-page [data-product-detail-root] .pd-tab:focus,
.single-product-page [data-product-detail-root] .pd-tab:focus-visible,
.single-product-page [data-product-detail-root] .pd-calc-toggle:focus,
.single-product-page [data-product-detail-root] .pd-calc-toggle:focus-visible,
.single-product-page [data-product-detail-root] .pd-view-all:focus,
.single-product-page [data-product-detail-root] .pd-view-all:focus-visible {
  box-shadow: none;
  outline: 0;
}

@media (prefers-reduced-motion: reduce) {
  .pd-related-card,
  .pd-related-card:hover,
  .pd-related-img img,
  .pd-related-card:hover .pd-related-img img {
    transform: none;
    transition: none;
  }
}

@media (max-width: 1240px) {
  .pd-layout {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .pd-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .pd-gallery,
  .pd-info,
  .pd-tabs-section {
    grid-column: auto;
  }

  .pd-gallery {
    max-width: 760px;
  }

  .pd-related-card {
    flex-basis: calc((100% - 3 * 16px) / 4);
  }
}

@media (max-width: 880px) {
  .pd-page {
    max-width: 720px;
  }

  .pd-layout {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  .pd-main {
    display: contents;
  }

  .pd-gallery {
    max-width: none;
    order: 1;
  }

  .pd-info {
    order: 2;
  }

  .pd-buybox {
    background: transparent;
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--pd-border);
    box-shadow: none;
    order: 3;
    padding: 22px 0 4px;
    position: static;
  }

  .pd-tabs-section {
    margin-top: 0;
    order: 4;
    padding-top: 24px;
  }

  .pd-variants {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pd-trust {
    display: grid;
    gap: 14px 10px;
    grid-template-columns: repeat(3, 1fr);
  }

  .pd-trust-item {
    align-items: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .pd-trust-icon {
    margin-top: 0;
  }

  .pd-trust-item > span:last-child {
    align-items: center;
  }

  .pd-trust-item small {
    line-height: 1.35;
  }

  .pd-related-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 560px) {
  .pd-page {
    padding: 16px 14px 38px;
  }

  .pd-crumbs {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .pd-title {
    font-size: 23px;
  }

  .pd-lead {
    font-size: 14px;
  }

  .pd-gallery {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
  }

  .pd-stage {
    aspect-ratio: 1 / 1;
    max-width: 100%;
    order: 1;
  }

  .pd-icon-btn {
    height: 38px;
    width: 38px;
  }

  .pd-stage-prev {
    left: 12px;
  }

  .pd-stage-next {
    right: 12px;
  }

  .pd-stage-expand {
    bottom: 12px;
    right: 12px;
  }

  .pd-thumbs {
    flex-direction: row;
    gap: 8px;
    order: 2;
    position: relative;
    width: 100%;
  }

  .pd-thumbs-track {
    cursor: grab;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px;
    scroll-snap-type: x proximity;
    width: 100%;
  }

  .pd-thumbs-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .pd-thumb {
    height: 54px;
    scroll-snap-align: start;
    width: 54px;
  }

  .pd-thumb-nav {
    display: none;
  }

  .pd-thumbs.fade-r::after,
  .pd-thumbs.fade-l::before {
    bottom: 0;
    content: "";
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 34px;
    z-index: 2;
  }

  .pd-thumbs.fade-r::after {
    background: linear-gradient(to right, rgba(238, 242, 248, 0), var(--pd-bg));
    right: 0;
  }

  .pd-thumbs.fade-l::before {
    background: linear-gradient(to left, rgba(238, 242, 248, 0), var(--pd-bg));
    left: 0;
  }

  .pd-stockline {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .pd-variants {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .pd-variant {
    align-items: center;
    column-gap: 12px;
    display: grid;
    grid-template-areas: "img name price" "img meta price";
    grid-template-columns: auto 1fr auto;
    padding: 9px 12px;
    row-gap: 1px;
  }

  .pd-variant-img {
    aspect-ratio: auto;
    border-radius: 9px;
    grid-area: img;
    height: 46px;
    margin: 0;
    width: 46px;
  }

  .pd-variant-name {
    align-self: end;
    grid-area: name;
  }

  .pd-variant-meta {
    align-self: start;
    grid-area: meta;
    margin-top: 0;
  }

  .pd-variant-price {
    align-self: center;
    grid-area: price;
    margin-top: 0;
    padding-top: 0;
    text-align: right;
  }

  .pd-variant-price.is-promo {
    align-items: flex-end;
    flex-direction: column;
    gap: 0;
  }

  .pd-variant-check {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .pd-variant.is-active {
    padding-right: 38px;
  }

  .pd-buybox {
    padding: 18px 0 4px;
  }

  .pd-price {
    font-size: 30px;
  }

  .pd-price-promo {
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 9px;
  }

  .pd-action-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pd-trust-icon {
    flex-basis: 34px;
    height: 34px;
    width: 34px;
  }

  .pd-trust-item small {
    font-size: 11px;
  }

  .pd-spec-row {
    grid-template-columns: minmax(110px, 130px) minmax(0, 1fr);
  }

  .pd-related {
    margin-top: 34px;
  }

  .pd-related-head h2 {
    font-size: 17px;
  }

  .pd-related-track {
    gap: 12px;
  }

  .pd-related-card {
    flex-basis: calc((100% - 12px) / 1.7);
  }

  .pd-related-arrow {
    display: none;
  }
}

@media (max-width: 380px) {
  .pd-action-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Cart add confirmation modal (cart include, product-detail host) ===== */
.single-product-page .cart-add-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(16, 36, 74, .58);
  padding: 24px;
}
.single-product-page .cart-add-modal.is-open {
  display: flex;
}
.single-product-page .cart-add-modal-dialog {
  position: relative;
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 18px;
  box-shadow: var(--pd-shadow-pop);
  padding: 28px;
  text-align: left;
  font-family: var(--pd-font);
  color: var(--pd-text);
}
.single-product-page .cart-add-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--pd-border-2);
  border-radius: 50%;
  background: #fff;
  color: var(--pd-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .12s;
}
.single-product-page .cart-add-modal-close:hover {
  background: #f6f9fd;
  color: var(--pd-blue);
  border-color: #c6d6e9;
}
.single-product-page .cart-add-modal-close svg {
  width: 18px;
  height: 18px;
}
.single-product-page .cart-add-modal-status {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--pd-green-bg);
  color: var(--pd-green);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.single-product-page .cart-add-modal-status svg {
  width: 27px;
  height: 27px;
}
.single-product-page .cart-add-modal-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--pd-green);
}
.single-product-page .cart-add-modal h2 {
  margin: 0;
  padding-right: 42px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.16;
  color: var(--pd-title);
}
.single-product-page .cart-add-modal-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 20px 0;
  padding: 14px;
  border: 1px solid var(--pd-border);
  border-radius: 14px;
  background: #fbfcfe;
}
.single-product-page .cart-add-modal-image-wrap {
  width: 86px;
  height: 86px;
  border: 1px solid var(--pd-border-2);
  border-radius: 13px;
  overflow: hidden;
  background: #f1f4f8;
}
.single-product-page .cart-add-modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-product-page .cart-add-modal-meta p {
  margin: 0 0 5px;
  font-size: 13.5px;
  color: var(--pd-muted);
}
.single-product-page .cart-add-modal-meta p:last-child {
  margin-bottom: 0;
}
.single-product-page .cart-add-modal-meta strong {
  color: var(--pd-title);
  font-weight: 800;
}
.single-product-page .cart-add-modal-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--pd-line);
}
.single-product-page .cart-add-modal-total span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pd-muted);
}
.single-product-page .cart-add-modal-total strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--pd-title);
}
.single-product-page .cart-add-modal-count {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--pd-muted);
}
.single-product-page .cart-add-modal-count strong {
  color: var(--pd-title);
}
.single-product-page .cart-add-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.single-product-page .cart-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: .12s;
}
.single-product-page .cart-add-btn-ghost {
  color: var(--pd-blue-dd);
  background: #fff;
  border: 1px solid var(--pd-border-2);
  box-shadow: var(--pd-shadow);
}
.single-product-page .cart-add-btn-ghost:hover {
  background: #f6f9fd;
  border-color: #c6d6e9;
}
.single-product-page .cart-add-btn-primary {
  background: var(--pd-navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 50, 125, .30);
}
.single-product-page .cart-add-btn-primary:hover {
  background: var(--pd-navy-d);
}
@media (max-width: 560px) {
  .single-product-page .cart-add-modal-dialog { padding: 24px 20px; }
  .single-product-page .cart-add-modal-item { grid-template-columns: 70px minmax(0, 1fr); }
  .single-product-page .cart-add-modal-image-wrap { width: 70px; height: 70px; }
  .single-product-page .cart-add-modal-actions { grid-template-columns: 1fr; }
}
