@media (max-width: 700px) {
  .service-detail-full {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 0 18px 0 !important;
  }
  .service-detail-full > div:first-child {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto 12px auto !important;
    text-align: center !important;
    overflow: hidden !important;
  }
  .service-detail-full img.thumb-image {
    width: 100% !important;
    max-width: 400px !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    min-height: 180px;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }
  .service-detail-full > div:last-child {
    align-items: center !important;
    text-align: center !important;
    padding: 0 6vw !important;
    gap: 10px !important;
  }
  .service-detail-full h2,
  .service-detail-full .product-price,
  .service-detail-full .book-btn {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    text-align: center !important;
    align-self: center !important;
  }
  .service-detail-full .book-btn {
    max-width: 320px !important;
    margin: 0 auto !important;
  }
}
@media (max-width: 700px) {
  .product-detail-full {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 0 18px 0 !important;
  }
  .product-detail-full > div:first-child {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto 12px auto !important;
    text-align: center !important;
    overflow: hidden !important;
  }
  .product-detail-full img.thumb-image {
    width: 100% !important;
    max-width: 400px !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    min-height: 180px;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }
  .product-detail-full > div:last-child {
    align-items: center !important;
    text-align: center !important;
    padding: 0 6vw !important;
    gap: 10px !important;
  }
  .product-detail-full h2,
  .product-detail-full .product-price,
  .product-detail-full .book-btn {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    text-align: center !important;
    align-self: center !important;
  }
  .product-detail-full .book-btn {
    max-width: 320px !important;
    margin: 0 auto !important;
  }
}
/* ==== News List Custom Layout ==== */
.news-list-flex {
  display: flex;
  flex-direction: row;
  width: 100%;
  box-sizing: border-box;
}
.gioi-thieu-page .intro-random-slot {
  max-width: 980px;
  margin: 0 auto;
}
.gioi-thieu-page .intro-random-card {
  overflow: hidden;
}

.gioi-thieu-page .post-detail-image-col {
  flex: 0 0 280px;
  max-width: 280px;
}

.gioi-thieu-page .post-detail-image-small {
  width: 260px;
  height: 260px;
  max-width: 260px;
  border-radius: 12px;
}

.gioi-thieu-page .intro-random-content {
  margin-top: 10px;
  color: #1f2a44;
  line-height: 1.75;
}

.gioi-thieu-page .intro-random-content img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .gioi-thieu-page .post-detail-image-small {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    height: 420px !important;
    min-height: 420px;
  }
}

.news-list-image-col {
  flex: 0 0 160px;
  max-width: 160px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.news-list-image {
  width: 100%;
  height: auto;
  border-radius: 6px 0 0 6px;
  object-fit: cover;
  display: block;
}
.news-list-info-col {
  flex: 1 1 0%;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-list-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px 0;
}
.news-list-desc {
  font-size: 0.97rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.service-detail-description img {
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 700px) {
  .news-list-flex {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-sizing: border-box;
    overflow: hidden;
  }
  .news-list-image-col {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    min-height: 180px;
    border-radius: 0;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  .news-list-image {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    border-radius: 0;
    object-fit: cover;
    min-height: 180px;
    height: auto;
    display: block;
    margin: 0;
  }
  .news-list-info-col {
    padding: 14px 6vw 10px 6vw;
  }
}
/* Vehicle detail full width and image on top */
.vehicle-detail-full {
  width: 100%;
  margin: 32px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vehicle-detail-image-wrap {
  width: 100%;
  background: #f7f7f7;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}
.vehicle-detail-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.vehicle-detail-info {
  width: 100%;
  margin: 0 auto;
  padding: 24px 18px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vehicle-detail-info h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 2rem;
  color: var(--brand);
}
@media (max-width: 700px) {
  .vehicle-detail-full {
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0 0 18px 0;
  }
  .vehicle-detail-image-wrap {
    min-height: 180px;
  }
  .vehicle-detail-info {
    padding: 16px 6vw 0 6vw;
  }
}
/* Vehicle detail card style */
.vehicle-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.vehicle-detail-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.5rem;
  color: var(--brand);
}
.vehicle-detail-card div {
  margin-bottom: 8px;
  font-size: 1.08rem;
}
/* Remove underline from all links by default */
a {
  text-decoration: none;
  color: inherit;
}
/* Remove underline from product card name links */
.post-card h3 a {
  text-decoration: none !important;
  color: inherit;
}
.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fff;
}
.result-table th,
.result-table td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  font-size: 0.97rem;
}
.result-table th {
  background: #f3f3f3;
  width: 160px;
  font-weight: 700;
}
.loading {
  color: var(--brand);
  font-weight: 700;
  padding: 8px 0;
}
.error {
  color: #b63f00;
  font-weight: 700;
  padding: 8px 0;
}
.not-found {
  color: #b63f00;
  font-weight: 700;
  padding: 8px 0;
}
:root {
  --bg: #ffffff;
  --text: #1f1f1f;
  --muted: #666666;
  --line: #e5e5e5;
  --brand: #0d3f67;
  --accent: #ef6c00;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body {
  line-height: 1.5;
}

.container {
  width: min(1140px, 94vw);
  margin: 0 auto;
}

.container--full {
  width: 100%;
  max-width: none;
  padding-inline: clamp(16px, 3vw, 40px);
}

.top-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
}

.top-info {
  background: #f5f5f5;
  border-bottom: 1px solid var(--line);
}

.info-row {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.info-row p {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.top-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  text-decoration: none;
  color: var(--brand);
  font-size: 1.8rem;
  font-weight: 900;
}

.logo-short {
  display: none;
}

.menu {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  border-radius: 4px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.menu a {
  text-decoration: none;
  color: #222;
  font-size: 0.95rem;
  font-weight: 500;
}

.menu a.active {
  color: var(--accent);
  font-weight: 700;
}

/* Speed Dial FAB */
.fab-speed-dial {
  position: fixed;
  right: 14px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 58px;
}

.fab-speed-dial-items {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.fab-speed-dial.is-open .fab-speed-dial-items {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.fab-speed-dial-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  white-space: nowrap;
  position: relative;
  transition: filter 0.15s ease;
}
.fab-speed-dial-item:hover { filter: brightness(1.1); }

.fab-speed-dial-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fab-booking { background: #d71920; }
.fab-cart    { background: #1d4ed8; }
.fab-phone   { background: #0f8f66; }

#cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 900;
  margin-left: 2px;
}

.fab-speed-dial-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: background 0.15s ease;
  flex-shrink: 0;
}
.fab-speed-dial-toggle:hover { background: #374151; }

@media (max-width: 700px) {
  .fab-speed-dial {
    right: 12px;
    bottom: 18px;
  }

  .fab-speed-dial-toggle {
    width: 58px;
    height: 58px;
    background: #d71920;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 10px 28px rgba(215, 25, 32, 0.45), 0 0 0 3px rgba(255, 255, 255, 0.22);
  }

  .fab-speed-dial-toggle:hover,
  .fab-speed-dial-toggle:active {
    background: #be151b;
  }

  .fab-speed-dial.is-open .fab-speed-dial-toggle {
    background: #ffffff;
    color: #d71920;
    border-color: #d71920;
  }

  .fab-speed-dial-item {
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.23);
  }
}

@media (min-width: 701px) {
  .fab-speed-dial {
    position: static;
    right: auto;
    bottom: auto;
    width: auto;
    z-index: auto;
    margin-left: 6px;
  }

  .fab-speed-dial-toggle {
    display: none;
  }

  .fab-speed-dial-items {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    margin-bottom: 0;
  }

  .fab-speed-dial-item {
    display: none;
  }

  .fab-speed-dial-item.fab-cart {
    display: inline-flex;
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #d5d9e1;
    background: #fff;
    color: #111827;
    box-shadow: none;
    position: relative;
  }

  .fab-speed-dial-item.fab-cart:hover {
    border-color: #d71920;
    color: #d71920;
    background: #fff5f5;
  }

  .fab-speed-dial-item.fab-cart .fab-speed-dial-item-label {
    display: none;
  }

  .fab-speed-dial-item.fab-cart #cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 0.66rem;
    background: #d71920;
    color: #fff;
    margin-left: 0;
  }
}

.fab-speed-dial-icon {
  align-items: center;
  justify-content: center;
}
.fab-speed-dial-icon--open  { display: inline-flex; }
.fab-speed-dial-icon--close { display: none; }

.fab-speed-dial.is-open .fab-speed-dial-icon--open  { display: none; }
.fab-speed-dial.is-open .fab-speed-dial-icon--close { display: inline-flex; }

/* Hide legacy phone button */
.phone-btn { display: none; }
.booking-fab-btn { display: none; }

.is-draggable-fab {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.is-draggable-fab.is-dragging {
  cursor: grabbing;
}

.is-draggable-fab.is-snapping {
  transition: left 0.38s cubic-bezier(0.22, 1, 0.36, 1), top 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero {
  padding: 16px 0 26px;
}

.hero-banner {
  border-radius: 4px;
  overflow: hidden;
  min-height: 430px;
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.62), rgba(13, 63, 103, 0.62)),
    url("https://images.unsplash.com/photo-1580274455191-1c62238fa333?auto=format&fit=crop&w=1400&q=80") center / cover;
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  padding: 24px;
  color: #fff;
}

.hero-overlay h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  max-width: 18ch;
}

.hero-overlay p {
  margin: 8px 0 0;
  font-size: 1.02rem;
}

.usp-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.usp-item {
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: #fafafa;
  font-weight: 500;
  font-size: 0.92rem;
}

.content-section {
  padding: 18px 0 28px;
}

.section-title {
  margin: 0 0 14px;
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 8px;
}

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

.tin-tuc-page .post-grid.repair-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.parts-layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.parts-page .catalog-search-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 0;
  padding: 14px;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.08);
}

.parts-page .catalog-search-input {
  max-width: 560px;
  border-radius: 0;
}

.parts-search-btn {
  border: 1px solid #d71920;
  background: #d71920;
  color: #fff;
  border-radius: 0;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.parts-search-btn:hover {
  background: #b31117;
  border-color: #b31117;
}

.parts-filter-pane,
.parts-content-pane {
  border: 1px solid var(--line);
  background: #fff;
}

.parts-filter-pane {
  padding: 14px;
  position: sticky;
  top: 106px;
}

.parts-filter-group {
  border: 1px solid #e8edf5;
  background: #fafcff;
  border-radius: 10px;
  overflow: hidden;
}

.parts-filter-group + .parts-filter-group {
  margin-top: 12px;
}

.parts-filter-group-title {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #334155;
  background: #f1f5fb;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.parts-filter-options {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
}

.parts-filter-option {
  position: relative;
  text-align: left;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1f2937;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.parts-filter-option:hover {
  background: #fff0f1;
  border-color: #e07075;
  color: #9f1117;
  box-shadow: 0 7px 16px rgba(215, 25, 32, 0.14);
}

.parts-filter-option:focus-visible {
  outline: none;
  border-color: #d71920;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.18);
}

.parts-filter-option:active {
  transform: translateY(0);
}

.parts-filter-option.is-active {
  border-color: #d71920;
  background: #fff1f2;
  color: #b31117;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(215, 25, 32, 0.16);
}

.parts-content-pane {
  padding: 14px;
}

.parts-page .parts-content-pane .catalog-status,
.parts-page .parts-content-pane .catalog-empty {
  margin: 0 0 12px;
}

.vehicle-layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.vehicle-filter-pane,
.vehicle-content-pane {
  border: 1px solid var(--line);
  background: #fff;
}

.vehicle-filter-pane {
  padding: 14px;
  position: sticky;
  top: 106px;
}

.vehicle-filter-group {
  border: 1px solid #e8edf5;
  background: #fafcff;
  border-radius: 10px;
  overflow: hidden;
}

.vehicle-filter-group + .vehicle-filter-group {
  margin-top: 12px;
}

.vehicle-filter-group-title {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #334155;
  background: #f1f5fb;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.vehicle-filter-options {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
}

.vehicle-filter-option {
  position: relative;
  text-align: left;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1f2937;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.vehicle-filter-option:hover {
  background: #fff0f1;
  border-color: #e07075;
  color: #9f1117;
  box-shadow: 0 7px 16px rgba(215, 25, 32, 0.14);
}

.vehicle-filter-option:focus-visible {
  outline: none;
  border-color: #d71920;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.18);
}

.vehicle-filter-option:active {
  transform: translateY(0);
}

.vehicle-filter-option.is-active {
  border-color: #d71920;
  background: #fff1f2;
  color: #b31117;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(215, 25, 32, 0.16);
}

.vehicle-content-pane {
  padding: 14px;
}

.vehicles-page .vehicle-content-pane .catalog-status,
.vehicles-page .vehicle-content-pane .catalog-empty {
  margin: 0 0 12px;
}

@media (max-width: 980px) {
  .parts-layout {
    grid-template-columns: 1fr;
  }

  .parts-page .catalog-search-wrap {
    justify-content: stretch;
  }

  .parts-page .catalog-search-input {
    max-width: none;
    flex: 1;
  }

  .vehicle-layout {
    grid-template-columns: 1fr;
  }

  .parts-filter-pane {
    position: static;
  }

  .vehicle-filter-pane {
    position: static;
  }
}

.post-card {
  border: 1px solid var(--line);
  background: #fff;
}

.thumb {
  height: 176px;
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.2), rgba(13, 63, 103, 0.2)),
    url("https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=900&q=80") center / cover;
}

.thumb-part-charger {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.2), rgba(13, 63, 103, 0.2)),
    url("https://images.unsplash.com/photo-1593941707882-a56bbc8df0d7?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-part-coolant-pump {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.2), rgba(13, 63, 103, 0.2)),
    url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-part-bms {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.2), rgba(13, 63, 103, 0.2)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-part-inverter {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.2), rgba(13, 63, 103, 0.2)),
    url("https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-part-brake {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.2), rgba(13, 63, 103, 0.2)),
    url("https://images.unsplash.com/photo-1486006920555-c77dcf18193c?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-part-suspension {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.2), rgba(13, 63, 103, 0.2)),
    url("https://images.unsplash.com/photo-1530124566582-a618bc2615dc?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-car-vfe34 {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1592853625511-adf6f5d8a6f3?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-car-vf8 {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1494976688153-c9e2cfb0f7c4?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-car-used {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-car-city {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1542362567-b07e54358753?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-car-suv {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1493238792000-8113da705763?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-car-sedan {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1502877338535-766e1452684a?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.product-grid .post-card {
  display: flex;
  flex-direction: column;
}

.thumb-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.thumb-fallback {
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: #fff;
  font-weight: 700;
  background:
    linear-gradient(135deg, rgba(13, 63, 103, 0.92), rgba(239, 108, 0, 0.85)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 40%);
}

.thumb-fallback span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
}

.product-meta {
  color: #4d6070;
  font-size: 0.84rem;
}

.product-price {
  margin: 0 12px 12px;
  display: block;
  background: none;
  color: #d71920;
  border: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 800;
}

.post-card .product-price {
  color: #d71920;
  font-weight: 800;
}

.order-btn {
  margin: 0 12px 14px;
  padding: 9px 12px;
  background: #fff;
  color: #d71920;
  border: 1px solid #d71920;
  text-decoration: none;
  font-weight: 700;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.post-card[data-product-id] .order-btn {
  width: calc(100% - 24px);
  display: flex;
}

.post-card[data-vehicle-id] .order-btn {
  width: calc(100% - 24px);
  display: flex;
}

.post-card[data-product-id],
.post-card[data-vehicle-id] {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-card[data-product-id] .thumb,
.post-card[data-vehicle-id] .thumb {
  transition: transform 0.25s ease;
}

.post-card[data-product-id]:hover,
.post-card[data-vehicle-id]:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
  border-color: #d1d9e6;
}

.post-card[data-product-id]:hover .thumb,
.post-card[data-vehicle-id]:hover .thumb {
  transform: scale(1.03);
}

.order-btn:hover {
  background: #d71920;
  color: #fff;
}

.post-card h3 {
  margin: 12px 12px 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.post-card p {
  margin: 0 12px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-card[data-product-id] p:not(.product-meta):not(.product-price) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-more {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.section-more a {
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
}

.section-more .book-btn {
  color: #fff;
}

/* Nút đặt lịch sửa chữa */
.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  padding: 10px 18px;
  white-space: nowrap;
}

.book-btn:hover {
  filter: brightness(1.1);
}

.book-btn--lg {
  font-size: 1.05rem;
  padding: 12px 28px;
  margin-bottom: 20px;
}

.why-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
}

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

.why-list {
  margin: 0;
  padding-left: 18px;
}

.why-list li {
  margin-bottom: 9px;
}

.why-list li > a {
  display: block;
  max-width: 100%;
}

[data-home-why-list] li,
[data-home-featured-list] li {
  min-width: 0;
}

[data-home-why-list] li > a,
[data-home-featured-list] li > a {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}

.social-icon-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon-list li {
  margin-bottom: 0;
}

.social-icon-list .social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icon-list .social-icon-link img,
.social-icon-list .social-icon-fallback {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-icon-list .social-icon-link:hover,
.social-icon-list .social-icon-link:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.1);
}

.social-icon-list .social-icon-link:hover img,
.social-icon-list .social-icon-link:focus-visible img,
.social-icon-list .social-icon-link:hover .social-icon-fallback,
.social-icon-list .social-icon-link:focus-visible .social-icon-fallback {
  transform: scale(1.06);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
  border-color: #b7c5dd;
}

.social-icon-list .social-icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #d7deea;
  font-size: 24px;
  background: #fff;
}

.why-side {
  border: 1px solid var(--line);
  padding: 14px;
}

.why-side h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.why-side a {
  display: block;
  text-decoration: none;
  color: var(--brand);
  margin-bottom: 8px;
}

.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.branch-wrap {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.branch-wrap h3 {
  margin: 0 0 8px;
}

.branch-wrap p {
  margin: 6px 0;
  color: #333;
}

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.footer-row {
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-row p {
  margin: 0;
  color: var(--muted);
}

.warranty-wrap {
  padding-top: 8px;
}

.warranty-lead {
  margin: -4px 0 14px;
  color: var(--muted);
}

.catalog-search-wrap {
  margin: 0 0 16px;
}

.catalog-search-label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.catalog-search-input {
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
}

.catalog-empty {
  margin-top: 12px;
  color: #b63f00;
  font-weight: 700;
}

.catalog-status {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 700;
}

.warranty-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 14px;
}

.warranty-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 11px 12px;
  font: inherit;
}

.warranty-form button {
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
}

.warranty-result {
  border: 1px solid var(--line);
  background: #fafafa;
  padding: 12px;
  min-height: 48px;
}

.warranty-result p {
  margin: 6px 0;
}

.warranty-subtitle {
  margin: 18px 0 10px;
  font-size: 1.1rem;
}

.sample-table-wrap {
  overflow-x: auto;
}

.sample-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.sample-table th,
.sample-table td {
  border: 1px solid var(--line);
  padding: 8px;
  text-align: left;
  font-size: 0.9rem;
}

.sample-table th {
  background: #f3f3f3;
}

.section-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  /* Chỉ giữ lại media query mobile cho .post-grid và .repair-grid */
  .post-grid,
  .repair-grid {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  .tin-tuc-page .post-grid.repair-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .top-info {
    display: none;
  }

  .top-row {
    min-height: 64px;
    position: relative;
  }

  .logo-full {
    display: none;
  }

  .logo-short {
    display: inline;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 4px 4px;
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    text-align: left;
  }

  .booking-fab-btn {
    position: fixed;
    right: 14px;
    top: calc(42% - 72px);
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
  }

  .post-grid,
  .branch-wrap,
  .usp-row {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    min-height: 300px;
  }

  .warranty-form {
    grid-template-columns: 1fr;
  }

  .cart-table th:nth-child(2),
  .cart-table td:nth-child(2) {
    display: none;
  }

  .cart-actions-bottom {
    flex-direction: column;
  }

  [data-home-why-list] li > a,
  [data-home-featured-list] li > a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ─── Giỏ hàng ──────────────────────────────────────────────────────────────── */

.cart-table-wrap {
  overflow-x: auto;
}

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

.cart-table th,
.cart-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  font-size: 0.95rem;
  vertical-align: middle;
}

.cart-table th {
  background: #f3f3f3;
  font-weight: 700;
}

.cart-name {
  font-weight: 500;
}

.cart-price,
.cart-subtotal {
  white-space: nowrap;
  color: var(--brand);
  font-weight: 700;
}

 qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

 qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

 qty-btn:hover {
  background: var(--line);
}

 qty-num {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #b63f00;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.cart-remove-btn:hover {
  background: #fff3e0;
}

.cart-summary {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.cart-total-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
}

.cart-total-price {
  font-size: 1.4rem;
  color: #b63f00;
}

.cart-actions-bottom {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-order-btn {
  margin: 0;
  padding: 11px 22px;
  font-size: 1rem;
}

.cart-continue-btn {
  text-decoration: none;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 4px;
  padding: 11px 18px;
  font-weight: 700;
}

.cart-continue-btn:hover {
  background: #f0f5fa;
}

.cart-clear-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 11px 18px;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
}

.cart-clear-btn:hover {
  border-color: #b63f00;
  color: #b63f00;
}

.cart-empty-msg {
  margin: 20px 0 16px;
  font-size: 1rem;
  color: var(--muted);
}

/* ─── Form thông tin đặt hàng ───────────────────────────────────────────────── */

.order-form-title {
  margin: 32px 0 16px;
  font-size: 1.25rem;
  font-weight: 900;
  padding-top: 24px;
  border-top: 3px solid var(--accent);
}

.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.order-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.order-form-group--full {
  grid-column: 1 / -1;
}

.order-form label {
  font-weight: 700;
  font-size: 0.95rem;
}

.required {
  color: #b63f00;
}

.order-form input,
.order-form textarea {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s;
}

.order-form input:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.field-error {
  font-size: 0.82rem;
  color: #b63f00;
  min-height: 1em;
}

.order-form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.order-submit-btn {
  margin: 0;
  padding: 12px 28px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.booking-page .order-submit-btn,
.cart-page .order-submit-btn {
  background: #d71920;
  color: #ffffff;
  border: 1px solid #d71920;
  border-radius: 6px;
}

.booking-page .order-submit-btn:hover,
.cart-page .order-submit-btn:hover {
  background: #ba1017;
  border-color: #ba1017;
  color: #ffffff;
}

.booking-page .order-submit-btn:disabled,
.cart-page .order-submit-btn:disabled {
  background: #f3b7ba;
  border-color: #f3b7ba;
  color: #ffffff;
  cursor: not-allowed;
}

/* ─── Màn hình xác nhận thành công ─────────────────────────────────────────── */

.order-success {
  margin-top: 24px;
  border: 2px solid #2e7d32;
  border-radius: 6px;
  padding: 28px 24px;
  background: #f1faf2;
}

.order-success-icon {
  width: 52px;
  height: 52px;
  background: #2e7d32;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.order-success h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #2e7d32;
}

.order-success p {
  margin: 4px 0;
  font-size: 0.95rem;
}

.order-success-detail {
  margin: 14px 0;
  padding: 12px;
  background: #fff;
  border: 1px solid #c8e6c9;
  border-radius: 4px;
}

.order-success-detail p {
  margin: 4px 0;
}

.order-success-items {
  margin: 12px 0 8px;
  padding-left: 18px;
  font-size: 0.93rem;
}

.order-success-items li {
  margin-bottom: 4px;
}

.order-success-total {
  font-size: 1.05rem;
  margin-top: 10px;
}

.order-success-total strong {
  color: #b63f00;
  font-size: 1.1rem;
}

.order-success-msg {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2e7d32;
}

@media (max-width: 700px) {
  .order-form {
    grid-template-columns: 1fr;
  }
}

/* ─── Trang sửa chữa – bài viết ─────────────────────────────────────────────── */

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

.repair-posts-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.repair-posts-list-pane,
.repair-posts-detail-pane {
  border: 1px solid var(--line);
  background: #fff;
}

.repair-posts-list-title {
  margin: 0;
  padding: 12px 12px 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #1f2a44;
  border-bottom: 1px solid #eef1f5;
}

.repair-posts-detail-pane {
  overflow: hidden;
}

.repair-post-list {
  display: flex;
  flex-direction: column;
  max-height: 72vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.repair-post-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eef1f5;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.repair-post-item:hover {
  background: #fff7f7;
  border-color: #ef9ca0;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(215, 25, 32, 0.12);
}

.repair-post-item.is-active {
  background: linear-gradient(90deg, #ffe9e9 0%, #fff6f6 100%);
  box-shadow: inset 4px 0 0 #d71920, 0 6px 16px rgba(215, 25, 32, 0.12);
  transform: translateX(2px);
}

.repair-post-item.is-active .repair-post-item-title {
  color: #b31117;
}

.repair-post-item-cover {
  width: 100px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: #f1f3f6;
}

.repair-post-item-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #1f2a44;
  font-weight: 700;
}

.repair-post-detail {
  padding: 16px;
}

.repair-post-detail .post-detail-card {
  max-width: 100%;
  overflow: hidden;
}

.repair-post-detail .post-detail-flex {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}

.repair-post-detail .post-detail-image-col {
  flex: 0 0 220px;
  max-width: 220px;
  min-width: 0;
}

.repair-post-detail .post-detail-image-small {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.repair-post-detail .post-detail-title {
  margin-top: 0;
}

.repair-post-detail .post-detail-content img {
  max-width: 100%;
  height: auto;
}

.repair-card {
  display: flex;
  flex-direction: column;
}

.post-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-body h3 {
  margin: 6px 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.post-card-body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.post-tag {
  display: inline-block;
  background: #e8f0f8;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 3px;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.post-meta {
  display: block;
  color: #999;
  font-size: 0.82rem;
  margin-top: 5px;
  font-style: normal;
}

.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: auto;
}

.post-read-more:hover {
  text-decoration: underline;
}

/* Thumb ảnh bài viết sửa chữa */
.thumb-repair-battery {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1593941707882-a56bbc8df0d7?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-repair-motor {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-repair-inverter {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-repair-brake {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1486006920555-c77dcf18193c?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-repair-cooling {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-repair-software {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1551808525-51a94da548ce?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-repair-charging {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1593941707882-a56bbc8df0d7?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-repair-suspension {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1530124566582-a618bc2615dc?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-repair-ac {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-news-market {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-news-tech {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-news-garage {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-news-service {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-news-charge {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1593941707882-a56bbc8df0d7?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-news-team {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-news-update {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.thumb-news-warranty {
  background:
    linear-gradient(0deg, rgba(13, 63, 103, 0.25), rgba(13, 63, 103, 0.25)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1200&q=80") center / cover;
}

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

  .repair-posts-layout {
    grid-template-columns: 1fr;
  }

  .repair-post-list {
    max-height: 420px;
  }

  .repair-post-detail .post-detail-flex {
    flex-direction: column;
  }

  .repair-post-detail .post-detail-image-col {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .repair-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .post-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tin-tuc-page .post-grid.repair-grid {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  .post-card {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    margin-left: -3vw;
    margin-right: -3vw;
    border-left: none;
    border-right: none;
    box-sizing: border-box;
  }
}

/* ─── Trang đặt lịch sửa chữa ───────────────────────────────────────────────── */

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: flex-start;
  margin-top: 8px;
}

.booking-page .booking-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.booking-page .booking-form-wrap {
  width: 100%;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-form .order-form-group--full {
  grid-column: 1 / -1;
}

.booking-form .order-form-actions {
  grid-column: 1 / -1;
}

.booking-form select {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.15s;
}

.booking-form select:focus {
  outline: none;
  border-color: var(--brand);
}

.booking-form input[type="text"],
.booking-form input[type="tel"],
.booking-form input[type="date"],
.booking-form textarea {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s;
  width: 100%;
}

.booking-form input:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-info-card {
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  background: #fafafa;
  padding: 16px;
}

.booking-info-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--brand);
}

.booking-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.booking-info-list li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #444;
  padding-left: 14px;
  position: relative;
}

.booking-info-list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
}

@media (max-width: 860px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .booking-form {
    grid-template-columns: 1fr;
  }
}

.service-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  max-width: 480px;
}
.service-detail-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.5rem;
  color: var(--brand);
}
.service-detail-card div {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

/* --- Vehicle album slider --- */
.vehicle-album-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #f7f7f7;
  border-radius: 10px 10px 0 0;
}
.vehicle-album-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.vehicle-album-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 380px;
  background: #f7f7f7;
}
.vehicle-album-slide img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.vehicle-album-dots {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.vehicle-album-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ccc;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s;
}
.vehicle-album-dot.active {
  background: #b63f00;
}
.vehicle-album-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.5rem;
  color: #b63f00;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.vehicle-album-arrow.left { left: 12px; }
.vehicle-album-arrow.right { right: 12px; }
.vehicle-album-arrow:hover { background: #ffe5d0; }
@media (max-width: 700px) {
  .vehicle-album-slide { height: 200px; }
  .vehicle-album-slide img { max-height: 160px; }
  .vehicle-album-arrow { width: 28px; height: 28px; font-size: 1.1rem; }
  .vehicle-album-dots { bottom: 8px; }
}

/* ===== Redesign Theme ===== */
.top-header-redesign {
  border-bottom: 0;
  background: linear-gradient(180deg, #f3f8ff 0%, #e7f0ff 100%);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.16);
  opacity: 1;
  transition: opacity 0.22s ease;
}

.top-header-redesign .top-row {
  background: transparent;
}

.top-header-redesign.is-top-info-hidden {
  opacity: 0.92;
}

.top-header-redesign .top-info {
  background: #0b0b0d;
  border-bottom: 0;
  max-height: 40px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.24s ease, opacity 0.2s ease;
}

.top-header-redesign.is-top-info-hidden .top-info {
  max-height: 0;
  opacity: 0;
  border-bottom-width: 0;
  pointer-events: none;
}

.top-header-redesign .info-row p {
  color: #d0d4da;
  font-size: 0.78rem;
}

.top-header-redesign .top-row {
  min-height: 78px;
  position: relative;
  gap: 18px;
}

.top-header-redesign .logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 280px;
  height: 78px;
  margin-left: -12px;
  padding: 12px 64px 12px 20px;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.top-header-redesign .logo::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(100% - 1px);
  width: 120vw;
  background: #d71920;
  z-index: -1;
}

.top-header-redesign .logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #d71920;
  clip-path: polygon(0 0, calc(100% - 78px) 0, 100% 100%, 0 100%);
  z-index: -1;
}

.top-header-redesign .logo-image {
  display: block;
  width: 146px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.top-header-redesign .menu a {
  color: #111827;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.top-header-redesign .menu a.active,
.top-header-redesign .menu a:hover {
  color: #d71920;
}

.top-header-redesign .menu {
  margin-left: auto;
  align-items: center;
  flex-wrap: nowrap;
}

.top-header-redesign .menu .menu-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.top-header-redesign .menu .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-header-redesign .menu .menu-item-has-children > a::after {
  content: "▾";
  font-size: 0.66rem;
  line-height: 1;
  color: #6b7280;
  margin-top: -1px;
}

.top-header-redesign .menu .menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.top-header-redesign .menu .menu-submenu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 300px;
  max-width: 300px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.15);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 120;
}

.top-header-redesign .menu .menu-item-has-children:hover .menu-submenu,
.top-header-redesign .menu .menu-item-has-children:focus-within .menu-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.top-header-redesign .menu .menu-submenu .menu-submenu-link {
  display: block;
  text-decoration: none;
  text-transform: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.35;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-header-redesign .menu .menu-submenu:not([data-product-submenu]) .menu-submenu-link + .menu-submenu-link {
  border-top: 1px solid #eceff4;
  margin-top: 2px;
  padding-top: 10px;
}

.top-header-redesign .menu .menu-submenu .menu-submenu-group + .menu-submenu-group {
  border-top: 1px solid #eceff4;
  margin-top: 6px;
  padding-top: 6px;
}

.top-header-redesign .menu .menu-submenu[data-product-submenu] {
  min-width: 280px;
  max-width: 280px;
  overflow: visible;
}

.top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-group {
  position: relative;
}

.top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-group::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 12px;
  height: 100%;
}

.top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-group > .menu-submenu-link {
  padding-right: 24px;
}

.top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-group > .menu-submenu-link::after {
  content: "›";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa3b2;
  font-size: 0.9rem;
}

.top-header-redesign .menu .menu-submenu .menu-submenu-children {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 4px;
  padding-left: 10px;
  border-left: 2px solid #f1f3f7;
}

.top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-children {
  position: absolute;
  top: -8px;
  left: calc(100% + 8px);
  min-width: 260px;
  max-width: 300px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.14);
  padding: 8px;
  margin: 0;
  border-left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 121;
}

.top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-group:hover > .menu-submenu-children,
.top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-group:focus-within > .menu-submenu-children {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.top-header-redesign .menu .menu-submenu .menu-submenu-sublink {
  display: block;
  text-decoration: none;
  text-transform: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.35;
  padding: 6px 10px;
  border-radius: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-header-redesign .menu .menu-submenu .menu-submenu-sublink:hover {
  background: #fff3f4;
  color: #d71920;
}

.top-header-redesign .menu .menu-submenu .menu-submenu-link:hover {
  background: #fff3f4;
  color: #d71920;
}

.top-header-redesign .header-book-btn {
  margin-left: 8px;
}

@media (min-width: 701px) {
  .top-header-redesign .menu .menu-item-toggle {
    display: none;
  }

  .top-header-redesign .menu .header-search-btn {
    text-decoration: none;
    padding: 0;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 999px;
    border: 1px solid #d5d9e1;
    background: #fff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .top-header-redesign .menu .header-search-btn:hover {
    border-color: #d71920;
    color: #d71920;
    background: #fff5f5;
  }

  .top-header-redesign .menu .header-search-btn .header-search-btn-label {
    display: none;
  }

  .top-header-redesign .menu .header-search-btn .header-search-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
}

@media (max-width: 700px) {
  .top-header-redesign .menu .menu-item {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .top-header-redesign .menu .menu-item-has-children {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    position: static;
  }

  .top-header-redesign .menu .menu-item-has-children > a {
    flex: 1 1 0;
    min-width: 0;
    align-self: center;
  }

  .top-header-redesign .menu a {
    text-align: left;
    align-self: flex-start;
  }

  .top-header-redesign .menu .menu-item-has-children > a::after {
    display: none;
  }

  .top-header-redesign .menu .menu-item-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
    width: 36px;
    height: 36px;
    margin-left: auto;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    color: #374151;
    flex-shrink: 0;
  }

  .top-header-redesign .menu .menu-item-toggle-icon {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.2s ease;
  }

  .top-header-redesign .menu .menu-item-has-children.is-open > .menu-item-toggle .menu-item-toggle-icon {
    transform: rotate(225deg);
    margin-top: 4px;
  }

  .top-header-redesign .menu .menu-submenu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 2px solid #e5e7eb !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 4px !important;
    margin-left: 8px !important;
    padding: 0 0 0 10px !important;
    gap: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    pointer-events: none !important;
    transition: max-height 0.3s ease, opacity 0.2s ease !important;
    flex-direction: column !important;
    display: flex !important;
  }

  .top-header-redesign .menu .menu-item-has-children.is-open > .menu-submenu {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 2000px !important;
    pointer-events: auto !important;
  }

  .top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-children {
    position: static !important;
    top: auto !important;
    left: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 2px solid #eceff4 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 0 10px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    transition: none !important;
    z-index: auto !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-group:hover > .menu-submenu-children,
  .top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-group:focus-within > .menu-submenu-children {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .top-header-redesign .menu .menu-submenu .menu-submenu-link {
    padding: 6px 2px;
    font-size: 0.88rem;
    color: #4b5563;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .top-header-redesign .menu .menu-submenu:not([data-product-submenu]) .menu-submenu-link + .menu-submenu-link {
    margin-top: 0;
    padding-top: 6px;
  }

  .top-header-redesign .menu .menu-submenu .menu-submenu-group + .menu-submenu-group {
    border-top: 0;
    margin-top: 2px;
    padding-top: 2px;
  }

  .top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-group::after {
    display: none;
  }

  .top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-group > .menu-submenu-link {
    padding-right: 2px;
  }

  .top-header-redesign .menu .menu-submenu[data-product-submenu] .menu-submenu-group > .menu-submenu-link::after {
    display: none;
  }

  .top-header-redesign .menu .menu-submenu .menu-submenu-children {
    margin: 0;
    padding-left: 10px;
    border-left: 2px solid #eceff4;
    display: flex;
    flex-direction: column;
  }

  .top-header-redesign .menu .menu-submenu .menu-submenu-sublink {
    padding: 5px 2px;
    font-size: 0.84rem;
    color: #6b7280;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .top-header-redesign .menu .header-search-btn {
    text-decoration: none;
    color: #111827;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
  }

  .top-header-redesign .menu .header-search-btn .header-search-btn-icon {
    display: none;
  }
}

.header-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d71920;
  color: #fff;
  border-radius: 6px;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  white-space: nowrap;
}

.header-book-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.header-book-btn:hover {
  background: #ba1017;
}

.home-page {
  background: #f5f6f8;
}

.home-page .content-section {
  padding: 56px 0;
}

.home-page .section-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d71920;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.home-page .section-title {
  text-align: center;
  border-bottom: 0;
  font-size: clamp(1.7rem, 3.8vw, 2.3rem);
  color: #1f2a44;
  margin-bottom: 8px;
  text-transform: none;
}

.home-page .section-lead {
  margin: 0 auto 18px;
  max-width: 760px;
  text-align: center;
  color: #5f6675;
}

.hero-redesign {
  padding: 0;
}

.hero-redesign > .container {
  width: 100%;
  max-width: none;
}

.hero-banner-redesign {
  min-height: calc(100vh - 114px);
  background:
    linear-gradient(118deg, rgba(8, 9, 13, 0.9) 20%, rgba(215, 25, 32, 0.82) 48%, rgba(17, 18, 24, 0.6) 70%),
    url("https://images.unsplash.com/photo-1486006920555-c77dcf18193c?auto=format&fit=crop&w=1800&q=80") center / cover;
  border-radius: 0;
  position: relative;
}

.hero-overlay-redesign {
  padding: 60px 52px;
  max-width: 660px;
}

.hero-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #ffd7d9;
}

.hero-overlay-redesign h1 {
  max-width: 18ch;
}

.hero-cta-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 2px;
}

.brand-strip {
  background: #fff;
  border-top: 1px solid #e6e8ed;
  border-bottom: 1px solid #e6e8ed;
}

.brand-strip-row {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 18px 0;
}

.brand-strip-loading {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: #6b7280;
  font-weight: 600;
}

.brand-strip-track {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  animation: brandScroll 32s linear infinite;
}

.brand-strip-row:hover .brand-strip-track {
  animation-play-state: paused;
}

.brand-logo-card {
  width: 180px;
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e6e9ef;
}

.brand-logo-card img {
  width: 100%;
  max-width: 156px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
}

@keyframes brandScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.home-about {
  background: #fff;
  padding: 52px 0;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.home-about-media {
  display: block;
}

.home-about-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.home-about-content h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  color: #1d2740;
}

.home-about-content p {
  color: #4d5568;
}

.home-about-content .book-btn {
  background: #d71920;
  color: #fff;
}

.home-about-content .book-btn:hover {
  background: #ba1017;
  filter: none;
}

.home-services {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.9)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.home-services .section-title,
.home-services .section-lead,
.home-services .catalog-status,
.home-services .catalog-empty {
  color: #f4f6fb;
}

.home-services .post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-services .post-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.home-services .post-card .thumb {
  height: 100%;
  min-height: 320px;
}

.home-services .post-card .thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-services .post-card .post-card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.84) 40%, rgba(0, 0, 0, 0.96) 100%);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.home-services .post-card .post-card-body h3,
.home-services .post-card .post-card-body p,
.home-services .post-card .post-read-more {
  color: #ffffff;
}

.home-services .post-card .post-card-body h3 {
  margin: 0 0 6px;
}

.home-services .post-card .post-card-body p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-services .post-card .post-read-more {
  margin-top: 10px;
  display: inline-block;
  font-weight: 700;
}

.home-services .post-card:hover .post-card-body {
  background: rgba(255, 255, 255, 0.96);
}

.home-services .post-card:hover .post-card-body h3,
.home-services .post-card:hover .post-card-body p,
.home-services .post-card:hover .post-read-more {
  color: #121418;
}

.home-services .section-more .book-btn {
  background: #d71920;
  color: #ffffff;
}

.home-services .section-more .book-btn:hover {
  background: #ba1017;
  color: #ffffff;
  filter: none;
}

.home-products {
  background: #f5f6f8;
}

.home-product-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 12px;
  margin: 10px 0 10px;
  background: #ffffff;
  border: 1px solid #e1e7f1;
  border-radius: 14px;
  scrollbar-width: thin;
  scrollbar-color: #c2c8d4 transparent;
}

.home-page .home-about-content .book-btn,
.home-page .section-more .book-btn {
  background: #ffffff;
  color: #d71920;
  border: 1px solid #d71920;
  border-radius: 0;
}
.home-page .home-about-content .book-btn:hover,
.home-page .section-more .book-btn:hover {
  background: #d71920;
  color: #ffffff;
  border-color: #d71920;
  filter: none;
}
.home-product-categories::-webkit-scrollbar {
  height: 8px;
}

.home-product-categories::-webkit-scrollbar-thumb {
  background: #c2c8d4;
  border-radius: 999px;
}

.home-product-categories::-webkit-scrollbar-track {
  background: transparent;
}

.home-product-category-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d8deea;
  border-radius: 999px;
  padding: 8px 14px;
  background: #ffffff;
  color: #243049;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-product-category-tab:not(.is-selected):hover {
  border-color: #e07075;
  background: #fff0f1;
  color: #9f1117;
  box-shadow: 0 8px 16px rgba(215, 25, 32, 0.14);
  transform: translateY(-1px);
}

.home-product-category-tab:not(.is-selected):focus-visible {
  outline: none;
  border-color: #d71920;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.18);
}

.home-product-category-tab.is-selected {
  background: #d71920;
  border-color: #d71920;
  color: #ffffff;
}

.home-products .post-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-products .post-card {
  border: 1px solid #e3e7ef;
  box-shadow: 0 8px 24px rgba(15, 20, 30, 0.05);
}

.home-vehicles {
  background: #f5f6f8;
}

.home-vehicles .post-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-vehicles .post-card {
  border: 1px solid #e3e7ef;
  box-shadow: 0 8px 24px rgba(15, 20, 30, 0.05);
}

.home-vehicles .section-more .book-btn {
  background: #d71920;
  color: #fff;
}

.home-vehicles .section-more .book-btn:hover {
  background: #ba1017;
  color: #fff;
  filter: none;
}

.home-news {
  background: #fff;
}

.home-news .post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-news .news-list-flex {
  display: block;
  border: 1px solid #e6e9ef;
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-news .news-list-image-col,
.home-news .news-list-image {
  width: 100%;
  max-width: none;
}

.home-news .news-list-image {
  height: 180px;
  border-radius: 0;
  transition: transform 0.35s ease;
}

.home-news .news-list-title {
  transition: color 0.25s ease;
}

.home-news .post-read-more {
  transition: transform 0.25s ease, color 0.25s ease;
}

.home-news .news-list-flex:hover,
.home-news .news-list-flex:focus-within {
  transform: translateY(-5px);
  border-color: #d4dbe8;
  box-shadow: 0 16px 30px rgba(13, 18, 28, 0.12);
}

.home-news .news-list-flex:hover .news-list-image,
.home-news .news-list-flex:focus-within .news-list-image {
  transform: scale(1.06);
}

.home-news .news-list-flex:hover .news-list-title,
.home-news .news-list-flex:focus-within .news-list-title {
  color: #d71920;
}

.home-news .news-list-flex:hover .post-read-more,
.home-news .news-list-flex:focus-within .post-read-more {
  transform: translateX(4px);
}

.home-social {
  padding-top: 32px;
}

.section-more-center {
  align-items: center;
  justify-content: center;
}

.site-footer {
  margin-top: 0;
  border-top: 0;
  background: #090b0f;
  color: #c7cedc;
  padding: 20px 0 24px;
}

.footer-top-contact {
  background: linear-gradient(90deg, #d71920, #ef3b40);
  padding: 14px 18px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.footer-top-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 22px;
}

.footer-main-grid h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.footer-main-grid p,
.footer-main-grid li {
  margin: 0 0 7px;
  color: #b8c0cf;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-main-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-main-grid a {
  color: #d4d9e5;
  text-decoration: none;
}

.footer-main-grid a:hover {
  color: #ff686d;
}

.footer-branches-wrap {
  margin-top: 0;
}

.footer-branches-wrap h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
}

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

.footer-branch-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
}

.footer-branch-map {
  width: 100%;
  height: 150px;
  background: #11161f;
}

.footer-branch-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-branch-map-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9da8bb;
  font-size: 0.86rem;
}

.footer-branch-info {
  padding: 10px 12px 12px;
}

.footer-branch-info h5 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 0.9rem;
}

.footer-branch-info p {
  margin: 0 0 6px;
  color: #c2cadd;
  font-size: 0.83rem;
  line-height: 1.45;
}

.footer-branch-working-hours p {
  margin: 0 0 4px;
  color: #c2cadd;
  font-size: 0.83rem;
  line-height: 1.45;
}

.footer-branch-working-hours div {
  color: #c2cadd;
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-branch-working-hours div p {
  margin: 0 0 4px;
}

.footer-branch-info a {
  color: #ff8e92;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-branch-info a:hover {
  color: #ffb4b7;
}

.footer-branches-empty {
  margin: 0;
  color: #b8c0cf;
  font-size: 0.88rem;
}

@media (max-width: 700px) {
  .footer-branches-grid {
    grid-template-columns: 1fr;
  }
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 18px;
  padding-top: 14px;
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  color: #8f97a6;
  font-size: 0.82rem;
}

@media (max-width: 1024px) {
  .brand-logo-card {
    width: 150px;
  }

  .brand-logo-card img {
    max-width: 132px;
    height: 44px;
  }

  .home-about-grid {
    grid-template-columns: 1fr;
  }

  .home-products .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-vehicles .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-product-categories {
    margin-bottom: 10px;
  }

  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 700px) {
  .top-header-redesign .top-row {
    min-height: 68px;
  }

  .top-header-redesign .logo {
    width: 190px;
    height: 64px;
    margin-left: -8px;
    padding: 10px 42px 10px 14px;
  }

  .top-header-redesign .logo::after {
    clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 100%, 0 100%);
  }

  .top-header-redesign .logo-image {
    width: 112px;
    max-height: 36px;
  }

  .header-book-btn {
    display: none;
  }

  .hero-banner-redesign {
    min-height: calc(100vh - 64px);
  }

  .hero-overlay-redesign {
    padding: 34px 20px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-strip-track {
    animation-duration: 24s;
  }

  .brand-logo-card {
    width: 136px;
    min-height: 58px;
  }

  .brand-logo-card img {
    max-width: 120px;
    height: 40px;
  }

  .home-page .content-section {
    padding: 38px 0;
  }

  .home-services .post-grid,
  .home-products .post-grid,
  .home-vehicles .post-grid,
  .home-news .post-grid {
    grid-template-columns: 1fr;
  }

  .home-product-categories {
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 8px;
  }

  .home-product-category-tab {
    padding: 7px 12px;
    font-size: 0.86rem;
  }

  .footer-top-contact {
    grid-template-columns: 1fr;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
  }

}
