/* =========================================================================
   MDS Precision — design system
   Recreates the "Precision" handoff mockups. Tokens mirror the handoff.
   ========================================================================= */

:root {
  /* Brand */
  --blue: #1956E6;
  --blue-tint: #EAF0FF;
  --navy: #0A1A2F;

  /* Text */
  --ink: #0E1726;
  --body: #3A4757;
  --body-2: #55657A;
  --muted: #64748B;
  --muted-2: #7A8699;
  --faint: #94A3B8;
  --meta: #8A96A8;
  --footer-text: #9FB1C8;
  --footer-muted: #7E93AD;
  --utility-text: #AEBFD4;

  /* Lines / surfaces */
  --border: #E6EAF0;
  --border-2: #E8ECF2;
  --hair: #ECEFF4;
  --hair-2: #F1F4F8;
  --input-border: #D7DDE6;
  --input-border-2: #CFD7E2;
  --surface: #FFFFFF;
  --tint: #FAFBFD;
  --tint-2: #F3F6FA;
  --tint-3: #F7F9FC;
  --page-frame: #E9EDF2;

  /* Status */
  --green: #16A34A;
  --green-bg: #E9F8EE;
  --amber: #B45309;
  --amber-bg: #FEF3C7;

  /* Placeholder */
  --stripe: repeating-linear-gradient(45deg, #EEF1F6 0 12px, #F6F8FB 12px 24px);
  --stripe-lg: repeating-linear-gradient(45deg, #E9EDF3 0 14px, #F2F5F9 14px 28px);

  /* Layout */
  --page-max: 1440px;
  --pad-x: 56px;
  --radius-card: 12px;
  --radius-input: 10px;
  --shadow-card-hover: 0 8px 24px rgba(25, 86, 230, .10);
  --shadow-search: 0 6px 20px rgba(15, 30, 60, .06);

  /* Fonts */
  --font-body: 'Barlow', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-cond: 'Barlow Semi Condensed', var(--font-body);
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.mds {
  margin: 0;
  background: var(--page-frame);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mds a { color: inherit; }
.mono { font-family: var(--font-mono); }
.cond { font-family: var(--font-cond); }

img { max-width: 100%; height: auto; }

/* The centred white "page" that the mockups live on */
.mds-page {
  max-width: var(--page-max);
  margin: 0 auto;
  background: var(--surface);
}

.mds-section { padding: 48px var(--pad-x); }

/* Screen-reader only */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700;
  border-radius: var(--radius-input); cursor: pointer;
  border: 1.5px solid transparent; text-decoration: none;
  line-height: 1.1; transition: background .15s, border-color .15s, box-shadow .15s, transform .1s;
  -webkit-appearance: none; appearance: none;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); padding: 13px 22px; font-size: 15px; }
.btn-primary:hover { background: #1448c4; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--input-border); padding: 13px 22px; font-size: 15px; }
.btn-secondary:hover { border-color: var(--blue); }
.btn-ghost { background: var(--blue-tint); color: var(--blue); border-color: transparent; border-radius: 7px; padding: 8px 12px; font-size: 12px; }
.btn-ghost:hover { background: #dfe8ff; }
.btn-block { width: 100%; }
/* Anchor buttons must keep their intended text colour — `.mds a { color: inherit }`
   (0-1-1) would otherwise beat `.btn-primary` (0-1-0) and make blue buttons dark. */
.mds .btn-primary { color: #fff; }
.mds .btn-secondary { color: var(--ink); }
.mds .btn-ghost { color: var(--blue); }
.mds .btn-white { color: var(--navy); }
.mds .header-phone { color: #fff; }
.mds .chip { color: var(--blue); }

/* =========================================================================
   Utility bar
   ========================================================================= */
.shipping-announcement {
  background: var(--blue); color: #fff;
  font-size: 14px; font-weight: 800; letter-spacing: .06em;
  line-height: 1.3; padding: 9px var(--pad-x); text-align: center;
  text-transform: uppercase;
}
.utility-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy); color: var(--utility-text);
  font-size: 12.5px; letter-spacing: .02em; padding: 8px var(--pad-x);
}
.utility-bar .right { display: flex; gap: 22px; align-items: center; }
.utility-bar .phone { color: #fff; font-weight: 600; text-decoration: none; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  display: flex; align-items: center; gap: 32px;
  padding: 14px var(--pad-x);
  border-bottom: 1px solid var(--border-2);
  /* position + z-index make this its own stacking context, so anything
     nested inside it (like the mobile .main-nav drawer, z-index:70) can only
     out-rank *siblings within this header* — it can never paint above
     .drawer-scrim (z-index:60), which lives outside the header entirely.
     Keeping the header itself above the scrim fixes that: the drawer (and
     the header row behind it) render at full brightness instead of getting
     tinted by the dimmed backdrop. */
  position: sticky; top: 0; background: #fff; z-index: 65;
}
.site-header .brand { display: block; flex-shrink: 0; }
.site-header .brand img { height: 62px; width: auto; display: block; }
.site-header.has-search .brand img { height: 58px; }

.main-nav { display: flex; align-items: center; gap: 30px; margin: 0 auto; }
.main-nav a {
  font-size: 15px; font-weight: 600; color: #1f2a3a; text-decoration: none;
}
.main-nav-close { display: none; } /* mobile-drawer only — re-enabled in the max-width:900px block */
.main-nav a.active,
.main-nav a:hover { color: var(--blue); }
/* when a WordPress menu (Appearance → Menus) is assigned, it outputs ul>li>a */
.main-nav .main-nav-list,
.main-nav > ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; margin-left: auto; }
.header-actions .login { color: #1f2a3a; text-decoration: none; }
.header-actions .login:hover { color: var(--blue); }
.header-cart {
  display: flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none;
  border: 1px solid var(--input-border); border-radius: 8px; padding: 9px 14px;
}
.header-cart.plain { border: none; padding: 0; }
.header-cart .cart-total { color: var(--muted); font-weight: 600; }
.header-cart .cart-count {
  background: var(--blue); color: #fff; border-radius: 6px; padding: 2px 8px; font-size: 12px; min-width: 22px; text-align: center;
}

/* Persistent header search (category/product) */
.header-search {
  flex: 1; display: flex; align-items: center;
  background: var(--tint-2); border: 1.5px solid var(--input-border);
  border-radius: var(--radius-input); padding: 4px 4px 4px 16px;
}
.header-search .glyph { color: var(--faint); font-size: 14px; font-family: var(--font-mono); }
.header-search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 15px; padding: 10px 12px; color: var(--ink);
}
.header-search button {
  font-family: var(--font-body); font-weight: 700; font-size: 14px; color: #fff;
  background: var(--blue); border: none; border-radius: 7px; padding: 10px 20px; cursor: pointer;
}
.header-search button:hover { background: #1448c4; }

/* Live search dropdown */
.header-search { position: relative; }
.live-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 30, 60, .12); overflow: hidden;
  z-index: 50; display: none;
}
.live-results.open { display: block; }
.live-results a {
  display: flex; align-items: center; gap: 12px; padding: 11px 16px; text-decoration: none;
  border-bottom: 1px solid var(--hair-2);
}
.live-results a:last-child { border-bottom: none; }
.live-results a:hover, .live-results a.active { background: var(--tint-2); }
.live-results .lr-thumb { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--stripe); border: 1px solid var(--hair); flex-shrink: 0; }
.live-results .lr-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.live-results .lr-sku { font-size: 11.5px; color: var(--meta); font-family: var(--font-mono); }
.live-results .lr-price { margin-left: auto; font-family: var(--font-cond); font-weight: 700; color: var(--ink); }
.live-results .lr-empty { padding: 16px; font-size: 14px; color: var(--muted); }
.live-results .lr-all { font-size: 13px; font-weight: 700; color: var(--blue); justify-content: center; }

/* Nav search — magnifier toggle reveals the product search over the menu */
.nav-wrap { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; }
.nav-search {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  background: #fff; opacity: 0; visibility: hidden; transition: opacity .15s ease;
}
.site-header.search-open .nav-search { opacity: 1; visibility: visible; }
.site-header.search-open .main-nav { visibility: hidden; }
.nav-search .header-search { margin: 0; }
.nav-search-close {
  flex-shrink: 0; width: 40px; height: 40px; border: 0; background: transparent;
  color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; border-radius: 8px;
}
.nav-search-close:hover { color: var(--ink); background: var(--tint-2); }
.nav-search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0; padding: 0;
  border: none; background: none; color: var(--ink); cursor: pointer;
  border-radius: 10px; transition: color .15s; -webkit-tap-highlight-color: transparent;
}
.nav-search-toggle svg { width: 30px; height: 30px; } /* icon only */
.nav-search-toggle:hover, .nav-search-toggle:focus-visible,
.site-header.search-open .nav-search-toggle { color: var(--blue); background: none; }
.nav-search-toggle:focus, .nav-search-toggle:focus-visible { outline: none; box-shadow: none; }

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle { display: none; }
.mobile-search { display: none; }

/* =========================================================================
   Hero (home)
   ========================================================================= */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 56px var(--pad-x) 48px;
}
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-tint);
  padding: 6px 12px; border-radius: 6px; margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 16px; font-size: 54px; line-height: 1.02; font-weight: 800;
  color: var(--ink); letter-spacing: -.01em;
}
.hero .sub { margin: 0 0 26px; font-size: 18px; line-height: 1.5; color: var(--body-2); max-width: 520px; }

.hero-search {
  display: flex; align-items: center; background: #fff;
  border: 1.5px solid var(--input-border-2); border-radius: 12px;
  padding: 6px 6px 6px 18px; box-shadow: var(--shadow-search); max-width: 560px;
}
.hero-search .glyph { color: var(--faint); font-size: 14px; font-family: var(--font-mono); }
.hero-search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 16px; padding: 12px 14px; color: var(--ink);
}
.hero-search button {
  font-family: var(--font-body); font-weight: 700; font-size: 15px; color: #fff;
  background: var(--blue); border: none; border-radius: 8px; padding: 12px 22px; cursor: pointer;
}
.hero-search button:hover { background: #1448c4; }

.quick-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.quick-pills a {
  font-size: 13px; font-weight: 600; color: #475569; text-decoration: none;
  border: 1px solid #E1E7EF; border-radius: 20px; padding: 7px 14px;
}
.quick-pills a:hover { border-color: var(--blue); color: var(--blue); }

.hero-media {
  height: 360px; border-radius: 14px; background: var(--stripe-lg);
  border: 1px solid #E2E8F0; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center; padding: 18px;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.ph-label {
  font-family: var(--font-mono); font-size: 12px; color: var(--faint);
  background: #fff; border: 1px solid #E2E8F0; border-radius: 6px; padding: 6px 10px;
}

/* =========================================================================
   Trust strip
   ========================================================================= */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-2); border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2);
}
.trust-cell { background: #fff; padding: 22px 26px; }
.trust-cell .top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.trust-cell .title { font-size: 15px; font-weight: 700; color: var(--ink); }
.trust-cell p { margin: 0 0 0 32px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.check-circle {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--blue-tint);
  color: var(--blue); font-size: 13px; font-weight: 700; flex-shrink: 0;
}

/* =========================================================================
   Section heads
   ========================================================================= */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px;
}
.section-head h2 { margin: 0; font-size: 30px; font-weight: 700; color: var(--ink); }
.section-head .more { font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: none; }
.section-head .more:hover { text-decoration: underline; }
.section-head .note { font-size: 13px; color: var(--faint); }

/* =========================================================================
   Category cards (home "Shop by range")
   ========================================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  text-decoration: none; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 16px; display: block; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cat-card:hover { border-color: var(--blue); box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.cat-card .thumb { height: 92px; border-radius: 8px; background: var(--stripe); border: 1px solid var(--hair); margin-bottom: 14px; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .name { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.cat-card .tag { font-size: 13px; color: var(--muted-2); margin: 4px 0 12px; }
.cat-card .foot { display: flex; align-items: center; justify-content: space-between; }
.cat-card .count { font-family: var(--font-mono); font-size: 12px; color: var(--blue); background: var(--blue-tint); border-radius: 5px; padding: 3px 8px; }
.cat-card .arrow { color: var(--blue); font-size: 16px; }

/* =========================================================================
   Product card (home / category / related)
   ========================================================================= */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }

.pcard {
  text-decoration: none; border: 1px solid var(--border); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column; background: #fff;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.pcard:hover { border-color: var(--blue); box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.pcard .media {
  height: 150px; background: var(--stripe); border-bottom: 1px solid var(--hair);
  position: relative; overflow: hidden;
}
.pcard .media img { width: 100%; height: 100%; object-fit: cover; }
.pcard.compact .media { height: 140px; }
.product-grid.cols-4 .pcard .media { height: 140px; }

.badge-model {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: #475569; background: #fff; border: 1px solid #E2E8F0; border-radius: 5px; padding: 4px 8px;
}
.badge-stock {
  position: absolute; top: 12px; right: 12px; font-size: 10.5px; font-weight: 700;
  border-radius: 5px; padding: 4px 8px;
}
.badge-stock.in { color: var(--green); background: var(--green-bg); }
.badge-stock.low { color: var(--amber); background: var(--amber-bg); }
.badge-stock.out { color: #B91C1C; background: #FEE2E2; }

.pcard .body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-grid.cols-4 .pcard .body { padding: 14px; }
.pcard .name { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.product-grid.cols-4 .pcard .name { font-size: 15px; }
.pcard .pn { font-family: var(--font-mono); font-size: 12px; color: var(--meta); margin: 7px 0 14px; }
.product-grid.cols-4 .pcard .pn { font-size: 11.5px; margin: 6px 0 12px; }
.pcard .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.pcard .price { font-family: var(--font-cond); font-size: 22px; font-weight: 700; color: var(--ink); }
.product-grid.cols-4 .pcard .price { font-size: 19px; }
.pcard .price del { color: var(--faint); font-weight: 500; font-size: .7em; margin-right: 6px; }

/* the add-to-cart button inside a card (WooCommerce outputs an <a>) */
.pcard .add,
.pcard .button {
  font-family: var(--font-body); font-weight: 700; font-size: 13px; color: #fff;
  background: var(--blue); border: none; border-radius: 8px; padding: 9px 16px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.pcard .add:hover, .pcard .button:hover { background: #1448c4; }
.pcard.compact .add, .product-grid.cols-4 .pcard .add {
  background: var(--blue-tint); color: var(--blue); border-radius: 7px; padding: 8px 12px; font-size: 12px;
}
.pcard.compact .add:hover, .product-grid.cols-4 .pcard .add:hover { background: #dfe8ff; }
.pcard .add.loading { opacity: .6; pointer-events: none; }
.pcard .add.added::after { content: " ✓"; }

/* =========================================================================
   Breadcrumb
   ========================================================================= */
.breadcrumb { font-size: 13px; color: var(--faint); }
.breadcrumb a { color: var(--faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .current { color: var(--blue); font-weight: 600; }
.breadcrumb .sep { margin: 0 8px; }

/* =========================================================================
   Category page
   ========================================================================= */
.parts-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  gap: 28px;
  margin: 28px var(--pad-x) 6px;
  padding: 28px;
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 12%, rgba(37, 99, 235, .14), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 52%, #e7eef8 100%);
  box-shadow: var(--shadow-search);
  overflow: hidden;
}
.parts-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}
.parts-hero__copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: .96;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.parts-hero__copy p {
  margin: 0;
  max-width: 470px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--body-2);
}
.parts-hero__media {
  min-height: 304px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .12);
  box-shadow: var(--shadow-card);
  background: #dbe5f2;
}
.parts-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-head { padding: 22px var(--pad-x) 0; }
.cat-head--after-hero { padding-top: 16px; }
.page-content-section--after-hero { padding-top: 18px; }
.cat-title-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 10px; gap: 16px; }
.cat-title-row h1 { margin: 0; font-size: 38px; font-weight: 800; color: var(--ink); }
.cat-count { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.cat-count strong { color: var(--ink); }

.sort-control { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); flex-shrink: 0; }
.sort-control select {
  border: 1.5px solid var(--input-border); border-radius: 8px; padding: 9px 32px 9px 14px;
  font-weight: 600; color: var(--ink); font-family: var(--font-body); font-size: 13.5px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230E1726' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}

.cat-body {
  display: grid; grid-template-columns: 268px 1fr; gap: 32px;
  padding: 24px var(--pad-x) 48px;
}
.cat-body .product-grid { grid-template-columns: repeat(var(--mds-cols, 3), 1fr); gap: 16px; }

/* Filter sidebar */
.filters-aside { align-self: start; position: sticky; top: 88px; }
.filters-card { border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.filters-card .head {
  padding: 14px 16px; border-bottom: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: space-between;
}
.filters-card .head .label { font-family: var(--font-cond); font-size: 17px; font-weight: 700; color: var(--ink); }
.filters-card .head .clear { font-size: 12.5px; color: var(--blue); text-decoration: none; font-weight: 600; }
.filter-group { padding: 16px; border-bottom: 1px solid var(--hair-2); }
.filter-group .gtitle {
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #475569; margin-bottom: 12px;
}
.filter-rows { display: flex; flex-direction: column; gap: 10px; }
.filter-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; color: #1f2a3a; cursor: pointer;
}
.filter-row .lbl { display: flex; align-items: center; gap: 9px; }
.filter-row input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; margin: 0;
  width: 16px; height: 16px; border: 1.5px solid #CBD5E1; border-radius: 4px;
  display: inline-block; cursor: pointer; position: relative; flex-shrink: 0;
}
.filter-row input[type="checkbox"]:checked { background: var(--blue); border-color: var(--blue); }
.filter-row input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.filter-row .n { font-size: 12px; color: var(--faint); }
.price-fields { display: flex; align-items: center; gap: 8px; }
.price-fields input {
  flex: 1; width: 100%; border: 1.5px solid var(--input-border); border-radius: 8px;
  padding: 9px 11px; font-size: 13px; color: var(--ink); font-family: var(--font-body); outline: none;
}
.price-fields input::placeholder { color: var(--faint); }
.price-fields .dash { color: #CBD5E1; }
.filter-apply { margin-top: 12px; }

/* Active chips */
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600;
  color: var(--blue); background: var(--blue-tint); border-radius: 20px; padding: 6px 12px;
  text-decoration: none;
}
.chip .x { color: #7DA0F0; }
.chip:hover .x { color: var(--blue); }

/* Pagination */
.mds-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; flex-wrap: wrap; }
.mds-pagination .page-numbers {
  border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 15px; font-size: 14px;
  color: #1f2a3a; font-weight: 600; text-decoration: none; min-width: 42px; text-align: center;
}
.mds-pagination .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.mds-pagination .page-numbers.current { border-color: var(--blue); background: var(--blue); color: #fff; }
.mds-pagination .page-numbers.dots { border: none; color: var(--faint); min-width: auto; padding: 9px 4px; }
.mds-pagination .page-numbers.prev,
.mds-pagination .page-numbers.next { padding: 9px 14px; }

/* Filters drawer trigger (mobile only) */
.filters-trigger { display: none; }

/* =========================================================================
   Single product
   ========================================================================= */
.product-main {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding: 24px var(--pad-x) 40px;
}

/* Gallery */
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-self: start; }
.gallery .thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery .thumb {
  aspect-ratio: 1; border: 1px solid var(--border); border-radius: 8px; background: var(--stripe);
  overflow: hidden; cursor: pointer; padding: 0;
}
.gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumb.active { border: 2px solid var(--blue); }
.gallery .main {
  aspect-ratio: 1; border: 1px solid var(--border); border-radius: 14px; background: var(--stripe-lg);
  overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding: 18px;
}
.gallery .main img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }

/* Buy box */
.buybox .badges { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.badge {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 5px; padding: 5px 10px;
}
.badge.brand { color: var(--blue); background: var(--blue-tint); }
.badge.in { color: var(--green); background: var(--green-bg); }
.badge.low { color: var(--amber); background: var(--amber-bg); }
.badge.out { color: #B91C1C; background: #FEE2E2; }

.buybox h1 { margin: 0 0 8px; font-size: 40px; line-height: 1.04; font-weight: 800; color: var(--ink); }
.buybox .meta { font-family: var(--font-mono); font-size: 13px; color: var(--meta); margin-bottom: 20px; }

.buybox .price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.buybox .price-row .price { font-family: var(--font-cond); font-size: 40px; font-weight: 800; color: var(--ink); }
.buybox .price-row .price del { color: var(--faint); font-size: .6em; font-weight: 500; margin-right: 8px; }
.buybox .price-row .gst { font-size: 14px; color: var(--faint); }
.buybox .price-sub { margin: 0 0 22px; font-size: 13.5px; color: var(--muted); }

.fits,
.product-vin-form {
  border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 22px; background: var(--tint);
}
.product-vin-form { background: #fff; }
.fits .ftitle,
.product-vin-form .ftitle { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #475569; margin-bottom: 8px; }
.fits .ftext { font-size: 14.5px; color: #1f2a3a; line-height: 1.5; }
.fits a { color: var(--blue); text-decoration: none; font-weight: 600; }
.product-vin-form p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.product-vin-form .wp-block-jetpack-contact-form-container,
.product-vin-form form { margin: 0; }

.buy-actions { display: flex; gap: 14px; align-items: stretch; margin-bottom: 16px; }
.qty-stepper {
  display: flex; align-items: center; border: 1.5px solid var(--input-border); border-radius: 10px; overflow: hidden;
}
.qty-stepper button {
  padding: 0 16px; font-size: 20px; color: var(--muted); cursor: pointer; background: none; border: none; line-height: 1; height: 100%;
}
.qty-stepper button:hover { color: var(--blue); }
.qty-stepper input {
  font-family: var(--font-mono); padding: 14px 6px; font-size: 15px; color: var(--ink);
  min-width: 44px; width: 44px; text-align: center; border: none; outline: none; -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-actions .add-to-cart { flex: 1; font-size: 16px; padding: 14px; border-radius: 10px; }
.buy-now { margin-bottom: 24px; padding: 13px; font-size: 15px; }

.assurances { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.assurance { display: flex; gap: 10px; align-items: flex-start; }
.assurance .check-circle { width: 22px; height: 22px; font-size: 12px; }
.assurance .at { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.assurance .ad { font-size: 12.5px; color: var(--muted-2); }

/* Tabs + specs */
.tabs-section { padding: 8px var(--pad-x); }
.tab-bar { display: flex; gap: 28px; border-bottom: 1px solid var(--border-2); margin-bottom: 24px; flex-wrap: wrap; }
.tab-bar button {
  font-size: 15px; font-weight: 600; color: var(--faint); padding: 0 2px 14px;
  background: none; border: none; border-bottom: 2.5px solid transparent; cursor: pointer; font-family: var(--font-body);
}
.tab-bar button.active { color: var(--ink); font-weight: 700; border-bottom-color: var(--blue); }
.tab-panels { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.tab-content .panel { display: none; }
.tab-content .panel.active { display: block; }
.tab-content p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.65; color: var(--body); }
.tab-content p:last-child { margin-bottom: 0; }

.tab-side { display: grid; gap: 18px; align-self: start; }
.tab-side .product-vin-form { margin-bottom: 0; }
.specs-card { border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; align-self: start; }
.specs-card .head {
  padding: 12px 16px; background: var(--tint); border-bottom: 1px solid var(--hair);
  font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #475569;
}
.spec-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 12px 16px; border-bottom: 1px solid var(--hair-2); font-size: 14px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .k { color: var(--muted); flex-shrink: 0; }
.spec-row .v { font-family: var(--font-mono); color: var(--ink); font-weight: 500; text-align: right; word-break: break-word; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--navy); color: var(--footer-text); padding: 40px var(--pad-x);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
}
.site-footer .brand-block .name { font-family: var(--font-cond); font-size: 20px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.site-footer .brand-block .sub { font-size: 13px; color: var(--footer-muted); margin-top: 4px; }
.site-footer .brand-block p { font-size: 13.5px; line-height: 1.6; margin: 16px 0 0; max-width: 260px; }
.site-footer .col-title { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.site-footer .col-links { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.site-footer .col-links a { text-decoration: none; color: var(--footer-text); }
.site-footer .col-links a:hover { color: #fff; }
.site-footer .col-links .strong { color: #fff; font-weight: 600; }

/* =========================================================================
   Home (service site) template
   ========================================================================= */

/* service header: full nav + call button */
.site-header.is-service { justify-content: space-between; }
.site-header.is-service .main-nav { margin: 0; gap: 28px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  background: var(--blue); color: #fff; text-decoration: none;
  border-radius: 8px; padding: 10px 16px; font-size: 14px; font-weight: 700;
}
.header-phone:hover { background: #1448c4; color: #fff; }
/* on small phones the utility bar already shows the number — avoid crowding the store header */
@media (max-width: 560px) { .header-actions .header-phone { display: none; } }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.hero .hero-media { height: 380px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }

/* white button — used on the navy banner */
.btn-white { background: #fff; color: var(--navy); border-color: #fff; padding: 13px 22px; font-size: 15px; white-space: nowrap; }
.btn-white:hover { background: #eef2f8; border-color: #eef2f8; }

/* navy banner strip */
.cta-band { background: var(--navy); padding: 26px var(--pad-x); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band-text { color: #fff; font-size: 24px; font-weight: 700; line-height: 1.2; max-width: 820px; }
.cta-band .btn { flex-shrink: 0; }

/* plain coloured eyebrow label (not the pill) */
.eyebrow-text {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}

/* services */
.services-intro { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.services-intro h2 { margin: 0 0 10px; font-size: 36px; font-weight: 800; color: var(--ink); }
.services-intro p { margin: 0; font-size: 16.5px; color: var(--muted); line-height: 1.5; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; background: #fff;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.service-card:hover { border-color: var(--blue); box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.service-card .svc-icon {
  width: 48px; height: 48px; border-radius: 11px; background: var(--blue-tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.service-card .svc-title { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.service-card .svc-desc { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* stats strip */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-2); border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2);
  margin-top: 40px;
}
.stat-cell { background: #fff; padding: 28px 26px; text-align: center; }
.stat-cell .n { font-size: 34px; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-cell .l { font-size: 14px; color: var(--muted); margin-top: 8px; font-weight: 500; }

/* contact */
.home-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.home-contact-grid h2 { margin: 0 0 14px; font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1.05; }
.home-contact-grid .sub { margin: 0 0 28px; }
.contact-lines { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px;
}
.contact-card:hover { border-color: var(--blue); }
.contact-card .ic {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 9px; background: var(--blue-tint);
  color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-card .lab { display: block; font-size: 12.5px; color: var(--faint); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.contact-card .num { font-size: 17px; font-weight: 700; color: var(--ink); }
.contact-form-card { border: 1px solid var(--border); border-radius: 14px; padding: 28px; background: var(--tint); }
.contact-fallback { text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 14px; align-items: center; }

/* testimonial band */
.testimonial-band { background: var(--tint-3); border-top: 1px solid var(--border-2); padding: 56px var(--pad-x); text-align: center; }
.testimonial-band blockquote { margin: 0 auto 22px; max-width: 820px; font-size: 27px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.testimonial-band .who { font-size: 15px; font-weight: 700; color: var(--blue); }

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cta-band-text { font-size: 20px; }
  .home-contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .services-intro h2 { font-size: 28px; }
  .testimonial-band blockquote { font-size: 21px; }
}

/* =========================================================================
   Service sub-pages (Services / Bookings / Gallery / Contact)
   ========================================================================= */
.page-header { padding: 40px var(--pad-x) 8px; }
.page-header .breadcrumb { margin-bottom: 12px; }
.page-header .eyebrow { margin-bottom: 16px; }
.page-header h1 { margin: 0 0 12px; font-size: 48px; line-height: 1; font-weight: 800; color: var(--ink); }
.page-header .lead { margin: 0; font-size: 18px; color: var(--body-2); line-height: 1.5; max-width: 600px; }

/* services — image cards */
.svc-img-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-img-card {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.svc-img-card:hover { border-color: var(--blue); box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.svc-img-card .media { height: 160px; background: var(--stripe); border-bottom: 1px solid var(--hair); position: relative; overflow: hidden; }
.svc-img-card .media img { width: 100%; height: 100%; object-fit: cover; }
.svc-img-card .tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; color: #475569; background: #fff; border: 1px solid #E2E8F0; border-radius: 5px; padding: 4px 8px; }
.svc-img-card .body { padding: 22px 22px 24px; }
.svc-img-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.svc-img-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* inset navy CTA box */
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--navy); padding: 32px var(--pad-x); margin: 40px var(--pad-x) 0; border-radius: 16px;
}
.cta-box .cta-title { font-size: 26px; font-weight: 700; color: #fff; line-height: 1.15; }
.cta-box .cta-sub { font-size: 15px; color: var(--footer-text); margin-top: 6px; }

/* shared static form styling */
.form-card { border: 1px solid var(--border); border-radius: 14px; padding: 28px; background: var(--tint); }
.form-card h2 { margin: 0 0 4px; font-size: 22px; font-weight: 700; color: var(--ink); }
.form-card .form-note { margin: 0 0 22px; font-size: 14px; color: var(--muted); }
.form-group-title { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #475569; margin: 0 0 14px; }
.mds-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.mds-form .full { margin-bottom: 14px; }
.mds-form .field-label { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 7px; }
.mds-form input, .mds-form select, .mds-form textarea {
  width: 100%; border: 1.5px solid var(--input-border); border-radius: 9px; padding: 11px 13px;
  font-size: 14.5px; color: var(--ink); outline: none; background: #fff; font-family: var(--font-body);
}
.mds-form textarea { resize: vertical; }
.mds-form select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.mds-form .toggle { display: flex; gap: 10px; }
.mds-form .toggle span { flex: 1; text-align: center; border: 1.5px solid var(--input-border); color: #475569; font-weight: 600; border-radius: 9px; padding: 11px; font-size: 14px; cursor: pointer; }
.mds-form .toggle span.on { border-color: var(--blue); background: var(--blue-tint); color: var(--blue); font-weight: 700; }

/* booking layout */
.booking-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; padding: 28px var(--pad-x) 48px; }
.booking-aside { display: flex; flex-direction: column; gap: 18px; align-self: start; }
.aside-card { border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.aside-card.tint { background: var(--tint); }
.aside-card h3 { margin: 0 0 16px; font-size: 19px; font-weight: 700; color: var(--ink); }
.step { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; }
.step:last-child { margin-bottom: 0; }
.step .num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-tint); color: var(--blue); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.step .st { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.step .sd { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.aside-phone { font-family: var(--font-cond); font-size: 22px; font-weight: 800; color: var(--blue); text-decoration: none; display: block; }
.aside-divider { border-top: 1px solid var(--hair); margin: 16px 0; }
.aside-label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.aside-card .ln { font-size: 14px; color: #1f2a3a; }
.aside-card .ln.muted { color: var(--faint); }

/* gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px var(--pad-x) 0; }
.gallery-filters .gf { font-size: 13.5px; font-weight: 600; border-radius: 20px; padding: 8px 16px; cursor: pointer; background: #fff; color: #475569; border: 1px solid #E1E7EF; }
.gallery-filters .gf.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.gallery-grid { columns: 4; column-gap: 16px; padding: 24px var(--pad-x) 48px; }
.gallery-tile { break-inside: avoid; margin-bottom: 16px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; position: relative; }
.gallery-tile .ph { background: var(--stripe); position: relative; }
.gallery-tile img { width: 100%; display: block; }
/* real photo fills the fixed-height tile (keeps the masonry heights intact) */
.gallery-tile .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-tile .tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; color: #475569; background: #fff; border: 1px solid #E2E8F0; border-radius: 5px; padding: 4px 8px; }

/* Gallery lightbox */
.mds-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(10, 26, 47, .93); }
.mds-lightbox.is-open { display: flex; }
.mds-lightbox .lb-stage { margin: 0; max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.mds-lightbox .lb-stage img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55); cursor: default; }
.mds-lightbox .lb-cap { margin-top: 14px; color: #fff; font-family: var(--font-cond); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.mds-lightbox .lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; }
.mds-lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.mds-lightbox .lb-prev { left: 20px; }
.mds-lightbox .lb-next { right: 20px; }
.mds-lightbox .lb-close, .mds-lightbox .lb-nav { display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; line-height: 1; cursor: pointer; transition: background .15s; }
.mds-lightbox .lb-close { font-size: 26px; }
.mds-lightbox .lb-nav { font-size: 30px; }
.mds-lightbox .lb-close:hover, .mds-lightbox .lb-nav:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 600px) {
  .mds-lightbox .lb-nav { width: 42px; height: 42px; font-size: 24px; }
  .mds-lightbox .lb-prev { left: 8px; }
  .mds-lightbox .lb-next { right: 8px; }
  .mds-lightbox .lb-close { top: 10px; right: 10px; }
}
.gallery-tile .label { position: absolute; bottom: 12px; left: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--faint); background: #fff; border: 1px solid #E2E8F0; border-radius: 5px; padding: 4px 8px; }

/* contact info cards + map */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px var(--pad-x) 8px; }
.info-card { border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.info-card .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 14px; }
.info-card .lab { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.info-card .val { font-size: 15px; color: var(--ink); font-weight: 600; line-height: 1.45; white-space: pre-line; }
.info-card a.val { text-decoration: none; }
.info-card a.val:hover { color: var(--blue); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px var(--pad-x) 48px; }
.map-card { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
.map-card iframe { flex: 1; width: 100%; border: 0; min-height: 340px; display: block; }
.map-foot { padding: 18px 22px; border-top: 1px solid var(--hair); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.map-foot .lab { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.map-foot .addr { font-size: 15px; color: var(--ink); font-weight: 600; }
.directions-btn { flex-shrink: 0; font-size: 13.5px; font-weight: 700; color: var(--blue); text-decoration: none; border: 1.5px solid #CFD9FF; border-radius: 8px; padding: 9px 14px; }

@media (max-width: 1100px) {
  .svc-img-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 3; }
}
@media (max-width: 900px) {
  .page-header h1 { font-size: 36px; }
  .booking-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .cta-box { padding: 24px var(--pad-x); }
  .cta-box .cta-title { font-size: 21px; }
}
@media (max-width: 560px) {
  .svc-img-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .mds-form .row { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 30px; }
}

/* =========================================================================
   WooCommerce native pages: Cart / Checkout / My account + default product loops
   (these use WooCommerce's own markup — styled here to match the theme)
   ========================================================================= */
.page-content-section { max-width: var(--page-max); }

/* Buttons → theme style */
.woocommerce .button, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit, .woocommerce #place_order {
  background: var(--blue); color: #fff; border: 1.5px solid var(--blue);
  border-radius: var(--radius-input); font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 13px 22px; line-height: 1.1; cursor: pointer; text-decoration: none; text-transform: none;
  transition: background .15s;
}
.woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce #place_order:hover { background: #1448c4; color: #fff; }

/* Product loops (cross-sells / up-sells / related) → grid, not a vertical list */
.woocommerce ul.products {
  display: grid !important; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px; margin: 16px 0 0 !important; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product {
  width: auto !important; float: none !important; margin: 0 !important; clear: none !important;
  border: 1px solid var(--border); border-radius: var(--radius-card); background: #fff; padding: 14px; text-align: left;
}
.woocommerce ul.products li.product a img { border-radius: 8px; margin: 0 0 10px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 700; color: var(--ink); padding: 0 0 6px; line-height: 1.25; }
.woocommerce ul.products li.product .price { color: var(--ink); font-family: var(--font-cond); font-weight: 700; font-size: 18px; }
.woocommerce ul.products li.product .price del { color: var(--faint); font-weight: 500; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin-top: 10px; font-size: 13px; padding: 9px 14px; }
.woocommerce .cross-sells > h2, .woocommerce .up-sells > h2, .woocommerce .related > h2 { font-family: var(--font-cond); font-size: 24px; font-weight: 700; color: var(--ink); }

/* Cart table + totals */
.woocommerce table.shop_table {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius-card);
  border-collapse: separate; border-spacing: 0; overflow: hidden; margin: 0 0 24px;
}
.woocommerce table.shop_table th { background: var(--tint); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 12px 16px; text-align: left; border: 0; }
.woocommerce table.shop_table td { padding: 16px; border-top: 1px solid var(--hair-2); vertical-align: middle; }
.woocommerce table.shop_table td.product-thumbnail img { width: 56px; height: auto; border-radius: 8px; }
.woocommerce a.remove { color: var(--muted) !important; border: 1px solid var(--border); }
.woocommerce a.remove:hover { background: #B91C1C !important; color: #fff !important; border-color: #B91C1C; }
.woocommerce .cart_totals { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 8px 20px 20px; background: var(--tint); }
.woocommerce .cart_totals h2 { font-family: var(--font-cond); font-size: 22px; font-weight: 700; color: var(--ink); }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: block; text-align: center; font-size: 16px; }
.woocommerce .coupon .input-text { border: 1.5px solid var(--input-border); border-radius: 9px; padding: 11px 13px; }

/* Form fields (checkout / account / cart) */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-checkout input:not([type="radio"]):not([type="checkbox"]), .woocommerce-account input:not([type="radio"]):not([type="checkbox"]) {
  border: 1.5px solid var(--input-border); border-radius: 9px; padding: 11px 13px; font-size: 14.5px; font-family: var(--font-body); color: var(--ink);
}
.woocommerce #payment, .woocommerce-checkout #order_review, .woocommerce form.checkout .col2-set .col-1, .woocommerce form.checkout .col2-set .col-2 { }
.woocommerce-checkout #order_review, .woocommerce-checkout #order_review_heading { }

/* My account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { border-radius: 10px; }

@media (max-width: 560px) {
  .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* Footer credit bar */
.footer-credit {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--footer-muted);
  font-size: 11px;
  text-align: center;
  padding: 14px var(--pad-x);
}
.footer-credit a { color: var(--footer-text); text-decoration: none; font-weight: 600; }
.footer-credit a:hover { color: #fff; text-decoration: underline; }
.footer-credit .sep { margin: 0 10px; opacity: .5; }

/* =========================================================================
   Mobile filters drawer scrim
   ========================================================================= */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(10, 26, 47, .45); z-index: 60; display: none;
}
.drawer-scrim.open { display: block; }

/* sticky mobile add-to-cart bar */
.sticky-atc { display: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
  :root { --pad-x: 32px; }
  .hero h1 { font-size: 44px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .cat-body .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* Header → mobile */
  .site-header { flex-wrap: wrap; gap: 14px; }
  .nav-wrap { display: contents; }

  /* Search icon pops open a full-width bar on its own row below the header,
     rather than the desktop absolute-overlay treatment (there's no nav menu
     in the header row to overlay on mobile — the nav lives in the .main-nav
     drawer). order pushes it after brand/nav-toggle/header-actions
     (all order:0, so they keep their natural DOM order) regardless of its
     earlier position in the markup; flex-basis:100% guarantees the wrap. */
  .nav-search-toggle { display: inline-flex; }
  .nav-search {
    display: none;
    position: static; inset: auto;
    order: 6; flex-basis: 100%; width: 100%;
    padding: 12px 0 4px; margin: 0;
    border-top: 1px solid var(--hair-2);
  }
  .site-header.search-open .nav-search { display: flex; }

  /* Hamburger + search/login/cart form one visual group flush against the
     right edge. .header-actions no longer carries its own auto margin here —
     otherwise it and .nav-toggle each grab their own share of free space and
     the hamburger ends up stranded in the middle of the header instead of
     sitting with the rest of the icons. */
  .header-actions { margin-left: 0; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--input-border); border-radius: 8px;
    background: #fff; cursor: pointer; padding: 0; flex-shrink: 0;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }
  /* animate to an "×" while the drawer is open */
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); background: var(--ink); }
  .nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); background: var(--ink); }

  /* Mobile nav — a right-anchored slide-in drawer (same drawer-scrim used by
     the shop filters drawer). Always rendered off-screen (not display:none)
     so the open/close transition can animate. */
  .main-nav {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
    background: #fff; z-index: 70; overflow-y: auto;
    padding: 20px 24px 24px;
    box-shadow: -8px 0 32px rgba(10, 26, 47, .18);
    transform: translateX(100%);
    transition: transform .28s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav-close {
    display: flex; align-items: center; justify-content: center; align-self: flex-end;
    width: 36px; height: 36px; margin-bottom: 10px; flex-shrink: 0;
    border: 1px solid var(--input-border); border-radius: 8px; background: #fff;
    font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer;
  }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--hair-2); width: 100%; }
  .main-nav .main-nav-list, .main-nav > ul { flex-direction: column; width: 100%; gap: 0; }
  .main-nav li { width: 100%; }
  /* persistent header search drops to full width under logo */
  .site-header.has-search { flex-wrap: wrap; }
  .header-search { order: 5; flex-basis: 100%; }
  /* home: show a full-width search under the logo */
  .mobile-search { display: flex; order: 5; flex-basis: 100%; }

  .hero { grid-template-columns: 1fr; gap: 28px; padding: 36px var(--pad-x) 32px; }
  .hero-media { height: 240px; }
  .hero-search { max-width: none; }
  .parts-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 22px;
    padding: 22px;
    min-height: 0;
  }
  .parts-hero__copy { max-width: none; }
  .parts-hero__copy h1 { font-size: clamp(38px, 9vw, 52px); }
  .parts-hero__media { min-height: 260px; }

  .trust-strip { grid-template-columns: repeat(2, 1fr); }

  .cat-body { grid-template-columns: 1fr; }
  .filters-aside { display: none; }
  .filters-trigger {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
    border: 1.5px solid var(--input-border); border-radius: 8px; padding: 11px 16px;
    font-weight: 700; font-size: 14px; background: #fff; cursor: pointer; color: var(--ink);
  }
  .filters-aside.drawer-open {
    display: block; position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 90vw);
    background: #fff; z-index: 70; overflow-y: auto; padding: 16px; box-shadow: -8px 0 32px rgba(10,26,47,.18);
  }
  .filters-aside.drawer-open .filters-card { border: none; }

  .product-main { grid-template-columns: 1fr; gap: 28px; padding: 20px var(--pad-x) 32px; }
  .gallery { grid-template-columns: 64px 1fr; }
  .buybox h1 { font-size: 32px; }
  .tab-panels { grid-template-columns: 1fr; gap: 28px; }

  .site-footer { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* sticky add-to-cart on mobile product page */
  .sticky-atc {
    display: flex; position: sticky; bottom: 0; z-index: 40; gap: 12px; align-items: center;
    background: #fff; border-top: 1px solid var(--border-2); padding: 10px var(--pad-x);
    box-shadow: 0 -4px 16px rgba(15,30,60,.06);
  }
  .sticky-atc .sp { font-family: var(--font-cond); font-size: 22px; font-weight: 800; color: var(--ink); margin-right: auto; }
  .sticky-atc .btn { flex-shrink: 0; }
}

@media (max-width: 560px) {
  :root { --pad-x: 18px; }
  .hero h1 { font-size: 34px; }
  .hero .sub { font-size: 16px; }
  .parts-hero {
    margin: 16px var(--pad-x) 4px;
    padding: 18px;
    border-radius: 18px;
  }
  .parts-hero__copy p { font-size: 15px; }
  .parts-hero__media { min-height: 210px; border-radius: 14px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-grid, .cat-body .product-grid, .product-grid.cols-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-strip { grid-template-columns: 1fr; }
  .assurances { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .cat-title-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .utility-bar { font-size: 11px; padding: 7px var(--pad-x); }
  .shipping-announcement { font-size: 12px; padding: 8px var(--pad-x); }
  .utility-bar span span:first-child { display: none; } /* hide air-freight note on tiny screens */
  .section-head h2 { font-size: 24px; }
  .buybox h1 { font-size: 28px; }
  .buybox .price-row .price { font-size: 34px; }
}

@media (max-width: 380px) {
  .product-grid, .cat-body .product-grid, .product-grid.cols-4, .cat-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   CART  —  WooCommerce default markup restyled to the Precision design system.
   Pure CSS layer (no template override): line-item card, totals summary,
   branded coupon/checkout controls, and a stacked mobile layout.
   ========================================================================== */
body.woocommerce-cart .woocommerce {
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 36px var(--pad-x) 72px;
  box-sizing: border-box;
}
body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper { margin-bottom: 18px; }

/* Two-column layout (items + totals) once there are items in the cart.
   The Elementor Cart widget already builds its own two columns via
   .e-cart__container, so we explicitly opt out there and only lay this out
   ourselves on a standard (non-Elementor) cart. Totals is a normal, static
   grid item — it scrolls with the page rather than sticking, by design. */
@media (min-width: 1180px) {
  body.woocommerce-cart .woocommerce:has(.woocommerce-cart-form):not(:has(.e-cart__container)) {
    display: grid;
    grid-template-columns: minmax(640px, 1fr) minmax(360px, 420px);
    gap: 24px;
    align-items: start;
  }
  body.woocommerce-cart .woocommerce:has(.woocommerce-cart-form):not(:has(.e-cart__container)) > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  body.woocommerce-cart .woocommerce:has(.woocommerce-cart-form):not(:has(.e-cart__container)) > .woocommerce-cart-form { grid-column: 1; min-width: 0; }
  body.woocommerce-cart .woocommerce:has(.woocommerce-cart-form):not(:has(.e-cart__container)) > .cart-collaterals { grid-column: 2; min-width: 0; }
}

@media (max-width: 1179px) {
  body.woocommerce-cart .woocommerce:has(.woocommerce-cart-form):not(:has(.e-cart__container)) {
    display: block;
  }
  body.woocommerce-cart .cart-collaterals { margin-top: 24px; }
}

/* WooCommerce core floats the cart totals at `width:48%` inside
   .cart-collaterals. In our redesigned cart the wrapper is already the right
   grid column, so the inner totals card must fill that column on desktop and
   stack cleanly on mobile. */
body.woocommerce-cart .cart-collaterals {
  width: 100%;
  margin: 0;
  clear: none;
}
body.woocommerce-cart .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
  max-width: none;
}
body.woocommerce-cart .cart-collaterals::before,
body.woocommerce-cart .cart-collaterals::after {
  content: none;
  display: none;
}

/* "You may be interested in…" (cart cross-sells) renders in its own section
   (page.php), below the cart/totals. Keep it aligned with the cart content —
   not full-bleed to the browser edge — so the heading and product grid don't
   sit too far left on wide screens. */
.cart-cross-sells {
  width: auto;
  margin-left: 0;
  padding-top: 8px;
}
body.woocommerce-cart .cart-cross-sells .woocommerce {
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 0 var(--pad-x);
}

/* ---- line-item table ---- */
body.woocommerce-cart .woocommerce-cart-form { margin: 0; }
body.woocommerce-cart table.cart {
  width: 100%;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
@media (min-width: 1180px) {
  body.woocommerce-cart table.cart {
    table-layout: fixed;
  }
}
body.woocommerce-cart table.cart thead th {
  padding: 14px 16px;
  border: 0;
  background: var(--tint-2);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}
body.woocommerce-cart table.cart td {
  padding: 18px 16px;
  border: 0;
  border-top: 1px solid var(--hair);
  vertical-align: middle;
  background: var(--surface);
}
body.woocommerce-cart table.cart tbody tr.cart_item:first-child td { border-top: 0; }

/* Keep utility columns tight so the product-name column gets the space.
   WooCommerce's verbose header labels ("Remove item", "Thumbnail image")
   otherwise increase the table's intrinsic width and squash product names. */
body.woocommerce-cart table.cart th.product-remove,
body.woocommerce-cart table.cart td.product-remove {
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
  text-align: center;
}
body.woocommerce-cart table.cart th.product-thumbnail,
body.woocommerce-cart table.cart td.product-thumbnail {
  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  text-align: center;
}
body.woocommerce-cart table.cart th.product-remove,
body.woocommerce-cart table.cart th.product-thumbnail {
  overflow: hidden;
  white-space: nowrap;
  font-size: 0;
  line-height: 0;
}
body.woocommerce-cart table.cart th.product-price,
body.woocommerce-cart table.cart td.product-price,
body.woocommerce-cart table.cart th.product-subtotal,
body.woocommerce-cart table.cart td.product-subtotal {
  width: 92px !important;
}
body.woocommerce-cart table.cart th.product-quantity,
body.woocommerce-cart table.cart td.product-quantity {
  width: 78px !important;
  text-align: center;
}
body.woocommerce-cart table.cart th.product-name,
body.woocommerce-cart table.cart td.product-name {
  width: auto;
  min-width: 260px;
}

body.woocommerce-cart td.product-thumbnail img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: var(--radius-input);
  border: 1px solid var(--border);
}
body.woocommerce-cart td.product-name a {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink);
  text-decoration: none;
}
body.woocommerce-cart td.product-name a:hover { color: var(--blue); }
body.woocommerce-cart td.product-name .variation,
body.woocommerce-cart td.product-name .wc-item-meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-subtotal { font-weight: 700; color: var(--ink); white-space: nowrap; }
body.woocommerce-cart td.product-subtotal { font-family: var(--font-cond); font-size: 17px; }

body.woocommerce-cart td.product-remove a.remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--tint-2);
  color: var(--muted) !important;
  font-size: 16px; line-height: 1;
  text-decoration: none;
}
body.woocommerce-cart td.product-remove a.remove:hover { background: #fde8e8; color: #c0392b !important; }

body.woocommerce-cart td.product-quantity .quantity { display: inline-flex; }
body.woocommerce-cart td.product-quantity input.qty {
  width: 64px; height: 42px;
  text-align: center;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  font-weight: 600;
  color: var(--ink);
  background: #fff;
}
body.woocommerce-cart td.product-quantity input.qty:focus {
  border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint);
}

/* ---- actions row: coupon + update ---- */
body.woocommerce-cart td.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--tint-3);
  border-top: 1px solid var(--hair);
}
body.woocommerce-cart td.actions .coupon {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  float: none !important;
}
body.woocommerce-cart td.actions .coupon label { display: none; }
body.woocommerce-cart td.actions .coupon input#coupon_code {
  height: 44px; min-width: 180px; padding: 0 14px;
  border: 1px solid var(--input-border); border-radius: var(--radius-input);
}
body.woocommerce-cart td.actions .button {
  height: 44px; padding: 0 18px;
  border-radius: var(--radius-input);
  border: 1px solid var(--input-border);
  background: #fff; color: var(--ink);
  font-family: var(--font-cond); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .04em;
  cursor: pointer;
}
body.woocommerce-cart td.actions .coupon .button { background: var(--blue); color: #fff; border-color: var(--blue); }
body.woocommerce-cart td.actions .coupon .button:hover { background: #1448c4; }
body.woocommerce-cart td.actions button[name="update_cart"] { float: none !important; margin-left: auto; }
body.woocommerce-cart td.actions button[name="update_cart"]:disabled { opacity: .5; cursor: default; }

/* Coupon — Elementor's Cart widget renders it outside the table (.coupon /
   .e-apply-coupon), so style it directly as well as inside td.actions. */
body.woocommerce-cart .coupon input#coupon_code {
  height: 44px; padding: 0 14px;
  border: 1px solid var(--input-border); border-radius: var(--radius-input);
}
body.woocommerce-cart .coupon input#coupon_code:focus {
  border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint);
}
body.woocommerce-cart .coupon .button,
body.woocommerce-cart .e-apply-coupon .button {
  height: 44px; padding: 0 18px;
  border-radius: var(--radius-input);
  background: var(--blue); color: #fff; border: 1px solid var(--blue);
  font-family: var(--font-cond); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
body.woocommerce-cart .coupon .button:hover,
body.woocommerce-cart .e-apply-coupon .button:hover { background: #1448c4; }

/* ---- totals summary card ---- */
body.woocommerce-cart .cart_totals {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-search);
}
body.woocommerce-cart .cart_totals h2 {
  margin: 0 0 16px;
  font-family: var(--font-cond); font-size: 22px; font-weight: 800; color: var(--ink);
}
body.woocommerce-cart .cart_totals table { width: 100%; margin: 0; border: 0; }
body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
  padding: 12px 0; border: 0; border-top: 1px solid var(--hair); text-align: right;
}
body.woocommerce-cart .cart_totals table tr:first-child th,
body.woocommerce-cart .cart_totals table tr:first-child td { border-top: 0; }
body.woocommerce-cart .cart_totals th { text-align: left; font-weight: 600; color: var(--body); }
body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td { font-family: var(--font-cond); font-size: 20px; color: var(--ink); }
body.woocommerce-cart .cart_totals .order-total .amount { color: var(--blue); }
body.woocommerce-cart .cart_totals .shipping-calculator-button { color: var(--blue); }
body.woocommerce-cart .cart_totals .woocommerce-shipping-destination { color: var(--muted); font-size: 13px; }
body.woocommerce-cart .shipping-calculator-form { margin-top: 14px; }
body.woocommerce-cart .shipping-calculator-form .form-row {
  margin: 0 0 12px;
  padding: 0;
}
body.woocommerce-cart .shipping-calculator-form input.input-text,
body.woocommerce-cart .shipping-calculator-form select,
body.woocommerce-cart .shipping-calculator-form .select2-container {
  width: 100% !important;
}

body.woocommerce-cart .wc-proceed-to-checkout { padding: 16px 0 0; }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block; width: 100%;
  padding: 15px; text-align: center;
  background: var(--blue); color: #fff;
  border: 0; border-radius: var(--radius-input);
  font-family: var(--font-cond); font-weight: 800; font-size: 16px;
  text-transform: uppercase; letter-spacing: .04em;
  box-shadow: var(--shadow-card-hover);
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: #1448c4; }

/* ---- empty cart ---- */
body.woocommerce-cart .cart-empty {
  padding: 40px 0 8px; text-align: center;
  font-family: var(--font-cond); font-size: 22px; font-weight: 700; color: var(--ink);
}
body.woocommerce-cart .return-to-shop { text-align: center; }
body.woocommerce-cart .return-to-shop .button {
  display: inline-block;
  padding: 13px 26px;
  background: var(--blue); color: #fff;
  border-radius: var(--radius-input);
  font-family: var(--font-cond); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}

/* ---- cross-sells ---- */
body.woocommerce-cart .cross-sells { margin-top: 28px; }
body.woocommerce-cart .cart-cross-sells .cross-sells { width: 100%; float: none; clear: both; margin-top: 0; }
body.woocommerce-cart .cart-collaterals .cross-sells { width: 100%; float: none; clear: both; }
body.woocommerce-cart .cart-cross-sells .cross-sells ul.products { float: none; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0 !important; }
body.woocommerce-cart .cross-sells > h2 {
  margin: 0 0 18px;
  font-family: var(--font-cond); font-size: 24px; font-weight: 800; color: var(--ink);
}

/* ---- mobile: stack each line item into a card ---- */
@media (max-width: 900px) {
  body.woocommerce-cart table.cart thead { display: none; }
  body.woocommerce-cart table.cart,
  body.woocommerce-cart table.cart tbody,
  body.woocommerce-cart table.cart tr,
  body.woocommerce-cart table.cart td { display: block; width: 100%; box-sizing: border-box; }
  body.woocommerce-cart table.cart tr.cart_item {
    position: relative;
    padding: 14px 14px 14px 100px;
    min-height: 100px;
    border-top: 1px solid var(--hair);
  }
  body.woocommerce-cart table.cart tr.cart_item:first-child { border-top: 0; }
  body.woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td,
  body.woocommerce-cart table.cart tr.cart_item td { padding: 4px 0; border: 0; text-align: left !important; }
  body.woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td::before {
    float: none;
    display: inline;
  }
  body.woocommerce-cart table.cart tr.cart_item td.product-thumbnail {
    display: block;
    position: absolute; left: 14px; top: 14px; width: 72px; padding: 0;
  }
  body.woocommerce-cart table.cart tr.cart_item td.product-remove {
    position: absolute; right: 12px; top: 14px; width: auto; padding: 0;
  }
  body.woocommerce-cart table.cart td::before {
    content: attr(data-title) ": ";
    margin-right: 6px;
    font-weight: 700; font-size: 12px; color: var(--muted);
    text-transform: uppercase; letter-spacing: .04em;
  }
  body.woocommerce-cart table.cart td.product-name::before,
  body.woocommerce-cart table.cart td.product-thumbnail::before,
  body.woocommerce-cart table.cart td.product-remove::before { content: none; display: none; }
  body.woocommerce-cart td.actions { display: block; }
  body.woocommerce-cart td.actions .coupon { display: flex; width: 100%; }
  body.woocommerce-cart td.actions .coupon input#coupon_code { flex: 1; min-width: 0; }
  body.woocommerce-cart td.actions button[name="update_cart"] { float: none !important; width: 100%; margin: 10px 0 0; }
}

@media (max-width: 768px) {
  body.woocommerce-cart .cart_totals table.shop_table_responsive tr {
    display: table-row;
  }
  body.woocommerce-cart .cart_totals table.shop_table_responsive th,
  body.woocommerce-cart .cart_totals table.shop_table_responsive td {
    display: table-cell;
  }
  body.woocommerce-cart .cart_totals table.shop_table_responsive th {
    width: 42%;
    text-align: left;
  }
  body.woocommerce-cart .cart_totals table.shop_table_responsive td {
    text-align: right !important;
  }
  body.woocommerce-cart .cart_totals table.shop_table_responsive td::before {
    content: none;
    display: none;
  }
}

@media (max-width: 640px) {
  body.woocommerce-cart .cart_totals { padding: 18px; }
  body.woocommerce-cart .cart_totals .woocommerce-shipping-totals {
    display: block;
  }
  body.woocommerce-cart .cart_totals .woocommerce-shipping-totals th,
  body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
  }
  body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td { margin-top: 8px; }
  body.woocommerce-cart .shipping-calculator-form button {
    width: 100%;
    margin-top: 4px;
  }
}

@media (max-width: 420px) {
  body.woocommerce-cart td.actions .coupon {
    flex-direction: column;
    align-items: stretch;
  }
  body.woocommerce-cart td.actions .coupon input#coupon_code,
  body.woocommerce-cart td.actions .coupon .button {
    width: 100%;
  }
}
