﻿/* Product page (general/Product.aspx) only.
   Colour tokens and typography come from TheSourceTheme.css.
   .wrap and the footer rules live in MasterRetail.css. */

/* The hero strip. .hero is also transcribed in ProductList.css; Anton's
   decision 3 September 2026 was to duplicate rather than promote it to the
   shared theme. Keep the two copies identical. */
.hero{position:relative;overflow:hidden;background:var(--primary);text-align:center;color:rgba(255,255,255,0.82)}
.hero.strip{height:82px}

.prod-layout{display:grid;grid-template-columns:300px minmax(380px,1fr) 1.15fr;gap:56px;margin:44px 0 30px;align-items:start}
.acc{margin-bottom:11px}
.acc summary{list-style:none;background:linear-gradient(#CE7A3E,#C06A2E);border:1px solid var(--accent-hover);border-radius:4px;padding:10px 16px;font-size:15px;font-weight:500;color:#fff;cursor:pointer;display:flex;align-items:center;gap:12px}
.acc summary::-webkit-details-marker{display:none}
.acc summary::before{content:"▼";font-size:10px;color:rgba(255,255,255,0.75)}
.acc ul{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-top:none;border-radius:0 0 3px 3px;overflow:hidden}
.acc li{border-bottom:1px solid var(--border);background:#fff}
.acc li:last-child{border-bottom:none}
.acc li a{display:block;padding:8px 13px;font-size:13.5px;color:var(--accent);text-decoration:none}
.acc li a:hover{background:#EDE8DF}
.acc li.cur a{background:#EDE8DF;color:var(--primary);font-weight:500}
.carousel{position:relative;padding:0 34px}
.carousel img{width:100%;display:block}
.car-btn{position:absolute;top:46%;background:none;border:none;font-size:36px;color:var(--primary);cursor:pointer;padding:0;line-height:1;font-family:inherit}
.car-btn.prev{left:0}.car-btn.next{right:0}
.doc-links{margin:30px 0 0 34px;display:flex;flex-direction:column;gap:16px}
.doc-links a{color:var(--primary);text-decoration:underline;text-underline-offset:3px;letter-spacing:1.5px;font-size:13.5px;font-weight:500}
.prod-title{font-size:35px;font-weight:700;letter-spacing:-0.02em;margin:0 0 22px}
.prod-copy p{font-size:15px;line-height:1.65;margin:0 0 18px}
.enviro-p{color:var(--accent);font-size:15px;line-height:1.6;margin:0 0 18px}
.qmark{display:inline-flex;width:17px;height:17px;border-radius:50%;background:var(--primary);color:#fff;font-size:12px;align-items:center;justify-content:center;vertical-align:-2px;margin-left:4px}
.checks{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}
.checks li{display:flex;align-items:center;gap:11px;font-size:15px}
.checks a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.checks svg{color:var(--primary);flex-shrink:0}
.enviro-band{display:inline-block;background:var(--primary);color:#fff;font-size:13px;font-weight:600;letter-spacing:1px;padding:9px 14px;border-radius:3px;margin:26px 0 14px}
.contact-btn{display:inline-block;background:var(--primary);color:#fff;text-decoration:none;font-size:12.5px;font-weight:600;letter-spacing:1px;padding:11px 16px;border-radius:3px;margin-top:26px}
.contact-btn:hover{background:#1d3660;color:#fff}

@media (max-width:1024px){.prod-layout{grid-template-columns:1fr;gap:40px}}

/* Neutralise bootstrap's a:hover underline and colour where the design's
   own hover state differs. The design has no bootstrap, so it never needed this. */
.acc li a:hover{color:var(--accent);text-decoration:none}
.doc-links a:hover{color:var(--primary)}
.checks a:hover{color:var(--accent)}
a.enviro-band:hover,a.qmark:hover{color:#fff;text-decoration:none}

/* Our own rules for behaviour the live page has and the design does not
   show: the loading spinner, the two link styled buttons under the image,
   the product type links, and the extra info pop-up. */
.carousel .loading img{width:auto;margin:0 auto}
.doc-links button{background:none;border:none;padding:0;text-align:left;cursor:pointer;font:inherit;color:var(--primary);text-decoration:underline;text-underline-offset:3px;letter-spacing:1.5px;font-size:13.5px;font-weight:500}
.type-links{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px}
.type-links a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;font-weight:600;cursor:pointer}
.type-links a:hover,.type-links a.sel{color:var(--primary)}
#extraInfo{background-color:#fff;color:var(--slate)}

/* Carried over from the old stylesheet: the Why Vinyl modal's own frame. */
.modal-content1{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,0.2);border-radius:6px;box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box;outline:0}
.modal-header1{padding:15px;border-bottom:1px solid #e5e5e5}
.modal-body1{position:relative;padding:15px}

/* Fix ups from Anton's hand test, 3 September 2026. The description
   snippets carry their own h1, which doubled the title; the design has
   one title, so the snippet's is hidden, not edited. The extra info
   pop-up is positioned from a wrapper so it opens under the links. */
.prod-copy h1{display:none}
.type-wrap{position:relative}
.type-wrap .popover{max-width:320px;margin-top:12px;padding:16px 18px 14px;border:1px solid var(--border);border-radius:8px;box-shadow:0 10px 28px rgba(21,41,75,0.16);background:#fff}
.type-wrap .popover::before{content:"";position:absolute;top:-8px;left:var(--arrow-left,22px);width:14px;height:14px;background:#fff;border-left:1px solid var(--border);border-top:1px solid var(--border);transform:rotate(45deg)}
.pop-close{position:absolute;top:8px;right:12px;cursor:pointer;color:var(--primary);font-size:18px;line-height:1}
.pop-title{display:block;color:var(--primary);font-size:15px;font-weight:600;margin:0 22px 6px 0}
.pop-body{font-size:14.5px;line-height:1.6;color:var(--slate)}
.pop-body p{margin:0 0 8px}

/* Modal frames, Anton's decision 3 September 2026. The design is silent on
   modals; these give the Why Vinyl, material spec, enviro rating and
   booklet modals the site's box, rules and buttons. Their contents are the
   old templates, untouched. MasterRetail.css sets a grey square box for
   every modal; this stylesheet loads after it, so these win on this page. */
.modal-content,.modal-content1{background:#fff;border:1px solid var(--border);border-radius:4px;box-shadow:0 12px 32px rgba(21,41,75,0.25);outline:0}
.modal-header,.modal-header1{padding:16px 20px;border-bottom:1px solid var(--border)}
.modal-body,.modal-body1{padding:16px 20px;color:var(--slate);font-size:15px;line-height:1.65}
.modal-footer{padding:12px 20px;border-top:1px solid var(--border);text-align:right}
.modal .close{color:var(--primary);opacity:.7;text-shadow:none}
.modal .close:hover{opacity:1}
.modal .btn-default,.modal .btn-secondary{background:var(--primary);color:#fff;border:none;border-radius:3px;font-size:12.5px;font-weight:600;letter-spacing:1px;padding:9px 14px}
.modal .btn-default:hover,.modal .btn-secondary:hover{background:#1d3660;color:#fff}

/* Enviro rating pop-ups and Why Vinyl, Anton's decision 11 September 2026.
   The seven templates under templates/enviro and the Why Vinyl block in
   Product.aspx lost their inline styles and header images; these rules
   are their whole look. Later than the modal frame rules, so they win. */
.enviro-head{background:var(--primary);padding:18px 24px;border-bottom:none;border-radius:3px 3px 0 0}
.enviro-head h3{margin:0;color:#fff;font-size:22px;font-weight:700;line-height:1.25;letter-spacing:0;text-align:center}
.enviro-head .close{color:#fff;opacity:.8;margin-top:-2px}
.enviro-head .close:hover{opacity:1}
.enviro-copy{padding:24px 28px 26px}
.enviro-copy p{margin:0 0 12px;font-size:15px;line-height:1.7;color:var(--slate)}
.enviro-copy p:last-child{margin-bottom:0}
.enviro-copy .enviro-lead{color:var(--accent);font-size:16px;font-weight:600}
.modal a.btn-secondary,.modal a.btn-secondary:hover,.modal a.btn-secondary:focus{color:#fff;text-decoration:none}

/* Focus on the enviro band and question mark links, Anton's decision 13
   September 2026. When the booklet pop-up closes, focus returns to the
   link that opened it and Bootstrap's a:focus ring showed as a green
   highlight under Chrome auto dark. Mouse focus now shows nothing;
   keyboard focus shows the site's orange ring. */
a.enviro-band:focus,a.qmark:focus{outline:none}
a.enviro-band:focus-visible,a.qmark:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Second pass, 13 September 2026: the green was not the ring. The site's
   bootstrap.min.css sets a:focus{color:#467f2d;text-decoration:underline},
   the old Printed Things green; the first pass removed the outline only.
   These two links keep their own colour and no underline on focus, as
   line 47 already gives them on hover. */
a.enviro-band:focus,a.qmark:focus{color:#fff;text-decoration:none}
