/* ==========================================================================
   Sheaffer South Africa — theme
   Design tokens taken from sheaffer.com's theme (read 2026-10-28): Figtree throughout,
   headings weight 400 in Sheaffer red, black body text, 14px base, #d9d9d9 borders,
   2px button radius, square images. Replaces the old site's custom_css.css.
   ========================================================================== */

:root {
    --sh-red: #a30c27;
    --sh-red-dark: #860a20;
    --sh-text: #000;
    --sh-grey: #5b5b5b;
    --sh-border: #d9d9d9;
    --sh-border-dark: #999;
    --sh-soft: #f7f7f7;
    --sh-luxco-blue: #001b45;
    --sh-luxco-gold: #e5d0b1;

    --sh-font: 'Figtree', sans-serif;
    --sh-base: 14px;
    --sh-small: 12px;
    --sh-radius: 2px;
    --sh-btn-h: 48px;

    /* heading scale: mobile -> tablet -> desktop (sheaffer.com) */
    --sh-h1: 32px; --sh-h2: 28px; --sh-h3: 26px; --sh-h4: 22px; --sh-h5: 18px; --sh-h6: 16px;

    --sh-header-h: 64px;
    --sh-ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) {
    :root { --sh-h1: 48px; --sh-h2: 36px; --sh-h3: 30px; --sh-btn-h: 52px; }
}
@media (min-width: 1200px) {
    :root { --sh-h1: 50px; --sh-h2: 44px; --sh-h3: 32px; --sh-h4: 26px; --sh-h5: 22px; --sh-header-h: 96px; }
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sh-font);
    font-size: var(--sh-base);
    line-height: 1.73;
    color: var(--sh-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--sh-font);
    font-weight: 400;
    line-height: 1.2;
    color: var(--sh-red);
}
h1, .h1 { font-size: var(--sh-h1); }
h2, .h2 { font-size: var(--sh-h2); }
h3, .h3 { font-size: var(--sh-h3); }
h4, .h4 { font-size: var(--sh-h4); }
h5, .h5 { font-size: var(--sh-h5); }
h6, .h6 { font-size: var(--sh-h6); }
a { color: var(--sh-red); }
a:hover { color: var(--sh-red-dark); }
::selection { background: var(--sh-red); color: #fff; }
:focus-visible { outline: 2px solid var(--sh-red); outline-offset: 2px; }

/* ---------- utilities (names kept from the old site) ---------- */
.sheaffer-red, .text-sheaffer-red { color: var(--sh-red) !important; }
.bg-sheaffer-red { background-color: var(--sh-red) !important; }
.border-sheaffer-red { border-color: var(--sh-red) !important; }
.text-luxco-blue { color: var(--sh-luxco-blue) !important; }
.label-caps {
    font-size: var(--sh-small);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sh-red);
}
.badge-new {
    display: inline-block;
    background: var(--sh-red);
    color: #fff;
    font: 600 10px/1 var(--sh-font);
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 6px;
    border-radius: var(--sh-radius);
    vertical-align: middle;
}
.link-underline-sh {
    color: var(--sh-text);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 13px;
}
.link-underline-sh:hover { color: var(--sh-red); }

/* ---------- buttons (sheaffer.com: red, 2px, tall, caps) ---------- */
.btn-sheaffer-red, .btn-sheaffer-red-inverted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--sh-btn-h);
    padding: 0 32px;
    border: 1px solid var(--sh-red);
    border-radius: var(--sh-radius) !important;
    font: 600 12px/1 var(--sh-font);
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}
.btn-sheaffer-red { background: var(--sh-red); color: #fff; }
.btn-sheaffer-red:hover, .btn-sheaffer-red:focus-visible { background: #fff; color: var(--sh-red); border-color: var(--sh-red); }
.btn-sheaffer-red-inverted { background: #fff; color: var(--sh-red); }
.btn-sheaffer-red-inverted:hover, .btn-sheaffer-red-inverted:focus-visible { background: var(--sh-red); color: #fff; }

/* ---------- section heading (sheaffer.com: big red title, no rule) ---------- */
.sheaffer-heading {
    font-size: var(--sh-h1);
    font-weight: 400;
    color: var(--sh-red);
    margin: 0 0 .35em;
}
.section-sub { max-width: 640px; margin: 0 auto 32px; }
.luxco-rule { width: 60%; border-bottom: 3px solid var(--sh-luxco-gold); }

/* ---------- scroll reveal (one class; JS adds .is-in, reduced-motion skips it) ---------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s var(--sh-ease); }
.fade-up.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Header — sheaffer.com pattern: logo left, red links centred, icons right
   ========================================================================== */
/* Fixed, not sticky: the page reserves the full header height (body padding) so compacting the
   bar on scroll changes nothing in the layout below — no shift, no scroll-anchoring feedback loop. */
body { padding-top: var(--sh-header-h); }
html { scroll-padding-top: calc(var(--sh-header-h) + 16px); }
.sh-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--sh-border);
    transition: box-shadow .3s;
}
.sh-header.is-scrolled { box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .25); }
.sh-header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: var(--sh-header-h);
    padding: 0 10px;
    transition: height .3s var(--sh-ease);
}
.sh-header__logo img { height: 34px; display: block; transition: height .3s var(--sh-ease); }
.sh-header__icons { display: flex; justify-content: flex-end; }
.sh-icon {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 21px; color: var(--sh-red);
    background: none; border: 0; padding: 0;
}
.sh-icon:hover { color: var(--sh-red-dark); }
.sh-nav { display: none; }

@media (min-width: 1200px) {
    .sh-header__bar { grid-template-columns: 200px 1fr 200px; padding: 0 40px; }
    .sh-header__logo img { height: 56px; }
    .sh-header.is-scrolled .sh-header__bar { height: 68px; }
    .sh-header.is-scrolled .sh-header__logo img { height: 42px; }
    .sh-header__menu-btn, .sh-header__store { display: none; }   /* Stores is in the nav on desktop */
    .sh-nav { display: flex; justify-content: center; gap: 30px; list-style: none; margin: 0; padding: 0; height: 100%; }
    .sh-nav > li { display: flex; align-items: center; }
    .sh-nav__link {
        position: relative;
        color: var(--sh-red);
        font: 400 14px/1 var(--sh-font);
        text-decoration: none;
        background: none; border: 0; padding: 6px 0;
        white-space: nowrap;
    }
    .sh-nav__link::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
        background: currentColor; transform: scaleX(0); transform-origin: left;
        transition: transform .3s var(--sh-ease);
    }
    .sh-nav__link:hover::after, .sh-nav__link[aria-expanded="true"]::after, .sh-nav__link.active::after { transform: scaleX(1); }
}

/* ---------- desktop mega panels ---------- */
.sh-mega {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-top: 1px solid var(--sh-border);
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .25);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s var(--sh-ease), visibility 0s .25s;
}
.sh-mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sh-mega__inner { max-width: 1440px; margin: 0 auto; padding: 40px; display: grid; gap: 48px; }
.sh-mega__inner--collections { grid-template-columns: 1fr 1fr 1fr 1.6fr; }
.sh-mega__inner--categories { grid-template-columns: 1.2fr 1fr 1fr; }
.sh-mega__inner--heritage { grid-template-columns: 1fr 1fr; }

.sh-list { list-style: none; margin: 14px 0 0; padding: 0; }
.sh-list a {
    display: flex; align-items: center; gap: 8px;
    color: var(--sh-text); text-decoration: none; font-size: 15px;
    padding: 7px 0;
    transition: color .2s, padding-left .25s var(--sh-ease);
}
.sh-list a .bi-arrow-right { opacity: 0; font-size: 12px; transition: opacity .2s; }
.sh-list a:hover, .sh-list a:focus-visible, .sh-list a.is-active { color: var(--sh-red); padding-left: 6px; }
.sh-list a:hover .bi-arrow-right, .sh-list a:focus-visible .bi-arrow-right, .sh-list a.is-active .bi-arrow-right { opacity: 1; }

.sh-preview { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sh-soft); }
.sh-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease, transform 1.2s ease; }
.sh-preview:hover img { transform: scale(1.03); }
.sh-preview__caption { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.sh-preview__caption .h5 { margin: 0; }

/* square launch cards (800x800 art: square = no crop) */
.sh-launch { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; text-decoration: none; }
.sh-launch img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.sh-launch:hover img { transform: scale(1.05); }
.sh-launch__text {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 48px 20px 18px; color: #fff; font-size: 20px; line-height: 1.2;
    background: linear-gradient(transparent, rgba(0, 0, 0, .65));
}
.sh-launch__text small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-bottom: 4px; }

.sh-story { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: start; }
.sh-story img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.sh-story p { margin: 6px 0 12px; }

/* ==========================================================================
   Mobile menu — full-screen drill-down panels
   ========================================================================== */
.sh-drawer {
    position: fixed; inset: 0; z-index: 1050;
    background: #fff;
    display: flex; flex-direction: column;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .35s var(--sh-ease), visibility 0s .35s;
}
.sh-drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.sh-drawer__top { flex: none; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 16px; border-bottom: 1px solid var(--sh-border); }
.sh-drawer__panels { position: relative; flex: 1; overflow: hidden; }
.sh-panel {
    position: absolute; inset: 0; overflow-y: auto; background: #fff;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--sh-ease), visibility 0s .35s;
    scrollbar-width: none;
}
.sh-panel::-webkit-scrollbar { display: none; }
.sh-panel[data-panel="root"] { transform: translateX(-30%); }
.sh-panel.is-active { transform: none; visibility: visible; transition-delay: 0s; }
.sh-mlist { list-style: none; margin: 0; padding: 0 16px; }
.sh-mlist li { border-bottom: 1px solid var(--sh-border); }
.sh-mlist a, .sh-mlist button {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    min-height: 52px; font: 400 16px/1.3 var(--sh-font); color: var(--sh-text);
    text-align: left; text-decoration: none; background: none; border: 0; padding: 0;
}
.sh-mlist .bi { color: var(--sh-red); font-size: 14px; }
.sh-mlist--thumbs a { justify-content: flex-start; gap: 12px; min-height: 64px; }
.sh-mlist--thumbs img { width: 64px; height: 44px; object-fit: cover; flex: none; }
.sh-back {
    display: flex; align-items: center; gap: 6px; width: 100%; height: 52px; padding: 0 16px;
    color: var(--sh-red); font: 400 16px/1 var(--sh-font);
    background: none; border: 0; border-bottom: 1px solid var(--sh-border);
}
.sh-mgroup { padding: 22px 16px 4px; margin: 0; }
.sh-swipe { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 16px 0; scrollbar-width: none; }
.sh-swipe::-webkit-scrollbar { display: none; }
.sh-swipe::before, .sh-swipe::after { content: ""; flex: 0 0 4px; }
.sh-swipe__card { flex: 0 0 78%; scroll-snap-align: start; color: var(--sh-text); text-decoration: none; }
.sh-swipe__card img { width: 100%; aspect-ratio: 702 / 465; object-fit: cover; display: block; }
.sh-swipe__card > span { display: block; margin-top: 8px; font-size: 16px; color: var(--sh-text); }
.sh-mcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 16px 28px; }
.sh-mcards .sh-launch__text { font-size: 15px; padding: 30px 10px 10px; }
.sh-drawer__promo { display: block; margin: 20px 16px 0; }
.sh-drawer__contact { padding: 18px 16px 28px; color: var(--sh-grey); font-size: 13px; }
.sh-drawer__contact a { color: inherit; }
@media (min-width: 1200px) { .sh-drawer { display: none; } }
body.sh-no-scroll { overflow: hidden; }

/* ==========================================================================
   Home
   ========================================================================== */
.sh-slider .carousel-item img { width: 100%; display: block; }
.sh-slider .carousel-indicators { margin-bottom: 18px; gap: 12px; }
.sh-slider .carousel-indicators [data-bs-target] {
    position: relative; overflow: hidden;
    width: 48px; height: 2px; margin: 0; border: 0; padding: 0;
    background: rgba(255, 255, 255, .45); opacity: 1;
}
@media (min-width: 768px) { .sh-slider .carousel-indicators [data-bs-target] { width: 64px; } }
.sh-slider .carousel-indicators [data-bs-target]::after {
    content: ""; position: absolute; inset: 0; background: #fff;
    transform: scaleX(0); transform-origin: left;
}
.sh-slider .carousel-indicators .active::after { animation: sh-line-fill var(--sh-slide-ms, 6000ms) linear forwards; }
.sh-slider.is-paused .carousel-indicators .active::after { animation-play-state: paused; }
@keyframes sh-line-fill { to { transform: scaleX(1); } }

.sh-section { padding: 56px 0; }
@media (min-width: 992px) { .sh-section { padding: 80px 0; } }
.sh-section--soft { background: var(--sh-soft); }
.sh-intro p { font-size: 16px; max-width: 900px; margin: 0 auto 1em; }

.sh-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
@media (min-width: 768px) { .sh-tiles { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; } }
@media (min-width: 1200px) { .sh-tiles--5 { grid-template-columns: repeat(5, 1fr); } .sh-tiles--4 { grid-template-columns: repeat(4, 1fr); } }
.sh-tile { display: block; color: var(--sh-text); text-decoration: none; }
.sh-tile:hover { color: var(--sh-text); }
.sh-tile__img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--sh-soft); }
.sh-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sh-ease); }
.sh-tile:hover .sh-tile__img img { transform: scale(1.06); }
.sh-tile__name { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; line-height: 1.3; }
@media (min-width: 768px) { .sh-tile__name { font-size: 16px; margin-top: 12px; } }
.sh-tile__name .bi { color: var(--sh-red); transition: transform .25s; flex: none; }
.sh-tile:hover .sh-tile__name .bi { transform: translateX(4px); }

/* ==========================================================================
   Page hero, footer
   ========================================================================== */
.sheaffer-page-hero { height: 38vh; min-height: 240px; }
.sheaffer-page-hero h1 { color: #fff; }

.sh-footer { border-top: 1px solid var(--sh-border); padding: 56px 0 40px; }
.sh-footer__title { margin-bottom: 16px; }
.sh-footer__links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.sh-footer__links li { break-inside: avoid; }
.sh-footer__links a { display: inline-block; padding: 4px 0; color: var(--sh-text); text-decoration: none; font-size: 15px; }
.sh-footer__links a:hover { color: var(--sh-red); }
.sh-footer__contact a { color: var(--sh-luxco-blue); text-decoration: none; }
.sh-footer__contact .bi { color: var(--sh-luxco-blue); }

.luxco-copyright { height: 80px; border-top: 3px solid var(--sh-luxco-blue); border-bottom: 3px solid var(--sh-luxco-blue); }
.luxco-copyright__inner { background-size: contain; background-repeat: no-repeat; background-position: 8% center; }
.luxco-copyright p { font-size: 13px; }

/* back to top */
#btn-back-to-top { position: fixed; bottom: 20px; right: 20px; display: none; z-index: 1020; }

/* ==========================================================================
   Catalogue: banners, page titles, tabs, product cards, rails, product page
   ========================================================================== */
.sh-banner img { width: 100%; display: block; aspect-ratio: 2320 / 612; object-fit: cover; }
@media (max-width: 767.98px) { .sh-banner picture source + img, .sh-banner img { aspect-ratio: auto; } }

/* Special-edition hero video: 16:9 landscape cut / 9:16 portrait cut, never taller than the viewport below the header. */
.sh-banner--video { position: relative; background: #000; }
.sh-hero-video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100svh - var(--sh-header-h)); object-fit: cover; }
@media (max-width: 767.98px) { .sh-hero-video { aspect-ratio: 9 / 16; } }
.sh-hero-video__toggle { position: absolute; right: 16px; bottom: 16px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; transition: background .2s; }
.sh-hero-video__toggle:hover, .sh-hero-video__toggle:focus-visible { background: rgba(0,0,0,.6); }
.sh-hero-video__toggle .sh-icon-play, .sh-hero-video__toggle.is-paused .sh-icon-pause { display: none; }
.sh-hero-video__toggle.is-paused .sh-icon-play { display: block; }

.sh-page-title { padding: 40px 0 32px; }
@media (min-width: 992px) { .sh-page-title { padding: 56px 0 40px; } }
.sh-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; list-style: none; padding: 0; margin: 0 0 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sh-crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--sh-border-dark); }
.sh-crumbs a { color: var(--sh-grey); text-decoration: none; }
.sh-crumbs a:hover { color: var(--sh-red); }
.sh-crumbs [aria-current] { color: var(--sh-text); }
.sh-product-page .sh-crumbs { justify-content: flex-start; }
.sh-strapline { font-size: var(--sh-h6); font-weight: 600; margin: 0 0 8px; }
.sh-lead { max-width: 860px; margin: 0 auto; font-size: 15px; }

/* product-type filter — sheaffer.com's underlined caps tabs */
.sh-tabs { display: flex; justify-content: center; gap: 28px; border-bottom: 1px solid var(--sh-border); margin: 0 auto 24px; overflow-x: auto; scrollbar-width: none; }
.sh-tabs::-webkit-scrollbar { display: none; }
.sh-tabs a { flex: none; padding: 12px 0; font: 600 12px/1 var(--sh-font); letter-spacing: .12em; text-transform: uppercase; color: var(--sh-red); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.sh-tabs a:hover { border-bottom-color: var(--sh-border-dark); }
.sh-tabs a.is-active { border-bottom-color: var(--sh-red); }
.sh-count { text-align: center; color: var(--sh-grey); font-size: 13px; margin: 0 0 24px; }

.sh-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
@media (min-width: 768px) { .sh-products { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
@media (min-width: 1200px) { .sh-products { grid-template-columns: repeat(4, 1fr); } }
.sh-product { display: flex; flex-direction: column; color: var(--sh-text); text-decoration: none; }
.sh-product:hover { color: var(--sh-text); }
.sh-product__img { aspect-ratio: 1 / 1; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sh-product__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--sh-ease); }
.sh-product:hover .sh-product__img img { transform: scale(1.05); }
.sh-product__body { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; }
.sh-product__name { font-size: 14px; line-height: 1.4; }
.sh-product:hover .sh-product__name { color: var(--sh-red); }
.sh-product__code { font-size: 12px; color: var(--sh-grey); }
.sh-product__price { font-weight: 600; margin-top: 4px; }

/* horizontal rails (other collections, related products) */
.sh-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.sh-rail > * { scroll-snap-align: start; }
@media (min-width: 768px) { .sh-rail { grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; } }
@media (min-width: 1200px) { .sh-rail--products { grid-auto-columns: calc((100% - 4 * 24px) / 5); } }

/* product page */
.sh-gallery__main { position: relative; aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; }
.sh-gallery__zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .9); border: 1px solid var(--sh-border); color: var(--sh-red); font-size: 16px; transition: background .2s, color .2s; }
.sh-gallery__main:hover .sh-gallery__zoom { background: var(--sh-red); color: #fff; border-color: var(--sh-red); }
.sh-gallery__strip { position: relative; margin-top: 12px; }
.sh-gallery__arrow { position: absolute; top: 0; bottom: 0; z-index: 1; width: 36px; border: 0; background: rgba(255, 255, 255, .92); color: var(--sh-red); font-size: 20px; }
.sh-gallery__arrow--prev { left: 0; box-shadow: 8px 0 12px -10px rgba(0, 0, 0, .4); }
.sh-gallery__arrow--next { right: 0; box-shadow: -8px 0 12px -10px rgba(0, 0, 0, .4); }
.sh-gallery__arrow[hidden] { display: none; }
.sh-gallery__main img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .25s ease; }
.sh-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.sh-gallery__thumbs::-webkit-scrollbar { display: none; }
.sh-gallery__thumb { scroll-snap-align: start; }
/* Fancybox: Sheaffer red accents */
.fancybox__container { --fancybox-accent-color: #a30c27; }
/* 5 thumbnails per view, square, filling the strip width */
.sh-gallery__thumb { flex: 0 0 calc((100% - 4 * 10px) / 5); aspect-ratio: 1 / 1; padding: 0; border: 1px solid var(--sh-border); background: #fff; }
.sh-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sh-gallery__thumb.is-active { border-color: var(--sh-red); }
.sh-product-page__title { font-size: var(--sh-h3); margin: 0 0 8px; }
.sh-product-page__ref { color: var(--sh-grey); margin: 0; }
.sh-product-page__price { font-size: var(--sh-h5); font-weight: 600; margin: 8px 0 0; }
.sh-product-page__desc { font-size: 15px; }
.sh-specs { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 24px 0 0; border-top: 1px solid var(--sh-border); }
.sh-specs dt, .sh-specs dd { padding: 12px 0; border-bottom: 1px solid var(--sh-border); margin: 0; }
.sh-specs dt { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sh-red); padding-right: 24px; }

/* ==========================================================================
   Content pages
   ========================================================================== */
.sh-story-text { font-size: 16px; }
.sh-video { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; }
.sh-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sh-prose { font-size: 15px; }
.sh-prose h2 { margin-bottom: 16px; }
.sh-prose h3 { color: var(--sh-text); font-weight: 600; margin: 28px 0 10px; }
.sh-prose ul { padding-left: 1.1rem; }
.sh-prose li { margin-bottom: 6px; }
.sh-note { border-left: 3px solid var(--sh-red); background: #fff; padding: 14px 18px; margin: 24px 0; }
.sh-card { background: #fff; border: 1px solid var(--sh-border); padding: 28px; }
@media (min-width: 992px) { .sh-sticky { position: sticky; top: calc(var(--sh-header-h) + 24px); } }

.sh-download { display: block; background: #fff; color: var(--sh-text); text-decoration: none; border: 1px solid var(--sh-border); transition: box-shadow .3s; }
.sh-download:hover { color: var(--sh-text); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); }
.sh-download__cover { overflow: hidden; background: var(--sh-soft); }
.sh-download__cover img { width: 100%; display: block; transition: transform .6s var(--sh-ease); }
.sh-download:hover .sh-download__cover img { transform: scale(1.03); }
.sh-download__body { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; }
.sh-download__body .bi { color: var(--sh-red); font-size: 20px; }

.form-control, .form-select { border-radius: var(--sh-radius); border-color: var(--sh-border-dark); min-height: 46px; font-family: var(--sh-font); }
.form-control:focus, .form-select:focus { border-color: var(--sh-red); box-shadow: 0 0 0 .2rem rgba(163, 12, 39, .15); }
.form-label { font-size: 13px; font-weight: 600; }
.form-check-input:checked { background-color: var(--sh-red); border-color: var(--sh-red); }
.sh-range::-webkit-slider-thumb { background: var(--sh-red); }
.sh-range::-moz-range-thumb { background: var(--sh-red); }

.sh-luxco-band { background: var(--sh-luxco-blue); color: #fff; padding: 64px 0; }
.sh-luxco-band h2 { color: #fff; font-size: var(--sh-h2); }
.sh-luxco-band__sub { color: var(--sh-luxco-gold); font-weight: 600; }
.sh-luxco-band p { max-width: 720px; margin-left: auto; margin-right: auto; }
.sh-luxco-band__btn { display: inline-flex; align-items: center; min-height: var(--sh-btn-h); padding: 0 32px; margin-top: 12px; background: var(--sh-luxco-gold); color: var(--sh-luxco-blue); font: 600 12px/1 var(--sh-font); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-radius: var(--sh-radius); }
.sh-luxco-band__btn:hover { background: #fff; color: var(--sh-luxco-blue); }

/* store locator */
.sh-locator__bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.sh-locator__search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--sh-border-dark); border-radius: var(--sh-radius); padding: 0 14px; min-height: var(--sh-btn-h); }
.sh-locator__search .bi { color: var(--sh-red); }
.sh-locator__search input { border: 0; outline: 0; flex: 1; font: 400 15px var(--sh-font); background: transparent; }
.sh-locator__search { position: relative; }
.sh-locator__suggest { position: absolute; z-index: 20; top: calc(100% + 4px); left: -1px; right: -1px; max-height: min(60vh, 420px); overflow-y: auto; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--sh-border-dark); border-radius: var(--sh-radius); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.sh-locator__suggest .label-caps { padding: 8px 16px 4px; margin: 0; font-size: 11px; color: var(--sh-grey); }
.sh-locator__opt { display: flex; gap: 12px; align-items: baseline; padding: 9px 16px; cursor: pointer; line-height: 1.35; }
.sh-locator__opt .bi { color: var(--sh-red); flex: none; }
.sh-locator__opt small { display: block; color: var(--sh-grey); }
.sh-locator__opt mark { padding: 0; background: none; color: inherit; font-weight: 700; }
.sh-locator__opt:hover, .sh-locator__opt.is-active { background: var(--sh-soft); }
.sh-locator__empty { padding: 10px 16px; color: var(--sh-grey); }
.sh-locator { display: grid; gap: 24px; }
@media (min-width: 992px) { .sh-locator.has-map { grid-template-columns: 380px 1fr; } }
.sh-locator__map { min-height: 420px; background: #e9e9e9; }
@media (min-width: 992px) {
    .sh-locator__map { min-height: 640px; }
    /* Sticky on the wrapper — Google Maps overrides position on the map element itself, which
       turned "top" into a 112px relative shift. */
    .sh-locator__map-wrap { position: sticky; top: calc(var(--sh-header-h) + 16px); align-self: start; }
}
.sh-locator__list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--sh-border); max-height: 640px; overflow-y: auto; }
.sh-locator:not(.has-map) .sh-locator__list { max-height: none; display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .sh-locator:not(.has-map) .sh-locator__list { grid-template-columns: 1fr 1fr; } }
.sh-store { border-bottom: 1px solid var(--sh-border); }
.sh-store__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; background: none; border: 0; text-align: left; font: 400 14px/1.45 var(--sh-font); color: var(--sh-text); }
.sh-store__head:hover strong, .sh-store.is-open strong { color: var(--sh-red); }
.sh-store__head .bi { color: var(--sh-red); transition: transform .25s; }
.sh-store.is-open .sh-store__head .bi { transform: rotate(180deg); }
.sh-store__place { color: var(--sh-grey); font-size: 13px; }
.sh-store__dist { color: var(--sh-red); font-size: 12px; font-weight: 600; }
.sh-store__body { display: none; padding: 0 16px 16px; font-size: 14px; }
.sh-store.is-open .sh-store__body { display: block; }

/* home timeline (old site #timeline) */
.sh-timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 0 16px; scrollbar-width: thin; }
@media (min-width: 768px) { .sh-timeline { grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; } }
@media (min-width: 1200px) { .sh-timeline { grid-auto-columns: calc((100% - 4 * 24px) / 5); } }
.sh-timeline__item { scroll-snap-align: start; position: relative; padding-top: 28px; }
.sh-timeline__item::before { content: ""; position: absolute; top: 8px; left: 0; right: -24px; height: 1px; background: var(--sh-border-dark); }
.sh-timeline__item:last-child::before { right: 0; }   /* don't overflow the rail */
.sh-timeline__item::after { content: ""; position: absolute; top: 3px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--sh-red); }
.sh-timeline__year { font-size: var(--sh-h3); color: var(--sh-red); line-height: 1; margin-bottom: 14px; }
.sh-timeline__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 14px; }
.sh-timeline__item h3 { font-size: 17px; color: var(--sh-text); font-weight: 600; margin-bottom: 6px; }
.sh-timeline__item p { font-size: 14px; margin: 0; }

/* quote band above the footer (old site, every page) */
.sh-quote { background: var(--sh-red); color: #fff; text-align: center; padding: 40px 16px; }
.sh-quote p { font-size: var(--sh-h4); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 6px; }
.sh-quote cite { font-style: normal; font-size: 13px; opacity: .85; }

/* ==========================================================================
   Site search — header panel (desktop: drops below the bar; mobile: full screen) + results page
   ========================================================================== */
.sh-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--sh-border); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .25); z-index: 2; }
.sh-search[hidden] { display: none; }
@media (max-width: 1199.98px) { .sh-search { position: fixed; inset: 0; top: 0; z-index: 1060; overflow-y: auto; border: 0; } }
.sh-search__inner { max-width: 880px; margin: 0 auto; padding: 24px 16px 32px; }
.sh-search__form { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--sh-red); }
.sh-search__form .bi-search { color: var(--sh-red); font-size: 20px; }
.sh-search__form input { flex: 1; border: 0; outline: 0; min-height: 56px; font: 400 20px var(--sh-font); background: transparent; color: var(--sh-text); }
.sh-search__form input::-webkit-search-cancel-button { display: none; }
.sh-search__form--page { max-width: 640px; margin: 8px auto 0; border: 1px solid var(--sh-border-dark); border-radius: var(--sh-radius); padding-left: 14px; }
.sh-search__form--page input { min-height: 50px; font-size: 16px; }
.sh-search__form--page .btn-sheaffer-red { border-radius: 0 !important; }
.sh-search__hint { margin: 16px 0 0; color: var(--sh-grey); font-size: 13px; }
.sh-search__hint a { color: var(--sh-red); }
.sh-search__results:empty { display: none; }
.sh-search__results { margin-top: 12px; }
.sh-search__group { margin: 16px 0 6px; }
.sh-sugg { display: flex; align-items: center; gap: 14px; padding: 8px; color: var(--sh-text); text-decoration: none; border-radius: var(--sh-radius); }
.sh-sugg img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--sh-border); flex: none; }
.sh-sugg__text { flex: 1; min-width: 0; line-height: 1.35; }
.sh-sugg__name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-sugg__meta { display: block; font-size: 12px; color: var(--sh-grey); }
.sh-sugg__price { font-weight: 600; white-space: nowrap; }
.sh-sugg mark { background: none; padding: 0; color: var(--sh-red); font-weight: 600; }
.sh-sugg:hover, .sh-sugg.is-active { background: var(--sh-soft); color: var(--sh-text); }
.sh-search__all { display: inline-block; margin-top: 14px; }
.sh-search__empty { padding: 16px 8px; color: var(--sh-grey); }

.sh-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sh-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--sh-border-dark); border-radius: 999px; color: var(--sh-text); text-decoration: none; font-size: 14px; }
.sh-chip small { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sh-red); }
.sh-chip .bi { color: var(--sh-red); font-size: 12px; }
.sh-chip:hover { border-color: var(--sh-red); color: var(--sh-red); }

/* Mouse-draggable rails (sheaffer.js) */
.is-draggable { cursor: grab; }
.is-draggable img { user-select: none; -webkit-user-drag: none; }
.is-dragging { cursor: grabbing; scroll-snap-type: none !important; scroll-behavior: auto; user-select: none; }
.is-dragging a { pointer-events: none; }

/* store map: pin + info window (old site's layout: name, CENTRE, TOWN, address/phone/email/web) */
.sh-map-pin { width: 32px; height: auto; display: block; }
.sh-map-info__name { font: 600 18px/1.2 var(--sh-font); color: var(--sh-text); }
.sh-map-info { font: 400 13px/1.5 var(--sh-font); max-width: 300px; }
.sh-map-info__place { font-weight: 600; font-size: 12px; letter-spacing: .04em; color: var(--sh-grey); margin-bottom: 8px; }
.sh-map-info__lines a { display: block; color: var(--sh-red); text-decoration: none; word-break: break-word; }
.sh-map-info__lines a:hover { text-decoration: underline; }
