/* ==========================================================================
   COMPONENTS — Navbar, Footer, Buttons, Cards, Forms, Sections
   ========================================================================== */

/* ==========================================================================
   NAVBAR
   ========================================================================== */

/* Full-width bar flush to the top (2026-10-26). Its contents line up with the 90rem page
   column. Desktop links from 1280px; below that the hamburger, from 768px beside the CTAs. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bone-2);
  box-shadow: 0 1px 0 rgba(43,58,68,0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem max(1.25rem, calc((100% - 90rem) / 2));
}
@media (min-width: 768px) {
  .navbar { padding-inline: max(2rem, calc((100% - 90rem) / 2)); }
}

/* flex-shrink and max-width: none stop the logo being squeezed narrower than its height allows */
.navbar-logo { flex-shrink: 0; line-height: 0; }
.navbar-logo img {
  height: 5rem;
  width: auto;
  max-width: none;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
@media (min-width: 1280px) {
  .navbar-links { display: flex; }
}

.navbar-links a {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--fg);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: color 0.2s, background 0.2s;
}
.navbar-links a:hover {
  color: var(--accent);
  background: var(--bone-3);
}
/* Tighter link padding until 1440px so the full nav fits from 1280px */
@media (min-width: 1280px) and (max-width: 1439px) {
  .navbar-links a { padding-inline: 0.625rem; }
}

.navbar-ctas {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .navbar-ctas { display: flex; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .navbar-ctas { margin-left: auto; }
}

.btn-nav-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--fg);
  background: var(--bone-3);
  border-radius: 9999px;
  transition: background 0.3s;
}
.btn-nav-secondary:hover { background: var(--mist); }

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--accent);
  border-radius: 9999px;
  box-shadow: 0 6px 20px -8px rgba(233,39,46,0.6);
  transition: background 0.3s;
}
.btn-nav-primary:hover { background: var(--accent-light); }
.btn-nav-primary svg { width: 0.875rem; height: 0.875rem; }

/* Hamburger */
.navbar-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.75rem;
  border-radius: 9999px;
  transition: background 0.2s;
  margin-right: 0.25rem;
}
@media (min-width: 1280px) {
  .navbar-toggle { display: none; }
}
.navbar-toggle:hover { background: var(--bone-3); }
.navbar-toggle span {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: var(--slate);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  max-width: 90rem;
  margin-inline: auto;
  padding: 0.5rem 1.25rem 0.75rem;
  overflow: hidden;
}
.mobile-menu.open { display: block; }
@media (min-width: 768px) {
  .mobile-menu { padding-inline: 2rem; }
}
@media (min-width: 1280px) {
  .mobile-menu, .mobile-menu.open { display: none; }
}
.mobile-menu-inner {
  background: var(--bone);
  border-radius: 1.5rem;
  box-shadow: 0 8px 30px -10px rgba(43,58,68,0.18);
  padding: 1.5rem;
}
.mobile-menu-links { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1rem; }
.mobile-menu-links a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--fg);
  border-radius: 0.75rem;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-links a:hover { color: var(--accent); background: var(--bone-3); }
.mobile-menu-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mist);
}
.mobile-menu-ctas a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  text-align: center;
  transition: background 0.3s;
}
.mobile-menu-ctas .btn-secondary { color: var(--fg); background: var(--bone-3); }
.mobile-menu-ctas .btn-secondary:hover { background: var(--mist); }
.mobile-menu-ctas .btn-primary { color: #fff; background: var(--accent); }
.mobile-menu-ctas .btn-primary:hover { background: var(--accent-light); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding: 0.75rem 1.25rem 1.25rem;
}
@media (min-width: 768px) {
  .site-footer { padding: 0.75rem 2rem 1.25rem; }
}

.footer-inner {
  position: relative;
  background: var(--ink);
  border-radius: 2rem;
  overflow: hidden;
  padding: 2rem;
  max-width: 90rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .footer-inner { padding: 3rem; } }
@media (min-width: 1024px) { .footer-inner { padding: 4rem; } }

.footer-glow {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233,39,46,0.2) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer-brand img { width: 15rem; height: auto; margin-bottom: 1.25rem; }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--steel-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background 0.3s, color 0.3s;
}
.footer-socials a:hover { background: var(--accent); color: #fff; }
.footer-socials svg { width: 1rem; height: 1rem; }

.footer-col h4 {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--steel-light);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--bone); }

.footer-contact-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.footer-contact-item svg { width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0; margin-top: 0.125rem; }
.footer-contact-item span, .footer-contact-item a {
  font-size: 0.875rem;
  color: var(--steel-light);
  line-height: 1.6;
  transition: color 0.2s;
}
.footer-contact-item a:hover { color: var(--bone); }

.footer-divider {
  position: relative;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ==========================================================================
   HERO — Homepage
   ========================================================================== */

.hero-wrap {
  padding: 0.75rem 1.25rem 2rem;
}
@media (min-width: 768px) { .hero-wrap { padding: 0.75rem 2rem 2rem; } }

.hero-section {
  position: relative;
  min-height: 45rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--mist);
  border-radius: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #000;
}

/* Progress dots */
.hero-slide-dots {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
@media (min-width: 768px) {
  .hero-slide-dots { bottom: 3rem; right: 3rem; }
}
.hero-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s, width 0.3s;
  cursor: default;
}
.hero-dot.active {
  background: #fff;
  width: 1.5rem;
}

.hero-gradient-1 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 110% 95% at 0% 100%, var(--accent) 0%, var(--accent) 45%, rgba(233,39,46,0.85) 50%, rgba(233,39,46,0.4) 70%, transparent 90%);
}
.hero-gradient-2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top right, rgba(233,39,46,0.35), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 90rem;
  margin-inline: auto;
  width: 100%;
  padding: 1.5rem 1.5rem 3rem;
}
@media (min-width: 768px) { .hero-content { padding: 2.5rem 2.5rem 4rem; } }

.hero-h1 {
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-tagline {
  max-width: 42rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: #fff;
  color: var(--accent);
  border-radius: 9999px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.45);
  transition: background 0.3s;
}
.btn-hero-primary:hover { background: rgba(255,255,255,0.9); }
.btn-hero-primary svg { width: 0.875rem; height: 0.875rem; }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  transition: background 0.3s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); }

/* ==========================================================================
   SECTION CARDS (the rounded panel containers)
   ========================================================================== */

.panel-wrap { padding: 0.75rem 1.25rem; }
@media (min-width: 768px) { .panel-wrap { padding: 0.75rem 2rem; } }

.panel {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  padding: 2rem;
  max-width: 90rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .panel { padding: 3rem; } }
@media (min-width: 1024px) { .panel { padding: 4rem; } }

.panel-bone    { background: var(--bone); }
.panel-bone-3  { background: var(--bone-3); }
.panel-slate   { background: var(--slate); }
.panel-ink     { background: var(--ink); }
.panel-accent  { background: var(--accent); }

/* Looser panel (no inner padding, used by hero-style sections with bg image) */
.panel-bare {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  max-width: 90rem;
  margin-inline: auto;
  min-height: 24rem;
  display: flex;
  align-items: flex-end;
}

/* Small hero panels (About, Contact, Use-Cases) */
.page-hero-wrap { padding: 0.75rem 1.25rem 0.75rem; }
@media (min-width: 768px) { .page-hero-wrap { padding: 0.75rem 2rem 0.75rem; } }

.page-hero-inner {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--slate);
  padding: 2rem 2rem 3.5rem;
  max-width: 90rem;
  margin-inline: auto;
  min-height: 24rem;
  display: flex;
  align-items: flex-end;
}
@media (min-width: 768px) { .page-hero-inner { padding: 3.5rem 3.5rem 5rem; } }
@media (min-width: 1024px) { .page-hero-inner { padding: 5rem; } }

.page-hero-content { position: relative; max-width: 48rem; }
.page-hero-h1 {
  font-size: clamp(2.25rem, 6vw, 4.375rem);
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.page-hero-p {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  font-weight: 400;
  max-width: 42rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

/* Red corner gradient used in page heroes — toned down from full accent */
.page-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 90% 80% at 0% 100%,
    rgba(233,39,46,0.55) 0%,
    rgba(233,39,46,0.30) 35%,
    rgba(233,39,46,0.10) 60%,
    transparent 80%
  );
}
.page-hero-glow-right {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 90% 80% at 100% 100%,
    rgba(233,39,46,0.55) 0%,
    rgba(233,39,46,0.30) 35%,
    rgba(233,39,46,0.10) 60%,
    transparent 80%
  );
}

/* ==========================================================================
   CATEGORIES GRID
   ========================================================================== */

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .categories-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: 1fr 1fr 1fr; } }
/* Exactly four cards: 2 + 2 at full width, lined up with the panels below (2026-10-26) */
@media (min-width: 1024px) {
  .categories-grid:has(> .cat-card:nth-child(4):last-child) { grid-template-columns: 1fr 1fr; }
}
/* Wide two-column cards: the icon leads the text, its foot on the title's last baseline */
@media (min-width: 1280px) {
  .categories-grid:has(> .cat-card:nth-child(4):last-child) .cat-card { padding: 2.5rem; }
  .categories-grid:has(> .cat-card:nth-child(4):last-child) .cat-card-body { display: grid; grid-template-columns: 6rem 1fr; gap: 0 2rem; }
  .categories-grid:has(> .cat-card:nth-child(4):last-child) .cat-card-text { display: contents; }
  .categories-grid:has(> .cat-card:nth-child(4):last-child) .cat-card-tag { grid-column: 2; grid-row: 1; justify-self: start; }
  .categories-grid:has(> .cat-card:nth-child(4):last-child) .cat-card-title { grid-column: 2; grid-row: 2; align-self: last baseline; }
  .categories-grid:has(> .cat-card:nth-child(4):last-child) .cat-card-desc,
  .categories-grid:has(> .cat-card:nth-child(4):last-child) .cat-card-cta { grid-column: 2; }
  /* top: the SVGs leave 1 to 5 of their 64 units clear below the drawing */
  .categories-grid:has(> .cat-card:nth-child(4):last-child) .cat-card-icon { grid-column: 1; grid-row: 1 / 3; align-self: end; align-self: last baseline; width: 6rem; height: 6rem; position: relative; top: 0.25rem; }
}

.cat-card {
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: 1rem;
  padding: 2rem;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 4px 20px -8px rgba(43,58,68,0.15);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -12px rgba(43,58,68,0.3);
}

.cat-card-bg-accent      { background: var(--accent); }
.cat-card-bg-slate       { background: var(--slate); }
.cat-card-bg-ink         { background: var(--ink); }
.cat-card-bg-slate-dark  { background: var(--slate-dark); }
.cat-card-bg-steel       { background: var(--steel); }
.cat-card-bg-accent-dark { background: var(--accent-dark); }

.cat-card-glow {
  position: absolute;
  bottom: -5rem;
  right: -5rem;
  width: 16rem;
  height: 16rem;
  opacity: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  filter: blur(40px);
  transition: opacity 0.5s;
  pointer-events: none;
}
.cat-card:hover .cat-card-glow { opacity: 1; }

.cat-card-body { position: relative; z-index: 10; display: flex; align-items: flex-start; gap: 1rem; }
.cat-card-text { flex: 1; min-width: 0; }
.cat-card-tag {
  display: inline-block;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.cat-card-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.cat-card-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.cat-card-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: gap 0.3s;
}
.cat-card:hover .cat-card-cta { gap: 0.75rem; }
.cat-card-cta svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.cat-card:hover .cat-card-cta svg { transform: translateX(4px); }

.cat-card-icon {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.5s;
}
.cat-card:hover .cat-card-icon { transform: scale(1.1); }

/* ==========================================================================
   RACK OVEN FEATURE
   ========================================================================== */

.rack-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .rack-feature-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
}

.rack-section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.rack-h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.rack-body {
  color: var(--fg-muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 2rem;
}
.rack-ctas { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .rack-ctas { flex-direction: row; } }

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--accent);
  border-radius: 9999px;
  box-shadow: 0 6px 20px -8px rgba(233,39,46,0.6);
  transition: background 0.3s;
}
.btn-accent:hover { background: var(--accent-light); }
.btn-accent svg { width: 0.875rem; height: 0.875rem; }
button.btn-accent {
  border: none;
  cursor: pointer;
  font-family: inherit;
}
button.btn-accent:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-bone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--fg);
  background: var(--bone);
  border-radius: 9999px;
  transition: background 0.3s;
}
.btn-bone:hover { background: var(--mist); }

.btn-slate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--slate);
  border-radius: 9999px;
  transition: background 0.3s;
}
.btn-slate:hover { background: var(--accent); }
.btn-slate svg { width: 1rem; height: 1rem; }

.rack-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bone);
  box-shadow: 0 10px 40px -12px rgba(43,58,68,0.25);
  padding: 1.5rem;
}
.rack-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rack-photo-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: var(--accent);
  color: #fff;
  border-radius: 9999px;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 4px 14px -4px rgba(233,39,46,0.6);
}
.rack-photo-badge span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Savings cards */
.savings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1rem; /* row gap clears the Recommended badge when stacked */
}
@media (min-width: 768px) { .savings-grid { grid-template-columns: 1fr 1fr 1fr; } }

.savings-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(43,58,68,0.15);
}
/* Side by side, the cards share five row tracks (label, figure, note, divider, detail),
   so a label that wraps in one card still keeps every figure and divider level (2026-10-26) */
@media (min-width: 768px) {
  .savings-grid { grid-template-rows: repeat(5, auto); row-gap: 0; }
  .savings-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
}
/* overflow visible: the Recommended badge straddles the top edge */
.savings-card-primary { transform: none; overflow: visible; }
@media (min-width: 768px) {
  .savings-card-primary {
    transform: translateY(-0.5rem);
    box-shadow: 0 18px 40px -12px rgba(233,39,46,0.4);
  }
}
.savings-card-bg-bone   { background: var(--bone); }
.savings-card-bg-accent { background: var(--accent); }
.savings-card-bg-slate  { background: var(--slate); }

.savings-label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.savings-label-muted { color: var(--fg-muted); }
.savings-label-light { color: rgba(255,255,255,0.7); }

.savings-cost {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.25rem;
}
/* Three narrow columns: keep the eight-character yearly figures inside the card */
@media (min-width: 768px) and (max-width: 1023px) {
  .savings-cost { font-size: clamp(1.875rem, 4vw, 2.25rem); }
}
.savings-note {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
/* Monthly figure under the yearly one (2026-10-26) */
.savings-note-month {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-transform: none;
}
.savings-divider { height: 1px; margin-bottom: 1.25rem; }
.savings-divider-mist { background: var(--mist); }
.savings-divider-white { background: rgba(255,255,255,0.15); }
.savings-detail { font-size: 0.875rem; line-height: 1.6; }
/* On the card's top edge, clear of the label at every width (2026-10-26) */
.savings-recommended {
  position: absolute;
  top: 0;
  right: 1.75rem;
  transform: translateY(-50%);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--slate-dark);
  box-shadow: 0 6px 16px -6px rgba(43,58,68,0.5);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
}

/* ==========================================================================
   RACK OVEN UPGRADE
   ========================================================================== */

.upgrade-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: flex-end;
}
@media (min-width: 1024px) { .upgrade-header-grid { grid-template-columns: 1fr 1fr; } }

.upgrade-h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.1;
}
.upgrade-subtext {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 28rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.pillar-card {
  position: relative;
  padding: 1.75rem;
  background: rgba(255,255,255,0.04);
  border-radius: 1rem;
  overflow: hidden;
  transition: background 0.4s;
  cursor: default;
}
.pillar-card:hover { background: rgba(255,255,255,0.08); }
.pillar-number {
  font-size: 3rem;
  font-family: var(--font-display);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}
.pillar-title {
  font-size: 1.125rem;
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.pillar-body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.pillar-detail {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(233,39,46,0.85);
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.trade-in-banner {
  position: relative;
  background: var(--accent);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
}
@media (min-width: 768px) { .trade-in-banner { flex-direction: row; align-items: center; } }
.trade-in-glow {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  opacity: 0.3;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.trade-in-content { position: relative; flex: 1; }
.trade-in-eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
}
.trade-in-h3 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.trade-in-body { font-size: 0.875rem; color: rgba(255,255,255,0.85); max-width: 36rem; }
.trade-in-body a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,0.4); }
.btn-white {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: #fff;
  border-radius: 9999px;
  transition: background 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
  width: 100%;
}
@media (min-width: 768px) { .btn-white { width: auto; } }
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn-white svg { width: 0.875rem; height: 0.875rem; }

/* ==========================================================================
   SHOWCASE
   ========================================================================== */

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 2.5rem;
}
@media (min-width: 768px) { .showcase-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .showcase-grid { grid-template-columns: 1fr 1fr 1fr; } }

.showcase-item { }
.showcase-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--bone);
  box-shadow: 0 4px 24px -4px rgba(43,58,68,0.15);
  margin-bottom: 1.25rem;
}
.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}
.showcase-item:hover .showcase-img-wrap img { transform: scale(1.05); }
/* Home page only: square holders, whole image shown (2026-10-26). Other templates keep 4:3 cover */
#showcase .showcase-img-wrap { aspect-ratio: 1/1; }
#showcase .showcase-img-wrap img { object-fit: contain; }
.showcase-item h3 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.showcase-item p { font-size: 0.875rem; color: var(--steel); line-height: 1.6; }
.showcase-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s, color 0.3s;
}
.showcase-cta:hover { color: var(--accent-dark); gap: 0.75rem; }
.showcase-cta svg { width: 0.75rem; height: 0.75rem; }

/* ==========================================================================
   PRODUCTS PAGE
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1280px) { .products-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 24px -4px rgba(43,58,68,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px -8px rgba(43,58,68,0.2);
}

.product-card-img-wrap {
  aspect-ratio: 4/3;
  background: #fff;
  overflow: hidden;
  padding: 1.25rem;
  flex-shrink: 0;
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.05); }

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-cat {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 0.8125rem;
  color: var(--steel);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

/* Pagination */
.tombake-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
.tombake-pagination ul {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.tombake-pagination ul li a,
.tombake-pagination ul li span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  color: var(--fg);
  background: var(--bone);
  border: 1px solid var(--pearl);
}
.tombake-pagination ul li a:hover {
  background: var(--bone-3);
  border-color: var(--mist);
}
.tombake-pagination ul li span.current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.tombake-pagination ul li a svg,
.tombake-pagination ul li span svg {
  width: 0.75rem;
  height: 0.75rem;
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.tombake-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--steel);
  max-width: 90rem;
  margin-inline: auto;
  padding: 0.75rem 2rem;
  flex-wrap: wrap;
}
@media (min-width: 768px)  { .tombake-breadcrumb { padding: 0.75rem 3rem; } }
@media (min-width: 1024px) { .tombake-breadcrumb { padding: 0.75rem 4rem; } }
.tombake-breadcrumb a {
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s;
}
.tombake-breadcrumb a:hover { color: var(--accent); }
.tombake-breadcrumb span[aria-current] { color: var(--fg); font-weight: 500; }
.tombake-breadcrumb span[aria-hidden] { color: var(--mist); }

/* ==========================================================================
   CLIENTS MARQUEE
   ========================================================================== */

.clients-marquee-outer {
  position: relative;
  overflow: hidden;
  margin: 0 -2rem;
}
@media (min-width: 768px) { .clients-marquee-outer { margin: 0 -3rem; } }
@media (min-width: 1024px) { .clients-marquee-outer { margin: 0 -4rem; } }

.clients-fade-l {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8rem;
  background: linear-gradient(to right, var(--bone-3), transparent);
  z-index: 10;
  pointer-events: none;
}
.clients-fade-r {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8rem;
  background: linear-gradient(to left, var(--bone-3), transparent);
  z-index: 10;
  pointer-events: none;
}

.clients-track {
  display: flex;
  /* width must be the content, not the container: the loop slides -50%, which is
     exactly one copy of the logos only when the track is as wide as both copies */
  width: max-content;
  animation: marquee 70s linear infinite;
  gap: 0;
}
.clients-marquee-outer:hover .clients-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
  .clients-marquee-outer { overflow-x: auto; }
}
.clients-logo {
  flex-shrink: 0;
  width: 12rem;
  height: 5rem;
  margin: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients-logo img {
  width: 9rem;
  height: 3rem;
  object-fit: contain;
}

/* ==========================================================================
   ABOUT — WHY TOMBAKE
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }

.why-h2 {
  font-size: clamp(1.875rem, 4vw, 3.125rem);
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 2rem;
}
.why-body {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--fg-muted);
  line-height: 1.7;
}

.why-pulls { display: flex; flex-direction: column; gap: 0.75rem; }
.pull-card {
  position: relative;
  background: var(--bone-3);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  overflow: hidden;
  transition: transform 0.4s;
}
.pull-card:hover { transform: translateY(-2px); }
.pull-card-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.pull-card:hover .pull-card-bottom { opacity: 1; }
.pull-card-body { display: flex; align-items: flex-start; gap: 1.25rem; }
.pull-number {
  font-size: 2.25rem;
  font-family: var(--font-display);
  color: var(--accent);
  line-height: 1;
  width: 3rem;
  flex-shrink: 0;
}
.pull-label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}
.pull-title {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.2;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 480px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(5, 1fr); } }

.service-card {
  position: relative;
  background: var(--bone);
  border-radius: 1rem;
  padding: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s, box-shadow 0.4s;
  box-shadow: 0 4px 20px -8px rgba(43,58,68,0.08);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -12px rgba(43,58,68,0.15);
}
.service-card-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover .service-card-top { opacity: 1; }
.service-num {
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.service-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(233,39,46,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon-wrap svg { width: 1.25rem; height: 1.25rem; }
.service-text { font-size: 0.875rem; color: var(--fg); line-height: 1.5; }
@media (min-width: 768px) { .service-text { font-size: 1rem; } }

/* ==========================================================================
   MISSION
   ========================================================================== */

.mission-panel {
  position: relative;
  background: var(--slate);
  border-radius: 2rem;
  overflow: hidden;
  padding: 2rem;
  max-width: 90rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .mission-panel { padding: 4rem; } }
@media (min-width: 1024px) { .mission-panel { padding: 6rem; } }

.mission-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 80% at 0% 50%, rgba(233,39,46,0.55) 0%, rgba(233,39,46,0.15) 50%, transparent 80%);
}
.mission-content { position: relative; max-width: 80rem; margin-inline: auto; text-align: center; }
.mission-quote-mark {
  position: absolute;
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10rem;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.08);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
@media (min-width: 768px) { .mission-quote-mark { font-size: 14rem; top: -6rem; } }
.mission-text {
  position: relative;
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.mission-sig {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.mission-sig-line { height: 1px; width: 3rem; background: rgba(255,255,255,0.3); }
.mission-sig-text { font-size: 0.625rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* ==========================================================================
   VISION
   ========================================================================== */

.vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .vision-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }

.vision-h2 {
  font-size: clamp(3rem, 7vw, 4.375rem);
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.vision-card {
  background: var(--bone);
  border-radius: 1rem;
  padding: 1.75rem 2.25rem;
  border: 1px solid rgba(216,216,210,0.4);
  box-shadow: 0 4px 20px -8px rgba(43,58,68,0.1);
}
.vision-card p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ==========================================================================
   STORY TIMELINE
   ========================================================================== */

.timeline-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(233,39,46,0.3), transparent);
}
@media (min-width: 1024px) {
  .timeline-rail { left: 50%; transform: translateX(-50%); }
}

.timeline-list { position: relative; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .timeline-list { gap: 3rem; } }

.timeline-item { position: relative; }
@media (min-width: 1024px) {
  .timeline-item { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.timeline-dot {
  position: absolute;
  left: 1rem;
  top: 1.5rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bone);
  transform: translateX(-50%);
  z-index: 10;
}
@media (min-width: 1024px) {
  .timeline-dot { left: 50%; }
}

.timeline-card {
  margin-left: 3rem;
}
@media (min-width: 1024px) {
  .timeline-card { margin-left: 0; }
  .timeline-item-left .timeline-card { grid-column: 1; padding-right: 3rem; text-align: right; }
  .timeline-item-right .timeline-card { grid-column: 2; padding-left: 3rem; }
}

.timeline-card-inner {
  position: relative;
  background: var(--bone-3);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
  box-shadow: 0 4px 20px -8px rgba(43,58,68,0.08);
}
.timeline-card-inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(43,58,68,0.18);
}
.timeline-card-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.timeline-card-inner:hover .timeline-card-top { opacity: 1; }

.timeline-year-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 0.75rem; }
@media (min-width: 1024px) {
  .timeline-item-left .timeline-year-row { justify-content: flex-end; }
}
.timeline-year {
  font-size: 2.25rem;
  font-family: var(--font-display);
  color: var(--accent);
  line-height: 1;
}
.timeline-counter {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.timeline-title {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-family: var(--font-display);
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.timeline-body { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.7; }
@media (min-width: 1024px) { .timeline-body { font-size: 1rem; } }

/* ==========================================================================
   CLIENT TRUST
   ========================================================================== */

.client-trust-content { position: relative; max-width: 56rem; }
.client-trust-h2 {
  font-size: clamp(1.875rem, 4vw, 3.125rem);
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.client-trust-body {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT — BRANCHES
   ========================================================================== */

.branches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .branches-grid { grid-template-columns: 1fr 1fr 1fr; } }

.branch-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.75rem;
  overflow: hidden;
  transition: transform 0.4s;
}
.branch-card:hover { transform: translateY(-4px); }

.branch-card-accent {
  background: var(--accent);
  box-shadow: 0 18px 40px -12px rgba(233,39,46,0.4);
}
.branch-card-bone {
  background: var(--bone);
  box-shadow: 0 4px 20px -8px rgba(43,58,68,0.1);
}
.branch-card-bone:hover { box-shadow: 0 18px 40px -12px rgba(43,58,68,0.2); }

.branch-tag {
  display: inline-block;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}
.branch-tag-accent { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.branch-tag-bone   { background: rgba(233,39,46,0.1); color: var(--accent); }

.branch-name {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}
.branch-role {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.branch-divider { height: 1px; margin-bottom: 1.5rem; }
.branch-divider-white { background: rgba(255,255,255,0.15); }
.branch-divider-mist  { background: var(--mist); }

.branch-detail { display: flex; gap: 0.75rem; margin-bottom: 1rem; align-items: flex-start; }
.branch-detail svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.125rem; }
.branch-detail p, .branch-detail a, .branch-detail span {
  font-size: 0.875rem;
  line-height: 1.6;
  transition: color 0.2s;
}

.branch-contact-name {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ==========================================================================
   AGENT MAP
   ========================================================================== */

.agents-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: flex-end;
}
@media (min-width: 1024px) { .agents-header-grid { grid-template-columns: 1fr 1fr; } }

.agents-h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.1;
}
.agents-subtext { color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 28rem; }

.agents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .agents-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .agents-grid { grid-template-columns: 1fr 1fr 1fr; } }

.agent-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: background 0.4s;
  overflow: hidden;
}
.agent-card:hover { background: rgba(255,255,255,0.08); }
.agent-country {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.agent-company {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.agent-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 1rem; }
.agent-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
.agent-phone:hover { color: var(--accent); }
.agent-phone svg { width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0; }
.agent-extra {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}
@media (min-width: 1024px) { .contact-form-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }

.form-header-sticky { }
@media (min-width: 1024px) {
  .form-header-sticky { position: sticky; top: 7rem; align-self: flex-start; }
}

.form-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.form-subtext {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.form-subtext a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(233,39,46,0.4); }

.form-card {
  background: var(--bone);
  border-radius: 1.5rem;
  padding: 1.75rem 2.5rem;
  box-shadow: 0 4px 20px -8px rgba(43,58,68,0.1);
}
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }

.form-field { display: block; margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}
.form-label .required { color: var(--accent); margin-left: 0.25rem; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--fg);
  background: var(--bone-3);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: var(--font-sans);
  box-sizing: border-box;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: var(--bone);
}
.form-select { appearance: none; cursor: pointer; }
.form-select-wrap { position: relative; }
.form-select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--fg-muted);
  pointer-events: none;
}
.form-textarea { resize: none; }

/* ==========================================================================
   CONTACT FORM 7 — INPUT STYLING
   ========================================================================== */

.wpcf7 fieldset.hidden-fields-container { display: none !important; }

/* All CF7 text-like inputs and selects */
.wpcf7 input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 select,
.wpcf7 textarea {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.875rem !important;
  color: var(--fg) !important;
  background: var(--bone-3) !important;
  border: 1px solid transparent !important;
  border-radius: 0.75rem !important;
  outline: none !important;
  transition: border-color 0.2s, background 0.2s !important;
  font-family: var(--font-sans) !important;
  box-sizing: border-box !important;
  display: block !important;
  line-height: 1.5 !important;
}

.wpcf7 input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--accent) !important;
  background: var(--bone) !important;
}

.wpcf7 select { appearance: none !important; cursor: pointer !important; }
.wpcf7 textarea { resize: none !important; min-height: 6rem !important; }

/* Control-wrap spans act as block wrappers */
.wpcf7 .wpcf7-form-control-wrap {
  display: block !important;
  margin-top: 0.375rem !important;
}

/* CF7 paragraph spacing inside forms */
.wpcf7-form p {
  margin-bottom: 1rem !important;
}
.wpcf7-form p:last-child {
  margin-bottom: 0 !important;
}

/* CF7 label styling */
.wpcf7-form label {
  display: block !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--fg-muted) !important;
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

/* Submit button */
.wpcf7 input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem 2rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  color: #fff !important;
  background: var(--accent) !important;
  border: none !important;
  border-radius: 9999px !important;
  box-shadow: 0 6px 20px -8px rgba(233,39,46,0.6) !important;
  transition: background 0.3s !important;
  cursor: pointer !important;
  font-family: var(--font-sans) !important;
  width: auto !important;
}
.wpcf7 input[type="submit"]:hover {
  background: var(--accent-light) !important;
}

/* Validation */
.wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.375rem;
  display: block;
}
.wpcf7 input.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-color: var(--accent) !important;
  background: #fff5f5 !important;
}

/* Response output */
.wpcf7-response-output {
  margin-top: 1.25rem !important;
  padding: 0.875rem 1.25rem !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important;
  border: none !important;
}
.wpcf7-mail-sent-ok { background: #f0fdf4; color: #15803d; }
.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-validation-errors,
.wpcf7-spam-blocked { background: #fff5f5; color: var(--accent); }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
}
.form-note { font-size: 0.75rem; color: rgba(43,58,68,0.8); }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--accent);
  border-radius: 9999px;
  box-shadow: 0 6px 20px -8px rgba(233,39,46,0.6);
  transition: background 0.3s;
}
.btn-submit:hover { background: var(--accent-light); }
.btn-submit svg { width: 0.875rem; height: 0.875rem; }

/* ==========================================================================
   QUOTE PAGE
   ========================================================================== */

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
}
@media (min-width: 1024px) { .quote-grid { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } }

.quote-sidebar { }
@media (min-width: 1024px) {
  .quote-sidebar { position: sticky; top: 7rem; align-self: flex-start; }
}

.quote-h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.quote-intro { color: var(--fg-muted); font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; }

.value-props { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.value-prop { display: flex; gap: 1rem; }
.value-prop-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: rgba(233,39,46,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-prop-icon svg { width: 0.75rem; height: 0.75rem; color: var(--accent); }
.value-prop-title { font-size: 0.875rem; font-weight: 600; color: var(--fg); margin-bottom: 0.25rem; }
.value-prop-body { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

.quote-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mist);
}
.quote-stat-val {
  font-size: 1.875rem;
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.quote-stat-label {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.quote-form { background: var(--bone); border-radius: 1.5rem; padding: 1.75rem; box-shadow: 0 4px 30px -10px rgba(43,58,68,0.12); }
@media (min-width: 768px) { .quote-form { padding: 2.5rem; } }

.form-section { margin-bottom: 0; }
.form-section-header { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.25rem; }
.form-section-num {
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--accent);
  line-height: 1;
}
.form-section-title { font-size: 1.25rem; font-family: var(--font-display); color: var(--fg); }
.form-divider { height: 1px; background: var(--mist); margin: 2rem 0; }
.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 540px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .form-row-3 { grid-template-columns: 1.4fr 1fr; }
}

/* Segmented control */
.segmented-control {
  display: flex;
  flex-wrap: wrap;
  background: var(--bone-3);
  border-radius: 9999px;
  padding: 0.25rem;
  width: fit-content;
  max-width: 100%;
}
.seg-btn {
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.2s;
  color: var(--fg-muted);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.seg-btn.active {
  background: var(--fg);
  color: var(--bone);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ==========================================================================
   SUPPORT TRIAGE
   ========================================================================== */

.triage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 1024px) { .triage-grid { grid-template-columns: 1fr 1fr 1fr; } }

.triage-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.75rem 2rem;
  overflow: hidden;
}
.triage-card-default {
  background: var(--bone-3);
  color: var(--fg);
  transition: background 0.4s;
}
.triage-card-default:hover { background: var(--bone-2); }
.triage-card-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px -18px rgba(233,39,46,0.55);
}
.triage-glow {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  opacity: 0.4;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.triage-tag {
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.triage-tag-default { color: var(--accent); }
.triage-tag-accent  { color: rgba(255,255,255,0.9); }
.triage-h3 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.triage-body { font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.5rem; }
.triage-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: gap 0.3s;
}
.triage-cta svg { width: 0.875rem; height: 0.875rem; transition: transform 0.3s; }
.triage-card:hover .triage-cta { gap: 0.75rem; }
.triage-card:hover .triage-cta svg { transform: translateX(4px); }
.triage-cta-default { color: var(--accent); }
.triage-cta-accent  { color: #fff; }

/* ==========================================================================
   SUPPORT PROGRAMS
   ========================================================================== */

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .programs-grid { grid-template-columns: 1fr 1fr; } }

.program-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem 2rem;
  transition: box-shadow 0.4s;
}
.program-card:hover { box-shadow: 0 18px 40px -18px rgba(43,58,68,0.18); }
.program-card-body { display: flex; align-items: flex-start; gap: 1.25rem; }
.program-icon-wrap {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(233,39,46,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.program-icon-wrap svg { width: 1.5rem; height: 1.5rem; }
.program-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-family: var(--font-display);
  color: var(--fg);
  margin-bottom: 0.625rem;
  line-height: 1.2;
}
.program-body { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* ==========================================================================
   SUPPORT BRANCH CTA
   ========================================================================== */

.branch-cta-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: flex-end;
}
@media (min-width: 1024px) { .branch-cta-header { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }

.branch-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.branch-cta-badge-line { width: 2rem; height: 1px; background: var(--accent); }
.branch-cta-badge-text { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); }
.branch-cta-h2 {
  font-size: clamp(2.75rem, 7vw, 4.375rem);
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.1;
}
.branch-cta-subtext { color: rgba(255,255,255,0.75); font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.7; max-width: 28rem; }

.branch-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .branch-cta-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .branch-cta-grid { grid-template-columns: 1fr 1fr 1fr; } }

.branch-cta-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: background 0.4s;
}
.branch-cta-card:hover { background: rgba(255,255,255,0.1); }
.branch-cta-region { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.75rem; }
.branch-cta-city { font-size: 1.125rem; font-family: var(--font-display); color: #fff; margin-bottom: 0.25rem; }
.branch-cta-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 1rem 0; }
.branch-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  transition: color 0.2s;
}
.branch-cta-phone:hover { color: var(--accent); }
.branch-cta-phone svg { width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0; }

.branch-cta-footnote {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}
.branch-cta-footnote a { color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,0.3); }
.branch-cta-footnote a:hover { color: #fff; }

/* ==========================================================================
   RENT PAGE
   ========================================================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: 1fr 1fr 1fr; } }

.benefit-card {
  position: relative;
  background: var(--bone-3);
  border-radius: 1rem;
  padding: 1.75rem;
  overflow: hidden;
  transition: background 0.4s;
}
.benefit-card:hover { background: var(--bone-2); }
.benefit-num { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.75rem; }
.benefit-title { font-size: 1.25rem; font-family: var(--font-display); color: var(--fg); margin-bottom: 0.75rem; line-height: 1.2; }
.benefit-body { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* Comparison table */
.comparison-table-wrap { overflow: hidden; border-radius: 1rem; border: 1px solid var(--mist); background: #fff; display: none; }
@media (min-width: 768px) { .comparison-table-wrap { display: block; } }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; }
.comparison-table thead tr { border-bottom: 1px solid var(--mist); }
.comparison-table th { padding: 1.25rem; font-size: 0.625rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--fg-muted); font-weight: 600; }
.comparison-table th.col-rental { background: var(--accent); color: #fff; }
.comparison-table th .rec { display: inline-block; font-size: 0.5625rem; letter-spacing: 0.1em; padding: 0.125rem 0.5rem; border-radius: 9999px; background: rgba(255,255,255,0.2); margin-left: 0.5rem; }
.comparison-table td { padding: 1.25rem; font-size: 0.875rem; vertical-align: top; line-height: 1.6; }
.comparison-table th.col-influence, .comparison-table td.col-influence { width: 11rem; }
@media (min-width: 1024px) { .comparison-table th.col-influence, .comparison-table td.col-influence { width: 14rem; } }
.comparison-table td.col-influence { font-weight: 600; color: var(--fg); }
.comparison-table td.col-cash, .comparison-table td.col-lease { color: var(--fg-muted); }
.comparison-table td.col-rental { background: var(--slate); color: #fff; }
.comparison-table tr:nth-child(even) td:not(.col-rental) { background: rgba(244,243,238,0.4); }

/* Mobile comparison cards */
.comparison-cards { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .comparison-cards { display: none; } }
.comp-card { border-radius: 1rem; border: 1px solid var(--mist); background: #fff; overflow: hidden; }
.comp-card-header { background: var(--bone-2); padding: 0.75rem 1.25rem; font-size: 0.625rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--fg); font-weight: 600; }
.comp-row { padding: 1rem 1.25rem; border-top: 1px solid var(--mist); }
.comp-row dt { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.comp-row dd { font-size: 0.875rem; color: var(--fg); line-height: 1.6; }
.comp-row-rental { background: var(--slate); }
.comp-row-rental dt { color: rgba(255,255,255,0.8); }
.comp-row-rental dd { color: #fff; }
.rec-badge { display: inline-block; font-size: 0.5625rem; letter-spacing: 0.1em; padding: 0.125rem 0.375rem; border-radius: 9999px; background: var(--accent); color: #fff; }

/* Disclosure */
.disclosure-wrap {
  border-radius: 1rem;
  border: 1px solid var(--mist);
  background: rgba(244,243,238,0.5);
  padding: 1.5rem;
}
@media (min-width: 640px) { .disclosure-wrap { padding: 1.5rem 2.5rem; } }
.disclosure-body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
@media (min-width: 640px) { .disclosure-body { flex-direction: row; } }
.disclosure-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(233,39,46,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.disclosure-icon svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }
.disclosure-eyebrow { font-size: 0.625rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.75rem; }
.disclosure-h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-family: var(--font-display); color: var(--fg); line-height: 1.2; margin-bottom: 1rem; }
.disclosure-p { font-size: 1rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 1rem; max-width: 48rem; }
.disclosure-steps { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .disclosure-steps { grid-template-columns: 1fr 1fr 1fr; } }
.disclosure-step { background: #fff; border: 1px solid var(--mist); border-radius: 0.75rem; padding: 1.25rem; }
.disclosure-step-num { font-size: 1.875rem; font-family: var(--font-display); color: var(--accent); line-height: 1; margin-bottom: 0.5rem; }
.disclosure-step-title { font-size: 0.875rem; font-weight: 600; color: var(--fg); margin-bottom: 0.375rem; }
.disclosure-step-body { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* Rent CTA */
.rent-cta-badge { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.rent-cta-badge-line { width: 2rem; height: 1px; background: var(--accent); }
.rent-cta-badge-text { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); }
.rent-cta-h2 { font-size: clamp(2.75rem, 7vw, 4.375rem); font-family: var(--font-display); color: #fff; line-height: 1.1; margin-bottom: 1.5rem; max-width: 48rem; }
.rent-cta-body { color: rgba(255,255,255,0.75); font-size: 1.125rem; line-height: 1.7; margin-bottom: 2.5rem; max-width: 36rem; }
.rent-cta-btns { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .rent-cta-btns { flex-direction: row; } }
.btn-accent-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 9999px;
  box-shadow: 0 10px 40px -10px rgba(233,39,46,0.7);
  transition: background 0.3s;
}
.btn-accent-lg:hover { background: var(--accent-light); }
.btn-accent-lg svg { width: 1rem; height: 1rem; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  transition: background 0.3s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.rent-cta-disclaimer { margin-top: 2rem; font-size: 0.75rem; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; }

/* ==========================================================================
   USE CASES
   ========================================================================== */

.use-case-article {
  background: var(--bone);
  border-radius: 2rem;
  overflow: hidden;
  scroll-margin-top: 7rem;
}
.use-case-banner {
  position: relative;
  background: var(--slate);
  padding: 2rem;
  overflow: hidden;
}
@media (min-width: 768px) { .use-case-banner { padding: 3rem; } }
@media (min-width: 1024px) { .use-case-banner { padding: 3.5rem; } }

.use-case-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .use-case-banner-grid { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; } }

.uc-badges { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.uc-badge {
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}
.uc-customer { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.uc-h2 { font-size: clamp(1.875rem, 4vw, 3.125rem); font-family: var(--font-display); color: #fff; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.uc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; max-width: 28rem; }
.uc-meta-label { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 0.25rem; }
.uc-meta-val { font-size: 0.875rem; color: #fff; }
@media (min-width: 768px) { .uc-meta-val { font-size: 1rem; } }

.uc-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bone);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,0.4);
  padding: 1.5rem;
}
@media (min-width: 1024px) { .uc-photo { aspect-ratio: 4/5; } }
.uc-photo img { width: 100%; height: 100%; object-fit: contain; }
.uc-photo-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: var(--accent);
  color: #fff;
  border-radius: 9999px;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 4px 14px -4px rgba(233,39,46,0.6);
}
.uc-photo-badge span { width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: #fff; animation: pulse 2s infinite; }

.use-case-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .use-case-body { padding: 3rem; } }
@media (min-width: 1024px) {
  .use-case-body { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; padding: 3.5rem; }
}

.uc-story-eyebrow { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.uc-summary { font-size: clamp(1rem, 1.5vw, 1.125rem); color: var(--fg-muted); line-height: 1.7; margin-bottom: 2.5rem; }
.uc-highlights-label { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 1.25rem; }
.uc-highlights { display: flex; flex-direction: column; gap: 0.75rem; }
.uc-highlight { display: flex; align-items: flex-start; gap: 0.75rem; }
.uc-check {
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: rgba(233,39,46,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.uc-check svg { width: 0.75rem; height: 0.75rem; }
.uc-highlight span { font-size: 0.875rem; color: var(--fg); line-height: 1.6; }
@media (min-width: 768px) { .uc-highlight span { font-size: 1rem; } }

.uc-stats { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 480px) and (max-width: 1023px) { .uc-stats { grid-template-columns: 1fr 1fr 1fr; } }
.uc-stat { background: var(--bone-3); border-radius: 1rem; padding: 1.5rem; }
.uc-stat-val { font-size: clamp(1.875rem, 4vw, 2.25rem); font-family: var(--font-display); color: var(--accent); line-height: 1; margin-bottom: 0.5rem; }
.uc-stat-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }

.uc-quote {
  position: relative;
  background: var(--bone-3);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  overflow: hidden;
}
.uc-quote-mark {
  position: absolute;
  top: -1.5rem;
  left: -0.25rem;
  font-size: 4.5rem;
  font-family: var(--font-display);
  color: rgba(233,39,46,0.15);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.uc-quote-text {
  position: relative;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--fg);
  line-height: 1.7;
  font-family: var(--font-display);
  margin-bottom: 1.25rem;
}
.uc-quote-fig { padding-top: 1.25rem; border-top: 1px solid var(--mist); }
.uc-quote-name { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.uc-quote-role { font-size: 0.75rem; color: var(--fg-muted); }
.uc-quote-date { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(43,58,68,0.7); margin-top: 0.5rem; }

/* Use cases CTA */
.use-cases-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) { .use-cases-cta-grid { grid-template-columns: 1.4fr 1fr; } }
.use-cases-cta-h2 { font-size: clamp(1.875rem, 4vw, 3.125rem); font-family: var(--font-display); color: var(--fg); line-height: 1.1; }
.use-cases-cta-body { font-size: clamp(1rem, 1.5vw, 1.125rem); color: var(--fg-muted); line-height: 1.7; margin-top: 1.5rem; max-width: 36rem; }

/* ==========================================================================
   QUOTE / CONTACT PAGE layout
   ========================================================================== */

.content-section-wrap { padding: 0.75rem 1.25rem 0.75rem; }
@media (min-width: 768px) { .content-section-wrap { padding: 0.75rem 2rem 0.75rem; } }

/* ==========================================================================
   PLACEHOLDER PAGES
   ========================================================================== */

.placeholder-hero {
  padding: 4rem 1.5rem;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .placeholder-hero { padding: 6rem 2rem; } }
.placeholder-hero h1 { font-size: clamp(2rem, 7vw, 3rem); font-family: var(--font-display); color: var(--fg); margin-bottom: 1rem; }
.placeholder-hero p { font-size: 1.125rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 2rem; }

/* ==========================================================================
   GENERIC SECTION HEADERS
   ========================================================================== */

.section-h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.05;
}
.section-h2-white { color: #fff; }
.section-subtext {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--fg-muted);
  line-height: 1.7;
  margin-top: 1.5rem;
  max-width: 42rem;
}
.section-subtext-white { color: rgba(255,255,255,0.75); }

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */

.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  max-width: 90rem;
  margin-inline: auto;
  padding: 0.75rem 2rem;
  flex-wrap: wrap;
}
@media (min-width: 768px)  { .sp-breadcrumb { padding: 0.75rem 3rem; } }
@media (min-width: 1024px) { .sp-breadcrumb { padding: 0.75rem 4rem; } }
.sp-breadcrumb a { color: var(--fg-muted); transition: color 0.2s; }
.sp-breadcrumb a:hover { color: var(--accent); }
.sp-breadcrumb span[aria-hidden] { color: var(--mist); }

.sp-hero-section { position: relative; }

.sp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .sp-hero-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 1200px) {
  .sp-hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* Gallery */
.sp-gallery { display: flex; flex-direction: column; gap: 1rem; }

.sp-main-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--bone);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 24px -4px rgba(43,58,68,0.12);
}
.sp-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.25s, transform 0.45s ease-out;
}
.sp-main-img-wrap:hover img { transform: scale(1.04); }

.sp-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  color: var(--slate-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(43,58,68,0.18);
  opacity: 0;
  transition: opacity 0.2s, background 0.2s, transform 0.2s;
  z-index: 2;
}
.sp-main-img-wrap:hover .sp-gallery-nav,
.sp-gallery-nav:focus-visible { opacity: 1; }
.sp-gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.sp-gallery-nav:active { transform: translateY(-50%) scale(0.95); }
.sp-gallery-nav svg { width: 1.25rem; height: 1.25rem; stroke-width: 2.25; }
.sp-gallery-nav.prev { left: 0.875rem; }
.sp-gallery-nav.next { right: 0.875rem; }
.sp-gallery-nav[disabled] { opacity: 0 !important; pointer-events: none; }

.sp-thumbs {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}
.sp-thumb {
  width: 5rem;
  height: 5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--bone);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px -2px rgba(43,58,68,0.1);
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-thumb:hover { border-color: var(--mist); transform: translateY(-2px); }
.sp-thumb.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

/* Info panel */
.sp-cat {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sp-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.sp-sku {
  font-size: 0.75rem;
  color: var(--steel-light);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.sp-short-desc {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.sp-short-desc p { margin-bottom: 0.75rem; }
.sp-short-desc p:last-child { margin-bottom: 0; }

/* Buttons/links pasted directly into the WooCommerce short description
   (e.g. .button, wp-block-button__link) need explicit styling — the theme
   strips all default WooCommerce button CSS. */
.sp-short-desc a.button,
.sp-short-desc .wp-block-button__link,
.sp-short-desc button,
.sp-desc-body a.button,
.sp-desc-body .wp-block-button__link,
.sp-desc-body button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  margin: 0.5rem 0.5rem 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 20px -8px rgba(233,39,46,0.6);
  transition: background 0.3s;
}
.sp-short-desc a.button:hover,
.sp-short-desc .wp-block-button__link:hover,
.sp-short-desc button:hover,
.sp-desc-body a.button:hover,
.sp-desc-body .wp-block-button__link:hover,
.sp-desc-body button:hover {
  background: var(--accent-light);
  color: #fff;
}

/* Spec bullet list under the H1 */
.sp-spec-bullets {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.sp-spec-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--fg);
  line-height: 1.45;
}
.sp-spec-bullets svg {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent);
  margin-top: 0.18rem;
}
.sp-spec-bullets strong { color: var(--fg); font-weight: 600; }

/* Compact brochure pills (moved out of short-desc so they don't pile up at the top) */
.sp-brochures {
  border-top: 1px solid var(--pearl);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}
.sp-brochures-label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.sp-brochures-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sp-brochures-list a { text-decoration: none; }
.sp-brochures-list button,
.sp-brochures-list .brocture-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  color: var(--fg);
  background: #e9ebee;
  border: 1px solid #dcdfe3;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(43,58,68,0.06);
  transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s;
  margin: 0;
  line-height: 1.2;
}
.sp-brochures-list button:hover,
.sp-brochures-list .brocture-btn:hover {
  background: #dde0e4;
  border-color: #c8ccd1;
  color: var(--fg);
  transform: translateY(-1px);
}
.sp-brochures-list button::before,
.sp-brochures-list .brocture-btn::before {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B3A44' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Product variation selectors */
.sp-variations {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--pearl);
}
.sp-variation-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sp-variation-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}
.sp-variation-field .form-select {
  width: 100%;
  background: var(--bone);
  border: 1.5px solid var(--mist);
}
.sp-variation-field .form-select:focus {
  background: var(--bone);
  border-color: var(--accent);
}
.sp-variation-notice {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin: 0;
}
.sp-variation-notice-active {
  color: var(--accent);
  font-weight: 600;
}

.sp-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.sp-attrs { border-top: 1px solid var(--pearl); padding-top: 1.5rem; }

.sp-attrs-label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}

.sp-attrs-list { display: flex; flex-direction: column; gap: 0; }

.sp-attr-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--bone-3);
  font-size: 0.875rem;
}
@media (min-width: 480px) {
  .sp-attr-row { grid-template-columns: 8rem 1fr; gap: 0.5rem 1rem; }
}
@media (min-width: 768px) {
  .sp-attr-row { grid-template-columns: 10rem 1fr; }
}
.sp-attr-row dt { color: var(--steel); font-weight: 500; }
.sp-attr-row dd { color: var(--fg); }

/* Description section */
.sp-desc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .sp-desc-grid { grid-template-columns: 1fr 1.5fr; align-items: start; }
}

.sp-desc-body {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.8;
}
.sp-desc-body p { margin-bottom: 1rem; }
.sp-desc-body p:last-child { margin-bottom: 0; }
.sp-desc-body ul, .sp-desc-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sp-desc-body strong { color: var(--fg); font-weight: 600; }
.sp-desc-body h2, .sp-desc-body h3 {
  font-family: var(--font-display);
  color: var(--fg);
  margin: 1.5rem 0 0.75rem;
}

/* ==========================================================================
   NEWS / BLOG — Archive
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px)  { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: 1fr 1fr 1fr; } }

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--bone);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 24px -4px rgba(43,58,68,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  color: inherit;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px -8px rgba(43,58,68,0.2);
}

.news-card-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bone-3);
  overflow: hidden;
  flex-shrink: 0;
}
.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-card-img-wrap img { transform: scale(1.04); }

.news-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pearl);
  color: var(--mist);
}
.news-card-img-placeholder svg { width: 3rem; height: 3rem; }

.news-card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}

.news-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--steel-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 0.625rem;
}

.news-card-excerpt {
  font-size: 0.8125rem;
  color: var(--steel);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}

/* ==========================================================================
   NEWS / BLOG — Single Post
   ========================================================================== */

.post-hero { max-width: 52rem; margin-bottom: 2.5rem; }

.post-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--fg);
  line-height: 1.15;
  margin: 0.75rem 0 1rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--steel-light);
}
.post-meta-sep { color: var(--mist); }

.post-featured-img {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bone-3);
}
@media (min-width: 768px) { .post-featured-img { aspect-ratio: 16/7; } }
.post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 960px) {
  .post-content-grid { grid-template-columns: 1fr 18rem; }
}
@media (min-width: 1200px) {
  .post-content-grid { grid-template-columns: 1fr 20rem; }
}

/* Post body typography */
.post-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.85;
  max-width: 68ch;
}
.post-body p { margin-bottom: 1.25rem; }
.post-body p:last-child { margin-bottom: 0; }
.post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  color: var(--fg);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--fg);
  margin: 2rem 0 0.75rem;
}
.post-body ul, .post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.post-body strong { color: var(--fg); font-weight: 600; }
.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--accent-dark); }
.post-body img {
  width: 100%;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--bone-3);
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: var(--fg);
}

/* Sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.post-sidebar-cta {
  position: relative;
  background: var(--slate);
  border-radius: 0.75rem;
  padding: 1.75rem;
  overflow: hidden;
}
.post-sidebar-cta-glow {
  position: absolute;
  bottom: -4rem;
  right: -4rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(233,39,46,0.35) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.post-sidebar-eyebrow {
  position: relative;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.625rem;
}
.post-sidebar-h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.post-sidebar-recent {
  background: var(--bone-3);
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.post-sidebar-recent-label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.post-sidebar-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--pearl);
  color: inherit;
  transition: opacity 0.2s;
}
.post-sidebar-item:last-child { border-bottom: none; padding-bottom: 0; }
.post-sidebar-item:hover { opacity: 0.75; }
.post-sidebar-item-img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.375rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--pearl);
}
.post-sidebar-item-img img { width: 100%; height: 100%; object-fit: cover; }
.post-sidebar-item-date {
  font-size: 0.6875rem;
  color: var(--steel-light);
  margin-bottom: 0.25rem;
}
.post-sidebar-item-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
}

/* ==========================================================================
   GALLERY PAGE
   ========================================================================== */

/* Hero stats bar */
.gallery-hero-inner { align-items: flex-start; flex-direction: column; justify-content: flex-end; gap: 2.5rem; }
.gallery-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  position: relative;
  z-index: 1;
}
.gallery-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.gallery-hero-stat-n {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: #fff;
  line-height: 1;
}
.gallery-hero-stat-l {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Section header */
.gallery-section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .gallery-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
  }
}
.gallery-section-sub {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  max-width: 24rem;
  line-height: 1.6;
}

/* Filter buttons */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  border: 1.5px solid var(--mist);
  background: var(--bone);
  color: var(--fg-muted);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  min-height: 44px;
  white-space: nowrap;
}
.gallery-filter-btn:hover {
  border-color: var(--slate);
  color: var(--fg);
}
.gallery-filter-btn.active {
  background: var(--slate);
  color: #fff;
  border-color: var(--slate);
}
.gallery-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.375rem;
  height: 1.375rem;
  border-radius: 9999px;
  background: rgba(0,0,0,0.1);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0 0.3rem;
}
.gallery-filter-btn.active .gallery-filter-count {
  background: rgba(255,255,255,0.2);
}

/* Masonry grid */
.gallery-grid {
  columns: 1;
  column-gap: 1rem;
}
@media (min-width: 540px) { .gallery-grid { columns: 2; } }
@media (min-width: 900px) { .gallery-grid { columns: 3; column-gap: 1.25rem; } }
@media (min-width: 1200px) { .gallery-grid { columns: 4; } }

/* Gallery items */
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--pearl);
  outline: none;
  transition: box-shadow 0.22s;
}
@media (min-width: 900px) { .gallery-item { margin-bottom: 1.25rem; } }
.gallery-item:focus-visible {
  box-shadow: 0 0 0 3px var(--accent);
}
.gallery-item-wide {
  /* In a CSS columns layout, span is handled by break-inside; wide items just
     have a taller aspect ratio to stand out visually */
}

.gallery-item-img-wrap {
  position: relative;
  overflow: hidden;
  display: block;
  line-height: 0;
}
.gallery-item-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover .gallery-item-img-wrap img,
.gallery-item:focus-visible .gallery-item-img-wrap img {
  transform: scale(1.05);
}

/* Hover overlay */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,10,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay {
  background: rgba(8,8,10,0.38);
}
.gallery-zoom-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s, transform 0.25s;
}
.gallery-item:hover .gallery-zoom-icon,
.gallery-item:focus-visible .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Caption below image */
.gallery-item-caption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: var(--bone);
}
.gallery-item-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.35;
}
.gallery-item-loc {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.gallery-item-loc svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: var(--accent);
}

/* ── Lightbox ── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(8,8,10,0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gallery-lightbox[hidden] { display: none; }

.gallery-lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  z-index: 10;
}
.gallery-lb-close:hover { background: rgba(255,255,255,0.2); }
.gallery-lb-close svg { width: 1.125rem; height: 1.125rem; }

.gallery-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  z-index: 10;
}
.gallery-lb-nav:hover { background: rgba(255,255,255,0.22); }
.gallery-lb-nav svg { width: 1.25rem; height: 1.25rem; }
.gallery-lb-prev { left: 1rem; }
.gallery-lb-next { right: 1rem; }
@media (min-width: 768px) {
  .gallery-lb-prev { left: 2rem; }
  .gallery-lb-next { right: 2rem; }
}

.gallery-lb-stage {
  max-width: min(90vw, 1100px);
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lb-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.gallery-lb-info {
  text-align: center;
  max-width: 40rem;
}
.gallery-lb-caption {
  color: rgba(255,255,255,0.92);
  font-size: 0.9375rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
}
.gallery-lb-loc {
  color: rgba(255,255,255,0.45);
  font-size: 0.8125rem;
  margin: 0;
}

.gallery-lb-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   QUANTITY SELECTOR & CART FEEDBACK (single product)
   ========================================================================== */
.sp-qty-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.sp-qty-input {
  display: flex;
  align-items: stretch;
  width: fit-content;
  border: 1.5px solid var(--mist);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bone);
}
.sp-qty-btn {
  appearance: none;
  border: none;
  background: var(--bone-3);
  color: var(--fg);
  font-size: 1.25rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.sp-qty-btn:hover {
  background: var(--accent);
  color: var(--bone);
}
.sp-qty-field {
  width: 4rem;
  border: none;
  border-left: 1.5px solid var(--mist);
  border-right: 1.5px solid var(--mist);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  background: var(--bone);
  -moz-appearance: textfield;
}
.sp-qty-field::-webkit-outer-spin-button,
.sp-qty-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sp-qty-field:focus {
  outline: none;
  background: var(--bone-2);
}

.sp-cart-feedback {
  font-size: 0.875rem;
  color: var(--accent-dark);
  margin-top: 0.75rem;
  margin-bottom: 0;
  min-height: 1.25rem;
}
.sp-cart-feedback a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}
.sp-cart-feedback-error {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   HEADER CART ICON
   ========================================================================== */
.navbar-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--fg);
  flex-shrink: 0;
}
.navbar-cart svg {
  width: 24px;
  height: 24px;
}
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bone);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s;
}
.cart-count-visible {
  opacity: 1;
  transform: scale(1);
}
.mobile-menu-cart {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--mist);
  border-radius: 999px;
  color: var(--fg);
  font-weight: 600;
  font-size: 0.9375rem;
}
.mobile-menu-cart svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.mobile-menu-cart .cart-count {
  position: static;
  opacity: 1;
  transform: none;
  margin-left: auto;
}

/* ==========================================================================
   QUOTE CART PAGE
   ========================================================================== */
.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
}
.cart-empty p {
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

.cart-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--bone);
  border: 1px solid var(--pearl);
  border-radius: 14px;
  position: relative;
}
@media (min-width: 768px) {
  .cart-row {
    grid-template-columns: 96px 1fr auto auto;
    gap: 1.5rem;
  }
}

.cart-row-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bone-3);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .cart-row-img { width: 96px; height: 96px; }
}
.cart-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-row-info {
  min-width: 0;
}
.cart-row-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 0.25rem;
  text-decoration: none;
  display: block;
}
.cart-row-title:hover { color: var(--accent); }
.cart-row-meta {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin: 0;
}

.cart-row-qty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bone-3);
}
@media (min-width: 768px) {
  .cart-row-qty {
    grid-column: auto;
    border-top: none;
    padding-top: 0;
    justify-content: flex-end;
  }
}

.cart-row-remove {
  appearance: none;
  border: none;
  background: none;
  color: var(--fg-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.cart-row-remove:hover { color: var(--accent); }

.cart-summary {
  background: var(--bone-3);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .cart-summary {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cart-summary-text {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  margin: 0;
}
.cart-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ==========================================================================
   AOS ANIMATION INIT STATES
   ========================================================================== */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ==========================================================================
   PRODUCTS DROPDOWN (cascading: main categories with hover side-flyouts)
   ========================================================================== */

.navbar-has-dropdown { position: relative; }

.navbar-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-chevron {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.navbar-has-dropdown:hover > .navbar-dropdown-trigger .navbar-chevron,
.navbar-has-dropdown.dropdown-open > .navbar-dropdown-trigger .navbar-chevron {
  transform: rotate(180deg);
}

/* The main dropdown panel */
.navbar-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: #fff;
  border-top: 2px solid var(--accent);
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 12px 32px rgba(43,58,68,0.15);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

@media (min-width: 1024px) {
  .navbar-has-dropdown:hover > .navbar-dropdown,
  .navbar-has-dropdown.dropdown-open > .navbar-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.navbar-dropdown-item {
  position: relative;
  list-style: none;
}

.navbar-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.navbar-dropdown-link:hover,
.navbar-dropdown-item:hover > .navbar-dropdown-link {
  background: var(--bone-3, #f1efe9);
  color: var(--accent);
  padding-left: 1.15rem;
}

.navbar-flyout-chevron {
  width: 0.55rem;
  height: 0.55rem;
  color: var(--fg-muted);
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}
.navbar-dropdown-item:hover > .navbar-dropdown-link .navbar-flyout-chevron {
  color: var(--accent);
  transform: translateX(2px);
}

/* The side-flyout for secondary categories */
.navbar-flyout {
  position: absolute;
  top: -0.5rem;
  left: 100%;
  min-width: 16rem;
  max-height: calc(100vh - var(--navbar-h, 4rem) - 2rem);
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: #fff;
  border-radius: 0 0.5rem 0.5rem 0.5rem;
  box-shadow: 12px 12px 32px rgba(43,58,68,0.15);
  z-index: 901;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

@media (min-width: 1024px) {
  .navbar-dropdown-item.has-flyout:hover > .navbar-flyout {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}

.navbar-flyout-link {
  display: block;
  padding: 0.45rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--fg-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.navbar-flyout-link:hover {
  background: var(--bone-3, #f1efe9);
  color: var(--accent);
  padding-left: 1.15rem;
}

/* ==========================================================================
   MOBILE PRODUCTS ACCORDION
   ========================================================================== */

.mobile-has-sub {
  display: flex;
  flex-direction: column;
}

.mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  padding: 0.5rem 0;
  text-align: left;
}

.mobile-sub-chevron {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.mobile-sub-toggle[aria-expanded="true"] .mobile-sub-chevron {
  transform: rotate(180deg);
}

.mobile-sub-panel {
  padding-left: 0.75rem;
  border-left: 2px solid var(--accent);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.mobile-sub-group {
  margin-bottom: 1.25rem;
}
.mobile-sub-group:last-child { margin-bottom: 0; }

.mobile-sub-heading {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.mobile-sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.mobile-sub-list a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  padding: 0.25rem 0;
  text-decoration: none;
}
.mobile-sub-list a:hover { color: var(--bone); }

/* ==========================================================================
   SEARCH (navbar trigger + overlay)
   ========================================================================== */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.navbar-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 2.25rem;
  padding: 0 0.85rem 0 0.7rem;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--fg);
  cursor: pointer;
  margin-right: 0.5rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.navbar-search-trigger svg { width: 1.05rem; height: 1.05rem; }
.navbar-search-label { font-size: 0.875rem; font-weight: 500; }
/* Mobile search button, beside the menu toggle (2026-10-06) */
.navbar-search-mobile {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  margin-right: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--mist, #dcdfe3);
  color: var(--fg);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}
.navbar-search-mobile svg { width: 1rem; height: 1rem; }
@media (min-width: 768px) {
  .navbar-search-mobile { display: none; }
}
.navbar-search-trigger:hover {
  background: var(--bone-3, #f1efe9);
  border-color: var(--mist, #dcdfe3);
  color: var(--accent);
}

/* Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 1rem;
}
.search-overlay[hidden] { display: none; }

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43,58,68,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: searchFadeIn 0.18s ease-out;
}

.search-overlay-panel {
  position: relative;
  width: 100%;
  max-width: 40rem;
  max-height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.875rem;
  box-shadow: 0 24px 60px rgba(43,58,68,0.25);
  animation: searchSlideDown 0.22s cubic-bezier(0.2,0.8,0.2,1);
  overflow: hidden;
}

@keyframes searchFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes searchSlideDown {
  from { transform: translateY(-12px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.search-overlay-close {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  color: var(--fg-muted);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.search-overlay-close:hover {
  background: var(--bone-3, #f1efe9);
  color: var(--fg);
}
.search-overlay-close svg { width: 1.125rem; height: 1.125rem; }

.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--pearl, #e8eaed);
}
.search-overlay-icon {
  display: inline-flex;
  color: var(--fg-muted);
  flex-shrink: 0;
}
.search-overlay-icon svg { width: 1.125rem; height: 1.125rem; }

.search-overlay-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  color: var(--fg);
  outline: none;
  padding: 0.375rem 0;
}
.search-overlay-input::placeholder { color: var(--fg-muted); }

.search-overlay-results {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.search-overlay-hint,
.search-overlay-empty,
.search-overlay-error {
  margin: 0;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.search-overlay-empty strong { color: var(--fg); }

.search-overlay-result {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.625rem 1.5rem;
  text-decoration: none;
  color: var(--fg);
  transition: background 0.12s;
}
.search-overlay-result:hover,
.search-overlay-result:focus-visible {
  background: var(--bone-3, #f1efe9);
  outline: none;
}
.search-overlay-result-img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: var(--bone, #faf9f7);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--pearl, #e8eaed);
}
.search-overlay-result-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.search-overlay-result-title {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-overlay-result-cat {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.125rem;
}

.search-overlay-viewall {
  display: block;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--pearl, #e8eaed);
  background: var(--bone, #faf9f7);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.search-overlay-viewall:hover { color: var(--accent-light, var(--accent)); }

/* When overlay is open, prevent body scroll. */
body.search-open { overflow: hidden; }

/* Search results page — search-again form on the hero */
.search-page-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 28rem;
  margin-top: 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  background: #fff;
  border-radius: 9999px;
  box-shadow: 0 6px 18px rgba(43,58,68,0.12);
  border: 1px solid var(--pearl, #e8eaed);
}
.search-page-icon {
  display: inline-flex;
  color: var(--fg-muted);
  flex-shrink: 0;
}
.search-page-icon svg { width: 1rem; height: 1rem; }
.search-page-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--fg);
  outline: none;
  padding: 0.4rem 0;
  min-width: 0;
}
.search-page-input::placeholder { color: var(--fg-muted); }
.search-page-submit {
  flex-shrink: 0;
  padding: 0.5rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.15s;
}
.search-page-submit:hover { background: var(--accent-light, var(--accent)); }

/* ==========================================================================
   HERO INLINE LINKS — category/page hero description
   Term descriptions are sanitised on save (class attributes are stripped),
   so links inside the hero copy are styled by position rather than by class.
   Matches .btn-hero-secondary so CTAs stay legible on the dark hero panel.
   ========================================================================== */
.page-hero-p a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 9999px;
  text-decoration: none;
  text-shadow: none;
  min-height: 44px;
  transition: background 0.3s, border-color 0.3s;
}
.page-hero-p a:hover,
.page-hero-p a:focus-visible {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.45);
}

/* =========================================================
   MODEL VARIANTS  (single-product.php)
   ========================================================= */
.sp-variants-section { position: relative; overflow: hidden; }
.sp-var-head { max-width: 62ch; margin-bottom: var(--space-6, 32px); }
.sp-var-intro {
  margin-top: var(--space-3, 14px);
  color: var(--color-ink-soft, #5a656c);
  font-size: 1rem; line-height: 1.6;
}
.sp-var-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sp-var-table {
  width: 100%; border-collapse: collapse; min-width: 640px;
  background: var(--color-bone, #fff);
  border: 1px solid var(--color-rule, #dce1e4);
}
.sp-var-table thead th {
  text-align: left; padding: 12px 16px;
  background: var(--color-bone-3, #eef1f2);
  border-bottom: 1px solid var(--color-rule, #dce1e4);
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700; color: var(--color-ink-soft, #5a656c); white-space: nowrap;
}
.sp-var-table tbody td {
  padding: 14px 16px; border-bottom: 1px solid var(--color-rule-soft, #eef1f2);
  vertical-align: top; font-size: 0.94rem; line-height: 1.5;
}
.sp-var-table tbody tr:last-child td { border-bottom: 0; }
.sp-var-code {
  display: inline-block; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  background: var(--color-bone-3, #eef1f2); color: var(--color-ink, #171b1d);
  padding: 3px 9px; border-radius: 3px; white-space: nowrap;
}
.sp-var-build { font-weight: 600; white-space: nowrap; }
.sp-var-means { color: var(--color-ink-soft, #5a656c); min-width: 240px; }
.sp-var-power {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.8rem; color: var(--color-ink-soft, #5a656c); white-space: nowrap;
}
.sp-var-addons { margin-top: var(--space-6, 32px); }
.sp-var-sub {
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700; color: var(--color-ink-soft, #5a656c);
  margin: 0 0 var(--space-3, 14px);
}
.sp-var-addon-list { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 10px; }
.sp-var-addon-list li {
  display: flex; gap: 14px; align-items: baseline;
  padding-bottom: 10px; border-bottom: 1px solid var(--color-rule-soft, #eef1f2);
  font-size: 0.92rem; line-height: 1.5;
}
.sp-var-addon-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.sp-var-addon-list .sp-var-code { flex: 0 0 auto; }
.sp-var-foot {
  margin-top: var(--space-5, 24px); font-size: 0.84rem;
  color: var(--color-ink-mute, #8a959b); max-width: 68ch;
}
@media (min-width: 768px) {
  .sp-var-addon-list { grid-template-columns: 1fr 1fr; gap: 10px 32px; }
}
@media (max-width: 767px) {
  .sp-var-table { min-width: 0; border: 0; }
  .sp-var-table thead { position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sp-var-table tbody tr {
    display: block; border: 1px solid var(--color-rule, #dce1e4);
    margin-bottom: 12px; background: var(--color-bone, #fff);
  }
  .sp-var-table tbody td {
    display: grid; grid-template-columns: 8.5rem 1fr; gap: 10px;
    padding: 10px 14px; border-bottom: 1px solid var(--color-rule-soft, #eef1f2);
  }
  .sp-var-table tbody td::before {
    content: attr(data-label);
    font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
    font-weight: 700; color: var(--color-ink-mute, #8a959b); padding-top: 2px;
  }
  .sp-var-table tbody td:empty { display: none; }
  .sp-var-build, .sp-var-power { white-space: normal; }
  .sp-var-means { min-width: 0; }
}

/* =========================================================
   GLOW LAYERING FIX
   Every decorative glow in the theme is position:absolute with no z-index.
   Inside a stacking context, positioned elements paint ABOVE in-flow
   non-positioned content, so the red gradients washed over panel copy —
   worst on .page-hero-glow, which is inset:0 at rgba(233,39,46,0.55) and
   sits AFTER the content in the DOM.

   Dropping each glow to z-index:-1 and making its container a stacking
   context paints the glow above the container background but below the
   text. Containers already carry overflow:hidden, so isolating them traps
   nothing that was escaping.
   ========================================================= */
.glow-accent-tr,
.glow-accent-br,
.glow-accent-tl,
.page-hero-glow,
.page-hero-glow-right,
.footer-glow,
.cat-card-glow,
.trade-in-glow,
.mission-glow,
.triage-glow,
.post-sidebar-cta-glow,
.grid-overlay { z-index: -1; pointer-events: none; }

/* containers, so z-index:-1 stays above their own background */
.panel,
.panel-bare,
.use-case-banner,
.page-hero-inner,
.footer-inner,
.cat-card,
.mission-panel,
.post-sidebar-cta,
:has(> .glow-accent-tr),
:has(> .glow-accent-br),
:has(> .glow-accent-tl),
:has(> .page-hero-glow),
:has(> .page-hero-glow-right),
:has(> .footer-glow),
:has(> .cat-card-glow),
:has(> .trade-in-glow),
:has(> .mission-glow),
:has(> .triage-glow),
:has(> .post-sidebar-cta-glow),
:has(> .grid-overlay) { isolation: isolate; }

/* =========================================================
   PRODUCT LEAD PARAGRAPH
   Promoted out of the description block so the pitch sits beside the image.
   ========================================================= */
.sp-lead {
  margin: 0.9rem 0 1.35rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-ink-soft, #5a656c);
  max-width: 54ch;
}
.sp-lead:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .sp-lead { font-size: 1.06rem; } }


/* ==========================================================================
   CONTACT: EXPORT AGENTS, several agents per country, email + address
   ========================================================================== */
.agents-grid { align-items: start; }
.agent-entry + .agent-entry {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.agent-entry .agent-company { margin-bottom: 0.75rem; }
.agent-contact {
  margin: -0.5rem 0 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}
.agent-entry .agent-phone { display: flex; min-height: 2.75rem; }
.agent-email { overflow-wrap: anywhere; }

/* Countries with several agents run wide, agents side by side, so the grid has no holes:
   desktop = Namibia (3) full row, then 3 singles, then Kenya + Mauritius (2, spans two). */
@media (min-width: 640px) {
  .agent-card-n2, .agent-card-n3 { grid-column: 1 / -1; }
  .agent-card-n2 .agent-entries { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .agent-card-n2 .agent-entry + .agent-entry {
    margin-top: 0; padding-top: 0; border-top: 0;
    padding-left: 2rem; border-left: 1px solid rgba(255,255,255,0.1);
  }
}
/* tablet: two columns, the third agent wraps to a second row under the first */
@media (min-width: 768px) {
  .agent-card-n3 .agent-entries { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .agent-card-n3 .agent-entry:nth-child(2) {
    margin-top: 0; padding-top: 0; border-top: 0;
    padding-left: 2rem; border-left: 1px solid rgba(255,255,255,0.1);
  }
}
/* desktop: all three side by side */
@media (min-width: 1024px) {
  .agent-card-n2 { grid-column: span 2; }
  .agent-card-n3 .agent-entries { grid-template-columns: repeat(3, 1fr); }
  .agent-card-n3 .agent-entry + .agent-entry {
    margin-top: 0; padding-top: 0; border-top: 0;
    padding-left: 2rem; border-left: 1px solid rgba(255,255,255,0.1);
  }
}
.agent-phone:not(.agent-email) { white-space: nowrap; }
.agent-address {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}

/* ==========================================================================
   SUPPORT: SERVICE PARTNER (BDS)
   ========================================================================== */
.partner-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) { .partner-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.partner-lead { max-width: none; }
.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.partner-tags li {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
}
.partner-note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   PRODUCT: IMAGE LIGHTBOX (click to view larger, capped to the window;
   never magnified past 1536px so retouch defects stay out of view)
   ========================================================================== */
.sp-main-img-wrap img { cursor: zoom-in; }
.sp-zoom {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(43,58,68,0.12);
  color: var(--slate-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: background 0.2s, transform 0.2s;
}
.sp-zoom:hover { background: #fff; transform: scale(1.05); }
.sp-zoom svg { width: 1.125rem; height: 1.125rem; }

.sp-lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(12,17,21,0.94);
  color: #fff;
  overflow: hidden;
}
.sp-lightbox::backdrop { background: transparent; }
.sp-lightbox[open] { display: block; animation: sp-lb-in 0.2s ease-out; }
@keyframes sp-lb-in { from { opacity: 0; } to { opacity: 1; } }
.sp-lb-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 5rem;
}
@media (min-width: 768px) { .sp-lb-stage { padding: 4rem 5.5rem 4.5rem; } }
.sp-lb-stage img {
  max-width: min(100%, 1536px);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 0.5rem;
}
.sp-lb-btn {
  position: absolute;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.sp-lb-btn:hover { background: rgba(255,255,255,0.24); }
.sp-lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sp-lb-btn[hidden] { display: none; }
.sp-lb-btn svg { width: 1.25rem; height: 1.25rem; }
.sp-lb-close { top: 1rem; right: 1rem; }
.sp-lb-prev, .sp-lb-next { top: 50%; transform: translateY(-50%); }
.sp-lb-prev { left: 1rem; }
.sp-lb-next { right: 1rem; }
@media (max-width: 767px) {
  .sp-lb-prev, .sp-lb-next { top: auto; bottom: 1rem; transform: none; }
}
.sp-lb-caption {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  margin: 0;
  max-width: calc(100% - 8rem);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#sp-lb-count { margin-left: 0.6rem; color: rgba(255,255,255,0.5); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .sp-lightbox[open] { animation: none; } }

/* ==========================================================================
   QUOTE CHECKOUT  (page-checkout.php)
   The WooCommerce checkout is the quote request form (NP Quote Request for
   WooCommerce, RFQ mode). WooCommerce's own styles are disabled, so everything
   below targets WC/NP markup and mirrors .form-card / .form-input / .cart-row.
   Price rows and the single "Request For Quote" payment method stay in the DOM
   for WooCommerce's JS but are hidden: the site never shows prices.
   ========================================================================== */

/* Layout: details card left, sticky quote list right */
.rfq-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .rfq-checkout form.checkout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 2.5rem; row-gap: 0; }
  .rfq-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
  .rfq-checkout #order_review_heading { grid-column: 2; grid-row: 1; }
  .rfq-checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 7rem; }
}

.rfq-checkout #customer_details,
.rfq-checkout #order_review,
.rfq-checkout .woocommerce-order {
  background: var(--bone);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px -8px rgba(43,58,68,0.1);
}
@media (min-width: 768px) {
  .rfq-checkout #customer_details,
  .rfq-checkout #order_review,
  .rfq-checkout .woocommerce-order { padding: 2.5rem; }
}

/* Headings */
.rfq-checkout h2,
.rfq-checkout h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}
.rfq-checkout #order_review_heading { margin: 0 0 1rem; }
@media (min-width: 1024px) { .rfq-checkout #order_review_heading { padding-left: 0.25rem; } }
.rfq-checkout .woocommerce-shipping-fields,
.rfq-checkout .woocommerce-additional-fields {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--pearl);
}
.rfq-checkout .woocommerce-additional-fields > h3 { display: none; } /* "Additional information": the field label says enough */

/* Field grid: first/last pair up from 540px */
.rfq-checkout .woocommerce-billing-fields__field-wrapper,
.rfq-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 1rem;
}
@media (min-width: 540px) {
  .rfq-checkout .woocommerce-billing-fields__field-wrapper,
  .rfq-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rfq-checkout .form-row-wide,
  .rfq-checkout #billing_address_2_field,
  .rfq-checkout #shipping_address_2_field { grid-column: 1 / -1; }
}

.rfq-checkout .form-row { margin: 0 0 1.25rem; }
.rfq-checkout .form-row label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}
.rfq-checkout .form-row .required { color: var(--accent); text-decoration: none; border: 0; margin-left: 0.15rem; }
.rfq-checkout .form-row .optional { text-transform: none; letter-spacing: 0; color: var(--steel-light); }
.rfq-checkout .woocommerce-input-wrapper { display: block; }
/* Address line 2 has a visually hidden label: tuck it under line 1 */
.rfq-checkout #billing_address_2_field,
.rfq-checkout #shipping_address_2_field { margin-top: -0.5rem; }
.rfq-checkout .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* Inputs */
.rfq-checkout .input-text,
.rfq-checkout select,
.rfq-checkout textarea,
.rfq-checkout .select2-container .select2-selection--single {
  width: 100%;
  min-height: 2.875rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bone-3);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}
.rfq-checkout textarea { min-height: 7rem; resize: vertical; }
.rfq-checkout .input-text:focus,
.rfq-checkout select:focus,
.rfq-checkout textarea:focus,
.rfq-checkout .select2-container--focus .select2-selection--single,
.rfq-checkout .select2-container--open .select2-selection--single {
  border-color: var(--accent);
  background: var(--bone);
}
.rfq-checkout .input-text::placeholder,
.rfq-checkout textarea::placeholder { color: var(--steel-light); }

/* Country / province (selectWoo) */
.rfq-checkout .select2-container { width: 100% !important; }
.rfq-checkout .select2-container .select2-selection--single { display: flex; align-items: center; cursor: pointer; position: relative; }
.rfq-checkout .select2-selection__rendered { padding: 0 !important; color: var(--fg) !important; line-height: 1.5 !important; }
.rfq-checkout .select2-container .select2-selection__arrow {
  position: absolute !important; right: 1.1rem !important; top: 50% !important; width: 0.5rem !important; height: 0.5rem !important; margin-top: -0.35rem;
  border-right: 2px solid var(--fg-muted); border-bottom: 2px solid var(--fg-muted); transform: rotate(45deg);
}
.rfq-checkout .select2-selection__arrow b { display: none; }
.select2-dropdown {
  background: var(--bone);
  border: 1px solid var(--pearl) !important;
  border-radius: 0.75rem !important;
  overflow: hidden;
  box-shadow: 0 12px 30px -12px rgba(43,58,68,0.25);
  font-family: var(--font-sans);
  font-size: 0.875rem;
}
.select2-search--dropdown .select2-search__field {
  padding: 0.6rem 0.75rem !important; border: 1px solid var(--mist) !important; border-radius: 0.5rem; font-size: 0.875rem;
}
.select2-results__option { padding: 0.6rem 1rem; color: var(--fg); }
.select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted[data-selected] { background: var(--accent) !important; color: #fff !important; }

/* Validation */
.rfq-checkout .woocommerce-invalid .input-text,
.rfq-checkout .woocommerce-invalid select,
.rfq-checkout .woocommerce-invalid .select2-selection--single { border-color: var(--accent); background: #fff5f5; }
.rfq-checkout .checkout-inline-error-message { margin: 0.375rem 0 0; font-size: 0.75rem; color: var(--accent); }

/* "Different address" toggle */
.rfq-checkout #ship-to-different-address {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  margin: 0;
}
.rfq-checkout #ship-to-different-address label {
  display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px; cursor: pointer;
}
.rfq-checkout input[type="checkbox"] {
  width: 1.25rem; height: 1.25rem; margin: 0; flex-shrink: 0; accent-color: var(--accent); cursor: pointer;
}
.rfq-checkout .shipping_address { margin-top: 1.25rem; }

/* Quote list (order review): items only, no prices */
.rfq-checkout .shop_table { width: 100%; border-collapse: collapse; }
.rfq-checkout .woocommerce-checkout-review-order-table thead,
.rfq-checkout .woocommerce-checkout-review-order-table tfoot,
.rfq-checkout .woocommerce-checkout-review-order-table .product-total { display: none; }
.rfq-checkout .woocommerce-checkout-review-order-table td {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--bone-3);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg);
}
.rfq-checkout .woocommerce-checkout-review-order-table tr:first-child td { padding-top: 0; }
.rfq-checkout .product-quantity {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.1);
  border-radius: 9999px;
  white-space: nowrap;
}
.rfq-checkout .woocommerce-checkout-review-order-table .variation {
  display: block; margin: 0.25rem 0 0; font-size: 0.8125rem; font-weight: 400; color: var(--fg-muted);
}
.rfq-checkout .woocommerce-checkout-review-order-table .variation dt,
.rfq-checkout .woocommerce-checkout-review-order-table .variation dd,
.rfq-checkout .woocommerce-checkout-review-order-table .variation p { display: inline; margin: 0; }

/* Submit */
.rfq-checkout #payment { margin-top: 1.25rem; }
.rfq-checkout #payment .wc_payment_methods { display: none; }
.rfq-checkout .woocommerce-privacy-policy-text p {
  font-size: 0.75rem; line-height: 1.6; color: var(--fg-muted); margin: 0 0 1.25rem;
}
.rfq-checkout .woocommerce-privacy-policy-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rfq-checkout #place_order {
  display: flex;
  width: 100%;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 9999px;
  box-shadow: 0 6px 20px -8px rgba(233,39,46,0.6);
  cursor: pointer;
  transition: background 0.3s;
  appearance: none;
  box-sizing: border-box;
  height: auto;
  white-space: normal;
  line-height: 1.3;
}
.rfq-checkout #place_order:hover { background: var(--accent-light); }
.rfq-checkout-edit {
  display: inline-block; margin-top: 1rem; font-size: 0.8125rem; font-weight: 600;
  color: var(--fg-muted); text-decoration: underline; text-underline-offset: 3px;
}
.rfq-checkout-edit:hover { color: var(--accent); }

/* WooCommerce busy overlay while totals refresh */
.rfq-checkout .blockUI.blockOverlay { border-radius: 1.5rem; }

/* Notices (added to list, validation errors, confirmation) */
.rfq-checkout .woocommerce-notices-wrapper:empty { display: none; }
.rfq-checkout .woocommerce-message,
.rfq-checkout .woocommerce-info,
.rfq-checkout .woocommerce-error,
.rfq-checkout .woocommerce-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  list-style: none;
  border-radius: 0.75rem;
  background: var(--bone);
  color: var(--fg);
  border-left: 3px solid var(--slate);
}
.rfq-checkout .woocommerce-message,
.rfq-checkout .woocommerce-notice--success { background: #f0fdf4; color: #15803d; border-left-color: #15803d; }
.rfq-checkout .woocommerce-error { background: #fff5f5; color: var(--accent-dark); border-left-color: var(--accent); flex-direction: column; align-items: flex-start; }
.rfq-checkout .woocommerce-error li { margin: 0; }
.rfq-checkout .woocommerce-message .button,
.rfq-checkout .woocommerce-info .button {
  order: 2; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.rfq-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }

/* Confirmation (order-received endpoint) */
.rfq-checkout-received .woocommerce-order { max-width: 48rem; margin-inline: auto; }
.rfq-checkout .woocommerce-thankyou-order-received {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--fg);
  background: none;
  border: 0;
  padding: 0;
  display: block;
}
.rfq-checkout .woocommerce-order-overview {
  list-style: none;
  margin: 0 0 2rem;
  padding: 1.25rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--pearl);
  border-bottom: 1px solid var(--pearl);
}
@media (min-width: 540px) { .rfq-checkout .woocommerce-order-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rfq-checkout .woocommerce-order-overview li {
  font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg-muted);
}
.rfq-checkout .woocommerce-order-overview li strong {
  display: block; margin-top: 0.25rem; font-size: 0.9375rem; letter-spacing: 0; text-transform: none;
  color: var(--fg); overflow-wrap: anywhere;
}
.rfq-checkout .woocommerce-order-overview__total,
.rfq-checkout .woocommerce-order-overview__payment-method { display: none; }
.rfq-checkout .woocommerce-order-details,
.rfq-checkout .woocommerce-customer-details { margin-top: 2rem; }
.rfq-checkout .woocommerce-table--order-details th,
.rfq-checkout .woocommerce-table--order-details td {
  padding: 0.75rem 0; text-align: left; font-size: 0.9375rem; border-bottom: 1px solid var(--bone-3);
}
.rfq-checkout .woocommerce-table--order-details thead th {
  font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; color: var(--fg-muted);
}
.rfq-checkout .woocommerce-table--order-details .product-total,
.rfq-checkout .woocommerce-table--order-details tfoot { display: none; }
.rfq-checkout .woocommerce-table--order-details .product-name a { color: var(--fg); font-weight: 600; }
.rfq-checkout .woocommerce-table--order-details .product-name a:hover { color: var(--accent); }
.rfq-checkout .woocommerce-columns--addresses { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .rfq-checkout .woocommerce-columns--addresses { grid-template-columns: 1fr 1fr; } }
.rfq-checkout .woocommerce-customer-details address {
  font-style: normal; font-size: 0.875rem; line-height: 1.7; color: var(--fg-muted);
  padding: 1.25rem; background: var(--bone-3); border-radius: 0.75rem;
}
.rfq-checkout .woocommerce-customer-details address p { margin: 0.25rem 0 0; }
