/**
 * VishaTire Native Mobile App UX Styles
 * Slide-up Bottom Sheets, Touch Controls, 5-Item Precision App Nav Bar,
 * Two-row mobile/tablet header, and Responsive Grid/Carousels
 */

/* ==========================================================================
   0. Global Prevention of Horizontal Overflow & Mobile Safe Paddings
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* ==========================================================================
   1. Two-row Mobile/Tablet Header (large centered logo + sticky action bar)
   ========================================================================== */
.vt-mobile-app-header {
  display: none;
}

@media (max-width: 1024px) {
  /* Complete Elimination of Desktop Header Layers in Mobile by default */
  .vt-telemetry-topbar,
  .vt-cockpit-main-bar {
    display: none !important;
  }

  .vt-cockpit-nav-dock {
    display: none !important;
  }

  .vt-header,
  .vt-header.is-sticky {
    position: relative !important;
    top: auto !important;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--vt-bg-surface);
    border-bottom: none;
  }

  /* Compact mobile/tablet header: action bar only (logo is in the menu drawer) */
  .vt-mobile-app-header {
    display: block !important;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    background: var(--vt-bg-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    z-index: 9990;
    padding: 0;
  }

  .vt-mobile-brand-row {
    display: none !important;
  }

  .vt-mobile-brand-row::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 52%;
    width: min(200px, 55vw);
    height: min(72px, 18vw);
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .vt-mobile-brand-row .vt-mobile-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none;
  }

  .vt-mobile-brand-row .vt-mobile-brand-img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 118px !important;
    max-width: min(360px, 90vw) !important;
    object-fit: contain;
    margin: 0 auto;
    /* PNG has a baked-in green fringe under the 1001 mark */
    clip-path: inset(0 0 12px 0);
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.18));
    transition: transform 0.25s ease, filter 0.25s ease;
  }

  .vt-mobile-brand-row .vt-mobile-brand-link:active .vt-mobile-brand-img {
    transform: scale(0.97);
  }

  .vt-mobile-brand-row .vt-mobile-brand-fa {
    font-size: 26px;
    text-align: center;
  }

  .vt-mobile-toolbar-row {
    position: relative;
    z-index: 9991;
    height: 48px;
    padding: 0 10px;
    background: var(--vt-bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--vt-border);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  }

  .vt-mobile-toolbar-row.is-stuck {
    position: fixed !important;
    left: 0;
    right: 0;
    width: 100%;
    top: 0;
  }

  .admin-bar .vt-mobile-toolbar-row.is-stuck {
    top: 32px;
  }

  .vt-mobile-toolbar-ph,
  .vt-mobile-nav-ph {
    height: 0;
    pointer-events: none;
  }

  /* Sticky Mode B & A support when selected from theme settings */
  .vt-cockpit-header.vt-mobile-mode-nav_strip .vt-cockpit-nav-dock,
  .vt-cockpit-header.vt-mobile-mode-mega_dock .vt-cockpit-nav-dock {
    display: block !important;
    position: relative !important;
    top: auto !important;
    z-index: 9989 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    height: 44px !important;
    background: var(--vt-bg-glass) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--vt-border) !important;
    scrollbar-width: none !important;
  }

  .vt-cockpit-header.vt-mobile-mode-nav_strip .vt-cockpit-nav-dock::-webkit-scrollbar,
  .vt-cockpit-header.vt-mobile-mode-mega_dock .vt-cockpit-nav-dock::-webkit-scrollbar {
    display: none !important;
  }

  .vt-cockpit-header.vt-mobile-mode-nav_strip .vt-nav-dock-container,
  .vt-cockpit-header.vt-mobile-mode-mega_dock .vt-nav-dock-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 0 10px !important;
    width: max-content !important;
    min-width: 100% !important;
  }

  .vt-cockpit-header.vt-mobile-mode-nav_strip .vt-mega-menu-wrapper {
    display: none !important;
  }

  .vt-cockpit-header.vt-mobile-mode-mega_dock .vt-mega-menu-wrapper {
    display: flex !important;
  }

  .vt-cockpit-header.vt-mobile-mode-nav_strip .vt-cockpit-menu,
  .vt-cockpit-header.vt-mobile-mode-mega_dock .vt-cockpit-menu {
    display: flex !important;
    gap: 14px !important;
  }

  .vt-cockpit-header.vt-mobile-mode-nav_strip .vt-cockpit-menu > li > a,
  .vt-cockpit-header.vt-mobile-mode-mega_dock .vt-cockpit-menu > li > a {
    font-size: 12px !important;
    padding: 4px 6px !important;
  }

  .vt-mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 8px;
    direction: rtl;
  }

  /* Right Side: Hamburger */
  .vt-mobile-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .vt-mobile-menu-trigger {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--vt-bg-elevated);
    border: 1px solid var(--vt-border);
    color: var(--vt-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--vt-transition-fast);
    flex-shrink: 0;
  }

  .vt-mobile-menu-trigger:active {
    transform: scale(0.92);
  }

  .vt-mobile-brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vt-mobile-brand-img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: contain;
  }

  .vt-mobile-brand-fa {
    font-family: var(--vt-font-heading);
    font-weight: 900;
    font-size: 17px;
    color: var(--vt-primary);
    letter-spacing: -0.5px;
    white-space: nowrap !important;
  }

  .vt-mobile-brand-fa.vt-brand-rect-fallback {
    display: none !important;
  }

  .vt-logo-img-failed .vt-mobile-brand-fa.vt-brand-rect-fallback {
    display: inline !important;
  }

  /* Center & Left Side: Clean Icon-Only Action Group in Mobile & Tablet (Search, Garage, Theme) */
  .vt-mobile-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    justify-content: flex-end;
  }

  .vt-mobile-search-capsule-btn {
    width: 38px;
    height: 38px;
    background: var(--vt-bg-elevated);
    border: 1px solid var(--vt-border);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--vt-text-secondary);
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--vt-transition-fast);
  }

  .vt-mobile-search-capsule-btn:active {
    transform: scale(0.92);
  }

  .vt-mobile-search-capsule-btn i {
    font-size: 15px;
    color: var(--vt-primary);
    flex-shrink: 0;
  }

  .vt-mobile-search-capsule-btn span,
  .vt-mobile-search-capsule-btn .vt-mobile-btn-text {
    display: none !important;
  }

  .vt-mobile-garage-pill {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 12px;
    background: var(--vt-bg-elevated);
    border: 1px solid var(--vt-border);
    color: var(--vt-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--vt-transition-fast);
  }

  .vt-mobile-garage-pill i {
    font-size: 15px;
    color: var(--vt-primary);
    flex-shrink: 0;
  }

  .vt-mobile-garage-pill span,
  .vt-mobile-garage-pill .vt-mobile-btn-text {
    display: none !important;
  }

  .vt-mobile-garage-pill:active {
    transform: scale(0.92);
  }

  .vt-mobile-theme-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--vt-bg-elevated);
    border: 1px solid var(--vt-border);
    color: #F59E0B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--vt-transition-fast);
  }

  .vt-mobile-theme-btn:active {
    transform: scale(0.92);
  }

  .vt-cockpit-nav-dock.is-stuck {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  .admin-bar .vt-mobile-toolbar-row.is-stuck {
    top: 32px;
  }
}

@media (max-width: 782px) {
  .admin-bar .vt-mobile-toolbar-row.is-stuck {
    top: 46px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .vt-mobile-brand-row {
    padding: 6px 20px 4px;
  }

  .vt-mobile-brand-row::before {
    width: min(360px, 55vw);
    height: min(150px, 18vw);
  }

  .vt-mobile-brand-row .vt-mobile-brand-img {
    max-height: 140px !important;
    max-width: min(480px, 82vw) !important;
  }

  .vt-mobile-brand-row .vt-mobile-brand-fa {
    font-size: 30px;
  }

  .vt-mobile-toolbar-row {
    height: 50px;
  }
}

/* ==========================================================================
   2. Mobile Bottom Navigation Bar (Fixed 5 Items RTL - App Interface)
   ========================================================================== */
.vt-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 9999;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.12);
  transition: background-color var(--vt-transition-base), border-color var(--vt-transition-base);
}

/* Theme Adaptations for Bottom Bar */
:root,
html[data-theme="dark"],
body:not(.light-mode) {
  --vt-bottom-nav-bg: rgba(11, 17, 30, 0.95);
  --vt-bottom-nav-border: rgba(59, 130, 246, 0.22);
  --vt-bottom-nav-text: #94A3B8;
  --vt-bottom-nav-active: #3B82F6;
  --vt-bottom-nav-fab-ring: #0B111E;
}

html[data-theme="light"],
body.light-mode {
  --vt-bottom-nav-bg: rgba(255, 255, 255, 0.96);
  --vt-bottom-nav-border: rgba(30, 58, 138, 0.12);
  --vt-bottom-nav-text: #475569;
  --vt-bottom-nav-active: #1E3A8A;
  --vt-bottom-nav-fab-ring: #FFFFFF;
}

.vt-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 9999;
  background: rgba(11, 17, 30, 0.95) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(59, 130, 246, 0.22);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
  transition: background-color var(--vt-transition-base), border-color var(--vt-transition-base);
}

html[data-theme="light"] .vt-mobile-bottom-nav,
body.light-mode .vt-mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top: 1px solid rgba(30, 58, 138, 0.12);
  box-shadow: 0 -8px 25px rgba(15, 37, 55, 0.08);
}

@media (max-width: 1024px) {
  body {
    padding-bottom: 90px !important;
  }
  .vt-mobile-bottom-nav {
    display: block !important;
  }
}

.vt-bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  height: 100%;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  direction: rtl;
  padding: 0 4px;
}

/* Nav Item Base */
.vt-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--vt-bottom-nav-text, #94A3B8) !important;
  font-family: var(--vt-font-body);
  font-size: 11px;
  font-weight: 700;
  position: relative;
  padding: 4px 2px;
  transition: color var(--vt-transition-fast), transform var(--vt-transition-fast);
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap !important;
}

.vt-bottom-nav-item i {
  font-size: 20px;
  margin-bottom: 3px;
  color: inherit;
  transition: transform var(--vt-transition-fast), color var(--vt-transition-fast);
}

.vt-bottom-nav-item:active {
  transform: scale(0.92);
}

/* Active Item State with Halo Glow */
.vt-bottom-nav-item.is-active,
.vt-bottom-nav-item:hover {
  color: var(--vt-bottom-nav-active, #3B82F6) !important;
}

.vt-bottom-nav-item.is-active i {
  color: #3B82F6 !important;
  filter: drop-shadow(0 0 8px rgba(0, 209, 255, 0.7));
}

html[data-theme="light"] .vt-bottom-nav-item.is-active i,
body.light-mode .vt-bottom-nav-item.is-active i {
  color: #1E3A8A !important;
  filter: drop-shadow(0 0 6px rgba(30, 58, 138, 0.4));
}

.vt-bottom-nav-item.is-active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 209, 255, 0.25) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.vt-bottom-nav-item.is-active i,
.vt-bottom-nav-item.is-active span {
  position: relative;
  z-index: 1;
}

/* Center Floating Cart FAB (58px Circular Raised Button) */
.vt-bottom-nav-fab-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.vt-bottom-nav-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2557D6 0%, #1E3A8A 100%);
  transform: translateY(-20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.55), 0 0 0 5px #0B111E !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow var(--vt-transition-fast);
  -webkit-tap-highlight-color: transparent;
}

html[data-theme="light"] .vt-bottom-nav-fab,
body.light-mode .vt-bottom-nav-fab {
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45), 0 0 0 5px #FFFFFF !important;
}

.vt-bottom-nav-fab i {
  font-size: 22px;
  color: #FFFFFF;
}

.vt-bottom-nav-fab:active {
  transform: translateY(-17px) scale(0.92);
}

.vt-bottom-nav-fab .vt-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #FF6B35 0%, #EA580C 100%);
  color: #FFFFFF;
  font-family: var(--vt-font-display);
  font-size: 11px;
  font-weight: 900;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 3px 8px rgba(255, 107, 53, 0.6);
  border: 2px solid var(--vt-bg-surface);
}

.vt-nav-badge {
  position: absolute;
  top: 2px;
  right: 18px;
  background: var(--vt-primary);
  color: #FFFFFF;
  font-family: var(--vt-font-display);
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ==========================================================================
   3. Native App Slide-Up Bottom Sheets
   ========================================================================== */
.vt-bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.vt-bottom-sheet.is-open {
  visibility: visible;
  opacity: 1;
}

.vt-bottom-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Mobile-Specific Bottom Sheet Styling for Garage (Max-Width 768px) */
@media (max-width: 768px) {
  #vt-mobile-garage-sheet {
    z-index: 10050;
    padding-top: env(safe-area-inset-top, 0px);
  }

  #vt-mobile-garage-sheet .vt-bottom-sheet-content {
    padding: 0 4px calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
    max-width: 540px;
    margin: 0 auto;
    max-height: min(92dvh, calc(100dvh - env(safe-area-inset-top, 0px)));
  }

  #vt-mobile-garage-sheet .vt-sheet-header {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 0.85rem;
  }

  #vt-mobile-garage-sheet .vt-sheet-desc {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 0.85rem !important;
    font-size: 13.5px !important;
    line-height: 1.6;
  }

  #vt-mobile-garage-sheet .vt-cockpit-dock-bar {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
  }

  #vt-mobile-garage-sheet .vt-cockpit-dock-bar .vt-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #vt-mobile-garage-sheet .vt-cockpit-dock-inner {
    padding: 1.25rem 8px 1.35rem !important;
    border-radius: 16px !important;
  }
}

.vt-bottom-sheet-content {
  position: relative;
  z-index: 1;
  background: var(--vt-bg-surface);
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  border-top: 1px solid var(--vt-border);
  box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.35);
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
  padding: 0 1.25rem 2.5rem;
  scrollbar-width: thin;
}

.vt-bottom-sheet.is-open .vt-bottom-sheet-content {
  transform: translateY(0);
}

/* ==========================================================================
   Desktop & Tablet Modal Transformation (Centered from All Directions & Large)
   ========================================================================== */
@media (min-width: 769px) {
  .vt-bottom-sheet {
    justify-content: center !important;
    align-items: center !important;
    padding: 24px 20px !important;
  }

  .vt-sheet-handle {
    display: none !important;
  }

  .vt-bottom-sheet-content {
    border-radius: 28px !important;
    border: 1px solid rgba(0, 209, 255, 0.32) !important;
    box-shadow: 0 35px 95px rgba(0, 0, 0, 0.88), 0 0 50px rgba(0, 209, 255, 0.16) !important;
    transform: scale(0.92) !important;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
    margin: auto !important;
    max-height: 88vh !important;
  }

  .vt-bottom-sheet.is-open .vt-bottom-sheet-content {
    transform: scale(1) translateY(0) !important;
    opacity: 1 !important;
  }

  /* Large Garage Modal on Tablet / Medium Screens */
  #vt-mobile-garage-sheet .vt-bottom-sheet-content {
    max-width: 820px !important;
    width: 92vw !important;
    padding: 2rem 2.25rem !important;
    background: rgba(11, 17, 30, 0.97) !important;
    backdrop-filter: blur(28px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  }

  #vt-mobile-garage-sheet .vt-sheet-header {
    padding: 0 0 1.15rem 0 !important;
    margin-bottom: 1.15rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  #vt-mobile-garage-sheet .vt-sheet-title {
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  #vt-mobile-garage-sheet .vt-sheet-desc {
    font-size: 14.5px !important;
    color: #94A3B8 !important;
    margin-bottom: 1.5rem !important;
    padding: 0 !important;
    line-height: 1.7 !important;
  }

  #vt-mobile-garage-sheet .vt-cockpit-dock-bar {
    width: 100% !important;
    margin: 0 !important;
  }

  #vt-mobile-garage-sheet .vt-cockpit-dock-bar .vt-container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  #vt-mobile-garage-sheet .vt-cockpit-dock-inner {
    padding: 1.75rem 2rem 2rem !important;
    border-radius: 20px !important;
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(0, 209, 255, 0.22) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 0 30px rgba(0, 209, 255, 0.05) !important;
  }

  #vt-mobile-garage-sheet .vt-dock-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  #vt-mobile-garage-sheet .vt-dock-title {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
  }

  #vt-mobile-garage-sheet .vt-dock-badge {
    display: inline-flex !important;
    font-size: 12px !important;
    padding: 4px 14px !important;
  }

  #vt-mobile-garage-sheet .vt-dock-horizontal-form {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  #vt-mobile-garage-sheet .vt-finder-submit {
    grid-column: 1 / -1 !important;
  }

  #vt-mobile-garage-sheet .vt-finder-submit-btn {
    height: 50px !important;
    width: 100% !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
  }

  /* Search Modal on Desktop */
  #vt-mobile-search-modal .vt-bottom-sheet-content {
    max-width: 700px !important;
    width: 90vw !important;
    padding: 2rem !important;
    background: rgba(11, 17, 30, 0.97) !important;
  }
}

@media (min-width: 1025px) {
  /* Grand High-Tech Desktop Cockpit: Spacious & Wide (1080px) */
  #vt-mobile-garage-sheet .vt-bottom-sheet-content {
    max-width: 1080px !important;
    width: 90vw !important;
    padding: 2.25rem 2.75rem 2.5rem !important;
  }

  #vt-mobile-garage-sheet .vt-sheet-title {
    font-size: 1.45rem !important;
  }

  #vt-mobile-garage-sheet .vt-cockpit-dock-inner {
    padding: 2.25rem 2.5rem 2.5rem !important;
    border-radius: 22px !important;
  }

  #vt-mobile-garage-sheet .vt-dock-title {
    font-size: 1.3rem !important;
  }

  #vt-mobile-garage-sheet .vt-dock-horizontal-form {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) auto !important;
    gap: 16px !important;
    align-items: flex-end !important;
  }

  #vt-mobile-garage-sheet .vt-finder-label {
    font-size: 13.5px !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
  }

  #vt-mobile-garage-sheet .vt-finder-select {
    height: 48px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
  }

  #vt-mobile-garage-sheet .vt-finder-submit {
    grid-column: auto !important;
  }

  #vt-mobile-garage-sheet .vt-finder-submit-btn {
    height: 48px !important;
    min-width: 180px !important;
    width: auto !important;
    font-size: 15px !important;
  }
}

/* Bottom Sheet Drag Handle */
.vt-sheet-handle {
  width: 48px;
  height: 5px;
  background: rgba(148, 163, 184, 0.4);
  border-radius: 3px;
  margin: 14px auto 16px;
  cursor: grab;
}

.vt-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--vt-border);
  margin-bottom: 1.25rem;
}

.vt-sheet-title {
  font-family: var(--vt-font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--vt-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vt-sheet-close {
  background: var(--vt-bg-elevated);
  border: 1px solid var(--vt-border);
  color: var(--vt-text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--vt-transition-fast);
}

.vt-sheet-close:hover {
  color: #FFFFFF;
  background: var(--vt-primary);
  border-color: var(--vt-primary);
}

/* Mobile hamburger menu: wider sheet, full-bleed header, close inside the bar */
#vt-mobile-menu-drawer .vt-bottom-sheet-content {
  padding: 0 0 calc(1.35rem + env(safe-area-inset-bottom, 0px));
  max-height: 94vh;
}

#vt-mobile-menu-drawer .vt-sheet-handle {
  margin: 10px auto 4px;
}

#vt-mobile-menu-drawer .vt-mobile-drawer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px 12px;
}

#vt-mobile-menu-drawer .vt-mobile-drawer-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  max-width: 100%;
}

#vt-mobile-menu-drawer .vt-mobile-drawer-brand-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 88px;
  max-width: min(280px, 72vw);
  object-fit: contain;
  clip-path: inset(0 0 10px 0);
}

#vt-mobile-menu-drawer .vt-mobile-drawer-brand-fa {
  font-family: var(--vt-font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--vt-primary);
}

#vt-mobile-menu-drawer .vt-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 1rem;
  padding: 12px 16px 14px;
  background: var(--vt-bg-elevated);
  border-bottom: 1px solid var(--vt-border);
  border-radius: 0;
}

#vt-mobile-menu-drawer .vt-sheet-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1.05rem;
  gap: 8px;
}

#vt-mobile-menu-drawer .vt-sheet-title i {
  color: var(--vt-primary);
  flex-shrink: 0;
}

#vt-mobile-menu-drawer .vt-sheet-title span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#vt-mobile-menu-drawer .vt-sheet-close {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  background: var(--vt-bg-surface);
  border: 1px solid var(--vt-border);
  color: var(--vt-text-primary);
  z-index: 2;
}

#vt-mobile-menu-drawer .vt-mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 18px 8px;
}

#vt-mobile-menu-drawer .vt-mobile-nav-list a {
  padding: 14px 16px !important;
}

#vt-mobile-menu-drawer .vt-mobile-nav-hotline {
  margin: 0 18px;
  padding: 16px;
  background: var(--vt-bg-elevated);
  border: 1px solid var(--vt-border);
  border-radius: 14px;
  text-align: center;
}

@media (max-width: 768px) {
  #vt-mobile-menu-drawer.vt-bottom-sheet {
    padding: 0;
  }

  #vt-mobile-menu-drawer .vt-bottom-sheet-content {
    width: 100%;
    max-width: none;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
  }
}

@media (min-width: 769px) {
  #vt-mobile-menu-drawer.vt-bottom-sheet {
    padding: 8px !important;
  }

  #vt-mobile-menu-drawer .vt-bottom-sheet-content {
    width: min(560px, 96vw) !important;
    max-width: 96vw !important;
    border-radius: 22px !important;
    padding-bottom: 1.35rem !important;
  }
}

/* Sheet Tab Switching */
.vt-sheet-tab-btn.is-active {
  background: var(--vt-primary) !important;
  color: #FFFFFF !important;
}

.vt-sheet-tab-btn:not(.is-active) {
  background: transparent !important;
  color: var(--vt-text-secondary) !important;
}

/* ==========================================================================
   4. Native Touch-Snap Carousels for Mobile & Tablet
   ========================================================================== */
.vt-touch-carousel {
  display: flex !important;
  gap: 14px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 0.5rem 0 1.25rem !important;
  scrollbar-width: none !important;
}

.vt-touch-carousel::-webkit-scrollbar {
  display: none !important;
}

.vt-touch-carousel > * {
  scroll-snap-align: start !important;
  flex: 0 0 78vw !important;
  max-width: 310px !important;
}

@media (min-width: 640px) and (max-width: 1024px) {
  .vt-touch-carousel > * {
    flex: 0 0 45vw !important;
    max-width: 350px !important;
  }
}

/* ==========================================================================
   5. Mobile Screen Layout Optimizations (Max-Width 991px & 768px)
   ========================================================================== */
@media (max-width: 991px) {
  .vt-slide-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center;
  }

  .vt-slide-visual {
    order: -1;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .vt-giant-watermark {
    display: none !important;
  }

  /* 3. Slider Tab selector transformed into sleek 42px x 36px capsule buttons */
  .vt-hero-cockpit-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 1.75rem !important;
    padding-top: 1.25rem !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .vt-hero-tabs-selector {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex: 1 !important;
  }

  .vt-hero-tab {
    width: 42px !important;
    height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }

  .vt-hero-tab-titles {
    display: none !important;
  }

  .vt-hero-tab-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .vt-hero-tab-num {
    font-size: 13.5px !important;
    font-weight: 900 !important;
    color: #94A3B8 !important;
    line-height: 1 !important;
  }

  .vt-hero-tab.is-active .vt-hero-tab-num {
    color: var(--vt-accent-cyan) !important;
  }

  .vt-hero-mini-controls {
    gap: 10px !important;
  }

  .vt-slider-counter {
    font-size: 13px !important;
  }

  .vt-slider-counter .active-num {
    font-size: 16px !important;
  }

  .vt-slider-nav-btn {
    width: 36px !important;
    height: 36px !important;
  }

  /* 4. Trust check items & CTAs in tablet/mobile */
  .vt-hero-checkpoints {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 14px !important;
    font-size: 0.8rem !important;
    margin-bottom: 1.5rem !important;
  }

  .vt-hero-check-item {
    font-size: 0.8rem !important;
  }

  .vt-hero-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .vt-hero-actions .vt-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 18px !important;
    font-size: 14px !important;
  }

  .vt-flash-deal-box {
    padding: 2rem 1.25rem !important;
  }

  .vt-deal-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    text-align: center;
  }

  .vt-countdown-tiles {
    justify-content: center !important;
  }

  .vt-faq-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .vt-faq-support-box {
    position: static !important;
  }

  .vt-faq-trigger {
    padding: 1rem 1.15rem !important;
    gap: 12px !important;
    font-size: 14px !important;
  }

  .vt-faq-trigger i.vt-faq-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    flex: 0 0 30px !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
  }

  /* Product Showcase Tabs on Tablet & Mobile */
  .vt-tabs-header-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.25rem !important;
  }

  .vt-filter-tabs-pills {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 6px !important;
    gap: 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important; /* Firefox */
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    border-radius: 14px !important;
  }

  .vt-filter-tabs-pills::-webkit-scrollbar {
    display: none !important;
  }

  .vt-filter-tab-btn {
    flex: 0 0 auto !important;
    padding: 9px 18px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
  }

  /* Product Catalog Grid on Tablet: 2 Columns, Mobile (< 640px): 1 Column */
  .woocommerce ul.products,
  .vt-shop-products-grid,
  .vt-products-grid,
  .vt-products-grid.is-mobile-touch-carousel {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  /* Trust Bar in Tablet/Mobile: 2 columns */
  .vt-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .vt-trust-item {
    padding: 10px 8px !important;
    gap: 10px !important;
  }

  .vt-trust-title,
  .vt-trust-subtitle {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word;
  }

  .vt-trust-title {
    font-size: 13px !important;
  }

  .vt-trust-subtitle {
    font-size: 11px !important;
  }

  /* Footer in Tablet View (<= 991px): Center Alignment */
  .vt-footer {
    text-align: center !important;
  }

  .vt-footer .vt-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .vt-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.25rem !important;
    text-align: center !important;
    width: 100% !important;
  }

  .vt-footer-grid > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .vt-footer-brand-link {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  .vt-footer-brand-img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .vt-footer-grid > div p {
    text-align: center !important;
    margin-inline: auto !important;
    max-width: 480px !important;
  }

  .vt-footer-grid > div > div {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }

  .vt-footer-heading {
    text-align: center !important;
    width: 100% !important;
  }

  .vt-footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .vt-footer-links li {
    text-align: center !important;
    width: 100% !important;
  }

  .vt-footer-links a {
    text-align: center !important;
    display: inline-block !important;
  }

  .vt-footer-links a:hover {
    transform: none !important;
  }

  .vt-footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }

  .vt-footer-bottom > div {
    text-align: center !important;
    width: 100% !important;
  }

  .vt-payment-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .vt-footer-badges-wrap {
    justify-content: center !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .vt-footer-badge-card {
    min-width: 95px !important;
    max-width: 140px !important;
  }
}

@media (max-width: 768px) {
  /* Hero Typography in Mobile */
  .vt-hero-headline {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem) !important;
    line-height: 1.35 !important;
    margin-bottom: 0.85rem !important;
  }

  .vt-hero-desc {
    font-size: 13px !important;
    line-height: 1.75 !important;
    margin-bottom: 1.25rem !important;
  }

  .vt-hero-live-pill {
    font-size: 11px !important;
    padding: 3px 10px !important;
    margin-bottom: 1rem !important;
  }


  /* Vehicle Finder (Garage Bar) Mobile UX: Full Width, Minimal Padding, Bigger Controls */
  .vt-cockpit-dock-bar,
  .vt-vehicle-finder {
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
    overflow: visible;
    scroll-margin-top: 64px;
  }

  .vt-cockpit-dock-bar .vt-container {
    padding-left: 8px !important;
    padding-right: 8px !important;
    max-width: 100% !important;
  }

  .vt-cockpit-dock-inner {
    padding: 1.35rem 12px 1.5rem !important;
    border-radius: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(15, 23, 42, 0.96) !important;
    border: 1px solid rgba(0, 209, 255, 0.22) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 209, 255, 0.08) !important;
  }

  .vt-dock-header {
    margin-bottom: 1rem !important;
    padding-bottom: 0.85rem !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .vt-dock-title {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: normal !important;
  }

  .vt-dock-main-heading {
    white-space: normal !important;
    overflow: visible !important;
  }

  .vt-dock-horizontal-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .vt-finder-group {
    width: 100% !important;
    gap: 6px !important;
  }

  .vt-finder-label {
    font-size: 12px !important;
    font-weight: 700 !important;
  }

  .vt-finder-select-wrap {
    width: 100% !important;
  }

  .vt-finder-select {
    height: 48px !important;
    padding: 10px 12px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    color-scheme: dark;
  }

  html[data-theme="light"] .vt-finder-select,
  body.light-mode .vt-finder-select {
    color-scheme: light;
  }

  .vt-finder-select option {
    background: #0f172a;
    color: #f8fafc;
  }

  html[data-theme="light"] .vt-finder-select option,
  body.light-mode .vt-finder-select option {
    background: #ffffff;
    color: #0f2537;
  }

  .vt-dock-horizontal-form .vt-finder-submit {
    grid-column: 1 / -1 !important;
    margin-top: 6px !important;
    width: 100% !important;
  }

  .vt-finder-submit .vt-finder-submit-btn {
    height: 52px !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.38) !important;
  }

  .vt-dock-badge {
    display: none !important;
  }

  /* Trust Bar on Mobile: 2x2 Grid with comfortable padding */
  .vt-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .vt-trust-item {
    flex-direction: column !important;
    text-align: center !important;
    padding: 12px 8px !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
  }

  .vt-trust-item > div:last-child {
    text-align: center !important;
  }

  .vt-trust-title,
  .vt-trust-subtitle {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }

  .vt-trust-icon-box {
    margin: 0 auto !important;
  }

  /* Tire Visualizer on Mobile: 1 Column */
  .vt-tire-visualizer-card {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 1.25rem 1rem !important;
  }

  .vt-tire-svg-wrap {
    scroll-margin-top: 80px;
  }

  .vt-tire-svg {
    max-width: 290px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .vt-tire-metric-box {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  /* Pins stay locked to the car canvas, not the info panel below */
  .vt-car-stage {
    position: relative;
    width: 100%;
    margin-top: 1rem;
  }

  .vt-car-canvas {
    position: relative;
    width: 100%;
    line-height: 0;
  }

  .vt-car-image {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .vt-hotspot-pin {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
    box-shadow: 0 0 12px var(--vt-accent-cyan) !important;
    z-index: 10 !important;
  }

  .vt-hotspot-pin::after {
    inset: -4px !important;
  }

  /* Hide individual floating popups on touch/mobile to prevent overlapping and clipping */
  .vt-hotspot-popup {
    display: none !important;
  }

  /* Sleek Cockpit Info Panel below car blueprint in Mobile & Tablet */
  .vt-hotspot-mobile-panel {
    display: block !important;
    margin-top: 1.5rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 18px;
    padding: 1.25rem 1.15rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 209, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: right;
    position: relative;
    z-index: 5;
  }

  .vt-hotspot-mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .vt-hotspot-panel-badge {
    font-size: 11px;
    font-weight: 800;
    color: #00D1FF;
    background: rgba(0, 209, 255, 0.12);
    border: 1px solid rgba(0, 209, 255, 0.35);
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
  }

  .vt-hotspot-panel-hint {
    font-size: 11px;
    color: var(--vt-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .vt-hotspot-panel-title {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 4px 0 6px;
  }

  .vt-hotspot-panel-desc {
    font-size: 12.5px;
    color: #CBD5E1;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .vt-hotspot-panel-cta {
    width: 100% !important;
    justify-content: center !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
  }

  /* Product Catalog Grid on Mobile (< 768px): 1 Column */
  .woocommerce ul.products,
  .vt-shop-products-grid,
  .vt-products-grid,
  .vt-products-grid.is-mobile-touch-carousel {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .vt-product-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Product Card Internal Adjustments for mobile & tablet luxury display */
  .vt-product-thumb-wrap {
    padding-top: 75% !important;
  }

  .vt-card-actions {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
  }

  .vt-product-body {
    padding: 1.25rem 1.15rem !important;
  }

  .vt-product-title {
    font-size: 1.05rem !important;
    height: auto !important;
    max-height: 3em !important;
    margin-bottom: 10px !important;
  }

  .vt-product-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 12px !important;
    margin-top: 12px !important;
  }

  .vt-product-footer .vt-price-box,
  .vt-product-footer .vt-product-price {
    font-size: 1.2rem !important;
  }

  .vt-product-footer .vt-btn {
    padding: 9px 18px !important;
    font-size: 13px !important;
  }

  /* Special Flash Deal in Mobile */
  .vt-flash-deal-box {
    border-radius: 16px !important;
    padding: 1.5rem 1rem !important;
  }

  /* Testimonials Marquee on Mobile: Keep seamless track */
  .vt-testimonials-marquee-wrapper {
    padding: 8px 0 16px !important;
  }

  /* Footer in Mobile & Tablet: Centered layout with generous padding */
  .vt-footer {
    padding-bottom: 120px !important;
    text-align: center !important;
  }

  .vt-footer .vt-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .vt-footer-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 2.25rem !important;
    text-align: center !important;
  }

  .vt-footer-grid > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .vt-footer-brand-link {
    width: 100% !important;
    max-width: 220px !important;
    margin-inline: auto !important;
    justify-content: center !important;
  }

  .vt-footer-brand-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  .vt-footer-grid > div p {
    text-align: center !important;
    margin-inline: auto !important;
    max-width: 480px !important;
  }

  .vt-footer-grid > div > div {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-inline: auto !important;
  }

  .vt-footer-heading {
    text-align: center !important;
    width: 100% !important;
    position: relative !important;
  }

  .vt-footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .vt-footer-links li {
    text-align: center !important;
    width: 100% !important;
  }

  .vt-footer-links a {
    text-align: center !important;
    display: inline-block !important;
  }

  .vt-footer-links a:hover {
    transform: none !important;
  }

  .vt-footer-bottom {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
  }

  .vt-footer-bottom > div {
    text-align: center !important;
    width: 100% !important;
  }

  .vt-payment-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .vt-footer-badges-wrap {
    justify-content: center !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .vt-footer-badge-card {
    min-width: 90px !important;
    max-width: 130px !important;
    padding: 12px 8px !important;
  }
}

/* ==========================================================================
   Cinematic Hero Pod + stacked finder (mobile & tablet ≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .vt-hero-slider-section {
    min-height: 0 !important;
    padding: 1.15rem 0 2.25rem !important;
  }

  .vt-slider-slides {
    min-height: 0 !important;
  }

  .vt-slide-layout {
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
    text-align: center;
  }

  .vt-slide-visual {
    order: -1;
    width: 100%;
    margin: 0 auto;
    max-width: 720px;
  }

  .vt-photorealistic-pod {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
  }

  .vt-pod-media-frame {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 380px !important;
    aspect-ratio: 4 / 3;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  .vt-pod-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 40% !important;
  }

  .vt-telemetry-hud {
    display: block !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    width: auto !important;
    max-width: min(240px, 68%) !important;
    padding: 10px 12px !important;
    animation: none !important;
    z-index: 12 !important;
  }

  .vt-floating-deal-card {
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    inset-inline: 12px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    animation: none !important;
    z-index: 12 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 18px rgba(255, 107, 53, 0.2) !important;
  }

  .vt-floating-deal-card .vt-deal-name,
  .vt-floating-deal-card .vt-deal-meta {
    white-space: normal !important;
  }

  .vt-hero-desc {
    max-width: 100%;
  }

  /* Tablet: lock pins to the car canvas; info card sits below, never inside the pin containing block */
  .vt-car-canvas {
    position: relative;
    width: 100%;
    line-height: 0;
  }

  .vt-car-image {
    transform: none !important;
  }

  .vt-hotspot-popup {
    display: none !important;
  }

  .vt-hotspot-mobile-panel {
    display: block !important;
    margin-top: 1.5rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 18px;
    padding: 1.25rem 1.15rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 209, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: right;
    position: relative;
    z-index: 5;
  }

  .vt-hotspot-mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .vt-hotspot-panel-badge {
    font-size: 11px;
    font-weight: 800;
    color: #00D1FF;
    background: rgba(0, 209, 255, 0.12);
    border: 1px solid rgba(0, 209, 255, 0.35);
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
  }

  .vt-hotspot-panel-hint {
    font-size: 11px;
    color: var(--vt-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .vt-hotspot-panel-title {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 4px 0 6px;
  }

  .vt-hotspot-panel-desc {
    font-size: 12.5px;
    color: #CBD5E1;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .vt-hotspot-panel-cta {
    width: 100% !important;
    justify-content: center !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 768px) {
  .vt-pod-media-frame {
    min-height: 340px !important;
    aspect-ratio: 4 / 3;
    border-radius: 22px !important;
  }

  .vt-telemetry-hud {
    max-width: min(210px, 72%) !important;
    padding: 8px 10px !important;
    top: 10px !important;
    left: 10px !important;
  }

  .vt-hud-header {
    font-size: 9.5px !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
  }

  .vt-hud-label-group {
    font-size: 9.5px !important;
  }

  .vt-floating-deal-card {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    padding: 12px !important;
  }

  .vt-cockpit-dock-inner {
    background: var(--vt-bg-surface) !important;
    border: 1px solid var(--vt-border) !important;
    box-shadow: var(--vt-shadow-lg) !important;
  }

  html[data-theme="light"] .vt-cockpit-dock-inner,
  body.light-mode .vt-cockpit-dock-inner {
    background: #FFFFFF !important;
    border: 1px solid rgba(30, 58, 138, 0.14) !important;
    box-shadow: 0 15px 40px rgba(15, 37, 55, 0.08) !important;
  }

  .vt-dock-title {
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: right !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .vt-dock-main-heading {
    font-size: 14px !important;
    line-height: 1.65 !important;
    font-weight: 800 !important;
  }

  .vt-finder-step-header .vt-finder-label span {
    white-space: normal !important;
  }
}

@media (max-width: 640px) {
  .vt-pod-media-frame {
    min-height: 320px !important;
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .vt-pod-media-frame {
    min-height: 420px !important;
    aspect-ratio: 16 / 10;
    max-height: 520px;
  }

  .vt-telemetry-hud {
    max-width: 250px !important;
  }
}
