/* ========================================================
   บ่าวการยาง ภูเก็ต (Baow Karnyang Phuket)
   Variation 3: Modern Minimalist Design System
   Swiss Typography, Asymmetric Bento Grid, Soft Geometry
   ======================================================== */

@font-face {
  font-family: "Porsche Next";
  font-style: normal;
  font-weight: 600;
  src: url('https://cdn.ui.porsche.com/porsche-design-system/fonts/porsche-next-latin-semi-bold.b5f6fca.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: "Porsche Next";
  font-style: normal;
  font-weight: 400;
  src: url('https://cdn.ui.porsche.com/porsche-design-system/fonts/porsche-next-latin-regular.b8f1c20.woff2') format('woff2');
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #141414;
  --ink-soft: #262626;
  --ink-muted: #707070;
  --ink-faint: #adadad;
  --canvas-soft: #f3f3f3;
  --field: #f0f0f0;
  --hairline: #e0e0e0;
  --hairline-soft: #f0f0f0;
  --accent: #dc2626;
  --accent-red: #dc2626;
  --on-primary: #ffffff;

  /* Geometry */
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy Fallbacks */
  --primary: #d90429;
  --primary-dark: #b80020;
  --primary-glow: rgba(217, 4, 41, 0.25);
  --secondary: #ffb703;
  --secondary-dark: #fb8500;
  --accent-green: #10b981;
  --dark-bg: #141414;
  --dark-card: #1f1f1f;
  --dark-border: rgba(255, 255, 255, 0.08);
  --light-bg: #ffffff;
  --light-card: #ffffff;
  --text-dark: #141414;
  --text-muted: #707070;
  --text-light: #ffffff;
  --font-thai: 'Porsche Next', 'Hanken Grotesk', 'Inter', 'Prompt', 'Kanit', sans-serif;
  --shadow-bento: 0 4px 30px rgba(0, 0, 0, 0.03);
  --shadow-bento-hover: 0 12px 40px rgba(0, 0, 0, 0.06);
}

/* ================= Variation 3 Core Typography & Layout ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Porsche Next', 'Hanken Grotesk', 'Inter', 'Prompt', 'Kanit', sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
  overflow-x: hidden;
}

body.loader-active {
  overflow: visible !important;
  height: auto;
}

html.loader-active {
  overflow: visible !important;
  height: auto;
}

.site-page-shell {
  transform: none;
}

body.site-ready .site-page-shell {
  transform: none;
}

.site-loader {
  display: none !important;
}

.site-loader-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  align-content: center;
  text-align: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.site-loader-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  opacity: 0;
}

.site-loader-stage.is-active {
  opacity: 1;
  transform: scale(1);
}

.site-loader-stage-loop-1.is-active {
  opacity: 1;
}

.site-loader-stage-loop-2.is-active {
  opacity: 0;
}

.site-loader-stage-loop-1.is-active::before {
  animation: site-loader-black-loop 4.8s linear infinite;
}

.site-loader-stage-loop-1.is-active .site-loader-wordmark,
.site-loader-stage-loop-1.is-active .site-loader-caption {
  animation: site-loader-text-loop 4.8s linear infinite;
}

.site-loader-wordmark {
  position: relative;
  z-index: 1;
  width: min(514px, calc(100vw - 32px));
  margin-inline: auto;
  color: transparent;
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.35rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  -webkit-text-stroke: 1.5px #e53e3e;
}

.site-loader-caption {
  position: relative;
  z-index: 1;
  margin-top: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Prompt', sans-serif;
  font-size: clamp(1rem, 3.05vw, 1.25rem);
  line-height: 1.2;
  text-align: center;
  margin-inline: auto;
}

.site-loader-stage-finish-1 .site-loader-caption {
  margin-top: 0.65rem;
}

.site-loader-stage-finish-2 .site-loader-wordmark {
  transform: translateY(0.35rem);
}

.site-loader-stage-finish-3 {
  display: block;
  overflow: hidden;
  background: transparent;
  animation: site-loader-finish 2.6s linear both;
}

.site-loader-stage-finish-3 .site-loader-wordmark {
  position: absolute;
  top: 183px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  opacity: 1;
  animation: site-loader-finish-wordmark 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.site-loader-stage-finish-3::after {
  content: "กำลังโหลด";
  position: absolute;
  top: 271px;
  left: 50%;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Prompt', sans-serif;
  font-size: clamp(1rem, 3.05vw, 1.25rem);
  line-height: 1.2;
  transform: translate(-50%, 32px);
  opacity: 0;
  animation: site-loader-finish-caption 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes site-loader-black-loop {
  0%, 25% { opacity: 0; }
  50%, 66.666% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes site-loader-text-loop {
  0%, 25% { opacity: 1; transform: scale(1); }
  50%, 66.666% { opacity: 0.28; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes site-loader-swipe-out {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100vh); }
}

@keyframes site-loader-finish {
  0%, 100% { background: transparent; }
}

@keyframes site-loader-finish-caption {
  0%, 19% {
    opacity: 0;
    transform: translate(-50%, 32px);
  }
  38% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  52%, 100% {
    opacity: 0;
    transform: translate(-50%, -28px);
  }
}

@keyframes site-loader-finish-wordmark {
  0%, 11.538% { transform: translate(-50%, 0); }
  23.077%, 100% { transform: translate(-50%, -80px); }
}

@media (prefers-reduced-motion: reduce) {
  .site-page-shell,
  body.site-ready .site-page-shell {
    transform: none;
    animation: none;
  }

  .site-loader-stage-loop-1.is-active::before,
  .site-loader-stage-loop-1.is-active .site-loader-wordmark,
  .site-loader-stage-loop-1.is-active .site-loader-caption {
    animation: none;
  }

  .site-loader.is-finishing {
    animation: none;
    transform: translateY(-100vh);
  }

  .site-loader-stage-loop-1.is-active {
    opacity: 1;
  }

  .site-loader-stage-loop-2.is-active {
    opacity: 0;
  }

  .site-loader-stage-finish-3,
  .site-loader-stage-finish-3 .site-loader-wordmark,
  .site-loader-stage-finish-3::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

a {
  text-decoration: none;
  text-underline-offset: 4px;
  color: inherit;
  transition: var(--transition);
}

input, textarea, select {
  caret-color: var(--accent-red, #e53e3e);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #090b0e;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(0, 102, 255, 0.32);
  outline-offset: 3px;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= Floating Nav Pill (Variation 3) ================= */
.nav-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  background: rgba(243, 243, 243, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 8px 8px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 28px;
  width: fit-content;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.nav-brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo-image {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: cover;
  border-radius: 30%;
  background: #000;
}

.promo-section-bento {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promo-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
}

.public-promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  width: 100%;
}

.public-promotions-grid.count-1 {
  grid-template-columns: minmax(320px, 720px);
  justify-content: center;
}

.public-promotions-grid.count-2 {
  grid-template-columns: repeat(2, 1fr);
}

.public-promotions-grid.count-3 {
  grid-template-columns: repeat(3, 1fr);
}

.promo-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: var(--transition);
  padding: 28px;
  height: 100%;
  box-sizing: border-box;
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.promo-card-image-only {
  padding: 0 !important;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.promo-card-media {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.02);
  border-radius: calc(var(--radius-md) - 2px);
  overflow: hidden;
}

.promo-card-image-only .promo-card-media {
  border-radius: calc(var(--radius-md) - 2px);
  background: transparent;
  width: 100%;
  flex: 1;
  overflow: hidden;
}

.public-promo-image.dynamic-size {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: contain;
  display: block;
  cursor: pointer;
  transition: transform 0.25s ease;
  border-radius: calc(var(--radius-md) - 2px);
}

.public-promo-image.dynamic-size:hover {
  transform: scale(1.015);
}

.promo-card-footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-card-image-only .promo-card-footer {
  padding: 14px 16px;
  background: var(--bg);
  border-top: 1px solid var(--hairline-soft);
  margin-top: 0;
}

.promo-card-footer .promo-btn {
  flex: 1;
  min-width: 130px;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.promo-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: var(--canvas-soft);
  border-radius: var(--radius-md);
  color: var(--ink-muted);
  font-size: 15px;
}

@media (max-width: 900px) {

  .public-promotions-grid.count-3,
  .public-promotions-grid.count-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .public-promotions-grid,
  .public-promotions-grid.count-1,
  .public-promotions-grid.count-2,
  .public-promotions-grid.count-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .promo-card-image-only .promo-card-footer {
    flex-direction: column;
  }

  .promo-card-footer .promo-btn {
    width: 100%;
  }
}

img.public-tire-thumb,
.public-tire-thumb {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 3px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

img.public-tire-thumb:hover,
.public-tire-thumb:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tire-brand-logo-badge {
  width: 72px;
  height: 52px;
  min-width: 72px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tire-brand-logo-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tire-brand-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.tire-status-td {
  white-space: nowrap !important;
}

.tire-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 5px 13px !important;
  border-radius: var(--radius-full) !important;
  line-height: 1.3 !important;
  letter-spacing: 0.01em !important;
}

.tire-status-badge i {
  font-size: 12px !important;
  flex-shrink: 0 !important;
}

.tire-status-in-stock {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #047857 !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
}

.tire-status-in-stock i {
  color: #10b981 !important;
}

.tire-status-low-stock {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #b45309 !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
}

.tire-status-low-stock i {
  color: #f59e0b !important;
}

.tire-status-out-of-stock {
  background: rgba(239, 68, 68, 0.08) !important;
  color: #b91c1c !important;
  border: 1px solid rgba(239, 68, 68, 0.22) !important;
}

.tire-status-out-of-stock i {
  color: #ef4444 !important;
}

/* Lightbox Modal */
.image-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.2s ease;
}

.image-lightbox-modal.hidden {
  display: none !important;
}

.image-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-lightbox-content img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.image-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #141414;
  border: 0;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.image-lightbox-close:hover {
  transform: scale(1.1);
}

.image-lightbox-caption {
  margin-top: 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 768px) {
  .promo-bento-primary.has-image .promo-bento-grid {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .public-promo-image {
    max-height: 260px;
  }
}

.nav-brand span.accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.btn-primary {
  background: var(--accent-red);
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-primary:active,
.btn-secondary:active,
.promo-btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary.btn-red {
  background: var(--accent-red);
}

.btn-primary.btn-red:hover {
  background: #b80020;
}

.btn-secondary {
  background: var(--bg);
  color: var(--ink) !important;
  border: 1px solid var(--hairline);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--canvas-soft);
  border-color: var(--ink-faint);
  transform: translateY(-1px);
}

/* ================= Top Banner Slideshow Section ================= */
.banner-slideshow-section {
  padding-top: 0;
  margin-bottom: 24px;
}

.banner-slideshow-section.banner-fullwidth {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.banner-slideshow-section.banner-fullwidth .banner-slideshow {
  border-radius: 0;
  border-left: none;
  border-right: none;
}

.banner-slideshow-section.banner-hidden {
  display: none !important;
}

.banner-slideshow-section:not(.banner-hidden)+.hero {
  padding-top: 36px;
}

.banner-slideshow {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg, 24px);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--hairline-soft);
  background: #090d16;
  user-select: none;
}

.banner-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.02);
  z-index: 1;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.banner-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.banner-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 40px;
  color: #ffffff;
  pointer-events: none;
}

.banner-slide-title {
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.banner-slide-desc {
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.banner-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: var(--accent, #e53935);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
  pointer-events: auto;
  transition: var(--transition);
}

.banner-slide-link:hover .banner-slide-btn {
  background: #c62828;
  transform: translateY(-1px);
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
  padding: 0;
}

.banner-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%);
  color: var(--accent);
}

.banner-arrow-prev {
  left: 18px;
}

.banner-arrow-next {
  right: 18px;
}

.banner-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-full);
}

.banner-dot {
  width: 10px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.banner-dot.active {
  transform: scaleX(2.4);
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .banner-slideshow-section {
    padding-top: 0;
    margin-bottom: 16px;
  }

  .banner-slideshow {
    height: 240px;
    border-radius: 16px;
  }

  .banner-slideshow-section.banner-fullwidth .banner-slideshow {
    border-radius: 0;
  }

  .banner-slide-overlay {
    padding: 20px 18px;
  }

  .banner-arrow {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .banner-arrow-prev {
    left: 10px;
  }

  .banner-arrow-next {
    right: 10px;
  }

  .banner-slide-btn {
    display: none;
  }
}

/* ================= Hero Section (Variation 3) ================= */
.hero {
  padding-top: 150px;
  padding-bottom: 70px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--ink);
}

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 300;
  color: var(--ink-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* ================= Bento Grid System (Variation 3) ================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.card-soft {
  background: var(--canvas-soft);
  border: none;
}

.span-12 {
  grid-column: span 12;
}

.span-8 {
  grid-column: span 8;
}

.span-7 {
  grid-column: span 7;
}

.span-6 {
  grid-column: span 6;
}

.span-5 {
  grid-column: span 5;
}

.span-4 {
  grid-column: span 4;
}

@media (max-width: 991px) {

  .span-8,
  .span-7,
  .span-6,
  .span-5,
  .span-4 {
    grid-column: span 12;
  }
}

.card-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.card-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--ink);
}

.card-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Service Badge */
.emergency-badge {
  background: var(--canvas-soft, #181d24);
  color: var(--accent, #f59e0b);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.emergency-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #f59e0b);
}

/* ================= Tire Table (Variation 3) ================= */
.table-card {
  grid-column: span 12;
  padding: 0;
  overflow: hidden;
}

.tire-table-wrapper {
  overflow-x: auto;
  width: 100%;
}

table.tire-table {
  width: 100%;
  border-collapse: collapse;
}

table.tire-table th {
  background: var(--canvas-soft);
  padding: 16px 24px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

table.tire-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--hairline-soft);
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

table.tire-table tbody tr {
  transition: background-color 0.15s ease;
}

table.tire-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.squircle-icon {
  width: 48px;
  height: 48px;
  background: var(--ink);
  border-radius: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.price-tag {
  color: var(--accent-red, #d90429);
  font-weight: 800;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ================= Footer (Variation 3) ================= */
footer.variation-footer {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 80px 24px 40px;
  margin-top: 100px;
}

footer.variation-footer .btn-secondary {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

footer.variation-footer .btn-secondary:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16) !important;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--bg);
  letter-spacing: -0.02em;
}

.footer-links-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--on-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-col {
  justify-self: end;
  text-align: right;
}

@media (max-width: 768px) {
  .footer-links-col {
    justify-self: stretch;
    text-align: left;
  }
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-col li {
  margin-bottom: 12px;
}

.footer-links-col a {
  color: var(--ink-faint);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links-col a:hover {
  color: var(--bg);
}

/* ================= Automotive Onyx Redesign Layer ================= */
:root {
  --bg: #090b0e;
  --ink: #f9fafb;
  --ink-soft: #e5e7eb;
  --ink-muted: #a7adb7;
  --ink-faint: #737b87;
  --canvas-soft: #12161c;
  --field: #181d24;
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-soft: rgba(255, 255, 255, 0.07);
  --accent: #dc2626;
  --accent-red: #dc2626;
  --on-primary: #ffffff;
  --shadow-bento: 0 12px 32px rgba(0, 0, 0, 0.28);
  --shadow-bento-hover: 0 18px 42px rgba(0, 0, 0, 0.4);
  --transition: 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  background: var(--bg);
  scroll-padding-top: 96px;
}

body {
  background:
    radial-gradient(circle at 88% 4%, rgba(229, 62, 62, 0.12), transparent 26rem),
    linear-gradient(180deg, #090b0e 0%, #0d1116 44%, #090b0e 100%);
  color: var(--ink);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -1;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.nav-wrapper {
  top: 16px;
}

.nav-pill {
  background: rgba(18, 22, 28, 0.86);
  border-color: var(--hairline);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.nav-brand,
.nav-links a {
  color: var(--ink);
}

.nav-links a:hover {
  color: var(--accent);
}

.brand-logo-image {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero {
  position: relative;
  padding-top: 128px;
  padding-bottom: 76px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(620px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(229, 62, 62, 0.7), transparent);
}

.hero h1 {
  max-width: 900px;
  margin-inline: auto;
  color: var(--ink);
  text-wrap: balance;
}

.hero p {
  color: var(--ink-muted);
}

.btn-primary {
  background: var(--accent-red);
  color: #ffffff !important;
  min-height: 44px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background: #dc2626;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.btn-secondary {
  background: var(--field);
  color: var(--ink) !important;
  border-color: var(--hairline);
  min-height: 44px;
}

.btn-secondary:hover {
  background: #202731;
  border-color: rgba(229, 62, 62, 0.55);
}

.banner-slideshow {
  border-color: var(--hairline);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.bento-grid {
  gap: 18px;
}

.card,
.promo-card,
.table-card {
  background: rgba(18, 22, 28, 0.92);
  border-color: var(--hairline-soft);
  box-shadow: var(--shadow-bento);
  border-radius: 16px;
}

.card:hover,
.promo-card:hover {
  border-color: rgba(229, 62, 62, 0.35);
  box-shadow: var(--shadow-bento-hover);
}

.card-soft {
  background: linear-gradient(135deg, #181d24 0%, #12161c 100%);
}

.card-title,
.card-label,
.card-body,
.table-header-box,
.tire-filter-bar label,
.tire-results-count {
  color: var(--ink);
}

.card-body,
.hero p,
.footer-links-col a {
  color: var(--ink-muted);
}

.card-label {
  color: var(--accent);
  letter-spacing: 0.12em;
}

.emergency-badge {
  background: var(--canvas-soft, #181d24);
  color: var(--accent, #f59e0b);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.table-header-box {
  background: linear-gradient(180deg, rgba(32, 39, 49, 0.72), rgba(18, 22, 28, 0.9));
  border-bottom-color: var(--hairline);
}



.tire-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-top: 20px;
}

.tire-filter-bar>div {
  display: flex;
  flex-direction: column;
}

.filter-select {
  background: var(--field) !important;
  border: 1px solid var(--hairline) !important;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink) !important;
  outline: none;
  cursor: pointer;
  min-height: 44px;
  transition: var(--transition);
}

.filter-select:focus {
  border-color: var(--accent-red) !important;
  outline: 2px solid var(--accent-red);
  outline-offset: 1px;
}

.view-mode-btn,
#inventorySyncStatus {
  background: var(--field) !important;
  color: var(--ink-soft) !important;
  border-color: var(--hairline) !important;
}

.view-mode-btn.active {
  background: var(--accent-red) !important;
  color: #ffffff !important;
  border-color: var(--accent-red) !important;
}

table.tire-table th {
  background: #202731;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--hairline);
}

table.tire-table td {
  border-bottom-color: var(--hairline-soft);
  color: var(--ink-soft);
}

table.tire-table tbody tr:hover {
  background: rgba(229, 62, 62, 0.06);
}

table.tire-table td [style*="color: var(--ink)"] {
  color: var(--ink) !important;
}

.price-tag {
  color: var(--accent) !important;
}

.promo-card-media,
.promo-empty-state {
  background: #0d1116;
}

.public-tire-thumb,
.tire-brand-logo-badge {
  background: #f8fafc;
  border-color: rgba(255, 255, 255, 0.16);
}

footer.variation-footer {
  background: #06080a;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-top: 1px solid var(--hairline);
  margin-top: 88px;
}

footer.variation-footer .btn-secondary {
  background: #12161c !important;
}

.footer-links-col {
  justify-self: end;
}

.footer-links-col h4 {
  color: var(--accent);
}

.back-to-top-btn {
  background: var(--accent-red) !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .nav-wrapper {
    top: 10px;
    padding-inline: 10px;
  }

  .nav-pill {
    width: fit-content;
    max-width: calc(100vw - 32px);
    justify-content: flex-start;
    gap: 28px;
    padding-left: 24px;
  }

  .hero {
    padding-top: 102px;
    padding-bottom: 54px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a,
  .hero-actions p-button {
    justify-content: center;
    width: 100%;
  }

  .card,
  .table-header-box {
    padding: 22px;
  }

  .footer-content {
    gap: 32px;
  }

  .footer-links-col {
    justify-self: stretch;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.table-header-box .tire-filter-bar > div:last-child {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.table-header-box .tire-filter-bar > div:last-child p-button {
  display: flex;
  width: 100%;
  min-width: 0 !important;
  min-height: 44px;
  flex: none !important;
  justify-content: center;
}

/* Catalog redesign: one authoritative layout for the inventory workflow. */
.table-card {
  overflow: hidden;
}

.table-header-box {
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(145deg, #202731 0%, #151a21 52%, #101419 100%);
}

.table-header-box > .card-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #f59e0b !important;
}

.table-header-box > p-heading {
  display: block;
  max-width: 760px;
  margin-bottom: 8px;
}

.table-header-box > p-text {
  display: block;
  max-width: 680px;
  color: #a7adb7 !important;
}

.table-header-box .catalog-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 0;
}

.table-header-box #inventorySyncStatus {
  display: inline-flex !important;
  align-items: center;
  width: auto;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 14px !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 8px;
  color: #c8f5e5 !important;
  font-size: 12px;
}

.catalog-view-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 320px);
  min-width: 280px;
  padding: 4px;
  overflow: hidden;
  background: #0c1015;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.catalog-view-switcher .view-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px !important;
  border: 0;
  border-radius: 8px;
  background: transparent !important;
  color: var(--text-secondary) !important;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.catalog-view-switcher .view-mode-btn:hover {
  color: #f9fafb !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.catalog-view-switcher .view-mode-btn.active {
  background: var(--accent-red) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.catalog-view-switcher .view-mode-btn:active {
  transform: translateY(1px);
}

.table-header-box > p-divider {
  margin: 24px 0 !important;
  opacity: 0.7;
}

.table-header-box .tire-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px;
  margin-top: 0;
}

.table-header-box .tire-filter-bar > div {
  min-width: 0;
  gap: 7px;
}

.table-header-box .tire-filter-bar label {
  margin-bottom: 0 !important;
  color: var(--text-secondary) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}

.table-header-box .filter-select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 8px;
  background-color: #181d24 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f9fafb !important;
}

.table-header-box .tire-filter-bar > div:last-child {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  min-width: 174px;
  margin-top: 0 !important;
}

.table-header-box .tire-filter-bar > div:last-child p-button {
  width: 100%;
  min-width: 0 !important;
  min-height: 46px;
}

.table-header-box #tireResultsCount {
  margin-top: 18px !important;
  color: #a7adb7 !important;
  font-size: 12px !important;
}

.tire-table-wrapper {
  overflow-x: auto;
  background: transparent;
}

table.tire-table {
  min-width: 920px;
  border-collapse: collapse;
}

table.tire-table th {
  padding: 14px 18px;
  background: #202731;
  color: #a7adb7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

table.tire-table td {
  padding: 18px;
  background: #12161c;
  vertical-align: middle;
}

table.tire-table tbody tr:hover td {
  background: #181d24;
}

.tire-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  background: #0f1318;
}

.tire-visual-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  background: #181d24;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tire-visual-card:hover {
  border-color: rgba(229, 62, 62, 0.42);
  transform: translateY(-2px);
}

.tvc-header {
  min-height: 54px;
  padding: 14px 16px;
  background: #202731;
}

.tvc-visual {
  min-height: 150px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #101419;
}

.tvc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.tvc-size-badge {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(229, 62, 62, 0.14);
  color: #ff8a8a;
  font-size: 13px;
  font-weight: 800;
}

.tvc-model-title {
  min-height: 42px;
  color: #f9fafb;
  font-size: 14px;
  font-weight: 700;
}

.tvc-pricing {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tvc-price-val {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.tvc-price-unit,
.tvc-price-single {
  color: #a7adb7;
  font-size: 11px;
}

.tvc-perks {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: #b8c0ca;
  font-size: 11px;
}

.tvc-perks i {
  color: #10b981;
}

.tvc-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.tvc-actions p-button {
  min-width: 0 !important;
}

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

@media (max-width: 760px) {
  .table-header-box {
    padding: 24px 16px;
  }

  .table-header-box .catalog-top-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .table-header-box #inventorySyncStatus,
  .table-header-box .catalog-view-switcher {
    width: 100%;
  }

  .table-header-box #inventorySyncStatus {
    justify-content: center;
  }

  .table-header-box .tire-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .table-header-box .tire-filter-bar > div:nth-child(3),
  .table-header-box .tire-filter-bar > div:last-child {
    grid-column: 1 / -1;
  }

  .table-header-box .tire-filter-bar > div:last-child {
    min-width: 0;
  }

  .tire-cards-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }
}

.nav-pill {
  padding-right: 14px;
}

@media (min-width: 992px) {
  .nav-pill {
    gap: 18px;
    padding-left: 16px;
  }

  .nav-links {
    gap: 18px;
  }
}

@media (min-width: 992px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(32px, 5vw, 64px);
    align-items: center;
    text-align: left;
    padding-top: 124px;
    padding-bottom: 68px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    z-index: 2;
  }

  .hero-brand-tag {
    margin-bottom: 14px;
  }

  .hero h1,
  .hero #heroHeadline,
  .hero p-heading#heroHeadline,
  .hero p-display#heroHeadline {
    margin-inline: 0;
    max-width: 580px;
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1.08;
    text-align: left;
  }

  .hero>p,
  .hero-content p-text#heroSubtitle {
    max-width: 520px;
    margin-block: 14px 0;
    text-align: left;
    margin-inline: 0;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
  }

  .hero-actions a,
  .hero-actions p-button {
    width: auto;
  }

  .hero-trust-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
  }

  .hero>.workshop-interactive-card {
    width: 100%;
    min-height: 480px !important;
    margin: 0;
  }

  .hero::after {
    left: 0;
    width: min(360px, 32%);
    transform: none;
  }
}

@media (max-width: 991px) {
  .hero>.workshop-interactive-card {
    min-height: 380px !important;
  }
}

@media (max-width: 640px) {
  .nav-pill {
    width: calc(100vw - 20px);
    max-width: none;
    justify-content: flex-start;
    gap: 18px;
    padding: 8px 14px;
    overflow: hidden;
  }

  .nav-links {
    flex: 1 1 auto;
    min-width: 0;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    font-size: 13px;
    white-space: nowrap;
  }

}

@media (max-width: 991px) {
  .nav-pill {
    width: fit-content;
    max-width: calc(100vw - 32px);
    gap: 28px;
    padding: 8px 8px 8px 24px;
    overflow-x: auto;
  }

  .nav-links {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links li {
    flex: 0 0 auto;
  }

  .nav-links a {
    font-size: 14px;
    white-space: nowrap;
  }
}

.hero>.workshop-interactive-card {
  width: 100%;
  max-width: 1100px;
  margin: 42px auto 0;
  text-align: left;
}

.hero>.workshop-interactive-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.3) 60%, transparent 100%);
}

.workshop-caption {
  position: relative;
  z-index: 2;
  padding: 32px;
  margin-top: auto;
  color: #ffffff;
}

.workshop-caption .card-label {
  color: rgba(255, 255, 255, 0.8) !important;
}

.workshop-caption .card-label i {
  color: var(--accent);
}

.workshop-caption h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
}

#contact {
  grid-column: span 8;
}

@media (max-width: 991px) {
  #contact {
    grid-column: span 12;
  }
}

.tire-status-in-stock {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #34d399 !important;
  border-color: rgba(52, 211, 153, 0.42) !important;
}

footer.variation-footer {
  color: var(--ink);
}

footer.variation-footer .footer-title {
  color: var(--ink) !important;
}

.hours-map-pair {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 18px;
  align-items: stretch;
}

.hours-map-pair>#hoursCard,
.hours-map-pair>#contact {
  grid-column: auto !important;
  width: 100%;
}

.hours-map-pair>#contact iframe {
  display: block;
}

@media (max-width: 767px) {
  .hours-map-pair {
    display: block;
    position: relative;
    min-height: 380px;
  }

  .hours-map-pair>#contact {
    min-height: 380px;
  }

  .hours-map-pair>#hoursCard {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    width: auto;
    min-height: 0;
    padding: 16px;
    background: rgba(9, 11, 14, 0.84);
    border-color: rgba(229, 62, 62, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hours-map-pair>#hoursCard h3 {
    font-size: 22px !important;
    margin-bottom: 4px !important;
  }

  .hours-map-pair>#hoursCard .card-body {
    font-size: 14px;
  }

  .hours-map-pair>#hoursCard>div:first-child>div {
    display: none;
  }

  .hours-map-pair>#hoursCard>div:last-child {
    margin-top: 12px !important;
  }
}

/* ================= Top Announcement Bar ================= */
.top-bar {
  background: linear-gradient(90deg, #111827 0%, #1f2937 100%);
  color: #e5e7eb;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-info i {
  color: var(--secondary);
}

.top-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-social-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  transition: var(--transition);
}

.top-social-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.top-social-btn.facebook:hover {
  background: #1877f2;
}

.top-social-btn.instagram:hover {
  background: #e1306c;
}

.top-social-btn.maps:hover {
  background: #34a853;
}

/* ================= Main Header ================= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  border-radius: 8px;
  background: #000;
  padding: 2px 6px;
  object-fit: contain;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.brand-title span {
  color: var(--primary);
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-item a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b;
  position: relative;
  padding: 6px 0;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--primary);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-emergency-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #d90429 0%, #b80020 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
}

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #0f172a;
  cursor: pointer;
  padding: 6px;
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  padding: 24px;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  transition: right 0.4s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.mobile-nav-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: #fee2e2;
  color: var(--primary);
}

/* ================= Hero Section ================= */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #090d16 0%, #111827 50%, #1f2937 100%);
  color: #fff;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 4, 41, 0.18) 0%, rgba(217, 4, 41, 0) 70%);
  top: -150px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid rgba(255, 183, 3, 0.4);
  color: #ffb703;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.hero-title .highlight-red {
  color: var(--accent-red, #dc2626);
}

.hero-title .highlight-yellow {
  color: #ffb703;
}

.hero-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #f1f5f9;
  font-weight: 500;
}

.hero-feat-item i {
  color: #10b981;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #d90429 0%, #b80020 100%);
  color: #fff !important;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff !important;
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-yellow {
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
  color: #111827 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-yellow:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Hero Showcase Card */
.hero-card-wrap {
  position: relative;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #111827;
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card-wrap:hover .hero-main-img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-badge-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #d90429;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}

.hero-badge-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.hero-badge-sub {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ================= Emergency Highlight Bar ================= */
.emergency-bar {
  background: linear-gradient(90deg, #d90429 0%, #9b001a 100%);
  color: #fff;
  padding: 18px 0;
  position: relative;
  z-index: 10;
}

.emergency-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.emergency-text-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.emergency-icon-pulse {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  animation: pulseWhite 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseWhite {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.emergency-heading {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.emergency-desc {
  font-size: 0.9rem;
  opacity: 0.92;
}

.emergency-cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-emergency-call {
  background: #fff;
  color: #d90429 !important;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-emergency-call:hover {
  background: #ffeaec;
  transform: translateY(-2px);
}

/* ================= Tire Finder Section (Eakkarnyang Style) ================= */
.finder-section {
  padding: 60px 0 40px;
  background: #f1f5f9;
  position: relative;
}

.finder-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 30px;
  margin-top: -70px;
  position: relative;
  z-index: 20;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.finder-header {
  text-align: center;
  margin-bottom: 28px;
}

.finder-tag {
  display: inline-block;
  background: #fee2e2;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.finder-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
}

.finder-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.finder-tab-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  transition: var(--transition);
}

.finder-tab-btn.active,
.finder-tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.finder-form-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .finder-form-grid {
    grid-template-columns: repeat(3, 1fr) auto;
  }
}

.finder-input-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.finder-select {
  width: 100%;
  height: 50px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #cbd5e1;
  padding: 0 16px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  color: #0f172a;
  background-color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.finder-select:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-finder-search {
  height: 50px;
  padding: 0 28px;
  background: linear-gradient(135deg, #d90429 0%, #b80020 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-finder-search:hover {
  transform: translateY(-2px);
}

/* Quick size tags */
.quick-size-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.quick-size-label {
  font-weight: 700;
  color: #64748b;
}

.quick-size-pill {
  background: #f1f5f9;
  color: #334155;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.quick-size-pill:hover {
  background: #fee2e2;
  color: var(--primary);
  border-color: #fca5a5;
}

/* Tire Finder Results Display */
.finder-results {
  margin-top: 30px;
  border-top: 1px dashed #cbd5e1;
  padding-top: 26px;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.results-count {
  font-weight: 700;
  color: #0f172a;
  font-size: 1.05rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tire-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1.5px solid #e2e8f0;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.tire-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #fca5a5;
}

.tire-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.tire-brand-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.tire-size-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.tire-model-name {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 12px;
}

.tire-specs {
  list-style: none;
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tire-specs li i {
  color: #10b981;
  margin-right: 6px;
}

.tire-price-block {
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.tire-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
}

.tire-price-note {
  font-size: 0.78rem;
  color: #94a3b8;
}

.tire-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.btn-tire-detail,
.btn-tire-book {
  padding: 9px 0;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-tire-detail {
  background: #f1f5f9;
  color: #334155;
}

.btn-tire-book {
  background: var(--primary);
  color: #fff !important;
}

.btn-tire-book:hover {
  background: var(--primary-dark);
}

/* ================= Promotions Section ================= */
.promotions-section {
  padding: 80px 0;
  background: #ffffff;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  background: #fee2e2;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 650px;
  margin: 12px auto 0;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.promo-card {
  background: #0f172a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(217, 4, 41, 0.4);
}

.promo-img-wrap {
  position: relative;
  background: #000;
  overflow: hidden;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0f19;
  transition: transform 0.5s ease;
}

.promo-card:hover .promo-img {
  transform: scale(1.02);
}

.promo-badge-float {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, #d90429 0%, #b80020 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.promo-content {
  padding: 26px;
  background: #111827;
  color: #fff;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.promo-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.promo-highlight {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffb703;
  margin-bottom: 12px;
}

.promo-features {
  list-style: none;
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-features li i {
  color: #10b981;
}

.promo-action {
  margin-top: auto;
  display: flex;
  gap: 12px;
}

/* ================= Services Section (Fast Fit Style) ================= */
.services-section {
  padding: 80px 0;
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #fca5a5;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #fee2e2;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-card-list {
  list-style: none;
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.service-card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card-list li i {
  color: #ef4444;
  font-size: 0.8rem;
}

/* ================= 4 Patch Types Special Focus ================= */
.patch-types-section {
  padding: 70px 0;
  background: linear-gradient(180deg, #111827 0%, #0b0f19 100%);
  color: #fff;
}

.patch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}

@media (min-width: 992px) {
  .patch-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.patch-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.patch-item:hover {
  background: rgba(217, 4, 41, 0.15);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.patch-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d90429 0%, #ef4444 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  color: #fff;
}

.patch-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.patch-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ================= Real Workshop & Gallery Section ================= */
.gallery-section {
  padding: 80px 0;
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.gallery-main-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: #000;
  min-height: 420px;
}

.gallery-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0) 100%);
  padding: 30px 24px 20px;
  color: #fff;
}

.gallery-caption h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.gallery-caption p {
  font-size: 0.9rem;
  color: #e2e8f0;
}

.gallery-side-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}



/* ================= Brand Partners ================= */
.brands-section {
  padding: 50px 0;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.brands-title {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.brands-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.brand-badge {
  font-size: 1.15rem;
  font-weight: 800;
  color: #334155;
  background: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-badge:hover {
  transform: translateY(-2px);
  color: var(--primary);
  border-color: var(--primary);
}

.brand-badge.highlight {
  background: #0f172a;
  color: #ffb703;
  border-color: #ffb703;
}

/* ================= Payment & Trust Banner ================= */
.payment-trust-section {
  padding: 50px 0;
  background: #ffffff;
}

.payment-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.payment-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.payment-text p {
  font-size: 0.95rem;
  color: #64748b;
}

.payment-banks-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bank-tag {
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: var(--shadow-sm);
}

.bank-tag.kbank {
  color: #00a950;
  border-color: #00a950;
}

.bank-tag.scb {
  color: #4e2a84;
  border-color: #4e2a84;
}

.bank-tag.aeon {
  color: #8e1f5a;
  border-color: #8e1f5a;
}

.bank-tag.firstchoice {
  color: #004b90;
  border-color: #004b90;
}

/* ================= Map & Contact Section ================= */
.contact-section {
  padding: 80px 0;
  background: #f8fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

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

.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
}

.contact-info-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.contact-detail-list {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fee2e2;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 0.9rem;
  color: #64748b;
}

.contact-detail-text a:hover {
  color: var(--primary);
}

.social-buttons-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-social {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
}

.btn-social.fb {
  background: #1877f2;
}

.btn-social.fb:hover {
  background: #0c63d4;
}

.btn-social.ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-social.ig:hover {
  opacity: 0.9;
}

.btn-social.map {
  background: #0284c7;
}

.btn-social.map:hover {
  background: #0369a1;
}

.map-container-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid #e2e8f0;
  background: #e2e8f0;
  height: 100%;
  min-height: 440px;
}

.map-container-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
}

/* ================= FAQ Accordion ================= */
.faq-section {
  padding: 70px 0;
  background: #ffffff;
}

.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-header i {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-body {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.65;
  display: none;
}

.faq-item.active {
  border-color: #fca5a5;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-header i {
  transform: rotate(180deg);
}

.faq-item.active .faq-body {
  display: block;
}

/* ================= Footer ================= */
.main-footer {
  background: #0b0f19;
  color: #94a3b8;
  padding: 60px 0 24px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.footer-brand h4 {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-col h5 {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

@keyframes shake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30% {
    transform: rotate(-10deg);
  }

  20%,
  40% {
    transform: rotate(10deg);
  }
}

/* ================= Booking & Consultation Modal ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-container {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalFadeIn 0.3s ease;
  position: relative;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }

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

.modal-header {
  background: #0f172a;
  color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #cbd5e1;
  padding: 0 14px;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  height: 84px;
  padding: 10px 14px;
}

/* ================= Modern Automotive Pro Additions ================= */
.live-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

.live-pulse-dot.low-stock {
  background: #f59e0b;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 4, 41, 0.08);
  border: 1px solid rgba(217, 4, 41, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.trust-chip:hover {
  background: var(--bg);
  border-color: rgba(217, 4, 41, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.catalog-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.catalog-view-switcher {
  display: inline-flex;
  background: var(--canvas-soft);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--hairline);
  gap: 4px;
}

.view-mode-btn {
  background: transparent;
  border: none;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.view-mode-btn:hover {
  color: var(--ink);
}

.view-mode-btn.active {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tire-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
  padding: 24px 32px 32px;
}

@media (max-width: 640px) {
  .tire-cards-grid {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
}

.tire-visual-card {
  background: var(--bg);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
}

.tire-visual-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(217, 4, 41, 0.25);
}

.tvc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.tvc-brand-box {
  height: 38px;
  display: flex;
  align-items: center;
}

.tvc-brand-logo {
  max-height: 32px;
  max-width: 90px;
  object-fit: contain;
}

.tvc-brand-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.tvc-visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--canvas-soft);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  cursor: pointer;
  padding: 8px;
}

.tvc-tire-img {
  max-height: 125px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.tire-visual-card:hover .tvc-tire-img {
  transform: scale(1.06);
}

.tvc-tire-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 32px;
}

.tvc-tire-placeholder span {
  font-size: 13px;
  font-weight: 700;
}

.tvc-size-badge {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.tvc-model-title {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 4px;
  font-weight: 600;
}

.tvc-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 4, 41, 0.08);
  color: var(--accent-red);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-top: 8px;
  width: fit-content;
}

.tvc-pricing {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline-soft);
}

.tvc-price-set {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tvc-price-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.tvc-price-unit {
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 600;
}

.tvc-price-single {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 6px;
}

.tvc-price-single strong {
  color: var(--ink);
}

.tvc-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.tvc-perks span {
  font-size: 11px;
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tvc-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.tvc-btn-call {
  flex: 1;
  justify-content: center;
  padding: 10px 14px;
  font-size: 13px;
}

.tvc-btn-chat {
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.emergency-card-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 900px) {
  .emergency-card-inner {
    grid-template-columns: 1fr;
  }
}

.emergency-vehicle-preview {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #000;
}

.emergency-vehicle-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.emergency-vehicle-preview:hover img {
  transform: scale(1.04);
}

.emergency-vehicle-preview .preview-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.workshop-interactive-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-interactive-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.workshop-interactive-card .zoom-hint-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease;
}

.workshop-interactive-card:hover .zoom-hint-badge {
  background: rgba(217, 4, 41, 0.85);
}

.service-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 20px;
}

.service-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--hairline-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ================= Motion & Polish (Variation 3) ================= */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.nav-pill {
  animation: rise-in 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

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

#tire-finder,
#promotions,
#workshop,
#contact {
  scroll-margin-top: 110px;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active,
.mobile-drawer-link.active {
  color: var(--accent);
}

.card::before {
  display: none;
}

.card:hover::before {
  display: none;
}

.btn-primary:active,
.btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

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

  to {
    opacity: 1;
  }
}

#tireTableBody tr {
  animation: row-in 0.35s ease both;
}

.tire-visual-card {
  animation: row-in 0.35s ease both;
}

:where(a, button, select, input, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.back-to-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--accent) calc(var(--progress, 0) * 100%), var(--field) 0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: var(--transition);
}

.back-to-top-btn span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}

.back-to-top-btn.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top-btn:hover span {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary i,
.btn-primary svg,
.btn-secondary i,
.btn-secondary svg {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-primary:hover i,
.btn-primary:hover svg,
.btn-primary:active i,
.btn-primary:active svg {
  transform: translateX(3px);
}

.btn-secondary:hover i,
.btn-secondary:hover svg {
  transform: translateX(2px);
}

.trust-chip i,
.trust-chip svg {
  display: inline-block;
  transition: transform 0.2s ease;
}

.trust-chip:hover i,
.trust-chip:hover svg {
  transform: scale(1.15);
}

.image-lightbox-modal:not(.hidden) {
  animation: fade-in 0.2s ease both;
}

.image-lightbox-modal:not(.hidden) .image-lightbox-content {
  animation: row-in 0.28s ease 0.04s both;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-wrapper {
    top: 12px;
    padding: 0 10px;
  }

  .nav-pill {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding-left: 14px;
  }

  .nav-brand {
    min-width: 0;
    font-size: 15px;
  }

  .nav-brand span:not(.accent) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .banner-slideshow {
    height: clamp(220px, 58vw, 320px);
    border-radius: 16px;
  }
}

/* ================= Final Public Visual Direction ================= */
:root {
  --bg: #090b0e;
  --ink: #f9fafb;
  --ink-soft: #e5e7eb;
  --ink-muted: #a7adb7;
  --ink-faint: #737b87;
  --canvas-soft: #12161c;
  --field: #181d24;
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-soft: rgba(255, 255, 255, 0.07);
  --accent: #E53E3E;
  --accent-hover: #DC2626;
  --accent-glow: rgba(229, 62, 62, 0.25);
  --accent-red: #E53E3E;
  --on-primary: #ffffff;
  --radius-sm: 8px;
  --radius-md: 16px;
  --transition: 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  background: var(--bg);
  scroll-padding-top: 96px;
}

body {
  background:
    radial-gradient(circle at 86% 2%, rgba(229, 62, 62, 0.12), transparent 28rem),
    linear-gradient(180deg, #090b0e 0%, #0d1116 48%, #090b0e 100%);
  color: var(--ink);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.nav-wrapper {
  top: 16px;
}

.nav-pill {
  background: rgba(18, 22, 28, 0.9);
  border-color: var(--hairline);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.nav-brand,
.nav-links a {
  color: var(--ink);
}

.nav-links a:hover,
.nav-links a.active,
.mobile-drawer-link.active {
  color: var(--accent);
}

.brand-logo-image {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero {
  position: relative;
  padding-top: 128px;
  padding-bottom: 76px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(620px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(229, 62, 62, 0.7), transparent);
}

.hero h1 {
  max-width: 900px;
  margin-inline: auto;
  color: var(--ink);
  text-wrap: balance;
}

.hero p,
.card-body,
.footer-links-col a {
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.hero-actions a,
.tvc-actions a,
.tire-filter-bar button {
  min-height: 44px;
}

.btn-primary {
  background: var(--accent-red) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background: #dc2626 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.btn-secondary {
  background: var(--field) !important;
  color: var(--ink) !important;
  border-color: var(--hairline) !important;
}

.btn-secondary:hover {
  background: #202731 !important;
  border-color: rgba(229, 62, 62, 0.55) !important;
}

.banner-slideshow {
  border-color: var(--hairline);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.bento-grid {
  gap: 18px;
}

.card,
.promo-card,
.table-card,
.tire-visual-card {
  background: rgba(18, 22, 28, 0.94);
  border-color: var(--hairline-soft);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.card:hover,
.promo-card:hover,
.tire-visual-card:hover {
  border-color: rgba(229, 62, 62, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.card-soft {
  background: linear-gradient(135deg, #181d24 0%, #12161c 100%);
}

.card-title,
.card-label,
.tvc-brand-name,
.tvc-size-badge,
.tvc-price-single strong {
  color: var(--ink);
}

.card-label {
  color: var(--accent) !important;
  letter-spacing: 0.08em;
}

.emergency-badge {
  background: var(--canvas-soft, #181d24) !important;
  color: var(--accent, #f59e0b) !important;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.table-header-box {
  background: linear-gradient(180deg, rgba(32, 39, 49, 0.72), rgba(18, 22, 28, 0.94));
  border-bottom-color: var(--hairline);
  padding: 28px 32px;
}

.filter-select,
.view-mode-btn,
#inventorySyncStatus {
  background: var(--field) !important;
  color: var(--ink-soft) !important;
  border-color: var(--hairline) !important;
}

.view-mode-btn.active {
  background: var(--accent-red) !important;
  color: #ffffff !important;
  border-color: var(--accent-red) !important;
}

table.tire-table th {
  background: #202731;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--hairline);
}

table.tire-table td {
  color: var(--ink-soft);
  border-bottom-color: var(--hairline-soft);
}

table.tire-table tbody tr:hover {
  background: rgba(229, 62, 62, 0.06);
}

.price-tag,
.tvc-price-val {
  color: var(--accent) !important;
  font-variant-numeric: tabular-nums;
}

.price-tag.is-text,
.tvc-price-val.is-text {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #f59e0b !important;
  letter-spacing: 0.01em !important;
  line-height: 1.3 !important;
}

.tire-status-in-stock {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.tire-status-low-stock {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.tire-status-out-of-stock {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
}

.tvc-perks span {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.promo-card-media,
.promo-empty-state,
.tvc-visual {
  background: #0d1116;
}

.public-tire-thumb,
.tire-brand-logo-badge {
  background: #f8fafc;
  border-color: rgba(255, 255, 255, 0.16);
}

.footer-links-col {
  justify-self: end;
  text-align: right;
}

footer.variation-footer {
  background: #06080a;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-top: 1px solid var(--hairline);
  margin-top: 88px;
}

.footer-links-col h4 {
  color: var(--accent);
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 82vw;
  max-width: 320px;
  height: 100dvh;
  background: #12161c;
  z-index: 1200;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-link,
.mobile-drawer .nav-brand,
.mobile-drawer button {
  color: var(--ink) !important;
}

.back-to-top-btn {
  background: var(--accent-red) !important;
}

@media (max-width: 768px) {
  .nav-wrapper {
    top: 10px;
    padding-inline: 10px;
  }

  .nav-pill {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding-left: 14px;
  }

  .nav-pill .btn-primary {
    padding-inline: 14px;
  }

  .nav-pill .btn-primary span {
    display: none;
  }

  .hero {
    padding-top: 102px;
    padding-bottom: 54px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a {
    justify-content: center;
    width: 100%;
  }



  .tire-filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tire-filter-bar>div:nth-child(1),
  .tire-filter-bar>div:nth-child(2) {
    grid-column: span 1;
  }

  .tire-filter-bar>div:nth-child(3) {
    grid-column: span 2;
  }

  .tire-filter-bar>div:last-child {
    grid-column: span 2;
    display: flex;
    gap: 8px;
  }

  .tire-filter-bar>div:last-child p-button {
    flex: 1;
    justify-content: center;
  }

  .filter-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
  }

  .footer-links-col {
    justify-self: stretch;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================= Debuild-Inspired Layout & Red Redesign ================= */

/* Custom Sleek Scrollbar & Selection */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #090b0e;
}

::-webkit-scrollbar-thumb {
  background: #202731;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

::selection {
  background: var(--accent-red);
  color: #ffffff;
}

/* 1. Top Utility Bar */
.site-top-bar {
  background: #090b0e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--ink-muted);
  position: relative;
  z-index: 1001;
  padding: 4px 0;
}

.site-top-bar-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar-item i {
  color: var(--accent-red);
  font-size: 13px;
}

.top-bar-phone a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.top-bar-phone a:hover {
  color: var(--accent-red);
}

@media (max-width: 991px) {
  .site-top-bar {
    display: none !important;
  }
}

/* 2. Full-Width Horizontal Header & Navigation */
.nav-wrapper {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  pointer-events: auto !important;
  background: rgba(9, 11, 14, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  padding: 0 !important;
  display: block !important;
}

.nav-pill {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 12px 24px !important;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  pointer-events: auto !important;
}

.nav-pill::after {
  content: none !important;
}

.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  flex: 0 0 auto !important;
}

.brand-name-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 1 auto !important;
}

.nav-links li {
  flex: 0 0 auto !important;
}

.nav-links a {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ink-muted) !important;
  text-decoration: none !important;
  padding: 6px 0 !important;
  position: relative !important;
  transition: color 0.2s ease !important;
  white-space: nowrap !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff !important;
}

.nav-links a::after {
  content: "" !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: var(--accent-red) !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 0.2s ease !important;
  border-radius: 2px !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1) !important;
}

.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

.nav-cta-btn {
  background: var(--accent-red) !important;
  color: #ffffff !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
  white-space: nowrap !important;
}

.nav-cta-btn:hover {
  background: #dc2626 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
  transform: translateY(-1px) !important;
}

.nav-mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-mobile-toggle:hover {
  background: rgba(229, 62, 62, 0.15);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

@media (max-width: 991px) {
  .nav-links {
    display: none !important;
  }

  .nav-mobile-toggle {
    display: flex !important;
  }

  .nav-pill {
    padding: 10px 16px !important;
  }

  .brand-name-text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .nav-cta-btn span {
    display: none;
  }

  .nav-cta-btn {
    padding: 9px 12px !important;
  }

  .brand-name-text {
    font-size: 14px;
  }
}

.nav-pill {
  opacity: 0;
  transform: translateY(-100%);
}

body.site-ready .nav-pill {
  animation: nav-slide-down 0.9s cubic-bezier(0.22, 0.8, 0.28, 1) both;
}

@keyframes nav-slide-down {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-pill,
  body.site-ready .nav-pill {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* 3. Hero Section Proportional Spacing */
.hero {
  padding-top: 56px !important;
  padding-bottom: 64px !important;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 36px !important;
    padding-bottom: 48px !important;
  }
}

/* 4. Service Cards Accent */
/* 5. Brand Partner Logos Strip */
.brands-strip-container {
  background: rgba(18, 22, 28, 0.85);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  margin-top: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.brands-strip-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 62, 62, 0.4), transparent);
}

.brands-strip-header {
  margin-bottom: 24px;
}

.brands-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-red);
  text-transform: uppercase;
  background: rgba(229, 62, 62, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(229, 62, 62, 0.25);
  margin-bottom: 8px;
}

.brands-strip-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0;
}

.brands-strip-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.brand-logo-item {
  background: rgba(24, 29, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 72px;
  transition: background-color 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-logo-item:hover {
  background: rgba(32, 39, 49, 0.9);
  border-color: rgba(229, 62, 62, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.brand-partner-img {
  max-height: 42px;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0.92) contrast(1.05);
  transition: filter 0.3s ease;
}

.brand-logo-item:hover .brand-partner-img {
  filter: brightness(1) contrast(1.1);
}

/* 6. Red CTA Banner Section */
.cta-banner-section {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 24px;
  width: 100%;
}

.cta-banner-inner {
  background: #12161c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(229, 62, 62, 0.15) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.cta-banner-content {
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.cta-banner-sub {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-red);
  background: rgba(229, 62, 62, 0.1);
  border: 1px solid rgba(229, 62, 62, 0.25);
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.cta-banner-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.cta-banner-desc {
  font-size: 14.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-cta-white {
  background: var(--accent-red);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn-cta-white:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.btn-cta-outline {
  background: #181d24;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.btn-cta-outline:hover {
  background: #202731;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 24px;
  }

  .cta-banner-content {
    max-width: 100%;
  }

  .cta-banner-title {
    font-size: 24px;
  }

  .cta-banner-actions {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn-cta-white,
  .btn-cta-outline {
    flex: 1 1 200px;
  }
}

@media (max-width: 480px) {
  .cta-banner-section {
    padding: 0 12px;
    margin-top: 32px;
  }

  .cta-banner-inner {
    padding: 28px 16px;
    border-radius: 16px;
  }

  .cta-banner-title {
    font-size: 20px;
  }

  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta-white,
  .btn-cta-outline {
    width: 100%;
  }
}

/* 7. Enhanced 3-Column Footer */
/* 7. Enhanced 4-Column Footer (Debuild-inspired) */
footer.variation-footer {
  background: #06080a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 24px 32px;
  margin-top: 56px;
  position: relative;
}

footer.variation-footer .footer-content {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.4fr;
  gap: 36px;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-brand-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 16px;
}

.footer-logo-image {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col-brand .footer-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2px 0 0 0;
}

.footer-desc {
  font-size: 14px;
  color: var(--ink-faint);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--ink) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-btn:hover {
  background: rgba(229, 62, 62, 0.15) !important;
  border-color: rgba(229, 62, 62, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.footer-links-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-red);
  border-radius: 2px;
}

.footer-nav-list,
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list li a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.footer-nav-list li a i {
  font-size: 10px;
  color: var(--accent-red);
  transition: transform 0.2s ease;
}

.footer-nav-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-nav-list li a:hover i {
  transform: translateX(2px);
}

.vehicle-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}

.vehicle-pill {
  background: rgba(255, 255, 255, 0.03);
  padding: 7px 15px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.vehicle-pill i {
  color: var(--accent);
  font-size: 13px;
}

.vehicle-pill:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.footer-col-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-col-contact h4 {
  text-align: right;
  width: 100%;
}

.footer-col-contact h4::after {
  left: auto !important;
  right: 0 !important;
}

.footer-contact-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 16px;
  width: 100%;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  width: 100%;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
  text-align: right;
  width: 100%;
}

.footer-contact-list li i {
  color: var(--accent-red);
  font-size: 14px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact-list li a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.footer-contact-list li a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  max-width: 1240px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-faint);
}

.footer-service-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

@media (max-width: 1024px) and (min-width: 768px) {
  footer.variation-footer .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  footer.variation-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-col-contact,
  .footer-contact-card,
  .footer-contact-list {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .footer-col-contact h4 {
    text-align: left !important;
  }

  .footer-col-contact h4::after {
    left: 0 !important;
    right: auto !important;
  }

  .footer-contact-list li {
    justify-content: flex-start !important;
    text-align: left !important;
    flex-direction: row-reverse !important;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}


@media (max-width: 767px) {
  .hours-map-pair {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    min-height: 0 !important;
  }

  .hours-map-pair>#hoursCard {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    padding: 20px 18px !important;
    border-radius: 16px !important;
    background: #12161c !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .hours-map-pair>#hoursCard .card-label {
    font-size: 10px !important;
  }

  .hours-map-pair>#hoursCard h3 {
    font-size: 22px !important;
    margin-bottom: 6px !important;
  }

  .hours-map-pair>#hoursCard .card-body {
    font-size: 14px !important;
  }

  .hours-map-pair>#hoursCard>div:first-child>p:last-of-type {
    margin-top: 6px !important;
    font-size: 13px !important;
    line-height: 1.4;
  }

  .hours-map-pair>#hoursCard>div:last-child {
    margin-top: 18px !important;
  }

  .hours-map-pair>#hoursCard>div:last-child .btn-secondary {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .hours-map-pair>#contact {
    width: 100% !important;
    min-height: 280px !important;
    height: 280px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .hours-map-pair>#contact iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 280px !important;
    border: 0 !important;
  }
}

/* ----------------------------------------------------
   Table Inquiry Button (1-Click Messenger)
   ---------------------------------------------------- */
.btn-table-inquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.28);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-table-inquire:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* ----------------------------------------------------
   Google Reviews Social Proof Bento Card
   ---------------------------------------------------- */
.google-reviews-bento {
  padding: 32px;
  background: var(--card-soft);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-md);
}

.reviews-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline-soft);
  margin-bottom: 24px;
}

.reviews-title-wrap {
  flex: 1;
  min-width: 260px;
}

.reviews-score-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 10px 18px;
}

.reviews-score-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.reviews-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #f59e0b;
  font-size: 14px;
}

.reviews-count-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.review-item-card {
  background: var(--bg);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.review-stars-small {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  font-size: 12px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  background: var(--field);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.author-avatar .google-badge-overlay {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.author-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-meta-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
}

.author-guide-tag {
  color: #f59e0b;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.review-date {
  color: var(--ink-muted);
}

.reviews-footer-action {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

@media (max-width: 991px) and (min-width: 641px) {
  .reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
  }
}

/* ========================================================
   Mobile-First Responsiveness & Support Enhancements
   ======================================================== */
@media (max-width: 768px) {

  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px !important;
  }

  /* Bento Grid Single Column Flow */
  .bento-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .card {
    border-radius: 16px !important;
    padding: 20px 16px !important;
  }

  /* Emergency Roadside Card */
  .emergency-card-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  #emergencyCard .vehicle-chips-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 16px 0 20px !important;
  }

  #emergencyCard .vehicle-pill {
    padding: 8px 10px !important;
    font-size: 12px !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  #emergencyCard .vehicle-chips-wrap p-tag {
    flex: 0 1 auto;
    max-width: 100%;
  }

  #emergencyCard div[style*="display: flex; flex-wrap: wrap"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  #btnEmergencyCall,
  #btnEmergencyChat {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px !important;
  }

  .emergency-vehicle-preview {
    width: 100% !important;
    height: 200px !important;
    border-radius: var(--radius-lg) !important;
  }

  .emergency-vehicle-preview img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Tire Catalog & Filter Responsiveness */
  .catalog-top-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  #inventorySyncStatus {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .catalog-view-switcher {
    width: 100% !important;
    display: grid !important;
  }

  .view-mode-btn {
    flex: 1 !important;
    justify-content: center !important;
    padding: 9px 12px !important;
    font-size: 12.5px !important;
  }



  .tire-filter-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .tire-filter-bar>div:nth-child(1),
  .tire-filter-bar>div:nth-child(2) {
    grid-column: span 1 !important;
  }

  .tire-filter-bar>div:nth-child(3) {
    grid-column: span 2 !important;
  }

  .tire-filter-bar>div:last-child {
    grid-column: span 2 !important;
    display: flex !important;
    gap: 8px !important;
  }

  .tire-filter-bar>div:last-child p-button {
    flex: 1 !important;
    justify-content: center !important;
    min-height: 44px !important;
  }

  /* Tire Cards Grid */
  .tire-cards-grid {
    grid-template-columns: 1fr !important;
    padding: 12px !important;
    gap: 14px !important;
  }

  .tire-visual-card {
    padding: 18px 16px !important;
    border-radius: var(--radius-lg) !important;
  }

  .tvc-actions {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .tvc-btn-call {
    flex: 1 !important;
    justify-content: center !important;
    min-height: 44px !important;
  }

  .tvc-btn-chat {
    min-width: 48px !important;
    min-height: 44px !important;
    justify-content: center !important;
  }

  /* Google Reviews Social Proof on Mobile */
  .google-reviews-bento {
    padding: 20px 16px !important;
  }

  .reviews-header-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .reviews-score-badge {
    width: 100% !important;
    justify-content: center !important;
  }

  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Workshop Card on Mobile */
  .hero>.workshop-interactive-card {
    min-height: 250px !important;
    margin-top: 24px !important;
    border-radius: var(--radius-lg) !important;
  }

  .workshop-caption {
    padding: 20px 16px !important;
  }

  .workshop-caption h3 {
    font-size: 20px !important;
    margin-bottom: 4px !important;
  }

  /* Back to Top Floating Button on Mobile */
  .back-to-top-btn {
    bottom: 24px !important;
    right: 16px !important;
    width: 46px !important;
    height: 46px !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .banner-slideshow {
    height: 300px !important;
  }
}

/* ========================================================
   Simple Modern Hollow Design System Refinements
   Minimalist, Clean, High-Contrast Dark Onyx Aesthetic
   ======================================================== */
.text-hollow {
  font-family: var(--font-thai);
  font-weight: 800;
  color: #f9fafb !important;
  -webkit-text-stroke: 0;
  letter-spacing: -0.01em;
  display: inline-block;
}

.text-hollow:hover {
  color: #ffffff !important;
}

.hero-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-hollow-brand {
  font-family: var(--font-thai);
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f9fafb !important;
  -webkit-text-stroke: 0;
  line-height: 1.1;
}

.hero-hollow-brand:hover {
  color: #ffffff !important;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
}

.footer-hollow-title {
  font-family: var(--font-thai);
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f9fafb !important;
  -webkit-text-stroke: 0;
  margin-bottom: 6px;
  line-height: 1.1;
}

.footer-hollow-title:hover {
  color: #ffffff !important;
}

.card {
  background: #12161c !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55) !important;
}

.card-soft {
  background: #151a21 !important;
}

/* Porsche Design System Component Integrations */
:root,
html.scheme-dark {
  color-scheme: dark;
}

p-heading,
p-display,
p-text {
  display: block;
}

p-heading.card-title {
  margin-bottom: 8px;
  font-family: 'Porsche Next', 'Prompt', 'Kanit', sans-serif;
  letter-spacing: -0.01em;
}

.hero #heroHeadline,
.hero p-heading#heroHeadline,
.hero p-display#heroHeadline {
  display: block;
  margin-bottom: 18px;
}

@media (max-width: 991px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-content #heroHeadline,
  .hero-content p-heading#heroHeadline,
  .hero-content p-display#heroHeadline {
    text-align: center;
  }

  .hero-content p-text#heroSubtitle {
    display: block;
    max-width: 680px;
    margin: 0 auto 24px;
    text-align: center;
    color: #94a3b8;
    line-height: 1.6;
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
  }

  .hero-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .hero-content .hero-actions {
    justify-content: flex-start;
    margin-top: 24px;
    margin-bottom: 24px;
    width: 100%;
  }

  .hero-content .hero-trust-chips {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    width: 100%;
  }
}

p-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  flex: 0 0 auto;
  --p-button-gap: 8px;
  --p-button-px: 18px;
  --p-button-bg: rgba(255, 255, 255, 0.08);
  --p-button-fg: #ffffff;
}

p-button[compact="true"] {
  --p-button-gap: 6px;
  --p-button-px: 14px;
  --p-button-py: 6px;
}

p-button[variant="primary"] {
  --p-button-bg: var(--accent-red, #e53e3e);
  --p-button-fg: #ffffff;
}

p-button[variant="secondary"] {
  --p-button-bg: rgba(255, 255, 255, 0.08);
  --p-button-fg: #ffffff;
}

p-button:not(:defined) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  font-family: var(--font-body, "Inter", "Prompt", sans-serif);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  box-sizing: border-box;
  line-height: 1.25;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

p-button[compact="true"]:not(:defined) {
  padding: 6px 14px;
  font-size: 13px;
}

.hero-actions p-button,
.catalog-view-switcher p-button,
.tire-filter-bar p-button,
.reviews-footer-action p-button {
  min-width: max-content;
}

.hero-actions p-button {
  flex: 0 1 auto;
}

.catalog-view-switcher p-button {
  flex: 1 1 0;
}

p-button[variant="primary"]:not(:defined) {
  background: var(--accent-red, #e53e3e);
  color: #ffffff;
  border: 1px solid var(--accent-red, #e53e3e);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

p-button[variant="primary"]:not(:defined):hover {
  background: #dc2626;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

p-button[variant="secondary"]:not(:defined) {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

p-button[variant="secondary"]:not(:defined):hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

p-tag {
  display: inline-flex;
  vertical-align: middle;
}

p-tag:not(:defined) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  box-sizing: border-box;
}

p-tag[variant="warning"]:not(:defined),
p-tag[variant="warning-frosted"]:not(:defined) {
  background: rgba(245, 158, 11, 0.16);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.32);
}

p-tag[variant="secondary"]:not(:defined) {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

p-tag[variant="success-frosted"]:not(:defined) {
  background: rgba(16, 185, 129, 0.16);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.32);
}

p-tag[variant="error-frosted"]:not(:defined) {
  background: rgba(229, 62, 62, 0.16);
  color: #f87171;
  border: 1px solid rgba(229, 62, 62, 0.32);
}

p-tag[variant="surface"]:not(:defined) {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-header-box .catalog-top-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  margin-bottom: 0;
}

.table-header-box #inventorySyncStatus {
  width: fit-content;
  max-width: 100%;
}

.table-header-box .catalog-view-switcher {
  width: 320px;
  max-width: 100%;
  justify-self: end;
}

.table-header-box .tire-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px;
  margin-top: 22px;
}

.table-header-box .tire-filter-bar > div {
  min-width: 0;
}

.table-header-box .tire-filter-bar > div:last-child {
  display: flex !important;
  flex-direction: row !important;
  align-items: end;
  gap: 8px;
  margin-top: 0 !important;
}

.table-header-box .tire-filter-bar > div:last-child p-button {
  flex: 0 1 76px;
  min-width: 76px;
}

@media (max-width: 760px) {
  .table-header-box .catalog-top-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .table-header-box #inventorySyncStatus,
  .table-header-box .catalog-view-switcher {
    width: 100%;
    justify-self: stretch;
  }

  .table-header-box .tire-filter-bar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .table-header-box .tire-filter-bar > div:nth-child(3),
  .table-header-box .tire-filter-bar > div:last-child {
    grid-column: 1 / -1;
  }

  .table-header-box .tire-filter-bar > div:last-child p-button {
    flex: 1 1 0;
  }
}

/* Keep the catalog status indicator and filter actions compact after PDS hydration. */
#inventorySyncStatus p-spinner {
  display: inline-flex !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  vertical-align: middle;
}

.table-header-box .tire-filter-bar > div:last-child {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 8px !important;
}

.table-header-box .tire-filter-bar > div:last-child p-button {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 46px !important;
  flex: none !important;
  justify-content: center !important;
}

p-display {
  display: block;
}

p-display:not(:defined) {
  font-family: var(--font-heading, "Kanit", "Prompt", sans-serif);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
}

p-heading {
  display: block;
}

p-heading:not(:defined) {
  font-family: var(--font-heading, "Kanit", "Prompt", sans-serif);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

p-heading#heroHeadline:not(:defined) {
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

p-divider {
  display: block;
}

p-divider:not(:defined) {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 14px 0;
}

p-spinner {
  display: inline-block;
  vertical-align: middle;
}

p-spinner:not(:defined) {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: pds-fallback-spin 0.8s linear infinite;
}

@keyframes pds-fallback-spin {
  to {
    transform: rotate(360deg);
  }
}

p-link-pure:not(:defined) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa;
  text-decoration: none;
  font-size: 14px;
}

p-text {
  display: block;
}

p-text:not(:defined) {
  font-family: var(--font-body, "Inter", "Prompt", sans-serif);
  color: #94a3b8;
  line-height: 1.6;
}

.vehicle-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.service-anchor {
  display: none;
}

.vehicle-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  max-width: 100%;
  padding: 6px 10px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  cursor: default;
}

.vehicle-chip i {
  flex: 0 0 auto;
  color: #f59e0b;
  font-size: 13px;
}

.catalog-view-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 6px;
  width: min(100%, 320px);
  min-width: 0;
  padding: 6px;
  overflow: hidden;
}

.catalog-view-switcher p-button {
  display: block;
  width: 100%;
  min-width: 0 !important;
  max-width: none;
  height: 42px;
  white-space: nowrap;
  overflow: hidden;
  --p-button-px: 6px;
  --p-button-py: 14px;
  --p-button-gap: 4px;
}

.catalog-view-switcher .view-mode-btn {
  width: 100%;
  min-width: 0 !important;
  height: 42px;
  padding: 0 6px !important;
  justify-content: center !important;
  white-space: nowrap;
  overflow: hidden;
}

.tire-status-td p-tag,
.tvc-status-wrap p-tag {
  display: inline-block;
  white-space: nowrap;
}

p-segmented-control#typeFilterPills,
p-segmented-control {
  width: 100%;
  max-width: 640px;
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full, 9999px);
  padding: 4px;
  box-sizing: border-box;
  gap: 4px;
}

p-segmented-control-item {
  display: inline-flex;
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
}

p-segmented-control-item:not(:defined) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-full, 9999px);
  font-family: var(--font-body, "Inter", "Prompt", sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

p-segmented-control-item:not(:defined):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

p-segmented-control[value="all"] p-segmented-control-item[value="all"]:not(:defined),
p-segmented-control[value="sedan"] p-segmented-control-item[value="sedan"]:not(:defined),
p-segmented-control[value="suv"] p-segmented-control-item[value="suv"]:not(:defined),
p-segmented-control[value="truck"] p-segmented-control-item[value="truck"]:not(:defined),
p-segmented-control-item.active:not(:defined),
p-segmented-control-item[selected]:not(:defined) {
  background: var(--accent-red, #e53e3e);
  color: #ffffff;
  border-color: var(--accent-red, #e53e3e);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.table-header-box {
  padding: clamp(24px, 3vw, 36px) !important;
}

.table-header-box .catalog-top-bar {
  display: flex !important;
  width: 100% !important;
  margin-top: 28px !important;
}

.catalog-view-switcher {
  width: min(100%, 320px) !important;
  min-width: 280px !important;
  border-radius: 12px !important;
}

.table-header-box .tire-filter-bar {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto !important;
}

@media (max-width: 760px) {
  .table-header-box {
    padding: 24px 16px !important;
  }

  .table-header-box .catalog-top-bar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    margin-top: 24px !important;
  }

  .catalog-view-switcher {
    width: 100% !important;
    min-width: 0 !important;
  }

  .table-header-box .tire-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Canonical public layout */
:root {
  --bg: #090b0e;
  --ink: #f4f5f7;
  --ink-soft: #d5d9df;
  --ink-muted: #9aa3af;
  --ink-faint: #808b98;
  --canvas-soft: #12161c;
  --field: #181d24;
  --hairline: rgba(255, 255, 255, 0.1);
  --hairline-soft: rgba(255, 255, 255, 0.07);
  --accent: #dc2626;
  --accent-red: #dc2626;
  --on-primary: #ffffff;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-bento: 0 10px 32px rgba(0, 0, 0, 0.2);
  --shadow-bento-hover: 0 16px 42px rgba(0, 0, 0, 0.3);
}

html,
body {
  background: var(--bg);
  color: var(--ink);
}

body {
  line-height: 1.55;
}

.container {
  width: min(100% - 32px, 1240px);
  padding-inline: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding-top: 116px;
  padding-bottom: 56px;
}

.hero-content,
.hero-media {
  min-width: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-brand-tag {
  margin-bottom: 18px;
}

.hero #heroHeadline,
.hero p-heading#heroHeadline,
.hero p-display#heroHeadline {
  max-width: 620px;
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.08;
  text-align: left;
}

.hero-content p-text#heroSubtitle {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--ink-muted) !important;
  line-height: 1.7;
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-top: 28px;
}

.hero-actions p-button {
  min-height: 44px;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-top: 22px;
}

.hero > .hero-media {
  position: relative;
  width: 100%;
  min-height: 420px;
  margin: 0 !important;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: var(--radius-md) !important;
  border-color: var(--hairline) !important;
  box-shadow: var(--shadow-bento) !important;
}

.hero-media:focus-visible {
  outline: 3px solid rgba(229, 62, 62, 0.75);
  outline-offset: 4px;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-media:hover img,
.hero-media:focus-visible img {
  transform: scale(1.03);
}

.workshop-image-overlay {
  background: linear-gradient(to top, rgba(9, 11, 14, 0.94), rgba(9, 11, 14, 0.16) 72%, transparent);
}

.workshop-caption {
  padding: 28px;
}

.workshop-caption h3 {
  margin: 8px 0 0;
  font-size: clamp(20px, 2.2vw, 28px);
}

.bento-grid {
  gap: 20px;
}

.card {
  border-radius: var(--radius-md) !important;
  border-color: var(--hairline-soft) !important;
  box-shadow: var(--shadow-bento) !important;
}

.card:hover {
  border-color: var(--hairline) !important;
  box-shadow: var(--shadow-bento-hover) !important;
}

@media (min-width: 700px) {
  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(28px, 4vw, 64px);
    padding-top: 132px;
    padding-bottom: 72px;
  }

  .hero > .hero-media {
    min-height: clamp(420px, 44vw, 560px) !important;
  }
}

@media (max-width: 699px) {
  .hero {
    gap: 24px;
    padding-top: 104px;
    padding-bottom: 40px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero #heroHeadline,
  .hero p-heading#heroHeadline,
  .hero p-display#heroHeadline,
  .hero-content p-text#heroSubtitle {
    text-align: center;
  }

  .hero-content p-text#heroSubtitle {
    margin-top: 14px;
  }

  .hero-actions,
  .hero-trust-chips {
    justify-content: center;
  }

  .hero-actions p-button {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-media {
    min-height: min(76vw, 360px);
  }

  .workshop-caption {
    padding: 20px;
  }
}

/* Bold Automotive Amplification: Hero & Onsite Service */
#hero {
  padding-top: 40px;
}

.hero-content .hero-brand-tag {
  margin-bottom: 12px;
}

#heroHeadline {
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.hero-actions {
  gap: 14px;
}

#heroBtnMessenger,
#btnEmergencyChat {
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
}

#emergencyCard {
  background: linear-gradient(135deg, rgba(24, 29, 36, 0.98) 0%, rgba(18, 22, 28, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5) !important;
  position: relative;
}

#emergencyCard .emergency-card-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

#emergencyTitle {
  font-size: clamp(28px, 4.2vw, 38px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
  margin-top: 14px !important;
  color: #ffffff !important;
}

#emergencyBadge {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #f59e0b !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.emergency-vehicle-preview {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 900px) {
  #emergencyCard .emergency-card-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

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

  .hero-media img,
  .reveal,
  .card,
  a,
  button {
    transition: none !important;
    animation: none !important;
  }
}