:root {
  --bg: #ffffff;
  --text: #1f2a37;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --surface: #ffffff;
  --line: #d8d1c7;
  --brand-strip: #121417;
}

body.theme-hari_raya {
  --bg: #f1f8ea;
  --text: #183a1d;
  --accent: #2f855a;
  --accent-dark: #276749;
  --surface: #ffffff;
  --line: #c7ddc7;
}

body.theme-chinese_new_year {
  --bg: #fff3e8;
  --text: #5d1f1f;
  --accent: #b83232;
  --accent-dark: #972727;
  --surface: #fffaf2;
  --line: #f0c6a7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.impersonation-popout {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(320px, calc(100vw - 2rem));
  background: #fff7d6;
  border: 1px solid #f4c95d;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  padding: 1rem;
  z-index: 50;
}

.impersonation-popout p {
  margin: 0 0 0.7rem;
}

.impersonation-popout__hint {
  font-size: 0.92rem;
  color: #7c5e10;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.site-footer {
  margin-top: 3rem;
}

.brand {
  order: 1;
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
  margin-right: 0.75rem;
}

.top-nav {
  order: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 0;
}

.top-nav__desktop-only {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.35rem 0.5rem;
  border: 1px solid #dfd6cb;
  border-radius: 999px;
  background: #fff;
}

.language-switch__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.language-switch__select {
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.language-switch__select:focus {
  outline: none;
}

.top-nav__item,
.dropdown-nav summary {
  background: #fff;
  border: 1px solid #dfd6cb;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.dropdown-nav {
  position: relative;
}

.dropdown-nav[open] .dropdown-nav__menu {
  display: grid;
}

.dropdown-nav__menu {
  display: none;
  position: absolute;
  top: 2.4rem;
  right: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 20;
}

.dropdown-nav__menu a {
  color: var(--text);
  text-decoration: none;
  padding: 0.65rem 0.8rem;
}

.dropdown-nav__menu a:hover {
  background: #f7f4ee;
}

.nav-sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  border: 1px solid #dfd6cb;
  background: #fff;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
}

.nav-sidebar {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
}

.nav-sidebar.is-open {
  display: block;
}

.nav-sidebar__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.45);
}

.nav-sidebar__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  border-right: 1px solid var(--line);
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.12);
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
}

.nav-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-sidebar__close {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid #dfd6cb;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
}

.nav-sidebar__links {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.nav-sidebar__links a {
  display: block;
  padding: 0.72rem 0.75rem;
  border: 1px solid #e5ddd2;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.nav-sidebar__links a:hover {
  background: #f7f4ee;
}

body.nav-sidebar-open {
  overflow: hidden;
}

.home-banner {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.home-banner__text h1 {
  margin-top: 0;
  font-size: 2rem;
}

.home-banner__image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 14px;
}

.home-tiktok-section {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.home-tiktok-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-primary);
}

.home-tiktok-embed {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.home-tiktok-embed iframe {
  width: 100%;
  height: 600px;
  border: none;
}

.home-tiktok-carousel {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home-tiktok-carousel__track {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.home-tiktok-carousel__slide {
  display: none;
  margin: 0;
}

.home-tiktok-carousel__slide.is-active {
  display: block;
}

.home-tiktok-carousel__slide iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: block;
}

.home-tiktok-carousel__controls {
  display: none;
}

.home-tiktok-carousel__arrow {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: #fff;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.home-tiktok-carousel__arrow:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.home-tiktok-carousel__dots {
  margin-top: 0.65rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.home-tiktok-carousel__dots-wrapper {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.home-tiktok-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
}

.home-tiktok-carousel__dot.is-active {
  width: 20px;
  background: #ff5b00;
}

.home-carousel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.home-wide-strip {
  margin-top: 0.7rem;
  background: var(--brand-strip);
  color: #fff;
  border-radius: 0;
  padding: 0.7rem 1rem;
  text-align: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.home-wide-strip p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.home-carousel__track {
  position: relative;
  min-height: 300px;
}

.home-carousel__slide {
  display: none;
  margin: 0;
}

.home-carousel__slide.is-active {
  display: block;
}

.home-carousel__slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

.home-carousel__slide figcaption {
  margin-top: 0.6rem;
  font-weight: 600;
}

.home-carousel__controls {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
}

.home-carousel__dots {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
}

.home-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
}

.home-carousel__dot.is-active {
  width: 20px;
  background: #ff5b00;
}

.inventory-home-list {
  margin-top: 1.2rem;
}

.inventory-home-list__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.vehicle-card__price {
  font-size: 1.55rem;
  margin: 0.3rem 0;
  color: #ff5b00;
}

.btn,
button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
button:hover {
  background: var(--accent-dark);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.admin-card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-card-actions form {
  display: block;
  max-width: none;
}

.btn--danger,
button.btn--danger {
  background: #b91c1c;
}

.btn--danger:hover,
button.btn--danger:hover {
  background: #991b1b;
}

.vehicle-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  background: #efe7dc;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.checkbox-row input {
  width: auto;
}

form {
  display: grid;
  gap: 0.8rem;
  max-width: 560px;
}

.error-text {
  color: #b91c1c;
  font-weight: 600;
}

.success-text {
  color: #166534;
  font-weight: 700;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  margin: 0.3rem 0 0.8rem;
}

.content-admin-page {
  display: grid;
  gap: 0.8rem;
}

.content-admin-page__hint {
  margin: -0.15rem 0 0.2rem;
  color: #4b5563;
}

.homepage-content-form {
  max-width: none;
  display: grid;
  gap: 1rem;
}

.content-tabs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.content-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.content-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.content-panel {
  display: grid;
  gap: 1rem;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.content-card__title {
  margin: 0;
  color: var(--accent-dark);
  font-size: 1.02rem;
}

.content-form-grid-2,
.content-form-grid-3 {
  display: grid;
  gap: 0.75rem;
}

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

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

.content-checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
}

.content-checkbox-row input {
  width: auto;
}

.tiktok-preview-line {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px dashed #a3a3a3;
  background: #fafaf9;
  font-size: 0.9rem;
}

.tiktok-preview-value {
  color: #0f172a;
  word-break: break-all;
}

.homepage-content-form__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.3rem;
}

.tiktok-manager {
  display: grid;
  gap: 0.9rem;
}

.tiktok-manager__actions {
  display: flex;
}

.tiktok-video-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem;
  display: grid;
  gap: 0.6rem;
  background: #fff;
}

.tiktok-video-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tiktok-video-item__remove {
  padding: 0.35rem 0.7rem;
}

.tiktok-preview-embed {
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  padding: 0.55rem;
  background: #fafafa;
}

.tiktok-preview-embed iframe {
  border: 0;
  border-radius: 8px;
}

.tiktok-preview-empty {
  color: #6b7280;
  font-size: 0.88rem;
}

.locations-map-card {
  position: relative;
  margin: 1rem 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.locations-map-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.locations-map-card__frame {
  width: 100%;
  height: 280px;
  border: 0;
  pointer-events: none;
}

.locations-map-card__meta {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem 1rem 1rem;
  border-top: 1px solid var(--line);
}

.locations-map-card__meta p {
  margin: 0;
}

.locations-map-card__meta .btn {
  width: fit-content;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8bfb2;
  border-radius: 8px;
  padding: 0.6rem;
  font: inherit;
}

@media (max-width: 720px) {
  .site-header .container {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }

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

  .home-carousel__slide img {
    height: 220px;
  }

  .grid--two {
    grid-template-columns: 1fr;
  }

  .top-nav {
    width: auto;
    margin-left: auto;
  }

  .locations-map-card__frame {
    height: 230px;
  }

  .content-form-grid-2,
  .content-form-grid-3 {
    grid-template-columns: 1fr;
  }

  .home-tiktok-carousel {
    max-width: 100%;
    gap: 0.75rem;
  }

  .home-tiktok-carousel__arrow {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }

  .home-tiktok-carousel__slide iframe {
    height: 520px;
  }
}

@media (max-width: 920px) {
  .top-nav {
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
  }

  .top-nav__desktop-only {
    display: none;
  }

  .nav-sidebar-toggle {
    display: inline-flex;
  }

  .language-switch {
    margin-left: auto;
    padding: 0.35rem 0.5rem;
  }

  .language-switch__label {
    display: none;
  }

  .dropdown-nav summary {
    padding: 0.48rem 0.7rem;
  }
}

/* ============================================================
   ADD CAR PAGE — Modern form
   ============================================================ */

.add-car-form {
  max-width: none;
  display: block;
}

.add-car-page {
  padding: 1.5rem 0 3rem;
}

.page-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.page-hero__subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.add-car-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 1.5rem;
  align-items: start;
}

.car-details-col,
.car-images-col {
  display: flex;
  flex-direction: column;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.form-card--sticky {
  position: sticky;
  top: 1rem;
}

.form-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-card__hint {
  font-size: 0.82rem;
  color: #6b7280;
  margin: -0.75rem 0 1rem;
}

.form-field {
  margin-bottom: 0.9rem;
}

.form-field--center {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}

.field-input {
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 0.93rem;
  background: #fafafa;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.field-textarea {
  resize: vertical;
  min-height: 110px;
}

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

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}

.btn--cancel {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--text);
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn--cancel:hover {
  background: #f3f4f6;
  color: var(--text);
}

.btn--submit {
  padding: 0.65rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.alert--error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ---- Image uploader ---- */

.image-file-input {
  display: none;
}

.image-drop-area {
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #6b7280;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 0.75rem;
}

.image-drop-area.drag-active {
  border-color: var(--accent);
  background: rgba(15, 118, 110, 0.04);
}

.image-drop-area svg {
  display: block;
  margin: 0 auto 0.5rem;
  color: #9ca3af;
}

.image-drop-area p {
  margin: 0.25rem 0;
  font-size: 0.88rem;
}

.drop-hint {
  font-size: 0.75rem !important;
  color: #9ca3af;
}

.btn--pick {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  margin: 0.4rem 0;
}

.img-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.img-preview-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  animation: fadeSlideIn 0.18s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.img-thumb-wrap {
  position: relative;
  flex-shrink: 0;
}

.img-preview-thumb {
  width: 68px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.img-order-badge {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.img-item-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.img-file-name {
  font-size: 0.78rem;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.img-item-controls {
  display: flex;
  gap: 0.2rem;
  flex-shrink: 0;
}

.img-ctrl-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s, border-color 0.12s;
  color: var(--text);
}

.img-ctrl-btn:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.img-ctrl-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.img-ctrl-btn--remove:hover:not(:disabled) {
  background: #fee2e2;
  border-color: #f87171;
  color: #dc2626;
}

.badge-count {
  font-size: 0.73rem;
  font-weight: 400;
  color: #6b7280;
  background: #f3f4f6;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.reorder-hint {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .add-car-layout {
    grid-template-columns: 1fr;
  }

  .form-card--sticky {
    position: static;
  }
}

/* ============================================================
   INVENTORY LISTING - Modern Carro-style cards
   ============================================================ */

.inventory-section {
  padding: 2rem 0;
}

.inventory-section__header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.inventory-section__header h1 {
  font-size: 1.8rem;
  margin: 0 0 0.3rem;
  color: var(--text);
}

.inventory-section__header p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.inventory-controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.inventory-controls--carro {
  flex-direction: column;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
}

.inventory-search {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  background: #fafafa;
}

.inventory-search:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
  background: #fff;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip-select,
.filter-chip-input {
  border: 1px solid #d3d5d9;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: #fff;
  color: #32363d;
  min-width: 120px;
  font-size: 0.82rem;
  line-height: 1.2;
}

.filter-chip-input {
  width: 140px;
}

.inventory-controls__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-filter-form {
  position: relative;
}

.home-wide-search-wrap {
  position: relative;
  width: 100%;
}

.home-wide-search {
  width: 100%;
  min-width: 100%;
  padding-right: 9.5rem;
}

.home-clear-all-link {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #b6b6b6;
  text-decoration: none;
  font-size: 0.9rem;
}

.home-clear-all-link:hover {
  color: #8d8d8d;
}

.home-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-menu {
  position: relative;
}

.filter-menu summary {
  list-style: none;
  border: 1px solid #d3d5d9;
  border-radius: 14px;
  background: #fff;
  padding: 0.62rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #32363d;
  cursor: pointer;
  user-select: none;
}

.filter-menu summary::-webkit-details-marker {
  display: none;
}

.filter-menu[open] summary {
  background: #ff5b00;
  color: #fff;
  border-color: #ff5b00;
}

.filter-menu__panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  z-index: 30;
  width: 330px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  padding: 1rem;
}

.filter-menu__panel--wide {
  width: 380px;
}

.filter-menu__panel h4 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  color: #262626;
}

.filter-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.filter-field-grid label,
.filter-menu__panel label {
  display: grid;
  gap: 0.35rem;
}

.filter-field-grid span,
.filter-menu__panel label span {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
}

.filter-menu__footer {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
}

.inventory-home-list__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.inventory-home-list__count {
  font-size: 0.88rem;
  color: #6b7280;
  font-weight: 600;
}

.btn--filter,
.btn--sort {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text);
}

.btn--filter:hover,
.btn--sort:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.vehicle-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.vehicle-card-modern {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: box-shadow 0.25s, transform 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vehicle-card-modern:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.vehicle-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.vehicle-card-image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #efe7dc;
}

.vehicle-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.vehicle-card-modern:hover .vehicle-card-image {
  transform: scale(1.05);
}

.vehicle-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

.vehicle-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #ff5722;
  color: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vehicle-sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.vehicle-card-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vehicle-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.3;
}

.vehicle-payment-row {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.vehicle-payment-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.vehicle-payment-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff5722;
}

.vehicle-payment-period {
  font-size: 0.8rem;
  color: #6b7280;
}

.vehicle-payment-note {
  font-size: 0.7rem;
  color: #9ca3af;
  margin: 0 0 0.5rem;
}

.vehicle-price-row {
  margin-bottom: 0.75rem;
}

.vehicle-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.vehicle-specs-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

.spec-item {
  font-size: 0.8rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.spec-icon {
  display: inline-block;
  width: 16px;
}

.vehicle-status {
  margin-top: auto;
}

.status-badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge--available {
  background: #d1fae5;
  color: #065f46;
}

.status-badge--reserved {
  background: #fef3c7;
  color: #92400e;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
}

/* ============================================================
   VEHICLE DETAIL PAGE - Tabbed layout + Gallery
   ============================================================ */

.vehicle-detail-page {
  padding: 1rem 0 2rem;
}

.vehicle-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.vehicle-hero__gallery {
  position: relative;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

.gallery-carousel {
  position: relative;
  width: 100%;
}

.carousel-slide {
  display: none;
  margin: 0;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.carousel-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.8rem;
  margin: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: #fff;
}

.carousel-btn--prev {
  left: 1rem;
}

.carousel-btn--next {
  right: 1rem;
}

.no-photos {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.vehicle-hero__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vehicle-hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
}

.vehicle-hero__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text);
}

.payment-highlight {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
  padding: 0.75rem 0;
  border-bottom: 2px solid var(--line);
}

.payment-figure {
  font-size: 2rem;
  font-weight: 700;
  color: #ff5722;
}

.payment-period {
  font-size: 0.9rem;
  color: #6b7280;
}

.payment-note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin: 0 0 1rem;
}

.price-display {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

.price-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.drive-away {
  background: #f0f9ff;
  border-left: 3px solid var(--accent);
  padding: 0.6rem 0.75rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.drive-away strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent-dark);
}

.vehicle-detail-badge {
  background: #ff5722;
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.vehicle-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn--primary,
.btn--secondary {
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn--primary {
  background: #ff5722;
  color: #fff;
}

.btn--primary:hover {
  background: #e64320;
}

.btn--secondary {
  background: transparent;
  border: 1.5px solid #ff5722;
  color: #ff5722;
}

.btn--secondary:hover {
  background: #fff5f0;
}

.btn--block {
  width: 100%;
}

/* ---- Tabs ---- */

/* ============================================================
   VEHICLE DETAIL — STICKY SECTION NAV
   ============================================================ */

.vd-section-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 2px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.vd-section-nav .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.vd-section-nav__link {
  padding: 1rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.vd-section-nav__link:hover {
  color: #1a1a1a;
}

.vd-section-nav__link.is-active {
  color: #ff5722;
  border-bottom-color: #ff5722;
}

/* ============================================================
   VEHICLE DETAIL — STACKED SECTIONS
   ============================================================ */

.vd-sections {
  padding: 0 0 3rem;
}

.vd-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  scroll-margin-top: 110px;
}

.vd-section:last-child {
  border-bottom: none;
}

.vd-section__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f3f4f6;
}

.similar-intro {
  color: #6b7280;
  margin: -0.5rem 0 1.5rem;
  font-size: 0.95rem;
}

.tab-placeholder {
  text-align: center;
  color: #9ca3af;
  padding: 2rem;
}

/* ============================================================
   FINANCING TAB
   ============================================================ */

.financing-tab {
  padding: 1rem 0;
  max-width: 640px;
}

.financing-tab h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.financing-intro {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

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

.financing-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.financing-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.financing-field input,
.financing-field select {
  padding: 0.6rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #1a1a1a;
  background: #fff;
}

.financing-field input:focus,
.financing-field select:focus {
  outline: none;
  border-color: #25d366;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.15);
}

.financing-result {
  background: #f0fdf4;
  border: 2px solid #25d366;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.financing-result__label {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.financing-result__amount {
  font-size: 2rem;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 0.5rem;
}

.financing-result__note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin: 0;
}

.financing-cta {
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .financing-calculator {
    grid-template-columns: 1fr;
  }

  .home-tiktok-carousel {
    max-width: 100%;
    gap: 0.5rem;
  }

  .home-tiktok-carousel__arrow {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
  }

  .home-tiktok-carousel__slide iframe {
    height: 450px;
  }
}

/* ============================================================
   SIMILAR CARS TAB
   ============================================================ */

.similar-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.similar-cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.similar-car-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  background: #fff;
  display: block;
}

.similar-car-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.similar-car-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

.similar-car-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.similar-car-card__no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

.similar-car-card__info {
  padding: 0.9rem 1rem;
}

.similar-car-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.3rem;
  color: #1a1a1a;
}

.similar-car-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: #16a34a;
  margin: 0 0 0.3rem;
}

.similar-car-card__meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.spec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem;
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}

.spec-card .spec-icon {
  font-size: 1.8rem;
}

.spec-label {
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.spec-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.vehicle-description {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.vehicle-description h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 0 0.6rem;
  color: var(--text);
}

.vehicle-description p {
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

@media (max-width: 900px) {
  .vehicle-hero {
    grid-template-columns: 1fr;
  }

  .tabs-nav {
    overflow-x: auto;
  }

  .tab-btn {
    min-width: 140px;
    font-size: 0.85rem;
  }

  .specs-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

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

  .inventory-controls {
    flex-direction: column;
  }

  .filter-chip-select,
  .filter-chip-input {
    width: 100%;
    min-width: 100%;
  }

  .inventory-search {
    min-width: 100%;
  }

  .home-wide-search {
    padding-right: 1rem;
  }

  .home-clear-all-link {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 0.45rem;
  }

  .home-filter-buttons {
    width: 100%;
  }

  .filter-menu {
    width: 100%;
  }

  .filter-menu summary {
    width: 100%;
  }

  .filter-menu__panel,
  .filter-menu__panel--wide {
    position: static;
    width: 100%;
    margin-top: 0.45rem;
  }

  .filter-field-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-hero {
    margin-bottom: 1rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .carousel-btn--prev {
    left: 0.5rem;
  }

  .carousel-btn--next {
    right: 0.5rem;
  }

  .tab-content {
    padding: 1.5rem 1rem;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .spec-card {
    padding: 0.9rem;
  }

  .spec-card .spec-icon {
    font-size: 1.4rem;
  }

  .tab-btn {
    min-width: 110px;
    padding: 0.8rem 0.5rem;
    font-size: 0.8rem;
  }
}

/* ============================================================
   FLOATING WHATSAPP BUBBLE
   ============================================================ */

.whatsapp-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 40;
  transition: all 0.3s ease;
  animation: whatsappBounce 2s infinite;
}

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

.whatsapp-bubble:hover {
  background: #1ebd57;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  transform: scale(1.1);
  animation: none;
}

.whatsapp-bubble svg {
  width: 28px;
  height: 28px;
}

.whatsapp-text {
  display: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Medium and Large Screens - Show text by default */
@media (min-width: 768px) {
  .whatsapp-bubble {
    width: auto;
    height: auto;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    gap: 0.6rem;
  }

  .whatsapp-bubble svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-text {
    display: inline;
  }

  .whatsapp-bubble:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  }
}

@media (max-width: 640px) {
  .whatsapp-bubble {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
  }

  .whatsapp-bubble svg {
    width: 26px;
    height: 26px;
  }
}

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

.site-footer {
  background: #1f1f1f;
  color: #e5e7eb;
  padding-top: 0;
}

.site-footer__main {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 300px));
  justify-content: center;
  gap: 4rem;
  text-align: center;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.site-footer__heading {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.8rem;
}

.site-footer__links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.site-footer__links a:hover {
  color: #fff;
}

/* Red/Orange Divider */
.site-footer__divider {
  height: 2px;
  background: linear-gradient(to right, #d32f2f, #FF6B6B, #FFB74D);
  opacity: 0.8;
}

/* Bottom Section */
.site-footer__bottom {
  padding: 2rem 0;
}

.site-footer__bottom-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.site-footer__bottom-left {
  flex: 1;
  text-align: center;
  width: 100%;
}

.site-footer__copyright {
  margin: 0 0 1rem;
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

.site-footer__bottom-links {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.site-footer__bottom-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.site-footer__bottom-links a:hover {
  color: #25d366;
  text-decoration: underline;
}

.site-footer__bottom-links .separator {
  color: #9ca3af;
  margin: 0 0.4rem;
}

/* Social Media Icons */
.site-footer__social {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.site-footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-footer__social-link:hover {
  background: #25d366;
  transform: translateY(-3px);
}

.site-footer__social-link svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 2rem;
    text-align: center;
  }

  .site-footer__bottom-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .site-footer__main {
    padding: 2rem 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer__heading {
    font-size: 0.85rem;
  }

  .site-footer__links a {
    font-size: 0.9rem;
  }

  .site-footer__bottom {
    padding: 1.5rem 0;
  }

  .site-footer__bottom-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__copyright {
    font-size: 0.85rem;
    text-align: center;
  }

  .site-footer__bottom-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
  }

  .site-footer__bottom-links .separator {
    display: none;
  }

  .site-footer__bottom-links a {
    display: inline;
  }

  .site-footer__bottom-links a:not(:last-child)::after {
    content: ' • ';
    margin: 0 0.25rem;
  }
}

/* ─── Promo Popup ──────────────────────────────────────────────────── */
.promo-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.promo-popup-overlay.is-visible {
  display: flex;
}

.promo-popup {
  position: relative;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  animation: popupIn 0.25s ease;
}

@keyframes popupIn {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.promo-popup__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.15s;
}

.promo-popup__close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.promo-popup__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

