/* Loaded only by single.php. Shared components are scoped to this detail page. */
body:has(#pdp-detail) .sidebar-icons, body:has(#pdp-detail) .mobile-bottom-nav { display: none; }
#pdp-detail { --pdp-ink: #202b37; --pdp-muted: #56616e; --pdp-line: #e3e7eb; --pdp-accent: #bd9244; color: var(--pdp-ink); background: #fff; font-size: 16px; line-height: 1.65; }
#pdp-detail *, #pdp-detail *::before, #pdp-detail *::after { box-sizing: border-box; }
#pdp-detail [hidden] { display: none; }
#pdp-detail a, #pdp-detail button { -webkit-tap-highlight-color: transparent; }
#pdp-detail a:focus-visible, #pdp-detail button:focus-visible, #pdp-detail input:focus-visible, #pdp-detail textarea:focus-visible { outline: 3px solid #1463a0; outline-offset: 4px; }
#pdp-detail button, #pdp-detail input, #pdp-detail textarea { font: inherit; }
#pdp-detail button { cursor: pointer; }
#pdp-detail .pdp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0; color: #68717c; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
#pdp-detail .pdp-breadcrumb a { color: #56616e; text-decoration: none; }
#pdp-detail .pdp-breadcrumb a:hover { text-decoration: underline; }
#pdp-detail .pdp-hero { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: 48px; align-items: start; padding: 18px 0 44px; }
#pdp-detail .pdp-gallery, #pdp-detail .pdp-overview { min-width: 0; }
#pdp-detail .pdp-gallery-stage { position: relative; border: 1px solid var(--pdp-line); border-radius: 10px; background: #fff; overflow: hidden; }
#pdp-detail .pdp-slide { position: relative; }
#pdp-detail .pdp-image-open { display: block; width: 100%; height: clamp(360px,36vw,518px); padding: 16px; border: 0; background: #fff; border-radius: 10px; }
#pdp-detail .pdp-image-open img { display: block; width: 100%; height: 100%; object-fit: contain; }
#pdp-detail .pdp-video-link { position: absolute; left: 16px; top: 16px; padding: 8px 14px; background: #fff; border: 1px solid var(--pdp-line); border-radius: 5px; color: var(--pdp-ink); }
#pdp-detail .pdp-gallery-controls { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 8px; font-size: 13px; }
#pdp-detail .pdp-gallery-controls button { min-height: 44px; padding: 6px 13px; border: 1px solid var(--pdp-line); border-radius: 5px; background: #fff; color: var(--pdp-ink); }
#pdp-detail .pdp-thumbnails { display: flex; gap: 10px; padding: 4px; overflow-x: auto; }
#pdp-detail .pdp-thumbnails button { flex: 0 0 72px; width: 72px; padding: 3px; border: 1px solid var(--pdp-line); border-radius: 5px; background: #fff; }
#pdp-detail .pdp-thumbnails button[aria-pressed="true"] { border: 2px solid var(--pdp-accent); padding: 2px; }
#pdp-detail .pdp-thumbnails img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
#pdp-detail .pdp-category { display: inline-block; color: #6f5729; font-size: 13px; font-weight: 600; text-decoration: none; margin: 2px 0 12px; }
#pdp-detail h1 { font-size: clamp(32px, 2.5vw, 36px); line-height: 1.23; letter-spacing: -.5px; font-weight: 600; margin: 0 0 18px; color: var(--pdp-ink); overflow-wrap: anywhere; }
#pdp-detail .pdp-summary { color: var(--pdp-muted); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
#pdp-detail .pdp-summary p { margin: 0 0 12px; }
#pdp-detail .pdp-summary > :last-child { margin-bottom: 0; }
#pdp-detail .pdp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#pdp-detail .pdp-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 23px; border: 1px solid transparent; border-radius: 5px; font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background-color .15s; }
#pdp-detail .pdp-button-primary { background: #8b692f; border-color: #8b692f; color: #fff; }
#pdp-detail .pdp-button-primary:hover { background: #715322; border-color: #715322; }
#pdp-detail .pdp-button-secondary { background: #fff; border-color: #cbd2da; color: var(--pdp-ink); }
#pdp-detail .pdp-button-secondary:hover { background: #f3f5f7; }
#pdp-detail .pdp-quick-links, #pdp-detail .pdp-share { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13px; }
#pdp-detail .pdp-quick-links:empty { display: none; }
#pdp-detail .pdp-quick-links a { color: #465463; text-decoration: underline; text-underline-offset: 3px; }
#pdp-detail .pdp-share { align-items: center; gap: 8px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--pdp-line); color: #6a7380; }
#pdp-detail .pdp-share a { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; color: #56616e; text-decoration: none; transition: color .15s; }
#pdp-detail .pdp-share a:hover { color: #755423; }
#pdp-detail .pdp-share svg { display: block; width: 22px; height: 22px; fill: currentColor; }
#pdp-detail .pdp-section-nav { display: flex; gap: 30px; overflow-x: auto; border-top: 1px solid var(--pdp-line); border-bottom: 1px solid var(--pdp-line); background: #fff; position: sticky; top: 0; z-index: 5; }
#pdp-detail .pdp-section-nav a { display: block; flex: 0 0 auto; padding: 17px 0; font-size: 14px; font-weight: 600; color: #4f5b69; text-decoration: none; border-bottom: 2px solid transparent; }
#pdp-detail .pdp-section-nav a:hover { color: #795b25; border-bottom-color: var(--pdp-accent); }
#pdp-detail .pdp-detail-section { padding: 38px 0; scroll-margin-top: 78px; }
#pdp-detail h2 { font-size: 25px; line-height: 1.3; margin: 0 0 22px; color: var(--pdp-ink); font-weight: 600; text-align: left; }
#pdp-detail .pdp-spec-content > h2:not(:first-child), #pdp-detail .pdp-spec-group + .pdp-spec-group { margin-top: 36px; }
#pdp-detail .pdp-spec-content p { color: var(--pdp-muted); margin: 0 0 14px; }
#pdp-detail .pdp-spec-content ul { padding-left: 22px; }
#pdp-detail .pdp-spec-content table { width: 100%; border-collapse: collapse; border: 1px solid var(--pdp-line); color: #354352; font-size: 15px; margin: 0 0 20px; }
#pdp-detail .pdp-spec-content td, #pdp-detail .pdp-spec-content th { border: 1px solid var(--pdp-line); padding: 13px 18px; text-align: left; vertical-align: top; line-height: 1.6; overflow-wrap: anywhere; }
#pdp-detail .pdp-spec-content th { background: #f3f5f7; font-weight: 500; width: 29%; color: #374553; }
#pdp-detail .pdp-spec-content tr:nth-child(even) td { background: #fafbfc; }
#pdp-detail .pdp-table-scroll { max-width: 100%; overflow-x: auto; }
#pdp-detail .pdp-spec-content img { display: block; max-width: 100%; height: auto; }
#pdp-detail .pdp-video-preview { display: flex; align-items: center; gap: 22px; }
#pdp-detail .pdp-video-preview img { max-width: 400px; width: 55%; height: auto; }
#pdp-detail .pdp-downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#pdp-detail .pdp-download { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 22px; border: 1px solid var(--pdp-line); border-radius: 6px; color: var(--pdp-ink); text-decoration: none; }
#pdp-detail .pdp-download:hover { border-color: #ad8a49; }
#pdp-detail .pdp-download-action { font-size: 13px; color: #725828; white-space: nowrap; }
#pdp-detail .pdp-related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
#pdp-detail .pdp-related-card { border: 1px solid var(--pdp-line); border-radius: 7px; padding: 16px; }
#pdp-detail .pdp-related-card a { display: block; color: var(--pdp-ink); text-decoration: none; }
#pdp-detail .pdp-related-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
#pdp-detail .pdp-related-card h3 { font-size: 15px; line-height: 1.5; font-weight: 500; margin: 14px 0 12px; }
#pdp-detail .pdp-related-card span { font-size: 13px; color: #725828; }
#pdp-detail .pdp-enquiry { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; border-top: 1px solid var(--pdp-line); padding: 38px; margin: 28px 0 64px; background: #f5f7f8; border-radius: 9px; }
#pdp-detail .pdp-eyebrow { font-size: 12px; letter-spacing: 1px; color: #725828; margin: 0 0 10px; }
#pdp-detail .pdp-enquiry h2 { margin-bottom: 16px; }
#pdp-detail .pdp-enquiry-product { font-weight: 600; line-height: 1.5; margin-bottom: 14px; }
#pdp-detail .pdp-enquiry-copy > p { color: #4f5c6b; }
#pdp-detail .pdp-enquiry-copy > a { display: block; width: fit-content; color: #5a4520; text-decoration: underline; margin-top: 12px; overflow-wrap: anywhere; }
#pdp-detail .pdp-enquiry-form label { display: block; font-size: 13px; font-weight: 600; color: #3c4a58; }
#pdp-detail .pdp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#pdp-detail .pdp-enquiry-form input, #pdp-detail .pdp-enquiry-form textarea { display: block; width: 100%; min-width: 0; border: 1px solid #c8d0d8; border-radius: 4px; background: #fff; padding: 11px 12px; margin: 7px 0 16px; font-size: 16px; font-weight: 400; color: #202b37; line-height: 1.5; }
#pdp-detail .pdp-enquiry-form textarea { resize: vertical; }
#pdp-detail .pdp-form-note { font-size: 12px; color: #596575; line-height: 1.6; margin: 12px 0 0; }
#pdp-detail .pdp-mobile-actions { display: none; }
#pdp-detail .pdp-lightbox { margin: auto; width: min(1000px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 54px 20px 16px; border: 0; border-radius: 8px; color: #263342; }
#pdp-detail .pdp-lightbox::backdrop { background: rgba(15,23,42,.78); }
#pdp-detail .pdp-lightbox img { display: block; width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; }
#pdp-detail .pdp-lightbox p { text-align: center; margin: 12px 0 0; font-size: 13px; }
#pdp-detail .pdp-lightbox-close { position: absolute; right: 12px; top: 10px; min-height: 40px; padding: 6px 16px; background: #fff; border: 1px solid #cbd2da; border-radius: 4px; color: #263342; }
@media (min-width: 1001px) {
}
@media (max-width: 1000px) {
 #pdp-detail .pdp-hero { gap: 28px; }
 #pdp-detail h1 { font-size: 32px; }
 #pdp-detail .pdp-enquiry { gap: 28px; padding: 28px; }
}
@media (max-width: 767px) {
 #pdp-detail .pdp-breadcrumb { padding: 17px 0; font-size: 12px; gap: 5px; }
 #pdp-detail .pdp-breadcrumb [aria-current] { display: none; }
 #pdp-detail .pdp-breadcrumb .pdp-current-separator { display: none; }
 #pdp-detail .pdp-hero { grid-template-columns: minmax(0,1fr); gap: 24px; padding: 8px 0 30px; }
 #pdp-detail .pdp-gallery { max-width: 520px; width: 100%; margin: 0 auto; }
 #pdp-detail .pdp-image-open { height: auto; padding: 10px; }
 #pdp-detail .pdp-image-open img { height: auto; aspect-ratio: 1; }
 #pdp-detail h1 { font-size: 27px; letter-spacing: -.3px; margin-bottom: 14px; }
 #pdp-detail .pdp-actions .pdp-button { flex: 1; padding-left: 12px; padding-right: 12px; }
 #pdp-detail .pdp-share { margin-top: 12px; padding-top: 12px; }
 #pdp-detail .pdp-section-nav { gap: 24px; }
 #pdp-detail .pdp-section-nav a { font-size: 13px; padding: 14px 0; }
 #pdp-detail .pdp-detail-section { padding: 28px 0; scroll-margin-top: 70px; }
 #pdp-detail h2 { font-size: 23px; margin-bottom: 18px; }
 #pdp-detail .pdp-downloads { grid-template-columns: minmax(0,1fr); }
 #pdp-detail .pdp-spec-content td, #pdp-detail .pdp-spec-content th { padding: 11px 12px; font-size: 14px; }
 #pdp-detail .pdp-spec-content th { width: 40%; }
 #pdp-detail .pdp-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 #pdp-detail .pdp-related-card { padding: 12px; }
 #pdp-detail .pdp-related-card h3 { font-size: 13px; }
 #pdp-detail .pdp-enquiry { grid-template-columns: minmax(0,1fr); gap: 24px; padding: 24px 18px; margin-bottom: 36px; }
 #pdp-detail .pdp-form-row { grid-template-columns: minmax(0,1fr); gap: 0; }
 #pdp-detail .pdp-enquiry-form .pdp-button { width: 100%; }
 #pdp-detail .pdp-mobile-actions { display: flex; position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; z-index: 10000; background: #fff; border-top: 1px solid var(--pdp-line); box-shadow: 0 -3px 12px rgba(15,23,42,.06); }
 #pdp-detail .pdp-mobile-actions .pdp-button { flex: 1; font-size: 13px; padding: 10px; min-height: 44px; }
 body:has(#pdp-detail) .footer { margin-bottom: calc(65px + env(safe-area-inset-bottom)); }
 body:has(#pdp-detail) #toTop { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { #pdp-detail .pdp-button { transition: none; } }

#pdp-detail .pdp-hero-without-photo { grid-template-columns: minmax(0,1fr); }
#pdp-detail .pdp-hero-without-photo .pdp-gallery { display: none; }
#pdp-detail .pdp-hero-without-photo .pdp-overview { max-width: 860px; }
#pdp-detail .pdp-spec-content > p { max-width: 90ch; line-height: 1.85; }
#pdp-detail .pdp-download-thumb { display: block; flex: 0 0 48px; width: 48px; height: 64px; object-fit: contain; }
#pdp-detail .pdp-form-status { margin: 14px 0 0; font-size: 14px; line-height: 1.6; }
#pdp-detail .pdp-form-status:empty { display: none; }
#pdp-detail .pdp-form-status[data-state="success"] { color: #146432; }
#pdp-detail .pdp-form-status[data-state="error"] { color: #a12622; }
#pdp-detail .pdp-enquiry-form button:disabled { opacity: .65; cursor: wait; }
