/* Vintage V-Dubs site overrides */

/* Prevent page-level horizontal scroll from theme bleed (100vw, negative
   margins, fixed-width containers, marquees, wide tables). Applied on html
   only so position:sticky (e.g. cart summary) still works. */
html {
  max-width: 100%;
  overflow-x: clip;
}

/* Theme sets .container { width: 1440px; max-width: 100% }. Prefer width:100%
   + max-width so nested rows/negative margins never force a fixed box wider
   than the viewport on mid-size screens. */
.container {
  width: 100%;
  max-width: 1440px;
}

.container-2 {
  width: 100%;
  max-width: 1320px;
}

.container-full {
  width: 100%;
  max-width: 1800px;
}

.container-full.full-v2 {
  width: 100%;
  max-width: 1760px;
}

.container-full.full-v3 {
  width: 100%;
  max-width: 1830px;
}

.container-full.full-v4 {
  width: 100%;
  max-width: 1870px;
}

/* Softer page background — uses template warm off-white instead of pure #fff */
body {
  background-color: var(--bg-2, #f6f4f3);
}

.section-vehicle-search .vehicle-search-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(16, 16, 16, 0.08);
}

.section-vehicle-search .vehicle-search-heading {
  margin-bottom: 28px;
}

.vehicle-search-form--hero .vehicle-search-submit {
  min-width: 180px;
  width: 100%;
  height: 44px;
  min-height: 44px;
}

section-cta .vehicle-search-form--hero .tf-select select {
  background-color: var(--white);
  height: 44px;
  min-height: 44px;
  padding: 0 40px 0 15px;
  line-height: 42px;
  box-sizing: border-box;
}

.vehicle-search-form--sidebar .tf-select select {
  background-color: var(--white);
}

@media (min-width: 992px) {
  .vehicle-search-form--hero .vehicle-search-submit {
    width: auto;
  }
}

@media (max-width: 767px) {
  .section-vehicle-search .vehicle-search-card {
    padding: 24px 20px;
  }
}

/* Shop page — mobile filters & product cards */
.vv-shop-page .tf-shop-control {
  padding: 16px 20px;
  border-radius: 12px;
}

.vv-shop-sort-menu .select-item {
  display: block;
  text-decoration: none;
  color: var(--black);
}

.vv-shop-sort-menu .select-item:hover,
.vv-shop-sort-menu .select-item:focus {
  color: var(--black);
}

/* Product cards — clear bordered tiles (search / shop results) */
.vv-shop-page .wrapper-shop.tf-grid-layout {
  gap: 16px;
}

.vv-shop-page .card-product.grid {
  gap: 0;
  height: 100%;
  background: var(--white, #fff);
  border: 1px solid rgba(16, 16, 16, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 16, 16, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.vv-shop-page .card-product.grid:hover {
  border-color: rgba(16, 16, 16, 0.28);
  box-shadow: 0 6px 18px rgba(16, 16, 16, 0.08);
}

.vv-shop-page .card-product.grid .card-product_wrapper {
  aspect-ratio: 1;
  background: var(--white, #fff);
  border-radius: 0;
}

.vv-shop-page .card-product.grid .card-product_wrapper .product-img {
  border-radius: 0;
  display: block;
  height: 100%;
  background: var(--white, #fff);
}

.vv-shop-page .card-product.grid .card-product_wrapper img {
  object-fit: contain;
  object-position: center;
  padding: 10px;
  box-sizing: border-box;
}

.vv-shop-page .card-product.grid .card-product_info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 16px;
  border-top: 1px solid rgba(16, 16, 16, 0.08);
  background: var(--white, #fff);
}

.vv-shop-page .card-product.grid .name-product {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.vv-shop-page .card-product.grid .product-action_bot .tf-btn {
  border-radius: 0;
}

.vv-shop-page .tf-list-layout .card-product.product-style_list {
  gap: 0;
  background: var(--white, #fff);
  border: 1px solid rgba(16, 16, 16, 0.12);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(16, 16, 16, 0.04);
}

.vv-shop-page .tf-list-layout .card-product.product-style_list .card-product_wrapper {
  background: var(--white, #fff);
}

.vv-shop-page .tf-list-layout .card-product.product-style_list .card-product_wrapper img {
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}

.vv-shop-page .tf-list-layout .card-product.product-style_list .card-product_info {
  padding: 16px 18px;
}

@media (max-width: 991.98px) {
  .vv-shop-page.vv-shop-filtered .vv-shop-sidebar-col,
  .vv-shop-page.vv-shop-filtered .vv-shop-sidebar {
    display: none !important;
  }

  .vv-shop-filtered-title {
    padding-bottom: 0.75rem;
  }

  .vv-shop-filtered-title .text-body-1 {
    margin-bottom: 0;
  }

  .vv-shop-page .wrapper-shop.tf-grid-layout.tf-col-3,
  .vv-shop-page #gridLayout.tf-col-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 10px;
    row-gap: 12px;
  }
}

@media (max-width: 767px) {
  .vv-shop-page .card-product.grid .product-action_list {
    display: none;
  }

  .vv-shop-page .card-product.grid .product-action_bot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .vv-shop-page .card-product.grid .product-action_bot .tf-btn {
    width: 100%;
    min-height: 36px;
    padding: 8px 6px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1.2;
  }

  .vv-shop-page .card-product.grid .name-product {
    font-size: 0.8125rem;
    line-height: 1.3;
    min-height: 0;
  }

  .vv-shop-page .card-product.grid .price-new {
    font-size: 0.875rem;
  }

  .vv-shop-page .card-product.grid .card-product_info {
    padding: 10px 10px 12px;
  }

  .vv-shop-page .product-style_list {
    flex-direction: column;
    gap: 0;
  }

  .vv-shop-page .product-style_list .card-product_wrapper {
    width: 100%;
    max-width: none;
  }

  .vv-shop-page .product-style_list .card-product_info {
    width: 100%;
  }

  .vv-shop-page .product-style_list .product-action_list {
    display: none;
  }

  .vv-shop-page .product-style_list .product-action_bot {
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .vv-shop-page .product-style_list .product-action_bot .tf-btn {
    width: 100%;
    min-height: 44px;
    border-radius: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.product-description-body {
  line-height: 1.7;
}

.product-description-body p {
  margin-bottom: 1rem;
}

/* Mini-cart slideout: scroll items, pin footer with View Cart */
.vv-minicart.offcanvas.popup-shopping-cart {
  display: flex;
  flex-direction: column !important;
  background: #fff !important;
  background-color: var(--white, #fff) !important;
  pointer-events: auto !important;
}

.vv-minicart .canvas-header,
.vv-minicart .canvas-body,
.vv-minicart .canvas-footer {
  background: #fff;
  background-color: var(--white, #fff);
}

.vv-minicart .vv-minicart-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.vv-minicart .vv-minicart-items .tf-mini-cart-item:last-child {
  margin-bottom: 0;
}

.vv-minicart .vv-minicart-footer {
  flex-shrink: 0;
}

/* Cart page — mobile-first layout */
.vv-cart-page .vv-cart-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vv-cart-page .tf-table-page-cart {
  width: 100%;
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  .vv-cart-page .tf-table-page-cart td:nth-child(1),
  .vv-cart-page .tf-table-page-cart th:nth-child(1) {
    min-width: 200px;
  }

  .vv-cart-page .tf-table-page-cart td:nth-child(2),
  .vv-cart-page .tf-table-page-cart th:nth-child(2),
  .vv-cart-page .tf-table-page-cart td:nth-child(3),
  .vv-cart-page .tf-table-page-cart th:nth-child(3),
  .vv-cart-page .tf-table-page-cart td:nth-child(4),
  .vv-cart-page .tf-table-page-cart th:nth-child(4) {
    min-width: 0;
  }
}

.vv-cart-page .tf-table-page-cart .quantity-product {
  width: 2.75rem;
  min-width: 2.75rem;
  text-align: center;
  border: 0;
  background: transparent;
  padding: 0;
  -moz-appearance: textfield;
}

.vv-cart-page .tf-table-page-cart .quantity-product::-webkit-outer-spin-button,
.vv-cart-page .tf-table-page-cart .quantity-product::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.vv-cart-page .vv-cart-attrs {
  margin-top: 4px;
}

.vv-cart-page .vv-cart-summary {
  position: sticky;
  top: 1rem;
}

.vv-cart-page .vv-cart-summary-actions {
  gap: 16px;
}

@media (max-width: 767px) {
  .vv-cart-page-title.flat-spacing-2 {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
  }

  .vv-cart-page-title h3 {
    font-size: 1.5rem;
  }

  .vv-cart-page .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .vv-cart-page .vv-cart-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .vv-cart-page .tf-table-page-cart tbody {
    display: block;
    width: 100%;
  }

  .vv-cart-page .tf-table-page-cart tr.tf-cart_item {
    display: block;
    width: 100%;
  }

  .vv-cart-page .tf-cart_item .cart_product {
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }

  .vv-cart-page .tf-cart_item .cart_product .img-prd img {
    object-fit: contain;
    aspect-ratio: 1;
  }

  .vv-cart-page .tf-cart_item .infor-prd .prd_name {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .vv-cart-page .tf-cart_item td[data-cart-title] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  .vv-cart-page .tf-cart_item td[data-cart-title]::before {
    flex: 0 0 auto;
    min-width: 5rem;
  }

  .vv-cart-page .tf-cart_item .cart_total {
    text-align: end;
  }

  .vv-cart-page .tf-cart_item .wg-quantity {
    margin-left: auto;
    max-width: none;
  }

  .vv-cart-page .vv-cart-summary {
    position: static;
    margin-bottom: 8px;
  }

  .vv-cart-page .vv-cart-summary .tf-btn {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Product page — mobile gallery swipe, hide thumbs */
@media (max-width: 1199px) {
  .section-product-single .tf-product-media-thumbs {
    display: none !important;
  }
}

.vv-product-gallery-main {
  position: relative;
}

.vv-product-gallery-main .vv-product-gallery-prev,
.vv-product-gallery-main .vv-product-gallery-next {
  display: none;
}

.vv-product-gallery-main .vv-product-gallery-pagination {
  display: none;
}

@media (max-width: 1199px) {
  .vv-product-gallery-main .vv-product-gallery-prev,
  .vv-product-gallery-main .vv-product-gallery-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--text);
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .vv-product-gallery-main .vv-product-gallery-prev {
    left: 12px;
  }

  .vv-product-gallery-main .vv-product-gallery-next {
    right: 12px;
  }

  .vv-product-gallery-main .vv-product-gallery-prev.swiper-button-disabled,
  .vv-product-gallery-main .vv-product-gallery-next.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
  }

  .vv-product-gallery-main .vv-product-gallery-pagination {
    display: flex;
    justify-content: center;
    margin-top: 12px;
  }

  .section-product-single .tf-product-media-main {
    touch-action: pan-y pinch-zoom;
  }
}

/* Homepage featured product hero slider */
.vv-featured-hero .swiper.radius-12 {
  border-radius: 12px 12px 0 0 !important;
  overflow: hidden;
}

/* Hero meets shop-by-vehicle section with no rounded gap between them */
.vv-featured-hero + .section-vehicle-search {
  margin-top: 0;
}

.vv-featured-hero + .section-vehicle-search .vehicle-search-card {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.vv-featured-hero .slideshow-wrap.vv-featured-slide {
  --vv-slide-bg: none;
  height: 340px !important;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-color: var(--black, #101010);
  background-image:
    linear-gradient(
      90deg,
      rgba(16, 16, 16, 1) 0%,
      rgba(16, 16, 16, 0.98) 22%,
      rgba(16, 16, 16, 0.9) 38%,
      rgba(16, 16, 16, 0.72) 52%,
      rgba(16, 16, 16, 0.48) 64%,
      rgba(16, 16, 16, 0.24) 76%,
      rgba(16, 16, 16, 0.08) 86%,
      rgba(16, 16, 16, 0) 100%
    ),
    var(--vv-slide-bg);
  background-repeat: no-repeat;
  background-position:
    0 0,
    right center;
  background-size:
    100% 100%,
    48% auto;
  overflow: hidden;
}

@media (max-width: 575px) {
  .vv-featured-hero .slideshow-wrap.sm-has-ov::after {
    display: none;
  }
}

.vv-featured-hero .vv-featured-slide__content {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  z-index: 2;
  width: 100%;
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vv-featured-hero .vv-featured-slide__content .heading {
  margin-bottom: 12px;
}

.vv-featured-hero .vv-featured-slide__content .heading.mb-xl-32 {
  margin-bottom: 12px !important;
}

.vv-featured-hero .vv-featured-slide__content .fade-item-3 {
  margin-top: 4px;
  flex-shrink: 0;
}

.vv-featured-hero .vv-featured-slide__content .title_sld {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.vv-featured-hero .sld_desc {
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9375rem;
}

.vv-featured-hero .sld_price {
  font-size: 1.125rem;
  margin-bottom: 0 !important;
}

.vv-featured-hero .title_sld a:hover {
  opacity: 0.9;
}

.vv-featured-hero .tf-btn.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 14px rgba(220, 70, 70, 0.35);
}

.vv-featured-hero .tf-btn.btn-primary:hover {
  background: var(--primary);
  color: var(--white);
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(220, 70, 70, 0.45);
}

@media (min-width: 768px) {
  .vv-featured-hero .slideshow-wrap.vv-featured-slide {
    height: 380px !important;
    min-height: 380px;
    background-size:
      100% 100%,
      44% auto;
  }

  .vv-featured-hero .vv-featured-slide__content {
    padding: 32px 40px;
    max-width: 62%;
  }
}

@media (max-width: 767.98px) {
  .vv-featured-hero .slideshow-wrap.vv-featured-slide {
    height: 300px !important;
    min-height: 300px;
    background-size:
      100% 100%,
      52% auto;
    background-position:
      0 0,
      center right;
  }

  .vv-featured-hero .vv-featured-slide__content {
    padding: 20px;
    max-width: 100%;
  }

  .vv-featured-hero .sld_desc {
    -webkit-line-clamp: 1;
    max-width: 100%;
  }

  .vv-featured-hero .vv-featured-slide__content .sub-text_sld {
    display: block;
    font-size: 0.75rem;
  }
}

/* Product page — estimated wait time (matches Availability text size) */
.vv-product-wait-time {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 6px;
  border: 1px solid #e6b800;
  background: #fff8e1;
}

/* =========================================================================
   Homepage — vintage garage-badge redesign
   Scoped to .vv-* classes used only in home.php so other pages (shop,
   product, contact) keep the stock theme look untouched.
   ========================================================================= */

:root {
  --vv-ink: #101010;
  --vv-paper: var(--bg-2, #f6f4f3);
  --vv-kraft: #efe7d8;
  --vv-red: var(--primary, #dc4646);
  --vv-gold: #c9a227;
  --vv-line: rgba(16, 16, 16, 0.14);
  --vv-shadow-hard: 6px 6px 0 rgba(16, 16, 16, 0.9);
  --vv-shadow-soft: 0 18px 40px rgba(16, 16, 16, 0.16);
  --f-display: "Anton", sans-serif;
  --f-script: "Yellowtail", cursive;
  --f-label: "Oswald", sans-serif;
}

.vv-eyebrow {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.vv-script {
  font-family: var(--f-script);
  text-transform: none;
  font-weight: 400;
}

.vv-case {
  text-transform: none;
}

/* ---------- hero ---------- */
.vv-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(220, 70, 70, 0.1), transparent 45%),
    var(--vv-paper);
  padding: 56px 0 0;
}

.vv-hero-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(var(--vv-line) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(120deg, black, transparent 55%);
  mask-image: linear-gradient(120deg, black, transparent 55%);
}

.vv-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 52px;
}

.vv-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vv-ink);
  color: var(--vv-paper);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  margin-bottom: 20px;
}

.vv-hero-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vv-red);
  display: inline-block;
}

.vv-hero-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
  line-height: 0.94;
  color: var(--vv-ink);
  margin: 0;
}

.vv-hero-title .vv-script {
  display: block;
  color: var(--vv-red);
  font-size: 0.42em;
  line-height: 1;
  margin-bottom: 6px;
  transform: rotate(-3deg) translateX(-2px);
}

.vv-hero-lead {
  max-width: 480px;
  font-size: 1.06rem;
  line-height: 1.65;
  color: #3c3c3c;
  margin: 20px 0 30px;
}

.vv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.vv-btn {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  padding: 15px 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--vv-ink);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.vv-btn-primary {
  background: var(--vv-red);
  color: #fff;
  border-color: var(--vv-red);
  box-shadow: var(--vv-shadow-hard);
}

.vv-btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(16, 16, 16, 0.9);
  color: #fff;
}

.vv-btn-ghost {
  background: transparent;
  color: var(--vv-ink);
  box-shadow: none;
}

.vv-btn-ghost:hover {
  background: var(--vv-ink);
  color: var(--vv-paper);
}

.vv-hero-badge-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vv-badge-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 2px dashed var(--vv-line);
  animation: vv-spin 40s linear infinite;
}

@keyframes vv-spin {
  to {
    transform: rotate(360deg);
  }
}

.vv-hero-badge-wrap img.vv-badge-img {
  width: min(320px, 78%);
  filter: drop-shadow(0 18px 30px rgba(16, 16, 16, 0.22));
}

.vv-sticker {
  position: absolute;
  background: var(--vv-kraft);
  border: 1.5px solid var(--vv-ink);
  border-radius: 6px;
  padding: 7px 12px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 3px 3px 0 rgba(16, 16, 16, 0.85);
  text-decoration: none !important;
  color: var(--vv-ink);
  max-width: 180px;
  line-height: 1.3;
}

.vv-sticker-1 {
  top: 6%;
  left: -4%;
  transform: rotate(-9deg);
  background: var(--vv-gold);
  color: var(--vv-ink);
}

.vv-sticker-2 {
  bottom: 8%;
  right: -4%;
  transform: rotate(7deg);
}

.vv-sticker.link-sticker:hover {
  transform: rotate(7deg) translateY(-2px);
}

/* ---------- marquee ---------- */
.vv-marquee {
  background: var(--vv-ink);
  color: var(--vv-paper);
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 0;
  width: 100%;
  max-width: 100%;
}

.vv-marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  line-height: 1;
  animation: vv-scroll 32s linear infinite;
  flex: 0 0 auto;
  width: max-content;
  max-width: none;
}

.vv-marquee span {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  line-height: 1;
}

.vv-marquee span::after {
  content: "\2726";
  color: var(--vv-red);
  font-size: 0.7rem;
}

@keyframes vv-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- vehicle finder, restyled as a "work order" card ---------- */
.vv-finder-wrap {
  margin-top: 0;
  padding: 30px 0 0 0;
  position: relative;
  z-index: 2;
}

/* section-vehicle-search's own top/bottom padding (flat-spacing-3 + pt-0) is
   asymmetric and left a dead gap below the card. Let the coloured panel hug
   the card tightly instead; even spacing now comes from .vv-finder-wrap. */
.vv-finder-wrap .section-vehicle-search {
  padding-bottom: 0;
}

.vv-finder-wrap .vehicle-search-card {
  border: 2px solid var(--vv-ink);
  border-radius: 14px;
  box-shadow: var(--vv-shadow-soft);
  position: relative;
}

.vv-finder-wrap .vehicle-search-card::before {
  content: "WORK ORDER";
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--vv-red);
  color: #fff;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 5px;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 rgba(16, 16, 16, 0.85);
}

.vv-finder-wrap .vehicle-search-heading h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 400;
}

/* ---------- features strip ---------- */
.vv-features {
  padding: 64px 0 8px;
}

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

.vv-feature-card {
  text-align: center;
  padding: 26px 16px;
}

.vv-feature-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--vv-ink);
  color: var(--vv-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 2px solid var(--vv-ink);
}

.vv-feature-card p.vv-feature-title {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  margin: 0 0 6px;
}

.vv-feature-card p.vv-feature-text {
  margin: 0;
  color: #666;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ---------- about ---------- */
.vv-about-v2 {
  padding: 32px 0 88px;
}

.vv-about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.vv-about-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--vv-ink);
  box-shadow: var(--vv-shadow-hard);
}

.vv-about-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.vv-stamp {
  position: absolute;
  bottom: -22px;
  right: -22px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--vv-paper);
  border: 2px solid var(--vv-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--vv-shadow-soft);
  transform: rotate(-8deg);
}

.vv-stamp span {
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: var(--vv-ink);
  transform: translateX(-3px);
}

.vv-about-copy .vv-eyebrow {
  color: var(--vv-red);
}

.vv-about-copy h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin: 10px 0 18px;
  line-height: 1.06;
}

.vv-about-copy p.vv-about-lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #3c3c3c;
  margin: 0 0 26px;
  max-width: 520px;
}

.vv-stat-row {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.vv-stat b {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 2rem;
  color: var(--vv-ink);
}

.vv-stat span {
  font-family: var(--f-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
}

/* ---------- category / shop-by-ride, dark ---------- */
.vv-cat-section {
  background: var(--vv-ink);
  color: var(--vv-paper);
  padding: 76px 0;
}

.vv-section-head {
  text-align: center;
  margin-bottom: 46px;
}

.vv-section-head .vv-eyebrow {
  color: var(--vv-red);
}

.vv-section-head h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin: 8px 0 0;
  color: inherit;
}

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

.vv-cat-card {
  background: var(--vv-paper);
  color: var(--vv-ink);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  border: 2px solid var(--vv-ink);
  position: relative;
  text-decoration: none;
  transition: transform 0.2s ease;
  display: block;
}

.vv-cat-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  color: var(--vv-ink);
}

.vv-cat-card .vv-cat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--vv-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1.15rem;
}

.vv-cat-card p.vv-cat-name {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  margin: 0;
}

.vv-cat-card small {
  display: block;
  margin-top: 4px;
  color: #888;
  font-size: 0.74rem;
  font-family: "DM Sans", sans-serif;
}

/* ---------- featured products header ---------- */
.vv-featured-v2.flat-spacing {
  padding-top: 40px;
  padding-bottom: 40px;
}

.vv-featured-v2 .vv-section-head {
  text-align: left;
  margin-bottom: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.vv-featured-v2 .vv-section-head .vv-eyebrow {
  color: var(--vv-red);
}

/* ---------- promo tiles (no stock imagery — solid vintage badge panels) ---------- */
.vv-promo {
  padding: 8px 0 40px;
}

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

.vv-promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 30px 26px 28px;
  border-radius: 12px;
  border: 2px solid var(--vv-ink);
  overflow: hidden;
  text-decoration: none !important;
  min-height: 240px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.vv-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vv-shadow-hard);
}

.vv-promo-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0 3px,
    rgba(0, 0, 0, 0) 3px 6px,
    rgba(0, 0, 0, 0.55) 6px 9px,
    rgba(0, 0, 0, 0) 9px 30px
  );
}

.vv-promo-ink .vv-promo-stripe {
  background: repeating-linear-gradient(
    90deg,
    rgba(246, 244, 243, 0.85) 0 3px,
    rgba(246, 244, 243, 0) 3px 6px,
    rgba(246, 244, 243, 0.85) 6px 9px,
    rgba(246, 244, 243, 0) 9px 30px
  );
}

.vv-promo-ink {
  background: var(--vv-ink);
  color: var(--vv-paper);
}

.vv-promo-ink .vv-promo-eyebrow {
  color: var(--vv-red);
}

.vv-promo-ink .vv-promo-desc {
  color: rgba(246, 244, 243, 0.75);
}

.vv-promo-red {
  background: var(--vv-red);
  color: #fff;
}

.vv-promo-red .vv-promo-eyebrow {
  color: var(--vv-ink);
}

.vv-promo-red .vv-promo-desc {
  color: rgba(255, 255, 255, 0.85);
}

.vv-promo-kraft {
  background: var(--vv-kraft);
  color: var(--vv-ink);
}

.vv-promo-kraft .vv-promo-eyebrow {
  color: var(--vv-red);
}

.vv-promo-kraft .vv-promo-desc {
  color: #5c5648;
}

.vv-promo-eyebrow {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  margin-top: 6px;
}

.vv-promo-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.05;
}

.vv-promo-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: auto;
}

.vv-promo-btn {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--vv-paper);
  color: var(--vv-ink);
  margin-top: 14px;
}

.vv-promo-red .vv-promo-btn,
.vv-promo-ink .vv-promo-btn {
  background: var(--vv-paper);
  color: var(--vv-ink);
}

.vv-promo-kraft .vv-promo-btn {
  background: var(--vv-ink);
  color: var(--vv-paper);
}

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

/* ---------- cta / contact ---------- */
.vv-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-bottom: 40px;
}

.vv-cta-photo {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--vv-ink);
  border-right: none;
  border-radius: 14px 0 0 14px;
  min-height: 480px;
}

.vv-cta-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vv-cta-photo-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 44px;
  color: #fff;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(16, 16, 16, 0.9) 100%
  );
}

.vv-cta-photo-overlay .vv-eyebrow {
  color: var(--vv-gold);
}

.vv-cta-photo-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.08;
  color: #fff !important;
  text-decoration: none !important;
  margin: 4px 0 2px;
}

.vv-cta-photo-desc {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 16px;
  max-width: 380px;
}

.vv-cta-photo-overlay .vv-btn {
  width: fit-content;
}

.vv-cta-v2 .form-cta {
  background: var(--vv-kraft);
  border: 2px solid var(--vv-ink);
  border-left: none;
  border-radius: 0 14px 14px 0;
  padding: 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vv-cta-v2 .form-cta .heading h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.7rem;
}

.vv-cta-v2 .form-cta fieldset input,
.vv-cta-v2 .form-cta textarea {
  background: var(--vv-paper);
  border: 2px solid var(--vv-ink);
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  padding: 12px 14px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.vv-cta-v2 .form-cta fieldset input:focus,
.vv-cta-v2 .form-cta textarea:focus {
  outline: none;
  border-color: var(--vv-red);
  box-shadow: 3px 3px 0 rgba(16, 16, 16, 0.85);
}

.vv-cta-v2 .form-cta .submit .tf-btn {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--vv-ink);
  color: var(--vv-paper);
  border: 2px solid var(--vv-ink);
  box-shadow: var(--vv-shadow-hard);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.vv-cta-v2 .form-cta .submit .tf-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(16, 16, 16, 0.5);
  background: var(--vv-red);
  border-color: var(--vv-red);
  color: #fff;
}

@media (max-width: 991.98px) {
  .vv-cta-grid {
    grid-template-columns: 1fr;
  }

  .vv-cta-photo {
    border-radius: 14px;
    border-right: 2px solid var(--vv-ink);
    min-height: 320px;
  }

  .vv-cta-v2 .form-cta {
    border-radius: 14px;
    border-left: 2px solid var(--vv-ink);
  }
}

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

  .vv-hero-badge-wrap {
    order: -1;
    margin-bottom: 4px;
  }

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

  .vv-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vv-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .vv-sticker {
    font-size: 0.62rem;
    padding: 6px 9px;
    max-width: 130px;
  }

  .vv-sticker-1 {
    left: -2%;
  }

  .vv-sticker-2 {
    right: -2%;
  }
}

/* Checkout */
.vv-checkout-page .box-ip-checkout,
.vv-checkout-page .box-ip-payment {
  background: var(--white, #fff);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(16, 16, 16, 0.08);
}

.vv-checkout-summary-wrap {
  position: sticky;
  top: 1rem;
  z-index: 5;
  align-self: flex-start;
}

.vv-checkout-summary {
  background: var(--white, #fff);
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(16, 16, 16, 0.04);
}

.vv-checkout-summary .title {
  margin-bottom: 16px;
}

.vv-checkout-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vv-checkout-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
}

.vv-checkout-item:first-child {
  padding-top: 0;
}

.vv-checkout-item-img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  background: var(--white, #fff);
  overflow: hidden;
  flex-shrink: 0;
}

.vv-checkout-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vv-checkout-item-info {
  min-width: 0;
}

.vv-checkout-item-name {
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
  word-break: break-word;
}

.vv-checkout-item-meta {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-2, #666);
}

.vv-checkout-item-price {
  font-weight: 600;
  color: var(--primary, #c0392b);
  white-space: nowrap;
  text-align: right;
}

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

.vv-checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--text-2, #666);
  font-size: 0.95rem;
}

.vv-fulfillment-choices {
  display: flex;
  flex-direction: column;
  margin: -2px 0 4px;
}

.vv-fulfillment-choice.vv-checkout-total-row {
  margin-bottom: 8px;
  cursor: pointer;
  color: var(--text-2, #666);
}

.vv-fulfillment-choice-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vv-fulfillment-choice input {
  margin: 0;
  flex: 0 0 auto;
}

.vv-fulfillment-choice.vv-checkout-total-row > span:last-child {
  color: var(--text, #101010);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.vv-checkout-total-row > span:last-child {
  color: var(--text, #101010);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.vv-checkout-total-row.vv-checkout-total-charge {
  margin-top: 12px;
  margin-bottom: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 16, 16, 0.12);
  color: var(--primary, #c0392b);
  font-size: 1.05rem;
  font-weight: 600;
}

.vv-checkout-total-row.vv-checkout-total-charge > span:last-child {
  color: var(--primary, #c0392b);
}

.vv-checkout-page input[type="text"],
.vv-checkout-page input[type="email"],
.vv-checkout-page input[type="tel"],
.vv-checkout-page input[type="number"] {
  width: 100%;
}

/* Unified card element (Stripe-style) */
.vv-card-label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(16, 16, 16, 0.62);
}

.vv-card-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vv-card-field input {
  height: 48px;
  border: 1px solid rgba(16, 16, 16, 0.14);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vv-card-field input:focus {
  outline: none;
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.18);
}

.vv-card-element {
  border: 1px solid rgba(16, 16, 16, 0.16);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vv-card-element.is-focused {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.18);
}

.vv-card-element-row {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
}

.vv-card-element-number {
  gap: 10px;
  border-bottom: 1px solid rgba(16, 16, 16, 0.1);
}

.vv-card-element-meta {
  padding: 0;
}

.vv-card-element-half {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.vv-card-element-half + .vv-card-element-half {
  border-left: 1px solid rgba(16, 16, 16, 0.1);
}

.vv-card-element input {
  width: 100%;
  height: 52px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #111;
}

.vv-card-element input::placeholder {
  color: rgba(16, 16, 16, 0.38);
  letter-spacing: 0.04em;
}

.vv-card-brands {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.vv-card-brand {
  display: inline-flex;
  opacity: 0.38;
  transition: opacity 0.18s ease, transform 0.18s ease;
  filter: grayscale(0.15);
}

.vv-card-brand svg {
  display: block;
  border-radius: 4px;
}

.vv-card-element[data-brand=""] .vv-card-brand,
.vv-card-element:not([data-brand]) .vv-card-brand {
  opacity: 0.55;
  filter: none;
}

.vv-card-element[data-brand="visa"] .vv-card-brand-visa,
.vv-card-element[data-brand="mastercard"] .vv-card-brand-mastercard,
.vv-card-element[data-brand="amex"] .vv-card-brand-amex,
.vv-card-element[data-brand="discover"] .vv-card-brand-discover {
  opacity: 1;
  filter: none;
  transform: scale(1.06);
}

.vv-card-element[data-brand="visa"] .vv-card-brand:not(.vv-card-brand-visa),
.vv-card-element[data-brand="mastercard"] .vv-card-brand:not(.vv-card-brand-mastercard),
.vv-card-element[data-brand="amex"] .vv-card-brand:not(.vv-card-brand-amex),
.vv-card-element[data-brand="discover"] .vv-card-brand:not(.vv-card-brand-discover) {
  opacity: 0.18;
}

@media (max-width: 575.98px) {
  .vv-card-name-row {
    grid-template-columns: 1fr;
  }

  .vv-card-brands .vv-card-brand-discover {
    display: none;
  }
}

.vv-pay-method-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vv-pay-method-option {
  flex: 1 1 140px;
  margin: 0 !important;
  padding: 12px 14px;
  border: 1px solid rgba(16, 16, 16, 0.12);
  border-radius: 10px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.vv-pay-method-option:has(input:checked) {
  border-color: #635bff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.12);
}

.vv-checkout-complete {
  background: var(--white, #fff);
  border-radius: 16px;
  padding: 48px 24px;
  border: 1px solid rgba(16, 16, 16, 0.08);
}

.vv-confirm-card {
  background: var(--white, #fff);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid rgba(16, 16, 16, 0.08);
}

.vv-confirm-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.vv-confirm-ship {
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  .vv-confirm-card {
    padding: 24px 16px;
  }
}

@media (max-width: 991.98px) {
  .vv-checkout-summary-wrap {
    position: static;
    margin-top: 24px;
  }
}

@media (max-width: 575.98px) {
  .vv-checkout-summary {
    padding: 18px 16px;
  }

  .vv-checkout-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }

  .vv-checkout-item-img {
    width: 56px;
    height: 56px;
  }

  .vv-checkout-item-price {
    grid-column: 2;
    text-align: left;
  }
}

/* Product related-products swiper — theme pulls left with negative margin */
.wrap-sw-over {
  margin-left: 0;
  padding-left: 0;
}

@media (min-width: 1200px) {
  .wrap-sw-over {
    margin-left: 0;
    padding-left: 0;
  }
}

/* Shop / blog pagination — allow wrapping instead of forcing page width */
.tf-page-pagination {
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

/* About stamp sits outside the photo box; keep it inside the section */
.vv-about-v2 .container {
  overflow: hidden;
}

@supports not (overflow: clip) {
  html {
    overflow-x: hidden;
  }
}

/* Appointment booking */
.vv-appt-panel {
  background: linear-gradient(165deg, #ffffff 0%, var(--bg-2, #f6f4f3) 100%);
  border: 1px solid var(--line, #e9e9e9);
  padding: 1.5rem 1.35rem;
}

.vv-appt-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--text, #101010);
}

.vv-appt-input {
  width: 100%;
  border: 1px solid var(--line, #e9e9e9);
  background: #fff;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  color: var(--text, #101010);
}

.vv-appt-input:focus {
  outline: 2px solid color-mix(in srgb, var(--primary, #dc4646) 40%, transparent);
  outline-offset: 1px;
}

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

.vv-appt-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  min-height: 2.5rem;
}

.vv-appt-slot {
  border: 1px solid var(--line, #e9e9e9);
  background: #fff;
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vv-appt-slot:hover {
  border-color: var(--primary, #dc4646);
  color: var(--primary, #dc4646);
}

.vv-appt-slot.is-selected {
  background: var(--primary, #dc4646);
  border-color: var(--primary, #dc4646);
  color: #fff;
}

.vv-appt-success {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: linear-gradient(165deg, #ffffff 0%, var(--bg-2, #f6f4f3) 100%);
  border: 1px solid var(--line, #e9e9e9);
}

/* ---------- setup videos page ---------- */
.vv-setup-videos {
  padding-top: 36px;
}

.vv-setup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
}

.vv-setup-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.vv-setup-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--vv-ink, #101010);
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--vv-shadow-soft, 0 18px 40px rgba(16, 16, 16, 0.16));
}

.vv-setup-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vv-setup-title {
  font-family: var(--f-label, "DM Sans", sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: var(--vv-ink, #101010);
}

.vv-setup-more {
  margin-top: 40px;
  margin-bottom: 0;
  color: #666;
}

/* ---------- home teaser: setup videos ---------- */
.vv-setup-home {
  padding: 20px 0 48px;
}

.vv-setup-home-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 34px 36px;
  background: var(--vv-ink, #101010);
  color: var(--vv-paper, #f6f4f3);
  border: 2px solid var(--vv-ink, #101010);
  border-radius: 14px;
  box-shadow: var(--vv-shadow-hard, 6px 6px 0 rgba(16, 16, 16, 0.9));
}

.vv-setup-home-copy {
  max-width: 560px;
}

.vv-setup-home-copy .vv-eyebrow {
  color: var(--vv-red, #dc4646);
  margin-bottom: 6px;
}

.vv-setup-home-copy h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 10px;
  color: inherit;
}

.vv-setup-home-copy p {
  margin: 0;
  color: rgba(246, 244, 243, 0.78);
  line-height: 1.55;
}

@media (max-width: 991.98px) {
  .vv-setup-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .vv-setup-grid {
    grid-template-columns: 1fr;
  }

  .vv-setup-home-inner {
    padding: 28px 22px;
  }
}

/* Header search popup — live results */
.modal-search .modal-dialog {
  max-width: 720px;
}

.modal-search .vv-search-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.modal-search .vv-search-results[hidden] {
  display: none !important;
}

.modal-search .vv-search-results-status {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-2, #6b6560);
}

.modal-search .vv-search-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  border-top: 1px solid var(--line, #e6e1dc);
}

.modal-search .vv-search-result-item + .vv-search-result-item {
  border-top: 1px solid var(--line, #e6e1dc);
}

.modal-search .vv-search-result-link {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 4px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.modal-search .vv-search-result-link:hover,
.modal-search .vv-search-result-link:focus-visible {
  background: rgba(0, 0, 0, 0.03);
  outline: none;
}

.modal-search .vv-search-result-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-2, #f6f4f3);
  flex-shrink: 0;
}

.modal-search .vv-search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-search .vv-search-result-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.modal-search .vv-search-result-name {
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-search .vv-search-result-sku {
  font-size: 12px;
  line-height: 1.3;
  color: var(--text-2, #6b6560);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-search .vv-search-result-price {
  font-weight: 600;
  white-space: nowrap;
  color: var(--primary, #c0392b);
}

.modal-search .vv-search-view-all {
  align-self: flex-start;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal-search .vv-search-view-all[hidden] {
  display: none !important;
}

@media (max-width: 575.98px) {
  .modal-search .vv-search-result-link {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .modal-search .vv-search-result-img {
    width: 48px;
    height: 48px;
  }

  .modal-search .vv-search-result-price {
    grid-column: 2;
    font-size: 14px;
  }

  .modal-search .vv-search-results-list {
    max-height: min(46vh, 360px);
  }
}

