/* Product detail pages. Load after style.css and storefront.css. */
.pd-store {
  --pd-ink: #202936;
  --pd-muted: #5c6572;
  --pd-line: #dce1e8;
  --pd-soft: #f3f5f8;
  --pd-amber: #ffd54a;
  --pd-radius: 14px;
  --pd-sticky-offset: var(--storefront-sticky-offset, 126px);
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--pd-ink);
  padding-bottom: 52px;
}
.pd-store :is(h1, h2, h3) {
  font-family: inherit;
  font-weight: 730;
  letter-spacing: -.025em;
  color: var(--pd-ink);
}
.pd-store p { color: var(--pd-muted); }
.pd-store a { text-underline-offset: 3px; }
.pd-store a:hover { color: #3c4d65; }
.pd-store :is(a, summary):focus-visible {
  outline: 3px solid #3c4d65;
  outline-offset: 4px;
  border-radius: 4px;
}
.pd-store [id] { scroll-margin-top: calc(var(--pd-sticky-offset) + 84px); }
.pd-store .breadcrumb {
  gap: 8px;
  margin: 24px 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--pd-muted);
}
.pd-store .breadcrumb a { text-decoration: underline; text-decoration-color: #b8c0cd; }
.pd-store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 32px;
  padding: 4px 0 32px;
}
.pd-store-has-photo {
  grid-template-columns: minmax(220px, .95fr) minmax(0, 1.2fr) minmax(265px, .85fr);
  gap: 26px;
}
.pd-store-summary { min-width: 0; }
.pd-store-has-photo .pd-store-summary { grid-column: 2; grid-row: 1; }
.pd-store-has-photo .pd-store-photo { grid-column: 1; grid-row: 1; }
.pd-store-has-photo .pd-store-purchase { grid-column: 3; grid-row: 1; }
.pd-store .pd-store-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 740;
  line-height: 1.55;
  letter-spacing: .065em;
  text-transform: uppercase;
  color: #566374;
}
.pd-store-kicker span { color: var(--pd-muted); font-weight: 550; }
.pd-store h1 {
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.18;
  margin: 0 0 14px;
  max-width: 760px;
  overflow-wrap: anywhere;
}
.pd-store .pd-store-form {
  display: inline-block;
  background: #f0f2f6;
  color: #3c4d65;
  border: 1px solid #e4e8ee;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  margin: 0 0 17px;
}
.pd-store .pd-store-intro { font-size: 15px; line-height: 1.7; margin: 0 0 18px; }
.pd-store-highlights {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.pd-store-highlights li {
  position: relative;
  padding-left: 18px;
  color: #3c4d65;
  font-size: 13px;
  line-height: 1.55;
}
.pd-store-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #687383;
}
.pd-store .pd-store-families { margin: 0 0 16px; gap: 7px; }
.pd-store .pd-store-families a {
  border-color: var(--pd-line);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  background: #fff;
}
.pd-store .product-review-date { font-size: 11px; line-height: 1.7; margin: 0; }
.pd-store .product-review-date a { text-decoration: underline; }
.pd-store-photo { min-width: 0; background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius); overflow: hidden; }
.pd-store .pd-store-visual-label {
  display: block;
  margin: 0;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 680;
  line-height: 1.5;
  letter-spacing: .04em;
  color: #566374;
  background: var(--pd-soft);
}
.pd-store .pd-store-photo .model-photo {
  width: 100%;
  max-width: none;
  float: none;
  margin: 0;
  background: white;
  border-radius: 0;
  border: 0;
}
.pd-store .pd-store-photo .model-photo > a { display: block; overflow: hidden; aspect-ratio: auto; border: 0; border-radius: 0; background: #fff; }
.pd-store .pd-store-photo .model-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  transform: none;
  background: white;
}
.pd-store .pd-store-photo figcaption {
  padding: 10px 14px;
  margin: 0;
  border-top: 1px solid var(--pd-line);
  font-size: 10px;
  line-height: 1.5;
  text-align: left;
}
.pd-store .pd-store-photo figcaption a { text-decoration: underline; }
.pd-store-purchase {
  padding: 22px;
  border: 1px solid #d4dae3;
  border-radius: var(--pd-radius);
  background: white;
  box-shadow: 0 5px 20px #20293607;
  min-width: 0;
}
.pd-store .pd-store-purchase h2 { font-size: 20px; line-height: 1.3; margin: 0 0 15px; }
.pd-store .pd-store-variant { font-size: 12px; line-height: 1.65; margin: 0 0 18px; }
.pd-store-variant strong { display: block; color: var(--pd-ink); font-size: 11px; margin-bottom: 4px; }
.pd-store .button.amazon-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid #ecc15a;
  border-radius: 9px;
  background: var(--pd-amber);
  color: #273747;
  font: 700 13px/1.4 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  box-shadow: 0 2px 3px #6245110a;
  transform: none;
  gap: 8px;
}
.pd-store .button.amazon-buy:hover { background: #ffc344; color: #202936; border-color: #d9ac3e; transform: none; }
.pd-store-purchase > .button.amazon-buy { width: 100%; }
.pd-store .purchase-explainer { font-size: 11px; line-height: 1.65; margin: 12px 0 15px; }
.pd-store .pd-store-purchase .text-link { font-size: 12px; line-height: 1.5; text-decoration: underline; }
.pd-store .affiliate-note { margin: 15px 0 0; padding: 12px 0 0; font-size: 10px; line-height: 1.65; border-color: var(--pd-line); }
.pd-store-section-bar {
  position: sticky;
  top: calc(var(--pd-sticky-offset) + 8px);
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  border-top: 1px solid var(--pd-line);
  border-bottom: 1px solid var(--pd-line);
  background: #fff;
}
.pd-store-tabs { display: flex; align-items: stretch; gap: 26px; overflow-x: auto; min-width: 0; scrollbar-width: thin; }
.pd-store-tabs a { display: flex; align-items: center; min-height: 54px; padding: 10px 0; white-space: nowrap; font-size: 12px; font-weight: 650; }
.pd-store-tabs a:hover { box-shadow: inset 0 -3px #566374; }
.pd-store-nav-buy { display: none; }
.pd-store .pd-store-directory {
  border: 0;
  border-bottom: 1px solid var(--pd-line);
  border-radius: 0;
  padding: 0;
  margin: 0 0 28px;
  background: transparent;
}
.pd-store-directory > summary { min-height: 44px; padding: 12px 0; font-size: 12px; font-weight: 600; color: var(--pd-muted); }
.pd-store .pd-store-directory nav { padding: 4px 0 16px; gap: 0 28px; }
.pd-store-directory nav a { font-size: 12px; line-height: 1.5; text-decoration: underline; }
.pd-store .pd-store-answers { padding: 24px; margin: 0 0 30px; border-color: var(--pd-line); background: var(--pd-soft); border-radius: var(--pd-radius); }
.pd-store .pd-store-section-heading { display: block; margin: 0 0 18px; }
.pd-store .pd-store-section-heading .pd-store-kicker { margin-bottom: 5px; }
.pd-store .pd-store-section-heading h2 { font-size: 23px; line-height: 1.3; margin: 0; }
.pd-store .pd-store-answers > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pd-store .pd-store-answers section { padding: 18px; border: 1px solid #e4e8ee; background: white; border-radius: 10px; }
.pd-store .pd-store-answers h3 { font-size: 14px; line-height: 1.45; margin: 0 0 9px; }
.pd-store .pd-store-answers p { font-size: 13px; line-height: 1.7; margin: 0; }
.pd-store .pd-store-columns { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.pd-store .pd-store-content { max-width: none; min-width: 0; }
.pd-store .pd-store-content > .pd-store-section { margin: 0 0 28px; }
.pd-store .pd-store-content > .pd-store-section + .pd-store-section { margin-top: 0; }
.pd-store .pd-store-section > h2 { margin: 0 0 18px; font-size: 24px; line-height: 1.35; }
.pd-store .pd-store-content :is(p, li) { font-size: 14px; line-height: 1.8; color: var(--pd-muted); }
.pd-store .pd-store-content strong { color: var(--pd-ink); }
.pd-store .pd-store-content h3 { font-size: 17px; line-height: 1.4; }
.pd-store .pd-store-content p { margin-bottom: 15px; }
.pd-store .pd-store-content .source-note { font-size: 11px; color: #566374; line-height: 1.65; }
.pd-store .product-answer-section { border-top: 1px solid var(--pd-line); padding-top: 26px; }
.pd-store .pd-store-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pd-store .pd-store-benefits > section { padding: 18px; border-radius: 10px; border-color: var(--pd-line); background: white; }
.pd-store-benefit-number { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; margin-bottom: 13px; color: #3c4d65; background: #f0f2f6; border-radius: 8px; font-size: 11px; font-weight: 700; }
.pd-store .pd-store-benefits h3 { margin: 0 0 10px; font-size: 15px; line-height: 1.4; }
.pd-store .pd-store-benefits p { margin: 0; font-size: 12px; line-height: 1.75; }
.pd-store .document-citations { font-size: 10px; gap: 2px; margin: 0 3px; }
.pd-store .document-citations a { color: #3c4d65; padding: 2px; }
.pd-store .pd-store-diagram { margin: 0 0 30px; padding: 0; border: 1px solid var(--pd-line); border-radius: 12px; overflow: hidden; background: white; }
.pd-store .pd-store-diagram img { width: 100%; height: auto; object-fit: contain; border: 0; border-radius: 0; }
.pd-store .pd-store-diagram figcaption { padding: 14px 18px; margin: 0; border-top: 1px solid var(--pd-line); color: var(--pd-muted); font-size: 11px; line-height: 1.7; background: var(--pd-soft); }
.pd-store .pd-store-diagram .pd-store-visual-label { padding: 0; margin: 0 0 4px; font-size: 10px; color: #3c4d65; }
.pd-store .pd-store-facts {
  padding: 22px;
  position: sticky;
  top: calc(var(--pd-sticky-offset) + 76px);
  border-color: var(--pd-line);
  border-radius: var(--pd-radius);
  background: #fff;
}
.pd-store .pd-store-facts h2 { font-size: 19px; line-height: 1.35; margin: 0 0 20px; }
.pd-store .pd-store-facts dl { grid-template-columns: 1fr 1.6fr; gap: 9px 12px; font-size: 12px; line-height: 1.55; padding-bottom: 18px; margin: 0; border-bottom: 1px solid var(--pd-line); }
.pd-store .pd-store-facts dt { color: var(--pd-muted); }
.pd-store .pd-store-facts dd { font-weight: 600; }
.pd-store .pd-store-facts ul { margin: 15px 0; padding-left: 16px; }
.pd-store .pd-store-facts li { margin: 0 0 8px; font-size: 12px; line-height: 1.65; color: var(--pd-muted); }
.pd-store .pd-store-facts > p:not(.pd-store-kicker):not(.product-method) { font-size: 11px; line-height: 1.7; margin-bottom: 15px; }
.pd-store .pd-store-facts a { text-decoration: underline; }
.pd-store .pd-store-facts .product-method { margin: 14px 0; padding-top: 14px; font-size: 10px; line-height: 1.7; }
.pd-store .pd-store-facts .product-guide-links { gap: 9px; font-size: 11px; }
.pd-store .product-model-faq details { padding: 16px 0; border-color: var(--pd-line); }
.pd-store .product-model-faq summary { min-height: 26px; align-items: start; font-size: 14px; line-height: 1.6; }
.pd-store .product-model-faq summary::after { color: #3c4d65; line-height: 1; }
.pd-store .product-model-faq details p { margin: 13px 24px 0 0; }
.pd-store .product-alternatives { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pd-store .pd-store-alternative { padding: 20px; border: 1px solid var(--pd-line); border-radius: 12px; background: white; }
.pd-store .pd-store-alternative .pd-store-kicker { margin-bottom: 7px; font-size: 10px; }
.pd-store .pd-store-alternative h3 { font-size: 17px; line-height: 1.35; margin: 0 0 12px; }
.pd-store .pd-store-alternative h3 a { text-decoration: none; }
.pd-store .pd-store-alternative h3 a:hover { text-decoration: underline; }
.pd-store .pd-store-alternative p:not(.pd-store-kicker) { font-size: 13px; line-height: 1.75; margin-bottom: 14px; }
.pd-store .pd-store-alternative .text-link { font-size: 12px; line-height: 1.5; }
.pd-store .pd-store-section > .product-guide-links { gap: 9px; }
.pd-store .pd-store-section > .product-guide-links a { padding: 14px 16px; border: 1px solid var(--pd-line); border-radius: 8px; background: #fff; font-size: 13px; line-height: 1.5; text-decoration: none; }
.pd-store .pd-store-section > .product-guide-links a:hover { border-color: #687383; }
.pd-store .pd-store-next-step { display: grid; grid-template-columns: 1fr; gap: 5px; margin: 30px 0; padding: 24px; border-color: #d4dae3; background: #f0f2f6; border-radius: 12px; }
.pd-store .pd-store-next-step h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.35; }
.pd-store .pd-store-next-step p { font-size: 12px; line-height: 1.75; }
.pd-store .pd-store-next-step .affiliate-note { margin-bottom: 0; font-size: 10px; }
.pd-store .product-depth-sources { margin-top: 30px; padding-top: 26px; border-color: var(--pd-line); }
.pd-store .product-depth-sources h2 { font-size: 21px; }
.pd-store .product-depth-sources li { font-size: 12px; line-height: 1.75; margin-bottom: 12px; }
.pd-store .product-depth-sources .amazon-buy { display: inline; background: none; color: inherit; border: 0; padding: 0; border-radius: 0; }
.pd-store .product-depth-sources .product-method { font-size: 11px; line-height: 1.75; border-color: var(--pd-line); }
.pd-store .table-wrap { border: 1px solid var(--pd-line); border-radius: 10px; }
.pd-store .prose table { min-width: 410px; font-size: 12px; }
.pd-store .prose th { padding: 13px; color: #3c4d65; background: #f0f2f6; font-size: 10px; line-height: 1.6; }
.pd-store .prose td { padding: 13px; font-size: 12px; line-height: 1.7; border-color: var(--pd-line); }
@media (max-width: 1100px) {
  .pd-store-hero { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; }
  .pd-store-has-photo { grid-template-columns: minmax(0, 1fr) 290px; }
  .pd-store-has-photo .pd-store-summary { grid-column: 1; grid-row: 1; }
  .pd-store-has-photo .pd-store-photo { grid-column: 1; grid-row: 2; max-width: 420px; }
  .pd-store-has-photo .pd-store-purchase { grid-column: 2; grid-row: 1 / 3; }
  .pd-store .pd-store-columns { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
  .pd-store .pd-store-benefits { grid-template-columns: 1fr; }
  .pd-store .pd-store-benefits > section { padding: 18px 20px; }
  .pd-store .pd-store-benefit-number { float: left; margin: 0 13px 8px 0; }
  .pd-store .pd-store-benefits p { font-size: 13px; }
  .pd-store-tabs { gap: 20px; }
}
@media (max-width: 800px) {
  .pd-store { padding-bottom: 32px; --pd-sticky-offset: var(--storefront-sticky-offset, 152px); }
  .pd-store .breadcrumb { margin: 18px 0 22px; font-size: 10px; gap: 6px; }
  .pd-store-hero, .pd-store-has-photo { display: flex; flex-direction: column; gap: 22px; padding-bottom: 24px; }
  .pd-store-summary { order: 1; width: 100%; }
  .pd-store-purchase { order: 2; width: 100%; padding: 20px; }
  .pd-store-photo { order: 3; width: 100%; max-width: 480px !important; align-self: center; }
  .pd-store-has-photo { gap: 14px; }
  .pd-store-has-photo .pd-store-summary { display: contents; }
  .pd-store-has-photo .pd-store-kicker { order: 1; margin-bottom: 0; }
  .pd-store-has-photo h1 { order: 2; margin-bottom: 0; }
  .pd-store-has-photo .pd-store-form { order: 3; margin-bottom: 0; align-self: flex-start; }
  .pd-store-has-photo .pd-store-photo { order: 4; }
  .pd-store-has-photo .pd-store-intro { order: 5; margin-bottom: 0; }
  .pd-store-has-photo .pd-store-highlights { order: 6; margin-bottom: 0; }
  .pd-store-has-photo .pd-store-families { order: 7; margin-bottom: 0; }
  .pd-store-has-photo .product-review-date { order: 8; }
  .pd-store-has-photo .pd-store-purchase { order: 9; }
  .pd-store .pd-store-photo .model-photo img { max-height: 400px; }
  .pd-store h1 { font-size: 28px; line-height: 1.18; margin-bottom: 12px; }
  .pd-store .pd-store-intro { font-size: 14px; line-height: 1.7; }
  .pd-store .pd-store-form { font-size: 11px; margin-bottom: 14px; }
  .pd-store-highlights { gap: 6px; margin-bottom: 16px; }
  .pd-store-highlights li { font-size: 12px; }
  .pd-store .product-review-date { font-size: 10px; }
  .pd-store .pd-store-purchase h2 { font-size: 19px; margin-bottom: 12px; }
  .pd-store .pd-store-variant { margin-bottom: 14px; }
  .pd-store .pd-store-purchase .purchase-explainer { margin: 10px 0; }
  .pd-store-section-bar { flex-direction: column-reverse; align-items: stretch; gap: 0; padding-top: 8px; margin-inline: -4px; }
  .pd-store-nav-buy { display: block; }
  .pd-store .pd-store-nav-buy > .button { width: 100%; min-height: 44px; padding: 9px 12px; font-size: 12px; }
  .pd-store-tabs { gap: 20px; padding-inline: 4px; }
  .pd-store-tabs a { min-height: 42px; font-size: 11px; }
  .pd-store [id] { scroll-margin-top: calc(var(--pd-sticky-offset) + 112px); }
  .pd-store .pd-store-directory { margin-bottom: 22px; }
  .pd-store .pd-store-directory nav { grid-template-columns: 1fr; gap: 0; }
  .pd-store .pd-store-answers { padding: 20px; margin-bottom: 24px; }
  .pd-store .pd-store-section-heading h2 { font-size: 21px; }
  .pd-store .pd-store-answers > div:last-child { grid-template-columns: 1fr; gap: 10px; }
  .pd-store .pd-store-answers section { padding: 16px; }
  .pd-store .pd-store-answers h3 { font-size: 14px; margin-bottom: 7px; }
  .pd-store .pd-store-answers p { font-size: 13px; }
  .pd-store .pd-store-columns { display: flex; flex-direction: column; gap: 24px; }
  .pd-store .pd-store-facts { position: static; order: -1; width: 100%; padding: 20px; }
  .pd-store .pd-store-facts dl { grid-template-columns: 1fr 2fr; }
  .pd-store .pd-store-facts ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; margin-bottom: 12px; }
  .pd-store .pd-store-facts li { margin-bottom: 0; }
  .pd-store .pd-store-facts .product-guide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pd-store .pd-store-content { width: 100%; }
  .pd-store .pd-store-section > h2 { font-size: 22px; }
  .pd-store .pd-store-content :is(p, li) { font-size: 14px; line-height: 1.8; }
  .pd-store .pd-store-benefits { grid-template-columns: 1fr; }
  .pd-store .pd-store-benefits p { font-size: 13px; }
  .pd-store .product-alternatives { grid-template-columns: 1fr; }
  .pd-store .pd-store-content > .pd-store-section { margin-bottom: 26px; }
  .pd-store .pd-store-next-step { padding: 20px; }
  .pd-store .pd-store-next-step .button { width: 100%; }
  .pd-store .product-depth-sources li { font-size: 12px; }
}
@media (max-width: 390px) {
  .pd-store h1 { font-size: 25px; }
  .pd-store .pd-store-answers { padding: 16px; }
  .pd-store .pd-store-facts ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-store * { scroll-behavior: auto; transition: none; }
}
