/* bw-product.css — extracted from inline <style> during CSS centralisation.
 * Loaded alongside bw-base.css. Cascade order: bw-base.css first,
 * this file second (page-type rules win where they overlap).
 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; scroll-padding-top: 90px; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
            background: #ffffff; color: #1a1a1a;
        }
        /* Category --cat-* tokens live on the <body class="cat-{slug}"> element
           in bw-base.css. Do NOT redeclare them here — that would lock every
           product page to a single category colour. */
        a { color: inherit; text-decoration: none; }
        img { max-width: 100%; display: block; }

        /* NAVBAR */
        .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0.6rem 2rem; display: flex; align-items: center; justify-content: space-between; transition: all 0.4s ease; background: rgba(15,15,15,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
        .navbar.scrolled { background: rgba(15,15,15,0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
        .navbar-logo img { height: 56px; width: auto; }
        .nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 1.8rem; list-style: none; align-items: center; }
        .nav-links > li { position: relative; }
        .nav-links a { color: white; font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.5rem 0; transition: color 0.3s; }
        .nav-links > li > a:hover { color: var(--amber); }
        .nav-links > li > a.active { color: var(--amber); }
        .nav-links > li > a.active::after, .nav-links > li > a:hover::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--amber); }
        /* Products dropdown */
        .nav-links .has-dropdown > a .chev { font-size: 0.6rem; margin-left: 0.4rem; transition: transform 0.25s; opacity: 0.75; }
        .nav-links .has-dropdown:hover > a .chev { transform: rotate(180deg); opacity: 1; }
        .dropdown { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(-6px); background: rgba(15,15,15,0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); min-width: 230px; padding: 0.4rem 0; border-radius: 10px; list-style: none; box-shadow: 0 18px 45px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.06); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; pointer-events: none; }
        .nav-links .has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
        .dropdown li { padding: 0; }
        .nav-links .dropdown a { display: block; padding: 0.7rem 1.5rem; font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.88); border-left: 3px solid transparent; transition: background 0.15s, color 0.15s, border-left-color 0.15s; }
        .nav-links .dropdown a:hover { background: rgba(255,255,255,0.04); color: var(--amber); border-left-color: var(--amber); }
        .nav-links .dropdown a::after { display: none !important; }
        .dropdown-divider { border-top: 1px solid rgba(255,255,255,0.08); margin: 0.35rem 0; pointer-events: none; }
        .mobile-section { font-weight: 700 !important; }
        .mobile-sub { padding-left: 1.25rem !important; font-size: 0.95rem !important; opacity: 0.92; }
        .menu-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
        .mobile-menu { display: none; position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh; background: #0f0f0f; z-index: 1500; padding: 5rem 2rem 2rem; transition: right 0.4s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
        .mobile-menu.open { right: 0; }
        .mobile-menu a { display: block; color: white; padding: 1rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .mobile-menu-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

        /* BREADCRUMB */
        .breadcrumb { max-width: 1280px; margin: 0 auto; padding: 6.5rem 2rem 1rem; font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
        .breadcrumb a { color: var(--text-muted); transition: color 0.3s; }
        .breadcrumb a:hover { color: var(--cat-bright); }
        .breadcrumb i { font-size: 0.6rem; opacity: 0.5; }
        .breadcrumb span { color: var(--text-dark); font-weight: 600; }

        /* PRODUCT DETAIL */
        .product-detail { max-width: 1280px; margin: 0 auto; padding: 1.5rem 2rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

        /* LEFT COLUMN — main image, thumbnail strip, then accessory photos stacked below.
           Not sticky: it scrolls with the right column so the wall/base photo lines up
           vertically with the corresponding row in the accessories table on the right. */
        .product-image-col { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 90px; align-self: start; }
        .product-image-main { background: var(--light-alt); border-radius: 16px; padding: 2rem; display: flex; align-items: center; justify-content: center; min-height: 480px; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; position: relative; }
        .product-image-main img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity 0.3s ease; }
        .gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 1px solid rgba(0,0,0,0.06); color: var(--text-dark); font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.10); transition: all 0.2s ease; opacity: 0; pointer-events: none; z-index: 2; }
        .product-image-main:hover .gallery-arrow { opacity: 1; pointer-events: auto; }
        .gallery-arrow:hover { background: white; transform: translateY(-50%) scale(1.08); box-shadow: 0 6px 16px rgba(0,0,0,0.16); color: var(--cat-bright); }
        .gallery-prev { left: 0.85rem; }
        .gallery-next { right: 0.85rem; }
        @media (max-width: 700px) {
            .gallery-arrow { opacity: 1; pointer-events: auto; width: 36px; height: 36px; font-size: 0.8rem; background: rgba(255,255,255,0.85); }
            .gallery-prev { left: 0.5rem; }
            .gallery-next { right: 0.5rem; }
        }
        .product-thumbnails { display: flex; gap: 0.5rem; flex-wrap: wrap; }
        .product-thumbnails .thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 8px; background: var(--light-alt); cursor: pointer; opacity: 0.65; transition: all 0.25s ease; overflow: hidden; }
        .product-thumbnails .thumb img { width: 100%; height: 100%; object-fit: cover; }
        .product-thumbnails .thumb:hover { opacity: 1; }
        .product-thumbnails .thumb.active { border-color: var(--cat-bright); opacity: 1; }

        /* Accessories block — image strip ABOVE the table, both inside the same
           section so they stay together and the table keeps its full width
           (preserves single-line product names like "Quad ground Spike"). */
        .acc-block { display: flex; flex-direction: column; gap: 1rem; }
        .acc-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; max-width: 100%; }
        .acc-photo { aspect-ratio: 4 / 3; background: var(--light-alt); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
        .acc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

        /* Lightbox for the main product image (click main image to open full-size) */
        .product-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 5000; display: none; align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; }
        .product-lightbox.open { display: flex; }
        .product-lightbox img { max-width: min(96vw, 1400px); max-height: 92vh; object-fit: contain; box-shadow: 0 12px 60px rgba(0,0,0,0.6); border-radius: 6px; }
        .product-lightbox .close-btn { position: absolute; top: 1.25rem; right: 1.25rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12); border: none; color: white; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
        .product-lightbox .close-btn:hover { background: rgba(255,255,255,0.22); }

        .product-info-col { min-width: 0; padding-right: 0.5rem; }
        .product-category-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--cat-dark); margin-bottom: 0.85rem; }
        .product-info-col h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 1.5rem; }
        .product-description { color: var(--text-body); font-size: 1rem; line-height: 1.75; margin-bottom: 1.5rem; }
        .product-description p { margin-bottom: 0.85rem; }
        .product-description p:last-child { margin-bottom: 0; }
        .included-section { margin: 0 0 1.75rem; padding: 1.25rem 1.4rem; background: var(--light-alt); border-radius: 10px; border-left: 3px solid var(--cat-bright); }
        .included-section .section-heading { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-dark); margin: 0 0 0.85rem; }
        .included-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem 1.5rem; }
        .included-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: var(--text-dark); font-weight: 500; }
        .included-list li i { color: var(--cat-bright); font-size: 0.78rem; }
        .included-note { margin: 0.85rem 0 0; padding: 0.5rem 0 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; display: flex; gap: 0.5rem; align-items: flex-start; border-top: 1px solid rgba(0,0,0,0.06); }
        .included-note i { color: var(--cat-bright); font-size: 0.85rem; margin-top: 0.15rem; }
        .variant-sub-heading { display: flex; align-items: baseline; gap: 0.85rem; margin: 0.5rem 0 0.85rem; flex-wrap: wrap; }
        .variant-sub-label { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cat-bright); padding: 0.3rem 0.65rem; background: rgba(0,0,0,0.04); border-radius: 100px; }
        .variant-sub-explainer { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
        .accessory-note { margin: 0.4rem 0 1rem; padding: 0.7rem 1rem; background: rgba(238,56,38,0.08); border-left: 3px solid var(--cat-bright); border-radius: 6px; font-size: 0.9rem; color: var(--text-dark); line-height: 1.55; display: flex; gap: 0.55rem; align-items: flex-start; }
        .accessory-note i { color: var(--cat-bright); font-size: 0.95rem; margin-top: 0.15rem; flex-shrink: 0; }
        .product-note { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.85rem 1rem; background: var(--light-alt); border-left: 3px solid var(--cat-bright); border-radius: 6px; font-size: 0.9rem; color: var(--text-body); margin-bottom: 1.75rem; }
        .product-note i { color: var(--cat-bright); margin-top: 0.15rem; }

        /* VARIANTS TABLE */
        .variants-section { margin-top: 1.75rem; }
        .variants-section + .variants-section { margin-top: 2rem; }
        .variants-section.accessories { padding-top: 1.5rem; border-top: 1px dashed var(--line); }
        .section-heading { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: var(--text-muted); margin-bottom: 1rem; }
        .table-wrap { overflow-x: auto; }
        .variants-table { width: 100%; border-collapse: collapse; }
        .variants-table th { text-align: left; padding: 0.7rem 0.9rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); border-bottom: 2px solid var(--line); white-space: nowrap; }
        .variants-table th.th-action { width: 1%; }
        .variants-table td { padding: 1rem 0.9rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; vertical-align: middle; }
        .variants-table tr:hover { background: var(--light-alt); }
        .variant-name, .acc-name { font-weight: 700; color: var(--text-dark); }
        .variant-dims { color: var(--text-muted); font-size: 0.88rem; }
        .variant-price, .acc-price { font-weight: 800; color: var(--cat-dark); white-space: nowrap; font-size: 1.05rem; }
        .acc-dims { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 400; margin-top: 0.15rem; }
        .add-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.65rem 1.1rem; background: var(--cat-bright); color: white; border: 2px solid var(--cat-bright); border-radius: 6px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: all 0.25s ease; white-space: nowrap; font-family: inherit; }
        .add-btn:hover { background: var(--cat-dark); border-color: var(--cat-dark); transform: translateY(-1px); }
        .add-btn::before { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.7rem; }

        /* SETUP VIDEO */
        .setup-section { max-width: 920px; margin: 0 auto; padding: 4rem 2rem 4.5rem; }
        .setup-heading { text-align: center; margin-bottom: 2rem; }
        .setup-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cat-dark); margin-bottom: 0.5rem; }
        .setup-heading h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--text-dark); margin-bottom: 0.5rem; }
        .setup-sub { font-size: 0.95rem; color: var(--text-muted); }
        .setup-video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,0.18); background: #000; }
        .setup-video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

        /* ARTWORK TEMPLATES — Per-product PDF download panel. Sits between
           setup video and related products. Renders only when the product
           has entries in template_manifest.json; otherwise the section is
           omitted by the generator. Dark hero image with amber-radial overlay
           matches the 'Need help?' block on the central artwork-templates
           page, so the visual language carries across both surfaces. */
        .product-templates-section { position: relative; background: #0f0f0f url('../images/hero/hero-3.jpg') center/cover no-repeat; padding: 5rem 2rem; color: white; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.05); }
        .product-templates-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,15,15,0.82) 0%, rgba(15,15,15,0.62) 100%), radial-gradient(circle at 30% 50%, rgba(253,184,39,0.18) 0%, transparent 60%); pointer-events: none; }
        .product-templates-section > * { position: relative; z-index: 1; }
        .product-templates-inner { max-width: 1080px; margin: 0 auto; }
        .product-templates-heading { text-align: center; margin-bottom: 2.25rem; }
        .product-templates-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.55rem; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
        .product-templates-heading h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: white; margin-bottom: 0.65rem; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
        .product-templates-sub { font-size: 0.98rem; color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; line-height: 1.65; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }

        .product-tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 2rem; align-items: start; }
        .product-tpl-card { display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1rem; background: rgba(255,255,255,0.96); border: 1px solid rgba(255,255,255,0.18); border-radius: 10px; color: var(--text-dark); transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease; cursor: pointer; }
        .product-tpl-card:hover { background: #fff; border-color: var(--amber); box-shadow: 0 10px 28px rgba(0,0,0,0.35); transform: translateY(-1px); }
        .product-tpl-icon { color: var(--red); font-size: 1.05rem; flex-shrink: 0; }
        .product-tpl-label { flex: 1; min-width: 0; font-size: 0.9rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .product-tpl-dl { color: var(--text-muted); font-size: 0.8rem; flex-shrink: 0; transition: color 0.18s ease, transform 0.18s ease; }
        .product-tpl-card:hover .product-tpl-dl { color: #946000; transform: translateY(1px); }

        .product-templates-footnote { margin: 2.25rem auto 0; max-width: 720px; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.78); line-height: 1.65; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
        .product-templates-footnote a { color: var(--amber); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
        .product-templates-footnote a:hover { color: #ffd470; }

        /* Collapsed template overflow — every card lives in the same grid
           so column widths stay identical. Cards past the visible threshold
           get .product-tpl-card-hidden; the toggle button below flips
           .is-expanded on the section which reveals them. Toggle is always
           positioned below the grid so 'Show fewer' lands at the end of the
           full list when expanded. */
        .product-tpl-card-hidden { display: none; }
        .product-templates-section.is-expanded .product-tpl-card-hidden { display: flex; }

        .product-tpl-toggle-wrap { margin-top: 1.25rem; text-align: center; }
        .product-tpl-toggle-btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.7rem 1.4rem; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22); border-radius: 8px; color: white; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em; font-family: inherit; cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease; }
        .product-tpl-toggle-btn:hover { background: rgba(253,184,39,0.18); border-color: var(--amber); }
        .product-tpl-toggle-btn:focus-visible { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(253,184,39,0.35); }
        .product-tpl-toggle-btn i { font-size: 0.7rem; transition: transform 0.25s ease; }
        .product-templates-section.is-expanded .product-tpl-toggle-btn i { transform: rotate(180deg); }
        .product-tpl-toggle-less { display: none; }
        .product-templates-section.is-expanded .product-tpl-toggle-more { display: none; }
        .product-templates-section.is-expanded .product-tpl-toggle-less { display: inline; }

        /* RELATED */
        .related-section { background: var(--light-alt); padding: 4.5rem 2rem; }
        .related-inner { max-width: 1280px; margin: 0 auto; }
        .related-heading { text-align: center; margin-bottom: 2.5rem; }
        .related-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cat-dark); margin-bottom: 0.6rem; }
        .related-title { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--text-dark); }
        .related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
        .related-card { display: flex; flex-direction: column; background: #ffffff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); transition: all 0.4s ease; }
        .related-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,0.10); border-color: var(--cat-bright); }
        .related-image-wrap { aspect-ratio: 4 / 3; overflow: hidden; background: var(--light-alt); }
        .related-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .related-card:hover .related-image-wrap img { transform: scale(1.06); }
        .related-info { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
        .related-info h4 { font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--text-dark); }
        .related-cta { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cat-dark); margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; }
        .related-cta i { font-size: 0.65rem; }

        /* FOOTER */
        .footer { background: #0a0a0a; color: white; border-top: 1px solid rgba(255,255,255,0.05); }
        .footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto; padding: 3.5rem 2rem; align-items: center; }
        .footer-main img { max-width: 280px; opacity: 0.85; }
        .footer-search h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: white; }
        .footer-search p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }
        .search-form { display: flex; gap: 0.5rem; }
        .search-form input { flex: 1; padding: 0.75rem 1rem; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); color: white; border-radius: 4px; font-size: 0.9rem; font-family: inherit; }
        .search-form input::placeholder { color: rgba(255,255,255,0.5); }
        .search-form input:focus { outline: none; border-color: var(--cat-bright); }
        .btn-green { background: var(--green); color: #0f0f0f; border: 2px solid var(--green); padding: 0.75rem 1.25rem; border-radius: 4px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; }
        .btn-green:hover { background: transparent; color: var(--green); }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 2rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
        .footer-bottom a { color: rgba(255,255,255,0.55); transition: color 0.3s; }
        .footer-bottom a:hover { color: var(--cat-bright); }

        /* BACK TO TOP */
        .back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: var(--cat-bright); color: white; border: none; border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 100; font-size: 1rem; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
        .back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
        .back-to-top:hover { background: var(--cat-dark); }

        /* RESPONSIVE */
        /* min-width: 0 lets grid items shrink below the image's aspect-ratio min-content on mobile */
        .product-image-col, .product-detail > * { min-width: 0; }

        @media (max-width: 1100px) {
            .product-detail { grid-template-columns: 1fr; gap: 2.5rem; }
            .product-image-col { position: static; }
            .product-image-main { min-height: 380px; }
            .related-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 900px) {
            .nav-links { display: none; }
            .menu-toggle { display: block; }
            .mobile-menu { display: block; }
            .breadcrumb { padding: 5.5rem 1.25rem 0.75rem; font-size: 0.78rem; }
            .product-detail { padding: 1rem 1.25rem 3rem; }
            .product-image-main { min-height: 320px; padding: 1.25rem; }
            .footer-main { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
            .footer-main > div:first-child { display: flex; justify-content: center; }
            .related-section { padding: 3rem 1.25rem; }
            .setup-section { padding: 3rem 1.25rem 3.25rem; }
            .product-templates-section { padding: 3rem 1.25rem; }
            .product-tpl-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 600px) {
            .related-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
            .product-tpl-grid { grid-template-columns: 1fr; }
            .navbar { padding: 0.5rem 1rem; }
            .navbar-logo img { height: 44px; }
            .add-btn::before { display: none; }
            /* Drop min-height: 320 + aspect-ratio 4/3 = 427px width, overflows 375px phones */
            .product-image-main { min-height: 0; padding: 1rem; }

            /* Variants table becomes stacked cards on mobile so the Add to Cart
               button + qty stepper always fit. Each <tr> = one card; each <td>
               displays as a block; the header row is hidden because each cell
               now carries its own context (name is large, price is bold). */
            .table-wrap { overflow-x: visible; }
            .variants-table, .variants-table tbody, .variants-table tr, .variants-table td {
                display: block;
                width: 100%;
            }
            .variants-table thead { display: none; }
            .variants-table tr {
                padding: 0.85rem 1rem;
                margin-bottom: 0.75rem;
                border: 1px solid var(--line);
                border-radius: 10px;
                background: #fff;
            }
            .variants-table tr:hover { background: #fff; }
            .variants-table td {
                padding: 0.2rem 0;
                border: none;
                font-size: 0.95rem;
            }
            .variants-table td.variant-name { font-size: 1.02rem; font-weight: 800; }
            .variants-table td.variant-dims { color: var(--text-muted); font-size: 0.85rem; }
            .variants-table td.variant-price, .variants-table td.acc-price {
                font-size: 1.1rem;
                margin-bottom: 0.5rem;
            }
            .variants-table td.acc-name { font-size: 1rem; font-weight: 800; }
            .variants-table td:last-child {
                margin-top: 0.5rem;
                padding-top: 0.85rem;
                border-top: 1px dashed var(--line);
            }
            .bw-qty-cell {
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                gap: 0.6rem !important;
            }
            .bw-qty-cell .add-btn {
                flex: 1;
                justify-content: center;
                padding: 0.65rem 0.7rem;
                font-size: 0.78rem;
                letter-spacing: 0.05em;
            }
        }

        /* ==================================================================
           SHARED PRODUCT-PAGE TREATMENT — VAT tags, trust strip, bulk-quote
           strip, quote panel, delivery panel. Rendered on every product page.
           ================================================================== */
        .vat-tag { font-size: 0.68rem; font-weight: 600; color: var(--text-muted); text-transform: none; letter-spacing: 0.02em; margin-left: 0.3rem; }
        .bulk-quote-strip { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; padding: 0.75rem 1rem; margin: 1.5rem 0 1rem; background: linear-gradient(90deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.02) 100%); border-left: 3px solid var(--cat-bright); border-radius: 6px; font-size: 0.92rem; color: var(--text-dark); }
        .bulk-quote-strip i { color: var(--cat-bright); font-size: 1rem; }
        .bulk-quote-strip strong { font-weight: 800; }
        .bulk-quote-strip a { color: var(--cat-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; margin-left: auto; }
        .bulk-quote-strip a:hover { color: var(--cat-bright); }
        @media (max-width: 600px) {
            .bulk-quote-strip { font-size: 0.85rem; padding: 0.65rem 0.85rem; }
            .bulk-quote-strip a { margin-left: 0; width: 100%; }
        }
        .trust-strip { display: flex; flex-wrap: wrap; gap: 1rem; padding: 0.85rem 1rem; margin: 0 0 1rem; background: var(--light-alt); border-radius: 8px; border: 1px solid var(--line); font-size: 0.85rem; color: var(--text-body); }
        .trust-strip .trust-item { display: inline-flex; align-items: center; gap: 0.45rem; flex: 1 1 auto; min-width: 0; }
        .trust-strip .trust-item i { color: var(--cat-bright); font-size: 0.95rem; flex-shrink: 0; }
        .trust-strip .trust-item strong { color: var(--text-dark); font-weight: 700; margin-right: 0.15rem; }
        .quote-panel { margin: 2rem 0 0; padding: 1.4rem 1.5rem; background: #ffffff; border: 2px dashed var(--cat-bright); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; }
        .quote-panel-text { flex: 1; min-width: 220px; }
        .quote-panel-text h4 { font-size: 1rem; font-weight: 800; color: var(--text-dark); margin: 0 0 0.3rem; }
        .quote-panel-text p { font-size: 0.88rem; color: var(--text-body); line-height: 1.55; margin: 0; }
        .quote-panel-text p strong { color: var(--cat-dark); font-weight: 700; }
        .quote-btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.35rem; background: transparent; color: var(--cat-dark); border: 2px solid var(--cat-bright); border-radius: 8px; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; font-family: inherit; text-decoration: none; }
        .quote-btn:hover { background: var(--cat-bright); color: white; transform: translateY(-1px); }
        .quote-btn i { font-size: 0.85rem; }
        .delivery-panel { margin: 2rem 0 0; padding: 1.4rem 1.5rem; background: var(--light-alt); border-radius: 12px; border-left: 4px solid var(--cat-bright); }
        .delivery-panel h4 { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-dark); margin: 0 0 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
        .delivery-panel h4 i { color: var(--cat-bright); font-size: 0.95rem; }
        .delivery-table { width: 100%; border-collapse: collapse; margin: 0 0 0.85rem; }
        .delivery-table th { text-align: left; padding: 0.55rem 0.7rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); border-bottom: 1px solid var(--line); }
        .delivery-table td { padding: 0.6rem 0.7rem; font-size: 0.9rem; color: var(--text-body); border-bottom: 1px solid var(--line); }
        .delivery-table td:last-child { font-weight: 700; color: var(--text-dark); white-space: nowrap; }
        .delivery-table tr:last-child td { border-bottom: none; }
        .delivery-note { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; margin: 0; display: flex; gap: 0.5rem; align-items: flex-start; }
        .delivery-note i { color: var(--cat-bright); font-size: 0.85rem; margin-top: 0.2rem; flex-shrink: 0; }
        .delivery-list { padding: 0 0 0 1.2rem; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; list-style: disc; }
        .delivery-list li { font-size: 0.9rem; color: var(--text-body); line-height: 1.55; }
        .delivery-list li::marker { color: var(--cat-bright); }
        .delivery-list li strong { color: var(--text-dark); font-weight: 700; }
        @media (max-width: 700px) {
            .quote-panel { flex-direction: column; align-items: stretch; text-align: center; }
            .quote-panel-text { min-width: 0; }
            .quote-btn { justify-content: center; }
            .trust-strip { flex-direction: column; gap: 0.55rem; }
            .trust-strip .trust-item { flex: 0 0 auto; }
        }
