/* Product page: summary column (gallery, title, price, short text, order) beside a description panel. */
.product-page .wrap { max-width: 1400px; padding-inline: 48px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 26px 0 8px; font-size: 14px; color: var(--muted); }
.crumbs a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.product { padding-bottom: 70px; }
/* related products: the shop card, four across (two at 1100px, one at 600px, from cards.css) */
.related { padding-bottom: 80px; }
.related-title { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; margin: 0 0 28px; color: var(--ink-alt); }
.cards-related { grid-template-columns: repeat(4, 1fr); }
.cards-related .card-title { font-size: 19px; }
@media (max-width: 1100px) { .cards-related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-related { grid-template-columns: 1fr; } }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding-top: 28px; }
.product-side { min-width: 0; }
.gallery { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.gallery-item { position: relative; margin: 0; width: 220px; max-width: 100%; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.gallery-item img { display: block; width: 100%; }
.gallery { flex-direction: column; align-items: flex-start; }
.gallery-thumbs { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding-bottom: 6px; }
.gallery-thumb { flex: none; width: 72px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.gallery-thumb img { display: block; width: 100%; height: 72px; object-fit: cover; }
.gallery-thumb[href$="-infographic.webp"] img { object-fit: contain; }
.gallery-item.on-sale::after { top: 0; left: 0; right: auto; border-radius: 0 0 10px 0; }
.product-title { font-size: clamp(32px, 3.4vw, 49px); line-height: 1.14; letter-spacing: -.035em; font-weight: 400; margin: 0 0 .5em; color: var(--ink-alt); overflow-wrap: anywhere; }
.product-short { font-size: 19px; line-height: 1.65; color: var(--muted); }
.product-short p { margin: 0 0 1em; }
.product-side .price { font-size: 26px; line-height: 1.4; margin: 10px 0 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.product-side .price del { font-size: 20px; margin-right: 4px; }
.product-order { margin: 24px 0 0; }
.product-order .order-button { width: 100%; max-width: 560px; min-height: 54px; font-size: 18px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px clamp(22px, 3vw, 40px) 40px; min-width: 0; }
.product-desc::before { content: "Description"; display: inline-block; font-size: 19px; color: var(--link); border-bottom: 3px solid var(--teal); padding-bottom: 12px; margin-bottom: 26px; }
.prose-body > :first-child { margin-top: 0; }
.panel .prose-body { font-size: 18px; line-height: 1.75; }
.panel .prose-body li { line-height: 1.75; margin-bottom: .4em; }
.panel img { height: auto; }
.pkg-core .product-title, .pkg-essentials .product-title, .pkg-advanced .product-title, .pkg-optimum .product-title { color: var(--pk-text); }
.pkg-core .order-button, .pkg-essentials .order-button, .pkg-advanced .order-button, .pkg-optimum .order-button { background: linear-gradient(135deg, var(--pk), var(--pk) 35%, var(--pk-dark)); }
@media (max-width: 959px) {
  .product-page .wrap { padding-inline: 20px; }
  .product-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-title { font-size: 34px; }
}
/* The archived description carries WooCommerce's own "panel" class; neutralise it so the box is not doubled. */
.product-desc .panel, .product-desc .wc-tab { border: 0; border-radius: 0; padding: 0; background: none; box-shadow: none; margin: 0; }
.product-desc .prose-body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; font-weight: 600; }
.product-desc .prose-body h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.product-desc .prose-body > :first-child, .product-desc .prose-body .wc-tab > :first-child { margin-top: 0; }

/* A product without a separate description uses the whole page for its article. */
.product-grid--single { grid-template-columns: minmax(0, 1fr); }
.product-grid--single .product-side { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 40px; row-gap: 36px; align-items: start; }
.product-grid--single .gallery { margin-bottom: 0; }
.product-grid--single .product-summary { min-width: 0; }
.product-grid--single .product-short { grid-column: 1 / -1; }
.product-grid--single .product-summary:first-child { grid-column: 1 / -1; }
@media (max-width: 599px) {
  .product-grid--single .product-side { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
}
.product-grid--single .product-short { min-width: 0; overflow-x: auto; }
/* Synoptic's archived stylesheet contains invalid HTML breaks. Keep its content
   readable using the site's own colours and spacing, without altering the archive. */
.product-grid--single .sg-page { max-width: 1040px; margin-inline: auto; }
.product-grid--single .sg-hero { padding: clamp(24px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.product-grid--single .sg-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; }
.product-grid--single .sg-eyebrow, .product-grid--single .sg-map-label { font-size: 14px; color: var(--muted); }
.product-grid--single .sg-hero h1 { margin: 12px 0 20px; font-size: clamp(34px, 4vw, 48px); }
.product-grid--single .sg-hero-line { font-size: 24px; color: var(--ink-alt); }
.product-grid--single .sg-hero-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.product-grid--single .sg-hero-actions a { text-decoration: underline; text-underline-offset: .2em; }
.product-grid--single .sg-map-card { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; }
.product-grid--single .sg-map-label, .product-grid--single .sg-map-center { width: 100%; text-align: center; }
.product-grid--single .sg-map-center { font-size: 24px; color: var(--link); margin-bottom: 12px; }
.product-grid--single .sg-chip { padding: 5px 12px; border: 1px solid var(--line); border-radius: 20px; font-size: 15px; }
.product-grid--single .sg-jump-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.product-grid--single .sg-jump-nav a { font-size: 16px; text-decoration: underline; text-underline-offset: .2em; }
.product-grid--single .sg-content { max-width: 780px; margin-inline: auto; }
.product-grid--single .sg-footer-note { max-width: 780px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 767px) {
  .product-grid--single .sg-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
.product-grid--single .sg-illustration { margin: 24px 0; }
.product-grid--single .sg-illustration a { display: block; border-radius: 16px; overflow: hidden; }
.product-grid--single .sg-illustration img { display: block; width: 100%; height: auto; }
.product-grid--single .sg-illustration a:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
