/* ==========================================================================
   BRANDCRAFTERS — STOREFRONT LAYER
   Loaded after premium.css. Owns the retail chrome: masthead utilities,
   the mega-menu category bar, the full-bleed hero, the category tile grid,
   promo strips, the category rail, and the accordion footer.

   Colour still resolves entirely from the :root block in style.css —
   teal and white, deep teal for anything carrying white type. Red remains
   the logo mark only. Solid fills throughout; the single gradient is the
   photographic scrim that keeps hero type legible over product photos.
   ========================================================================== */

:root {
    --bc-rail:      1360px;   /* content width of the wide retail layout */
    --bc-tile-bg:   #F4F6F8;  /* category tile plate */
    --bc-dots:      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='2' cy='2' r='1.35' fill='%2327B8A6' fill-opacity='0.18'/%3E%3C/svg%3E");
}

/* ==========================================================================
   1. LAYOUT WIDTH
   The retail reference runs much wider than Bootstrap's 1140px xl container.
   ========================================================================== */

@media (min-width: 1400px) {
    .container-xl,
    .container-lg { max-width: var(--bc-rail); }
}

.bc-wrap {
    width: 100%;
    max-width: var(--bc-rail);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

@media (max-width: 991.98px) {
    .bc-wrap { padding-inline: 0.9rem; }
}

/* ==========================================================================
   2. MASTHEAD — logo · search · utility actions
   ========================================================================== */

.masthead-inner { gap: 1.75rem; }

/* Utility actions read as icon-over-label columns, evenly gapped */
.masthead-actions { gap: 0.15rem; }

.ha {
    min-width: 78px;
    gap: 0.3rem;
}

.ha i { font-size: 1.34rem; }

.ha-label {
    font-size: 0.66rem;
    letter-spacing: 0.05em;
}

/* Search sits centred between the brand and the utilities */
.masthead-inner .site-search { margin-inline: auto; }

/* ==========================================================================
   3. CATEGORY BAR + MEGA MENU
   Deep teal bar (white type, 9.8:1). Hovering a category lifts that tab to
   white and drops a full-width white panel beneath it — the reference's
   signature move, in Optix teal.
   ========================================================================== */

.catbar {
    background: var(--teal-deep);
    position: relative;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.14);
}

.catbar-inner {
    align-items: stretch;
    gap: 0;
}

/* Tabs share any spare width so the bar reads edge to edge, but `max-content`
   stops them shrinking below their label. Without the floor they are ordinary
   flex items: the nowrap labels then overlap instead of the bar scrolling. */
.catbar .nav-item {
    flex: 1 1 auto;
    min-width: max-content;
}

/* Hairline dividers between tabs, as on the reference bar */
.catbar .nav-item + .nav-item > .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.22);
}

.catbar .nav-item.is-open + .nav-item > .nav-link::before,
.catbar .nav-item:hover + .nav-item > .nav-link::before { background: transparent; }

/* Sized so all ten tabs fit the 1360px rail with room to spare; the
   breakpoints below tighten them further for narrower containers. */
.catbar .nav-link {
    position: relative;
    justify-content: center;
    width: 100%;
    padding: 0.95rem 0.72rem !important;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-bottom: 0 !important;
    border-radius: 0;
}

/* The open tab becomes a white tab attached to the panel below it */
.catbar .nav-item.is-open > .nav-link,
.catbar .nav-link:hover {
    background: var(--white) !important;
    color: var(--teal-deep) !important;
    border-bottom-color: transparent !important;
    z-index: 2;
}

.catbar .nav-link.active {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #FFFFFF !important;
    box-shadow: inset 0 -3px 0 var(--teal);
}

.catbar .nav-link.active:hover,
.catbar .nav-item.is-open > .nav-link.active {
    background: var(--white) !important;
    color: var(--teal-deep) !important;
    box-shadow: inset 0 -3px 0 var(--teal);
}

.catbar .catbar-home { padding-inline: 1.3rem !important; }
.catbar .catbar-home i { font-size: 1.05rem; }

/* Chevron — Bootstrap's caret is replaced by an explicit icon in the markup */
.catbar .dropdown-toggle::after { display: none; }

.mega-caret {
    font-size: 0.62rem;
    margin-left: 0.12rem;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.catbar .nav-item.is-open .mega-caret { transform: rotate(180deg); }

/* ---- 3.1 The panel -------------------------------------------------- */

.mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1200;
    background: var(--white);
    border-bottom: 3px solid var(--teal);
    box-shadow: 0 24px 48px rgba(var(--dark-green-rgb), 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    pointer-events: none;
}

.nav-item.is-open > .mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-inner {
    max-width: var(--bc-rail);
    margin-inline: auto;
    padding: 1.85rem 1.25rem 1.6rem;
}

/* Column grid of category blocks */
.mega-cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 2rem;
}

.mega-cols.is-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mega-group { min-width: 0; }

/* Deep teal, not --teal-hover: at 12.5px this is normal-size text, and
   --teal-hover on white is only 3.9:1. Deep teal is 9.8:1. */
.mega-group-title {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-deep);
    text-decoration: none;
    padding-bottom: 0.55rem;
    margin-bottom: 0.6rem;
    border-bottom: 2px solid var(--teal);
}

.mega-group-title:hover { color: var(--teal-hover); }

.mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-list li { margin: 0; }

.mega-list a {
    display: block;
    padding: 0.3rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink-700);
    text-decoration: none;
    transition: color 0.16s ease, transform 0.16s ease;
}

.mega-list a:hover {
    color: var(--teal-hover);
    transform: translateX(3px);
}

.mega-all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--teal-deep);
    text-decoration: none;
}

.mega-all:hover { color: var(--teal-hover); }
.mega-all i { font-size: 0.66rem; }

/* Promo tiles along the bottom of the panel */
.mega-promos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ink-100);
}

.mega-promo {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius);
    background: var(--teal-tint);
    border: 1px solid var(--teal-tint-2);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.mega-promo:hover {
    background: var(--teal-deep);
    border-color: var(--teal-deep);
    transform: translateY(-2px);
}

.mega-promo img {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--white);
}

.mega-promo-text { min-width: 0; }

.mega-promo-eyebrow {
    display: block;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-deep);
    margin-bottom: 0.2rem;
}

.mega-promo-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--teal-deep);
}

.mega-promo:hover .mega-promo-eyebrow { color: var(--teal-light); }
.mega-promo:hover .mega-promo-title { color: #FFFFFF; }

/* ==========================================================================
   4. USP / TRUST STRIP
   ========================================================================== */

.usp-strip {
    background: var(--white);
    border-bottom: 1px solid var(--soft-border);
}

.usp-inner { padding: 0.72rem 0; }

.usp + .usp { border-left: 1px solid var(--ink-100); }

.usp i {
    font-size: 1.5rem;
    color: var(--teal-hover);
    width: 32px;
}

.usp-title {
    font-size: 0.82rem;
    font-weight: 750;
    color: var(--teal-deep);
}

.usp-sub {
    font-size: 0.75rem;
    color: var(--ink-500);
}

/* ==========================================================================
   5. HERO — full-bleed band, copy left, real product photography right
   ========================================================================== */

/* style.css pins this to --bg-light with !important for the old pale hero. */
.hero-carousel-section {
    background: var(--teal-deep) !important;
    border-bottom: 0;
}

.hero-carousel-container { min-height: 0; }

.hero-slide-content { padding: 0; }

/* g-lg-5 in the markup gives each column a 3rem top margin, which would leave
   a teal strip above the photo panel. The horizontal gutter is kept; only the
   vertical one is zeroed, so the photo runs the full height of the band. */
.hero-slide-content .row {
    --bs-gutter-y: 0;
    align-items: stretch;
    min-height: 460px;
}

/* The photo panel runs to the right edge of the viewport while the copy stays
   on the same left rail as every other section. The container drops its
   max-width and instead pads its left side by exactly the gutter Bootstrap
   would have produced, so nothing shifts out of alignment. */
@media (min-width: 992px) {
    .hero-slide-content > .container-xl {
        max-width: none;
        width: 100%;
        padding-right: 0;
        padding-left: calc((100% - 960px) / 2 + 0.75rem);
    }
}

@media (min-width: 1200px) {
    .hero-slide-content > .container-xl {
        padding-left: calc((100% - 1140px) / 2 + 0.75rem);
    }
}

@media (min-width: 1400px) {
    .hero-slide-content > .container-xl {
        padding-left: calc((100% - var(--bc-rail)) / 2 + 0.75rem);
    }
}

.hero-slide-content .row > .hero-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* style.css and premium.css both declare `padding: Xrem 0` here, which zeroes
   the column's horizontal gutter and pulls the headline 24px left of the rail
   every other section sits on. The gutter is restored explicitly. */
.hero-text-content {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.hero-eyebrow {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
}

/* style.css pins .hero-title to dark ink with !important for the old
   light-background hero. This band is deep teal, so the type must be white. */
.hero-title {
    color: #FFFFFF !important;
    font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.15rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title .text-accent,
.hero-slide .text-accent { color: var(--teal-light) !important; }

.hero-slide .hero-subtitle {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 1.05rem;
    max-width: 44ch;
}

.hero-eyebrow i { color: var(--teal-light); }

/* White block button on the teal band, as on the reference. style.css forces
   .btn-primary to white-on-teal with !important, so the values are restated. */
.hero-buttons .btn-primary {
    background: var(--white) !important;
    border-color: var(--white) !important;
    color: var(--teal-deep) !important;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: none;
}

.hero-buttons .btn-primary:hover,
.hero-buttons .btn-primary:focus,
.hero-buttons .btn-primary:active {
    background: var(--teal) !important;
    border-color: var(--teal) !important;
    color: var(--ink-900) !important;
}

/* Both hero buttons are pinned to one height. Slide 1 carries two buttons and
   the others one, and the filled and outlined variants resolve to different
   border widths — the 4px difference made the whole band jump as the carousel
   advanced. */
.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    line-height: 1.4;
}

.hero-buttons .btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.55) !important;
    color: #FFFFFF !important;
    background: transparent;
    border-radius: 4px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-buttons .btn-outline-primary:hover {
    background: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: var(--teal-deep) !important;
}

/* Photography fills the right panel of the band, edge to edge and full height.
   The source flat-lays are square with a light-grey ground, so `contain` would
   park a pale square in the middle of the teal; `cover` makes the photo a
   panel of the banner instead, and the scrim below dissolves its left edge
   into the teal so there is no seam. */
.hero-image-content {
    position: relative;
    padding: 0;
    align-self: stretch;
    display: block;
    min-height: 100%;
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
    max-width: none;
    width: auto;
    padding: 0;
}

.hero-image-wrapper::before { display: none; }

.hero-image {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
}

/* The one gradient in the file, and the same photographic scrim the mobile
   banner already uses — solid fills elsewhere. */
.hero-image-content::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgb(15, 76, 70) 0%,
        rgba(15, 76, 70, 0.72) 34%,
        rgba(15, 76, 70, 0) 76%);
}

/* Controls — square-ish translucent chips, like the reference */
.hero-nav-arrow {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #FFFFFF;
    box-shadow: none;
}

.hero-nav-arrow:hover {
    background: var(--white);
    color: var(--teal-deep);
    border-color: var(--white);
    box-shadow: none;
}

.hero-nav-dots { bottom: 1.1rem; }

.hero-dot { background-color: rgba(255, 255, 255, 0.4); }
.hero-dot.active { background: #FFFFFF; }
.hero-dot:hover { background-color: rgba(255, 255, 255, 0.7); }

/* ==========================================================================
   6. NOTICE BAND — the wide callout beneath the hero
   Teal fill carries ink type (7.2:1); white on teal would fail AA.
   ========================================================================== */

.notice-band {
    background: var(--teal);
    color: var(--ink-900);
}

.notice-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.85rem 1.25rem;
    max-width: var(--bc-rail);
    margin-inline: auto;
}

.notice-inner > i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notice-text {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--ink-900);
    font-size: 0.94rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.35;
}

.notice-text span {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.notice-cta {
    flex-shrink: 0;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    background: var(--teal-deep);
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.notice-cta:hover {
    background: var(--white);
    color: var(--teal-deep);
}

/* ==========================================================================
   7. SHOP TILES — "SHOP CORPORATE GIFTS" cards with real product photography
   ========================================================================== */

.shop-tiles-section { padding: 1.5rem 0 0.5rem; background: var(--white); }

.shop-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.shop-tile {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--bc-tile-bg);
    border: 1px solid var(--soft-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.shop-tile:hover {
    border-color: var(--teal);
    box-shadow: 0 14px 30px rgba(var(--primary-rgb), 0.2);
    transform: translateY(-3px);
}

.shop-tile-head {
    padding: 1.1rem 1rem 0.85rem;
    text-align: center;
}

.shop-tile-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-500);
    margin-bottom: 0.15rem;
}

/* Two lines' worth of space is reserved whether the name needs it or not, so
   "Custom Merchandise" doesn't make its grid row taller than the others. */
.shop-tile-name {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(2 * 1.15em);
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    line-height: 1.15;
    color: var(--teal-deep);
}

/* Product plate — dotted teal texture behind a contained photo */
.shop-tile-plate {
    position: relative;
    margin-top: auto;
    aspect-ratio: 1 / 0.82;
    background-color: var(--bc-tile-bg);
    background-image: var(--bc-dots);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.shop-tile-plate img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-tile:hover .shop-tile-plate img { transform: scale(1.05); }

/* ==========================================================================
   8. PROMO STRIPS — solid teal type panel beside real product photography
   ========================================================================== */

.promo-section { padding: 1.25rem 0; background: var(--white); }

.promo-stack {
    display: grid;
    gap: 1rem;
}

.promo-strip {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
    min-height: 210px;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    background: var(--teal-deep);
    transition: var(--transition-smooth);
}

.promo-strip:hover {
    box-shadow: 0 16px 36px rgba(var(--dark-green-rgb), 0.24);
    transform: translateY(-3px);
}

.promo-strip.is-tint { background: var(--teal-tint); }

.promo-body {
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.promo-eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-light);
}

.promo-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
}

.promo-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 42ch;
}

.promo-fake-btn {
    align-self: flex-start;
    margin-top: 0.75rem;
    padding: 0.62rem 1.5rem;
    border-radius: 4px;
    background: var(--white);
    color: var(--teal-deep);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.promo-strip:hover .promo-fake-btn {
    background: var(--teal);
    color: var(--ink-900);
}

/* Tinted variant flips the type to ink */
.promo-strip.is-tint .promo-eyebrow { color: var(--teal-deep); }
.promo-strip.is-tint .promo-title { color: var(--teal-deep); }
.promo-strip.is-tint .promo-text { color: var(--ink-500); }

.promo-strip.is-tint .promo-fake-btn {
    background: var(--teal-deep);
    color: #FFFFFF;
}

.promo-strip.is-tint:hover .promo-fake-btn {
    background: var(--teal);
    color: var(--ink-900);
}

.promo-figure {
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.promo-figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-strip:hover .promo-figure img { transform: scale(1.04); }

/* ==========================================================================
   9. CATEGORY RAIL — horizontal scroller of round product thumbs
   ========================================================================== */

.rail-section { padding: 2.5rem 0; background: var(--ink-50); }

.rail-shell { position: relative; }

.rail {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 0.25rem 0.15rem;
    margin-inline: 2.75rem;
}

.rail::-webkit-scrollbar { display: none; }

.rail-item {
    flex: 0 0 auto;
    width: 152px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0.35rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.2s ease;
}

.rail-item:hover { background: var(--white); }

.rail-thumb {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--soft-border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, transform 0.25s ease;
}

.rail-item:hover .rail-thumb {
    border-color: var(--teal);
    transform: translateY(-3px);
}

.rail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Product names run long, so the label is clamped to two lines — every item
   in the rail then occupies the same height and the row stays level. */
.rail-label {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: var(--teal-deep);
    letter-spacing: 0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Deep teal: --teal-hover on the section's --ink-50 is 3.7:1 and this is
   12.5px type, so it needs the darker tone. */
.rail-price {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--teal-deep);
    font-variant-numeric: tabular-nums;
}

.rail-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--soft-border);
    background: var(--white);
    color: var(--teal-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: var(--shadow);
    transition: background 0.2s ease, color 0.2s ease;
}

.rail-arrow:hover {
    background: var(--teal-deep);
    color: #FFFFFF;
}

.rail-arrow[disabled] {
    opacity: 0.32;
    cursor: default;
}

.rail-prev { left: 0; }
.rail-next { right: 0; }

/* ==========================================================================
   10. FEATURED PRODUCTS — full width, no sidebar
   ========================================================================== */

.main-content { background: var(--white); }

.products-header .products-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
    letter-spacing: -0.02em;
}

.main-content #main-products-grid.products-grid { gap: 1.5rem; }

/* ==========================================================================
   10b. PRODUCT CARDS — nothing may be clipped
   At two-up on a 375px screen the card body is 166px wide. The price row is a
   nowrap flex line that needed 201px, so the struck-through original price was
   cut off; and the title had a fixed two-line height with plain overflow:hidden,
   so a three-line name was sliced through the middle of its last line.
   ========================================================================== */

.product-card,
.product-card * { min-width: 0; }

/* ---- Second view -----------------------------------------------------
   Every product carries two photographs. On pointer devices the second one
   cross-fades in on hover; on touch, where there is no hover, it stays put
   and the second view lives in the product page gallery instead. */
.product-image { position: relative; }

.product-image-alt {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover .product-image.has-alt .product-image-alt { opacity: 1; }
}

@media (hover: none) {
    .product-image-alt { display: none; }
}

/* The pair is sized to stay on one line — a five-figure price like
   "KShs9,890 KShs10,990" wrapped at the default sizes, and because grid rows
   size to their tallest item that one wrap made a whole row 28px taller than
   its neighbours. Wrapping is still allowed as a last resort so nothing is
   ever clipped; the min-height keeps the card stable either way. */
.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.1rem 0.4rem;
    overflow: visible;
    min-height: 1.9em;
}

.product-price .current-price,
.product-price .original-price { white-space: nowrap; }

.product-price .current-price { font-size: 1.12rem; }
.product-price .original-price { font-size: 0.88rem; }

/* Truncate with an ellipsis on a word boundary instead of a hard cut */
.product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: auto !important;
    min-height: calc(2 * 1.35em);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.product-category {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   11. WHY SHOP — line-icon feature row
   ========================================================================== */

.why-choose-us { background: var(--ink-50); }

/* Card-less, like the reference: a large line icon over a short label on a
   plain band. style.css and premium.css both give this a white card with a
   border and shadow, each without !important but from rules this file cannot
   outrank by specificity alone, so the reset is forced. */
.promise-item,
.promise-item:hover {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    padding: 1.25rem 0.75rem;
}

/* premium.css makes this a 68px inline-flex circle with a tinted fill. Here it
   is a plain glyph on the band, so the flex box, the fixed size and the pill
   are all cleared — the icon renders as ordinary inline text like every other
   icon on the page. */
.promise-icon {
    display: block !important;
    background: transparent !important;
    color: var(--teal-hover) !important;
    font-size: 2.75rem;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    border-radius: 0 !important;
    margin-bottom: 1rem;
}

.promise-item:hover .promise-icon {
    background: transparent !important;
    color: var(--teal-deep) !important;
}

.promise-item h5 {
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal-deep);
    margin-bottom: 0.45rem;
}

.promise-item p {
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 30ch;
    margin-inline: auto;
}

/* ==========================================================================
   12. ABOUT BAND — wide photo strip over the intro paragraph
   ========================================================================== */

.about-band-section { padding: 3rem 0; background: var(--white); }

.about-band {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 210px;
    display: flex;
    align-items: center;
    background: var(--teal-deep);
}

.about-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.about-band-title {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2.5rem 2rem;
    margin: 0;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 1rem + 1.7vw, 2.3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.about-band-copy {
    max-width: 74ch;
    margin: 1.75rem auto 0;
    text-align: center;
}

.about-band-copy p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-500);
    margin-bottom: 0.9rem;
}

.about-band-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal-deep);
    text-decoration: none;
    border-bottom: 2px solid var(--teal);
    padding-bottom: 0.15rem;
}

.about-band-more:hover { color: var(--teal-hover); }

/* ==========================================================================
   13. FOOTER — accordion columns, newsletter, payment row, support block
   ========================================================================== */

.footer { padding: 0 0 1.5rem; }

/* ---- 13.1 Link columns ---------------------------------------------- */

.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 3rem 0 2.25rem;
}

.foot-col-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #FFFFFF;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    cursor: default;
}

.foot-col-toggle .foot-col-icon { display: none; }

.foot-col-title-rule {
    width: 28px;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
    margin: 0.7rem 0 1.1rem;
}

.foot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.foot-list li { margin-bottom: 0.6rem; }

.foot-list a {
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 0.92rem;
    text-decoration: none;
}

.foot-list a:hover { color: var(--teal-light) !important; }

/* ---- 13.2 Newsletter ------------------------------------------------- */

.foot-news {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.foot-news-title {
    margin: 0;
    color: #FFFFFF;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.foot-news-form {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    flex: 1 1 320px;
    max-width: 480px;
    margin-left: auto;
}

.foot-news-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    padding: 0.68rem 1rem;
    font-size: 0.92rem;
    color-scheme: only light;
}

.foot-news-form input::placeholder { color: rgba(255, 255, 255, 0.5); }

.foot-news-form input:focus {
    outline: 0;
    border-color: var(--teal);
    background: rgba(255, 255, 255, 0.14);
}

.foot-news-form button {
    flex-shrink: 0;
    border: 0;
    border-radius: 4px;
    background: var(--teal);
    color: var(--ink-900);
    padding: 0 1.6rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.foot-news-form button:hover {
    background: var(--white);
    color: var(--teal-deep);
}

.foot-news-note {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-light);
}

/* ---- 13.3 Social + payment ------------------------------------------- */

.foot-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.foot-social {
    display: flex;
    gap: 0.5rem;
}

.foot-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.foot-social a:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--ink-900) !important;
    transform: translateY(-3px);
}

.foot-pay {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.foot-pay-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 0.25rem;
}

.foot-pay span.pay-chip {
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    background: var(--white);
    color: var(--teal-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* ---- 13.4 Support block + copyright ---------------------------------- */

.foot-support {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.75rem 0 1.25rem;
}

.foot-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.foot-brand img {
    width: 174px;
    height: 94px;
    object-fit: contain;
    object-position: left center;
}

.home-page .foot-brand picture { display: block; width: 260px; max-width: 100%; }
.home-page .foot-brand img { display: block; width: 100%; height: auto; }

.foot-brand-name {
    display: none;
}

.foot-brand-tag {
    display: none;
}

.foot-contact {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    text-align: right;
}

.foot-contact-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.foot-contact a {
    color: #FFFFFF !important;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.foot-contact a:hover { color: var(--teal-light) !important; }
.foot-contact a.is-sm { font-size: 0.92rem; font-weight: 500; }

.foot-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.foot-legal p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.foot-legal-links {
    display: flex;
    gap: 1.25rem;
}

.foot-legal-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none;
}

.foot-legal-links a:hover { color: var(--teal-light) !important; }

/* ==========================================================================
   14. MOBILE DRAWER — full-screen menu, line icons, expandable rows
   ========================================================================== */

.mobile-drawer {
    border-top: 1px solid var(--soft-border);
    background: var(--white);
}

.drawer-list a {
    padding: 0.95rem 0.35rem;
    font-size: 0.98rem;
    font-weight: 550;
    border-radius: 0;
    border-bottom: 1px solid var(--ink-100);
}

.drawer-list a i:first-child {
    width: 24px;
    font-size: 1.05rem;
    color: var(--teal-hover);
}

.drawer-sub {
    list-style: none;
    margin: 0;
    padding: 0 0 0 2.4rem;
    display: none;
    background: var(--teal-tint);
}

.drawer-item.is-open > .drawer-sub { display: block; }

.drawer-sub a {
    padding: 0.72rem 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid var(--teal-tint-2);
}

.drawer-toggle .drawer-chevron { transition: transform 0.22s ease; }
.drawer-item.is-open > .drawer-toggle .drawer-chevron { transform: rotate(90deg); }

.drawer-plain {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-plain a {
    display: block;
    padding: 0.85rem 0.35rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-700);
    text-decoration: none;
    border-bottom: 1px solid var(--ink-100);
}

.drawer-plain a:hover { color: var(--teal-hover); }

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */

/* The ten tabs are sized to the container they sit in. Below 1400px the
   container is Bootstrap's 1140px, so the tabs tighten to stay on one line —
   a wrapped or page-widening nav bar is the failure mode here. */
@media (max-width: 1399.98px) {
    .catbar .nav-link {
        padding: 0.9rem 0.58rem !important;
        font-size: 0.73rem;
        letter-spacing: 0.03em;
    }

    .catbar .catbar-home { padding-inline: 0.75rem !important; }
    .mega-caret { margin-left: 0.08rem; font-size: 0.56rem; }
}

/* 992–1199px is the tightest desktop band: the container is full-width minus
   gutters (≈992px) and the mega menus are still active, so the ten tabs have
   to fit without the horizontal scroll that would clip the panels. */
@media (max-width: 1199.98px) {
    .catbar .nav-link {
        padding: 0.85rem 0.38rem !important;
        font-size: 0.665rem;
        letter-spacing: 0;
    }

    .catbar .catbar-home { padding-inline: 0.6rem !important; }
    .mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mega-inner { padding: 1.5rem 1.25rem 1.35rem; }
    .mega-list a { font-size: 0.83rem; }
}

@media (max-width: 991.98px) {

    /* ---- Header ---- */
    .usp-inner { padding: 0.6rem 0; }
    .usp i { font-size: 1.2rem; width: 24px; }
    .usp + .usp { border-left: 1px solid var(--ink-100); }

    /* Mega panels are replaced by the drawer on touch widths */
    .mega { display: none !important; }
    .mega-caret { display: none; }

    .catbar .nav-link:hover,
    .catbar .nav-item.is-open > .nav-link {
        background: rgba(255, 255, 255, 0.14) !important;
        color: #FFFFFF !important;
    }

    .catbar .nav-link.active:hover {
        background: rgba(255, 255, 255, 0.14) !important;
        color: #FFFFFF !important;
    }

    .catbar .nav-link { padding: 0.72rem 0.85rem !important; font-size: 0.75rem; }

    /* ---- Hero: full-bleed photographic banner ----
       premium.css lays the photo behind the copy with a vertical scrim here.
       The desktop rules above are unconditional and load later, so each one
       they would override has to be restated: the photo layer goes back to
       filling the slide, and the left-edge scrim is switched off in favour of
       premium.css's vertical one. */
    .hero-slide-content .row { min-height: 380px; }

    .hero-slide-content > .container-xl {
        max-width: none;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-image-content {
        position: absolute;
        inset: 0;
        min-height: 0;
        padding: 0;
        z-index: 0;
        display: block;
    }

    .hero-image-content::before { display: none; }

    .hero-image-wrapper {
        position: absolute;
        inset: 0;
        width: auto;
        padding: 0;
    }

    /* style.css gives the photo a 2rem top margin at these widths, which pushes
       it 32px below its wrapper — the strip that fell past the scrim showed as
       a pale band across the bottom of the banner. */
    .hero-image {
        width: 100%;
        height: 100%;
        max-height: none;
        margin: 0;
        object-fit: cover;
    }

    /* The copy sits over the photo, and needs its own side padding: premium's
       column reset zeroes the Bootstrap gutter this file restores at desktop,
       which would otherwise run the text edge to edge. */
    .hero-slide-content .row > .hero-text-content {
        position: relative;
        z-index: 2;
        padding-left: 1.75rem;
        padding-right: 1.75rem;
        justify-content: center;
    }

    .hero-slide .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: clamp(1.75rem, 1.1rem + 3.4vw, 2.5rem);
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    }

    .hero-buttons .btn-primary {
        background: var(--white);
        color: var(--teal-deep);
    }

    /* ---- Sections ---- */
    .shop-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .promo-strip {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .promo-figure {
        order: -1;
        aspect-ratio: 16 / 8;
    }

    .promo-body { padding: 1.5rem 1.35rem 1.75rem; }

    /* Products are shown on mobile too. premium.css hides this block below
       992px; the homepage now leads with the catalogue, so it is restored and
       runs two-up under the category tiles. */
    .main-content { display: block !important; }

    .main-content > .container-xl { padding-inline: 0.9rem; }

    /* ---- Footer accordions ---- */
    .foot-cols {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0.5rem 0 0;
    }

    .foot-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .foot-col-toggle {
        padding: 1.15rem 0;
        cursor: pointer;
    }

    .foot-col-toggle .foot-col-icon {
        display: block;
        font-size: 1rem;
        color: var(--teal-light);
        transition: transform 0.22s ease;
    }

    .foot-col.is-open .foot-col-toggle .foot-col-icon { transform: rotate(45deg); }

    .foot-col-title-rule { display: none; }

    .foot-col-body {
        display: none;
        padding-bottom: 1.1rem;
    }

    .foot-col.is-open .foot-col-body { display: block; }

    .foot-news {
        border-top: 0;
        padding: 1.25rem 0;
    }

    .foot-news-form { margin-left: 0; max-width: none; }

    .foot-meta { justify-content: flex-start; }

    .foot-support { flex-direction: column; }

    .foot-contact {
        text-align: left;
        width: 100%;
    }

    .foot-contact a { justify-content: flex-start; }
}

@media (max-width: 767.98px) {

    /* ---- Header ---- */
    .usp-inner { padding: 0.55rem 0; }
    .usp { padding: 0 0.85rem; }
    .usp i { font-size: 1.05rem; width: 20px; }
    .usp-title { font-size: 0.76rem; }
    .usp-sub { font-size: 0.7rem; }

    /* ---- Hero ---- */
    .hero-slide-content .row { min-height: 340px; }
    .hero-title { letter-spacing: -0.02em; }
    .hero-slide .hero-subtitle { font-size: 0.93rem; }

    .hero-slide-content .row > .hero-text-content {
        padding-left: 3.5rem;
        padding-right: 3.5rem;
    }

    /* ---- Notice band ----
       Stays a single row: icon, headline, button — the same shape as the
       desktop band, just tighter. The supplementary clause is dropped here
       because it also appears verbatim in the closing CTA band. */
    .notice-inner {
        flex-wrap: nowrap;
        gap: 0.7rem;
        padding: 0.7rem 0.9rem;
    }

    .notice-inner > i { font-size: 1.1rem; }

    .notice-text {
        font-size: 0.7rem;
        letter-spacing: 0.01em;
        line-height: 1.3;
    }

    .notice-text span { display: none; }

    .notice-cta {
        padding: 0.55rem 0.8rem;
        font-size: 0.66rem;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }

    /* ---- Product cards at two-up ----
       Names run long in this catalogue, so the clamp opens to three lines here
       and the category pill drops a step so full labels like "Personalized
       Gifts" fit inside the card rather than ellipsing. */
    .product-price .current-price { font-size: 1.02rem; }
    .product-price .original-price { font-size: 0.82rem; }
    .product-body { padding: 0.85rem 0.7rem !important; }

    .product-title {
        font-size: 0.88rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        min-height: calc(3 * 1.35em);
    }

    /* style.css sizes this through `#main-products-grid .product-category`,
       an ID selector this file has to match to win. At 0.68rem the longest
       labels ("Custom Merchandise" needs 158px in a 139px box) were ellipsed. */
    .product-card .product-category,
    #main-products-grid .product-category,
    #products-container .product-category,
    .related-products .product-category {
        font-size: 0.58rem !important;
        letter-spacing: 0.02em !important;
        padding: 0.22rem 0.35rem !important;
    }

    /* Stacked, full-width actions: side by side the two buttons squeeze the
       "Add to Cart" label until it wraps inside a 134px row. */
    .product-actions {
        flex-direction: column;
        gap: 0.4rem;
    }

    .product-actions .btn-add-cart { width: 100%; }

    .product-actions .btn-quick-view {
        width: 100%;
        border-radius: var(--radius-pill);
    }

    /* ---- Shop tiles: two up ---- */
    .shop-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .shop-tile-head { padding: 0.85rem 0.6rem 0.6rem; }
    .shop-tile-eyebrow { font-size: 0.64rem; letter-spacing: 0.12em; }
    .shop-tile-name { font-size: 0.86rem; }

    /* ---- Promos ---- */
    .promo-title { font-size: 1.35rem; }
    .promo-text { font-size: 0.9rem; }

    /* ---- Rail ---- */
    .rail-section { padding: 2rem 0; }
    .rail { margin-inline: 0; }
    .rail-arrow { display: none; }
    .rail-item { width: 108px; padding: 0.5rem 0.25rem; }
    .rail-thumb { width: 74px; height: 74px; }
    .rail-label { font-size: 0.72rem; }

    /* ---- Why shop: two up ---- */
    .promise-item,
    .promise-item:hover { padding: 1rem 0.4rem !important; }

    .promise-icon { font-size: 2.25rem; margin-bottom: 0.7rem; }
    .promise-item h5 { font-size: 0.82rem; letter-spacing: 0.04em; }
    .promise-item p { font-size: 0.8rem; }

    /* ---- About band ---- */
    .about-band-section { padding: 2.25rem 0; }
    .about-band { min-height: 160px; }
    .about-band-title { padding: 1.75rem 1.1rem; }
    .about-band-copy { margin-top: 1.25rem; }
    .about-band-copy p { font-size: 0.93rem; }

    /* ---- Footer ---- */
    .foot-news { flex-direction: column; align-items: stretch; gap: 0.85rem; }
    .foot-news-form { flex: 1 1 auto; }
    .foot-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
    .hero-slide-content .row { min-height: 320px; }
    .shop-tile-name { font-size: 0.8rem; }
    .foot-news-form { flex-direction: column; }
    .foot-news-form button { padding: 0.7rem 1rem; }
}

/* ==========================================================================
   16. CASCADE CORRECTIONS
   style.css closes with a "final visible layer" that pins colours with
   !important. It predates the token system, and two of its rules break the
   documented contrast contract:

     .btn-primary, .btn-add-cart, … { color: var(--white) !important }
     #main-products-grid            { grid-template-columns: repeat(3,1fr) !important }

   White on --teal (#27B8A6) is 2.4:1 and fails WCAG AA. premium.css already
   set dark ink on these fills, but without !important it never applied. These
   rules restate the intended values at the weight needed to win.
   ========================================================================== */

.btn-primary,
.btn-add-cart,
.form-submit,
.auth-btn {
    color: var(--ink-900) !important;   /* 7.2:1 on teal */
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-add-cart:hover,
.btn-add-cart:focus,
.form-submit:hover,
.auth-btn:hover {
    background-color: var(--teal-deep) !important;
    border-color: var(--teal-deep) !important;
    color: #FFFFFF !important;          /* 9.8:1 on deep teal */
}

/* .btn-success keeps its own green fill, which carries white type fine. */
.btn-success,
.btn-success:hover {
    color: #FFFFFF !important;
}

.site-search button { color: var(--ink-900) !important; }
.site-search button:hover { color: #FFFFFF !important; }

/* Same family: style.css forces the card's category pill to --primary-color,
   which is 2.5:1 on its own teal-tint fill. Deep teal is 9.4:1. */
.product-category,
#main-products-grid .product-category,
#products-container .product-category,
.related-products .product-category,
.search-autocomplete .product-category {
    color: var(--teal-deep) !important;
}

.product-card:hover .product-category { color: var(--teal-deep) !important; }

/* White on --coral is 3.4:1. Coral is a light mid-tone, so it carries dark ink
   for the same reason --teal does — 5.3:1, and the token is unchanged. */
.product-badge {
    color: var(--ink-900) !important;
    box-shadow: none;
}

.product-badge.new { color: #FFFFFF !important; }        /* on --teal-deep, 9.8:1 */
.product-badge.featured { color: var(--ink-900) !important; }

/* Eyebrow labels are 0.74rem — normal-size text, where --teal-hover on white
   is 3.9:1 and fails AA. Deep teal is 9.8:1; the eyebrow still reads as an
   eyebrow through its size, weight, tracking and caps. Icons keep the lighter
   tone, which only has to clear 3:1. Dark bands override this to --teal-light.

   It is also set to block: both it and .section-title are inline-block, so a
   short eyebrow and a short title flow onto the same line instead of stacking. */
.section-eyebrow {
    display: block;
    color: var(--teal-deep);
}

/* style.css paints several elements as "gradient text":
     background: var(--primary-color);
     -webkit-background-clip: text; -webkit-text-fill-color: transparent;
   which renders them in bright teal — 2.4:1 on white, well under AA. It also
   means any rule that clears the background (as this file does for
   .promise-icon) leaves the glyph filled with transparent and invisible.
   Restoring currentColor as the fill puts these back on solid tokens. */
.accent-text,
.section-title,
.promise-icon,
.current-price {
    -webkit-text-fill-color: currentColor;
}

@media (max-width: 768px) {
    .section-title,
    .promise-icon,
    .current-price {
        background: none !important;
        -webkit-background-clip: border-box !important;
        background-clip: border-box !important;
        -webkit-text-fill-color: currentColor !important;
    }

    .section-title { color: var(--teal-deep) !important; }   /* 9.4:1 */
    .current-price { color: var(--teal-deep) !important; }   /* 9.4:1 */
    .promise-icon  { color: var(--teal-hover) !important; }  /* icon, clears 3:1 */
}

/* style.css hides the Promise block on phones:
     @media (max-width: 768px) { .why-choose-us { display: none !important } }
   It is core brand content and the redesign gives it a two-up mobile layout,
   so it is restored here. */
.why-choose-us { display: block !important; }

/* A clean 4 × 4 of the 16 homepage cards. */
.main-content #main-products-grid.products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 1199.98px) {
    .main-content #main-products-grid.products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    .main-content #main-products-grid.products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.7rem;
    }
}

/* ==========================================================================
   17. THEME LOCK — re-assert light values, never introduce dark ones
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    .shop-tile,
    .shop-tile-plate,
    .promo-figure,
    .rail-thumb,
    .mega,
    .mega-promo img,
    .usp-strip,
    .mobile-drawer,
    .main-content,
    .shop-tiles-section,
    .promo-section,
    .about-band-section {
        background-color: var(--white);
    }

    .shop-tile { background-color: var(--bc-tile-bg); }
    .shop-tile-plate { background-color: var(--bc-tile-bg); }
    .rail-section { background-color: var(--ink-50); }
    .why-choose-us { background-color: var(--ink-50); }
    .notice-band { background-color: var(--teal); }
    .catbar { background-color: var(--teal-deep); }
    .foot-pay span.pay-chip { background-color: var(--white); color: var(--teal-deep); }
}

/* ==========================================================================
   18. PRINT
   ========================================================================== */

@media print {
    .notice-band,
    .rail-section,
    .mega { display: none !important; }
}

/* ==========================================================================
   19. RED ACTION LAYER
   Teal remains the brand surface — masthead, category bar, footer, page
   heroes. Red (the logo's own #C8102E) carries action: primary CTAs, add to
   cart, the cart count, sale badges and the announcement bar.

   Red is dark enough to carry WHITE type: 5.9:1 on --red and 7.8:1 on
   --red-deep. That is the opposite of --teal, which is a light mid-tone and
   needs dark ink. Do not swap the two rules over.
   ========================================================================== */

.btn-action,
.btn-primary,
.btn-add-cart,
.add-to-cart-btn,
.form-submit,
.auth-btn {
    background-color: var(--red) !important;
    border-color: var(--red) !important;
    color: #FFFFFF !important;
}

.btn-action:hover, .btn-action:focus, .btn-action:active,
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-add-cart:hover, .btn-add-cart:focus,
.add-to-cart-btn:hover, .add-to-cart-btn:focus,
.form-submit:hover, .auth-btn:hover {
    background-color: var(--red-deep) !important;
    border-color: var(--red-deep) !important;
    color: #FFFFFF !important;
}

/* The sliding fill behind .btn-add-cart was teal; keep it in the red family */
.btn-add-cart::before { background: var(--red-deep) !important; }

/* Cart count and sale badges */
.ha-badge,
.cart-badge,
.product-badge { background: var(--red) !important; color: #FFFFFF !important; }

.product-badge.new { background: var(--teal-deep) !important; color: #FFFFFF !important; }
.product-badge.featured { background: var(--teal) !important; color: var(--ink-900) !important; }

/* Search keeps the teal fill with ink type — it is chrome, not an action */
.site-search button {
    background: var(--teal) !important;
    color: var(--ink-900) !important;
}

.site-search button:hover {
    background: var(--teal-deep) !important;
    color: #FFFFFF !important;
}

/* Hero CTA: red on the deep teal band */
.hero-buttons .btn-primary {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: #FFFFFF !important;
}

.hero-buttons .btn-primary:hover {
    background: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: var(--red-deep) !important;
}

/* ==========================================================================
   20. ANNOUNCEMENT TICKER
   Self-scrolling service strip above the masthead. The track is duplicated in
   the markup and translated by exactly -50%, so the loop is seamless with no
   JS. Paused on hover and frozen entirely under reduced-motion.
   ========================================================================== */

.announce {
    background: var(--red);
    color: #FFFFFF;
    overflow: hidden;
}

.announce-viewport {
    display: flex;
    width: max-content;
    animation: announce-scroll 38s linear infinite;
}

.announce:hover .announce-viewport,
.announce:focus-within .announce-viewport { animation-play-state: paused; }

.ticker-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0 2.5rem 0 0;
}

.ticker-track li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.03em;
    white-space: nowrap;
    color: #FFFFFF;
}

.ticker-track i { font-size: 0.85rem; opacity: 0.9; }

@keyframes announce-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .announce-viewport { animation: none; }
    .announce-viewport > .ticker-track:last-child { display: none; }
    .ticker-track { flex-wrap: wrap; gap: 0.5rem 1.5rem; }
}

/* ==========================================================================
   21. MOBILE BOTTOM TAB BAR
   ========================================================================== */

.tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    background: var(--white);
    border-top: 1px solid var(--ink-100);
    box-shadow: 0 -6px 20px rgba(var(--dark-green-rgb), 0.1);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.tabbar-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.5rem 0.2rem 0.55rem;
    text-decoration: none;
    color: var(--ink-500);
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    min-height: 56px;
}

.tabbar-item i { font-size: 1.15rem; }
.tabbar-item.is-on { color: var(--red); }

.tabbar-item.is-on::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--red);
}

/* Raised centre action, as on the reference app */
.tabbar-mid { justify-content: flex-end; }

.tabbar-badge-mid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-top: -18px;
    border-radius: 50%;
    background: var(--red);
    color: #FFFFFF;
    font-size: 1.1rem;
    border: 3px solid var(--white);
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.35);
}

.tabbar-count {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translateX(22px);
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--red);
    color: #FFFFFF;
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
    display: none;
}

.tabbar-count:not(:empty) { display: block; }

/* The bar floats over the page, so content needs clearance behind it.
   Measured at 65px plus the iOS home-indicator inset. */
@media (max-width: 991.98px) {
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
    .whatsapp-chat-widget { bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ==========================================================================
   22. QUOTE PANEL — categories that are priced per job
   ========================================================================== */

.quote-panel-wrap { display: block; }

.quote-panel {
    border: 1px solid var(--soft-border);
    border-top: 4px solid var(--red);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.quote-panel-body { padding: 2.5rem 2.25rem; }

.quote-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.9rem;
}

.quote-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1rem + 1.6vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--teal-deep);
    margin: 0 0 0.9rem;
    max-width: 48ch;
}

.quote-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-500);
    max-width: 62ch;
    margin-bottom: 1.6rem;
}

.quote-covers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.6rem 1.5rem;
    list-style: none;
    margin: 0 0 1.9rem;
    padding: 0;
}

.quote-covers li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.94rem;
    font-weight: 550;
    color: var(--ink-700);
}

.quote-covers i {
    color: var(--teal-hover);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-quote-ghost {
    border: 2px solid var(--teal-deep);
    color: var(--teal-deep);
    background: transparent;
    font-weight: 700;
}

.btn-quote-ghost:hover {
    background: var(--teal-deep);
    border-color: var(--teal-deep);
    color: #FFFFFF;
}

.quote-note {
    margin: 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ink-100);
    font-size: 0.9rem;
    color: var(--ink-500);
}

.quote-note i { color: var(--teal-hover); margin-right: 0.4rem; }
.quote-note a { color: var(--teal-deep); font-weight: 650; }

/* Quote categories read differently in the chip row */
.category-btn.is-quote { border-style: dashed; }

.category-btn.is-quote:hover,
.category-btn.is-quote.active {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: #FFFFFF !important;
}

@media (max-width: 767.98px) {
    .quote-panel-body { padding: 1.6rem 1.15rem; }
    .quote-actions .btn { width: 100%; }
    .quote-covers { grid-template-columns: 1fr; }
}

/* ==========================================================================
   23. QUOTE TILES ON THE HOMEPAGE
   Signage, Display, Banners, Flags and Printed Boards have no stock photos
   because they have no SKUs. Rather than borrow an unrelated product shot,
   they read as service tiles: a large line icon on the red-tinted plate with
   an explicit "get a quote" affordance, so they are visibly a different kind
   of thing from the four stocked categories beside them.
   ========================================================================== */

.shop-tile.is-quote { border-color: var(--red-tint-2); }

.shop-tile.is-quote:hover {
    border-color: var(--red);
    box-shadow: 0 14px 30px rgba(200, 16, 46, 0.18);
}

.shop-tile.is-quote .shop-tile-eyebrow { color: var(--red); }

.shop-tile-plate.is-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    background-color: var(--red-tint);
    background-image: none;
    /* Use a fixed height rather than the image aspect-ratio so the icon tiles
       don't produce a big empty area — the icon itself carries the visual weight */
    aspect-ratio: unset;
    min-height: 130px;
    padding: 1.5rem 1rem;
}

.shop-tile-plate.is-icon > i {
    font-size: 2.9rem;
    color: var(--red);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-tile.is-quote:hover .shop-tile-plate.is-icon > i { transform: translateY(-4px); }

.shop-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red-deep);
}

.shop-tile-cta i { font-size: 0.65rem; }

@media (max-width: 767.98px) {
    .shop-tile-plate.is-icon > i { font-size: 2.1rem; }
    .shop-tile-cta { font-size: 0.62rem; letter-spacing: 0.05em; }
}

@media (prefers-color-scheme: dark) {
    .shop-tile-plate.is-icon { background-color: var(--red-tint); }
}

/* ==========================================================================
   24. EMPTY CART + FAVOURITES RAIL
   App-style empty state: illustration, headline, one full-width action, then
   a horizontal rail of suggestions so the page is never a dead end.
   ========================================================================== */

.cart-empty {
    max-width: 640px;
    margin-inline: auto;
    padding: 2.25rem 0 1rem;
    text-align: center;
}

.cart-empty-art {
    width: min(230px, 62vw);
    margin: 0 auto 1.5rem;
}

.cart-empty-art svg { width: 100%; height: auto; display: block; }

.cart-empty-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--teal-deep);
    margin: 0 0 0.5rem;
}

.cart-empty-text {
    font-size: 0.98rem;
    color: var(--ink-500);
    margin: 0 0 1.5rem;
}

.cart-empty-cta {
    display: block;
    width: 100%;
    padding: 0.95rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: 0.02em;
}

/* ---- Favourites rail -------------------------------------------------- */

.favourites {
    margin-top: 2.75rem;
    text-align: left;
}

.favourites-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--teal-deep);
    margin: 0 0 0.9rem;
}

.favourites-rail {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
    /* bleed to the edges on small screens so the rail reads as scrollable */
    margin-inline: -0.9rem;
    padding-inline: 0.9rem;
}

.favourites-rail::-webkit-scrollbar { display: none; }

.fav-card {
    position: relative;
    flex: 0 0 auto;
    width: 148px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--soft-border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.fav-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.fav-thumb {
    position: relative;
    aspect-ratio: 1;
    background: var(--white);
    border-bottom: 1px solid var(--ink-50);
}

.fav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    display: block;
}

/* The + affordance from the reference, in the action colour */
.fav-add {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 9px;
    background: var(--red);
    color: #FFFFFF;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(200, 16, 46, 0.32);
    transition: background 0.2s ease, transform 0.2s ease;
}

.fav-add:hover { background: var(--red-deep); transform: scale(1.06); }
.fav-add.is-added { background: var(--teal-deep); }

.fav-body { padding: 0.6rem 0.65rem 0.75rem; }

.fav-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    min-height: calc(2 * 1.35em);
    color: var(--ink-900);
    margin: 0 0 0.3rem;
}

.fav-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--teal-deep);
    font-variant-numeric: tabular-nums;
}

.fav-cat {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.63rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-400);
}

/* ---- Quote nudge under the rail --------------------------------------- */

.cart-quote-nudge {
    margin-top: 2.5rem;
    padding: 1.25rem 1.15rem;
    border: 1px dashed var(--red-tint-2);
    border-radius: var(--radius);
    background: var(--red-tint);
    text-align: center;
}

.cart-quote-nudge i { font-size: 1.35rem; color: var(--red); }

.cart-quote-nudge p {
    margin: 0.5rem 0 0.9rem;
    font-size: 0.92rem;
    color: var(--ink-700);
}

@media (min-width: 576px) {
    .cart-empty-cta { display: inline-block; width: auto; min-width: 260px; }
    .favourites-rail { margin-inline: 0; padding-inline: 0; }
}

@media (prefers-color-scheme: dark) {
    .fav-card, .fav-thumb { background-color: var(--white); }
    .cart-quote-nudge { background-color: var(--red-tint); }
}
