/* ==========================================================================
   Wentworth Plastics: site stylesheet
   One file, no framework. Brand values match the original site (style.css).
   Sections: tokens, base, layout, header/nav, bands, components, pages, footer
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --red: #cc0001;
    --red-dark: #a30001;
    --navy: #1e2731;
    --navy-2: #293543;
    --ink: #1e2731;          /* headings */
    --text: #383838;         /* body copy */
    --muted: #737885;
    --grey: #8b8b8a;
    --line: #cdcdcd;
    --line-2: #c1c3c7;
    --menu-text: #363535;
    --footer-bg: #292625;
    --footer-text: #9a9a9a;
    --white: #ffffff;
    --band-alt: #f3f3f3;

    --font: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    --container: 1170px;
    --gutter: 16px;
    --radius: 4px;
    --shadow: 0 2px 6px rgba(30, 39, 49, .12);
    --nav-h: 56px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
    margin: 0;
    font: 400 16px/1.6 var(--font);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1000;
    background: var(--navy); color: var(--white); padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); }

.header-top {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: 16px; padding-top: 28px; padding-bottom: 22px;
}

.brand { display: inline-flex; flex-direction: column; text-decoration: none; }
.brand img { width: 231px; }
.brand-tagline {
    margin: 2px 0 0 3px; font-size: 11px; letter-spacing: .02em; line-height: 1.6;
    text-transform: uppercase; color: #000;
}

.header-phone {
    display: inline-flex; gap: .4em; align-items: baseline; flex-wrap: wrap;
    border: 1px solid #dadada; border-radius: 5px; padding: 6px 14px;
    font-size: 22px; line-height: 1.4; text-decoration: none; color: var(--ink);
}
.header-phone__number { color: var(--red); font-weight: 700; white-space: nowrap; }
.header-phone:hover { border-color: var(--red); color: var(--ink); }

/* Nav bar: sticks to the top on scroll (replaces tmstickup.js) */
.nav-bar {
    position: sticky; top: 0; z-index: 50; background: var(--white);
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 2px 1px rgba(224, 224, 224, .75);
}
.nav-inner { display: flex; align-items: stretch; justify-content: space-between; position: relative; }
.nav-inner::after { /* the navy rule under the menu on the original design */
    content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 8px; background: var(--navy);
}

.menu, .submenu, .social, .footer-links, .link-list { list-style: none; margin: 0; padding: 0; }

.menu { display: flex; }
.menu > li { position: relative; }
.menu > li > a,
.menu > li > .sub-toggle {
    display: flex; align-items: center; gap: 8px;
    min-height: var(--nav-h); padding: 0 26px 8px;
    font: 700 16px/1 var(--font); text-transform: uppercase; letter-spacing: .01em;
    color: var(--menu-text); text-decoration: none;
    background: none; border: 0; cursor: pointer;
    transition: background-color .25s ease, color .25s ease;
}
.menu > li > .sub-toggle::after { /* small caret */
    content: ""; border: solid currentColor; border-width: 0 2px 2px 0; padding: 3px;
    transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.menu > li > .sub-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }

.menu > li > a:hover,
.menu > li > .sub-toggle:hover,
.menu > li.is-current > a,
.menu > li.is-current > .sub-toggle,
.menu > li.has-sub:hover > .sub-toggle,
.menu > li > .sub-toggle[aria-expanded="true"] { background: var(--red); color: var(--white); }

.submenu {
    background: var(--navy); padding: 12px 10px;
}
.submenu a {
    display: block; padding: 8px 6px; color: var(--white); text-decoration: none;
    font-size: 14px; text-transform: uppercase; letter-spacing: .02em;
}
.submenu a:hover, .submenu a:focus-visible { color: var(--white); background: rgba(255, 255, 255, .08); }

.social { display: flex; align-items: center; gap: 14px; padding-bottom: 8px; }
.social a { display: inline-flex; padding: 6px; color: #b0b0b0; }
.social a:hover { color: var(--red); }

.nav-toggle {
    display: none; align-items: center; gap: 10px;
    min-height: var(--nav-h); padding: 0 4px 8px; border: 0; background: none; cursor: pointer;
    font: 700 16px/1 var(--font); text-transform: uppercase; color: var(--menu-text);
}
.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after {
    display: block; width: 24px; height: 3px; background: currentColor; border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -7px; }
.nav-toggle__icon::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-7px) rotate(-45deg); }

/* Desktop dropdown */
@media (min-width: 900px) {
    .submenu {
        position: absolute; top: 100%; left: 0; min-width: 250px; z-index: 60;
        box-shadow: var(--shadow);
        visibility: hidden; opacity: 0; transform: translateY(4px);
        transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    }
    .has-sub:hover > .submenu,
    .has-sub:focus-within > .submenu,
    .sub-toggle[aria-expanded="true"] + .submenu {
        visibility: visible; opacity: 1; transform: none; transition-delay: 0s;
    }
}

/* Mobile menu */
@media (max-width: 899.98px) {
    .header-top { padding-top: 18px; padding-bottom: 16px; }
    .brand img { width: 190px; }
    .header-phone { font-size: 18px; padding: 4px 10px; }

    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
        background: var(--white); border-top: 8px solid var(--navy); box-shadow: var(--shadow);
        max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    }
    .site-nav.is-open { display: block; }
    .menu { flex-direction: column; padding: 4px 0 12px; }
    .menu > li { border-bottom: 1px solid #eee; }
    .menu > li > a, .menu > li > .sub-toggle { width: 100%; min-height: 50px; padding: 0 var(--gutter); justify-content: space-between; }
    .menu > li.has-sub:hover > .sub-toggle:not([aria-expanded="true"]) { background: none; color: var(--menu-text); }
    .menu > li.is-current.has-sub:hover > .sub-toggle { background: var(--red); color: var(--white); }
    .submenu { display: none; }
    .sub-toggle[aria-expanded="true"] + .submenu { display: block; }
    .submenu a { padding: 12px var(--gutter); }
}
@media (max-width: 420px) {
    .header-top { justify-content: center; text-align: center; }
    .brand { align-items: center; }
}

/* ---------- Bands (full-width page sections) ---------- */
.band { position: relative; padding: 44px 0; }
.band--alt { background: var(--band-alt) url("../images/bg-content.png") repeat; }
.band--rule::after { /* the double hairline used between sections on the original */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    border-top: 1px solid var(--line-2); background: var(--white);
}
.band--tight { padding: 28px 0; }

/* ---------- Typography helpers ---------- */
.page-title { font-size: clamp(26px, 4vw, 32px); line-height: 1.2; margin-bottom: 24px; }
.section-title { font-size: clamp(24px, 3.4vw, 30px); line-height: 1.25; margin-bottom: 22px; }
.sub-heading { font-size: 18px; margin: 1.4em 0 .4em; }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink); }
.lead-strong { font-weight: 700; color: var(--text); font-size: 16px; }
.prose p { margin-bottom: 1em; }
.prose .strong { font-weight: 700; color: var(--ink); }
.muted { color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 24px 0; border: 0; }
.tagline { font-weight: 700; color: var(--ink); letter-spacing: .02em; }

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-block; padding: 8px 18px; border: 1px solid #737373; border-radius: 0;
    font: 400 16px/1.3 var(--font); text-transform: uppercase; letter-spacing: .03em;
    color: var(--ink); background: transparent; text-decoration: none; cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn:hover, .btn:focus-visible { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--solid { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--solid:hover { background: var(--navy); border-color: var(--navy); }

.doc-links { list-style: none; margin: 1em 0 0; padding: 0; }
.doc-links li + li { margin-top: 6px; }
.doc-link {
    display: inline-flex; gap: 8px; align-items: flex-start; font-weight: 700; color: var(--ink); text-decoration: none;
}
.doc-link::before {
    content: "PDF"; flex: none; margin-top: 3px; padding: 1px 4px; border-radius: 2px;
    font-size: 11px; line-height: 1.4; letter-spacing: .04em; color: var(--white); background: var(--red);
}
.doc-link:hover { color: var(--red); text-decoration: underline; }

/* ---------- Carousel (home page) ---------- */
.hero { background: var(--white); padding: 22px 0 26px; }
.carousel { position: relative; }
.carousel:not(.is-ready) .carousel__btn,
.carousel:not(.is-ready) .carousel__controls { display: none; } /* controls need JS */
.carousel__viewport {
    position: relative; display: grid; overflow: hidden; background: #ddd;
    aspect-ratio: 1170 / 630; touch-action: pan-y;
    grid-template: 100% / 100%; /* every slide fills the frame, whatever the photo's own ratio */
}
.carousel__slide {
    grid-area: 1 / 1; margin: 0; position: relative; min-height: 0; height: 100%;
    opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s;
}
.carousel__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__caption {
    position: absolute; left: 0; bottom: 0; max-width: 100%;
    padding: 14px 22px 16px 18px; background: rgba(0, 0, 0, .65); color: var(--white);
    font-size: clamp(18px, 2.8vw, 33px); line-height: 1.25;
}
.carousel__caption strong {
    display: block; font-weight: 400; font-size: clamp(26px, 4.3vw, 50px); line-height: 1.05;
    padding-left: clamp(16px, 4.4vw, 52px); letter-spacing: -.5px;
}
@media (prefers-reduced-motion: no-preference) {
    .carousel__slide.is-active .carousel__caption { animation: caption-in .7s ease both .2s; }
}
@keyframes caption-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

.carousel__btn {
    position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
    width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center;
    background: rgba(30, 39, 49, .55); color: var(--white);
    transition: background-color .2s ease;
}
.carousel__btn:hover, .carousel__btn:focus-visible { background: var(--red); }
.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }
.carousel__btn svg { width: 20px; height: 20px; }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; }
.carousel__dots { display: flex; gap: 2px; }
.carousel__dot {
    width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
}
.carousel__dot::before {
    content: ""; width: 12px; height: 12px; border-radius: 50%; background: #c7c9cc; transition: background-color .2s, transform .2s;
}
.carousel__dot[aria-current="true"]::before { background: var(--red); transform: scale(1.15); }
.carousel__dot:hover::before { background: var(--navy); }
.carousel__pause {
    margin-left: 10px; height: 28px; padding: 0 10px; border: 1px solid #c7c9cc; background: var(--white);
    font: 400 13px/1 var(--font); text-transform: uppercase; color: var(--muted); cursor: pointer;
}
.carousel__pause:hover { border-color: var(--red); color: var(--red); }

@media (max-width: 600px) {
    .hero { padding: 0 0 12px; }
    .hero .container { padding: 0; }
    .carousel__btn { width: 38px; height: 38px; }
    .carousel__caption { padding: 8px 14px 10px; }
}

/* ---------- Feature boxes (home) ---------- */
.features { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { text-align: center; display: flex; flex-direction: column; align-items: center; }
.feature h2 {
    position: relative; font-size: 24px; padding-bottom: 22px; margin-bottom: 18px;
}
.feature h2::after {
    content: ""; position: absolute; left: 50%; bottom: 0; width: 136px; height: 3px; margin-left: -68px; background: var(--red);
}
.feature p { color: var(--muted); }
.feature .btn { margin-top: auto; }
.feature__badge { margin: 14px auto 0; }

/* ---------- Split (text + media) ---------- */
.split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 768px) {
    .split { grid-template-columns: 1fr 1fr; gap: 30px; }
    .split--media-first > .split__media { order: -1; }
}
@media (max-width: 767.98px) {
    .split__media { order: -1; } /* photos first on phones */
}

/* Image galleries inside a split */
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
.gallery--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .gallery--2 { gap: 10px; } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; background: #eee; }
.gallery figcaption { margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--ink); }

/* ---------- Product sections ---------- */
.product .prose { text-align: left; }
.product-feature { margin-top: 1.4em; padding: 16px 18px; border-left: 4px solid var(--red); background: rgba(255, 255, 255, .7); }
.product-feature h3 { font-size: 18px; margin-bottom: .4em; }

/* ---------- Page intro (h1 block at top of inner pages) ---------- */
.page-intro { padding: 34px 0 30px; }
.page-intro p { font-size: 17px; color: var(--ink); }
.price-points { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 6px; }
.price-points li { position: relative; padding-left: 22px; font-weight: 700; color: var(--ink); }
.price-points li::before {
    content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--red);
}

/* ---------- Call-to-action panel ---------- */
.cta__grid { display: grid; gap: 30px; }
@media (min-width: 768px) { .cta__grid { grid-template-columns: 1fr 1fr; } }
.cta__heading { font-size: clamp(24px, 3.4vw, 30px); margin-bottom: 18px; }
.cta__email { color: var(--red); text-decoration: none; }
.cta__email:hover { text-decoration: underline; }
.cta__strap { margin-top: 26px; font-weight: 700; color: var(--ink); letter-spacing: .03em; }

/* ---------- Column cards (about / products / core products) ---------- */
.cols { display: grid; gap: 34px; }
@media (min-width: 768px) { .cols--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cols--3 { grid-template-columns: repeat(3, 1fr); } }
.col-title { position: relative; font-size: 18px; padding-bottom: 14px; margin-bottom: 18px; }
.col-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 61px; height: 3px; background: var(--red); }
.col-text { color: var(--muted); }
.card-sub { font-weight: 700; color: var(--text); text-transform: uppercase; font-size: 15px; letter-spacing: .02em; }

.pull-quote { font-size: clamp(20px, 2.6vw, 24px); line-height: 1.35; color: var(--ink); font-weight: 700; margin: 0; }

/* ---------- Technical data sheets ---------- */
.tech-grid { display: grid; gap: 30px 34px; }
@media (min-width: 700px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
.tech-item { position: relative; padding-left: 46px; }
.tech-item::before { /* red download badge, replaces Font Awesome icon */
    content: ""; position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%;
    background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M11 4h2v9.2l3.3-3.3 1.4 1.4-5.7 5.7-5.7-5.7 1.4-1.4 3.3 3.3z M5 18h14v2H5z'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.tech-item h2 { font-size: 17px; line-height: 1.35; margin-bottom: 10px; }
.tech-item h2 a { color: var(--ink); text-decoration: none; }
.tech-item h2 a:hover { color: var(--red); text-decoration: underline; }
.tech-item p { color: var(--grey); }
.tech-note { color: var(--red); font-weight: 700; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.map {
    width: 100%; aspect-ratio: 4 / 3; max-height: 403px; border: 0; display: block; background: #eee;
}
.contact-address { text-transform: uppercase; font-weight: 700; color: var(--text); margin: 22px 0 10px; line-height: 1.7; }
.contact-list { margin: 18px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; }
.contact-list dt { color: var(--grey); }
.contact-list dd { margin: 0; font-weight: 700; color: var(--ink); }
.contact-list a { color: var(--red); }
.contact-big { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.contact-big a { color: var(--red); text-decoration: none; }
.contact-big a:hover { text-decoration: underline; }

/* Enquiry form */
.form { display: grid; gap: 16px; margin-top: 24px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.field input, .field textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #bfc3c8; border-radius: var(--radius);
    font: 400 16px/1.4 var(--font); color: var(--text); background: var(--white);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.field-validation-error, .validation-summary-errors { color: var(--red); font-size: 15px; }
.input-validation-error { border-color: var(--red) !important; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--radius); margin-top: 20px; }
.alert--ok { background: #e8f6ea; border: 1px solid #9fd3a7; color: #1d5a27; }
.alert--err { background: #fdeaea; border: 1px solid #f0a8a8; color: #7a1010; }

.link-list li { margin: 6px 0; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--footer-bg) url("../images/bg-footer.png") repeat;
    color: var(--footer-text); padding: 46px 0 64px;
}
.footer-title {
    display: inline-block; margin-bottom: 10px;
    font: 700 clamp(22px, 3.2vw, 30px)/1.25 var(--font); text-transform: uppercase;
    color: var(--white); text-decoration: none;
}
.footer-title:hover { color: var(--white); text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 10px; font-size: 14px; text-transform: uppercase; }
.footer-links a { color: var(--footer-text); text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Offers / Black Friday ---------- */
/* Menu item: black with white text */
.menu > li.menu__offer > a { background: #000; color: var(--white); }
.menu > li.menu__offer > a:hover,
.menu > li.menu__offer > a:focus-visible { background: var(--red); color: var(--white); }
.menu > li.menu__offer.is-current > a { background: #000; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Headline banner */
.offer-hero { position: relative; isolation: isolate; overflow: hidden; background: #000; color: var(--white); }
.offer-hero__img {
    position: absolute; top: 0; right: 0; z-index: -2;
    width: 64%; height: 100%; object-fit: cover; object-position: center;
}
.offer-hero::before { /* fades the photo into black behind the text */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, #000 36%, rgba(0, 0, 0, .8) 50%, rgba(0, 0, 0, .15) 78%, rgba(0, 0, 0, 0));
}
.offer-hero__inner {
    position: relative; min-height: 460px; padding-top: 48px; padding-bottom: 52px;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.offer-hero__kicker {
    margin: 0 0 16px; padding: 6px 16px; background: var(--red); transform: skewX(-12deg);
    font-weight: 700; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.2; letter-spacing: .2em; text-transform: uppercase;
}
.offer-hero__kicker span { display: block; transform: skewX(12deg); }
.offer-hero__title { margin: 0; color: var(--white); text-transform: uppercase; line-height: .9; }
.offer-hero__big { display: block; font-size: clamp(58px, 10.5vw, 124px); letter-spacing: -.01em; }
.offer-hero--offers .offer-hero__big { font-size: clamp(50px, 7.4vw, 92px); } /* longer headline: keep it on the black side */
.offer-hero__sub {
    display: block; max-width: 22em; margin-top: 14px;
    font-size: clamp(19px, 2.4vw, 26px); font-weight: 400; line-height: 1.2; letter-spacing: .04em;
}
.offer-hero__ends {
    margin: 18px 0 0; padding-top: 12px; border-top: 2px solid var(--red);
    font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: #e6e6e6;
}
.offer-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.offer-hero__badge { /* starburst */
    position: absolute; top: 34px; right: var(--gutter); margin: 0;
    width: 168px; height: 168px; display: grid; place-items: center; text-align: center;
    background: var(--red); color: var(--white); transform: rotate(-10deg);
    font-weight: 700; text-transform: uppercase; line-height: 1; font-size: 16px; letter-spacing: .06em;
    clip-path: polygon(50% 0%, 55.4% 9.4%, 62.9% 1.7%, 65.7% 12.1%, 75% 6.7%, 75% 17.5%, 85.4% 14.6%, 82.5% 25%, 93.3% 25%, 87.9% 34.3%, 98.3% 37.1%, 90.6% 44.6%, 100% 50%, 90.6% 55.4%, 98.3% 62.9%, 87.9% 65.7%, 93.3% 75%, 82.5% 75%, 85.4% 85.4%, 75% 82.5%, 75% 93.3%, 65.7% 87.9%, 62.9% 98.3%, 55.4% 90.6%, 50% 100%, 44.6% 90.6%, 37.1% 98.3%, 34.3% 87.9%, 25% 93.3%, 25% 82.5%, 14.6% 85.4%, 17.5% 75%, 6.7% 75%, 12.1% 65.7%, 1.7% 62.9%, 9.4% 55.4%, 0% 50%, 9.4% 44.6%, 1.7% 37.1%, 12.1% 34.3%, 6.7% 25%, 17.5% 25%, 14.6% 14.6%, 25% 17.5%, 25% 6.7%, 34.3% 12.1%, 37.1% 1.7%, 44.6% 9.4%);
}
.offer-hero__badge strong { display: block; margin: 4px 0; font-size: 44px; letter-spacing: 0; }

.btn--light { border-color: var(--white); color: var(--white); }
.btn--light:hover, .btn--light:focus-visible { background: var(--white); border-color: var(--white); color: #000; }

@media (max-width: 767.98px) {
    /* Photo on top, text underneath on black */
    .offer-hero__img { position: relative; display: block; width: 100%; height: 230px; }
    .offer-hero::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 120px, #000 230px); }
    .offer-hero__inner { min-height: 0; margin-top: -36px; padding-top: 0; padding-bottom: 36px; }
    .offer-hero__badge { top: -178px; right: 12px; /* 16px below the top of the photo */ width: 118px; height: 118px; font-size: 12px; }
    .offer-hero__badge strong { font-size: 31px; }
}

/* Price box on each canopy */
.offer-price {
    margin: 0 0 22px; padding: 18px 20px 20px; border-left: 6px solid var(--red);
    background: #000; color: var(--white);
}
.offer-price p { margin: 0; }
.offer-price__tag {
    display: inline-block; margin-bottom: 10px !important; padding: 3px 8px; background: var(--red);
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.offer-price__label { font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: #cfcfcf; }
.offer-price__amounts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 2px 0 6px !important; }
.offer-price__was { font-size: 24px; color: #a5a5a5; }
.offer-price__was s { text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.offer-price__now { font-size: 46px; font-weight: 700; line-height: 1.05; }
.offer-price__save { font-weight: 700; margin-bottom: 16px !important; }
.offer-price .btn--solid:hover, .offer-price .btn--solid:focus-visible { background: var(--white); border-color: var(--white); color: #000; }

/* Placeholders still to be filled in (prices, terms) */
.price-tbc { padding: 0 6px; border: 2px dashed currentColor; border-radius: var(--radius); opacity: .9; }
.offer-terms { font-size: 15px !important; color: var(--muted) !important; }
.offer-terms .price-tbc { display: inline-block; padding: 6px 10px; }

/* Contact form preview on the test site (HTTP) */
.alert--info { background: #eef2f7; border: 1px solid #b9c6d6; color: var(--navy); }
.field select {
    width: 100%; padding: 10px 12px; border: 1px solid #bfc3c8; border-radius: var(--radius);
    font: 400 16px/1.4 var(--font); color: var(--text); background: var(--white);
}
.field select:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }

.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--red); border-color: var(--red); }

/* ---------- Print ---------- */
@media print {
    .nav-bar, .carousel__btn, .carousel__controls, .social, .site-footer .footer-links { display: none !important; }
    .carousel__slide { opacity: 1; visibility: visible; }
    .carousel__slide:not(:first-child) { display: none; }
    a { color: inherit; }
}

/* Supply only / fitted price pair (residential canopies page) */
.offer-price__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 10px; }
.offer-price__pair > div + div { padding-left: 24px; border-left: 1px solid #3a3a3a; }
.offer-price__pair .offer-price__now { font-size: clamp(32px, 4vw, 42px); margin-top: 4px; }
.offer-price__note { font-size: 14px; color: #cfcfcf; margin-bottom: 16px !important; }
@media (max-width: 360px) {
    .offer-price__pair { grid-template-columns: 1fr; }
    .offer-price__pair > div + div { padding-left: 0; border-left: 0; }
}

/* Red price box (residential canopies page). Black is kept for the Black Friday page. */
.offer-price--red { background: var(--red); border-left-color: var(--red-dark); }
.offer-price--red .offer-price__label,
.offer-price--red .offer-price__note { color: #ffe3e3; }
.offer-price--red .offer-price__pair > div + div { border-left-color: rgba(255, 255, 255, .35); }
.offer-price--red .btn--solid { background: var(--white); border-color: var(--white); color: var(--red); }
.offer-price--red .btn--solid:hover,
.offer-price--red .btn--solid:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* "From prices are for the ... size." line inside price boxes */
.offer-price__size { font-size: 14px; color: #e6e6e6; margin: 2px 0 10px !important; }
.offer-price__size strong { color: var(--white); }
.offer-price__size .price-tbc { padding: 0 4px; border-width: 1px; }
.offer-price--red .offer-price__size { color: #ffe3e3; }
