:root {
  color-scheme: light;
  --ink: #101114;
  --muted: #646b75;
  --line: #dde2e8;
  --panel: #ffffff;
  --soft: #f3f6f9;
  --dark: #07080b;
  --blue: #26b7ff;
  --pink: #F1D9A9;
  --red: #ff3347;
  --green: #10a86b;
  --shadow: 0 22px 60px rgba(3, 8, 18, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body.cart-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 9px 16px;
  background: var(--dark);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.top-strip span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 226, 232, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 172px;
  min-width: 172px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--dark);
}

.brand img {
  width: 100%;
  height: 54px;
  object-fit: cover;
  object-position: center;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #222832;
  font-size: 14px;
  font-weight: 850;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--pink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link,
.cart-button,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
}

.icon-link {
  padding: 0 13px;
  color: var(--pink);
}

.cart-button {
  gap: 8px;
  padding: 0 12px;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--pink);
  color: #ffffff;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  color: #ffffff;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("hero-detailing.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 42%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(280px, 360px);
  gap: 70px;
  align-items: end;
  padding: 96px 0 72px;
}

.hero-copy {
  align-self: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 6.6vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: #ffffff;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.button.compact {
  min-height: 40px;
  padding: 0 14px;
  background: var(--dark);
  color: #ffffff;
}

.button.full {
  width: 100%;
}

.button.whatsapp {
  border-color: rgba(16, 168, 107, 0.25);
  background: rgba(16, 168, 107, 0.11);
  color: var(--green);
}

.hero-card {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(9, 12, 18, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(38, 183, 255, 0.14);
  color: #7bd6ff;
  font-size: 12px;
  font-weight: 900;
}

.hero-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 29px;
  line-height: 1.05;
}

.hero-card p {
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, 0.72);
}

.bundle-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.bundle-price span {
  font-size: 30px;
  font-weight: 950;
}

.bundle-price small {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 850;
}

.section {
  padding: 86px 0;
}

.proof-band {
  padding: 26px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proof-grid div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-size: 18px;
}

.proof-grid span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading h2,
.kits-copy h2,
.contact-panel h2,
.cart-header h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-weight: 850;
}

.filter.active {
  border-color: rgba(241, 217, 169, 0.72);
  background: rgba(241, 217, 169, 0.24);
  color: var(--pink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.product-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 100%;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(3, 8, 18, 0.06);
}

.product-card.is-hidden {
  display: none;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  width: 100%;
  min-width: 0;
  padding: 20px;
  overflow: hidden;
  border-radius: 7px 7px 0 0;
  background:
    radial-gradient(circle at 52% 20%, rgba(38, 183, 255, 0.17), transparent 42%),
    linear-gradient(180deg, #f8fbff, #edf2f7);
}

.product-media img {
  width: 100%;
  max-width: 220px;
  height: 220px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(7, 8, 11, 0.12));
}

.product-media span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.product-info {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 20px;
}

.product-type {
  margin: 0;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-info h3 {
  display: -webkit-box;
  min-width: 0;
  min-height: 2.2em;
  overflow: hidden;
  margin: 0;
  font-size: 21px;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-copy {
  display: -webkit-box;
  min-width: 0;
  min-height: 4.35em;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 10px;
  min-width: 0;
  margin-top: 10px;
}

.product-footer strong {
  font-size: 21px;
  min-width: max-content;
  white-space: nowrap;
}

.product-actions {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.product-actions .text-link {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  min-height: 40px;
  min-width: 0;
}

.product-actions .favorite-button {
  flex: 0 0 40px;
}

.product-actions .button.compact {
  flex: 1 1 82px;
  min-width: 76px;
  max-width: 100%;
  padding-inline: 12px;
}

.text-link {
  color: var(--pink);
  font-size: 14px;
  font-weight: 900;
}

.kits-section {
  background: #ffffff;
}

.kits-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.kits-copy p:not(.section-kicker) {
  max-width: 510px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.kit-list {
  display: grid;
  gap: 14px;
}

.kit-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8ea, #f1d9a9);
}

.kit-card.featured {
  border-color: rgba(241, 217, 169, 0.72);
  background: linear-gradient(135deg, #fff8ea, #f1d9a9);
}

.kit-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kit-card h3 {
  margin: 8px 0;
  font-size: 22px;
}

.kit-card p {
  margin: 0;
  color: var(--muted);
}

.kit-card .kit-discount {
  margin-top: 10px;
  color: #8b6b38;
  font-size: 14px;
  font-weight: 900;
}

.kit-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 180ms ease, margin-top 180ms ease, opacity 180ms ease;
}

.kit-card:hover .kit-preview,
.kit-card:focus-within .kit-preview {
  max-height: 260px;
  margin-top: 14px;
  opacity: 1;
}

.kit-preview a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.68);
}

.kit-preview img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.kit-preview span {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.15;
  text-transform: none;
}

.kit-card .kit-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
}

.kit-price {
  display: grid;
  gap: 2px;
}

.kit-price s,
.detail-price s {
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
  text-decoration-line: line-through;
  text-decoration-color: #df2323;
  text-decoration-thickness: 3px;
}

.kit-card strong,
.detail-price strong {
  font-size: 22px;
}

.kit-card button {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: var(--dark);
  color: #ffffff;
  font-weight: 900;
}

.how-section {
  background: #101114;
  color: #ffffff;
}

.how-section h2 {
  color: #ffffff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps-grid article {
  min-height: 228px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.steps-grid span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  font-size: 12px;
  font-weight: 900;
}

.steps-grid h3 {
  margin: 0;
  font-size: 21px;
}

.steps-grid p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.contact-section {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-panel p:not(.section-kicker) {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 900;
}

.lead-form,
.checkout-form {
  display: grid;
  gap: 16px;
}

.lead-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.lead-form label,
.checkout-form label {
  display: grid;
  gap: 8px;
  color: #29313b;
  font-size: 14px;
  font-weight: 850;
}

.lead-form input,
.lead-form textarea,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #ffffff;
  color: var(--ink);
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus,
.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: 3px solid rgba(38, 183, 255, 0.16);
  border-color: var(--blue);
}

.form-note {
  min-height: 21px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.42);
}

.cart-drawer.is-open {
  display: flex;
}

.cart-panel {
  width: min(480px, 100%);
  height: 100%;
  overflow: auto;
  padding: 24px;
  background: #ffffff;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.2);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cart-header h2 {
  font-size: 34px;
}

.close-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.cart-items {
  display: grid;
  gap: 12px;
  min-height: 96px;
  margin-bottom: 18px;
}

.empty-cart {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--soft);
}

.cart-item h3 {
  margin: 0;
  font-size: 15px;
}

.cart-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  font-weight: 900;
}

.cart-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cart-summary span {
  color: var(--muted);
}

.site-footer {
  padding: 38px 0;
  background: var(--dark);
  color: #ffffff;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer img {
  width: 230px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--cream);
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.product-page {
  background: #fffdf8;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 74px 0 52px;
}

.product-detail-media {
  display: grid;
  place-items: center;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff8ee, #ffffff);
}

.product-detail-media img {
  width: min(82%, 470px);
  max-height: 470px;
  object-fit: contain;
}

.product-detail-copy {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.back-link {
  color: #8b6b38;
  font-weight: 900;
}

.product-detail-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 82px);
  font-style: italic;
  line-height: 0.96;
}

.product-detail-copy p:not(.section-kicker) {
  max-width: 620px;
  margin: 0;
  color: #171514;
  font-size: 19px;
  font-weight: 800;
}

.detail-price {
  display: grid;
  gap: 4px;
}

.detail-price strong {
  font-size: 38px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-bottom: 76px;
}

.product-detail-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7ea;
  box-shadow: 0 12px 28px rgba(74, 54, 32, 0.07);
}

.product-detail-grid h2,
.reviews-grid h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.product-detail-grid ul,
.product-detail-grid ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 750;
}

.reviews-section {
  background: #151515;
  color: #ffffff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.review-list {
  display: grid;
  gap: 12px;
}

.empty-review,
.review-card,
.review-form {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.empty-review {
  margin: 0;
  padding: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.review-card {
  padding: 18px;
}

.review-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.review-card span {
  color: #f0c06b;
  letter-spacing: 1px;
}

.review-card p {
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.76);
}

.review-card small {
  color: rgba(255, 255, 255, 0.52);
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.review-actions button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.review-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.review-form h3 {
  margin: 0;
  font-size: 24px;
}

.review-form label,
.rating-field {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 850;
}

.rating-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.review-form input,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  background: #ffffff;
  color: var(--ink);
  resize: vertical;
}

@media (max-width: 1080px) {
  .hero-grid,
  .kits-grid,
  .contact-grid,
  .product-detail-hero,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .steps-grid,
  .proof-grid,
  .product-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card {
    max-width: 430px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto 1fr;
    padding: 12px 16px;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 10px;
  }

  .header-actions {
    justify-self: end;
  }

  .instagram-link::before {
    content: none;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .top-strip {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 68px;
  }

  .brand {
    width: 126px;
    min-width: 126px;
  }

  .brand img {
    height: 42px;
  }

  .cart-button span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    background-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.93) 0%, rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0.25) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.12) 48%);
  }

  .hero-grid {
    padding: 72px 0 34px;
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(40px, 12.5vw, 58px);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .section {
    padding: 62px 0;
  }

  .product-grid,
  .steps-grid,
  .proof-grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-hero {
    padding: 42px 0 34px;
  }

  .product-detail-media {
    min-height: 340px;
  }

  .product-media {
    min-height: 240px;
  }

  .kit-card .kit-buy-row,
  .product-footer,
  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-panel {
    padding: 18px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* AutoXhub live-brand refresh: cream palette, sharp buttons, new logo. */
:root {
  --ink: #302928;
  --muted: #6f625a;
  --line: #ead4b4;
  --panel: #fffdf8;
  --soft: #fff8ee;
  --dark: #141414;
  --blue: #c99a4a;
  --pink: #F1D9A9;
  --red: #d8a558;
  --green: #8b6b38;
  --cream: #f0dabb;
  --cream-soft: #fff4e4;
  --cream-card: #f3ddbc;
  --shadow: 0 18px 42px rgba(74, 54, 32, 0.1);
}

body {
  background: #fffaf3;
  color: var(--ink);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.top-strip {
  display: none;
}

.site-header {
  min-height: 96px;
  padding: 0 34px;
  background: var(--pink);
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  width: 390px;
  min-width: 300px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.brand img {
  width: 100%;
  height: 86px;
  object-fit: contain;
  object-position: left center;
  image-rendering: auto;
}

.main-nav {
  justify-self: end;
  gap: 30px;
  color: #171514;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 900;
}

.main-nav a {
  position: relative;
  padding: 28px 0 22px;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 3px;
  background: #171514;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #171514;
  text-shadow: 0 0 0 #171514;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.icon-link,
.cart-button,
.nav-toggle {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #171514;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.icon-link {
  color: #171514;
}

.social-link {
  width: 42px;
  padding: 0;
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-link::before {
  content: none;
}

.icon-link:hover,
.icon-link:focus-visible {
  color: #171514;
  transform: translateY(-1px);
}

.cart-button strong {
  background: var(--pink);
  color: #171514;
  box-shadow: none;
}

.cart-button {
  position: relative;
  width: 48px;
  padding: 0;
}

.cart-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 5.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button strong {
  position: absolute;
  top: 7px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid var(--pink);
  background: #fff1c7;
  font-size: 10px;
  line-height: 1;
}

.hero {
  min-height: auto;
  padding: 92px 0 72px;
  background: #fffdf8;
  color: var(--ink);
}

.hero-bg,
.hero-shade {
  display: none;
}

.hero-grid {
  display: block;
  padding: 0;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 54px 42px;
  border-radius: 18px;
  background: var(--pink);
  color: var(--ink);
  text-align: center;
  box-shadow: none;
}

.eyebrow,
.section-kicker {
  color: #b1843c;
}

.hero h1 {
  max-width: none;
  color: #3a3031;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 92px);
  font-style: italic;
  line-height: 1;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px auto 0;
  color: #171514;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.22;
}

.hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.hero-card {
  display: none;
}

.button {
  min-height: 48px;
  border-radius: 7px;
  box-shadow: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.button:hover {
  transform: none;
}

.button.primary,
.button.compact {
  background: #151515;
  color: #ffffff;
}

.button.primary:hover,
.button.compact:hover {
  background: #2a2522;
}

.button.ghost,
.button.secondary {
  border: 2px solid #151515;
  background: transparent;
  color: #151515;
}

.proof-band,
.products-section,
.contact-section {
  background: #fffdf8;
}

.proof-grid div,
.product-card,
.lead-form,
.contact-form,
.kit-card {
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(74, 54, 32, 0.07);
}

.product-media {
  background: linear-gradient(180deg, #fff8ee, #ffffff);
}

.product-media img {
  filter: none;
  transform: translateZ(0);
  image-rendering: auto;
}

.product-type,
.filter.active,
.text-link,
.contact-links a:hover {
  color: #b1843c;
}

.filter.active {
  border-color: rgba(241, 217, 169, 0.72);
  background: rgba(241, 217, 169, 0.24);
}

.kit-card.featured {
  border-color: rgba(241, 217, 169, 0.72);
  background: linear-gradient(135deg, #fff8ea, #f1d9a9);
}

.kit-card button {
  border-radius: 7px;
  background: #151515;
  color: #ffffff;
  box-shadow: none;
}

.how-section,
.site-footer {
  background: #151515;
}

.steps-grid span {
  background: var(--cream);
  color: #151515;
}

.lead-form,
.contact-form {
  background: #fff7ea;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 82px;
    padding: 8px 18px;
  }

  .brand {
    width: 260px;
    min-width: 220px;
  }

  .brand img {
    height: 66px;
  }

  .main-nav {
    top: 82px;
    background: var(--pink);
    color: #171514;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 72px;
    padding: 8px 12px;
  }

  .brand {
    width: 168px;
    min-width: 150px;
  }

  .brand img {
    height: 48px;
  }

  .header-actions {
    gap: 6px;
  }

  .social-link,
  .cart-button,
  .nav-toggle {
    width: 34px;
    min-width: 34px;
    min-height: 38px;
    padding: 0;
  }

  .social-link svg {
    width: 22px;
    height: 22px;
  }

  .cart-icon {
    width: 27px;
    height: 27px;
    stroke-width: 5.6;
  }

  .cart-button strong {
    top: 6px;
    right: -2px;
  }

  .hero {
    padding: 48px 0 42px;
  }

  .hero-copy {
    padding: 32px 20px 28px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }
}

.nav-mycar {
  color: #0f5f67;
}

.main-nav .nav-mycar::after {
  background: #0f5f67;
}

.mycar-header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid #151515;
  border-radius: 7px;
  background: #00d9ff;
  color: #151515;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 5px 5px 0 #151515;
  white-space: nowrap;
}

.mycar-header-button:hover,
.mycar-header-button:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 7px 7px 0 #151515;
}

.button.primary.mycar-cta {
  position: relative;
  min-width: 164px;
  border: 2px solid #151515;
  background: linear-gradient(135deg, #00d9ff 0%, #31e981 48%, #ff335f 100%);
  color: #071014;
  box-shadow: 0 18px 34px rgba(0, 217, 255, 0.28), 0 0 0 4px rgba(255, 255, 255, 0.34);
  isolation: isolate;
}

.button.primary.mycar-cta::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 5px;
}

.button.primary.mycar-cta span {
  color: #071014;
  font-weight: 950;
}

.button.primary.mycar-cta:hover,
.button.primary.mycar-cta:focus-visible {
  background: linear-gradient(135deg, #31e981 0%, #00d9ff 48%, #ff335f 100%);
  transform: translateY(-2px);
}

.mycar-section {
  position: relative;
  width: 100%;
  min-width: 0;
  background:
    linear-gradient(180deg, #101114 0%, #151515 48%, #211a18 100%);
  color: #ffffff;
}

.mycar-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 217, 255, 0.1) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 100%);
  background-size: 54px 54px;
  opacity: 0.34;
}

.mycar-section > .container {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  min-width: 0;
}

.mycar-section .section-kicker {
  color: #37e4ff;
}

.mycar-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.mycar-intro h2 {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5.8vw, 78px);
  font-style: italic;
  line-height: 0.98;
}

.mycar-intro p:not(.section-kicker) {
  max-width: 740px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  font-weight: 800;
}

.mycar-status-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

.mycar-status-card span {
  color: #31e981;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.mycar-status-card.has-alerts span {
  color: #ffb545;
}

.mycar-status-card strong {
  font-size: 25px;
  line-height: 1.05;
}

.mycar-status-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.mycar-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
}

.mycar-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(234, 212, 180, 0.9);
  border-radius: 8px;
  background: #fffaf3;
  color: #171514;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.mycar-services-panel {
  grid-column: 1 / -1;
}

.mycar-panel-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.mycar-panel-head h3,
.mycar-empty-state h3,
.mycar-insight-top h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.mycar-panel-icon,
.mycar-empty-state span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #151515;
  color: #37e4ff;
  font-weight: 950;
}

.mycar-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mycar-form label,
.mycar-service-tools label {
  display: grid;
  gap: 8px;
  color: #302928;
  font-size: 14px;
  font-weight: 900;
}

.mycar-field {
  display: grid;
  min-width: 0;
  gap: 8px;
  align-content: start;
}

.mycar-form input,
.mycar-form select,
.mycar-service-tools input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid #d9c29e;
  border-radius: 7px;
  padding: 11px 12px;
  background: #ffffff;
  color: #171514;
}

.mycar-garage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 12px 0;
  border-top: 1px solid #ead4b4;
  border-bottom: 1px solid #ead4b4;
}

.mycar-garage-toolbar strong,
.mycar-garage-toolbar span {
  display: block;
}

.mycar-garage-toolbar span {
  color: var(--muted);
  font-size: 13px;
}

.mycar-garage-toolbar button,
.mycar-manual-toggle,
.mycar-car-actions button {
  min-height: 36px;
  border: 1px solid #151515;
  border-radius: 7px;
  padding: 0 11px;
  background: #ffffff;
  color: #151515;
  font-size: 12px;
  font-weight: 900;
}

.mycar-garage-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.mycar-car-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #ead4b4;
  border-radius: 8px;
  background: #ffffff;
}

.mycar-car-row.is-active {
  border-color: #00aeca;
  box-shadow: inset 4px 0 0 #00aeca;
}

.mycar-car-row strong,
.mycar-car-row span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.mycar-car-row span {
  color: var(--muted);
  font-size: 12px;
}

.mycar-primary-badge {
  color: #087543;
  font-weight: 900;
}

.mycar-car-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.mycar-car-actions button[data-car-delete] {
  border-color: #c43b52;
  color: #9f1730;
}

.mycar-manual-toggle {
  justify-self: start;
  min-height: 30px;
  border-color: #c9ae87;
  padding: 0;
  background: transparent;
  color: #0f5f67;
  text-decoration: underline;
}

.mycar-manual-field[hidden] {
  display: none;
}

.mycar-form > *,
.mycar-form label,
.mycar-service-tools > *,
.mycar-panel-head > *,
.mycar-intro > *,
.mycar-shell > * {
  min-width: 0;
}

.mycar-save-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.mycar-form input:focus,
.mycar-form select:focus,
.mycar-service-tools input:focus {
  outline: 3px solid rgba(0, 217, 255, 0.22);
  border-color: #00aeca;
}

.mycar-save-button,
.mycar-date-form .button,
.mycar-location-button {
  grid-column: 1 / -1;
}

.mycar-panel .button.primary,
.mycar-panel .button.secondary {
  border-radius: 7px;
}

.mycar-panel .button.primary {
  background: #151515;
  color: #ffffff;
}

.mycar-panel .button.secondary {
  border: 2px solid #151515;
  background: #ffffff;
  color: #151515;
}

.mycar-empty-state {
  display: grid;
  align-content: center;
  min-height: 100%;
  gap: 14px;
}

.mycar-empty-state p,
.mycar-insight-top p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.mycar-insight-top {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.mycar-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mycar-insight-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 100%;
  padding: 16px;
  border: 1px solid #ead4b4;
  border-radius: 8px;
  background: #ffffff;
}

.mycar-insight-grid span {
  color: #0f5f67;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.mycar-insight-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #4f443f;
  font-size: 14px;
  font-weight: 760;
}

.mycar-reminder-list,
.mycar-doc-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mycar-reminder-empty,
.mycar-doc-empty {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px dashed #c9ae87;
  border-radius: 8px;
  background: #ffffff;
  color: #5f534d;
}

.mycar-reminder-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #ead4b4;
  border-left-width: 6px;
  border-radius: 8px;
  background: #ffffff;
}

.mycar-reminder-item strong,
.mycar-doc-row strong {
  display: block;
}

.mycar-reminder-item span,
.mycar-doc-row span,
.mycar-doc-row small,
.mycar-doc-empty span,
.mycar-reminder-empty span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.mycar-reminder-item em {
  justify-self: end;
  min-width: 112px;
  padding: 7px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-align: center;
}

.mycar-reminder-item.ok {
  border-left-color: #31e981;
}

.mycar-reminder-item.ok em {
  background: rgba(49, 233, 129, 0.16);
  color: #087543;
}

.mycar-reminder-item.soon {
  border-left-color: #00d9ff;
}

.mycar-reminder-item.soon em {
  background: rgba(0, 217, 255, 0.14);
  color: #087083;
}

.mycar-reminder-item.urgent,
.mycar-reminder-item.overdue {
  border-left-color: #ff335f;
}

.mycar-reminder-item.urgent em,
.mycar-reminder-item.overdue em {
  background: #ff335f;
  color: #ffffff;
}

.mycar-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mycar-doc-upload {
  display: grid;
  gap: 12px;
  min-height: 112px;
  padding: 16px;
  border: 1px dashed #bd9d6e;
  border-radius: 8px;
  background: #ffffff;
  color: #171514;
  font-weight: 950;
}

.mycar-doc-upload span {
  color: #0f5f67;
  font-size: 13px;
  text-transform: uppercase;
}

.mycar-doc-upload input {
  width: 100%;
  max-width: 100%;
  color: #5f534d;
  font-size: 12px;
}

.mycar-doc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #ead4b4;
  border-radius: 8px;
  background: #ffffff;
}

.mycar-doc-row button {
  min-height: 34px;
  border: 1px solid #ead4b4;
  border-radius: 7px;
  background: #fff8ee;
  color: #5f322b;
  font-size: 12px;
  font-weight: 950;
}

.mycar-service-tools {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}

.mycar-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.mycar-service-link {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid #d9c29e;
  border-radius: 8px;
  background: #ffffff;
  color: #171514;
  font-size: 14px;
  font-weight: 950;
  text-align: center;
}

.mycar-service-link:hover,
.mycar-service-link:focus-visible {
  border-color: #00aeca;
  background: #e9fbff;
}

@media (max-width: 1240px) {
  .mycar-header-button {
    display: none;
  }
}

@media (max-width: 1080px) {
  .mycar-intro,
  .mycar-shell {
    grid-template-columns: 1fr;
  }

  .mycar-services-panel {
    grid-column: auto;
  }

  .mycar-insight-grid,
  .mycar-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .button.primary.mycar-cta {
    width: 100%;
  }

  .mycar-section {
    padding-top: 58px;
  }

  .mycar-intro h2 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .mycar-intro p:not(.section-kicker) {
    font-size: 16px;
  }

  .mycar-panel {
    padding: 18px;
  }

  .mycar-form,
  .mycar-doc-grid,
  .mycar-service-tools,
  .mycar-insight-grid,
  .mycar-service-grid {
    grid-template-columns: 1fr;
  }

  .mycar-reminder-item,
  .mycar-doc-row {
    grid-template-columns: 1fr;
  }

  .mycar-reminder-item em {
    justify-self: stretch;
  }
}

.account-button {
  min-height: 42px;
  border: 1px solid #141414;
  border-radius: 7px;
  padding: 0 14px;
  background: #ffffff;
  color: #151515;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 4px 4px 0 #151515;
}

.account-button.is-authenticated {
  background: #46f0b6;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 14, 13, 0.68);
}

.auth-modal.is-open {
  display: flex;
}

.auth-card {
  position: relative;
  width: min(100%, 440px);
  border: 2px solid #151515;
  border-radius: 8px;
  padding: 26px;
  background: #fffaf2;
  color: #151515;
  box-shadow: 10px 10px 0 #151515;
}

.auth-card h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 0.95;
}

.auth-copy,
.auth-user-panel span {
  color: var(--muted);
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid #151515;
  border-radius: 7px;
  background: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

.auth-form,
.auth-user-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.auth-form input {
  min-height: 48px;
  border: 1px solid #d9c5a5;
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
  color: #151515;
}

.auth-toggle {
  margin-top: 14px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #151515;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.form-note[data-state='error'],
[data-cloud-status][data-state='error'] {
  color: #b42318;
}

.mycar-cloud-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #ead4b4;
  border-radius: 8px;
  padding: 12px;
  background: #fff8ee;
}

.mycar-cloud-tools strong,
.mycar-cloud-tools span {
  display: block;
}

.mycar-cloud-tools span {
  color: var(--muted);
  font-size: 13px;
}

.mycar-cloud-tools button,
.mycar-doc-actions button {
  min-height: 34px;
  border: 1px solid #151515;
  border-radius: 7px;
  padding: 0 12px;
  background: #46f0b6;
  color: #151515;
  font-weight: 900;
  cursor: pointer;
}

.mycar-doc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mycar-doc-actions button:last-child {
  background: #fff8ee;
}

@media (max-width: 720px) {
  .account-button {
    min-width: 42px;
    padding: 0 10px;
    font-size: 12px;
  }

  .mycar-cloud-tools {
    grid-template-columns: 1fr;
  }

  .mycar-doc-actions {
    justify-content: flex-start;
  }
}

.processing-banner {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px 16px;
  background: #151515;
  color: #fff8ee;
  font-weight: 900;
  text-align: center;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.favorite-button {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff8ee;
  color: #151515;
  font-size: 20px;
  font-weight: 950;
}

.product-buy-box {
  display: grid;
  grid-template-columns: minmax(120px, 160px) auto auto;
  gap: 12px;
  align-items: end;
}

.product-buy-box label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.product-buy-box input,
.checkout-form select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
}

.stock-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(49, 233, 129, 0.16);
  color: #087543 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

.recommended-section {
  padding-top: 0;
}

.checkout-page,
.success-page,
.account-page,
.legal-page {
  background: #fffdf8;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
}

.checkout-layout h1,
.success-card h1,
.account-shell h1,
.legal-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 76px);
  font-style: italic;
  line-height: 1;
}

.checkout-intro {
  max-width: 680px;
  color: var(--muted);
  font-weight: 800;
}

.checkout-full-form,
.checkout-summary-card,
.success-card,
.account-dashboard article,
.checkout-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff8ee;
  box-shadow: 0 12px 28px rgba(74, 54, 32, 0.07);
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-form-grid .wide,
.terms-check,
.checkout-empty {
  grid-column: 1 / -1;
}

.terms-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
}

.terms-check input {
  width: auto;
  margin-top: 4px;
}

.turnstile-check {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px 0 4px;
  border-top: 1px solid var(--line);
}

.turnstile-widget {
  width: 100%;
  min-height: 65px;
  overflow: hidden;
}

.turnstile-widget > div,
.turnstile-widget iframe {
  max-width: 100%;
}

.turnstile-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.turnstile-status[data-state='success'] {
  color: #157347;
}

.turnstile-status[data-state='error'] {
  color: #b42318;
}

.checkout-form .button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: saturate(0.55);
  transform: none;
}

.checkout-form .button:disabled:hover {
  transform: none;
}

.checkout-summary-card {
  position: sticky;
  top: 112px;
}

.checkout-summary-card h2,
.account-dashboard h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.checkout-items,
.checkout-totals,
.account-list {
  display: grid;
  gap: 10px;
}

.checkout-line,
.account-list article {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.account-list article {
  grid-template-columns: 1fr auto;
}

.checkout-line img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.checkout-line span,
.checkout-line em,
.account-list span {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.checkout-totals {
  margin-top: 16px;
}

.checkout-totals div,
.cart-summary .grand-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.grand-total strong,
.checkout-totals .grand-total strong {
  font-size: 24px;
}

.success-card {
  max-width: 980px;
  margin: 0 auto;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.success-grid article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.success-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.coupon-win {
  padding: 16px;
  border-radius: 8px;
  background: #151515;
  color: #ffffff;
  font-weight: 900;
}

.account-shell {
  display: grid;
  gap: 24px;
}

.account-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-page .container {
  max-width: 860px;
}

@media (max-width: 900px) {
  .checkout-layout,
  .account-dashboard,
  .trust-grid,
  .success-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary-card {
    position: static;
  }

  .product-buy-box,
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
}

/* My Car X responsive structure. Keep every grid track shrinkable instead of masking overflow. */
.mycar-page,
.mycar-page .section,
.mycar-page .container,
.mycar-intro,
.mycar-shell,
.mycar-panel,
.mycar-form,
.mycar-service-tools,
.mycar-service-grid {
  min-width: 0;
  max-width: 100%;
}

.mycar-page {
  width: 100%;
}

.mycar-intro h2 {
  max-width: 100%;
  font-size: clamp(2.35rem, calc(1.85rem + 3vw), 4.875rem);
  overflow-wrap: anywhere;
}

.mycar-form select,
.mycar-form input,
.mycar-service-tools input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.site-header {
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(190px, 390px) minmax(0, 1fr) auto;
}

.site-header .brand {
  width: 100%;
  min-width: 0;
  max-width: 390px;
}

.site-header .main-nav,
.site-header .header-actions {
  min-width: 0;
}

.site-header .main-nav {
  gap: clamp(14px, 1.7vw, 30px);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 82px;
    padding: 8px 18px;
  }

  .site-header .brand {
    width: min(260px, 100%);
    max-width: 260px;
  }

  .site-header .brand img {
    height: 66px;
  }

  .site-header .main-nav {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid #d9c29e;
    border-radius: 8px;
    background: var(--pink);
    box-shadow: var(--shadow);
  }

  .site-header .main-nav.is-open {
    display: flex;
  }

  .site-header .main-nav a {
    padding: 13px 10px;
  }

  .site-header .main-nav a::after {
    display: none;
  }

  .site-header .nav-toggle {
    display: inline-grid;
  }

  .mycar-header-button {
    display: none;
  }
}

@media (max-width: 1080px) {
  .mycar-intro,
  .mycar-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .mycar-section > .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 70px;
    padding: 7px 12px;
  }

  .site-header .brand {
    width: min(168px, 100%);
    max-width: 168px;
  }

  .site-header .brand img {
    height: 48px;
  }

  .site-header .social-link {
    display: none;
  }

  .site-header .header-actions {
    gap: 5px;
  }

  .mycar-intro h2 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .mycar-form,
  .mycar-doc-grid,
  .mycar-service-tools,
  .mycar-insight-grid,
  .mycar-service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mycar-garage-toolbar,
  .mycar-car-row {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  .mycar-garage-toolbar {
    display: grid;
  }

  .mycar-garage-toolbar button {
    width: 100%;
  }

  .mycar-car-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .site-header .brand {
    width: min(142px, 100%);
    max-width: 142px;
  }

  .site-header .account-button {
    min-width: 38px;
    padding: 0 8px;
    font-size: 11px;
  }

  .site-header .cart-button,
  .site-header .nav-toggle {
    width: 32px;
    min-width: 32px;
  }

  .mycar-panel {
    padding: 16px;
  }

  .mycar-panel-head h3,
  .mycar-empty-state h3,
  .mycar-insight-top h3 {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }
}

/* My Car X guided flow */
.mycar-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.mycar-quick-actions button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 14px;
  align-items: center;
  min-height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
  text-align: left;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.16);
}

.mycar-quick-actions button:hover,
.mycar-quick-actions button:focus-visible,
.mycar-quick-actions button.is-active {
  border-color: #37e4ff;
  background: rgba(55, 228, 255, 0.11);
  transform: translateY(-2px);
}

.mycar-quick-actions button > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: #37e4ff;
  color: #111214;
  font-size: 12px;
  font-weight: 950;
}

.mycar-quick-actions strong,
.mycar-quick-actions small {
  display: block;
}

.mycar-quick-actions strong {
  font-size: 18px;
}

.mycar-quick-actions small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.mycar-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: #151515;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.mycar-steps button {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1px 12px;
  align-items: center;
  min-height: 82px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  padding: 15px 18px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  text-align: left;
}

.mycar-steps button:last-child {
  border-right: 0;
}

.mycar-steps button > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
}

.mycar-steps strong,
.mycar-steps small {
  display: block;
}

.mycar-steps strong {
  color: inherit;
  font-size: 14px;
}

.mycar-steps small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 750;
}

.mycar-steps button.is-active {
  background: linear-gradient(135deg, #37e4ff, #00bad9);
  color: #111214;
}

.mycar-steps button.is-active > span {
  border-color: #111214;
  color: #111214;
}

.mycar-steps button.is-active small {
  color: rgba(17, 18, 20, 0.67);
}

.mycar-steps button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.mycar-shell {
  display: block;
}

.mycar-flow-stage {
  width: 100%;
  animation: mycar-stage-in 260ms ease both;
}

.mycar-flow-stage[hidden] {
  display: none;
}

.mycar-flow-stage > .mycar-panel {
  width: 100%;
}

.mycar-profile-panel {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 42px);
}

.mycar-profile-panel .mycar-form {
  margin-top: 24px;
}

.mycar-panel-copy {
  max-width: 700px;
  margin: -4px 0 0;
  color: #6d5f57;
  font-weight: 750;
}

.mycar-insights-panel {
  padding: clamp(24px, 4vw, 42px);
}

.mycar-result-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: center;
  margin-top: 26px;
  border-top: 1px solid #e4cba7;
  padding-top: 24px;
}

.mycar-result-actions h4 {
  margin: 4px 0 8px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
}

.mycar-result-actions p:not(.section-kicker) {
  margin: 0;
  color: #6d5f57;
  font-weight: 750;
}

.mycar-result-buttons {
  display: grid;
  gap: 10px;
}

.mycar-result-buttons .button {
  width: 100%;
  min-height: 50px;
}

.mycar-tools-link {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #0f6c78;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
}

.mycar-garage-panel {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 42px);
}

.mycar-tools-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mycar-tools-stage[hidden] {
  display: none;
}

.mycar-tools-stage .mycar-services-panel {
  grid-column: 1 / -1;
}

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

@media (max-width: 780px) {
  .mycar-quick-actions,
  .mycar-result-actions,
  .mycar-tools-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .mycar-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .mycar-steps button {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .mycar-steps button:last-child {
    border-bottom: 0;
  }

  .mycar-tools-stage .mycar-services-panel {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .mycar-quick-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .mycar-quick-actions button {
    min-height: 72px;
  }

  .mycar-result-actions {
    gap: 18px;
  }
}

/* Product cards: explicit column counts and a footer that never clips actions. */
.products-section .product-grid,
.recommended-grid {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  min-width: 0;
  margin-inline: auto;
}

.product-grid > *,
.product-card > *,
.product-info > *,
.product-footer > * {
  min-width: 0;
}

.product-footer,
.product-actions {
  max-width: 100%;
}

.product-actions {
  flex-direction: row;
  flex-wrap: wrap;
}

@media (max-width: 1500px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 640px) {
  .products-section .product-grid,
  .recommended-grid {
    width: min(100% - 28px, 1180px);
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-media {
    min-height: 230px;
  }

  .product-media img {
    height: 200px;
  }

  .product-actions .text-link {
    flex-grow: 1;
  }
}
