/* Product overview: keep buying controls next to the gallery and long content below. */
.pd-page {
  padding-bottom:72px;
  color:var(--store-text,var(--ink,#182338));
  font-size:16px;
}
.pd-page .breadcrumb { margin:26px 0 30px; flex-wrap:wrap; }
.pd-layout {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  gap:48px;
  align-items:start;
}
.pd-gallery,.pd-information,.pd-heading { min-width:0; }
.pd-photo-wrap {
  position:relative;
  width:100%;
  aspect-ratio:1.08 / 1;
  max-height:560px;
  overflow:hidden;
  isolation:isolate;
  border:1px solid var(--store-border,var(--line,#e5eaf3));
  border-radius:16px;
  background:var(--store-photo-background,#eef2f7);
}
.pd-main-photo,.pd-main-photo.store-photo {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.pd-main-photo.store-photo img,.pd-dialog-photo.store-photo img { object-fit:contain; }
.pd-main-photo .store-photo-empty { font-size:16px; gap:14px; }
.pd-main-photo .store-photo-empty>svg { width:42px; height:42px; }
.pd-zoom {
  position:absolute;
  top:18px;
  right:18px;
  z-index:2;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid var(--store-border,var(--line,#e5eaf3));
  border-radius:50%;
  background:var(--store-surface,#fff);
  color:var(--store-text,var(--ink,#182338));
  cursor:pointer;
}
.pd-zoom:disabled { display:none; }
.pd-photo-badge {
  position:absolute;
  top:18px;
  left:18px;
  z-index:1;
  padding:7px 11px;
  border-radius:6px;
  background:var(--store-accent-soft,#fff);
  color:var(--store-accent-ink,var(--ink,#182338));
  font-size:14px;
  font-weight:600;
}
.pd-photo-caption {
  position:absolute;
  bottom:18px;
  left:18px;
  max-width:calc(100% - 36px);
  padding:6px 10px;
  border-radius:6px;
  background:var(--store-surface,#fff);
  color:var(--store-muted,var(--muted,#64748b));
  font-size:13px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.pd-thumbnails {
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-top:14px;
  min-width:0;
  max-width:100%;
}
.pd-uploaded-thumbnails { overflow-x:auto; padding:3px 2px 9px; scrollbar-width:thin; overscroll-behavior-x:contain; }
.pd-thumb {
  flex:0 0 76px;
  min-width:0;
  min-height:44px;
  padding:0;
  border:0;
  border-radius:8px;
  background:none;
  color:var(--store-muted,var(--muted,#64748b));
  font:inherit;
  font-size:12px;
  line-height:1.5;
  text-align:center;
  cursor:pointer;
}
.pd-thumb-image {
  display:block;
  width:76px;
  height:76px;
  margin-bottom:6px;
  overflow:hidden;
  border:2px solid transparent;
  border-radius:8px;
  background:var(--store-photo-background,#eef2f7);
}
.pd-thumb-image img { display:block; width:100%; height:100%; object-fit:contain; }
.pd-thumb.is-active .pd-thumb-image { border-color:var(--store-primary,var(--blue,#2563eb)); }
.pd-thumb.is-active { color:var(--store-text,var(--ink,#182338)); }
.pd-thumb:hover .pd-thumb-image { border-color:var(--store-primary,var(--blue,#2563eb)); }
.pd-thumb-image .store-photo-empty { padding:5px; gap:0; }
.pd-thumb-image .store-photo-empty>svg { width:20px; height:20px; }
.pd-thumb-image .store-photo-empty>span { display:none; }
.pd-gallery-note { margin-left:auto; align-self:center; color:var(--store-muted,var(--muted,#64748b)); font-size:14px; line-height:1.6; text-align:right; }

.pd-heading { margin-bottom:22px; }
.pd-topline { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:8px 16px; margin-bottom:12px; }
.pd-topline .eyebrow {
  min-width:0;
  max-width:100%;
  color:var(--store-link,var(--store-primary,var(--blue,#2563eb)));
  font-size:12px;
  font-weight:650;
  letter-spacing:.07em;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.pd-sku { min-width:0; max-width:100%; color:var(--store-muted,var(--muted,#64748b)); font-size:13px; line-height:1.5; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.pd-information h1 { margin:0 0 14px; font-size:clamp(28px,2.65vw,40px); font-weight:600; line-height:1.18; letter-spacing:-.035em; overflow-wrap:anywhere; }
.pd-product-labels { margin:0 0 14px; }
.pd-description {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  max-height:4.95em;
  margin:0;
  overflow:hidden;
  color:var(--store-muted,var(--muted,#64748b));
  font-size:16px;
  line-height:1.65;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.pd-overview-link,.pd-inline-link,.pd-read-more {
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  min-height:44px;
  padding:8px 0;
  border:0;
  border-radius:4px;
  background:none;
  color:var(--store-link,var(--store-primary,var(--blue,#2563eb)));
  font:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1.5;
  text-align:left;
  cursor:pointer;
}
.pd-overview-link:hover,.pd-inline-link:hover,.pd-read-more:hover { text-decoration:underline; text-underline-offset:4px; }
.pd-overview-link { margin-top:3px; }
.pd-overview-link>svg,.pd-inline-link>svg,.pd-read-more>svg { flex:none; }

/* Purchase controls form one compact group, independent of long descriptions. */
.pd-purchase-card { padding:24px; border:1px solid var(--store-border,var(--line,#e5eaf3)); border-radius:14px; background:var(--store-surface,#fff); }
.pd-price-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 20px; padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid var(--store-border,var(--line,#e5eaf3)); }
.pd-prices { display:flex; flex-direction:column; align-items:flex-start; gap:3px; min-width:0; max-width:100%; }
.pd-price { max-width:100%; font-size:32px; font-weight:650; letter-spacing:-.035em; line-height:1.2; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.pd-prices>.product-compare-price { font-size:16px; }
.pd-stock { display:inline-flex; align-items:center; gap:7px; flex-shrink:0; max-width:100%; color:var(--store-secondary-text,var(--muted,#64748b)); font-size:14px; line-height:1.5; }
.pd-stock i { flex:none; width:6px; height:6px; border-radius:50%; background:var(--store-secondary,var(--blue,#2563eb)); }
.pd-stock.is-unavailable { color:var(--store-muted,var(--muted,#64748b)); }
.pd-stock.is-unavailable i { background:var(--store-muted,var(--muted,#64748b)); }
.pd-options-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); align-items:start; gap:20px; margin-bottom:22px; }
.pd-options-grid:empty { display:none; }
.pd-option { min-width:0; padding:0; margin:0; border:0; }
.pd-option legend { padding:0; margin-bottom:10px; color:var(--store-text,var(--ink,#182338)); font-size:14px; font-weight:600; line-height:1.5; }
.pd-option legend span { margin-left:3px; color:var(--store-muted,var(--muted,#64748b)); font-weight:400; overflow-wrap:anywhere; }
.pd-colours { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.pd-colour { position:relative; width:44px; height:44px; padding:5px; border:2px solid transparent; border-radius:50%; background:none; cursor:pointer; }
.pd-colour>span:first-child { display:block; width:100%; height:100%; border-radius:50%; box-shadow:inset 0 0 0 1px var(--store-border-strong,#d7e0ed); }
.pd-colour.is-selected { border-color:var(--store-primary,var(--blue,#2563eb)); }
.pd-colour-check { position:absolute; inset:0; display:grid; place-items:center; color:#fff; }
.pd-colour-check svg { filter:drop-shadow(0 1px 1px rgba(0,0,0,.7)); }
.pd-colour-note { margin:8px 0 0; color:var(--store-muted,var(--muted,#64748b)); font-size:14px; line-height:1.5; }
.pd-sizes { display:flex; flex-wrap:wrap; gap:8px; }
.pd-size { min-width:44px; min-height:44px; padding:9px 11px; border:1px solid var(--store-border-strong,var(--line,#dce3ed)); border-radius:7px; background:var(--store-surface,#fff); color:var(--store-text,var(--ink,#182338)); font:inherit; font-size:14px; line-height:1.5; cursor:pointer; }
.pd-size.is-selected { border-color:var(--store-primary,var(--blue,#2563eb)); background:var(--store-primary-soft,var(--soft,#edf3ff)); color:var(--store-primary-ink,var(--blue,#2563eb)); }
.pd-size:hover { border-color:var(--store-primary,var(--blue,#2563eb)); }
.pd-purchase-actions { display:grid; grid-template-columns:132px minmax(0,1fr) 52px; align-items:stretch; gap:10px; }
.pd-stepper { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; min-width:0; min-height:52px; border:1px solid var(--store-border-strong,var(--line,#dce3ed)); border-radius:8px; background:var(--store-surface,#fff); }
.pd-stepper button { display:grid; place-items:center; width:44px; height:100%; min-height:44px; padding:0; border:0; border-radius:6px; background:none; color:var(--store-text,var(--ink,#182338)); cursor:pointer; }
.pd-stepper button:disabled { opacity:.35; cursor:default; }
.pd-stepper button:not(:disabled):hover { background:var(--store-surface-alt,var(--soft,#f5f7fb)); }
.pd-stepper output { display:block; min-width:0; padding:0 2px; color:var(--store-text,var(--ink,#182338)); font-size:14px; font-weight:550; line-height:1.5; text-align:center; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.pd-purchase-actions .pd-add { display:flex; align-items:center; justify-content:center; min-width:0; min-height:52px; padding:12px 14px; gap:8px; font-size:14px; line-height:1.4; }
.pd-add>svg { flex:none; }
.pd-add:disabled { opacity:.5; cursor:not-allowed; }
.pd-favorite { display:grid; place-items:center; width:52px; min-height:52px; padding:0; border:1px solid var(--store-border-strong,var(--line,#dce3ed)); border-radius:8px; background:var(--store-surface,#fff); color:var(--store-text,var(--ink,#182338)); cursor:pointer; }
.pd-favorite.is-active,.pd-favorite[aria-pressed="true"] { color:var(--store-primary-ink,var(--blue,#2563eb)); background:var(--store-primary-soft,var(--soft,#edf3ff)); border-color:var(--store-primary-border,#cbdcff); }
.pd-favorite[aria-pressed="true"] svg { fill:currentColor; }
.pd-zoom:hover,.pd-favorite:hover { background:var(--store-surface-alt,var(--soft,#f5f7fb)); }
.pd-purchase-note { margin:12px 0 0; color:var(--store-muted,var(--muted,#64748b)); font-size:14px; line-height:1.55; overflow-wrap:anywhere; }
.pd-service-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; }
.pd-service-links>button { display:flex; align-items:flex-start; gap:11px; min-width:0; min-height:72px; padding:14px; border:1px solid var(--store-border,var(--line,#e5eaf3)); border-radius:10px; background:var(--store-surface,#fff); color:var(--store-text,var(--ink,#182338)); font:inherit; text-align:left; cursor:pointer; }
.pd-service-links>button>svg { flex:none; margin-top:2px; color:var(--store-link,var(--store-primary,var(--blue,#2563eb))); }
.pd-service-links>button>span { display:block; min-width:0; }
.pd-service-links strong { display:block; font-size:14px; font-weight:600; line-height:1.45; overflow-wrap:anywhere; }
.pd-service-links small { display:block; margin-top:4px; color:var(--store-muted,var(--muted,#64748b)); font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.pd-service-links>button:hover { border-color:var(--store-primary-border,#cbdcff); background:var(--store-surface-alt,var(--soft,#f5f7fb)); }
.pd-information>.sm-product-help { min-height:44px; margin-top:14px; font-size:14px; }

/* Details share the full page width; switching tabs does not expand the buying column. */
.pd-details { margin-top:44px; min-width:0; scroll-margin-top:24px; }
.pd-tabs { display:flex; align-items:stretch; gap:30px; min-width:0; max-width:100%; overflow-x:auto; padding:0 2px; border-bottom:1px solid var(--store-border,var(--line,#e5eaf3)); scrollbar-width:thin; overscroll-behavior-x:contain; scroll-padding-inline:4px; }
.pd-tab { flex:none; position:relative; min-height:54px; padding:14px 2px 15px; border:0; border-bottom:2px solid transparent; border-radius:0; background:none; color:var(--store-muted,var(--muted,#64748b)); font:inherit; font-size:16px; font-weight:550; line-height:1.5; white-space:nowrap; cursor:pointer; }
.pd-tab[aria-selected="true"] { color:var(--store-primary-ink,var(--blue,#2563eb)); border-bottom-color:var(--store-primary,var(--blue,#2563eb)); font-weight:650; }
.pd-tab:hover { color:var(--store-text,var(--ink,#182338)); }
.pd-tab-count { display:inline-flex; align-items:center; justify-content:center; min-width:24px; min-height:23px; margin-left:8px; padding:2px 6px; border-radius:6px; background:var(--store-surface-alt,var(--soft,#f5f7fb)); color:var(--store-muted,var(--muted,#64748b)); font-size:12px; font-weight:600; line-height:1.4; vertical-align:middle; font-variant-numeric:tabular-nums; }
.pd-tab[aria-selected="true"] .pd-tab-count { background:var(--store-primary-soft,var(--soft,#edf3ff)); color:var(--store-primary-ink,var(--blue,#2563eb)); }
.pd-tab-panels { padding-top:28px; min-width:0; }
.pd-tab-panel { min-width:0; scroll-margin-top:24px; }
.pd-tab-panel[hidden] { display:none; }
.pd-overview-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); align-items:start; gap:48px; }
.pd-overview-grid.pd-overview-grid--single { grid-template-columns:minmax(0,1fr); }
.pd-overview-grid--single .pd-description-card { max-width:900px; }
.pd-description-card,.pd-highlights,.pd-specification-group,.pd-info-card { min-width:0; }
.pd-description-card h2,.pd-tab-panel>h2 { margin:0 0 16px; color:var(--store-text,var(--ink,#182338)); font-size:24px; font-weight:600; letter-spacing:-.025em; line-height:1.3; }
.pd-tab-panel>h2 { margin-bottom:22px; }
.pd-description-text { margin:0; color:var(--store-text,var(--ink,#182338)); font-size:16px; line-height:1.75; white-space:pre-wrap; overflow-wrap:anywhere; }
.pd-description-text.is-collapsed { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:7; line-clamp:7; max-height:12.25em; overflow:hidden; }
.pd-read-more { margin-top:8px; }
.pd-highlights { padding:24px; border:1px solid var(--store-border,var(--line,#e5eaf3)); border-radius:12px; background:var(--store-surface-alt,var(--soft,#f5f7fb)); }
.pd-highlights h3 { margin:0 0 16px; font-size:18px; line-height:1.4; font-weight:600; letter-spacing:-.02em; }
.pd-highlight-specs,.pd-specs { margin:0; font-size:14px; line-height:1.65; }
.pd-highlight-specs>div,.pd-specs>div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:baseline; gap:12px 20px; padding:11px 0; border-bottom:1px solid var(--store-border,var(--line,#e5eaf3)); }
.pd-highlight-specs>div:first-child,.pd-specs>div:first-child { padding-top:0; }
.pd-highlight-specs>div:last-child,.pd-specs>div:last-child { border-bottom:0; padding-bottom:0; }
.pd-highlight-specs dt,.pd-specs dt { min-width:0; color:var(--store-muted,var(--muted,#64748b)); overflow-wrap:anywhere; }
.pd-highlight-specs dd,.pd-specs dd { min-width:0; margin:0; color:var(--store-text,var(--ink,#182338)); text-align:right; white-space:pre-wrap; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.pd-highlights .pd-inline-link { margin-top:12px; }
.pd-care { margin-top:24px; padding-top:8px; border-top:1px solid var(--store-border,var(--line,#e5eaf3)); }
.pd-care summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:12px 0; color:var(--store-text,var(--ink,#182338)); font-size:16px; font-weight:600; line-height:1.5; list-style:none; cursor:pointer; }
.pd-care summary::-webkit-details-marker { display:none; }
.pd-care summary>svg { flex:none; color:var(--store-muted,var(--muted,#64748b)); transition:transform .15s; }
.pd-care[open] summary>svg { transform:rotate(45deg); }
.pd-care>p,.pd-care .pd-care-copy { margin:0 0 12px; color:var(--store-muted,var(--muted,#64748b)); font-size:16px; line-height:1.75; white-space:pre-wrap; overflow-wrap:anywhere; }
.pd-specifications-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:24px; }
.pd-specification-group { padding:24px; border:1px solid var(--store-border,var(--line,#e5eaf3)); border-radius:12px; background:var(--store-surface,#fff); }
.pd-specification-group:only-child { grid-column:1 / -1; width:100%; max-width:900px; }
.pd-specification-group h3 { margin:0 0 20px; color:var(--store-text,var(--ink,#182338)); font-size:18px; font-weight:600; line-height:1.4; letter-spacing:-.02em; }
.pd-specs-title { margin:0 0 16px; color:var(--store-text,var(--ink,#182338)); font-size:18px; line-height:1.4; font-weight:600; }

/* The warehouse module loads later, so keep these overrides scoped to the detail tab. */
.pd-details .pd-warehouse-panel { margin:0; padding:24px; border-radius:12px; }
.pd-details .warehouse-panel-heading { flex-wrap:wrap; gap:12px 20px; margin-bottom:12px; }
.pd-details .warehouse-panel-heading h2 { margin:0; font-size:22px; line-height:1.4; font-weight:600; }
.pd-details .warehouse-panel-heading a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; }
.pd-details .pd-warehouse-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; padding:20px 0; }
.pd-details .pd-warehouse-row strong { font-size:16px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
.pd-details .pd-warehouse-row span:not(.warehouse-quantity),.pd-details .pd-warehouse-row small { font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.pd-details .warehouse-quantity { font-size:14px; line-height:1.6; }
.pd-details .warehouse-pickup-button { min-height:44px; padding-top:8px; font-size:14px; line-height:1.5; }
.pd-details .warehouse-panel-note,.pd-details .warehouse-empty-copy { margin:16px 0 0; font-size:14px!important; line-height:1.65; }
.pd-delivery-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); align-items:start; gap:20px; }
.pd-info-card { padding:24px; border:1px solid var(--store-border,var(--line,#e5eaf3)); border-radius:12px; background:var(--store-surface,#fff); }
.pd-info-card>svg { display:block; margin-bottom:16px; color:var(--store-primary-ink,var(--blue,#2563eb)); }
.pd-info-card h3 { margin:0 0 12px; color:var(--store-text,var(--ink,#182338)); font-size:18px; font-weight:600; line-height:1.4; letter-spacing:-.02em; }
.pd-info-card p { margin:0; color:var(--store-muted,var(--muted,#64748b)); font-size:16px; line-height:1.75; overflow-wrap:anywhere; }
.pd-info-card p+p { margin-top:12px; }
.pd-detail-note { margin:20px 0 0; padding:16px 20px; border-radius:10px; background:var(--store-surface-alt,var(--soft,#f5f7fb)); color:var(--store-muted,var(--muted,#64748b)); font-size:14px; line-height:1.65; overflow-wrap:anywhere; }
.pd-empty-copy { margin:0; color:var(--store-muted,var(--muted,#64748b)); font-size:16px; line-height:1.7; overflow-wrap:anywhere; }

/* Related products and the existing image viewer remain shared with the storefront. */
.pd-related { margin-top:64px; }
.pd-related .section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:24px; }
.pd-related .eyebrow { color:var(--store-muted,var(--muted,#64748b)); font-size:12px; text-transform:uppercase; letter-spacing:.1em; }
.pd-related h2 { margin:8px 0 0; font-size:28px; font-weight:600; line-height:1.3; letter-spacing:-.025em; }
.pd-all-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; color:var(--store-text,var(--ink,#182338)); font-size:14px; line-height:1.5; white-space:nowrap; text-decoration:none; }
.pd-related .product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.pd-image-dialog { width:min(760px,calc(100vw - 32px)); max-height:90vh; max-height:90dvh; padding:0; overflow:auto; border:0; border-radius:14px; background:var(--store-photo-background,#eef2f7); color:var(--store-text,var(--ink,#182338)); box-shadow:var(--store-shadow,0 30px 100px #0003); }
.pd-image-dialog::backdrop { background:var(--store-overlay,rgba(15,23,42,.7)); backdrop-filter:blur(5px); }
.pd-dialog-close { position:absolute; top:16px; right:16px; z-index:1; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:var(--store-surface,#fff); color:var(--store-text,var(--ink,#182338)); cursor:pointer; }
.pd-dialog-photo,.pd-dialog-photo.store-photo { display:block; width:100%; height:min(73vh,720px); height:min(73dvh,720px); object-fit:contain; }
.pd-image-dialog>p { margin:0; padding:12px 20px 18px; color:var(--store-text,var(--ink,#182338)); background:var(--store-surface,#fff); font-size:14px; line-height:1.6; text-align:center; overflow-wrap:anywhere; }
.pd-dialog-navigation { display:flex; justify-content:space-between; gap:12px; padding:0 20px 20px; background:var(--store-surface,#fff); }
.pd-dialog-navigation button { min-width:0; min-height:44px; padding:10px 13px; border:1px solid var(--store-border-strong,#ccd7e7); border-radius:7px; background:var(--store-surface,#fff); color:var(--store-text,var(--ink,#182338)); font:inherit; font-size:14px; line-height:1.5; cursor:pointer; }
.pd-dialog-navigation button:hover { background:var(--store-primary-soft,var(--soft,#edf3ff)); color:var(--store-primary-ink,var(--blue,#2563eb)); }
.pd-not-found { padding-top:100px; padding-bottom:110px; text-align:center; }
.pd-not-found h1 { font-size:36px; letter-spacing:-.03em; }
.pd-not-found p { margin:0 0 30px; color:var(--store-muted,var(--muted,#64748b)); }
.pd-page button:focus-visible,.pd-page summary:focus-visible,.pd-page a:focus-visible { outline:2px solid var(--store-primary,var(--blue,#2563eb)); outline-offset:4px; }
.pd-tab-panel:focus-visible { outline:2px solid var(--store-primary,var(--blue,#2563eb)); outline-offset:6px; border-radius:6px; }
.pd-tabs .pd-tab:focus-visible { outline-offset:-4px; border-radius:5px 5px 0 0; }
.pd-page .pd-thumb:focus-visible { outline-offset:1px; }

@media(min-width:1450px) {
  .pd-layout { gap:56px; }
}
@media(max-width:1100px) {
  .pd-layout { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; }
  .pd-information h1 { font-size:30px; }
  .pd-purchase-card { padding:20px; }
  .pd-service-links { gap:10px; }
  .pd-service-links>button { gap:8px; padding:12px; }
  .pd-overview-grid { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:30px; }
  .pd-related .product-grid { gap:14px; }
}
@media(max-width:850px) {
  .pd-page { padding-bottom:52px; }
  .pd-page .breadcrumb { margin:22px 0 24px; }
  .pd-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
  .pd-photo-wrap { max-height:520px; }
  .pd-information h1 { font-size:clamp(28px,4.8vw,36px); }
  .pd-purchase-card { padding:24px; }
  .pd-heading { margin-bottom:20px; }
  .pd-options-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); }
  .pd-service-links { gap:12px; }
  .pd-service-links>button { gap:11px; padding:14px; }
  .pd-details { margin-top:36px; }
  .pd-tabs { gap:24px; }
  .pd-overview-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
  .pd-specifications-grid { gap:18px; }
  .pd-related { margin-top:48px; }
  .pd-related .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; }
}
@media(max-width:560px) {
  .pd-page .breadcrumb { margin:18px 0 20px; font-size:12px; gap:8px; }
  .pd-layout { gap:24px; }
  .pd-photo-wrap { border-radius:12px; }
  .pd-zoom { top:12px; right:12px; }
  .pd-photo-caption { left:12px; bottom:12px; max-width:calc(100% - 24px); }
  .pd-thumbnails { gap:10px; margin-top:12px; }
  .pd-thumb { flex-basis:68px; }
  .pd-thumb-image { width:68px; height:68px; }
  .pd-topline { gap:7px 12px; }
  .pd-information h1 { font-size:28px; }
  .pd-purchase-card { padding:18px; border-radius:12px; }
  .pd-price { font-size:30px; }
  .pd-price-row { padding-bottom:18px; margin-bottom:18px; }
  .pd-options-grid { gap:18px; margin-bottom:20px; }
  .pd-service-links { grid-template-columns:minmax(0,1fr); gap:10px; }
  .pd-service-links>button { min-height:66px; padding:12px 14px; }
  .pd-service-links strong { font-size:14px; }
  .pd-service-links small { margin-top:2px; }
  .pd-details { margin-top:30px; }
  .pd-tabs { gap:22px; }
  .pd-tab { min-height:50px; font-size:14px; }
  .pd-tab-panels { padding-top:22px; }
  .pd-description-card h2,.pd-tab-panel>h2 { font-size:22px; }
  .pd-highlights,.pd-specification-group,.pd-info-card { padding:20px; }
  .pd-specifications-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .pd-highlight-specs>div,.pd-specs>div { gap:10px 16px; }
  .pd-details .pd-warehouse-panel { padding:18px; }
  .pd-details .warehouse-panel-heading h2 { font-size:20px; }
  .pd-details .pd-warehouse-row { grid-template-columns:minmax(0,1fr); gap:12px; padding:18px 0; }
  .pd-details .pd-warehouse-row>div:last-child { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; text-align:left; }
  .pd-details .warehouse-pickup-button { margin:0; padding-top:0; text-align:left; }
  .pd-delivery-grid { gap:16px; }
  .pd-detail-note { padding:16px; }
  .pd-related .section-heading { flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:20px; }
  .pd-related h2 { font-size:24px; }
  .pd-related .product-grid { gap:20px 12px; }
  .pd-image-dialog { width:calc(100vw - 24px); }
  .pd-dialog-close { top:12px; right:12px; }
  .pd-dialog-navigation { padding:0 14px 16px; gap:10px; }
  .pd-dialog-navigation button { flex:1; padding:10px; }
  .pd-not-found h1 { font-size:29px; }
}
@media(max-width:480px) {
  .pd-purchase-actions { grid-template-columns:132px minmax(0,1fr) 52px; gap:10px; }
  .pd-purchase-actions .pd-stepper { grid-row:1; grid-column:1; }
  .pd-purchase-actions .pd-favorite { grid-row:1; grid-column:3; }
  .pd-purchase-actions .pd-add { grid-row:2; grid-column:1 / -1; }
}
@media(prefers-reduced-motion:reduce) {
  .pd-main-photo,.pd-care summary>svg { transition:none; }
}
