/* Product detail layout. All rules are scoped away from the existing footer. */
.pd-breadcrumb { background: #f5f7fb; border-bottom: 1px solid #edf0f5; }
.pd-breadcrumb .site-shell { display: flex; flex-wrap: wrap; gap: 12px; padding: 15px 0; font-size: 14px; color: #64748b; }
.pd-breadcrumb a:hover { color: #2563eb; }
.pd-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 28px; align-items: start; padding: 32px 0 48px; }
.pd-sidebar { position: sticky; top: 100px; min-width: 0; }
.pd-categories { border: 1px solid #dbe3f0; border-radius: 8px; overflow: hidden; background: #fff; }
.pd-categories > summary { padding: 15px 20px; background: #2563eb; color: #fff; font-size: 20px; font-weight: 700; cursor: pointer; }
.pd-categories > summary::marker { font-size: 12px; }
.pd-category-links { padding: 6px 12px 16px; max-height: calc(100vh - 180px); overflow-y: auto; }
.pd-category-links h3 { margin: 18px 6px 10px; padding-left: 10px; border-left: 3px solid #2563eb; color: #111827; font-size: 16px; }
.pd-category-links h3:not(:first-child) { border-top: 1px solid #e5e7eb; padding-top: 18px; }
.pd-category-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 5px; font-size: 14px; line-height: 1.5; }
.pd-category-links a:hover,.pd-category-links a.is-current { color: #1d4ed8; background: #eff6ff; }
.pd-content { min-width: 0; }
.pd-hero { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 28px; align-items: start; margin-bottom: 30px; }
.pd-gallery { min-width: 0; padding: 0; border: 1px solid #dbe3f0; border-radius: 8px; background: #fff; overflow: hidden; }
.pd-gallery .product-gallery--detail-slider { display: block; width: 100%; max-width: none; margin: 0; }
.pd-gallery .product-gallery--detail-slider .product-gallery__main--detail { position: relative; width: 100%; height: auto; min-height: 0; aspect-ratio: 1 / 1; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #f3f5f8; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pd-gallery .product-gallery--detail-slider .product-gallery__main--detail img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; min-height: 0; min-width: 0; aspect-ratio: auto; object-fit: cover; object-position: center; border-radius: 0; }
.pd-gallery .product-gallery--detail-slider .product-gallery__thumbs--detail { display: flex; width: 100%; margin: 0; gap: 8px; padding: 10px 12px; overflow-x: auto; }
.pd-gallery .product-gallery--detail-slider .product-gallery__thumbs--detail .product-gallery__thumb { flex: 0 0 68px; width: 68px; min-width: 68px; height: 54px; padding: 3px; margin: 0; border-radius: 5px; box-shadow: none; }
.pd-gallery .product-gallery__nav { width: 36px; height: 36px; }
.pd-gallery .product-gallery__dots { bottom: 10px; }
.pd-summary { display: flex; flex-direction: column; min-width: 0; min-height: 368px; }
.pd-summary h1 { margin: 0 0 16px; color: #111827; font-size: clamp(24px,2.3vw,32px); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.pd-summary__intro { margin: 0 0 20px; color: #475569; font-size: 15px; line-height: 1.85; }
.pd-summary__facts { margin: 0 0 20px; font-size: 14px; border: 1px solid #e0e6ef; border-radius: 6px; overflow: hidden; }
.pd-summary__facts > div { display: grid; grid-template-columns: 92px minmax(0,1fr); }
.pd-summary__facts > div + div { border-top: 1px solid #e0e6ef; }
.pd-summary__facts dt { padding: 9px 12px; background: #f5f7fb; color: #111827; font-weight: 600; }
.pd-summary__facts dd { margin: 0; padding: 9px 12px; }
.pd-actions { margin-top: auto; gap: 12px; }
.pd-actions .button { min-height: 44px; padding: 10px 24px; border-radius: 6px; font-size: 15px; }
.pd-tabs { position: sticky; top: 80px; z-index: 10; display: flex; background: #f3f6fb; border: 1px solid #dbe3f0; border-radius: 6px; overflow: hidden; }
.pd-tabs a { padding: 13px 30px; color: #334155; font-size: 16px; text-align: center; }
.pd-tabs a:hover { color: #1d4ed8; }
.pd-tabs a.is-active { color: #fff; background: #2563eb; }
.pd-section { padding: 30px 0; border-bottom: 1px solid #e2e8f0; scroll-margin-top: 150px; min-width: 0; }
.pd-section > h2 { margin: 0 0 22px; padding-left: 14px; border-left: 4px solid #2563eb; color: #111827; font-size: 25px; line-height: 1.3; }
.pd-prose { min-width: 0; max-width: 100%; overflow-x: auto; overflow-wrap: anywhere; color: #334155; font-size: 16px; line-height: 1.9; }
.pd-prose p { margin: 0 0 18px; }
.pd-prose h2,.pd-prose h3,.pd-prose h4 { margin: 26px 0 14px; color: #111827; line-height: 1.5; }
.pd-prose h2 { font-size: 22px; }.pd-prose h3 { font-size: 20px; }
.pd-prose img { max-width: 100% !important; height: auto !important; margin: 18px auto; }
.pd-prose table { border-collapse: collapse; min-width: 100%; margin: 18px 0; }
.pd-prose th,.pd-prose td { padding: 12px 16px; border: 1px solid #dbe3f0; text-align: left; }
.pd-prose th { color: #111827; background: #eff4fc; }
.pd-enquiry > p { margin: -8px 0 20px; color: #64748b; font-size: 15px; }
.pd-enquiry__panel { padding: 24px; border: 1px solid #dbe3f0; border-radius: 8px; }
.pd-enquiry-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 20px; }
.pd-enquiry-form > * { grid-column: 1/-1; min-width: 0; }
.pd-enquiry-form > label { grid-column: auto; font-size: 14px; }
.pd-enquiry-form > .pd-field-wide { grid-column: 1/-1; }
.pd-enquiry-form input,.pd-enquiry-form textarea { font-size: 16px; }
.pd-enquiry-form input { height: 44px; padding: 10px 12px; }
.pd-enquiry-form textarea { min-height: 110px; resize: vertical; }
.pd-enquiry-form > button { justify-self: start; min-height: 44px; border-radius: 6px; padding: 10px 30px; }
@media (min-width: 981px) { .pd-categories > summary { list-style: none; cursor: default; }.pd-categories > summary::-webkit-details-marker { display:none; } }
@media (max-width:1180px) and (min-width:981px) { .pd-layout { grid-template-columns: 200px minmax(0,1fr); gap: 22px; }.pd-hero { gap: 20px; }.pd-gallery .product-gallery--detail-slider .product-gallery__main--detail { height: auto; }.pd-summary { min-height: 328px; } }
@media (max-width:980px) { .pd-layout { grid-template-columns: minmax(0,1fr); gap: 20px; padding-top: 20px; }.pd-sidebar { position: static; }.pd-category-links { max-height: 380px; }.pd-hero { gap: 24px; }.pd-tabs { top: 74px; }.pd-gallery .product-gallery--detail-slider .product-gallery__main--detail { height: auto; }.pd-summary { min-height: 358px; } }
@media (max-width:640px) { .pd-layout { width: calc(100% - 24px); padding-bottom: 28px; }.pd-hero { grid-template-columns: minmax(0,1fr); gap: 20px; }.pd-gallery .product-gallery--detail-slider .product-gallery__main--detail { height: auto; }.pd-summary { min-height: 0; }.pd-summary h1 { font-size: 25px; }.pd-summary__intro { font-size: 14px; }.pd-tabs a { flex: 1; padding: 12px 8px; font-size: 14px; }.pd-section { padding: 24px 0; scroll-margin-top: 140px; }.pd-section > h2 { font-size: 23px; }.pd-prose { font-size: 15px; }.pd-prose th,.pd-prose td { padding: 10px; }.pd-enquiry__panel { padding: 18px; }.pd-enquiry-form { grid-template-columns: minmax(0,1fr); }.pd-enquiry-form > label { grid-column: 1/-1; }.pd-enquiry-form > button { justify-self: stretch; } }
@media (prefers-reduced-motion:reduce) { .pd-page { scroll-behavior: auto; } }

/* Compact interest / consultation strip. */
.pd-page .product-detail-cta--figma { padding: 28px 0; }
.pd-page .product-detail-cta--figma .product-detail-cta__inner { gap: 10px; }
.pd-page .product-detail-cta--figma h2 { font-size: 30px; line-height: 1.35; }
.pd-page .product-detail-cta--figma p { font-size: 15px; line-height: 1.6; }
.pd-page .product-detail-cta--figma .product-detail-cta__meta { gap: 20px; font-size: 15px; line-height: 1.6; }
.pd-page .product-detail-cta--figma .product-detail-cta__actions { margin-top: 2px; }
.pd-page .product-detail-cta--figma .button--light { min-height: 44px; padding: 10px 28px; font-size: 15px; border-radius: 6px; }
@media (max-width: 640px) {
    .pd-page .product-detail-cta--figma { padding: 24px 0; }
    .pd-page .product-detail-cta--figma h2 { font-size: 25px; }
    .pd-page .product-detail-cta--figma .product-detail-cta__meta { gap: 6px; font-size: 14px; }
}

