:root {
  --ink: #17254d;
  --muted: #667085;
  --line: #d8dee7;
  --surface: #f7f8fb;
  --surface-strong: #eef3f6;
  --accent: #24498f;
  --accent-dark: #183972;
  --accent-soft: #e4ecfb;
  --warning-soft: #fff4d8;
  --danger-soft: #ffe7e7;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, .06);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, .10);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, .14);
  --font-sans: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  /* Radius scale — cards are soft, controls are tighter, pills are round. */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  /* Warm neutral used behind the modern landing sections so large white
     cards lift off the page without a hard grey. */
  --surface-warm: #fbfaf8;
  /* Motion language — one calm, consistent system across the storefront */
  --motion-fast: 140ms;
  --motion-base: 220ms;
  --motion-slow: 420ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

body {
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  /* Flat white canvas across all customer-facing pages. Previously a vertical
     gradient (white -> #f7f9fb -> white); kept as a single token-friendly value
     so the page surface is exactly #FFFFFF everywhere. */
  background: #ffffff;
  min-height: 100vh;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
}

/* Montserrat heading tuning — subtle negative tracking for geometric clarity */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  letter-spacing: -0.012em;
}

/* Override Bootstrap's default font-weight for display headings
   so they feel consistent with Montserrat's character. */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Announcement bar — sits above the sticky site header.
   -------------------------------------------------------------------------- */
.announcement-bar {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #fff;
  font-size: .84rem;
  position: relative;
  z-index: 1;
}

.announcement-bar-inner {
  align-items: center;
  display: flex;
  gap: .6rem;
  min-height: 42px;
  padding-bottom: .5rem;
  padding-top: .5rem;
}

.announcement-bar-icon {
  display: inline-flex;
  flex: 0 0 auto;
  opacity: .9;
}

.announcement-list {
  flex: 1 1 auto;
  list-style: none;
  margin: 0;
  min-width: 0;
  padding: 0;
}

/* No-JS baseline: every message is visible, stacked. */
.announcement-item {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.announcement-item + .announcement-item {
  border-top: 1px solid rgba(255, 255, 255, .25);
  margin-top: .4rem;
  padding-top: .4rem;
}

/* Once the script runs, only the active message shows and messages cross-fade. */
.announcement-bar.is-enhanced .announcement-list {
  position: relative;
}

.announcement-bar.is-enhanced .announcement-item {
  display: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--motion-base) var(--ease-soft), transform var(--motion-base) var(--ease-soft);
}

.announcement-bar.is-enhanced .announcement-item + .announcement-item {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.announcement-bar.is-enhanced .announcement-item.is-active {
  display: flex;
  opacity: 1;
  transform: none;
}

.announcement-message {
  min-width: 0;
  overflow-wrap: anywhere;
}

.announcement-link {
  color: #fff;
  flex: 0 0 auto;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* When the message itself is the link (no separate CTA label), it must wrap
   like message copy rather than like a short "Shop now"-style link. */
.announcement-link.announcement-message {
  flex: 1 1 auto;
  white-space: normal;
}

.announcement-link:hover,
.announcement-link:focus-visible {
  text-decoration: underline;
}

.announcement-link:focus-visible,
.announcement-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.announcement-toggle {
  align-items: center;
  background: rgba(255, 255, 255, .16);
  border: 0;
  border-radius: var(--radius-pill);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 26px;
  justify-content: center;
  padding: 0;
  transition: background var(--motion-fast) var(--ease-soft);
  width: 26px;
}

.announcement-toggle:hover {
  background: rgba(255, 255, 255, .3);
}

@media (prefers-reduced-motion: reduce) {
  .announcement-bar.is-enhanced .announcement-item {
    transform: none;
    transition: none;
  }
}

.site-header {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
}

.brand-logo {
  border-radius: 6px;
  display: block;
  height: 72px;
  max-width: min(62vw, 440px);
  object-fit: contain;
  object-position: left center;
  width: auto;
}

.brand-mark {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(36, 73, 143, .18);
  border-radius: 8px;
  color: var(--accent-dark);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.footer-logo {
  border-radius: 6px;
  display: block;
  max-height: 58px;
  max-width: min(100%, 360px);
  object-fit: contain;
  object-position: left center;
}

.navbar-brand {
  color: var(--ink);
  flex-shrink: 0;
  margin-right: clamp(.5rem, 1.8vw, 1.4rem);
  padding-block: 0;
}

.nav-link {
  align-items: center;
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 700;
  min-height: 42px;
  padding: .55rem .9rem;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(36, 73, 143, .08);
  color: var(--accent-dark);
}

.site-navbar .container {
  align-items: center;
  gap: 1rem;
}

.navbar-toggler {
  border: 1px solid rgba(23, 37, 77, .12);
  border-radius: 14px;
  padding: .55rem .75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(36, 73, 143, .12);
}

.navbar-collapse {
  align-items: center;
  position: relative;
}

.nav-action-list {
  gap: .55rem;
}

.nav-utility-link,
.nav-auth-link,
.nav-primary-link,
.nav-account-submit {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: .58rem 1rem;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.nav-utility-link,
.nav-auth-link,
.nav-account-submit {
  background: rgba(23, 37, 77, .045);
  border: 1px solid transparent;
  color: var(--ink);
}

.nav-utility-link:hover,
.nav-utility-link:focus-visible,
.nav-auth-link:hover,
.nav-auth-link:focus-visible,
.nav-account-submit:hover,
.nav-account-submit:focus-visible {
  background: #fff;
  border-color: rgba(23, 37, 77, .10);
  box-shadow: var(--shadow-sm);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.nav-icon-link {
  gap: .45rem;
}

.nav-action-icon {
  font-size: 1rem;
  line-height: 1;
}

.nav-action-label {
  white-space: nowrap;
}

.nav-primary-link {
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 10px 24px rgba(36, 73, 143, .18);
  color: #fff;
}

.nav-primary-link:hover,
.nav-primary-link:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.nav-account-form {
  display: flex;
}

.nav-account-submit {
  font-family: inherit;
}

.navbar-search-shell {
  flex: 0 1 0;
  justify-content: center;
  min-width: 0;
  max-width: 0;
  opacity: 0;
  overflow: clip;
  pointer-events: none;
  transform: translateY(-8px);
  transition: max-width .24s ease, opacity .22s ease, transform .22s ease;
}

.product-list-page.nav-search-active .navbar-search-shell {
  flex: 1 1 auto;
  max-width: 640px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.navbar-product-search {
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(23, 37, 77, .12);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: .5rem;
  max-width: 600px;
  padding: .35rem .4rem .35rem .85rem;
  position: relative;
  width: min(100%, 600px);
}

.navbar-product-search .form-control,
.search-input-shell .form-control {
  background: transparent;
}

.navbar-search-icon,
.search-input-icon {
  color: var(--accent-dark);
  display: inline-flex;
  font-size: 1rem;
}

.btn-accent {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--accent-dark);
  --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-hover-color: #fff;
}

/* Outlined variant used for secondary-but-deliberate customer actions such as
   "Call to check availability" on enquiry-only products. Bootstrap has no
   outline-accent utility, so the button variables are supplied here. */
.btn-outline-accent {
  --bs-btn-color: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent);
  --bs-btn-hover-border-color: var(--accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--accent-dark);
  --bs-btn-active-border-color: var(--accent-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-focus-shadow-rgb: 36, 73, 143;
  font-weight: 700;
}

/* Single-action "call to check" CTA used when a product cannot be bought
   online. Sized down from btn-lg so the label stays on one line on phones
   while the padding keeps a thumb-sized target. */
.product-call-cta {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
  padding-block: .72rem;
  padding-inline: 1rem;
}

/* Smallest phones: trim type and side padding so the label still fits one line. */
@media (max-width: 380px) {
  .product-call-cta {
    font-size: .94rem;
    padding-inline: .5rem;
  }
}

.product-call-hint {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}

.product-call-hint a {
  font-weight: 700;
}

/* The product page carries a buy block and an enquiry block; exactly one is
   visible. `hidden` alone is not enough because Bootstrap display utilities and
   the flex rules below would override the `display: none` it implies. */
.product-actions[hidden] {
  display: none !important;
}

.text-accent {
  color: var(--accent);
}

.cart-pill {
  gap: .35rem;
  min-height: 42px;
  padding-inline: 1rem;
}

.nav-count-badge {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 800;
  justify-content: center;
  min-width: 1.6rem;
  padding: .4rem .46rem;
}

.page-shell {
  min-height: 72vh;
  padding-top: 2rem;
}

.messages {
  margin-bottom: 1rem;
}

.kicker {
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.section-header {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

/* "See more" affordance for section headers. A text link with an arrow reads
   far lighter than an outlined button repeated down a long page, and it keeps
   the heading row compact. Genuine actions ("Continue shopping", "Open in
   Google Maps") deliberately stay as buttons in the same slot. */
.section-header-link {
  align-items: center;
  color: var(--accent-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .9rem;
  font-weight: 650;
  gap: .4rem;
  text-decoration: none;
  white-space: nowrap;
}

.section-header-link i {
  font-size: .85em;
  transition: transform var(--motion-fast) var(--ease-soft);
}

.section-header-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.section-header-link:hover i {
  transform: translateX(3px);
}

.section-header-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.brand-hero {
  background-image: linear-gradient(100deg, rgba(7, 14, 28, .82) 0%, rgba(7, 14, 28, .58) 38%, rgba(7, 14, 28, .12) 70%, rgba(7, 14, 28, 0) 100%), var(--hero-image);
  background-position: center 38%;
  background-size: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  min-height: clamp(460px, 52vw, 600px);
  overflow: visible;
  padding: 0 clamp(1.5rem, 5vw, 3.5rem);
  position: relative;
}

.brand-hero-inner {
  align-items: center;
  display: flex;
  height: 100%;
  min-height: inherit;
  position: relative;
  z-index: 2;
}

.brand-hero-content {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 720px;
  width: 100%;
}

.hero-eyebrow {
  align-items: center;
  align-self: flex-start;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  gap: .45rem;
  letter-spacing: .06em;
  padding: .42rem .85rem;
  text-transform: uppercase;
}

.hero-headline {
  color: #fff;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0;
}

.hero-lead {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  margin: 0;
  max-width: 480px;
}

.hero-search {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  display: flex;
  gap: .5rem;
  margin-top: .35rem;
  max-width: 720px;
  padding: .3rem .3rem .3rem .95rem;
  position: relative;
  transition: box-shadow .18s ease, transform .18s ease;
  width: 100%;
}

.hero-search:focus-within {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 18px 40px rgba(0, 0, 0, .22);
}

.hero-search.is-expanded {
  box-shadow: 0 22px 46px rgba(0, 0, 0, .24);
}

.hero-search-icon {
  color: var(--accent);
  display: inline-flex;
  font-size: 1.05rem;
}

.hero-search-input {
  background: transparent;
  border: 0;
  color: var(--ink);
  flex: 1 1 auto;
  font-family: inherit;
  font-size: 1rem;
  min-height: 46px;
  min-width: 0;
  outline: none;
  padding: 0 .15rem;
}

.hero-search-input::placeholder {
  color: rgba(102, 112, 133, .85);
}

.hero-search-button {
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  min-height: 46px;
  padding: 0 1.45rem;
  transition: background-color .16s ease, transform .16s ease;
}

.hero-search-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: .95rem;
  transition: opacity .18s ease;
}

.hero-link {
  align-items: center;
  color: rgba(255, 255, 255, .92);
  display: inline-flex;
  font-weight: 700;
  gap: .25rem;
  text-decoration: none;
  transition: color .16s ease;
}

.hero-link:hover {
  color: #fff;
  text-decoration: underline;
}

.hero-call-link {
  align-items: center;
  background: rgba(255, 255, 255, .15);
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 2rem;
  gap: .5rem;
  justify-content: center;
  padding: .55rem 1.25rem;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease;
}

.hero-call-link:hover,
.hero-call-link:focus-visible {
  background: rgba(255, 255, 255, .25);
  border-color: #fff;
}

.hero-call-link .bi {
  font-size: 1.1rem;
}

.hero-meta {
  color: rgba(255, 255, 255, .8);
  display: flex;
  flex-wrap: wrap;
  font-size: .88rem;
  font-weight: 600;
  gap: .35rem 1.5rem;
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
  transition: opacity .18s ease;
}

.hero-meta li {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
}

.hero-meta i {
  color: rgba(255, 255, 255, .65);
}

.search-suggestions {
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(23, 37, 77, .12);
  border-radius: 18px;
  color: var(--ink);
  box-shadow: 0 24px 50px rgba(9, 19, 41, .24);
  left: 0;
  margin-top: .55rem;
  max-height: 332px;
  overflow: auto;
  padding: .3rem;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 30;
}

.search-suggestions[hidden] {
  display: none !important;
}

.search-suggestion {
  align-items: center;
  border-radius: 14px;
  color: inherit;
  display: flex;
  gap: .85rem;
  justify-content: space-between;
  padding: .7rem .8rem;
  text-decoration: none;
  transition: background-color .16s ease, transform .16s ease;
}

.search-suggestion:hover,
.search-suggestion.is-active,
.search-suggestion:focus-visible {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.search-suggestion:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.search-suggestion-copy {
  display: grid;
  gap: .15rem;
  min-width: 0;
}

.search-suggestion-label {
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.3;
}

.search-suggestion-meta {
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.35;
}

.search-suggestion-type {
  background: #fff;
  border: 1px solid rgba(23, 37, 77, .10);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .03em;
  padding: .25rem .5rem;
  text-transform: uppercase;
}

.search-suggestion-empty {
  color: var(--muted);
  padding: .95rem;
  text-align: center;
}

.search-suggestions-navbar {
  border-radius: 18px;
  left: .25rem;
  margin-top: .5rem;
  right: .25rem;
}

.hero-logo {
  background: rgba(255, 255, 255, .96);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
  display: block;
  margin-bottom: 1.25rem;
  max-height: 86px;
  max-width: min(100%, 440px);
  object-fit: contain;
  padding: .65rem .8rem;
}

.text-white-75 {
  color: rgba(255, 255, 255, .78);
}

.navbar-product-search:focus-within {
  border-color: rgba(36, 73, 143, .35);
  box-shadow: 0 0 0 4px rgba(36, 73, 143, .10), var(--shadow-sm);
}

.navbar-product-search .form-control {
  color: var(--ink);
  flex: 1 1 auto;
  font-size: .98rem;
  min-width: 0;
}

.navbar-product-search .btn {
  font-weight: 700;
  min-width: 132px;
}

.hero-stat {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(23, 37, 77, .10);
  border-radius: 8px;
  padding: .8rem .95rem;
}

.purchase-panel,
.summary-panel,
.auth-panel,
.order-card,
.checkout-panel {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.checkout-panel,
.auth-panel,
.summary-panel,
.purchase-panel {
  padding: 1.25rem;
}

.location-map-card {
  background:
    linear-gradient(160deg, rgba(36, 73, 143, .08), rgba(255, 255, 255, .96) 45%),
    rgba(255, 255, 255, .96);
  border: 1px solid rgba(23, 37, 77, .10);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 1rem;
}

.location-map-card-compact {
  padding: .9rem;
}

.checkout-location-map {
  margin-top: .35rem;
}

/* Tonal surface instead of the 45-degree stripe pattern. The stripes read as a
   broken-image placeholder from a decade ago; this is a calm loading surface
   that matches the category-tile fallback. (The stripes on .shop-photo-carousel
   / .shop-photo-placeholder are a separate, deliberate choice — left alone.) */
.location-map-frame {
  background:
    radial-gradient(120% 120% at 22% 8%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(150deg, #eef3fa 0%, #e4ebf4 55%, #dde5f0 100%);
  border: 1px solid rgba(23, 37, 77, .10);
  border-radius: 12px;
  overflow: hidden;
}

.location-map-frame iframe {
  aspect-ratio: 16 / 10;
  border: 0;
  display: block;
  width: 100%;
}

.location-map-placeholder {
  align-items: center;
  aspect-ratio: 16 / 10;
  display: grid;
  min-height: 320px;
  padding: clamp(1.25rem, 4vw, 2rem);
  text-align: center;
  width: 100%;
}

.location-map-placeholder-body {
  display: grid;
  gap: .85rem;
  justify-items: center;
  max-width: 24rem;
  width: 100%;
}

/* Find-us section on product list page */
.find-us-section {
  padding-bottom: 2.5rem;
}

.find-us-map {
  height: 100%;
  min-height: 320px;
  /* Positioned so the absolutely-positioned iframe below has a definite
     containing block — see the note on .find-us-map iframe. */
  position: relative;
}

.find-us-map .location-map-placeholder {
  height: 100%;
}

/* A percentage height only resolves against a DEFINITE parent height. This
   frame is sized by min-height, so `height: 100%` silently fell back to the
   browser's 150px iframe default and the map collapsed to a thin strip on
   desktop (mobile looked fine only because a media query gave it an
   aspect-ratio). Absolute positioning against the frame always resolves. */
.find-us-map iframe {
  aspect-ratio: unset;
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

/* ── Responsive Find Us carousel ── */
.find-us-responsive .carousel-item {
  min-height: 320px;
}

.find-us-responsive .location-map-frame {
  height: 100%;
  min-height: 320px;
}

/* Desktop: show all slides as a map + photos + details row.
   Keyed off a class rather than an element id so the section can be reused
   on more than one page. */
@media (min-width: 992px) {
  .find-us-responsive .find-us-carousel > .carousel-inner {
    display: flex;
    gap: 1.5rem;
  }

  .find-us-responsive .find-us-carousel > .carousel-inner > .carousel-item {
    display: block;
    margin-right: 0;
    flex: 0 0 auto;
  }

  .find-us-responsive .find-us-carousel > .carousel-inner > .carousel-item:nth-child(1) {
    width: calc(41.666% - 1rem);
  }

  .find-us-responsive .find-us-carousel > .carousel-inner > .carousel-item:nth-child(2) {
    width: calc(33.333% - 1rem);
  }

  .find-us-responsive .find-us-carousel > .carousel-inner > .carousel-item:nth-child(3) {
    width: 25%;
  }

  .find-us-responsive .find-us-carousel > .carousel-control-prev,
  .find-us-responsive .find-us-carousel > .carousel-control-next,
  .find-us-responsive .find-us-carousel > .carousel-indicators {
    display: none;
  }
}

/* ── Shop photo carousel ── */
.shop-photo-carousel {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(36, 73, 143, .12), rgba(255, 255, 255, .65)),
    repeating-linear-gradient(45deg, #f3f6fa 0 14px, #ecf1f6 14px 28px);
  border: 1px solid rgba(23, 37, 77, .10);
}

.shop-photo-carousel .carousel-inner,
.shop-photo-carousel .carousel-item {
  height: 100%;
}

.shop-photo-carousel img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.shop-photo-placeholder {
  border-radius: 12px;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(36, 73, 143, .12), rgba(255, 255, 255, .65)),
    repeating-linear-gradient(45deg, #f3f6fa 0 14px, #ecf1f6 14px 28px);
  border: 1px solid rgba(23, 37, 77, .10);
}

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Wide screens: five cards per row. auto-fill alone tops out at four 250px
   columns inside the page container, so the tracks are pinned explicitly once
   the container is wide enough to fit five cards at a comfortable ~200px. */
@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Product card
   ------------------------------------------------------------------------
   Layout: a 1:1 image on top, then category / name / price / one primary
   action. The image is `contain` on white so studio photography is never
   cropped, and the frame keeps its 1:1 ratio at every width so grid rows stay
   even regardless of each photo's own aspect ratio.
   ========================================================================== */
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: transform var(--motion-base) var(--ease-out), box-shadow var(--motion-base) var(--ease-out), border-color var(--motion-base) var(--ease-out);
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(36, 73, 143, .28);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-card:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Image ------------------------------------------------------------- */
.product-image,
.detail-image {
  aspect-ratio: 1 / 1;
  background: #fff;
  color: var(--accent-dark);
  display: grid;
  font-weight: 800;
  overflow: hidden;
  place-items: center;
  position: relative;
  text-align: center;
  text-decoration: none;
}

.product-image img,
.detail-image img {
  /* A small inset keeps the product clear of the frame edge, the way most
     storefronts present catalogue photography. */
  height: 100%;
  object-fit: contain;
  padding: 6%;
  width: 100%;
}

/* Grid cards get a tighter inset: with five cards per row the frame is
   smaller, so a 6% inset costs more of the product's on-screen size. */
.product-card .product-image img {
  padding: 4%;
}

/* The card photo is cropped to 4:3 instead of 1:1. Square frames made every
   card ~25% taller than its content needed; catalogue shots are centred, so
   `contain` keeps the whole product visible and the frame simply carries less
   empty space above and below. */
.product-card .product-image {
  aspect-ratio: 4 / 3;
}

.cart-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* No photograph yet — fill the tile so it does not read as an empty box. */
.product-image-fallback {
  align-items: center;
  background: var(--accent-soft);
  display: grid;
  height: 100%;
  padding: 1rem;
  place-items: center;
  width: 100%;
}

/* ---- Availability flag ------------------------------------------------- */
.product-flag {
  backdrop-filter: blur(4px);
  border-radius: var(--radius-pill);
  font-size: .64rem;
  font-weight: 750;
  letter-spacing: .02em;
  padding: .22rem .5rem;
  position: absolute;
  right: .5rem;
  top: .5rem;
  z-index: 2;
}

.product-flag--in {
  background: rgba(255, 255, 255, .92);
  color: #146c43;
}

/* Priced and in stock, but at or below the low-stock threshold. Amber reads as
   "act now" without the alarm of a red/white out-of-stock pill. */
.product-flag--low {
  background: rgba(255, 248, 235, .95);
  color: #7a4b00;
}

/* "Enquire" is a COMMERCIAL label, not "sold out". It covers both a withheld
   price (deliberate anti-undercutting policy) and missing stock, because both
   end in the same customer action: call the store. */
.product-flag--enquire {
  background: rgba(23, 37, 77, .86);
  color: #fff;
}

.product-detail-image {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: grid;
  max-width: 100%;
  overflow: hidden;
  place-items: center;
  width: 100%;
}

.product-detail-image img {
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.product-detail-layout > [class*='col-'] {
  min-width: 0;
}

.product-detail-image--placeholder {
  color: var(--accent-dark);
  font-weight: 800;
  text-align: center;
}

.product-media-shell {
  display: grid;
  gap: .8rem;
}

.product-media-stage {
  border-radius: 12px;
  overflow: hidden;
}

.product-media-frame video {
  display: block;
  object-fit: cover;
}

.product-audio-stage {
  align-items: center;
  display: grid;
  gap: .8rem;
  justify-items: center;
  padding: clamp(1.25rem, 4vw, 2rem);
  text-align: center;
  width: 100%;
}

.product-media-pill {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(36, 73, 143, .16);
  border-radius: 999px;
  color: var(--accent-dark);
  display: inline-flex;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  min-height: 32px;
  padding: .4rem .7rem;
  text-transform: uppercase;
}

.product-media-thumb-grid {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
}

.product-media-thumb {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 84px;
  overflow: hidden;
  padding: 0;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-media-thumb.active,
.product-media-thumb:hover,
.product-media-thumb:focus-visible {
  border-color: rgba(36, 73, 143, .30);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.product-media-thumb img {
  display: block;
  height: 84px;
  object-fit: cover;
  width: 100%;
}

.product-media-thumb-icon {
  align-items: center;
  color: var(--accent-dark);
  display: grid;
  gap: .3rem;
  height: 84px;
  justify-items: center;
  width: 100%;
}

.product-media-thumb-icon i {
  font-size: 1.15rem;
}

.product-media-thumb-icon small {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .2rem;
  padding: .55rem .65rem .6rem;
}

.product-eyebrow {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  /* One line only. A category name that wraps ("Housepaint & Accessories")
     would otherwise make that card taller and break the row alignment. */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-title {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  /* Reserve two lines so a one-line and a two-line name occupy the same space
     and every card in a row ends level. Paired with the line clamp below. */
  display: -webkit-box;
  min-height: 2.6em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a {
  color: var(--ink);
  text-decoration: none;
}

.product-title a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.product-title a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-body a:not(.btn),
.order-card a:not(.btn) {
  color: inherit;
  text-decoration: none;
}

.product-body a:not(.btn):hover,
.order-card a:not(.btn):hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

.product-body a:not(.btn):focus-visible,
.order-card a:not(.btn):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Price and action are pinned to the bottom so cards align across a row. */
.product-foot {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: auto;
  padding-top: .25rem;
}

.product-price {
  margin: 0;
}

/* Card price — scoped to the card so the larger product-detail price
   (.product-price-amount at 2rem) is unaffected. */
.product-card .product-price-amount {
  color: var(--ink);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.product-price-enquiry {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.25;
}

.product-card-actions {
  display: block;
}

.product-card-actions form {
  display: block;
  margin: 0;
}

.product-cta {
  align-items: center;
  display: inline-flex;
  font-size: .8rem;
  font-weight: 700;
  gap: .35rem;
  justify-content: center;
  min-height: 34px;
  padding: .3rem .75rem;
  width: 100%;
}

.product-cta i {
  font-size: .95rem;
}

.stock-badge,
.status-badge {
  border-radius: 999px;
  font-weight: 750;
  padding: .42rem .66rem;
  white-space: nowrap;
}

.stock-in {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.stock-low {
  background: var(--warning-soft);
  color: #8a5a00;
}

.stock-out,
.status-cancelled {
  background: var(--danger-soft);
  color: #9f1f1f;
}

.status-pending {
  background: var(--warning-soft);
  color: #8a5a00;
}

.status-ready {
  background: #e1effe;
  color: #174ea6;
}

.status-completed {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* --------------------------------------------------------------------------
   Product Detail — Price & Option Selector (redesigned)
   -------------------------------------------------------------------------- */
.product-price-block {
  align-items: baseline;
  display: flex;
  gap: .65rem;
}

.product-price-amount {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.option-selector-list {
  display: grid;
  gap: .55rem;
}

.option-selector-row {
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  gap: .75rem;
  grid-template-columns: auto 1fr auto auto;
  padding: .8rem .9rem;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.option-selector-row:hover {
  border-color: var(--accent);
  background: rgba(15, 118, 110, .04);
}

.option-selector-row:has(input:checked) {
  border-color: var(--accent);
  background: rgba(15, 118, 110, .08);
  box-shadow: 0 0 0 1.5px var(--accent);
}

.option-selector-row.is-disabled {
  cursor: not-allowed;
  opacity: .5;
}

.option-selector-row.is-disabled:hover {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: none;
}

.option-selector-label {
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.option-selector-compare {
  color: var(--muted);
  font-size: .9rem;
  text-decoration: line-through;
  white-space: nowrap;
}

.option-selector-price {
  font-size: .95rem;
  font-weight: 750;
  white-space: nowrap;
}

.option-selector-stock {
  font-size: .8rem;
  font-weight: 600;
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .product-price-amount {
    font-size: 1.6rem;
  }

  .option-selector-row {
    grid-template-columns: auto 1fr auto;
    gap: .45rem;
    padding: .65rem .7rem;
  }

  .option-selector-label {
    font-size: .88rem;
  }

  .option-selector-price {
    font-size: .88rem;
    grid-column: 2;
  }

  .option-selector-stock {
    font-size: .75rem;
    grid-column: 2 / -1;
    justify-self: start;
  }
}

/* ---- Dropdown variant picker ---- */
/* Flex grid rather than a fixed 2-column row: every option shares the row
   evenly, so two options give two columns and three give three. This removes
   the half-width orphan the old .col-md-6 grid left behind, and collapses to
   one full-width column on phones. */
.variant-picker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1rem;
}

.variant-select-group {
  flex: 1 1 100%;
  min-width: 0;
}

@media (min-width: 576px) {
  .variant-select-group {
    flex: 1 1 8.5rem;
  }

  /* With three or more options a lone item on the last row would otherwise
     stretch to the full column width and look like a different kind of field.
     Capping it keeps every select in the group the same width. Scoped to
     >=576px so phones keep the single full-width column. */
  .variant-picker-grid--multi .variant-select-group {
    max-width: calc(50% - .5rem);
  }
}

/* Android-style select: a 48px touch target with a generous radius and roomy
   padding. The right padding leaves clearance for Bootstrap's caret glyph. */
.variant-select {
  background-position: right .65rem center;
  background-size: 14px 11px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  max-width: 100%;
  min-height: 48px;
  min-width: 0;
  /* Right padding clears the caret glyph (10.4px offset + 14px) with room to
     spare, while leaving the widest option value as much text width as
     possible in the narrowest 3-up column. */
  padding: .6rem 2rem .6rem .75rem;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.variant-select:active {
  background-color: var(--surface);
}

.variant-select:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.variant-stock-badge {
  font-size: .875rem;
}

.variant-stock-badge .bi {
  font-size: .9rem;
}

@media (max-width: 575.98px) {
  .variant-stock-badge {
    font-size: .8rem;
  }
}

/* ---- Legacy variant styles (kept for backward compat) ---- */
.variant-list {
  display: grid;
  gap: .65rem;
}

.variant-fieldset {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.variant-selection-summary {
  align-items: center;
  background: linear-gradient(180deg, rgba(15, 118, 110, .08), rgba(15, 118, 110, .03));
  border: 1px solid rgba(15, 118, 110, .16);
  border-radius: 12px;
  display: grid;
  gap: .85rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: .9rem;
  padding: .85rem .95rem;
}

.variant-selection-copy {
  display: grid;
  gap: .2rem;
  min-width: 0;
}

.variant-selection-label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.variant-selection-name {
  min-width: 0;
}

.variant-selection-meta {
  align-items: end;
  display: grid;
  gap: .45rem;
  justify-items: end;
}

.variant-selection-price {
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.variant-option {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: .75rem;
  grid-template-columns: auto minmax(0, 1fr);
  padding: .7rem .8rem;
}

.variant-option-line {
  align-items: center;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-width: 0;
}

.variant-option-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.variant-option-price-group {
  align-items: baseline;
  display: inline-flex;
  gap: .45rem;
  justify-self: end;
  white-space: nowrap;
}

.variant-option-compare {
  color: var(--muted);
  font-size: .88rem;
  text-decoration: line-through;
}

.variant-option-price {
  font-weight: 750;
  white-space: nowrap;
}

.variant-option-status {
  justify-self: end;
}

@media (max-width: 575.98px) {
  .variant-selection-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .variant-selection-meta {
    justify-items: start;
  }

  .variant-option-line {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .variant-option-name {
    white-space: normal;
  }

  .variant-option-status {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.quantity-col {
  width: 220px;
}

.qty-stepper {
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  width: fit-content;
}

.qty-stepper-btn {
  background: var(--surface);
  border: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
  min-width: 48px;
  padding: .65rem 1rem;
  transition: background .15s ease;
}

.qty-stepper-btn:hover {
  background: var(--surface-strong);
}

.qty-stepper-input {
  align-items: center;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  min-width: 56px;
  padding: .65rem .75rem;
  text-align: center;
  -moz-appearance: textfield;
}

.qty-stepper-input::-webkit-inner-spin-button,
.qty-stepper-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-stepper--updating {
  opacity: .55;
  pointer-events: none;
  transition: opacity .15s ease;
}

.qty-stepper-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.qty-stepper-btn:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: .45;
}

.cart-thumb {
  border-radius: 8px;
  flex: 0 0 72px;
  height: 72px;
  width: 72px;
}

.summary-panel.sticky-summary {
  top: 96px;
}

.stepper {
  counter-reset: step;
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 1.25rem;
}

.stepper span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  font-size: .9rem;
  font-weight: 700;
  gap: .5rem;
  padding: .65rem .75rem;
}

.stepper span::before {
  align-items: center;
  background: var(--surface-strong);
  border-radius: 999px;
  color: var(--ink);
  content: counter(step);
  counter-increment: step;
  display: inline-flex;
  flex: 0 0 24px;
  font-size: .78rem;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.stepper .active {
  border-color: rgba(15, 118, 110, .35);
  color: var(--accent-dark);
}

.stepper .active::before {
  background: var(--accent);
  color: #fff;
}

.auth-panel {
  max-width: 500px;
}

.checkout-form label,
.auth-panel label {
  display: block;
  font-weight: 700;
  margin-bottom: .35rem;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.auth-panel input {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  padding: .72rem .85rem;
  width: 100%;
}

.checkout-form p,
.auth-panel p {
  margin-bottom: 1rem;
}

.helptext,
.auth-panel ul {
  color: var(--muted);
  display: block;
  font-size: .82rem;
  margin-top: .35rem;
}

.errorlist {
  color: #b42318;
  font-size: .9rem;
  list-style: none;
  margin: .25rem 0 .5rem;
  padding-left: 0;
}

.checkout-field,
.auth-field {
  display: grid;
  gap: .35rem;
}

.checkout-field.has-error label,
.auth-field.has-error label {
  color: #8f1d18;
}

.checkout-form .form-control.is-invalid,
.checkout-form .form-select.is-invalid,
.auth-panel .form-control.is-invalid,
.auth-panel .form-select.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 .2rem rgba(180, 35, 24, .12);
}

.checkout-error,
.auth-error {
  background: rgba(180, 35, 24, .08);
  border: 1px solid rgba(180, 35, 24, .18);
  border-radius: 8px;
  margin: 0;
  padding: .55rem .75rem;
}

/* Payment method selector cards */
.payment-method-selector {
  display: grid;
  gap: .75rem;
}

.payment-method-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  border: 2px solid #d8dee7;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  transition: border-color .2s, background-color .2s;
  margin: 0;
}

.payment-method-card:hover {
  border-color: #a5b1c2;
  background-color: #f7f8fb;
}

.payment-method-card:has(input:checked),
.payment-method-card.active {
  border-color: #183972;
  background-color: #eef3f9;
}

.payment-method-card input[type="radio"] {
  margin-top: .15rem;
  accent-color: #183972;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.payment-method-content {
  display: grid;
  gap: .2rem;
}

.payment-method-label {
  font-weight: 600;
  color: #17254d;
  font-size: .95rem;
}

.payment-method-desc {
  font-size: .82rem;
  color: #667085;
  line-height: 1.5;
}

/* Payment redirect card */
.payment-redirect-card {
  border: 2px solid #d8dee7;
  border-radius: 16px;
  background: #fff;
}

/* Paid status badge */
.status-badge.status-paid {
  background: #d1f7e5;
  color: #0b6e4f;
  font-size: .82rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 6px;
}

.order-timeline {
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(3, 1fr);
}

.order-timeline span {
  background: var(--surface);
  border-radius: 8px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 750;
  padding: .65rem;
  text-align: center;
}

.order-timeline .active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.empty-state {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

/* Infinite scroll sentinel */
.product-scroll-sentinel {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: 1rem 0;
  color: var(--muted);
  font-size: .9rem;
}

.site-footer {
  background: #fff;
}

.footer-heading {
  font-weight: 800;
  margin-bottom: .75rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Heritage + credit strip -------------------------------------------- */
/* Sits below the link columns, separated by a hairline. The separators between
   the heritage phrases are drawn in CSS rather than typed as characters so a
   screen reader reads three clean phrases instead of announcing "middle dot"
   between each one. */
.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.75rem;
  justify-content: space-between;
  margin-top: 2.75rem;
  padding-top: 1.6rem;
}

.footer-credits {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-credits li {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: .85rem;
  font-weight: 600;
}

.footer-credits li + li::before {
  background: rgba(23, 37, 77, .22);
  border-radius: 1px;
  content: '';
  height: 14px;
  margin: 0 .85rem;
  width: 1px;
}

.footer-powered {
  color: var(--muted);
  font-size: .8rem;
  margin: 0;
}

/* Credit link inherits the muted strip's tone but uses the brand accent and
   a heavier weight so it still reads as an interactive credit rather than
   body copy. Underline behaviour comes from the shared `.site-footer a` rules. */
.footer-powered a {
  color: var(--accent);
  font-weight: 600;
}

/* Stacked below 576px: each phrase is long enough to occupy its own line, and
   a wrapped line would otherwise begin with a stray separator. `align-items:
   flex-start` is required — the base rule centres each `<li>`, which reads as
   misaligned against the left-aligned link columns above. */
@media (max-width: 575.98px) {
  .footer-bottom {
    align-items: flex-start;
  }

  .footer-credits {
    align-items: flex-start;
    flex-direction: column;
    gap: .3rem;
  }

  .footer-credits li + li::before {
    display: none;
  }
}

.brand-carousel-section {
  position: relative;
}

.brand-carousel-header,
.brand-carousel {
  position: relative;
  z-index: 1;
}

.brand-carousel {
  padding-inline: .15rem;
}

.brand-carousel-header {
  margin-bottom: 1rem;
}

.brand-carousel-lead {
  color: var(--muted);
  line-height: 1.65;
  max-width: 720px;
}

.brand-carousel-meta {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.brand-carousel-meta-pill {
  align-items: center;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(36, 73, 143, .12);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
  color: var(--accent-dark);
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  gap: .45rem;
  min-height: 36px;
  padding: .45rem .78rem;
}

.brand-carousel-slide-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: .1rem .05rem;
}

.brand-carousel-slide-grid-secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-carousel .carousel-inner {
  perspective: 1400px;
}

.brand-carousel .carousel-item {
  position: relative;
}

.brand-mini-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(36, 73, 143, .12);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: .8rem .95rem;
  position: relative;
  text-align: center;
  transform-origin: center bottom;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.brand-mini-card::before {
  display: none;
}

.brand-mini-card::after {
  display: none;
}

.brand-mini-card-automotive::before {
  background: linear-gradient(135deg, var(--brand-tint), rgba(255, 255, 255, 0));
}

.brand-mini-card-home::before {
  background: linear-gradient(135deg, var(--brand-tint), rgba(255, 255, 255, 0));
}

.brand-mini-card:hover {
  border-color: rgba(36, 73, 143, .28);
  box-shadow: 0 18px 32px rgba(15, 23, 42, .12);
  transform: translateY(-1px);
}

.brand-mini-card:hover::before {
  display: none;
}

.brand-carousel .carousel-item.active .brand-mini-card {
  animation: palette-card-rise .72s cubic-bezier(.22, 1, .36, 1) both;
}

.brand-carousel .carousel-item.active .brand-mini-card:nth-child(2) {
  animation-delay: .08s;
}

.brand-carousel .carousel-item.active .brand-mini-card:nth-child(3) {
  animation-delay: .16s;
}

.brand-carousel .carousel-item.active .brand-mini-card:nth-child(4) {
  animation-delay: .24s;
}

.brand-carousel .carousel-item.active .brand-mini-card::after {
  animation: palette-strip-sweep 1.25s cubic-bezier(.16, 1, .3, 1) both;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .86) 48%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(90deg, #82badf 0 18%, #9fd8b7 18% 36%, #f3dd77 36% 54%, #f1b26b 54% 72%, #e08b8a 72% 88%, #c97a96 88% 100%);
  background-size: 210% 100%, 100% 100%;
}

.brand-carousel .carousel-item.active .brand-mini-name {
  animation: palette-name-settle .68s cubic-bezier(.22, 1, .36, 1) both;
}

.brand-mini-card > * {
  position: relative;
  z-index: 1;
}

.brand-logo-tile {
  --brand-logo-scale: 1;
  background: #fff;
  border: 1px solid rgba(36, 73, 143, .12);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
  min-height: 92px;
  overflow: hidden;
  padding: .56rem .68rem;
}

.brand-logo-tile:hover {
  background: #fff;
  border-color: rgba(36, 73, 143, .24);
  box-shadow: 0 18px 32px rgba(15, 23, 42, .12);
  transform: translateY(-1px);
}

.brand-logo-image {
  display: block;
  height: auto;
  margin-inline: auto;
  max-height: 84px;
  max-width: 100%;
  object-fit: contain;
  transform: scale(var(--brand-logo-scale));
  transform-origin: center center;
  width: 100%;
}

.brand-logo-image-tall {
  max-height: 90px;
}

.brand-logo-image-axalta {
  --brand-logo-scale: 1.9;
}

.brand-logo-image-crc {
  --brand-logo-scale: 1.4;
}

.brand-logo-image-evacut {
  --brand-logo-scale: 1.1;
}

.brand-logo-image-resene {
  --brand-logo-scale: 1.15;
}

.brand-logo-image-saint-gobain {
  --brand-logo-scale: 1.1;
}

.brand-logo-image-ppg {
  --brand-logo-scale: 1.1;
}

.brand-logo-image-canda {
  --brand-logo-scale: 1.1;
}

.brand-mini-card-featured {
  background: linear-gradient(145deg, rgba(36, 73, 143, .95), rgba(24, 57, 114, .98));
  border-color: rgba(24, 57, 114, .55);
  color: #fff;
}

.brand-mini-card-featured::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));
}

.brand-mini-card-featured-soft {
  background: linear-gradient(145deg, #e9f3ff, #ffffff);
}

.brand-mini-name {
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.05;
  margin: 0;
  color: var(--brand-accent-color);
}

/* --------------------------------------------------------------------------
   About Page — Hero
   -------------------------------------------------------------------------- */
.about-hero {
  background-image: linear-gradient(100deg, rgba(7, 14, 28, .72) 0%, rgba(7, 14, 28, .48) 38%, rgba(7, 14, 28, .08) 70%, rgba(7, 14, 28, 0) 100%), var(--about-hero-image);
  background-position: center 40%;
  background-size: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  min-height: clamp(340px, 38vw, 460px);
  overflow: hidden;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  position: relative;
}

.about-hero--placeholder {
  background:
    linear-gradient(135deg, rgba(36, 73, 143, .18), rgba(255, 255, 255, .65)),
    repeating-linear-gradient(45deg, #f0f3f8 0 16px, #e8ecf4 16px 32px);
}

.about-hero-inner {
  align-items: center;
  display: flex;
  height: 100%;
  min-height: inherit;
  position: relative;
  z-index: 2;
}

.about-hero-content {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  max-width: 640px;
  width: 100%;
}

.about-hero-headline {
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0;
}

.about-hero-lead {
  color: rgba(255, 255, 255, .84);
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  margin: 0;
  max-width: 480px;
}

.about-hero-badge {
  align-items: center;
  align-self: flex-start;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: .75rem;
  font-weight: 700;
  gap: .4rem;
  letter-spacing: .04em;
  margin-bottom: .25rem;
  padding: .38rem .78rem;
}

/* About-hero staggered entrance (mirrors brand-hero animation) */
.about-hero-content > .about-hero-badge,
.about-hero-content > .about-hero-headline,
.about-hero-content > .about-hero-lead {
  animation: tcs-hero-rise var(--motion-slow) var(--ease-out) both;
}

.about-hero-content > .about-hero-badge { animation-delay: 40ms; }
.about-hero-content > .about-hero-headline { animation-delay: 110ms; }
.about-hero-content > .about-hero-lead { animation-delay: 180ms; }

/* --------------------------------------------------------------------------
   Shop Gallery — Clean Grid
   -------------------------------------------------------------------------- */
.shop-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.shop-gallery-item {
  background: #fff;
  border: 1px solid rgba(23, 37, 77, .08);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
  cursor: pointer;
  display: grid;
  margin: 0;
  overflow: hidden;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.shop-gallery-item:hover,
.shop-gallery-item:focus-visible {
  border-color: rgba(36, 73, 143, .24);
  box-shadow: 0 22px 44px rgba(15, 23, 42, .14);
  transform: translateY(-2px);
}

.shop-gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.shop-gallery-item img {
  display: block;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  transition: transform .35s ease;
  width: 100%;
}

.shop-gallery-item:hover img {
  transform: scale(1.04);
}

.shop-gallery-caption {
  background: linear-gradient(180deg, transparent 0%, rgba(7, 14, 28, .72) 100%);
  bottom: 0;
  color: #fff;
  font-size: .84rem;
  font-weight: 650;
  left: 0;
  opacity: 0;
  padding: 1.6rem .95rem .8rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  transition: opacity .22s ease;
}

.shop-gallery-item:hover .shop-gallery-caption,
.shop-gallery-item:focus-visible .shop-gallery-caption {
  opacity: 1;
}

.shop-gallery-empty {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(36, 73, 143, .06), rgba(255, 255, 255, .5)),
    repeating-linear-gradient(45deg, #f5f7fa 0 12px, #eef1f6 12px 24px);
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  display: grid;
  gap: .65rem;
  justify-items: center;
  min-height: 200px;
  padding: 2rem;
  text-align: center;
  width: 100%;
}

.shop-gallery-empty i {
  color: var(--accent-dark);
  font-size: 2.2rem;
  opacity: .5;
}

/* --------------------------------------------------------------------------
   Gallery Lightbox
   -------------------------------------------------------------------------- */
.gallery-lightbox {
  align-items: center;
  background: rgba(7, 14, 28, .94);
  backdrop-filter: blur(14px);
  border: 0;
  display: flex;
  height: 100%;
  inset: 0;
  justify-content: center;
  padding: 1.5rem;
  position: fixed;
  width: 100%;
  z-index: 1055;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox:not([hidden]) {
  animation: lightbox-fade-in .22s ease both;
}

@keyframes lightbox-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.gallery-lightbox-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  max-height: 100%;
  max-width: 100%;
  position: relative;
}

.gallery-lightbox img {
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  display: block;
  max-height: 78vh;
  max-width: min(92vw, 1200px);
  object-fit: contain;
}

.gallery-lightbox-caption {
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
  font-weight: 600;
  max-width: min(92vw, 600px);
  text-align: center;
}

.gallery-lightbox-close {
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  gap: .35rem;
  justify-content: center;
  letter-spacing: .03em;
  padding: .5rem 1rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  transition: background .18s ease, border-color .18s ease;
  z-index: 10;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .35);
}

.gallery-lightbox-nav {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.2rem;
  height: 44px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background .18s ease, border-color .18s ease;
  width: 44px;
  z-index: 5;
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .28);
}

.gallery-lightbox-nav--prev {
  left: max(.75rem, calc((100vw - min(92vw, 1200px)) / 2 - 2.5rem));
}

.gallery-lightbox-nav--next {
  right: max(.75rem, calc((100vw - min(92vw, 1200px)) / 2 - 2.5rem));
}

@media (max-width: 767.98px) {
  .shop-gallery {
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero {
    min-height: clamp(260px, 42vw, 340px);
    border-radius: 12px;
  }

  .shop-gallery-caption {
    opacity: 1;
    padding: 1.15rem .8rem .65rem;
  }

  .shop-gallery-item {
    border-radius: 12px;
  }

  .about-hero-headline {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .gallery-lightbox {
    padding: .75rem;
  }

  .gallery-lightbox img {
    border-radius: 8px;
    max-height: 72vh;
    max-width: 96vw;
  }

  .gallery-lightbox-nav--prev {
    left: .45rem;
  }

  .gallery-lightbox-nav--next {
    right: .45rem;
  }

  .gallery-lightbox-close {
    right: .45rem;
    top: .45rem;
  }
}

.brand-mini-card-featured .brand-mini-name {
  color: #fff;
}

.brand-accent-sky {
  --brand-tint: rgba(112, 184, 222, .24);
  --brand-tint-strong: rgba(82, 158, 204, .7);
  --brand-accent-color: #245f8d;
}

.brand-accent-mint {
  --brand-tint: rgba(137, 201, 169, .24);
  --brand-tint-strong: rgba(89, 158, 124, .66);
  --brand-accent-color: #22644b;
}

.brand-accent-lemon {
  --brand-tint: rgba(241, 221, 111, .28);
  --brand-tint-strong: rgba(204, 176, 52, .72);
  --brand-accent-color: #8f7020;
}

.brand-accent-lilac {
  --brand-tint: rgba(191, 176, 223, .25);
  --brand-tint-strong: rgba(140, 118, 191, .7);
  --brand-accent-color: #695399;
}

.brand-accent-gold {
  --brand-tint: rgba(244, 187, 96, .25);
  --brand-tint-strong: rgba(214, 149, 48, .72);
  --brand-accent-color: #9b5e17;
}

.brand-accent-coral {
  --brand-tint: rgba(232, 140, 118, .24);
  --brand-tint-strong: rgba(203, 92, 69, .72);
  --brand-accent-color: #9b4939;
}

.brand-accent-berry {
  --brand-tint: rgba(194, 95, 120, .26);
  --brand-tint-strong: rgba(168, 69, 98, .72);
  --brand-accent-color: #8f3f57;
}

.brand-accent-sand {
  --brand-tint: rgba(232, 202, 135, .24);
  --brand-tint-strong: rgba(196, 154, 67, .66);
  --brand-accent-color: #876220;
}

.brand-accent-terracotta {
  --brand-tint: rgba(206, 131, 101, .25);
  --brand-tint-strong: rgba(171, 94, 64, .68);
  --brand-accent-color: #8d4330;
}

@keyframes palette-card-rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes palette-name-settle {
  from {
    letter-spacing: .02em;
    opacity: .55;
  }

  to {
    letter-spacing: -.015em;
    opacity: 1;
  }
}

@keyframes palette-slide-sweep-right {
  from {
    opacity: 0;
    transform: translateX(-22%) skewX(-16deg) scaleX(.76);
  }

  30% {
    opacity: .78;
  }

  to {
    opacity: 0;
    transform: translateX(132%) skewX(-16deg) scaleX(1.08);
  }
}

@keyframes palette-slide-sweep-left {
  from {
    opacity: 0;
    transform: translateX(22%) skewX(16deg) scaleX(.76);
  }

  30% {
    opacity: .78;
  }

  to {
    opacity: 0;
    transform: translateX(-132%) skewX(16deg) scaleX(1.08);
  }
}

@keyframes palette-strip-sweep {
  from {
    background-position: 180% 0, 0 0;
  }

  to {
    background-position: 0 0, 0 0;
  }
}

@keyframes palette-orbit {
  from {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(10deg) scale(1.06);
  }

  to {
    transform: rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-carousel .carousel-item.active .brand-mini-card,
  .brand-carousel .carousel-item.active .brand-mini-card::after,
  .brand-swatch-indicator::before {
    animation: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-carousel .carousel-item {
    clip-path: inset(0 round 14px);
    filter: saturate(1);
    opacity: 1;
    transition: clip-path .72s cubic-bezier(.22, 1, .36, 1), filter .72s ease, opacity .72s ease, transform .72s cubic-bezier(.22, 1, .36, 1);
    will-change: clip-path, transform, opacity;
  }

  .brand-carousel .carousel-item::before {
    background: linear-gradient(90deg, rgba(130, 186, 223, 0) 0%, rgba(130, 186, 223, .24) 15%, rgba(159, 216, 183, .28) 32%, rgba(243, 221, 119, .26) 50%, rgba(241, 178, 107, .24) 66%, rgba(224, 139, 138, .24) 82%, rgba(201, 122, 150, .20) 100%);
    border-radius: 20px;
    content: '';
    inset: -.2rem;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
  }

  .brand-carousel .carousel-item-next:not(.carousel-item-start),
  .brand-carousel .active.carousel-item-end {
    clip-path: inset(0 0 0 100% round 14px);
    filter: saturate(.94) brightness(.99);
    opacity: .7;
    transform: translateX(0) scale(.985);
  }

  .brand-carousel .carousel-item-prev:not(.carousel-item-end),
  .brand-carousel .active.carousel-item-start {
    clip-path: inset(0 100% 0 0 round 14px);
    filter: saturate(.94) brightness(.99);
    opacity: .7;
    transform: translateX(0) scale(.985);
  }

  .brand-carousel .carousel-item-next.carousel-item-start,
  .brand-carousel .carousel-item-prev.carousel-item-end {
    clip-path: inset(0 round 14px);
    filter: saturate(1);
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  .brand-carousel .carousel-item-next.carousel-item-start::before {
    animation: palette-slide-sweep-right .86s cubic-bezier(.16, 1, .3, 1) both;
  }

  .brand-carousel .carousel-item-prev.carousel-item-end::before {
    animation: palette-slide-sweep-left .86s cubic-bezier(.16, 1, .3, 1) both;
  }
}

.brand-carousel-controls {
  align-items: center;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(36, 73, 143, .10);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(36, 73, 143, .08);
  display: flex;
  gap: .4rem;
  justify-content: center;
  margin-top: .4rem;
  margin-inline: auto;
  padding: .22rem .38rem;
  width: fit-content;
}

.brand-carousel-control {
  align-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(228, 236, 251, .92));
  border: 1px solid rgba(36, 73, 143, .14);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
  color: var(--accent-dark);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: background-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
  width: 30px;
}

.brand-carousel-control::before {
  background: linear-gradient(120deg, rgba(130, 186, 223, .72), rgba(159, 216, 183, .56), rgba(243, 221, 119, .56), rgba(224, 139, 138, .56));
  border-radius: inherit;
  content: '';
  inset: 4px;
  opacity: .62;
  pointer-events: none;
  position: absolute;
  transition: opacity .18s ease, transform .18s ease;
}

.brand-carousel-control i {
  position: relative;
  z-index: 1;
}

.brand-carousel-control:hover,
.brand-carousel-control:focus-visible {
  box-shadow: 0 12px 24px rgba(36, 73, 143, .14);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.brand-carousel-control:hover::before,
.brand-carousel-control:focus-visible::before {
  opacity: .92;
  transform: scale(1.06);
}

.brand-carousel-indicators {
  align-items: center;
  display: inline-flex;
  gap: .34rem;
}

.brand-carousel-indicators [data-bs-target] {
  background-color: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(36, 73, 143, .08);
  height: 12px;
  margin: 0;
  opacity: 1;
  transition: transform .18s ease, box-shadow .18s ease, width .18s ease;
  width: 24px;
}

.brand-carousel-indicators .active {
  box-shadow: 0 6px 16px rgba(36, 73, 143, .16), inset 0 0 0 1px rgba(255, 255, 255, .5);
  transform: translateY(-1px) scale(1.03);
  width: 30px;
}

.brand-swatch-indicator {
  overflow: hidden;
  position: relative;
}

.brand-swatch-indicator::before {
  animation: palette-swatch-glide 3.8s linear infinite;
  background-size: 170% 100%;
  border-radius: inherit;
  content: '';
  inset: 0;
  position: absolute;
}

.brand-swatch-cool::before {
  background-image: linear-gradient(90deg, #82badf 0%, #9fd8b7 52%, #f3dd77 100%);
}

.brand-swatch-warm::before {
  background-image: linear-gradient(90deg, #bba8df 0%, #f1b26b 48%, #e08b8a 100%);
}

.brand-swatch-rose::before {
  background-image: linear-gradient(90deg, #c97a96 0%, #e8ca87 48%, #ce8365 100%);
}

@keyframes palette-swatch-glide {
  from {
    transform: translateX(-12%);
  }

  to {
    transform: translateX(12%);
  }
}

@media (min-width: 992px) {
  .site-navbar .container {
    column-gap: clamp(1rem, 2vw, 2.5rem);
  }

  .brand-logo {
    height: 84px;
    max-width: min(35vw, 500px);
  }

  .navbar-collapse {
    gap: 1rem;
    justify-content: space-between;
  }

  .nav-action-list {
    flex: 0 0 auto;
  }

  .hero-search.is-expanded ~ .hero-actions,
  .hero-search.is-expanded ~ .hero-meta {
    opacity: 0;
    pointer-events: none;
  }
}

@media (min-width: 1400px) {
  .brand-logo {
    height: 96px;
    max-width: min(38vw, 580px);
  }

  .hero-search {
    max-width: 840px;
  }
}

@media (min-width: 992px) and (max-width: 1149px) {
  .product-list-page .navbar-search-shell {
    flex: 1 1 auto;
    max-width: 620px;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-navbar .container {
    column-gap: .65rem;
    gap: .65rem;
  }

  .brand-logo {
    height: 49px;
    max-width: min(22vw, 220px);
  }

  .navbar-brand {
    margin-right: .2rem;
  }

  .navbar-collapse {
    gap: .55rem;
  }

  .nav-action-list {
    gap: .3rem;
  }

  .nav-link,
  .nav-utility-link,
  .nav-auth-link,
  .nav-primary-link,
  .nav-account-submit {
    font-size: .92rem;
    min-height: 38px;
    padding: .45rem .78rem;
  }

  .nav-icon-link .nav-action-label {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .nav-auth-link.nav-icon-link,
  .nav-account-submit.nav-icon-link {
    gap: 0;
    min-width: 38px;
    padding-inline: 0;
  }

  .nav-primary-link {
    padding-inline: .7rem;
  }

  .cart-pill {
    gap: 0;
    padding-inline: .72rem;
  }

  .cart-pill .nav-action-icon {
    font-size: 1.02rem;
  }

  .nav-count-badge {
    min-width: 1.35rem;
    padding: .3rem .38rem;
  }

  .product-list-page.nav-search-active .navbar-search-shell,
  .product-list-page .navbar-search-shell {
    max-width: 620px;
  }

  .navbar-product-search {
    gap: .35rem;
    padding: .24rem .28rem .24rem .62rem;
  }

  .navbar-product-search .form-control {
    font-size: .94rem;
  }

  .navbar-product-search .btn {
    min-width: 92px;
    padding-inline: .82rem;
  }
}

@media (min-width: 1300px) {
  .site-navbar .container {
    max-width: min(1320px, calc(100vw - 3.5rem));
  }

  .brand-logo {
    height: 64px;
  }

  .product-list-page.nav-search-active .navbar-search-shell {
    max-width: 720px;
  }

  .nav-action-list {
    gap: .7rem;
  }
}

@media (max-width: 991px) {
  .product-detail-layout {
    row-gap: 1.5rem;
  }

  .product-detail-layout > [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .brand-hero {
    background-image: linear-gradient(180deg, rgba(7, 14, 28, .35) 0%, rgba(7, 14, 28, .55) 55%, rgba(7, 14, 28, .88) 100%), var(--hero-image);
    background-position: 60% 35%;
  }

  .brand-carousel-slide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-carousel-slide-grid-secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-hero-content {
    max-width: 100%;
  }

  .navbar-search-shell {
    display: none !important;
  }

  .site-header {
    backdrop-filter: none;
  }

  .section-header {
    align-items: stretch;
    flex-direction: column;
  }

  /* A badge is a status pill, not an action — it must not stretch to the full
     column width the way this header's buttons legitimately do. */
  .section-header .badge {
    align-self: flex-start;
  }

  .summary-panel.sticky-summary {
    position: static !important;
  }

  /* Scoped away from the Find Us map, which sets its own aspect-ratio: unset
     and fills its frame. */
  .location-map-frame:not(.find-us-map) iframe {
    aspect-ratio: 4 / 3;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(23, 37, 77, .10);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    gap: 0;
    margin-top: 1rem;
    padding: 1rem;
  }

  .nav-action-list {
    gap: .55rem;
  }

  .nav-action-list .nav-item,
  .nav-link,
  .nav-utility-link,
  .nav-auth-link,
  .nav-primary-link,
  .nav-account-form,
  .nav-account-submit {
    width: 100%;
  }

  .nav-link,
  .nav-utility-link,
  .nav-auth-link,
  .nav-primary-link,
  .nav-account-submit {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .brand-logo {
    height: 48px;
    max-width: 70vw;
  }

  .brand-carousel-slide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }

  .brand-carousel-slide-grid-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-mini-card {
    min-height: 78px;
    padding: .58rem .65rem;
  }

  .brand-logo-tile {
    min-height: 78px;
    padding: .5rem .58rem;
  }

  .brand-logo-image {
    max-height: 64px;
  }

  .brand-logo-image-tall {
    max-height: 70px;
  }

  .brand-logo-image-axalta {
    --brand-logo-scale: 1.6;
  }

  .brand-logo-image-crc {
    --brand-logo-scale: 1.2;
  }

  .brand-logo-image-evacut {
    --brand-logo-scale: 1.05;
  }

  .brand-logo-image-resene {
    --brand-logo-scale: 1.05;
  }

  .brand-logo-image-saint-gobain {
    --brand-logo-scale: 1.05;
  }

  .brand-logo-image-ppg {
    --brand-logo-scale: 1.05;
  }

  .brand-logo-image-canda {
    --brand-logo-scale: 1.05;
  }

  .brand-carousel-controls {
    gap: .32rem;
    padding: .18rem .28rem;
  }

  .brand-carousel-control {
    height: 28px;
    width: 28px;
  }

  .brand-carousel-indicators {
    gap: .24rem;
  }

  .brand-carousel-indicators [data-bs-target] {
    height: 10px;
    width: 18px;
  }

  .brand-carousel-indicators .active {
    width: 24px;
  }

  .brand-hero {
    min-height: clamp(360px, 58vw, 440px);
    padding: 1.25rem 1rem;
  }

  .brand-hero-inner {
    align-items: center;
    justify-content: center;
  }

  .brand-hero-content {
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  /* Mobile: horizontal search bar, prominent and centered */
  .hero-search {
    align-items: center;
    border-radius: 28px;
    flex-direction: row;
    gap: .45rem;
    margin-top: .25rem;
    max-width: 100%;
    padding: .25rem .28rem .25rem .85rem;
  }

  .hero-search-icon {
    display: inline-flex;
  }

  .hero-search-input {
    flex: 1;
    min-height: 46px;
    padding: 0 .25rem;
    text-align: left;
  }

  .hero-search-input::placeholder {
    font-size: .8rem;
  }

  .hero-search-button {
    display: none;
  }

  .hero-search .search-suggestions {
    margin-top: .5rem;
    max-height: 260px;
    padding: .3rem;
    position: absolute;
    width: 100%;
  }

  .hero-search .search-suggestion {
    align-items: center;
    flex-direction: row;
    gap: .85rem;
  }

  .hero-search .search-suggestion-copy {
    min-width: 0;
    width: auto;
  }

  .hero-search .search-suggestion-type {
    align-self: center;
  }

  .hero-logo {
    max-height: 72px;
  }

  .page-shell {
    padding-top: 1.25rem;
  }

  .stepper,
  .order-timeline {
    grid-template-columns: 1fr;
  }

  .quantity-col {
    min-width: 190px;
  }

  /* --- Compact 2-column product grid --- */
  .product-grid {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    margin-left: calc(-1 * var(--container-gutter, 12px));
    margin-right: calc(-1 * var(--container-gutter, 12px));
    padding: 0 var(--container-gutter, 12px);
  }

  /* --- Homepage product rails (phones only) ---------------------------
     Each homepage product row becomes a horizontal snap rail: two cards
     visible with a sliver of the third peeking, so swiping is obvious.
     home-product-rail.js clones the card set either side (clones are
     [data-rail-clone] + inert) so swiping loops seamlessly; without JS the
     rail is still a plain swipeable region, and the section header keeps
     its "View all" link either way. The :has() guards leave single-card
     rows and the empty state in the normal 2-column grid.

     Card width is exactly half the rail minus half the peek — do NOT add a
     max-width cap. A cap makes the stride (one full set) shorter than the
     viewport at wide-phone widths, which breaks the seamless hand-off. */
  .home-page .home-section .product-grid:has(.product-card:nth-child(2)):not(:has(.empty-state)) {
    display: flex;
    overscroll-behavior-x: contain;
    overflow-x: auto;
    scroll-padding-inline: var(--container-gutter, 12px);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-page .home-section .product-grid:has(.product-card:nth-child(2)):not(:has(.empty-state))::-webkit-scrollbar {
    display: none;
  }

  .home-page .home-section .product-grid > .product-card {
    /* 50% - 15px leaves a 20px peek of the next card (10px gap + 10px). */
    flex: 0 0 calc(50% - 15px);
    scroll-snap-align: start;
  }

  /* Promo / value banners use the same rail, one banner per view: the card
     is sized so the next banner peeks in by ~36px, which is what signals
     the swipe. Two banners exist in every state (CMS rows or the built-in
     fallbacks), so the rail is always populated; the :has() guard keeps a
     lone banner at full width instead of a stubby card. */
  .home-page .home-section .promo-banners:has(.promo-banner:nth-child(2)) {
    display: flex;
    gap: 10px;
    margin-left: calc(-1 * var(--container-gutter, 12px));
    margin-right: calc(-1 * var(--container-gutter, 12px));
    overscroll-behavior-x: contain;
    overflow-x: auto;
    padding: 0 var(--container-gutter, 12px);
    scroll-padding-inline: var(--container-gutter, 12px);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-page .home-section .promo-banners:has(.promo-banner:nth-child(2))::-webkit-scrollbar {
    display: none;
  }

  .home-page .home-section .promo-banners > .promo-banner {
    /* 100% - 46px leaves a 36px peek of the next banner (10px gap + 26px). */
    flex: 0 0 calc(100% - 46px);
    scroll-snap-align: start;
  }

  /* Cards are flat on phones: the grid gaps do the separation, so borders and
     shadows would only add visual noise. */
  .product-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .07);
    transform: none !important;
  }

  .product-card:hover,
  .product-card:focus-within {
    transform: none !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .07);
  }

  .product-card .product-image img {
    transition: none;
    padding: 4%;
  }

  .product-card .product-body {
    gap: .25rem;
    padding: .6rem .65rem .7rem;
  }

  .product-card .product-title {
    font-size: .82rem;
  }

  .product-card .product-price-amount {
    font-size: .9rem;
  }

  .product-card .product-price-enquiry {
    font-size: .78rem;
  }

  .product-card .product-cta {
    min-height: 44px;
    font-size: .8rem;
    padding: .45rem .6rem;
  }

  /* The label wraps to two lines in a narrow column, which unbalances the grid.
     The icon alone is unambiguous next to a price. */
  .product-card .product-cta span {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .product-card .product-cta i {
    font-size: 1.05rem;
  }
}

/* --------------------------------------------------------------------------
   Mobile UX: Skip-to-catalog, reduced hero, smooth scroll
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Neutralise page-fade so the body is never invisible */
  body.page-fade,
  body.page-fade.is-ready {
    opacity: 1 !important;
    transition: none !important;
  }

  /* Show all scroll-reveal elements immediately */
  [data-reveal],
  [data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Disable all hero and about-hero entrance animations */
  .brand-hero-content > .hero-eyebrow,
  .brand-hero-content > .hero-headline,
  .brand-hero-content > .hero-lead,
  .brand-hero-content > .hero-search,
  .brand-hero-content > .hero-actions,
  .brand-hero-content > .hero-meta,
  .about-hero-content > .about-hero-badge,
  .about-hero-content > .about-hero-headline,
  .about-hero-content > .about-hero-lead {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile UX: Sticky search expansion
   -------------------------------------------------------------------------- */
.mobile-search-trigger {
  align-items: center;
  background: rgba(23, 37, 77, .045);
  border: 1px solid rgba(23, 37, 77, .12);
  border-radius: 999px;
  color: var(--ink);
  display: none;
  font-weight: 700;
  gap: .45rem;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
  padding: .55rem .75rem;
  transition: background-color .16s ease, color .16s ease;
}

.mobile-search-trigger:hover,
.mobile-search-trigger:focus-visible {
  background: #fff;
  color: var(--accent-dark);
}

.mobile-search-shell {
  display: none;
  position: relative;
  width: 100%;
}

.mobile-search-shell.is-open {
  display: block;
}

.mobile-search-form {
  align-items: center;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(23, 37, 77, .12);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: .4rem;
  padding: .3rem .35rem .3rem .75rem;
  position: relative;
  width: 100%;
}

.mobile-search-form .form-control {
  background: transparent;
  border: 0;
  color: var(--ink);
  flex: 1 1 auto;
  font-family: inherit;
  font-size: .96rem;
  min-height: 42px;
  min-width: 0;
  outline: none;
  padding: 0 .15rem;
}

.mobile-search-form .form-control::placeholder {
  color: rgba(102, 112, 133, .85);
}

.mobile-search-form:focus-within {
  border-color: rgba(36, 73, 143, .35);
  box-shadow: 0 0 0 4px rgba(36, 73, 143, .10), var(--shadow-sm);
}

.mobile-search-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 36px;
  min-width: 36px;
  padding: 0;
  transition: background .16s ease, color .16s ease;
}

.mobile-search-close:hover {
  background: var(--surface-strong);
  color: var(--ink);
}

.mobile-search-submit {
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 36px;
  min-width: 36px;
  padding: .35rem .65rem;
  transition: background .16s ease;
}

.mobile-search-submit:hover {
  background: var(--accent-dark);
}

.mobile-search-shell .search-suggestions-navbar {
  border-radius: 18px;
  left: 0;
  position: absolute;
  right: 0;
  top: calc(100% + .5rem);
  width: 100%;
  z-index: 1050;
}

@media (max-width: 991px) {
  .mobile-search-trigger {
    display: inline-flex;
  }

  .mobile-search-shell {
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: calc(100% + .65rem);
    z-index: 1055;
  }

  .navbar-search-shell {
    display: none !important;
  }

  .navbar-header-row {
    align-items: center;
    display: flex;
    gap: .65rem;
    position: relative;
    width: 100%;
  }

  .navbar-header-row .navbar-brand {
    flex: 1 1 auto;
    margin-right: 0;
    min-width: 0;
  }

  .navbar-header-row .navbar-toggler {
    flex: 0 0 auto;
    order: 3;
  }

  .mobile-search-trigger {
    flex: 0 0 auto;
    order: 2;
  }
}

/* --------------------------------------------------------------------------
   Mobile UX: Category chip bar
   -------------------------------------------------------------------------- */
.category-chip-bar {
  display: flex;
  gap: .45rem;
  /* Sits directly under the catalogue toolbar; the parent section's own bottom
     margin closes the gap to the product grid. */
  margin: 1rem 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: .35rem;
  padding-right: 3rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent 100%);
  mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent 100%);
}

.category-chip-bar::-webkit-scrollbar {
  display: none;
}

.category-chip {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .84rem;
  font-weight: 650;
  min-height: 38px;
  padding: .45rem .9rem;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
  white-space: nowrap;
}

.category-chip:hover {
  background: var(--accent-soft);
  border-color: rgba(36, 73, 143, .24);
  color: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.category-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.category-chip.is-active:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.category-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Bootstrap 5.3 link underline resets — removes default underline from
   utility navigation, restores it on hover for usability feedback.
   -------------------------------------------------------------------------- */
.breadcrumb-item a {
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.page-link {
  text-decoration: none;
}

.page-link:hover:not(.disabled) {
  text-decoration: underline;
}

.list-group-item-action {
  text-decoration: none;
}

.list-group-item-action:hover {
  text-decoration: none;
}

.auth-panel a {
  text-decoration: none;
  color: inherit;
}

.auth-panel a:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

.link-dark:focus-visible,
.link-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  text-decoration: underline;
}

.mobile-bottom-nav-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* --------------------------------------------------------------------------
   Mobile UX: Back to Top button
   -------------------------------------------------------------------------- */
.back-to-top {
  align-items: center;
  background: rgba(36, 73, 143, .88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(36, 73, 143, .24);
  border-radius: 999px;
  bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .18);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.1rem;
  height: 44px;
  justify-content: center;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  position: fixed;
  right: 1.25rem;
  transition: opacity .22s ease, transform .22s ease;
  transform: translateY(12px);
  width: 44px;
  z-index: 50;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(24, 57, 114, .94);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Mobile UX: Store hours badge in header
   -------------------------------------------------------------------------- */
.store-hours-badge {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(36, 73, 143, .14);
  border-radius: 999px;
  color: var(--accent-dark);
  display: none;
  font-size: .72rem;
  font-weight: 700;
  gap: .35rem;
  padding: .32rem .65rem;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .store-hours-badge {
    display: inline-flex;
  }
}

/* Live open/closed state (static/js/store-status.js). The badge keeps its
   default accent tint until the state is known, so no-JS visitors see the
   plain hours exactly as before; only the two resolved states restyle it. */
.store-hours-badge.is-open {
  background: #e8f7ee;
  border-color: rgba(18, 161, 80, .22);
  color: #0d6a3c;
}

.store-hours-badge.is-closing {
  background: var(--warning-soft);
  border-color: rgba(191, 129, 0, .28);
  color: #7a5200;
}

/* Shared by the header badge and the homepage hero pill. Hidden until the
   script resolves a state, so the no-JS baseline is the plain hours exactly
   as it always was. */
.store-status-dot {
  --store-status-pulse-color: rgba(18, 161, 80, .45);
  background: #98a2b3;
  border-radius: 50%;
  display: none;
  flex: 0 0 auto;
  height: .5rem;
  width: .5rem;
}

/* Once resolved the dot replaces the clock: the chip is about time state, and
   clock + dot side by side read as stray punctuation in a .72rem badge. */
.store-hours-badge.is-open .bi-clock,
.store-hours-badge.is-closed .bi-clock {
  display: none;
}

.store-hours-badge.is-open .store-status-dot,
.store-hours-badge.is-closed .store-status-dot {
  display: inline-block;
}

.store-hours-badge.is-open .store-status-dot {
  animation: store-status-pulse 2.4s var(--ease-soft) infinite;
  background: #12a150;
}

.store-hours-badge.is-closing .store-status-dot {
  --store-status-pulse-color: rgba(185, 129, 0, .45);
  background: #b98100;
}

/* The ring colour follows the dot, so a closing-soon badge does not pulse
   green around an amber dot. */
@keyframes store-status-pulse {
  0% { box-shadow: 0 0 0 0 var(--store-status-pulse-color); }
  70% { box-shadow: 0 0 0 .4rem transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* --------------------------------------------------------------------------
   Mobile UX: Recently viewed strip
   -------------------------------------------------------------------------- */
.recently-viewed-section {
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
}

.recently-viewed-strip {
  display: flex;
  gap: .65rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: .3rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.recently-viewed-strip::-webkit-scrollbar {
  height: 4px;
}

.recently-viewed-strip::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.recently-viewed-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 auto;
  gap: .65rem;
  min-width: 180px;
  max-width: 220px;
  padding: .55rem .75rem;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.recently-viewed-card:hover {
  border-color: rgba(36, 73, 143, .30);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-2px);
}

.recently-viewed-thumb {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  flex: 0 0 44px;
  height: 44px;
  overflow: hidden;
  width: 44px;
}

.recently-viewed-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.recently-viewed-thumb i {
  align-items: center;
  color: var(--accent-dark);
  display: flex;
  font-size: 1.2rem;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.recently-viewed-name {
  font-size: .85rem;
  font-weight: 650;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Related Products Carousel — horizontal scroll with arrow navigation
   -------------------------------------------------------------------------- */
/* Related products: a horizontal scroll rail. Uses grid-auto-flow: column so
   the shared product card partial lays out in a single scrollable row — a
   normal wrapping grid would break the arrow navigation. */
.related-products-grid {
  display: grid;
  gap: 1rem;
  grid-auto-columns: minmax(200px, 220px);
  grid-auto-flow: column;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: .5rem;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.related-products-grid::-webkit-scrollbar {
  display: none;
}

.related-products-grid > .product-card {
  scroll-snap-align: start;
}

.related-products-grid .product-body {
  padding: .7rem .75rem .8rem;
}

.related-products-grid .product-title {
  font-size: .88rem;
}

.related-products-grid .product-price-amount {
  font-size: .95rem;
}

.related-products-grid .product-cta {
  font-size: .8rem;
  min-height: 40px;
}

/* Navigation arrows */
.related-nav {
  display: flex;
  gap: .35rem;
}

.related-nav-btn {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.1rem;
  height: 44px;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
  width: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.related-nav-btn:hover {
  background: var(--surface-strong);
  border-color: rgba(36, 73, 143, .30);
  box-shadow: var(--shadow-sm);
}

.related-nav-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.related-nav-btn:disabled {
  color: var(--muted);
  cursor: default;
  opacity: .45;
}

.related-nav-btn:disabled:hover {
  background: #fff;
  border-color: var(--line);
  box-shadow: none;
}

/* The related rail tightens on phones */
@media (max-width: 575px) {
  .related-products-grid {
    grid-auto-columns: minmax(180px, 190px);
  }
}

/* Breadcrumb sizing on phones.
   A lost `@media` opener and `.breadcrumb` selector had left a stray
   `font-size` declaration plus two unmatched closing braces here, so these
   rules sat outside any media query and were overriding the breadcrumb at
   every width. */ 
@media (max-width: 575px) {
  .breadcrumb {
    font-size: .82rem;
  }

  .breadcrumb-item + .breadcrumb-item {
    padding-left: .55rem;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    padding-right: .55rem;
  }
}

@media (max-width: 575.98px) {
  .qty-stepper-btn {
    min-width: 40px;
    padding: .55rem .85rem;
  }

  .qty-stepper-input {
    width: 60px;
  }
}

/* --------------------------------------------------------------------------
   Mobile UX: Bottom navigation bar
   -------------------------------------------------------------------------- */
.mobile-bottom-nav {
  align-items: flex-start;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  bottom: 0;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, .06);
  display: flex;
  justify-content: space-around;
  left: 0;
  padding: .4rem .25rem env(safe-area-inset-bottom, .4rem);
  position: fixed;
  right: 0;
  z-index: 50;
}

.mobile-bottom-nav-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  font-family: inherit;
  gap: .2rem;
  justify-content: center;
  min-height: 52px;
  padding: .3rem .25rem;
  text-decoration: none;
  transition: color .16s ease, background .16s ease;
}

.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-dark);
  text-decoration: none;
}

.mobile-bottom-nav-item i {
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-bottom-nav-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
}

.mobile-bottom-nav-icon-wrap {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  position: relative;
}

.mobile-bottom-nav-badge {
  align-items: center;
  background: var(--accent);
  border: 1.5px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: .58rem;
  font-weight: 800;
  height: 16px;
  justify-content: center;
  line-height: 1;
  min-width: 16px;
  padding: 0 .25rem;
  position: absolute;
  right: -8px;
  top: -6px;
}

/* Adjust back-to-top button to sit above bottom nav */
@media (max-width: 991px) {
  .back-to-top {
    bottom: 4.5rem;
  }

  .page-shell {
    padding-bottom: 4.5rem;
  }

  .site-footer {
    padding-bottom: 4.5rem;
  }
}

/* ==========================================================================
   Motion & cosmetic enhancements (2026 refresh)
   Layered on top of the existing system. Every effect here is neutralised
   in the consolidated prefers-reduced-motion block at the end of this file.
   Animations use opacity/transform only (no layout shift).
   ========================================================================== */

/* --- Smooth page-load fade-in (progressive enhancement) --------------- */
/* Page is always visible by default.  The fade-in is applied by
   ui-enhancements.js only after the JS bundle has loaded, so slow
   connections (mobile, Lighthouse audits) never see a blank page. */
body.page-fade {
  opacity: 1;
}

body.page-fade.js-fade-ready {
  opacity: 0;
  transition: opacity var(--motion-slow) var(--ease-soft);
}

body.page-fade.is-ready {
  opacity: 1;
}

/* --- Scroll-reveal entrances -------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--motion-slow) var(--ease-out),
    transform var(--motion-slow) var(--ease-out);
  transition-delay: calc(var(--reveal-index, 0) * 60ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Cap the stagger so long grids never feel sluggish */
[data-reveal] {
  transition-delay: calc(min(var(--reveal-index, 0), 8) * 55ms);
}

/* --- Product card image zoom-on-hover ----------------------------------- */
.product-card .product-image img,
.product-card .product-media-frame img {
  transition: transform var(--motion-slow) var(--ease-out);
  will-change: transform;
}

.product-card:hover .product-image img,
.product-card:focus-within .product-image img {
  transform: scale(1.05);
}

/* Smoother stock badge appearance inside cards */
.product-card .stock-badge {
  transition: transform var(--motion-base) var(--ease-out), opacity var(--motion-base) var(--ease-out);
}

/* Prevent category badge overflow inside product-card header rows.
   Bootstrap badges default to inline-block + nowrap; text-wrap
   overrides nowrap but the badge still needs explicit width
   constraints so multi-word names break and stay inside the card. */
.product-body .badge.text-wrap {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* --- Skeleton shimmer for lazy / infinite-scroll images ----------------- */
.product-image.is-loading,
.product-media-stage.is-loading {
  position: relative;
  overflow: hidden;
}

.product-image.is-loading::after,
.product-media-stage.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, .55) 50%,
    rgba(255, 255, 255, 0) 70%);
  transform: translateX(-100%);
  animation: tcs-shimmer 1.4s ease-in-out infinite;
}

@keyframes tcs-shimmer {
  to {
    transform: translateX(100%);
  }
}

/* --- Tactile button press ----------------------------------------------- */
.btn-accent,
.btn-outline-accent,
.btn-dark,
.hero-search-button {
  transition:
    background-color var(--motion-base) var(--ease-soft),
    color var(--motion-base) var(--ease-soft),
    border-color var(--motion-base) var(--ease-soft),
    box-shadow var(--motion-base) var(--ease-soft),
    transform var(--motion-fast) var(--ease-soft);
}

.btn-accent:active,
.btn-outline-accent:active,
.btn-dark:active,
.hero-search-button:active {
  transform: scale(.97);
}

/* --- Header elevation on scroll ----------------------------------------- */
.site-header {
  transition: box-shadow var(--motion-base) var(--ease-soft), background-color var(--motion-base) var(--ease-soft);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, .98);
}

/* --- Cart badge bump on update ------------------------------------------ */
.nav-count-badge {
  transition: transform var(--motion-base) var(--ease-out), background-color var(--motion-base) var(--ease-out);
}

.nav-count-badge.is-bumped {
  animation: tcs-badge-bump 480ms var(--ease-out);
}

@keyframes tcs-badge-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.45); }
  60% { transform: scale(.9); }
  100% { transform: scale(1); }
}

/* --- Dropdown menu fade/slide-in ---------------------------------------- */
.dropdown-menu.show {
  animation: tcs-dropdown-in var(--motion-base) var(--ease-out);
}

@keyframes tcs-dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Alerts / flash messages entrance ----------------------------------- */
.messages .alert {
  animation: tcs-alert-in var(--motion-slow) var(--ease-out);
}

@keyframes tcs-alert-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Hero staggered entrance -------------------------------------------- */
.brand-hero-content > .hero-eyebrow,
.brand-hero-content > .hero-headline,
.brand-hero-content > .hero-lead,
.brand-hero-content > .hero-search,
.brand-hero-content > .hero-actions,
.brand-hero-content > .hero-meta {
  animation: tcs-hero-rise var(--motion-slow) var(--ease-out) both;
}

.brand-hero-content > .hero-eyebrow { animation-delay: 40ms; }
.brand-hero-content > .hero-headline { animation-delay: 110ms; }
.brand-hero-content > .hero-lead { animation-delay: 180ms; }
.brand-hero-content > .hero-search { animation-delay: 250ms; }
.brand-hero-content > .hero-actions { animation-delay: 320ms; }
.brand-hero-content > .hero-meta { animation-delay: 390ms; }

@keyframes tcs-hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile: skip hero animation delays — content must be visible immediately
   for PageSpeed Insights (Lighthouse throttled mobile audits see a blank
   page if hero content fades in over 400ms of cumulative animation delay). */
@media (max-width: 767px) {
  .brand-hero-content > .hero-eyebrow,
  .brand-hero-content > .hero-headline,
  .brand-hero-content > .hero-lead,
  .brand-hero-content > .hero-search,
  .brand-hero-content > .hero-actions,
  .brand-hero-content > .hero-meta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Glow on the hero search field when focused */
.hero-search:focus-within {
  box-shadow: 0 0 0 4px rgba(36, 73, 143, .14);
}

.hero-search {
  transition: box-shadow var(--motion-base) var(--ease-soft);
}

/* --- Form field focus polish -------------------------------------------- */
.form-control,
.form-select {
  transition:
    border-color var(--motion-base) var(--ease-soft),
    box-shadow var(--motion-base) var(--ease-soft);
}

/* --- Spam honeypot -------------------------------------------------------
   A field people never see but form-filling bots populate. Moving it off the
   canvas (rather than display:none) keeps it in the accessibility tree order
   for bots that skip hidden inputs, while aria-hidden + tabindex="-1" keep it
   away from people and assistive tech. */
.contact-honeypot {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

/* --- Empty-state gentle float ------------------------------------------- */
.empty-state .bi {
  animation: tcs-float 3.6s var(--ease-soft) infinite;
}

@keyframes tcs-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ==========================================================================
   Mobile touch polish — Android / Material feel
   Brings storefront controls up to the 44px touch minimum and removes the
   browser tap artefacts that make web controls feel sluggish next to native
   widgets. Visual size and page layout are deliberately unchanged: smaller
   controls gain an invisible overlaid hit area, so the design keeps its
   density while the thumb gets a full-size target.
   ========================================================================== */

/* Remove the grey/blue tap flash and the double-tap-zoom delay. */
a,
button,
select,
[role="button"],
.mobile-bottom-nav-item,
.category-chip {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Small controls below the 44px minimum gain an invisible hit area.
   .dropdown-toggle is excluded because Bootstrap draws its caret in ::after. */
.product-card .product-card-actions .btn:not(.dropdown-toggle),
.related-product-card .btn-sm:not(.dropdown-toggle),
.site-footer .btn-sm:not(.dropdown-toggle) {
  position: relative;
}

/* Product card CTAs are already full-width and >=42px tall, so they need no
   synthetic hit area — a negative inset would only overlap the neighbouring
   card's action. */
.related-product-card .btn-sm:not(.dropdown-toggle)::after,
.site-footer .btn-sm:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  inset: -7px;
}

/* Mobile search bar: the submit and close buttons sit 6.4px apart, so each
   grows 3px — enlarging the target without the two hit areas meeting. */
.mobile-search-submit,
.mobile-search-close {
  position: relative;
}

.mobile-search-submit::after,
.mobile-search-close::after {
  content: '';
  position: absolute;
  inset: -3px;
}

/* Very narrow phones: the trailing arrow is redundant because the on-screen
   keyboard offers a Search key for input[type=search], and dropping it keeps
   the placeholder readable instead of cutting it off mid-word. */
@media (max-width: 359.98px) {
  .mobile-search-submit {
    display: none;
  }
}

/* Mobile only: the icon carries the action, so make its hit area generous.
   The label is visually hidden at this width (see the grid block above). */
@media (max-width: 767px) {
  .product-card .product-cta {
    position: relative;
  }
}

/* Material-style control sizing. Bootstrap's defaults (38px) sit below the
   touch minimum, so on phones every form field and full-size button in the
   page body grows to 44-48px. Scoped to .page-shell so the header search pill
   keeps its own geometry, and .btn-sm keeps its compact size (those controls
   gain hit areas instead). */
@media (max-width: 767px) {
  .page-shell .form-control,
  .page-shell .form-select,
  .page-shell textarea.form-control {
    min-height: 48px;
  }

  .page-shell .btn:not(.btn-sm) {
    min-height: 44px;
  }
}

/* Footer links: comfortable thumb targets on phones only, so the desktop
   footer keeps its compact scale. */
@media (max-width: 575.98px) {
  .site-footer .list-unstyled a,
  .site-footer .link-dark {
    align-items: center;
    display: inline-flex;
    min-height: 44px;
  }

  .site-footer .list-unstyled {
    gap: 0 !important;
  }
}

/* ==========================================================================
   Reduced motion — neutralise all the enhancements above.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  body.page-fade,
  body.page-fade.is-ready {
    opacity: 1;
    transition: none;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .product-card:hover .product-image img,
  .product-card:focus-within .product-image img {
    transform: none;
  }

  .product-image.is-loading::after,
  .product-media-stage.is-loading::after,
  .nav-count-badge.is-bumped,
  .dropdown-menu.show,
  .messages .alert,
  .brand-hero-content > .hero-eyebrow,
  .brand-hero-content > .hero-headline,
  .brand-hero-content > .hero-lead,
  .brand-hero-content > .hero-search,
  .brand-hero-content > .hero-actions,
  .brand-hero-content > .hero-meta,
  .about-hero-content > .about-hero-badge,
  .about-hero-content > .about-hero-headline,
  .about-hero-content > .about-hero-lead,
  .empty-state .bi {
    animation: none !important;
  }

  .btn-accent:active,
  .btn-outline-accent:active,
  .btn-dark:active,
  .hero-search-button:active {
    transform: none;
  }
}

/* ==========================================================================
   Homepage (landing page) — modern, mobile-first landing sections.
   Scoped to .home-page so these rules cannot leak into the catalogue or
   other storefront pages that share site.css.
   ========================================================================== */

.home-page {
  /* Matches the global white canvas so every customer page shares one page
     surface. (Was a white -> --surface-warm -> white gradient.) */
  background: #ffffff;
}

/* ---- Hero ---------------------------------------------------------------- */
.home-hero {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  isolation: isolate;
  min-height: clamp(440px, 46vw, 560px);
  position: relative;
  /* Must sit above the sections that follow so the search suggestions panel,
     which opens below the form, paints over them. Stays far below the sticky
     header's z-index: 1020. */
  z-index: 1;
}

/* The photographic background is clipped to the rounded corners HERE rather
   than on .home-hero. Clipping the hero itself cut the search suggestions
   panel off at the hero's bottom edge, so the lower half of the result list
   disappeared under whatever section came next. This layer is exactly the
   hero box, so the imagery looks identical. */
.home-hero-media {
  border-radius: inherit;
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.home-hero-carousel,
.home-hero-carousel .carousel-inner,
.home-hero-carousel .carousel-item {
  height: 100%;
}

.home-hero-slide-img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Slide timer. A hairline bar across the bottom of the hero tells the
   visitor the imagery rotates and when it is about to change; the cross-fade
   on its own gave no cue. hero-progress.js matches the duration to the
   carousel's own interval and restarts it on every slide. Pure decoration, so
   the track is invisible to assistive tech like the rest of this layer. */
.home-hero-progress {
  background: rgba(255, 255, 255, .22);
  bottom: 0;
  height: 3px;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  z-index: 3; /* above .home-hero-scrim (z-index: 2) */
}

.home-hero-progress-bar {
  animation: home-hero-progress var(--hero-progress-duration, 6s) linear forwards;
  background: #fff;
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
}

@keyframes home-hero-progress {
  to {
    transform: scaleX(1);
  }
}

.home-hero-scrim {
  /* Two layers: a vertical base darkening plus a left-weighted gradient so the
     headline and search always sit on a dark, legible area regardless of how
     bright the underlying photo is. Decorative imagery must never cost
     legibility.

     z-index must beat Bootstrap's `.carousel-fade .carousel-item.active`
     (z-index: 1). At `auto` the fade's active slide painted OVER this scrim,
     leaving the headline on the raw photograph. */
  background:
    linear-gradient(180deg, rgba(7, 14, 28, .22) 0%, rgba(7, 14, 28, .52) 100%),
    linear-gradient(96deg,
      rgba(7, 14, 28, .93) 0%,
      rgba(7, 14, 28, .80) 38%,
      rgba(7, 14, 28, .42) 72%,
      rgba(7, 14, 28, .16) 100%);
  inset: 0;
  position: absolute;
  z-index: 2;
}

.home-hero-inner {
  display: flex;
  min-height: inherit;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  position: relative;
}

.home-hero-content {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  max-width: 720px;
  width: 100%;
}

.home-hero-heading {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.08;
  margin: 0;
  text-shadow: 0 2px 14px rgba(7, 14, 28, .55);
}

.home-hero-lead {
  color: rgba(255, 255, 255, .94);
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  line-height: 1.55;
  margin: 0;
  max-width: 54ch;
  text-shadow: 0 1px 10px rgba(7, 14, 28, .5);
}

.home-hero-search {
  align-items: center;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
  display: flex;
  gap: .5rem;
  max-width: 640px;
  padding: .3rem .3rem .3rem .95rem;
  position: relative;
  transition: box-shadow var(--motion-base) var(--ease-soft);
  width: 100%;
}

.home-hero-search:focus-within {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 18px 40px rgba(0, 0, 0, .24);
}

.home-hero-search.is-expanded {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .3), 0 22px 46px rgba(0, 0, 0, .26);
}

.home-hero-search-icon {
  color: var(--accent);
  display: inline-flex;
  font-size: 1.05rem;
}

.home-hero-search-input {
  background: transparent;
  border: 0;
  color: var(--ink);
  flex: 1 1 auto;
  font-family: inherit;
  font-size: 1rem;
  min-height: 46px;
  min-width: 0;
  outline: none;
  padding: 0 .15rem;
}

.home-hero-search-input::placeholder {
  color: rgba(102, 112, 133, .85);
}

.home-hero-search-button {
  background: var(--accent);
  border: 0;
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  min-height: 46px;
  padding: 0 1.45rem;
  transition: background-color var(--motion-fast) var(--ease-soft), transform var(--motion-fast) var(--ease-soft);
}

.home-hero-search-button:hover {
  background: var(--accent-dark);
}

/* Mobile-only relocation target for the hero search (filled by
   home-hero-search.js). Hidden by default so desktop and no-JS clients
   keep the form inside the hero. */
.home-hero-search-slot {
  display: none;
}

.home-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: .35rem;
}

.home-hero-call {
  align-items: center;
  background: rgba(255, 255, 255, .16);
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-pill);
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  gap: .5rem;
  min-height: 48px;
  padding: .55rem 1.25rem;
  text-decoration: none;
  transition: background var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft);
}

.home-hero-call:hover,
.home-hero-call:focus-visible {
  background: rgba(255, 255, 255, .28);
  border-color: #fff;
  color: #fff;
}

.home-hero-meta {
  color: rgba(255, 255, 255, .82);
  display: flex;
  flex-wrap: wrap;
  font-size: .86rem;
  font-weight: 600;
  gap: .4rem 1.4rem;
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
}

.home-hero-meta li {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
}

.home-hero-meta i {
  color: rgba(255, 255, 255, .68);
}

/* The clock icon moved inside this span so it can sit beside the schedule as
   one unit while the live pill sits before it. That removes it from the li's
   flex gap, so the gap is restored here. */
.home-hero-meta-hours-text {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
}

/* Live status pill, prepended to the schedule by store-status.js. The hours
   text stays put: the pill answers "can I come in right now?" while the
   schedule answers "when are you ever open?", and the schedule is also the
   server-rendered baseline crawlers and no-JS visitors read. */
.home-hero-meta .store-status {
  align-items: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius-pill);
  color: #fff;
  display: inline-flex;
  gap: .38rem;
  padding: .12rem .6rem;
  white-space: nowrap;
}

/* A class rule would otherwise beat the UA's [hidden] { display: none }. */
.home-hero-meta .store-status[hidden] {
  display: none;
}

.home-hero-meta .store-status .store-status-dot {
  background: rgba(255, 255, 255, .6);
  display: inline-block;
}

.home-hero-meta-hours.is-open .store-status {
  background: rgba(18, 161, 80, .3);
  border-color: rgba(94, 221, 143, .5);
}

.home-hero-meta-hours.is-open .store-status .store-status-dot {
  --store-status-pulse-color: rgba(94, 221, 143, .5);
  animation: store-status-pulse 2.4s var(--ease-soft) infinite;
  background: #5edd8f;
}

.home-hero-meta-hours.is-closing .store-status {
  background: rgba(245, 158, 11, .3);
  border-color: rgba(253, 200, 92, .55);
}

.home-hero-meta-hours.is-closing .store-status .store-status-dot {
  --store-status-pulse-color: rgba(253, 200, 92, .5);
  background: #fdc85c;
}

/* ---- Trust / service bar ------------------------------------------------- */
/* A soft surface band, not a bordered card. The storefront's card language is
   now borderless full-bleed art, so a hairline box here competed with the
   category tiles directly beneath it — and its 1.35rem glyphs read as thin
   decoration rather than a service promise. The icons now sit in white chips
   (same treatment as .resource-card-icon) so the row carries real weight. */
.trust-bar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: .55rem;
}

.trust-bar-list {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-item {
  align-items: center;
  display: flex;
  gap: .8rem;
  padding: .7rem .85rem;
  position: relative;
}

/* Hairline dividers between the four columns. Desktop-only: the list becomes
   2-up below 992px and 1-up below 576px, where a vertical rule between items
   would read as a stray artifact. */
@media (min-width: 992px) {
  .trust-item + .trust-item::before {
    background: rgba(23, 37, 77, .10);
    content: "";
    height: 62%;
    left: -.275rem;
    position: absolute;
    top: 19%;
    width: 1px;
  }
}

.trust-item i {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
  color: var(--accent);
  display: grid;
  flex: 0 0 auto;
  font-size: 1.25rem;
  height: 42px;
  place-items: center;
  width: 42px;
}

.trust-item span {
  color: var(--muted);
  display: flex;
  flex-direction: column;
  font-size: .82rem;
  line-height: 1.35;
  min-width: 0;
}

.trust-item strong {
  color: var(--ink);
  font-size: .92rem;
  font-weight: 750;
}

/* Dot indicators for the phone carousel. They are built by
   home-trust-carousel.js, so without JS they simply do not exist and the
   promises remain reachable by swiping the rail. Hidden from 576px up,
   where the grid shows all four promises at once. */
.trust-dots {
  display: none; /* phones only — see the 575.98px block */
  justify-content: center;
  margin-top: .4rem;
  position: relative; /* anchors .trust-toggle at the row's right edge */
}

.trust-dot {
  align-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  display: grid;
  height: 24px; /* keeps the tap target at the 24px minimum; the dot stays small */
  padding: 0;
  place-items: center;
  width: 24px;
}

.trust-dot::before {
  background: rgba(23, 37, 77, .25);
  border-radius: 999px;
  content: "";
  height: 7px;
  transition: background-color var(--motion-base) var(--ease-soft), width var(--motion-base) var(--ease-soft);
  width: 7px;
}

.trust-dot:hover::before {
  background: rgba(23, 37, 77, .45);
}

.trust-dot[aria-current="true"]::before {
  background: var(--accent);
  width: 20px;
}

.trust-dot:focus-visible {
  border-radius: 999px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Countdown control for the auto-advancing phone carousel, built by
   home-trust-carousel.js. A ring fills clockwise over one interval so the
   next promise never arrives unannounced; while paused a play glyph sits in
   the centre (tap to resume). Absolutely positioned so the dots stay
   centred. [hidden] is restated because this rule's display beats the UA
   default. */
.trust-toggle {
  align-items: center;
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  height: 24px;
  place-items: center;
  position: absolute;
  right: .35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
}

.trust-toggle[hidden] {
  display: none;
}

.trust-toggle-ring {
  display: block;
  height: 100%;
  /* Start the sweep at 12 o'clock. */
  transform: rotate(-90deg);
  width: 100%;
}

.trust-toggle-track {
  fill: none;
  stroke: rgba(23, 37, 77, .18);
  stroke-width: 2;
}

.trust-toggle-progress {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-width: 2;
}

.trust-toggle-icon {
  color: var(--accent);
  font-size: .55rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.trust-toggle:hover .trust-toggle-progress {
  stroke: var(--accent-dark);
}

.trust-toggle:hover .trust-toggle-icon {
  color: var(--accent-dark);
}

.trust-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Section rhythm ------------------------------------------------------ */
.home-section .section-header {
  margin-bottom: 1.1rem;
}

/* ---- Category tiles -----------------------------------------------------
   Full-bleed artwork with an overlaid label and a bottom scrim. The image IS
   the card (Apple App Store / Google Play category pattern) rather than a
   photo sitting on a white footer, and the scrim guarantees label contrast
   however bright the photo is. Categories without artwork fall back to a
   tonal accent gradient + icon, on the same grid rhythm. */
.category-tiles {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
  .category-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.category-tile {
  --tile-radius: 22px;
  /* Dark base so the label never sits on white while the photo loads. */
  background: #0f1a33;
  border-radius: var(--tile-radius);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 14px 34px -14px rgba(15, 23, 42, .30);
  color: #fff;
  display: block;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: box-shadow var(--motion-base) var(--ease-soft), transform var(--motion-base) var(--ease-soft);
}

/* The TILE owns the aspect ratio; the media layer must stay a pure inset:0
   fill. Giving the media layer an aspect-ratio too sizes it to that ratio
   inside the tile and leaves a dead band under the label (only invisible when
   the two ratios happen to match). */
.category-tile {
  aspect-ratio: 4 / 3;
}

/* Scrim. Painted on the tile (not the media layer) so the no-artwork
   fallback gets identical treatment and the grid cannot drift. */
.category-tile::after {
  background: linear-gradient(
    180deg,
    rgba(10, 16, 32, 0) 30%,
    rgba(10, 16, 32, .22) 55%,
    rgba(8, 13, 26, .88) 100%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.category-tile-media {
  background:
    radial-gradient(120% 120% at 78% 12%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(140deg, #2f5aa8 0%, #24498f 45%, #16233f 100%);
  display: block;
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.category-tile-media img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 620ms var(--ease-soft);
  width: 100%;
}

.category-tile-fallback {
  color: rgba(255, 255, 255, .92);
  display: grid;
  height: 100%;
  place-items: center;
  width: 100%;
}

.category-tile-fallback i {
  font-size: 2.4rem;
}

/* Category landing banner — staff-uploaded category artwork. */
.category-banner {
  border-radius: var(--radius-lg, .75rem);
  margin: 0;
  overflow: hidden;
}

.category-banner img {
  display: block;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  width: 100%;
}

.category-tile-body {
  align-items: flex-end;
  display: flex;
  gap: .75rem;
  inset: auto 0 0 0;
  justify-content: space-between;
  padding: 1.05rem 1.15rem;
  position: absolute;
  z-index: 2;
}

.category-tile-name {
  color: #fff;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.25;
  text-shadow: 0 1px 12px rgba(8, 13, 26, .45);
  text-wrap: balance;
}


/* Navigation affordance: restrained on touch (always visible), brighter on
   pointer hover. Hidden on the narrowest 2-up grid where space is tight. */
.category-tile-affordance {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: #fff;
  display: grid;
  flex: 0 0 auto;
  font-size: .82rem;
  height: 30px;
  place-items: center;
  transition: background var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), color var(--motion-fast) var(--ease-soft), transform var(--motion-fast) var(--ease-soft);
  width: 30px;
}

/* Gate hover styling to real pointers so a tap on touch leaves no stuck state. */
@media (hover: hover) and (pointer: fine) {
  .category-tile:hover,
  .category-tile:focus-visible {
    box-shadow: 0 2px 4px rgba(15, 23, 42, .08), 0 24px 50px -18px rgba(15, 23, 42, .44);
    transform: translateY(-4px);
  }

  .category-tile:hover .category-tile-media img,
  .category-tile:focus-visible .category-tile-media img {
    transform: scale(1.07);
  }

  .category-tile:hover .category-tile-affordance,
  .category-tile:focus-visible .category-tile-affordance {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
    transform: translateX(2px);
  }
}

.category-tile:active {
  transform: scale(.985);
}

.category-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .category-tile {
    --tile-radius: 18px;
    aspect-ratio: 1 / 1;
  }

  /* The card is much shorter here and long names wrap to two lines, so the top
     line reaches into the upper half of the tile. Build the scrim earlier and
     darker than the desktop ramp or the label loses contrast on bright art. */
  .category-tile::after {
    background: linear-gradient(
      180deg,
      rgba(10, 16, 32, 0) 0%,
      rgba(10, 16, 32, .18) 40%,
      rgba(10, 16, 32, .62) 66%,
      rgba(8, 13, 26, .92) 100%
    );
  }

  .category-tile-body {
    padding: .85rem .9rem;
  }

  .category-tile-name {
    font-size: .95rem;
  }

  .category-tile-affordance {
    display: none;
  }
}

/* ---- Promo / value banners ---------------------------------------------- */
.promo-banners {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.promo-banner {
  background: var(--accent-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: #fff;
  display: flex;
  /* Copy is confined to the left so it never runs over a product placed on the
     right of the generated artwork. */
  --promo-copy-width: min(100%, 58%);
  flex-direction: column;
  min-height: 260px;
  overflow: hidden;
  position: relative;
}

.promo-banner--pickup {
  background: linear-gradient(140deg, #1c365f 0%, #24498f 100%);
}

.promo-banner--brands {
  background: linear-gradient(140deg, #24313f 0%, #3d5a7a 100%);
}

.promo-banner-img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  /* The banner box aspect changes with the breakpoint (wide in the 2-column
     desktop grid, much squarer when the banners stack on mobile). Pinning the
     subject to the right keeps a right-anchored product out of the crop at
     every width. */
  object-position: right center;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.promo-banner-body {
  /* Darkest on the left for text legibility, clearing toward the right so any
     composited product/artwork stays visible — the same pattern as the hero.
     Decorative art must never cost legibility. */
  background: linear-gradient(
    100deg,
    rgba(9, 17, 33, .92) 0%,
    rgba(9, 17, 33, .78) 42%,
    rgba(9, 17, 33, .34) 72%,
    rgba(9, 17, 33, .08) 100%
  );
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .6rem;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  position: relative;
  z-index: 1;
}

/* Without artwork the banner is a flat colour panel, so the clearing gradient
   would just thin the text background for no benefit. */
.promo-banner:not(:has(.promo-banner-img)) .promo-banner-body {
  background: linear-gradient(160deg, rgba(9, 17, 33, .42) 0%, rgba(9, 17, 33, .12) 100%);
}

.promo-banner-kicker {
  color: rgba(255, 255, 255, .72);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .09em;
  max-width: var(--promo-copy-width);
  text-transform: uppercase;
}

.promo-banner-title {
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  max-width: var(--promo-copy-width);
}

.promo-banner-text {
  color: rgba(255, 255, 255, .86);
  font-size: .92rem;
  line-height: 1.5;
  margin: 0;
  max-width: var(--promo-copy-width);
}

.promo-banner-body .btn {
  align-self: flex-start;
  margin-top: .35rem;
}

/* ---- Guide / resource cards --------------------------------------------- */
/* The <a> IS the card, so the whole tile is one hit area (no nested box and
   no Bootstrap spacing/border utilities with inline colour styles). */
.resource-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.resource-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  color: inherit;
  display: grid;
  gap: .9rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 1.05rem 1.1rem;
  text-decoration: none;
  transition: border-color var(--motion-base) var(--ease-soft), box-shadow var(--motion-base) var(--ease-soft), transform var(--motion-base) var(--ease-soft);
}

.resource-card-icon {
  background: rgba(36, 73, 143, .09);
  border-radius: 12px;
  color: var(--accent-dark);
  display: grid;
  flex: 0 0 auto;
  height: 44px;
  place-items: center;
  width: 44px;
}

.resource-card-icon i {
  font-size: 1.3rem;
}

.resource-card-body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.resource-card-title {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
}

.resource-card-text {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}

.resource-card-affordance {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  transition: color var(--motion-fast) var(--ease-soft), transform var(--motion-fast) var(--ease-soft);
}

@media (hover: hover) and (pointer: fine) {
  .resource-card:hover,
  .resource-card:focus-visible {
    border-color: rgba(36, 73, 143, .30);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }

  .resource-card:hover .resource-card-affordance,
  .resource-card:focus-visible .resource-card-affordance {
    color: var(--accent);
    transform: translateX(3px);
  }
}

.resource-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .resource-card {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .resource-card-affordance {
    display: none;
  }
}

/* ---- Brand strip --------------------------------------------------------- */
/* All seven source logos share one 750x545 transparent canvas, so
   `object-fit: contain` in equal boxes scales them by the SAME factor and
   preserves the designer's intended relative sizes. The old 42px cap left
   wordmark ink ~15px tall (the art has generous transparent padding), which is
   why the strip read as almost invisible. */
.home-brands-heading {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .08em;
  margin-bottom: 1.15rem;
  text-align: center;
  text-transform: uppercase;
}

.brand-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 4vw, 3rem);
  justify-content: center;
}

/* Full colour: these are authorised-stockist trust marks, and colour is what
   makes a brand recognisable. The previous `grayscale(1)` + `.72` opacity
   deliberately drained that away. */
.brand-strip-logo {
  height: clamp(46px, 5.5vw, 64px);
  max-width: 100%;
  object-fit: contain;
  opacity: .88;
  transition: opacity var(--motion-base) var(--ease-soft), transform var(--motion-base) var(--ease-soft);
  width: auto;
}

@media (hover: hover) and (pointer: fine) {
  .brand-strip-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
  }
}

/* ---- Category showcase rows --------------------------------------------- */
/* The generic .section-header stacks into a column with a full-width button
   below 992px. Across five showcase rows that adds ~110px of chrome each, so
   these compact rows keep heading and action on one line at every width. */
.category-showcase .section-header {
  align-items: center;
  flex-direction: row;
  gap: .75rem;
}

.category-showcase .section-header > div {
  min-width: 0;
}

.category-showcase .section-header .btn,
.category-showcase .section-header .section-header-link {
  flex: 0 0 auto;
  padding-inline: .9rem;
}

/* The showcase rows no longer render a kicker at all: six identical "CATEGORY"
   labels above six category names is pure noise, and mobile already hid them
   for exactly that reason. The heading alone carries the meaning. */
@media (max-width: 991.98px) {
  .category-showcase .section-header {
    margin-bottom: .9rem;
  }
}

/* ---- Catalogue toolbar (catalogue page) ---------------------------------- */
/* One surface for search + filters. These used to be two detached blocks — a
   floating search pill sitting flush on top of a bordered panel — which read
   as a spacing bug: no rhythm, and two different corner radii butted together.
   A single row from 992px up; stacked below that (see the media query at the
   end of this block, which MUST stay after the base rules to win the cascade). */
.catalog-toolbar {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1rem;
  padding: .9rem;
  position: relative;
  /* MUST stay visible: the live-search suggestions panel opens out of the
     bottom edge. Clipping here would cut the result list off. */
  overflow: visible;
}

/* A flat, sunken field rather than a second outlined box: the toolbar already
   supplies the outline, so a pill here would nest two borders.
   `flex-grow` is what pushes the filter group to the right edge, so an
   `auto` margin must NOT be added here or it would eat the free space first. */
.catalog-search-field {
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(23, 37, 77, .10);
  border-radius: var(--radius-md);
  display: flex;
  flex: 1 1 20rem;
  gap: .7rem;
  min-height: 52px;
  min-width: 0;
  padding: .3rem .4rem .3rem 1rem;
  position: relative;
  transition:
    background-color var(--motion-fast) var(--ease-soft),
    border-color var(--motion-fast) var(--ease-soft),
    box-shadow var(--motion-fast) var(--ease-soft);
}

.catalog-search-field:focus-within {
  background: #fff;
  border-color: rgba(36, 73, 143, .35);
  box-shadow: 0 0 0 4px rgba(36, 73, 143, .10);
}

.catalog-search-field-icon {
  color: var(--muted);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.catalog-search-field .form-control {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--ink);
  flex: 1 1 auto;
  font-size: 1rem;
  min-height: 44px;
  min-width: 0;
  padding: 0;
}

.catalog-search-field .form-control::placeholder {
  color: rgba(102, 112, 133, .9);
}

.catalog-search-field .form-control:focus {
  box-shadow: none;
}

.catalog-search-field .search-suggestions {
  left: 0;
  right: 0;
}

/* The label sits INLINE with its select on the single desktop row; it stacks
   above the select once the toolbar wraps on smaller screens. */
.catalog-filter-field {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: .6rem;
  min-width: 0;
}

.catalog-filter-field .form-label {
  margin-bottom: 0;
  white-space: nowrap;
}

.catalog-filter-field .form-select {
  min-height: 46px;
  min-width: 8rem;
  width: auto;
}

.catalog-filter-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: .9rem;
}

.catalog-filter-reset {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: .88rem;
  font-weight: 650;
  gap: .35rem;
  padding: .35rem .15rem;
  text-decoration: none;
  white-space: nowrap;
}

.catalog-filter-reset:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.catalog-filter-reset:focus-visible {
  border-radius: var(--radius-sm);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.catalog-filter-submit {
  font-weight: 700;
  min-height: 46px;
  min-width: 150px;
}

@media (max-width: 991px) {
  .catalog-toolbar {
    gap: .8rem;
    padding: .7rem;
  }

  /* Each group takes a full row. */
  .catalog-search-field,
  .catalog-filter-field,
  .catalog-filter-actions {
    flex: 1 1 100%;
  }

  .catalog-filter-field {
    align-items: stretch;
    flex-direction: column;
    gap: .25rem;
  }

  .catalog-filter-field .form-select {
    font-size: .95rem;
    width: 100%;
  }

  /* One row again: the reset link keeps its natural width, the submit button
     takes the rest so it stays a comfortable tap target. */
  .catalog-filter-submit {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ---- Related products: reuse the product card ---------------------------- */
/* The related strip reuses the shared card partial, but sits in a fixed-width
   horizontal row rather than the page grid. */
.related-product-card {
  max-width: 260px;
}

.related-product-card .product-image {
  aspect-ratio: 1 / 1;
}

.related-product-card .product-body {
  padding: .7rem .75rem .8rem;
}

.related-product-card .product-title {
  font-size: .88rem;
}

.related-product-card .product-price-amount {
  font-size: .95rem;
}

.related-product-card .product-cta {
  font-size: .8rem;
  min-height: 40px;
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 991.98px) {
  .trust-bar-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  /* Full-image hero: the box uses the artwork's native 16:9 ratio and every
     slide image is 16:9, so `cover` fills the frame edge to edge with zero
     cropping. The old fixed ~360px box with `cover` cropped roughly a
     quarter off each side of the 2:1 hero art — cutting the product tin out
     of frame entirely. */
  .home-hero {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    min-height: 0;
  }

  .home-hero-slide-img {
    object-fit: cover;
  }

  /* Backdrop while a slide decodes, so the frame never flashes white. */
  .home-hero-media {
    background: var(--surface);
  }

  /* On phones the inner copy is entirely hidden and the scrim is purely
     decorative, but both sat above the carousel and captured touches — so a
     horizontal swipe on the hero never reached Bootstrap's swipe handler.
     They are inert here; letting touches fall through to the carousel
     beneath makes the hero swipeable. Desktop keeps its interactive inner
     (search, buttons) untouched. */
  .home-hero-inner,
  .home-hero-scrim {
    pointer-events: none;
  }

  /* (trust-bar phone carousel lives in the 575.98px block below) */
  .home-hero-inner {
    padding: 1.25rem;
  }

  /* The photo stands on its own on phones: no overlay copy remains, so no
     darkening scrim is needed and the image displays clean. */
  .home-hero-scrim {
    background: none;
  }

  /* Mobile: the hero copy block is removed from the photo. The H1 is
     collapsed to a 1px box (same pattern as .visually-hidden) rather than
     display:none, so the section's aria-labelledby target and the page's
     heading structure survive for screen readers and crawlers. */
  .home-hero-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .home-hero-lead {
    display: none;
  }

  /* With the search relocated there is nothing left to overlay on the
     photo: the eyebrow, the action row and the meta cues all duplicate
     content already shown directly below (category tiles, trust bar,
     bottom nav). */
  .hero-eyebrow,
  .home-hero-actions,
  .home-hero-meta {
    display: none;
  }

  /* Relocation target for the hero search, filled by home-hero-search.js
     so the field sits directly below the header. Styled for the white page
     canvas rather than the dark hero photo. */
  .home-hero-search-slot {
    display: block;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2; /* keeps the suggestions panel above the hero below it */
  }

  .home-hero-search-slot .home-hero-search {
    border: 1px solid rgba(23, 37, 77, .12);
    box-shadow: var(--shadow-sm);
  }

  /* Tuck the search closer to the sticky header than the default 2rem. */
  body.home-page .page-shell {
    padding-top: 1rem;
  }

  .trust-item {
    padding: .7rem .8rem;
  }
}

/* Phones: a 1-up stack of the four promises cost ~284px of home-page
   height and pushed the catalogue down. Below 576px the list becomes a
   one-per-view snap carousel — swipe to move, dots to jump. The UL stays a
   plain list, so without JS every promise is still reachable by swiping. */
@media (max-width: 575.98px) {
  .trust-bar-list {
    display: flex;
    overscroll-behavior-x: contain;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .trust-bar-list::-webkit-scrollbar {
    display: none;
  }

  /* JS makes the rail keyboard-focusable while it genuinely scrolls, so it
     gets the same visible focus treatment as other controls. */
  .trust-bar-list:focus-visible {
    border-radius: var(--radius-md);
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .trust-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }

  .trust-dots {
    display: flex;
  }
}

/* Very narrow phones: the on-screen keyboard already offers a Search key for
   input[type=search], so dropping the button keeps the field readable. */
@media (max-width: 399.98px) {
  .home-hero-search-button {
    display: none;
  }

  .home-hero-search {
    padding-right: .95rem;
  }
}

/* ==========================================================================
   Information pages — Returns & Refunds, Terms, Privacy, FAQ
   --------------------------------------------------------------------------
   These four CMS pages share one editorial shell: a tinted header band, an
   "on this page" contents rail, a readable prose surface, related-page cards
   and a help CTA. Before this they were a bare <h1> plus {{ page.content }}
   dropped into .purchase-panel (a class named for the product *purchase*
   panel) — four pages of unstyled prose in a small white box.

   Everything is scoped under .info-* so no other storefront surface changes.
   ========================================================================== */

/* The reading column is deliberately narrower than the catalogue: long-form
   policy copy at 1320px wide produced 200-character lines. */
.info-shell {
  margin-inline: auto;
  max-width: 64rem;
}

/* ---- Header band -------------------------------------------------------- */
.info-hero {
  background:
    radial-gradient(120% 150% at 88% -10%, rgba(36, 73, 143, .16) 0%, rgba(36, 73, 143, 0) 58%),
    linear-gradient(158deg, #f5f8fd 0%, #eef3fb 52%, #fbfcfe 100%);
  border: 1px solid rgba(36, 73, 143, .12);
  border-radius: var(--radius-lg);
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 2.9rem);
  position: relative;
}

/* Soft brand glow in the top-right corner. `filter: blur` (rather than a
   masked pattern) keeps this safe on every engine; `z-index: -1` paints it
   above the band's own background but beneath the copy, which is why the hero
   needs `isolation: isolate` to anchor the negative layer. */
.info-hero::after {
  background: rgba(36, 73, 143, .18);
  border-radius: 50%;
  content: '';
  filter: blur(46px);
  height: 190px;
  pointer-events: none;
  position: absolute;
  right: -40px;
  top: -60px;
  width: 190px;
  z-index: -1;
}

.info-hero-eyebrow {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(36, 73, 143, .16);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  color: var(--accent-dark);
  display: inline-flex;
  font-size: .73rem;
  font-weight: 800;
  gap: .4rem;
  letter-spacing: .06em;
  margin: 0 0 .85rem;
  padding: .38rem .8rem;
  text-transform: uppercase;
}

.info-hero-title {
  color: var(--ink);
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.1;
  margin: 0 0 .7rem;
}

.info-hero-lead {
  color: #47536b;
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  line-height: 1.6;
  margin: 0;
  max-width: 46rem;
}

.info-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
}

.info-hero-meta li {
  align-items: center;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(23, 37, 77, .08);
  border-radius: var(--radius-pill);
  /* --muted only reached 4.51:1 on this tinted band — too close to the 4.5
     floor. Measured 6.9:1 in this darker tone. */
  color: #47536b;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 600;
  gap: .35rem;
  padding: .32rem .72rem;
}

.info-hero-meta li i {
  color: var(--accent);
}

/* ---- Contents rail + body ----------------------------------------------- */
/* `grid-template-columns: minmax(0, 1fr)` (not the implicit default) is
   load-bearing: an implicit `auto` track is sized to the items' MAX-content,
   so the horizontally scrolling chip row below 992px widened the whole track
   (and therefore the document) to the sum of every chip — a 320px phone got a
   739px page. A `minmax(0, …)` track cannot exceed its container. */
.info-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 1.5rem;
}

@media (min-width: 992px) {
  .info-layout {
    align-items: start;
    gap: 2.75rem;
    grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
    margin-top: 2.25rem;
  }

  .info-layout--single {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Under 992px the rail becomes a horizontally scrollable chip row so the
   section links stay reachable without a JS drawer. */
.info-toc {
  border-top: 1px solid var(--line);
  min-width: 0;
  padding-top: 1rem;
}

.info-toc-title {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  margin: 0 0 .6rem;
  text-transform: uppercase;
}

.info-toc-list {
  display: flex;
  gap: .5rem;
  list-style: none;
  margin: 0;
  overflow-x: auto;
  padding: 0 .15rem .35rem;
  scrollbar-width: thin;
}

.info-toc-link {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink);
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  padding: .42rem .85rem;
  text-decoration: none;
  white-space: nowrap;
}

.info-toc-link:hover {
  border-color: rgba(36, 73, 143, .4);
  color: var(--accent-dark);
}

.info-toc-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Chip-row active state (mobile/tablet). Scoped to the same breakpoint as the
   chip styling so it cannot out-rank the desktop rail rules below. */
@media (max-width: 991.98px) {
  .info-toc-link.is-active {
    background: var(--accent-soft);
    border-color: rgba(36, 73, 143, .45);
    color: var(--accent-dark);
    font-weight: 700;
  }
}

@media (min-width: 992px) {
  .info-toc {
    border-top: 0;
    padding-top: 0;
    position: sticky;
    /* Clears the STICKY SITE HEADER, whose height is not constant: it measures
       82px around 992-1100px but 117px at 1200px, where the nav works onto a
       second row. 6.5rem tucked the rail under the header at that width. */
    top: 8rem;
  }

  .info-toc-list {
    border-left: 2px solid var(--line);
    flex-direction: column;
    gap: 0;
    overflow: visible;
    padding: 0;
  }

  .info-toc-link {
    background: none;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    display: block;
    font-size: .86rem;
    margin-left: -2px;
    padding: .4rem .5rem .4rem .85rem;
    white-space: normal;
  }

  .info-toc-link:hover {
    border-left-color: rgba(36, 73, 143, .35);
    color: var(--accent);
  }

  .info-toc-link.is-active {
    border-left-color: var(--accent);
    color: var(--accent-dark);
    font-weight: 700;
  }
}

.info-body {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

/* ---- Prose surface ------------------------------------------------------ */
.info-prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.35rem, 3vw, 2.5rem);
}

.info-prose > *:first-child {
  margin-top: 0;
}

.info-prose > *:last-child {
  margin-bottom: 0;
}

.info-prose h2 {
  color: var(--ink);
  font-size: clamp(1.15rem, 1.7vw, 1.32rem);
  font-weight: 750;
  letter-spacing: -.01em;
  line-height: 1.3;
  margin: 2.4rem 0 .8rem;
  /* Keeps the sticky site header (up to 117px) off the heading after an anchor
     jump. MUST stay ABOVE the reading line in static/js/info-page.js, or
     following an anchor would immediately mark the previous section active. */
  scroll-margin-top: 10rem;
}

/* Short accent rule above each section heading: structure without adding a
   divider line to every block. */
.info-prose h2::before {
  background: var(--accent);
  border-radius: 2px;
  content: '';
  display: block;
  height: 3px;
  margin-bottom: .7rem;
  width: 2rem;
}

.info-prose h2:first-child {
  margin-top: 0;
}

.info-prose p {
  color: #43506b;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

/* NOT `display: grid` — a grid container blockifies its children and the
   `::marker` bullets disappear with them. */
.info-prose ul,
.info-prose ol {
  color: #43506b;
  line-height: 1.7;
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
}

.info-prose li {
  margin-bottom: .4rem;
}

.info-prose li:last-child {
  margin-bottom: 0;
}

.info-prose li::marker {
  color: var(--accent);
}

.info-prose strong {
  color: var(--ink);
  font-weight: 700;
}

.info-prose em {
  color: var(--muted);
}

/* Inline body links stay underlined (WCAG 1.4.1) but with a softened rule
   that only resolves to full contrast on hover. */
.info-prose a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(36, 73, 143, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.info-prose a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.info-prose a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.info-prose blockquote {
  border-left: 3px solid var(--accent-soft);
  color: var(--muted);
  margin: 0 0 1.1rem;
  padding: .2rem 0 .2rem 1rem;
}

/* ---- Q&A pairs (the FAQ body is authored as "**question**<br>answer") ----- */
.info-qa {
  border-left: 3px solid rgba(36, 73, 143, .22);
  margin: 0 0 1.15rem;
  padding: .05rem 0 .05rem 1rem;
}

.info-qa-question {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.5;
  margin: 0 0 .3rem;
  scroll-margin-top: 10rem;
}

.info-prose .info-qa-answer {
  color: #43506b;
  line-height: 1.7;
  margin: 0;
}

/* ---- Related pages ------------------------------------------------------ */
.info-related {
  display: grid;
  gap: 1rem;
}

/* The reading column is only ~772px, so the homepage's 15rem minimum would
   pack three cramped cards across it (icon + arrow left ~120px of text).
   The minimum MUST be capped by the container width: a bare `19rem` is 304px,
   which is wider than this column on a 320px phone (281px), so the track forced
   the whole grid item wider than its parent and the page scrolled sideways by
   11px on every information page. `min(19rem, 100%)` lets it collapse instead. */
.info-related .resource-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
}

.info-related-heading {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .07em;
  margin: 0;
  text-transform: uppercase;
}

/* ---- Help CTA ----------------------------------------------------------- */
.info-cta {
  align-items: center;
  background:
    radial-gradient(120% 160% at 92% 0%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, var(--accent) 0%, #1b3a72 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 1.75rem;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
}

.info-cta-copy {
  flex: 1 1 20rem;
  min-width: 0;
}

.info-cta-kicker {
  color: rgba(255, 255, 255, .74);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 .4rem;
  text-transform: uppercase;
}

.info-cta-title {
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.25;
  margin: 0 0 .4rem;
}

.info-cta-text {
  color: rgba(255, 255, 255, .82);
  line-height: 1.6;
  margin: 0;
  max-width: 40rem;
}

.info-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

/* Bootstrap sets `outline: 0` on `.btn:focus-visible` and relies on a focus
   box-shadow that this stylesheet does not carry, so a button on the dark CTA
   band would otherwise show NO keyboard focus indicator at all. White, because
   the accent ring used everywhere else vanishes against this background. */
.info-cta-actions .btn:focus-visible {
  box-shadow: none;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .info-cta-actions {
    width: 100%;
  }

  .info-cta-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-carousel.carousel {
    /* Bootstrap's fade needs a transition to swap slides; with motion reduced
       we simply hide all but the first slide so the hero stays static. */
    animation: none !important;
  }

  /* The timer exists to telegraph an animation; with motion reduced there is
     nothing to telegraph, so drop the bar rather than leave a frozen stub. */
  .home-hero-progress {
    display: none;
  }

  .store-status-dot {
    animation: none !important;
  }

  .home-hero-carousel .carousel-item {
    transition: none !important;
  }

  .trust-dot::before {
    transition: none;
  }

  .category-tile:hover,
  .category-tile:focus-visible,
  .resource-card:hover {
    transform: none;
  }

  .category-tile:hover .category-tile-media img,
  .category-tile:focus-visible .category-tile-media img {
    transform: none;
  }

  .category-tile:hover .category-tile-affordance,
  .category-tile:focus-visible .category-tile-affordance {
    transform: none;
  }

  .resource-card:hover .resource-card-affordance,
  .resource-card:focus-visible .resource-card-affordance,
  .section-header-link:hover i,
  .section-header-link:focus-visible i {
    transform: none;
  }
}
