/* Generated by tools/build-css-bundles.php. Do not edit directly. */

/* Source: index-source.css */
:root {
  --bg-primary: #ffffff;
  --bg-alt: #fbfaf7;
  --bg-card: #ffffff;
  --bg-card-border: #e8e8e8;
  --red: #D32626;
  --red-dark: #b01e1e;
  --red-light: #fef2f2;
  --red-glow: rgba(211, 38, 38, 0.12);
  --gold: #FFC61A;
  --gold-dark: #e0ab00;
  --gold-light: #fff8e1;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-height: 70px;
  --banner-height: 44px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--banner-height) + 20px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.banner-dismissed {
  --banner-height: 0px;
}

body.banner-dismissed html {
  scroll-padding-top: calc(var(--header-height) + 20px);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--red-dark); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(211, 38, 38, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(211, 38, 38, 0.2);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* ========== ANIMATE ON SCROLL ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== PROMO BANNER ========== */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--red);
  color: var(--white);
  z-index: 1001;
  height: var(--banner-height);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  padding: 0 3rem 0 1rem;
}

.promo-banner.hidden {
  display: none;
}

.promo-banner span {
  margin-right: 1rem;
  color: var(--white);
}
.promo-banner span strong {
  color: var(--gold);
}

.promo-banner a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 700;
}
.promo-banner a:hover {
  color: var(--white);
}

.promo-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.promo-close:hover { opacity: 1; }

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.3s ease, top 0.3s ease;
  min-height: 74px;
  border-bottom: 1px solid transparent;
}

body.banner-dismissed .site-header {
  top: 0;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  height: auto;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header-logo img {
  height: 45px;
  width: auto;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s;
  text-decoration: none;
}
.desktop-nav a:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--red); }

.header-cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1003;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}
.hamburger.active span {
  background: var(--white);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(211, 38, 38, 0.97);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mobile-contact {
  margin-top: 1rem;
  text-align: center;
}
.mobile-menu .mobile-contact a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--banner-height) + var(--header-height) + 2rem);
  padding-bottom: 4rem;
  background: var(--bg-primary);
  overflow: hidden;
}

.hero::before {
  content: none;
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: none;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 198, 26, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  flex-shrink: 0;
}

.hero-image {
  display: none;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.hero-image img {
  width: 100%;
  max-width: 580px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  animation: heroCarFloat 4s ease-in-out infinite;
}

/* Homepage page route (/brooklyn-driving-school/) spacing calibration under sticky header + promo */
body.bds-location-homepage .hero,
body.page-template-page-brooklyn-driving-school .hero,
body.page-template-page-staten-island-driving-school .hero,
body.page-staten-island-driving-school .hero,
body.page-id-10 .hero {
  min-height: auto !important;
  align-items: flex-start !important;
  padding-top: calc(var(--header-height) + var(--banner-height) + var(--hero-desktop-home-gap, 1rem)) !important;
}

body.bds-location-homepage .hero .container,
body.page-template-page-brooklyn-driving-school .hero .container,
body.page-template-page-staten-island-driving-school .hero .container,
body.page-staten-island-driving-school .hero .container,
body.page-id-10 .hero .container {
  align-items: flex-start !important;
}

body.bds-location-homepage .hero-image,
body.page-template-page-brooklyn-driving-school .hero-image,
body.page-template-page-staten-island-driving-school .hero-image,
body.page-staten-island-driving-school .hero-image,
body.page-id-10 .hero-image {
  margin-top: var(--hero-desktop-home-media-gap, 2rem) !important;
}

@keyframes heroCarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  background: var(--red-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.hero h1 {
  font-weight: 900;
  margin-bottom: 1.25rem;
  line-height: 1.05;
  color: var(--text-primary);
}

.hero h1 .accent {
  color: var(--red);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--bg-card-border);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.trust-badge .badge-star {
  color: var(--gold-dark);
  font-weight: 700;
}

/* ========== SERVICES ========== */
.services {
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid #e7d8cf;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: none;
}
.service-card:hover {
  border-color: #d7c4bc;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  color: var(--white);
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-card .learn-more {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.3s;
}
.service-card .learn-more:hover { gap: 0.65rem; }

/* ========== SERVICES SCROLL OVERRIDE ========== */
.services-scroll-wrapper {
  position: relative;
}

.services .services-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 24px !important;
  padding-bottom: 20px !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #d32626 #e8e8e8;
}

.services .services-grid::-webkit-scrollbar {
  height: 6px;
}

.services .services-grid::-webkit-scrollbar-track {
  background: #e8e8e8;
  border-radius: 3px;
}

.services .services-grid::-webkit-scrollbar-thumb {
  background: #d32626;
  border-radius: 3px;
}

.services .services-grid .service-card {
  min-width: 340px !important;
  max-width: 400px !important;
  flex: 0 0 auto !important;
  scroll-snap-align: start;
  width: auto !important;
}

.services-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #d32626;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, opacity 0.3s, transform 0.2s;
  opacity: 0;
  pointer-events: none;
}

.services-scroll-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.services-scroll-btn:hover {
  background: #b01e1e;
  transform: translateY(-60%) scale(1.08);
}

.services-scroll-btn--left {
  left: -16px;
}

.services-scroll-btn--right {
  right: -16px;
}

.services-scroll-fade {
  position: absolute;
  top: 0;
  bottom: 20px;
  width: 60px;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s;
}

.services-scroll-fade.visible {
  opacity: 1;
}

.services-scroll-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--bg-alt, #fbfaf7), transparent);
}

.services-scroll-fade--right {
  right: 0;
  background: linear-gradient(to left, var(--bg-alt, #fbfaf7), transparent);
}

.services-scroll-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 0;
}

.services-scroll-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.services-scroll-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5d5d5;
  transition: background 0.25s, transform 0.25s;
}

.services-scroll-dot.active::before {
  background: #d32626;
  transform: scale(1.25);
}

/* ========== WHY US ========== */
.why-us {
  background: var(--bg-primary);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--white);
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.why-icon svg {
  width: 100%;
  height: 100%;
}

.why-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.why-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.counter-value {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--red);
  display: block;
  margin-bottom: 0.5rem;
}

/* ========== PACKAGES ========== */
.packages {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.packages-car-accent {
  display: none;
}

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.package-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: rgba(211, 38, 38, 0.3);
}

.package-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-lg);
  transform: scale(1.02);
}
.package-card.featured:hover {
  transform: scale(1.04);
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-xl);
}

.package-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--gold);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 1px;
  padding: 0.35rem 1rem;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
}

.package-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.package-price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--red);
  margin-bottom: 1.25rem;
  line-height: 1;
}
.package-price .price-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.package-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.package-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--red);
  margin-top: 2px;
}

.package-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.package-card .btn {
  width: 100%;
  text-align: center;
}

/* ========== ABOUT ========== */
.about {
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.about-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.about-video {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-lg);
  background: #0f172a;
}

.about-video-button,
.about-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.about-video-button {
  display: block;
  padding: 0;
  cursor: pointer;
  text-align: left;
  background: #0f172a;
}

.about-video-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.01);
}

.about-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  color: #fff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.88));
}

.about-video-kicker {
  width: fit-content;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-video-title {
  max-width: 18rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
}

.about-video-play {
  position: absolute;
  right: clamp(1.25rem, 4vw, 2rem);
  bottom: clamp(1.25rem, 4vw, 2rem);
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.3);
}

.about-video-play::before {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-top: 0.62rem solid transparent;
  border-bottom: 0.62rem solid transparent;
  border-left: 0.95rem solid var(--primary-red);
  content: "";
  transform: translate(-50%, -50%);
}

.about-video-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: -7px;
}

.about-video iframe {
  z-index: 1;
}

@media (max-width: 767px) {
  .about-video {
    min-height: 220px;
  }

  .about-video-play {
    width: 3.2rem;
    height: 3.2rem;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--bg-alt);
  overflow: hidden;
}

.testimonial-track-wrapper {
  overflow: hidden;
  margin-bottom: 2rem;
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-testimonials 40s linear infinite;
  width: max-content;
}
.testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-testimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-quote-icon {
  color: var(--red);
  opacity: 0.2;
  margin-bottom: 1rem;
}
.testimonial-quote-icon svg {
  width: 36px;
  height: 36px;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.75rem;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--bg-card-border);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.google-review-badge .grb-stars {
  color: var(--gold-dark);
  font-weight: 700;
}
.google-review-badge a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.google-review-badge a:hover {
  color: var(--red);
}

.testimonials .text-center {
  text-align: center;
}

/* ========== LOCATIONS ========== */
.locations {
  background: var(--bg-primary);
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.location-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--red);
}

.location-info {
  list-style: none;
}
.location-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.location-info li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--red);
  margin-top: 3px;
}
.location-info li a {
  color: var(--text-secondary);
}
.location-info li a:hover { color: var(--red); }

.location-card .btn {
  margin-top: 1.25rem;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bg-card-border);
  height: 350px;
  box-shadow: var(--shadow-md);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== FAQ ========== */
.faq {
  background: var(--bg-alt);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--red); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--red);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #1a1a1a;
  border-top: none;
  padding: 4rem 0 0;
  color: #ccc;
}

.site-footer h4 {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #cbd5e1;
  background: transparent;
  transition: all 0.3s;
}
.social-links a svg {
  width: 18px;
  height: 18px;
}

.social-links a:nth-child(1) { color: #ff7a36; } /* Instagram */
.social-links a:nth-child(2) { color: #3b82f6; } /* Facebook */
.social-links a:nth-child(3) { color: #ff1f1f; } /* YouTube */
.social-links a:nth-child(4) { color: #ff2d55; } /* TikTok */

.social-links a:nth-child(1):hover {
  border-color: rgba(255, 122, 54, 0.6);
  background: rgba(255, 122, 54, 0.08);
}
.social-links a:nth-child(2):hover {
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(59, 130, 246, 0.08);
}
.social-links a:nth-child(3):hover {
  border-color: rgba(255, 31, 31, 0.6);
  background: rgba(255, 31, 31, 0.08);
}
.social-links a:nth-child(4):hover {
  border-color: rgba(255, 45, 85, 0.6);
  background: rgba(255, 45, 85, 0.08);
}

.footer-col h3,
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
  color: #999;
}
.footer-links a {
  color: #999;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 1.5rem 0;
  text-align: center;
  color: #a3a3a3;
  font-size: 0.85rem;
}

/* ========== MOBILE CTA BAR ========== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  background: var(--red);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s;
}
.mobile-cta-bar a:hover { color: var(--white); }
.mobile-cta-bar a:first-child {
  border-right: 1px solid rgba(255,255,255,0.2);
}
.mobile-cta-bar a svg {
  width: 18px;
  height: 18px;
}

/* ========== MEDIA QUERIES ========== */
@media (min-width: 768px) {
  section { padding: 5rem 0; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .packages-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .locations-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .testimonial-card { width: 380px; }

  .hero-image { display: block; }
}

@media (max-width: 768px) {
  .services .services-grid .service-card {
    min-width: 280px !important;
  }

  .services-scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .services-scroll-btn--left {
    left: -8px;
  }

  .services-scroll-btn--right {
    right: -8px;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    max-width: 1680px;
    width: min(98vw, 1680px);
    padding: 0 0.9rem;
    gap: 0.65rem;
  }

  .header-logo {
    flex: 0 0 auto;
  }

  .header-logo img,
  .header-logo .custom-logo,
  .header-logo .custom-logo-link img,
  .custom-logo-link img {
    max-height: 44px;
    height: auto;
    width: auto;
  }

  .desktop-nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
  }

  .desktop-nav a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.8rem;
    letter-spacing: 0;
    line-height: 1.12;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 0.6rem;
    flex-wrap: nowrap;
  }
  .header-actions > * { flex: 0 0 auto; }

  .desktop-nav { display: flex; }
  .header-phone { display: flex; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-cta-bar { display: none; }

  .header-phone {
    font-family: var(--font-body);
    font-size: 0.84rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .header-cta {
    white-space: nowrap;
    padding: 0.56rem 1rem;
    font-size: 0.76rem;
  }

  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .packages-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

  .packages-car-accent { display: block; }
}

@media (min-width: 1200px) {
  .desktop-nav {
    gap: 0.95rem;
  }

  .desktop-nav a {
    font-size: 0.84rem;
  }

  .header-phone {
    font-size: 0.9rem;
  }

  .header-cta {
    padding: 0.6rem 1.15rem;
    font-size: 0.8rem;
  }
}

@media (min-width: 1280px) {
  .hero h1 { font-size: 4.5rem; }
  .hero-content { max-width: 600px; }
  .hero-image img { max-width: 620px; }
}

/* Source: theme.css */
:root {
  --header-height: 0px;
  --banner-height: 0px;
  --hero-stack-gap: 0px;
  --hero-desktop-content-gap: 16px;
  --hero-desktop-media-gap: 16px;
  --hero-desktop-home-gap: 1rem;
  --hero-desktop-home-media-gap: 2rem;
  --hero-mobile-content-gap: 6px;
  --hero-mobile-media-gap: 2px;
  --hero-mobile-home-gap: 0.15rem;
  --hero-mobile-home-media-gap: 0.35rem;
  --site-top-offset: calc(var(--header-height) + var(--banner-height));
}

.screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #fff !important;
  border-radius: 3px !important;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2) !important;
  clip: auto !important;
  clip-path: none !important;
  color: #0f172a !important;
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  height: auto !important;
  left: 6px !important;
  line-height: normal !important;
  padding: 12px 16px !important;
  text-decoration: none !important;
  top: 6px !important;
  width: auto !important;
  z-index: 100000 !important;
}

body.has-promo-banner:not(.banner-dismissed) {
  --banner-height: 44px;
  --hero-stack-gap: 12px;
  --hero-desktop-content-gap: 28px;
  --hero-desktop-media-gap: 28px;
  --hero-desktop-home-gap: 1.75rem;
  --hero-desktop-home-media-gap: 3rem;
  --hero-mobile-content-gap: 16px;
  --hero-mobile-media-gap: 6px;
  --hero-mobile-home-gap: 0.75rem;
  --hero-mobile-home-media-gap: 0.9rem;
}

body.banner-dismissed {
  --site-top-offset: var(--header-height);
}

.admin-bar {
  --site-top-offset: calc(var(--header-height) + var(--banner-height) + 32px);
}

.admin-bar.banner-dismissed {
  --site-top-offset: calc(var(--header-height) + 32px);
}

html {
  scroll-padding-top: calc(var(--site-top-offset) + 20px) !important;
}

.site-main {
  padding-top: 0;
}

body.page .site-main,
body.single .site-main,
body.archive .site-main,
body.blog .site-main,
body.search .site-main,
body.error404 .site-main,
body.woocommerce .site-main {
  padding-top: var(--site-top-offset);
}

/* Custom hero templates already handle their own top spacing */
body.bds-location-homepage .site-main,
body.page-template-page-brooklyn-driving-school .site-main,
body.page-template-page-staten-island-driving-school .site-main,
body.page-staten-island-driving-school .site-main,
body.page-template-page-driving-lessons .site-main,
body.page-template-page-five-hour-class .site-main,
body.page-template-page-road-test-feed .site-main {
  padding-top: 0 !important;
}

/* Front page/home hero templates also handle their own top spacing */
body.home:not(.blog) .site-main,
body.front-page .site-main,
body.page-id-10 .site-main {
  padding-top: 0 !important;
}

/* Homepage hero should not vertically center below the promo/header stack */
body.bds-location-homepage .hero,
body.home:not(.blog) .hero,
body.front-page .hero,
body.page-template-page-brooklyn-driving-school .hero,
body.page-template-page-staten-island-driving-school .hero,
body.page-staten-island-driving-school .hero,
body.page-id-10 .hero {
  min-height: auto !important;
  align-items: flex-start !important;
  padding-top: calc(var(--site-top-offset) + var(--hero-desktop-home-gap)) !important;
}

body.bds-location-homepage .hero .container,
body.home:not(.blog) .hero .container,
body.front-page .hero .container,
body.page-template-page-brooklyn-driving-school .hero .container,
body.page-template-page-staten-island-driving-school .hero .container,
body.page-staten-island-driving-school .hero .container,
body.page-id-10 .hero .container {
  align-items: flex-start !important;
}

body.bds-location-homepage .hero-image,
body.home:not(.blog) .hero-image,
body.front-page .hero-image,
body.page-template-page-brooklyn-driving-school .hero-image,
body.page-template-page-staten-island-driving-school .hero-image,
body.page-staten-island-driving-school .hero-image,
body.page-id-10 .hero-image {
  margin-top: var(--hero-desktop-home-media-gap) !important;
}

@media screen and (max-width: 782px) {
  .admin-bar {
    --site-top-offset: calc(var(--header-height) + var(--banner-height) + 46px);
  }

  .admin-bar.banner-dismissed {
    --site-top-offset: calc(var(--header-height) + 46px);
  }

  body.has-promo-banner:not(.banner-dismissed) {
    --hero-stack-gap: 8px;
    --hero-mobile-content-gap: 14px;
    --hero-mobile-media-gap: 5px;
  }
}

@media screen and (max-width: 991px) {
  body.has-promo-banner:not(.banner-dismissed) {
    --banner-height: 56px;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
}

.site-header:not(.is-sticky) {
  position: relative;
  top: 0;
}

body.banner-dismissed .site-header {
  top: 0;
}

.promo-banner {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: var(--banner-height);
  height: auto;
  padding: 0.35rem 3rem 0.35rem 1rem;
  box-sizing: border-box;
}

.promo-banner .promo-text {
  margin-right: 0.2rem;
}

.promo-banner .promo-countdown-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.promo-banner .promo-countdown-label {
  opacity: 1;
  font-weight: 700;
  color: #ffe38b;
}

.promo-banner .promo-countdown {
  background: linear-gradient(135deg, #ffe066 0%, #ff8f3f 45%, #ff4d4d 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 0.2rem 0.62rem;
  font-weight: 900;
  font-size: 0.84rem;
  color: #1a1a1a;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 2px rgba(255, 207, 79, 0.35), 0 8px 18px rgba(0, 0, 0, 0.25);
  animation: bds-promo-pulse 1.4s ease-in-out infinite;
}

@keyframes bds-promo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.admin-bar .site-header {
  top: 32px;
}

.admin-bar .promo-banner {
  top: calc(32px + var(--header-height));
}

.bds-page-shell {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.bds-content,
.bds-entry-card,
.woocommerce div.product,
.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 1.5rem;
}

.bds-entry-card { margin-bottom: 1rem; }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--bds-button-bg);
  color: var(--white);
  border-radius: 40px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--bds-button-hover-bg);
  color: var(--white);
}

.bds-options-wrap .notice,
.bds-options-wrap .updated {
  margin-top: 1rem;
}

.header-logo img,
.header-logo .custom-logo,
.header-logo .custom-logo-link img,
.custom-logo-link img {
  max-height: 48px;
  width: auto;
}

.location-card .btn + .btn {
  margin-left: 0.5rem;
}

/* Header location switcher (Brooklyn/Staten Island) */
.header-location-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  position: relative;
  margin-left: 0.15rem;
  z-index: 1200;
}

.site-header .desktop-nav {
  position: relative;
  z-index: 1;
}

.site-header .header-location-toggle,
.site-header .header-actions {
  position: relative;
  z-index: 4;
}

.header-location-toggle.is-select {
  align-items: center;
}

.header-location-toggle.is-select .location-switch-icon {
  position: absolute;
  left: 0.52rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.header-location-toggle .location-switch-select.location-switch-select-desktop {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.86) 0%, rgba(245, 248, 252, 0.76) 45%, rgba(255, 255, 255, 0.68) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  color: #111827;
  padding: 0 1.45rem 0 1.42rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.header-location-toggle .location-switch-select.location-switch-select-desktop:focus-visible {
  outline: 2px solid rgba(211, 38, 38, 0.32);
  outline-offset: 1px;
  border-color: rgba(211, 38, 38, 0.65);
  box-shadow: 0 0 0 2px rgba(211, 38, 38, 0.18), 0 8px 20px rgba(15, 23, 42, 0.09);
}

.header-location-toggle.is-dropdown {
  min-width: 0;
}

.header-location-toggle .location-switch-trigger {
  width: auto;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.86) 0%, rgba(245, 248, 252, 0.76) 45%, rgba(255, 255, 255, 0.68) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.25rem 0.56rem 0.28rem 0.5rem;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.header-location-toggle .location-switch-trigger:hover {
  border-color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 251, 255, 0.84) 50%, rgba(255, 255, 255, 0.76) 100%);
  transform: translateY(-1px);
}

.header-location-toggle.is-open .location-switch-trigger {
  border-color: rgba(211, 38, 38, 0.55);
  box-shadow: 0 0 0 2px rgba(211, 38, 38, 0.17), 0 8px 18px rgba(15, 23, 42, 0.12);
}

.header-location-toggle .location-switch-icon {
  display: inline-flex;
  align-items: center;
  color: #d32626;
}

.header-location-toggle .location-switch-text {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

.header-location-toggle .location-switch-label {
  display: none;
  align-items: center;
  margin: 0;
  white-space: nowrap !important;
  line-height: 1;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #4b5563;
  font-weight: 600;
}

.header-location-toggle .location-switch-value {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #101828;
  white-space: nowrap;
}

.header-location-toggle .location-switch-chevron {
  display: inline-flex;
  align-items: center;
  color: #667085;
  transition: transform 0.2s ease;
}

.header-location-toggle.is-open .location-switch-chevron {
  transform: rotate(180deg);
}

.header-location-toggle .location-switch-menu {
  display: none;
  position: absolute !important;
  top: calc(100% + 8px);
  right: 0 !important;
  left: auto !important;
  min-width: 220px;
  border: 1px solid rgba(225, 232, 241, 0.95);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 250, 255, 0.9) 50%, rgba(255, 255, 255, 0.88) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  z-index: 2200 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.header-location-toggle.is-open .location-switch-menu {
  display: block !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.header-location-toggle .location-switch-option {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0.62rem 0.72rem;
  color: #101828;
  text-decoration: none;
  border-top: 1px solid #edf2f8;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.header-location-toggle .location-switch-option:first-child {
  border-top: 0;
}

.header-location-toggle .location-switch-option:hover {
  background: #f8fafc;
}

.header-location-toggle .location-switch-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cdd5df;
  flex: 0 0 auto;
}

.header-location-toggle .location-switch-option-name {
  flex: 1 1 auto;
  font-size: 0.9rem;
  font-weight: 700;
}

.header-location-toggle .location-switch-option-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.56rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d32626;
  border: 1px solid rgba(211, 38, 38, 0.28);
  background: rgba(211, 38, 38, 0.08);
  border-radius: 999px;
  padding: 0.18rem 0.32rem;
}

.header-location-toggle .location-switch-check {
  color: #d32626;
  opacity: 0;
  display: inline-flex;
  align-items: center;
}

.header-location-toggle .location-switch-option.is-active {
  background: rgba(211, 38, 38, 0.08);
}

.header-location-toggle .location-switch-option.is-active .location-switch-dot {
  background: #d32626;
}

.header-location-toggle .location-switch-option.is-active .location-switch-check {
  opacity: 1;
}

.location-switch-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #d0d7e2;
  border-radius: 9px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.41.59L6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  background-size: 11px 7px;
  color: #111827;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  padding: 0 1.65rem 0 0.62rem;
  min-height: 34px;
  line-height: 1;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.location-switch-select:focus-visible {
  outline: 2px solid #ffd35f;
  outline-offset: 1px;
  border-color: #d32626;
  box-shadow: 0 0 0 2px rgba(211, 38, 38, 0.18);
}

.mobile-location-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.3rem;
}

.mobile-location-toggle.is-dropdown {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.42rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-location-toggle .location-switch-label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.74rem;
}

.mobile-location-toggle .location-switch-select {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  border-color: #cfd7e3;
  font-size: 1.06rem;
  padding: 0 1.95rem 0 0.85rem;
}

/* Legacy mobile location rows are removed from markup; keep hard-hidden if any cached template still outputs them. */
.mobile-menu .mobile-location-toggle,
.mobile-menu .mobile-location-row,
.mobile-menu .mobile-menu-location,
.mobile-menu .mobile-location-switch,
.mobile-menu .location-switch-wrap,
.mobile-menu [data-mobile-location-switch] {
  display: none !important;
}

/* Fallback kill-switch for old mobile menu location controls. */
.mobile-menu .location-switch-label,
.mobile-menu .location-switch-select {
  display: none !important;
}

@media (max-width: 1023px) {
  .site-header .header-location-toggle {
    display: inline-flex !important;
    margin-left: auto;
    margin-right: 0.42rem;
  }

  .site-header .header-location-toggle .location-switch-trigger {
    min-height: 40px;
    border-radius: 12px;
    padding: 0.38rem 0.74rem 0.38rem 0.62rem;
  }

  .site-header .header-location-toggle .location-switch-select.location-switch-select-desktop {
    min-height: 34px;
    font-size: 0.78rem;
    padding-left: 1.46rem;
  }

  .site-header .header-location-toggle .location-switch-label {
    display: none;
  }

  .site-header .header-location-toggle .location-switch-value {
    font-size: 0.96rem;
  }

  .site-header .header-location-toggle .location-switch-menu {
    left: 0;
    right: auto;
    min-width: 240px;
  }

  .mobile-location-toggle .location-switch-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 767px) {
  .promo-banner {
    justify-content: flex-start !important;
    gap: 0.3rem !important;
    padding: 0 2.35rem 0 0.45rem !important;
  }

  .promo-banner .promo-text {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.76rem;
    line-height: 1.1;
  }

  .promo-banner .promo-countdown-wrap {
    flex: 0 0 auto;
  }

  .promo-banner .promo-countdown-label {
    display: none;
  }

  .promo-banner .promo-countdown {
    font-size: 0.72rem;
    padding: 0.14rem 0.42rem;
    white-space: nowrap;
  }

  body .promo-banner a.promo-cta-btn,
  body .promo-banner a,
  body .promo-banner a:visited {
    flex: 0 0 auto;
    min-height: 30px !important;
    padding: 0 0.58rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap;
  }

  .promo-close {
    right: 0.45rem;
    font-size: 1.05rem;
  }

  .header-inner {
    padding: 0.85rem 1rem;
  }

  .header-logo img,
  .header-logo .custom-logo,
  .header-logo .custom-logo-link img,
  .custom-logo-link img {
    max-height: 42px;
    width: auto;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(var(--header-height) + var(--banner-height) + 1rem);
    padding-bottom: 2rem;
  }

  .hero .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

  .hero h1 {
    font-size: clamp(2rem, 10.5vw, 2.9rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero-image {
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 0.25rem;
  }

  .hero-image img {
    display: block;
    width: min(460px, 92vw);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }

  .location-card .btn + .btn {
    margin-left: 0;
    margin-top: 0.65rem;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .promo-banner {
    top: calc(46px + var(--header-height));
  }
}

/* Contact page */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .contact-page-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* WooCommerce polish */
.bds-woo-shell {
  margin-top: 0;
  padding-top: 1.5rem;
}

.woocommerce-page .site-main .container.bds-woo-shell > .woocommerce,
.woocommerce-page .site-main .container.bds-woo-shell > .product,
.woocommerce-page .site-main .container.bds-woo-shell > .woocommerce-notices-wrapper + * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb {
  font-size: 0.95rem;
  color: var(--bds-muted-text);
  margin-bottom: 1rem;
}

.woocommerce .page-title,
.woocommerce-page .page-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  color: var(--bds-muted-text);
  margin: 0.5rem 0 1rem;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
  margin: 0 0 1rem;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--bg-card-border);
  padding: 0 0.75rem;
}

.woocommerce #secondary,
.woocommerce-page #secondary,
.woocommerce .widget-area,
.woocommerce-page .widget-area {
  display: none !important;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  list-style: none !important;
  margin: 1.25rem 0 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  list-style: none !important;
  background: #fff;
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
}

.woocommerce ul.products li.product::before,
.woocommerce-page ul.products li.product::before,
.woocommerce ul.products li.product::marker,
.woocommerce-page ul.products li.product::marker {
  content: none !important;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 800;
  color: #121826 !important;
  padding: 0.95rem 1rem 0;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
  color: #121826 !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  padding: 0.55rem 1rem 0.45rem;
  color: #111827 !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
}

.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
  opacity: 1;
  color: #9aa4b2 !important;
  margin-right: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins {
  text-decoration: none;
  color: #0f172a !important;
  font-size: 1.95rem;
  line-height: 1;
  font-weight: 900;
}

.woocommerce ul.products li.product .price > bdi,
.woocommerce-page ul.products li.product .price > bdi {
  color: #111827 !important;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 900;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  margin: auto 1rem 1rem !important;
  width: calc(100% - 2rem);
  text-align: center;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #111111 !important;
  min-height: 48px;
  line-height: 1.1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
  background: #d32626 !important;
  border-color: #d32626 !important;
  color: #ffffff !important;
}

.woocommerce ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product .added_to_cart {
  display: none !important;
}

.woocommerce span.onsale {
  min-height: 0;
  min-width: 0;
  line-height: 1;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444 0%, #c81e1e 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  top: 0.7rem;
  left: 0.7rem;
  right: auto;
  padding: 0.5rem 0.7rem;
  box-shadow: 0 10px 20px rgba(200, 30, 30, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.8);
  z-index: 3;
}

.woocommerce span.onsale.bds-sale-badge small {
  font-size: 0.72em;
  font-weight: 700;
  opacity: 0.92;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.woocommerce div.product .product_title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
}

@media (max-width: 991px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .single-product .woocommerce div.product div.images,
  .single-product .woocommerce div.product div.summary {
    grid-column: auto !important;
  }
}

/* Single product cleanup */
.single-product .bds-woo-shell {
  padding-top: 1rem;
}

.single-product .woocommerce div.product {
  background: #fff;
  border: 1px solid var(--bg-card-border);
  border-radius: 18px;
  padding: clamp(1rem, 2vw, 1.75rem);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
  margin-bottom: 2rem;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  position: relative;
}

.single-product .woocommerce div.product div.images,
.single-product .woocommerce div.product div.summary {
  float: none !important;
  width: 100% !important;
}

.single-product .woocommerce div.product div.images {
  position: relative !important;
}

.single-product .woocommerce div.product > span.onsale,
.single-product .woocommerce div.product .images span.onsale,
body.single-product .woocommerce div.product span.onsale,
body.single-product .woocommerce span.onsale.bds-sale-badge {
  position: absolute !important;
  top: 0.7rem !important;
  left: 0.7rem !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  z-index: 9 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  flex: 0 0 auto !important;
  transform: none !important;
  inset: auto auto auto auto !important;
}

.single-product .woocommerce div.product div.images {
  grid-column: 1 !important;
}

.single-product .woocommerce div.product div.summary {
  grid-column: 2 !important;
}

.single-product .woocommerce div.product div.images img {
  border-radius: 10px;
}

.single-product .woocommerce div.product .product_title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.single-product .woocommerce div.product p.price,
.single-product .woocommerce div.product span.price {
  color: var(--bds-headings) !important;
  font-size: clamp(1.5rem, 2.2vw, 2rem) !important;
  font-weight: 800 !important;
  margin-bottom: 1rem;
}

.single-product .woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--bds-body-text);
  font-size: 1.05rem;
  line-height: 1.65;
}

.single-product .woocommerce div.product form.cart {
  margin: 1.25rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.single-product .woocommerce .quantity .qty {
  min-height: 44px;
  border: 1px solid var(--bg-card-border);
  border-radius: 6px;
  padding: 0 0.45rem;
  width: 66px;
}

.single-product .woocommerce div.product form.cart .button {
  min-height: 44px;
  border-radius: 4px;
  background: #cf0909 !important;
  border: 1px solid #cf0909 !important;
  color: #fff !important;
  font-weight: 800;
  font-size: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding: 0.7rem 1.15rem !important;
  min-width: 190px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
}

.single-product .woocommerce div.product .product_meta {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--bds-muted-text);
  border-top: 1px solid var(--bg-card-border);
  padding-top: 0.9rem;
}

.single-product .woocommerce-tabs {
  background: #fff;
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  padding: 1rem 1.15rem 1.25rem;
  margin-bottom: 2rem;
}

.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
  margin: 0 0 1rem;
  padding: 0;
}

.single-product .woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom-color: var(--bg-card-border);
}

.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid var(--bg-card-border);
  border-radius: 8px 8px 0 0;
  background: #f8fafc;
}

.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #fff;
  border-bottom-color: #fff;
}

.single-product .woocommerce div.product .woocommerce-tabs .panel {
  margin: 0;
  color: var(--bds-body-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.single-product .related.products {
  margin-top: 0.5rem;
}

.single-product .related.products > h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.single-product .related.products ul.products {
  margin-top: 0 !important;
}

/* Cart + checkout polish */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 1120px;
  margin: 0 auto;
}

.woocommerce-cart .page-title,
.woocommerce-checkout .page-title {
  margin-bottom: 1.2rem !important;
}

/* Classic cart table -> cleaner row cards */
.woocommerce-cart .woocommerce-cart-form {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  padding: 0.7rem 1rem 1rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.woocommerce-cart table.shop_table {
  border: 0 !important;
  border-collapse: separate;
}

.woocommerce-cart table.shop_table thead {
  display: none;
}

.woocommerce-cart table.shop_table tr.cart_item td {
  border: 0 !important;
  border-bottom: 1px solid #eef1f5 !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  vertical-align: top;
}

.woocommerce-cart table.shop_table tr.cart_item td.product-thumbnail img {
  width: 82px;
  border-radius: 10px;
}

.woocommerce-cart table.shop_table td.product-name a {
  color: #111827 !important;
  font-size: 1.16rem;
  font-weight: 700;
}

.woocommerce-cart table.shop_table td.product-name p,
.woocommerce-cart table.shop_table td.product-name .wc-item-meta {
  color: #5b6473;
  font-size: 0.96rem;
}

.woocommerce-cart table.shop_table td.product-price,
.woocommerce-cart table.shop_table td.product-subtotal {
  color: #111827;
  font-weight: 700;
}

.woocommerce-cart table.shop_table .quantity .qty {
  border: 1px solid #d5d9e1;
  border-radius: 8px;
  min-height: 40px;
}

.woocommerce-cart table.shop_table a.remove {
  color: #2563eb !important;
  text-decoration: underline;
  font-weight: 600;
}

.woocommerce-cart .cart_totals {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-top: 1rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.woocommerce-cart .cart_totals h2 {
  display: none;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  border-bottom: 1px solid #eef1f5;
  padding: 0.8rem 0;
}

.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td {
  font-size: 1.25rem;
  font-weight: 800;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  border-radius: 8px !important;
  text-transform: uppercase;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover {
  background: #d32626 !important;
  border-color: #d32626 !important;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout .woocommerce-checkout-review-order {
  background: #fff;
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  padding: 1.15rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.woocommerce-checkout .col2-set {
  margin-bottom: 1rem;
}

.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select {
  min-height: 46px;
  border: 1px solid #d6d9de;
  border-radius: 8px;
  background: #fff;
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
}

.woocommerce-checkout form .form-row textarea {
  min-height: 110px;
}

.woocommerce-checkout .form-row label {
  font-weight: 600;
  color: #1f2937;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border-bottom: 1px solid #eef1f5;
  padding: 0.7rem 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  font-size: 1.15rem;
  font-weight: 800;
}

.bds-checkout-box {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  padding: clamp(1rem, 2vw, 1.5rem);
  margin: 0 0 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.bds-checkout-box h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.bds-checkout-box p,
.bds-checkout-box li {
  color: #2b3442;
  line-height: 1.6;
  font-family: Helvetica, Arial, sans-serif !important;
}

.bds-checkout-box ol,
.bds-checkout-box ul {
  margin: 0.55rem 0 0.8rem 1.2rem;
}

.bds-checkout-box-image {
  margin-top: 0.85rem;
  text-align: center;
}

.bds-checkout-box-image strong {
  display: block;
  margin-bottom: 0.45rem;
}

.bds-checkout-box-image img {
  width: min(100%, 280px);
  height: auto;
  border: 1px solid #d6d9de;
  border-radius: 10px;
}

/* WooCommerce blocks/cart/checkout refinement */
.woocommerce-cart .page-title,
.woocommerce-checkout .page-title,
.single-product .page-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
  margin-bottom: 0.9rem !important;
}

.woocommerce-cart .wc-block-cart__title,
.woocommerce-checkout .wc-block-checkout__title {
  display: none !important;
}

.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-checkout .wp-block-woocommerce-checkout {
  background: #fff;
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
}

.woocommerce-cart .wc-block-cart-items__row {
  border-bottom: 1px solid #eceff3;
  padding: 0.9rem 0;
}

.woocommerce-cart .wc-block-cart-item__product {
  gap: 0.75rem;
}

.woocommerce-cart .wc-block-components-product-name {
  color: #1a202c;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.woocommerce-cart .wc-block-components-product-price,
.woocommerce-cart .wc-block-components-product-metadata {
  color: #4a5568;
}

.woocommerce-cart .wc-block-components-quantity-selector {
  border: 1px solid #d6d9de;
  border-radius: 8px;
  overflow: hidden;
}

.woocommerce-cart .wc-block-components-quantity-selector input {
  min-height: 40px;
}

.woocommerce-cart .wc-block-cart-item__remove-link {
  color: #d32626 !important;
  font-weight: 600;
}

.woocommerce-cart .wc-block-cart__totals-title,
.woocommerce-cart .wc-block-components-totals-item__label,
.woocommerce-cart .wc-block-components-totals-item__value {
  font-size: 1.05rem;
}

.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: #111 !important;
  border: 1px solid #111 !important;
  color: #fff !important;
  border-radius: 8px !important;
  min-height: 50px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 800 !important;
}

.woocommerce-cart .wc-block-cart__submit-button:hover,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: #d32626 !important;
  border-color: #d32626 !important;
}

.woocommerce-checkout .wc-block-components-sidebar,
.woocommerce-checkout .wc-block-components-order-summary {
  background: #fff;
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox-control .components-combobox-control__input,
.woocommerce-checkout .wc-block-components-textarea textarea {
  border: 1px solid #d6d9de !important;
  border-radius: 8px !important;
  min-height: 44px !important;
}

.woocommerce-checkout .wc-block-components-textarea textarea {
  min-height: 100px !important;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading,
.woocommerce-checkout .wc-block-components-title {
  font-weight: 700;
  color: #111827;
}

/* Premium WooCommerce overrides */
body.woocommerce,
body.woocommerce-page {
  background: #f7f8fa;
}

body.woocommerce [class*="snow"],
body.woocommerce-page [class*="snow"],
body.woocommerce .particle,
body.woocommerce-page .particle {
  display: none !important;
}

.woocommerce-page,
.woocommerce-page p,
.woocommerce-page li,
.woocommerce-page label,
.woocommerce-page input,
.woocommerce-page select,
.woocommerce-page textarea,
.woocommerce-page button {
  font-family: var(--font-body) !important;
}

.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3,
.woocommerce-page h4 {
  font-family: var(--font-heading) !important;
  color: #111827 !important;
}

.woocommerce-cart .bds-content > h1,
.woocommerce-cart .entry-title {
  display: none !important;
}

.woocommerce-cart .woocommerce .page-title,
.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__title {
  text-align: center !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  text-align: center !important;
  justify-content: center;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-product .woocommerce div.product {
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(2, 8, 23, 0.08);
}

.single-product .woocommerce div.product .summary {
  color: #111827 !important;
}

.single-product .woocommerce div.product .summary p,
.single-product .woocommerce div.product .summary li {
  color: #1f2937 !important;
  font-size: 1.15rem;
  line-height: 1.7;
}

.single-product .woocommerce div.product form.cart {
  margin-top: 1.3rem;
  align-items: center;
}

.single-product .woocommerce div.product form.cart .quantity {
  margin-right: 0.6rem;
}

.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
.single-product .woocommerce div.product form.cart button.single_add_to_cart_button,
.single-product .woocommerce div.product form.cart input.single_add_to_cart_button {
  background: #111111 !important;
  border: 1px solid #111111 !important;
  color: #ffffff !important;
  min-height: 50px !important;
  min-width: 220px !important;
  padding: 0.75rem 1.4rem !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.22);
}

.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover,
.single-product .woocommerce div.product form.cart button.single_add_to_cart_button:hover,
.single-product .woocommerce div.product form.cart input.single_add_to_cart_button:hover {
  background: #d32626 !important;
  border-color: #d32626 !important;
}

.single-product .related.products > h2 {
  text-align: left;
  margin-top: 0.6rem;
}

.woocommerce-checkout .woocommerce {
  max-width: 1180px;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.woocommerce-checkout .col2-set {
  margin: 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
  position: sticky;
  top: 120px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_address_1_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_city_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_state_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_postcode_field {
  grid-column: 1 / -1;
}

.woocommerce-checkout .form-row {
  margin: 0 !important;
}

.woocommerce-checkout .form-row label {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

@media (max-width: 980px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout .woocommerce-checkout-review-order {
    position: static;
  }

  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Strict visual pass (final winner layer) */
body.woocommerce-page {
  background: #f5f7fb !important;
}

.woocommerce-cart .entry-title,
.woocommerce-cart .wp-block-post-title,
.woocommerce-cart .bds-content > h1,
.woocommerce-checkout .entry-title,
.woocommerce-checkout .wp-block-post-title,
.woocommerce-checkout .bds-content > h1 {
  display: none !important;
}

.woocommerce-cart .woocommerce .page-title,
.woocommerce-cart .wc-block-cart__title,
.woocommerce-checkout .woocommerce .page-title,
.woocommerce-checkout .wc-block-checkout__title {
  text-align: center !important;
  margin: 0 auto 1.25rem !important;
  width: 100% !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border-radius: 18px !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  text-align: center !important;
  min-height: 88px;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  text-align: center !important;
  justify-content: center !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
}

.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
  font-size: 1.1rem !important;
  color: #7f1d1d !important;
}

.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins {
  text-decoration: none !important;
  color: #dc2626 !important;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  margin: 0.85rem auto 0 !important;
}

.single-product .woocommerce div.product {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 20px !important;
  padding: clamp(1rem, 2vw, 1.75rem) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08) !important;
}

.single-product .woocommerce div.product .summary .price {
  font-size: 2rem !important;
  font-weight: 900 !important;
  color: #dc2626 !important;
  line-height: 1.1 !important;
}

.single-product .woocommerce div.product .summary .price del {
  font-size: 1.2rem !important;
  color: #7f1d1d !important;
}

.single-product .woocommerce div.product .summary p,
.single-product .woocommerce div.product .summary li,
.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description {
  color: #111827 !important;
  font-size: 1.1rem !important;
  line-height: 1.75 !important;
  letter-spacing: 0 !important;
}

.single-product .woocommerce div.product form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  align-items: center !important;
}

.single-product .woocommerce div.product form.cart button[type="submit"],
.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
.single-product .woocommerce div.product .summary .single_add_to_cart_button,
.single-product .woocommerce div.product .summary .cart .button,
.single-product .woocommerce div.product .summary .cart button,
.single-product .woocommerce div.product .summary .cart input[type="submit"],
.single-product .woocommerce div.product .summary .cart a.button {
  background: #d32626 !important;
  border: 1px solid #d32626 !important;
  color: #ffffff !important;
  min-height: 52px !important;
  min-width: 220px !important;
  border-radius: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.22) !important;
  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1.1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.single-product .woocommerce div.product form.cart button[type="submit"]:hover,
.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover,
.single-product .woocommerce div.product .summary .single_add_to_cart_button:hover,
.single-product .woocommerce div.product .summary .cart .button:hover,
.single-product .woocommerce div.product .summary .cart button:hover,
.single-product .woocommerce div.product .summary .cart input[type="submit"]:hover,
.single-product .woocommerce div.product .summary .cart a.button:hover {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #ffffff !important;
}

.single-product .woocommerce div.product form.cart .quantity .qty,
.single-product .woocommerce div.product .summary .cart .qty {
  min-height: 52px !important;
  min-width: 72px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart_totals,
.woocommerce-checkout .col2-set,
.woocommerce-checkout .woocommerce-checkout-review-order {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

.woocommerce-cart table.shop_table td.product-name a {
  color: #111827 !important;
}

.woocommerce-cart table.shop_table td.product-price,
.woocommerce-cart table.shop_table td.product-subtotal {
  font-weight: 800 !important;
  color: #111827 !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100% !important;
  min-height: 52px !important;
}

.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.9rem !important;
}

.woocommerce-checkout #billing_first_name_field,
.woocommerce-checkout #billing_last_name_field,
.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #billing_phone_field {
  grid-column: span 1 !important;
}

.woocommerce-checkout #billing_permit_field,
.woocommerce-checkout #billing_dob_field,
.woocommerce-checkout #billing_five_hour_number_field,
.woocommerce-checkout #billing_five_hour_issued_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #order_comments_field {
  grid-column: 1 / -1 !important;
}

.woocommerce-checkout #place_order {
  min-height: 54px !important;
}

@media (max-width: 980px) {
  .woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr !important;
  }

  .single-product .woocommerce div.product {
    padding: 1rem !important;
  }
}

/* Single product readability + click reliability */
body.single-product.woocommerce-page .flake,
body.single-product.woocommerce-page [class*="snow"],
body.single-product.woocommerce-page .particle {
  display: none !important;
  pointer-events: none !important;
}

body.single-product .woocommerce div.product .summary {
  padding: 0.25rem 0.25rem 0.5rem !important;
}

body.single-product .woocommerce div.product .summary .product_title {
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.01em !important;
  color: #0f172a !important;
  margin-bottom: 0.65rem !important;
}

body.single-product .woocommerce div.product .summary .price {
  margin: 0 0 0.9rem !important;
  font-size: clamp(2rem, 3.2vw, 2.9rem) !important;
  font-weight: 900 !important;
  color: #dc2626 !important;
}

body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description {
  margin-bottom: 1rem !important;
}

body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description p {
  margin: 0 0 0.62rem !important;
  color: #111827 !important;
  font-size: 1.09rem !important;
  line-height: 1.72 !important;
}

body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description p.plan-features {
  font-weight: 800 !important;
  color: #0b1220 !important;
  font-size: 1.14rem !important;
  line-height: 1.45 !important;
  margin: 0 0 0.45rem !important;
}

body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description a {
  color: #0b63ce !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

body.single-product .woocommerce div.product .summary .product_meta {
  margin-top: 1rem !important;
  padding: 0.85rem 1rem !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  color: #334155 !important;
}

body.single-product .woocommerce div.product form.cart {
  margin-top: 1rem !important;
  padding-top: 0.35rem !important;
}

body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
body.single-product .woocommerce div.product form.cart button.single_add_to_cart_button,
body.single-product .woocommerce div.product form.cart button[type="submit"] {
  font-size: 1rem !important;
  font-weight: 900 !important;
  min-width: 240px !important;
  min-height: 54px !important;
  position: relative !important;
  z-index: 3 !important;
}

/* Single product lower section layout cleanup */
body.single-product .woocommerce div.product .woocommerce-tabs,
body.single-product .woocommerce div.product .related.products {
  float: none !important;
  width: 100% !important;
  clear: both !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove duplicate "Description" label row */
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
  display: none !important;
}

body.single-product .woocommerce div.product .woocommerce-tabs .panel {
  display: block !important;
  margin-top: 0 !important;
  padding: 1.25rem 1.5rem !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
}

body.single-product .woocommerce div.product .woocommerce-tabs .panel > h2 {
  margin: 0 0 0.75rem !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 1.1 !important;
  color: #0f172a !important;
}

body.single-product .woocommerce div.product .related.products {
  margin-top: 1rem !important;
  padding: 1rem 0 0 !important;
}

body.single-product .woocommerce div.product .related.products > h2 {
  margin: 0 0 0.85rem !important;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem) !important;
  color: #0f172a !important;
}

body.single-product .woocommerce div.product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  width: 100% !important;
}

body.single-product .woocommerce div.product .related.products ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 1200px) {
  body.single-product .woocommerce div.product .related.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.single-product .woocommerce div.product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.single-product .woocommerce div.product .woocommerce-tabs .panel {
    padding: 1rem !important;
  }

  body.single-product .woocommerce div.product .related.products ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* Absolute final single-product overrides */
body.single-product .woocommerce div.product .summary form.cart .single_add_to_cart_button.button.alt,
body.single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button.button.alt,
body.single-product .woocommerce div.product .summary form.cart button[type="submit"].single_add_to_cart_button,
body.single-product .woocommerce div.product .summary form.cart .button.single_add_to_cart_button {
  background-color: #d32626 !important;
  background-image: none !important;
  border: 1px solid #d32626 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  box-shadow: 0 10px 22px rgba(211, 38, 38, 0.28) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1.35rem !important;
  min-height: 54px !important;
  min-width: 230px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  border-radius: 10px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.single-product .woocommerce div.product .summary form.cart .single_add_to_cart_button.button.alt:hover,
body.single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button.button.alt:hover,
body.single-product .woocommerce div.product .summary form.cart button[type="submit"].single_add_to_cart_button:hover,
body.single-product .woocommerce div.product .summary form.cart .button.single_add_to_cart_button:hover {
  background-color: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #ffffff !important;
}

body.single-product .woocommerce div.product .summary .price,
body.single-product .woocommerce div.product .summary p.price,
body.single-product .woocommerce div.product .summary span.price {
  font-size: clamp(2.1rem, 3.2vw, 3rem) !important;
  font-weight: 900 !important;
  color: #d32626 !important;
  margin-bottom: 0.95rem !important;
}

body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description p {
  color: #111827 !important;
  font-size: 1.12rem !important;
  line-height: 1.75 !important;
}

body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description p.plan-features {
  color: #0f172a !important;
  font-size: 1.18rem !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  margin: 0 0 0.45rem !important;
  padding: 0 !important;
  font-family: Helvetica, Arial, sans-serif !important;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
}

body.single-product .woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper {
  width: 100% !important;
  clear: both !important;
  float: none !important;
  margin-top: 1rem !important;
}

body.single-product .woocommerce div.product .woocommerce-tabs .panel {
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

body.single-product .woocommerce div.product .related.products {
  width: 100% !important;
  float: none !important;
  clear: both !important;
  display: block !important;
  margin-top: 1rem !important;
}

body.single-product .woocommerce div.product .related.products ul.products {
  width: 100% !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  float: none !important;
}

body.single-product .woocommerce div.product .related.products ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

body.single-product .woocommerce .bds-product-description {
  margin-top: 1rem !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 1.25rem 1.5rem !important;
}

body.single-product .woocommerce .bds-product-description > h2 {
  margin: 0 0 0.8rem !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  color: #0f172a !important;
}

body.single-product .woocommerce .bds-product-description p {
  font-size: 1.12rem !important;
  line-height: 1.78 !important;
  color: #111827 !important;
  margin: 0 0 0.62rem !important;
}

/* Standard product pages: stack description and related products on desktop. */
body.single-product.bds-standard-product .woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper,
body.single-product.bds-standard-product .woocommerce div.product .related.products {
  grid-column: 1 / -1 !important;
  clear: both !important;
}

/* Mobile CTA call/text chooser */
.mobile-cta-bar .mobile-cta-call-trigger {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.mobile-cta-bar .mobile-cta-call-trigger svg {
  width: 18px;
  height: 18px;
}

.mobile-cta-options {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 68px;
  z-index: 1001;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.mobile-cta-options a {
  display: block;
  padding: 0.92rem 1rem;
  color: #111827;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #eef2f7;
}

.mobile-cta-options a:last-child {
  border-bottom: 0;
}

.mobile-cta-options a:hover {
  background: #f8fafc;
}

/* Apple-like terms page */
body.page-slug-terms-conditions {
  background: #fbfaf7 !important;
}

body.page-slug-terms-conditions .bds-page-shell {
  max-width: 1100px;
}

body.page-slug-terms-conditions .bds-content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.page-slug-terms-conditions .bds-content > h1 {
  display: none;
}

.bds-legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.25rem;
  color: #1d1d1f;
}

.bds-legal-hero {
  text-align: center;
  border: 1px solid #e5e5ea;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 248, 250, 0.96) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 2rem 1.25rem;
  margin-bottom: 1rem;
}

.bds-legal-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #6e6e73;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bds-legal-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.bds-legal-intro {
  max-width: 760px;
  margin: 0.95rem auto 0;
  color: #424245;
  font-size: 1.03rem;
  line-height: 1.72;
}

.bds-legal-section {
  border: 1px solid #e5e5ea;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1.2rem;
  margin: 0 0 0.85rem;
}

.bds-legal-section h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.3rem, 2.4vw, 1.62rem);
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.bds-legal-section h3 {
  margin: 0.95rem 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #1d1d1f;
}

.bds-legal-section p,
.bds-legal-section li {
  margin: 0 0 0.56rem;
  color: #424245;
  font-size: 0.98rem;
  line-height: 1.72;
}

.bds-legal-section ul {
  margin: 0.4rem 0 0.7rem 1.2rem;
}

@media (max-width: 767px) {
  .bds-legal-page {
    padding: 0.9rem 0.75rem 1.75rem;
  }

  .bds-legal-hero {
    border-radius: 20px;
    padding: 1.35rem 1rem;
  }

  .bds-legal-section {
    border-radius: 16px;
    padding: 1rem 0.95rem;
  }
}

/* Final single product text stability */
body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description p.bds-red-feature {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

/* Final checkout style: sleek Apple-like pass */
body.woocommerce-checkout {
  background: #fbfaf7 !important;
}

body.woocommerce-checkout .main_title,
body.woocommerce-checkout .entry-title,
body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-checkout .bds-content > h1 {
  display: none !important;
}

body.woocommerce-checkout .woocommerce {
  max-width: 1180px !important;
  margin: 0 auto !important;
  color: #1d1d1f !important;
}

body.woocommerce-checkout .bds-checkout-box,
body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout .woocommerce-checkout-payment {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid #e5e5ea !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .woocommerce-checkout-review-order {
  padding: 1.25rem !important;
}

body.woocommerce-checkout form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  gap: 1rem !important;
  align-items: start !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order {
  position: sticky !important;
  top: 112px !important;
}

body.woocommerce-checkout h3,
body.woocommerce-checkout #order_review_heading {
  color: #1d1d1f !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

body.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.85rem !important;
}

body.woocommerce-checkout #billing_first_name_field,
body.woocommerce-checkout #billing_last_name_field,
body.woocommerce-checkout #billing_email_field,
body.woocommerce-checkout #billing_phone_field {
  grid-column: span 1 !important;
}

body.woocommerce-checkout #billing_permit_field,
body.woocommerce-checkout #billing_dob_field,
body.woocommerce-checkout #billing_five_hour_number_field,
body.woocommerce-checkout #billing_five_hour_issued_field,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #billing_state_field,
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #order_comments_field {
  grid-column: 1 / -1 !important;
}

body.woocommerce-checkout .form-row {
  margin: 0 !important;
}

body.woocommerce-checkout .form-row label {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #3a3a3c !important;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row textarea {
  min-height: 48px !important;
  border: 1px solid #d2d2d7 !important;
  border-radius: 12px !important;
  background: #fbfbfd !important;
  color: #1d1d1f !important;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02) !important;
}

body.woocommerce-checkout form .form-row textarea {
  min-height: 108px !important;
}

body.woocommerce-checkout form .form-row input.input-text:focus,
body.woocommerce-checkout form .form-row select:focus,
body.woocommerce-checkout form .form-row textarea:focus {
  outline: 0 !important;
  border-color: #0071e3 !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14) !important;
  background: #ffffff !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border-color: #ececf1 !important;
  color: #1d1d1f !important;
}

body.woocommerce-checkout #place_order {
  width: 100% !important;
  min-height: 52px !important;
  border-radius: 14px !important;
  background: #1d1d1f !important;
  border-color: #1d1d1f !important;
  color: #ffffff !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
}

body.woocommerce-checkout #place_order:hover {
  background: #000000 !important;
  border-color: #000000 !important;
}

@media (max-width: 980px) {
  body.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order {
    position: static !important;
  }

  body.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr !important;
  }
}

/* Final checkout restore: classic billing/order look */
body.woocommerce-checkout {
  background: #fbfaf7 !important;
}

body.woocommerce-checkout .woocommerce {
  max-width: 1120px !important;
  margin: 0 auto !important;
}

body.woocommerce-checkout form.checkout {
  display: block !important;
}

body.woocommerce-checkout form.checkout::after {
  content: "";
  display: table;
  clear: both;
}

body.woocommerce-checkout #customer_details {
  width: 58% !important;
  float: left !important;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  width: 38% !important;
  float: right !important;
  clear: right !important;
}

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .woocommerce-checkout-review-order {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

body.woocommerce-checkout #billing_first_name_field,
body.woocommerce-checkout #billing_last_name_field {
  grid-column: span 1 !important;
}

body.woocommerce-checkout #billing_permit_field,
body.woocommerce-checkout #billing_dob_field,
body.woocommerce-checkout #billing_five_hour_number_field,
body.woocommerce-checkout #billing_five_hour_issued_field,
body.woocommerce-checkout #billing_email_field,
body.woocommerce-checkout #billing_phone_field,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #billing_state_field,
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #order_comments_field {
  grid-column: 1 / -1 !important;
}

body.woocommerce-checkout .form-row {
  margin: 0 0 8px !important;
}

body.woocommerce-checkout .form-row label {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #222 !important;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row textarea {
  min-height: 44px !important;
  border: 1px solid #cfd2d8 !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: #222 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout form .form-row textarea {
  min-height: 96px !important;
}

body.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table td {
  border-color: #d9dbe2 !important;
  color: #222 !important;
}

body.woocommerce-checkout #payment {
  margin-top: 10px !important;
  border: 1px solid #cfd2d8 !important;
  border-radius: 2px !important;
  background: #fff !important;
}

body.woocommerce-checkout #payment .payment_box {
  background: #fff !important;
  border-top: 1px solid #cfd2d8 !important;
}

body.woocommerce-checkout #place_order {
  width: auto !important;
  min-height: 44px !important;
  border-radius: 3px !important;
  background: #1f1f1f !important;
  border-color: #1f1f1f !important;
  color: #fff !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description p.plan-features,
body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description p.bds-red-feature {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

@media (max-width: 980px) {
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    float: none !important;
    width: 100% !important;
  }

  body.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr !important;
  }
}

/* Final checkout spacing consistency fix */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review {
  margin-top: 0 !important;
}

body.woocommerce-checkout .woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
}

body.woocommerce-checkout .woocommerce-input-wrapper .description {
  display: block !important;
  margin-top: 6px !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
  color: #2f2f2f !important;
}

body.woocommerce-checkout form .form-row {
  display: block !important;
  width: 100% !important;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row textarea,
body.woocommerce-checkout form .form-row .select2-container,
body.woocommerce-checkout form .form-row .select2-selection {
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-checkout #payment .payment_methods {
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout #payment .payment_methods > li {
  list-style: none !important;
}

body.woocommerce-checkout #payment .payment_box {
  padding: 10px 12px !important;
}

body.woocommerce-checkout #payment .sv-wc-payment-gateway-card-icons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
}

body.woocommerce-checkout #payment .sv-wc-payment-gateway-card-icons img {
  margin: 0 !important;
}

body.woocommerce-checkout #wc-poynt-credit-card-hosted-form,
body.woocommerce-checkout #wc-poynt-credit-card-hosted-form iframe {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 980px) {
  body.woocommerce-checkout .col2-set,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    margin-bottom: 14px !important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

/* 5 Hour Class page */
.bds-five-hour-page {
  background: #fbfaf7;
  color: #1f1f1f;
}

.bds-five-hour-hero {
  padding: 48px 0 36px;
}

.bds-five-hour-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.bds-five-hour-hero__content h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.1;
  font-family: "Plus Jakarta Sans", "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.012em;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
}

.bds-five-hour-eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #d32626;
}

.bds-five-hour-hero__content p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #373737;
}

.bds-five-hour-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.bds-five-hour-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

.bds-five-hour-hero-photo {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.bds-five-hour-overview {
  padding: 14px 0 34px;
}

.bds-five-hour-cards {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bds-five-hour-card {
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 14px;
  padding: 20px;
}

.bds-five-hour-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.bds-five-hour-card p {
  margin: 0;
  line-height: 1.55;
  color: #454545;
}

.bds-five-hour-header-tight {
  margin-bottom: 6px;
}

.bds-five-hour-cards--compact .bds-five-hour-card {
  padding: 16px 16px 14px;
}

.bds-five-hour-cards--compact .bds-five-hour-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.bds-five-hour-cards--compact .bds-five-hour-card p {
  font-size: 0.96rem;
  line-height: 1.45;
}

.bds-five-hour-schedule-strip {
  margin-top: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e4e6eb;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}

.bds-five-hour-schedule-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.bds-five-hour-schedule-strip h3 {
  margin: 0 0 5px;
  font-size: 1.1rem;
}

.bds-five-hour-schedule-strip p {
  margin: 0 0 4px;
  color: #2f2f2f;
}

.bds-five-hour-who-card {
  margin-top: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 14px;
}

.bds-five-hour-who-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.bds-five-hour-who-card ul {
  margin: 0;
  padding-left: 18px;
}

.bds-five-hour-who-card li {
  margin-bottom: 6px;
  color: #2f2f2f;
}

.bds-five-hour-outcome {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #f3c9c9;
  border-radius: 14px;
  background: #fff7f7;
  font-size: 1.04rem;
  line-height: 1.45;
  color: #7f1d1d;
}

.bds-five-hour-accordion {
  margin-top: 14px;
}

.bds-five-hour-accordion details {
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}

.bds-five-hour-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 700;
  color: #1a1a1a;
  background: #fafafa;
  border-bottom: 1px solid #eceff3;
}

.bds-five-hour-accordion summary::-webkit-details-marker {
  display: none;
}

.bds-five-hour-accordion details[open] summary {
  border-bottom-color: #e4e6eb;
}

.bds-five-hour-accordion ul,
.bds-five-hour-accordion p {
  margin: 10px 16px;
  color: #353535;
}

.bds-five-hour-accordion ul {
  padding-left: 18px;
}

.bds-five-hour-trust-strip {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e4e6eb;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.93rem;
  color: #3a3a3a;
}

.bds-five-hour-info-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bds-five-hour-info-card {
  margin-top: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 14px;
}

.bds-five-hour-info-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.bds-five-hour-info-card p {
  margin: 0 0 10px;
  line-height: 1.6;
  color: #303030;
}

.bds-five-hour-info-card ul {
  margin: 0 0 10px 18px;
  padding: 0;
}

.bds-five-hour-info-card li {
  margin-bottom: 6px;
}

.bds-five-hour-enroll {
  padding: 8px 0 48px;
}

.bds-five-hour-enroll__box {
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.page-template-page-five-hour-class .bds-five-hour-enroll__box .woocommerce-tabs,
.page-template-page-five-hour-class .bds-five-hour-enroll__box .related.products,
.page-template-page-five-hour-class .bds-five-hour-enroll__box .upsells.products,
.page-template-page-five-hour-class .bds-five-hour-enroll__box .cross-sells,
.page-template-page-five-hour-class .bds-five-hour-enroll__box .product_meta,
.page-template-page-five-hour-class .bds-five-hour-enroll__box .bds-product-description {
  display: none !important;
}

.bds-five-hour-external-embed iframe {
  width: 100%;
  min-height: 980px;
  border: 1px solid #d7dae0;
  border-radius: 10px;
  background: #fff;
}

.bds-five-hour-external-embed p {
  margin: 10px 0;
}

@media (max-width: 980px) {
  .bds-five-hour-hero {
    padding-top: 24px;
  }

  .bds-five-hour-hero__grid {
    grid-template-columns: 1fr;
  }

  .bds-five-hour-cards {
    grid-template-columns: 1fr;
  }

  .bds-five-hour-schedule-strip {
    grid-template-columns: 1fr;
  }

  .bds-five-hour-info-grid {
    grid-template-columns: 1fr;
  }

  .bds-five-hour-enroll__box {
    padding: 10px;
  }

  .bds-five-hour-external-embed iframe {
    min-height: 780px;
  }
}

@media (max-width: 640px) {
  .bds-five-hour-hero__content h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
  }

  .bds-five-hour-hero__content p {
    font-size: 0.98rem;
    line-height: 1.5;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-wrap: pretty;
  }

  .bds-five-hour-hero__content p:last-of-type {
    margin-bottom: 0;
  }

  .bds-five-hour-hero__actions {
    margin-top: 14px;
    gap: 8px;
  }
}

/* 5-hour product page sections (single product only) */
body.single-product .bds-five-hour-product-summary,
body.single-product .bds-five-hour-product-trust {
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid #e4e6eb;
  border-radius: 12px;
  background: #fff;
}

body.single-product .bds-five-hour-product-summary h3,
body.single-product .bds-five-hour-product-trust h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #121212;
}

body.single-product .bds-five-hour-product-summary p,
body.single-product .bds-five-hour-product-trust p,
body.single-product .bds-five-hour-product-trust li {
  margin: 0 0 8px;
  color: #2d2d2d;
  line-height: 1.55;
}

body.single-product .bds-five-hour-product-trust ul {
  margin: 0 0 8px 18px;
  padding: 0;
}

body.single-product .bds-five-hour-product-trust .bds-important-note {
  margin-bottom: 0;
  color: #8b1c1c;
}

/* Service icon image mode (Customizer uploads) */
.service-card .service-icon {
  width: 64px;
  height: 64px;
}

.service-card .service-icon.has-image {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  line-height: 0;
  font-size: 0;
}

.service-card .service-icon .service-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.bds-desktop-copy {
  display: inline;
}

.bds-mobile-copy {
  display: none !important;
}

.home-hero-call-mobile {
  display: none;
}

@media (max-width: 767px) {
  .bds-desktop-copy {
    display: none !important;
  }

  .bds-mobile-copy {
    display: inline !important;
  }

  .home-hero-call-desktop {
    display: none !important;
  }

  .home-hero-call-mobile {
    display: inline !important;
  }

  .why-us .why-item--reviews .counter-value {
    display: none;
  }

  .services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.78rem;
  }

  .services .service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 0.9rem 0.95rem;
    border-radius: 13px;
  }

  .services .service-card .service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.72rem;
    border-radius: 11px;
  }

  .services .service-card h3 {
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
    line-height: 1.15;
    min-height: 0;
  }

  .services .service-card p {
    margin-bottom: 0.72rem;
    font-size: 0.8rem;
    line-height: 1.35;
    min-height: 0;
  }

  .services .service-card .learn-more {
    margin-top: auto;
    font-size: 0.8rem;
    gap: 0.25rem;
  }

  .why-us .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.78rem;
  }

  .why-us .why-item {
    padding: 0.95rem 0.85rem;
    border-radius: 13px;
  }

  .why-us .why-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 0.62rem;
    padding: 10px;
  }

  .why-us .counter-value {
    font-size: 0.88rem;
    margin-bottom: 0.22rem;
  }

  .why-us .why-item h3 {
    margin-bottom: 0.38rem;
    font-size: 0.96rem;
    line-height: 1.15;
    min-height: 0;
  }

  .why-us .why-item p {
    font-size: 0.79rem;
    line-height: 1.34;
    min-height: 0;
  }
}

@media (max-width: 389px) {
  .services .services-grid {
    grid-template-columns: 1fr;
  }

  .services .service-card h3 {
    min-height: 0;
  }

  .why-us .why-grid {
    grid-template-columns: 1fr;
  }

  .why-us .why-item h3 {
    min-height: 0;
  }
}

/* Services scroll override */
.services-scroll-wrapper {
  position: relative;
}

.services .services-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 24px !important;
  padding-bottom: 20px !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #d32626 #e8e8e8;
}

.services .services-grid::-webkit-scrollbar {
  height: 6px;
}

.services .services-grid::-webkit-scrollbar-track {
  background: #e8e8e8;
  border-radius: 3px;
}

.services .services-grid::-webkit-scrollbar-thumb {
  background: #d32626;
  border-radius: 3px;
}

.services .services-grid .service-card {
  min-width: 340px !important;
  max-width: 400px !important;
  flex: 0 0 auto !important;
  scroll-snap-align: start;
  width: auto !important;
}

.services-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #d32626;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, opacity 0.3s, transform 0.2s;
  opacity: 0;
  pointer-events: none;
}

.services-scroll-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.services-scroll-btn:hover {
  background: #b01e1e;
  transform: translateY(-60%) scale(1.08);
}

.services-scroll-btn--left {
  left: -16px;
}

.services-scroll-btn--right {
  right: -16px;
}

.services-scroll-fade {
  position: absolute;
  top: 0;
  bottom: 20px;
  width: 60px;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s;
}

.services-scroll-fade.visible {
  opacity: 1;
}

.services-scroll-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--bg-alt, #fbfaf7), transparent);
}

.services-scroll-fade--right {
  right: 0;
  background: linear-gradient(to left, var(--bg-alt, #fbfaf7), transparent);
}

.services-scroll-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 0;
}

.services-scroll-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.services-scroll-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5d5d5;
  transition: background 0.25s, transform 0.25s;
}

.services-scroll-dot.active::before {
  background: #d32626;
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .services .services-grid .service-card {
    min-width: 280px !important;
  }

  .services-scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .services-scroll-btn--left {
    left: -8px;
  }

  .services-scroll-btn--right {
    right: -8px;
  }
}

/* Shared neutral section backgrounds */
:root {
  --bg-alt: #fbfaf7;
}

.services,
.packages,
.testimonials,
.faq {
  background: #fbfaf7 !important;
}

.bds-drivers-ed .de-section.is-alt,
.bds-drivers-ed .de-rates-card,
.bds-drivers-ed .de-cta-banner,
.bds-refresher-page-wrap .rf-section.is-alt,
.bds-five-hour-page,
.page-template-page-driving-lessons .bds-dl-root-refresh .locs,
.page-template-page-driving-lessons .bds-dl-root-refresh .svcs,
.page-template-page-driving-lessons .bds-dl-root-refresh .faq,
.page-template-page-driving-lessons .bds-dl-root-refresh .transit-card,
.page-template-page-driving-lessons .bds-dl-root-refresh .tc-body,
.page-template-page-road-test-feed .bds-dl-root-refresh .locs,
.page-template-page-road-test-feed .bds-dl-root-refresh .svcs,
.page-template-page-road-test-feed .bds-dl-root-refresh .faq,
.page-template-page-road-test-feed .bds-dl-root-refresh .transit-card,
.page-template-page-road-test-feed .bds-dl-root-refresh .tc-body {
  background: #fbfaf7 !important;
}


/* Landing page template */
body.page-template-page-landing .site-main {
  padding-top: 0 !important;
}

body.page-template-page-landing .mobile-cta-bar,
body.page-template-page-landing .mobile-cta-options,
body.page-template-page-landing #mobileCta,
body.page-template-page-landing #mobileCallOptions {
  display: none !important;
}

.bds-landing {
  background: #f2f3f5;
  color: #152f49;
  min-height: 100vh;
}

.bds-landing-announcement {
  background: #db1313;
  color: #fff;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bds-landing-announcement-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.36rem 1rem;
  font-size: 0.98rem;
  line-height: 1.35;
}

.bds-landing-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.4rem 1.25rem 2.4rem;
}

.bds-landing-shell-header {
  padding-bottom: 0.85rem;
}

.bds-landing-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid #e7eaef;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 30px rgba(8, 28, 53, 0.06);
}

.bds-landing-logo img,
.bds-landing-logo .custom-logo {
  max-height: 66px;
  width: auto;
}

.bds-landing-nav {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.bds-landing-nav a {
  color: #102f4b;
  text-decoration: none;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 1.72rem;
  transition: color 0.2s ease;
}

.bds-landing-nav a:hover {
  color: #d32626;
}

.bds-landing-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.bds-landing-socials a {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.bds-landing-socials a:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.bds-landing-socials svg {
  width: 24px;
  height: 24px;
}

.bds-landing-socials .is-facebook {
  color: #3b82f6;
}

.bds-landing-socials .is-instagram {
  color: #ff7a36;
}

.bds-landing-socials .is-youtube {
  color: #ff1f1f;
}

.bds-landing-socials .is-tiktok {
  color: #ff2d55;
}

.bds-landing-socials .is-facebook:hover {
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(59, 130, 246, 0.08);
}

.bds-landing-socials .is-instagram:hover {
  border-color: rgba(255, 122, 54, 0.6);
  background: rgba(255, 122, 54, 0.08);
}

.bds-landing-socials .is-youtube:hover {
  border-color: rgba(255, 31, 31, 0.6);
  background: rgba(255, 31, 31, 0.08);
}

.bds-landing-socials .is-tiktok:hover {
  border-color: rgba(255, 45, 85, 0.6);
  background: rgba(255, 45, 85, 0.08);
}

.bds-landing-notice {
  background: #d81313;
  color: #fff;
}

.bds-landing-notice.is-hidden {
  display: none;
}

.bds-landing-notice-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.5rem 2.75rem 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  position: relative;
}

.bds-landing-notice-text {
  font-weight: 700;
  line-height: 1.3;
}

.bds-landing-notice-count-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bds-landing-notice-count-label {
  color: #ffe08f;
  font-weight: 700;
}

.bds-landing-notice-count {
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  background: linear-gradient(135deg, #ffe070 0%, #ff9b45 55%, #ff5757 100%);
  color: #121212;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.bds-landing-notice-btn {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  white-space: nowrap;
}

.bds-landing-notice-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
}

.bds-landing-intro {
  margin: 1.35rem 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 1.5rem;
}

.bds-landing-intro.no-photo {
  grid-template-columns: minmax(0, 1fr);
}

.bds-landing-intro-copy h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font-heading), Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  color: #0d2a46;
  position: relative;
}

.bds-landing-intro-copy h1::after {
  content: "";
  display: block;
  width: min(460px, 80%);
  height: 5px;
  margin-top: 0.35rem;
  background: #f55a24;
  border-radius: 99px;
}

.bds-landing-intro.no-photo .bds-landing-intro-copy {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.bds-landing-intro.no-photo .bds-landing-intro-copy h1::after {
  margin-left: auto;
  margin-right: auto;
}

.bds-landing-intro-copy p {
  margin: 0;
  color: #2c4058;
  font-size: 1.06rem;
  line-height: 1.65;
}

.bds-landing-intro-photo {
  margin: 0;
}

.bds-landing-intro-photo img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e7eaef;
  box-shadow: 0 12px 30px rgba(8, 28, 53, 0.11);
}

.bds-landing-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-bottom: 1.35rem;
}

.bds-landing-location-card {
  background: #fa5924;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(250, 89, 36, 0.2);
}

.bds-landing-location-card strong {
  display: block;
  font-family: var(--font-heading), Helvetica, Arial, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.bds-landing-location-card span {
  display: block;
  font-size: 0.98rem;
  line-height: 1.35;
}

.bds-landing-location-card span:last-child {
  margin-top: 0.35rem;
  font-size: 2rem;
  font-family: var(--font-heading), Helvetica, Arial, sans-serif;
}

.bds-landing-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-bottom: 1.35rem;
}

.bds-landing-map-grid iframe {
  width: 100%;
  min-height: 250px;
  border: 0;
  border-radius: 6px;
}

.bds-landing-hours {
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 8px;
  overflow: hidden;
}

.bds-landing-hours-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #eceff3;
}

.bds-landing-hours-row:last-child {
  border-bottom: 0;
}

.bds-landing-hours-row span:last-child {
  text-align: right;
}

.bds-landing-faq {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 10px;
  padding: 1rem;
}

.bds-landing-faq h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  color: #0d2238;
}

.bds-landing-faq-list {
  display: grid;
  gap: 0.55rem;
}

.bds-landing-faq-item {
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  background: #fbfcfe;
  overflow: hidden;
}

.bds-landing-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.8rem 0.9rem;
  font-weight: 700;
  color: #0d2238;
}

.bds-landing-faq-item summary::-webkit-details-marker {
  display: none;
}

.bds-landing-faq-item[open] summary {
  border-bottom: 1px solid #e7ebf1;
  background: #f5f8fc;
}

.bds-landing-faq-item p {
  margin: 0;
  padding: 0.8rem 0.9rem 0.9rem;
  color: #40566d;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .bds-landing-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.9rem;
  }

  .bds-landing-nav {
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
    margin: 0.2rem 0 0.1rem;
  }

  .bds-landing-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bds-landing-intro-copy h1::after {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .bds-landing-announcement-inner {
    font-size: 0.86rem;
    padding: 0.33rem 0.65rem;
  }

  .bds-landing-shell {
    padding: 1rem 0.85rem 2rem;
  }

  .bds-landing-header {
    padding: 0.85rem 0.75rem;
  }

  .bds-landing-logo img,
  .bds-landing-logo .custom-logo {
    max-height: 54px;
  }

  .bds-landing-nav {
    gap: 0.8rem 1.25rem;
  }

  .bds-landing-nav a {
    font-size: 1.5rem;
  }

  .bds-landing-socials svg {
    width: 22px;
    height: 22px;
  }

  .bds-landing-notice-inner {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.42rem 2rem 0.42rem 0.7rem;
  }

  .bds-landing-notice-count-label {
    display: none;
  }

  .bds-landing-notice-text {
    width: 100%;
    text-align: center;
    font-size: 0.86rem;
  }

  .bds-landing-notice-btn {
    font-size: 0.88rem;
  }

  .bds-landing-intro {
    margin: 1rem 0 1.35rem;
  }

  .bds-landing-intro-copy p {
    text-align: left;
  }

  .bds-landing-intro-photo img {
    height: 240px;
  }

  .bds-landing-location-grid,
  .bds-landing-map-grid {
    grid-template-columns: 1fr;
  }

  .bds-landing-hours-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .bds-landing-hours-row span:last-child {
    text-align: left;
    font-weight: 700;
  }

  .bds-landing-faq {
    margin-top: 1rem;
    padding: 0.8rem;
  }
}

/* Top promo Book Now boxed button */
.promo-banner > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.9rem;
  background: #ffffff;
  color: #d32626;
  border: 1px solid #ffffff;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.promo-banner > a:hover {
  background: #fff3f3;
  color: #b91c1c;
  border-color: #fff3f3;
}

/* Hard style for promo Book Now button */
.promo-banner a.promo-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 0.9rem !important;
  background: #ffffff !important;
  color: #d32626 !important;
  border: 1px solid #ffffff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18) !important;
}

.promo-banner a.promo-cta-btn:hover {
  background: #fff3f3 !important;
  color: #b91c1c !important;
  border-color: #fff3f3 !important;
}

/* Global fallback: keep promo CTA boxed consistently across all templates/pages */
body .promo-banner a,
body .promo-banner a:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 0.9rem !important;
  background: #ffffff !important;
  color: #d32626 !important;
  border: 1px solid #ffffff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18) !important;
}

body .promo-banner a:hover,
body .promo-banner a:focus {
  background: #fff3f3 !important;
  color: #b91c1c !important;
  border-color: #fff3f3 !important;
}

/* Strong mobile override to keep promo banner clean after boxed CTA addition */
@media (max-width: 991px) {
  #promoBanner.promo-banner {
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.24rem 0.42rem !important;
    height: auto !important;
    min-height: 56px !important;
    padding: 0.36rem 2.2rem 0.36rem 0.45rem !important;
  }

  #promoBanner .promo-text {
    display: block !important;
    order: 1 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    margin-right: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-align: center !important;
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
  }

  #promoBanner .promo-countdown-wrap {
    order: 2 !important;
    flex: 0 0 auto !important;
    gap: 0.2rem !important;
    white-space: nowrap !important;
  }

  #promoBanner .promo-countdown-label {
    display: none !important;
  }

  #promoBanner .promo-countdown {
    font-size: 0.72rem !important;
    padding: 0.14rem 0.42rem !important;
    white-space: nowrap !important;
  }

  #promoBanner a.promo-cta-btn {
    order: 3 !important;
    flex: 0 0 auto !important;
    min-height: 30px !important;
    padding: 0 0.58rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  #promoBanner .promo-close {
    position: absolute !important;
    right: 0.45rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.05rem !important;
  }
}

/* Promo CTA style: plain white underlined text (no box) */
#promoBanner a.promo-cta-btn,
body .promo-banner a.promo-cta-btn,
body .promo-banner a,
body .promo-banner a:visited {
  display: inline !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

#promoBanner a.promo-cta-btn:hover,
body .promo-banner a:hover {
  color: #ffffff !important;
  opacity: 0.9;
}

/* Final mobile refinement: use compact pill CTA so top bar looks cleaner on phones */
@media (max-width: 991px) {
  #promoBanner a.promo-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0 0.62rem !important;
    border-radius: 999px !important;
    border: 1px solid #ffffff !important;
    background: #ffffff !important;
    color: #d32626 !important;
    text-decoration: none !important;
    text-underline-offset: 0 !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
  }

  #promoBanner a.promo-cta-btn:hover {
    background: #fff3f3 !important;
    color: #b91c1c !important;
    border-color: #fff3f3 !important;
    opacity: 1 !important;
  }
}

/* Force promo banner typography to match global sans-serif theme style */
.promo-banner,
.promo-banner *,
#promoBanner,
#promoBanner * {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Global frontend typography hard override to prevent serif leakage from legacy styles */
body:not(.wp-admin),
body:not(.wp-admin) p,
body:not(.wp-admin) li,
body:not(.wp-admin) span,
body:not(.wp-admin) label,
body:not(.wp-admin) small,
body:not(.wp-admin) strong,
body:not(.wp-admin) em,
body:not(.wp-admin) a,
body:not(.wp-admin) button,
body:not(.wp-admin) input,
body:not(.wp-admin) select,
body:not(.wp-admin) textarea,
body:not(.wp-admin) th,
body:not(.wp-admin) td,
body:not(.wp-admin) blockquote,
body:not(.wp-admin) figcaption,
body:not(.wp-admin) .desktop-nav a,
body:not(.wp-admin) .mobile-nav-link,
body:not(.wp-admin) .header-phone,
body:not(.wp-admin) .header-cta,
body:not(.wp-admin) .site-footer,
body:not(.wp-admin) .site-footer * {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

body:not(.wp-admin) h1,
body:not(.wp-admin) h2,
body:not(.wp-admin) h3,
body:not(.wp-admin) h4,
body:not(.wp-admin) h5,
body:not(.wp-admin) h6,
body:not(.wp-admin) .entry-title,
body:not(.wp-admin) .section-title,
body:not(.wp-admin) .hero-title {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Keep desktop navigation active down to standard laptop widths before switching to mobile. */
@media (min-width: 1024px) and (max-width: 1439px) {
  body .site-header .header-inner {
    max-width: 1600px !important;
    width: min(99vw, 1600px) !important;
    padding-left: 0.72rem !important;
    padding-right: 0.72rem !important;
    gap: 0.5rem !important;
  }

  body .site-header .header-logo {
    margin-right: 0.35rem !important;
  }

  body .site-header .header-logo,
  body .site-header .header-actions {
    flex: 0 0 auto !important;
  }

  body .site-header .header-logo img,
  body .site-header .header-logo .custom-logo,
  body .site-header .header-logo .custom-logo-link img,
  body .site-header .custom-logo-link img {
    max-height: 36px !important;
    width: auto !important;
  }

  body .site-header .desktop-nav {
    display: flex !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin-left: 0.65rem !important;
    margin-right: auto !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.54rem !important;
  }

  body .site-header .desktop-nav > li,
  body .site-header .desktop-nav .menu-item {
    list-style: none !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  body .site-header .desktop-nav a {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    font-size: 0.77rem !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    padding-inline: 0.03rem !important;
  }

  body .site-header .header-location-toggle,
  body .site-header .header-cta,
  body .site-header .header-actions {
    display: inline-flex !important;
  }

  body .mobile-menu .mobile-location-toggle {
    display: none !important;
  }

  body .site-header .header-actions {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.44rem !important;
  }

  body .site-header .header-phone,
  body .site-header .hamburger {
    display: none !important;
  }

  body .site-header .header-cta {
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    padding: 0.5rem 0.86rem !important;
    font-size: 0.78rem !important;
    line-height: 1 !important;
  }

  body .site-header .header-location-toggle .location-switch-trigger {
    min-height: 33px !important;
    padding: 0.18rem 0.4rem 0.18rem 0.36rem !important;
  }

  body .site-header .header-location-toggle .location-switch-value {
    font-size: 0.78rem !important;
  }

  body .site-header .header-location-toggle .location-switch-label {
    font-size: 0.68rem !important;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  body .site-header .header-inner {
    width: min(99.3vw, 1540px) !important;
    padding-left: 0.58rem !important;
    padding-right: 0.58rem !important;
    gap: 0.42rem !important;
  }

  body .site-header .header-logo {
    margin-right: 0.25rem !important;
  }

  body .site-header .header-logo img,
  body .site-header .header-logo .custom-logo,
  body .site-header .header-logo .custom-logo-link img,
  body .site-header .custom-logo-link img {
    max-height: 34px !important;
  }

  body .site-header .desktop-nav {
    margin-left: 0.45rem !important;
    gap: 0.4rem !important;
  }

  body .site-header .desktop-nav a {
    font-size: 0.72rem !important;
  }

  body .site-header .header-location-toggle .location-switch-trigger {
    min-height: 32px !important;
    padding: 0.16rem 0.34rem 0.16rem 0.3rem !important;
  }

  body .site-header .header-location-toggle .location-switch-value {
    font-size: 0.74rem !important;
  }

  body .site-header .header-actions {
    gap: 0.36rem !important;
  }

  body .site-header .header-cta {
    padding: 0.46rem 0.72rem !important;
    font-size: 0.74rem !important;
  }
}

@media (min-width: 1120px) and (max-width: 1439px) {
  body .site-header .desktop-nav {
    gap: 0.68rem !important;
  }

  body .site-header .desktop-nav a {
    font-size: 0.79rem !important;
    padding-inline: 0.05rem !important;
  }
}

/* Full desktop header fit fixes for Outfit + DM Sans without wrapping */
@media (min-width: 1440px) {
  body .site-header .header-inner {
    max-width: 1760px !important;
    width: min(98vw, 1760px) !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    gap: 0.9rem !important;
  }

  body .site-header .header-logo {
    margin-right: 0.9rem !important;
  }

  body .site-header .header-logo,
  body .site-header .header-actions {
    flex: 0 0 auto !important;
  }

  body .site-header .desktop-nav {
    display: flex !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin-left: 1.5rem !important;
    margin-right: auto !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
  }

  body .site-header .desktop-nav > li,
  body .site-header .desktop-nav .menu-item {
    list-style: none !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  body .site-header .desktop-nav a {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    font-size: 0.89rem !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
  }

  body .site-header .header-location-toggle {
    display: inline-flex !important;
  }

  body .mobile-menu .mobile-location-toggle {
    display: none !important;
  }

  body .site-header .header-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.62rem !important;
  }

  body .site-header .header-phone {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 0.98rem !important;
    line-height: 1.1 !important;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  }

  body .site-header .header-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    padding: 0.64rem 1.35rem !important;
    font-size: 0.89rem !important;
    line-height: 1 !important;
  }

  body .site-header .hamburger {
    display: none !important;
  }
}

@media (min-width: 1440px) and (max-width: 1599px) {
  body .site-header .desktop-nav {
    gap: 0.82rem !important;
  }

  body .site-header .desktop-nav a {
    font-size: 0.85rem !important;
  }

  body .site-header .header-location-toggle .location-switch-trigger {
    min-height: 34px;
    padding: 0.24rem 0.5rem 0.24rem 0.46rem;
  }

  body .site-header .header-location-toggle .location-switch-value {
    font-size: 0.84rem;
  }

  body .site-header .header-location-toggle .location-switch-label {
    font-size: 0.72rem;
  }

  body .site-header .header-phone {
    font-size: 0.93rem !important;
  }

  body .site-header .header-cta {
    padding: 0.58rem 1.08rem !important;
    font-size: 0.85rem !important;
  }
}

@media (min-width: 1600px) {
  body .site-header .desktop-nav { gap: 1.1rem !important; }
  body .site-header .desktop-nav a { font-size: 0.94rem !important; }
  body .site-header .header-location-toggle .location-switch-trigger { min-height: 34px; padding: 0.24rem 0.54rem 0.24rem 0.46rem; }
  body .site-header .header-location-toggle .location-switch-label { font-size: 0.72rem; }
  body .site-header .header-location-toggle .location-switch-value { font-size: 0.86rem; }
  body .site-header .header-phone { font-size: 1.03rem !important; }
  body .site-header .header-cta { font-size: 0.94rem !important; padding: 0.7rem 1.5rem !important; }
}

/* Compact root/blog header */
.site-header.is-root-compact {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid #f3f4f6;
  box-shadow: none;
}

@media (min-width: 1024px) {
  body .site-header.is-root-compact .header-inner {
    max-width: 1760px !important;
    width: min(98vw, 1760px) !important;
    min-height: 64px !important;
    height: 64px !important;
    padding: 0 28px 0 8px !important;
    gap: 0 !important;
  }

  body .site-header.is-root-compact .header-logo {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin-right: 1.25rem !important;
  }

  body .site-header.is-root-compact .header-logo a,
  body .site-header.is-root-compact .header-logo .custom-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    line-height: 0 !important;
  }

  body .site-header.is-root-compact .header-logo img,
  body .site-header.is-root-compact .header-logo .custom-logo,
  body .site-header.is-root-compact .header-logo .custom-logo-link img,
  body .site-header.is-root-compact .custom-logo-link img {
    display: block !important;
    height: 42px !important;
    max-height: none !important;
    width: auto !important;
    object-fit: contain !important;
  }

  body .site-header.is-root-compact .desktop-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-top: 2px !important;
    margin-right: auto !important;
    gap: 0 !important;
  }

  body .site-header.is-root-compact .desktop-nav a {
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    color: #374151 !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    transition: color 0.2s ease, background 0.2s ease !important;
  }

  body .site-header.is-root-compact .desktop-nav a:hover,
  body .site-header.is-root-compact .desktop-nav a:focus-visible,
  body .site-header.is-root-compact .desktop-nav a.is-active {
    color: #cc0000 !important;
    background: rgba(204, 0, 0, 0.04) !important;
  }

  body .site-header.is-root-compact .header-location-toggle {
    margin-left: 0.9rem !important;
  }

  body .site-header.is-root-compact .header-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
  }

  body .site-header.is-root-compact .header-phone {
    display: none !important;
  }

  body .site-header.is-root-compact .loc-trigger {
    min-width: 270px;
    max-width: none;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 16px 7px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    min-height: 42px;
    background: #fff;
    border: 1px solid #e7e9ee;
    box-shadow: none;
  }

  body .site-header.is-root-compact .loc-dot {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 4px rgba(211, 38, 38, 0.1);
  }

  body .site-header.is-root-compact .loc-trigger-label {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  body .site-header.is-root-compact .loc-chevron {
    color: #7b8190;
  }

  body .site-header.is-root-compact .header-cta {
    min-height: 40px !important;
    padding: 0.62rem 1.16rem !important;
    font-size: 0.84rem !important;
  }

  body .site-header.is-root-compact .hamburger {
    display: none !important;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  body .site-header.is-root-compact .header-inner {
    width: min(99vw, 1500px) !important;
    max-width: 1500px !important;
    padding: 0 22px 0 8px !important;
  }

  body .site-header.is-root-compact .desktop-nav a {
    padding: 7px 12px !important;
    font-size: 0.84rem !important;
  }

  body .site-header.is-root-compact .loc-trigger {
    min-width: 238px;
    font-size: 0.84rem;
    min-height: 40px;
    padding: 6px 13px 6px 11px;
  }

  body .site-header.is-root-compact .header-logo img,
  body .site-header.is-root-compact .header-logo .custom-logo,
  body .site-header.is-root-compact .header-logo .custom-logo-link img,
  body .site-header.is-root-compact .custom-logo-link img {
    height: 38px !important;
  }
}

/* Homepage/Brooklyn hero headline typography */
#home.hero .hero-content > h1,
body.page-id-10 .hero h1,
body.page-template-page-brooklyn-driving-school .hero h1 {
  font-family: "Outfit", sans-serif !important;
  font-weight: 800 !important;
}

/* Fast cart + product/category refinement */
body.woocommerce ul.products,
body.woocommerce-page ul.products {
  gap: 1rem;
}

body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 0.9rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.woocommerce ul.products li.product:hover,
body.woocommerce-page ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

body.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
body.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.65rem;
}

body.woocommerce ul.products li.product img,
body.woocommerce-page ul.products li.product img {
  border-radius: 10px;
}

body.woocommerce ul.products li.product .button,
body.woocommerce-page ul.products li.product .button {
  margin-top: auto !important;
}

body.bds-fast-cart-open {
  overflow: hidden;
}

.bds-fast-cart-trigger {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.28);
}

.bds-fast-cart-trigger-count {
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.bds-fast-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1201;
}

.bds-fast-cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  width: min(430px, 100vw);
  height: 100vh;
  z-index: 1202;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  box-shadow: -22px 0 38px rgba(2, 8, 23, 0.22);
  display: flex;
  flex-direction: column;
}

.bds-fast-cart-drawer.is-open {
  transform: translateX(0);
}

.bds-fast-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 1rem 0.9rem;
}

.bds-fast-cart-header h3 {
  margin: 0;
  font-size: 1.08rem;
}

.bds-fast-cart-close {
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 1.9rem;
  line-height: 1;
  padding: 0;
}

.bds-fast-cart-content {
  flex: 1;
  overflow: auto;
  padding: 0.9rem 1rem 1.25rem;
}

.bds-fast-cart-items {
  display: grid;
  gap: 0.85rem;
}

.bds-fast-cart-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 11px;
  padding: 0.55rem;
}

.bds-fast-cart-item-thumb img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.bds-fast-cart-item-title {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.35;
}

.bds-fast-cart-item-title a {
  color: #0f172a;
  text-decoration: none;
}

.bds-fast-cart-item-subtotal {
  margin-top: 0.3rem;
  color: #111827;
  font-weight: 700;
  font-size: 0.95rem;
}

.bds-fast-cart-item-controls {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bds-fast-cart-qty-btn,
.bds-fast-cart-remove {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 6px;
  color: #111827;
  min-height: 31px;
  min-width: 31px;
  padding: 0.2rem 0.5rem;
  font-weight: 600;
}

.bds-fast-cart-qty-input {
  width: 36px;
  min-height: 31px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}

.bds-fast-cart-remove {
  margin-left: 0.25rem;
}

.bds-fast-cart-summary {
  margin-top: 0.95rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.8rem;
}

.bds-fast-cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.bds-fast-cart-summary-row.is-total {
  margin-top: 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.bds-fast-cart-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.bds-fast-cart-checkout,
.bds-fast-cart-view,
.bds-fast-cart-continue {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 9px;
  padding: 0.72rem 0.9rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.bds-fast-cart-checkout {
  background: #d32626;
  color: #fff;
  border: 0;
}

.bds-fast-cart-view,
.bds-fast-cart-continue {
  border: 1px solid #d1d5db;
  color: #111827;
}

.bds-fast-cart-empty {
  color: #374151;
  margin-bottom: 0.9rem;
}

.bds-fast-cart-checkout-pane {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.bds-fast-cart-checkout-head {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.7rem 1rem;
}

.bds-fast-cart-back {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
}

.bds-fast-cart-checkout-frame {
  width: 100%;
  height: 100%;
  min-height: 68vh;
  border: 0;
  background: #fff;
}

.bds-zelle-checkout-box {
  border: 1px solid #fecaca;
  background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
}

.bds-zelle-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0;
}

.bds-zelle-toggle-title {
  font-size: clamp(1.06rem, 2vw, 1.2rem);
  font-weight: 800;
  color: #9a3412;
}

.bds-zelle-toggle-hint {
  color: #b45309;
  font-size: 0.85rem;
  font-weight: 600;
}

.bds-zelle-panel {
  margin-top: 0.85rem;
}

/* Allbirds-inspired checkout layout (editable "values" at top) */
body.woocommerce-checkout {
  --bds-checkout-bg: #ffffff;
  --bds-checkout-text: #333333;
  --bds-checkout-muted: #6a6f73;
  --bds-checkout-border: #d8d8d3;
  --bds-checkout-panel: #f7f7f5;
  --bds-checkout-accent: #212a2f;
  --bds-checkout-radius: 6px;
  --bds-checkout-gap: 2rem;
  background: var(--bds-checkout-bg) !important;
  color: var(--bds-checkout-text) !important;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

body.woocommerce-checkout .site-main {
  padding-top: 1.25rem;
}

body.woocommerce-checkout .woocommerce {
  max-width: 1180px !important;
  margin: 0 auto !important;
}

body.woocommerce-checkout form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px) !important;
  gap: var(--bds-checkout-gap) !important;
  align-items: start !important;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout .col2-set {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-checkout #customer_details {
  background: #fff;
  border: 1px solid var(--bds-checkout-border);
  border-radius: var(--bds-checkout-radius);
  padding: 1.15rem 1.2rem;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  background: var(--bds-checkout-panel);
  border: 1px solid var(--bds-checkout-border);
}

body.woocommerce-checkout #order_review_heading {
  border-radius: var(--bds-checkout-radius) var(--bds-checkout-radius) 0 0;
  border-bottom: 0;
  padding: 0.95rem 1rem;
  color: var(--bds-checkout-text);
  font-size: 1rem !important;
  font-weight: 700;
}

body.woocommerce-checkout #order_review {
  border-radius: 0 0 var(--bds-checkout-radius) var(--bds-checkout-radius);
  padding: 0.9rem 1rem 1rem;
  position: sticky;
  top: 95px;
}

body.woocommerce-checkout h3,
body.woocommerce-checkout .woocommerce-billing-fields > h3 {
  color: var(--bds-checkout-text);
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0;
}

body.woocommerce-checkout .form-row {
  margin: 0 0 0.8rem !important;
}

body.woocommerce-checkout .form-row label {
  color: var(--bds-checkout-muted) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row textarea {
  border: 1px solid var(--bds-checkout-border) !important;
  border-radius: var(--bds-checkout-radius) !important;
  background: #fff !important;
  color: var(--bds-checkout-text) !important;
  min-height: 44px !important;
  font-size: 0.95rem !important;
  padding: 0.6rem 0.72rem !important;
  box-shadow: none !important;
}

body.woocommerce-checkout form .form-row input.input-text:focus,
body.woocommerce-checkout form .form-row select:focus,
body.woocommerce-checkout form .form-row textarea:focus {
  border-color: var(--bds-checkout-accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 1px var(--bds-checkout-accent) !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  margin-bottom: 0.75rem !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border-color: var(--bds-checkout-border) !important;
  color: var(--bds-checkout-text) !important;
  padding: 0.62rem 0 !important;
  font-size: 0.92rem;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  font-size: 1rem !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout #payment {
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
}

body.woocommerce-checkout #payment .payment_methods {
  background: #fff;
  border: 1px solid var(--bds-checkout-border);
  border-radius: var(--bds-checkout-radius);
  margin-bottom: 0.8rem;
}

body.woocommerce-checkout #payment .payment_box {
  border-top: 1px solid var(--bds-checkout-border);
  background: #fff !important;
}

body.woocommerce-checkout #place_order {
  width: 100% !important;
  background: var(--bds-checkout-accent) !important;
  border: 1px solid var(--bds-checkout-accent) !important;
  border-radius: var(--bds-checkout-radius) !important;
  min-height: 48px;
  color: #fff !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

body.woocommerce-checkout #place_order:hover {
  filter: brightness(1.05);
}

@media (max-width: 980px) {
  body.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  body.woocommerce-checkout #order_review {
    position: static;
  }
}

/* Closer Shopify/Allbirds-style shell for WooCommerce checkout */
body.woocommerce-checkout #siteHeader,
body.woocommerce-checkout .mobile-menu,
body.woocommerce-checkout .site-footer,
body.woocommerce-checkout .promo-banner {
  display: none !important;
}

body.woocommerce-checkout {
  --bds-checkout-bg-left: #ffffff;
  --bds-checkout-bg-right: #f4f4f1;
  --bds-checkout-border: #d7d7d2;
  --bds-checkout-text: #2f2f2f;
  --bds-checkout-muted: #777b80;
  --bds-checkout-accent: #212a2f;
  --bds-checkout-radius: 4px;
}

body.woocommerce-checkout #primary.site-main {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 1.1rem 1rem 2rem !important;
}

body.woocommerce-checkout .woocommerce {
  max-width: none !important;
}

body.woocommerce-checkout form.checkout {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 420px !important;
  gap: 2.4rem !important;
}

body.woocommerce-checkout form.checkout::before {
  content: "";
  position: absolute;
  top: -1.1rem;
  right: 0;
  width: 420px;
  height: calc(100% + 3.1rem);
  background: var(--bds-checkout-bg-right);
  border-left: 1px solid var(--bds-checkout-border);
  z-index: 0;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  position: relative;
  z-index: 1;
}

body.woocommerce-checkout #customer_details {
  background: var(--bds-checkout-bg-left) !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  color: var(--bds-checkout-text) !important;
  margin: 0 0 0.9rem !important;
}

body.woocommerce-checkout .form-row {
  margin-bottom: 0.72rem !important;
}

body.woocommerce-checkout .form-row label {
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--bds-checkout-muted) !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row textarea {
  border: 1px solid var(--bds-checkout-border) !important;
  border-radius: var(--bds-checkout-radius) !important;
  min-height: 46px !important;
  font-size: 0.95rem !important;
  padding: 0.6rem 0.7rem !important;
}

body.woocommerce-checkout #order_review_heading {
  margin: 0 !important;
  padding: 1.15rem 1.15rem 0.45rem !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout #order_review {
  margin: 0 !important;
  padding: 0 1.15rem 1.15rem !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  position: sticky;
  top: 20px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  background: #fff;
  border: 1px solid var(--bds-checkout-border);
  border-radius: var(--bds-checkout-radius);
  padding: 0.2rem 0.8rem !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tr th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr td {
  border-color: #e3e3df !important;
  color: var(--bds-checkout-text) !important;
}

body.woocommerce-checkout #payment .payment_methods {
  margin-top: 0.75rem !important;
  background: #fff !important;
  border: 1px solid var(--bds-checkout-border) !important;
  border-radius: var(--bds-checkout-radius) !important;
}

body.woocommerce-checkout #place_order {
  margin-top: 0.55rem !important;
  border-radius: var(--bds-checkout-radius) !important;
  min-height: 50px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  background: var(--bds-checkout-accent) !important;
  border-color: var(--bds-checkout-accent) !important;
}

@media (max-width: 980px) {
  body.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-checkout form.checkout::before {
    display: none;
  }

  body.woocommerce-checkout #order_review {
    position: static !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout #order_review_heading {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Checkout pixel pass based on live screenshot feedback */
body.woocommerce-checkout #promoBanner,
body.woocommerce-checkout .promo-banner,
body.woocommerce-checkout #siteHeader,
body.woocommerce-checkout .site-header,
body.woocommerce-checkout .mobile-menu,
body.woocommerce-checkout footer.site-footer {
  display: none !important;
}

body.woocommerce-checkout {
  background: #ffffff !important;
}

body.woocommerce-checkout #primary.site-main,
body.woocommerce-checkout .site-main {
  background: #ffffff !important;
  padding: 16px 16px 32px !important;
}

body.woocommerce-checkout .container.bds-page-shell,
body.woocommerce-checkout .container.bds-page-shell.bds-woo-shell,
body.woocommerce-checkout .woocommerce {
  max-width: 1120px !important;
  margin: 0 auto !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .bds-checkout-box {
  max-width: 680px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

body.woocommerce-checkout form.checkout {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 680px) minmax(360px, 420px) !important;
  gap: 28px !important;
  align-items: start !important;
}

body.woocommerce-checkout form.checkout::before {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  width: min(420px, 38%) !important;
  height: 100% !important;
  background: #f4f4f1 !important;
  border-left: 1px solid #d9d9d4 !important;
  z-index: 0 !important;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  position: relative !important;
  z-index: 1 !important;
}

body.woocommerce-checkout #customer_details {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  border: 0 !important;
  background: #fff !important;
  padding: 0 !important;
}

body.woocommerce-checkout .col2-set {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.woocommerce-checkout #order_review_heading {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 16px 18px 8px !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #2f2f2f !important;
}

body.woocommerce-checkout #order_review {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 18px 18px !important;
  border: 0 !important;
  background: transparent !important;
  position: sticky !important;
  top: 16px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table,
body.woocommerce-checkout #payment .payment_methods {
  background: #fff !important;
  border: 1px solid #d9d9d4 !important;
  border-radius: 4px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border-color: #e3e3de !important;
  color: #333 !important;
}

body.woocommerce-checkout .form-row label {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
  color: #555 !important;
  font-weight: 600 !important;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row textarea {
  min-height: 46px !important;
  border: 1px solid #cfd3d8 !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.woocommerce-checkout #payment {
  background: transparent !important;
  border: 0 !important;
}

body.woocommerce-checkout #place_order {
  width: 100% !important;
  min-height: 50px !important;
  border-radius: 4px !important;
  background: #212a2f !important;
  border: 1px solid #212a2f !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

@media (max-width: 980px) {
  body.woocommerce-checkout .woocommerce-notices-wrapper,
  body.woocommerce-checkout .woocommerce-form-coupon-toggle,
  body.woocommerce-checkout .bds-checkout-box {
    max-width: 100% !important;
  }

  body.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.woocommerce-checkout form.checkout::before {
    display: none !important;
  }

  body.woocommerce-checkout #order_review {
    position: static !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout #order_review_heading {
    padding: 0 !important;
    font-size: 24px !important;
  }
}

.bds-breadcrumbs-shell {
  position: relative;
  z-index: 2;
}

.bds-breadcrumbs-shell.is-inline {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0 0 16px;
}

.bds-breadcrumbs-shell.is-inline .bds-breadcrumbs {
  margin-bottom: 0;
}

.bds-breadcrumbs-shell.is-inline .bds-breadcrumbs ol {
  flex-wrap: nowrap;
  gap: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.bds-breadcrumbs-shell.is-inline .bds-breadcrumbs li {
  white-space: nowrap;
}

.bds-breadcrumbs-shell.is-inline .bds-breadcrumbs li + li::before {
  width: 10px;
  margin: 0 11px;
}

.bds-breadcrumbs {
  margin: 0 0 22px;
}

.bds-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.bds-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  color: #c7cad2;
}

.bds-breadcrumbs li + li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 1px;
  margin: 0 12px;
  background: #dbdde4;
  flex-shrink: 0;
}

.bds-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  color: #667085;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bds-breadcrumbs a:hover,
.bds-breadcrumbs a:focus-visible {
  color: #344054;
}

.bds-breadcrumbs__home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11px;
  height: 11px;
  color: #667085;
}

.bds-breadcrumbs__home-icon svg {
  display: block;
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
}

.bds-breadcrumbs [aria-current="page"] {
  color: #667085;
}

@media (max-width: 767px) {
  .bds-breadcrumbs-shell.is-inline {
    margin-bottom: 14px;
  }

  .bds-breadcrumbs-shell.is-inline .bds-breadcrumbs ol {
    flex-wrap: nowrap;
    min-width: 0;
  }

  .bds-breadcrumbs {
    margin-bottom: 18px;
  }

  .bds-breadcrumbs ol {
    font-size: 9.5px;
    letter-spacing: 0.16em;
  }

  .bds-breadcrumbs li:not(:last-child) {
    flex-shrink: 0;
  }

  .bds-breadcrumbs li:last-child {
    min-width: 0;
    flex: 1 1 auto;
  }

  .bds-breadcrumbs [aria-current="page"] {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bds-breadcrumbs li + li::before {
    width: 8px;
    margin: 0 10px;
  }
}

/* Final homepage hero parity lock (Brooklyn + Staten) */
body.page-brooklyn-driving-school #primary.site-main,
body.page-id-10 #primary.site-main,
body.page-staten-island-driving-school #primary.site-main {
  padding-top: 0 !important;
}

body.page-brooklyn-driving-school #home.hero,
body.page-id-10 #home.hero,
body.page-staten-island-driving-school #home.hero {
  min-height: auto !important;
  align-items: flex-start !important;
  padding-top: calc(var(--site-top-offset) + var(--hero-desktop-home-gap)) !important;
}

body.page-brooklyn-driving-school #home.hero::before,
body.page-id-10 #home.hero::before,
body.page-staten-island-driving-school #home.hero::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

body.page-brooklyn-driving-school #home.hero .container,
body.page-id-10 #home.hero .container,
body.page-staten-island-driving-school #home.hero .container {
  align-items: flex-start !important;
}

body.page-brooklyn-driving-school #home.hero .hero-image,
body.page-id-10 #home.hero .hero-image,
body.page-staten-island-driving-school #home.hero .hero-image {
  margin-top: var(--hero-desktop-home-media-gap) !important;
}

@media (max-width: 1024px) {
  body.bds-location-homepage #home.hero,
  body.page-brooklyn-driving-school #home.hero,
  body.page-id-10 #home.hero,
  body.page-staten-island-driving-school #home.hero {
    padding-top: calc(var(--site-top-offset) + var(--hero-mobile-home-gap)) !important;
  }

  body.bds-location-homepage #home.hero .hero-image,
  body.page-brooklyn-driving-school #home.hero .hero-image,
  body.page-id-10 #home.hero .hero-image,
  body.page-staten-island-driving-school #home.hero .hero-image {
    margin-top: var(--hero-mobile-home-media-gap) !important;
  }
}

/* Final promo stack + mobile homepage hero controls */
body.has-promo-banner:not(.banner-dismissed) #promoBanner.promo-banner {
  top: var(--header-height) !important;
  z-index: 890 !important;
}

body.has-promo-banner:not(.banner-dismissed).admin-bar #promoBanner.promo-banner {
  top: calc(32px + var(--header-height)) !important;
}

@media (max-width: 782px) {
  body.has-promo-banner:not(.banner-dismissed).admin-bar #promoBanner.promo-banner {
    top: calc(46px + var(--header-height)) !important;
  }
}

@media (max-width: 767px) {
  body.bds-location-homepage #home.hero .hero-buttons,
  body.page-brooklyn-driving-school #home.hero .hero-buttons,
  body.page-id-10 #home.hero .hero-buttons,
  body.page-staten-island-driving-school #home.hero .hero-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    margin-bottom: 1.15rem !important;
  }

  body.bds-location-homepage #home.hero .hero-buttons .btn,
  body.page-brooklyn-driving-school #home.hero .hero-buttons .btn,
  body.page-id-10 #home.hero .hero-buttons .btn,
  body.page-staten-island-driving-school #home.hero .hero-buttons .btn {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    padding: 0.92rem 0.7rem !important;
    white-space: nowrap !important;
  }

  body.bds-location-homepage #home.hero .trust-badges,
  body.page-brooklyn-driving-school #home.hero .trust-badges,
  body.page-id-10 #home.hero .trust-badges,
  body.page-staten-island-driving-school #home.hero .trust-badges {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  body .mobile-menu {
    top: var(--site-top-offset) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: calc(100dvh - var(--site-top-offset)) !important;
    min-height: 0 !important;
    padding: 1.25rem 1.35rem calc(env(safe-area-inset-bottom, 0px) + 1.75rem) !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 1rem !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: rgba(211, 38, 38, 0.985) !important;
    z-index: 1200 !important;
  }

  body .mobile-menu a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: clamp(1.35rem, 5.5vw, 1.8rem) !important;
    line-height: 1.12 !important;
  }

  body .mobile-menu .mobile-contact {
    margin-top: 0.6rem !important;
    padding-bottom: 0.5rem !important;
  }

  body .mobile-menu .mobile-contact a {
    font-size: 1.15rem !important;
  }

  body.mobile-menu-open .mobile-cta-bar,
  body.mobile-menu-open .mobile-cta-options {
    display: none !important;
  }

  body.mobile-menu-open .site-header .hamburger.active span {
    background: #171717 !important;
  }
}

/* Staten package toggle + sale price support */
.bds-package-toggle-wrap {
  margin: -0.35rem auto 1.5rem;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 3px solid #d32626;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.bds-package-toggle-btn {
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  line-height: 1;
  padding: 1.1rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bds-package-toggle-btn.is-active {
  background: #d32626;
  color: #fff;
}

.package-pricing-wrap {
  position: relative;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.package-price-compare {
  color: rgba(211, 38, 38, 0.8);
  font-size: 1.25rem;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  font-weight: 700;
  line-height: 1;
}

.package-pricing-wrap .package-price {
  margin-bottom: 0;
}

.package-sale-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #fde8e8;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.js-package-price-compare[aria-hidden="true"],
.js-package-sale-pill[aria-hidden="true"],
.js-package-availability-note[aria-hidden="true"] {
  display: none !important;
}

.package-availability-note {
  margin-top: 0.55rem;
  margin-bottom: 0;
  color: #8f1d1d;
  font-size: 0.82rem;
  font-weight: 700;
}

.package-card.is-pickup-unavailable {
  border-color: #f0c5c5;
  box-shadow: 0 0 0 1px #f8dede, var(--shadow-sm);
}

@media (max-width: 767px) {
  .bds-package-toggle-wrap {
    margin-bottom: 1.2rem;
    border-width: 3px;
  }

  .bds-package-toggle-btn {
    font-size: 0.95rem;
    padding: 0.9rem 0.45rem;
  }
}

/* Header location selector (1:1 with provided location-selector.html) */
.site-header .loc-dropdown {
  position: relative;
  z-index: 9999;
}

.site-header .loc-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px) saturate(1.8);
  -webkit-backdrop-filter: blur(12px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  border-radius: 10px;
  padding: 7px 12px 7px 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  transition: all 0.2s;
}

.site-header .loc-trigger:hover {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1), inset 0 1px 0 #fff;
}

.site-header .loc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d32626;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(211,38,38,0.2);
  animation: pdot 2.4s ease-in-out infinite;
}

@keyframes pdot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(211,38,38,0.2); }
  50% { box-shadow: 0 0 0 5px rgba(211,38,38,0.07); }
}

.site-header .loc-chevron {
  color: #6b7280;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1);
  flex-shrink: 0;
}

.site-header .loc-dropdown.open .loc-chevron {
  transform: rotate(180deg);
}

.site-header .loc-glass-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 248px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(28px) saturate(2);
  -webkit-backdrop-filter: blur(28px) saturate(2);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06), inset 0 1px 0 #fff;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.97);
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
  transform-origin: top right;
}

.site-header .loc-dropdown.open .loc-glass-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.site-header .loc-menu-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 6px 10px 8px;
}

.site-header .loc-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #111827;
  transition: background 0.15s;
}

.site-header .loc-option:hover {
  background: rgba(0,0,0,0.04);
}

.site-header .loc-option.active {
  background: #fef2f2;
}

.site-header .loc-option-coming {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  opacity: 0.5;
}

.site-header .loc-option-icon {
  font-size: 15px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  line-height: 1;
}

.site-header .loc-option-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.site-header .loc-option-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-header .loc-option.active .loc-option-name {
  color: #d32626;
}

.site-header .loc-option-sub {
  font-size: 11.5px;
  color: #6b7280;
  margin-top: 1px;
}

.site-header .loc-check {
  color: #d32626;
  flex-shrink: 0;
}

.site-header .coming-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #fef9c3;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Force white canvas on Woo package pages (no gray cutout background). */
body.woocommerce,
body.woocommerce-page,
body.tax-product_cat,
body.tax-product_tag,
body.post-type-archive-product,
body.woocommerce #page,
body.woocommerce-page #page,
body.tax-product_cat #page,
body.tax-product_tag #page,
body.post-type-archive-product #page {
  background: #ffffff !important;
}

body.woocommerce .site-main,
body.woocommerce-page .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main,
body.post-type-archive-product .site-main {
  background: #ffffff !important;
}

/* Restored polished classic cart layout. */
body.woocommerce-cart {
  background: #ffffff !important;
}

.woocommerce-cart .bds-page-shell {
  max-width: 1160px;
  margin-top: clamp(3rem, 6vw, 5rem);
  margin-bottom: clamp(4rem, 7vw, 6rem);
}

.woocommerce-cart .bds-content {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 22px !important;
  padding: clamp(1rem, 2.2vw, 1.6rem) !important;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07) !important;
}

.woocommerce-cart .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 1.15rem;
  max-width: none !important;
  align-items: start;
}

.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info {
  grid-column: 1 / -1;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem !important;
  padding: 1rem 1.1rem 1rem 3.2rem !important;
  border: 1px solid #dce5f3 !important;
  border-left: 5px solid #9bb52c !important;
  border-radius: 10px !important;
  background: #fbfcff !important;
  color: #374151 !important;
  box-shadow: none !important;
}

.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before {
  top: 50% !important;
  left: 1.05rem !important;
  transform: translateY(-50%);
  color: #87a322 !important;
}

.woocommerce-cart .woocommerce-message .button,
.woocommerce-cart .woocommerce-info .button {
  order: 2;
  margin-left: auto !important;
  border: 1px solid #d32626 !important;
  border-radius: 999px !important;
  background: #d32626 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

.woocommerce-cart .woocommerce-cart-form {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  overflow: hidden;
  box-shadow: none !important;
}

.woocommerce-cart table.shop_table.cart,
.woocommerce-cart table.shop_table.cart tbody,
.woocommerce-cart table.shop_table.cart tr,
.woocommerce-cart table.shop_table.cart td {
  display: block;
  width: 100% !important;
  border: 0 !important;
}

.woocommerce-cart table.shop_table.cart {
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.woocommerce-cart table.shop_table.cart thead {
  display: none !important;
}

.woocommerce-cart table.shop_table.cart tr.cart_item {
  display: grid !important;
  grid-template-columns: 38px 82px minmax(0, 1fr) 105px 86px;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.15rem !important;
  border-bottom: 1px solid #edf0f5 !important;
  background: #ffffff;
}

.woocommerce-cart table.shop_table.cart tr.cart_item:last-of-type {
  border-bottom: 0 !important;
}

.woocommerce-cart table.shop_table.cart tr.cart_item td {
  padding: 0 !important;
}

.woocommerce-cart table.shop_table.cart td.product-remove {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.woocommerce-cart table.shop_table.cart a.remove {
  display: inline-flex !important;
  width: 30px !important;
  height: 30px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #d32626 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.woocommerce-cart table.shop_table.cart a.remove::before {
  content: "\00d7";
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.woocommerce-cart table.shop_table.cart a.remove:hover {
  border-color: #d32626 !important;
  background: #fff5f5 !important;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail a,
.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
  display: block !important;
  width: 76px !important;
  height: 76px !important;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
  object-fit: cover;
  border: 1px solid #e5e7eb;
  border-radius: 14px !important;
  background: #f8fafc;
}

.woocommerce-cart table.shop_table.cart td.product-name {
  min-width: 0;
}

.woocommerce-cart table.shop_table.cart td.product-name::before,
.woocommerce-cart .cart_totals table.shop_table td::before {
  content: none !important;
  display: none !important;
}

.woocommerce-cart table.shop_table.cart td.product-name a {
  display: block;
  color: #111827 !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0;
}

.woocommerce-cart table.shop_table.cart td.product-price,
.woocommerce-cart table.shop_table.cart td.product-quantity {
  color: #111827 !important;
  font-size: 0.98rem;
  font-weight: 800 !important;
  text-align: left !important;
}

.woocommerce-cart table.shop_table.cart td.product-subtotal {
  display: none !important;
}

.woocommerce-cart table.shop_table.cart td.product-price::before {
  display: block;
  margin-bottom: 0.2rem;
  color: #6b7280;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce-cart table.shop_table.cart td.product-price::before {
  content: "Price";
}

.woocommerce-cart table.shop_table.cart .quantity {
  display: flex;
}

.woocommerce-cart table.shop_table.cart .quantity .qty {
  width: 74px !important;
  min-height: 42px !important;
  border: 1px solid #cfd6e2 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-weight: 800 !important;
  text-align: center !important;
}

.woocommerce-cart table.shop_table.cart td.actions {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.15rem !important;
  border-top: 1px solid #edf0f5 !important;
  background: #fbfcff;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon {
  display: flex;
  gap: 0.7rem;
  float: none !important;
  width: min(100%, 420px);
}

.woocommerce-cart table.shop_table.cart td.actions .coupon.bds-cart-coupon {
  align-items: center;
  flex-wrap: wrap;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon label {
  display: none !important;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon.bds-cart-coupon.is-collapsed #coupon_code,
.woocommerce-cart table.shop_table.cart td.actions .coupon.bds-cart-coupon.is-collapsed button[name="apply_coupon"],
.woocommerce-cart table.shop_table.cart td.actions .coupon.bds-cart-coupon.is-collapsed input[name="apply_coupon"] {
  display: none !important;
}

.woocommerce-cart table.shop_table.cart td.actions .bds-cart-coupon-toggle {
  width: auto !important;
  min-height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #64748b !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.2;
  padding: 0.2rem 0 !important;
  text-align: left;
  text-transform: none !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-cart table.shop_table.cart td.actions .bds-cart-coupon-toggle:hover,
.woocommerce-cart table.shop_table.cart td.actions .bds-cart-coupon-toggle:focus {
  color: #111827 !important;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon.bds-cart-coupon:not(.is-collapsed) .bds-cart-coupon-toggle {
  flex-basis: 100%;
  margin-bottom: 0.15rem;
}

.woocommerce-cart table.shop_table.cart #coupon_code {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  border: 1px solid #cfd6e2 !important;
  border-radius: 10px !important;
  padding: 0 0.9rem !important;
  color: #111827 !important;
  font-size: 0.95rem !important;
}

.woocommerce-cart table.shop_table.cart td.actions .button {
  min-height: 46px !important;
  border-radius: 10px !important;
  border: 1px solid #d32626 !important;
  background: #d32626 !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"] {
  float: right !important;
  margin-left: auto !important;
  border-color: #cfd6e2 !important;
  background: #ffffff !important;
  color: #111827 !important;
}

.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"]:disabled {
  display: none !important;
}

.woocommerce-cart .cart-collaterals {
  width: 100% !important;
  position: sticky;
  top: calc(var(--header-height, 86px) + 1rem);
}

.woocommerce-cart .cart-collaterals::before,
.woocommerce-cart .cart-collaterals::after {
  display: none !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.woocommerce-cart .cart_totals h2 {
  display: block !important;
  margin: 0 0 1rem !important;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 900;
}

.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-cart .cart_totals table.shop_table tbody,
.woocommerce-cart .cart_totals table.shop_table tr {
  display: block;
  width: 100% !important;
}

.woocommerce-cart .cart_totals table.shop_table tr {
  display: flex !important;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 !important;
  border-bottom: 1px solid #edf0f5 !important;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  color: #111827 !important;
}

.woocommerce-cart .cart_totals table.shop_table td {
  text-align: right;
}

.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td {
  font-size: 1.14rem !important;
  font-weight: 900 !important;
}

.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0.75rem 0 0 !important;
  text-align: right;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: inline-flex !important;
  width: auto !important;
  min-height: 0 !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box !important;
  border: 1px solid #d32626 !important;
  border-radius: 9px !important;
  background: #d32626 !important;
  color: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.1 !important;
  padding: 0.6rem 1.05rem !important;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(211, 38, 38, 0.16);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  border-color: #b91c1c !important;
  background: #b91c1c !important;
}

@media (max-width: 980px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: 1fr;
  }

  .woocommerce-cart .cart-collaterals {
    position: static;
  }
}

@media (max-width: 720px) {
  .woocommerce-cart .bds-page-shell {
    margin-top: 1.5rem;
  }

  .woocommerce-cart .woocommerce-message,
  .woocommerce-cart .woocommerce-info {
    display: block;
  }

  .woocommerce-cart .woocommerce-message .button,
  .woocommerce-cart .woocommerce-info .button {
    display: inline-flex;
    margin: 0.75rem 0 0 !important;
  }

  .woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 32px 70px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 1rem !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-thumbnail a,
  .woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 64px !important;
    height: 64px !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-price,
  .woocommerce-cart table.shop_table.cart td.product-quantity {
    grid-column: 3;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .woocommerce-cart table.shop_table.cart td.product-price::before {
    display: inline;
    margin: 0;
  }

  .woocommerce-cart table.shop_table.cart td.actions,
  .woocommerce-cart table.shop_table.cart td.actions .coupon {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .woocommerce-cart table.shop_table.cart td.actions .coupon.bds-cart-coupon.is-collapsed {
    display: block !important;
  }

  .woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"] {
    width: 100%;
    margin-left: 0 !important;
  }
}
