/* ===========================================================
   ARKO — PAGE-SPECIFIC STYLES
   Hero, sections, layouts, and page-specific components.
=========================================================== */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,11,11,.88) 0%, rgba(11,11,11,.5) 50%, rgba(11,11,11,.3) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 60px; }
.hero-sub { max-width: 520px; margin-top: 24px; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.hero-stats span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #999; }
.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  z-index: 3;
}
.hero-scroll i { animation: scroll-bounce 1.5s infinite; }
@keyframes scroll-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* MARQUEE */
.marquee {
  background: var(--volt);
  color: var(--ink);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  animation: marquee 30s linear infinite;
}
.marquee-track span { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.marquee-track i { font-size: .4rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* SECTION HEAD */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head .eyebrow { margin-bottom: 10px; }

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* CATEGORY GRID */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.category-card:hover img { transform: scale(1.08); }
.category-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,11,11,.85) 0%, rgba(11,11,11,.2) 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  color: var(--white);
}
.category-overlay h3 { font-size: 1.8rem; font-weight: 800; margin: 6px 0 16px; }
.category-overlay .eyebrow { color: var(--volt); }

/* SPLIT LAYOUT */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-visual { overflow: hidden; aspect-ratio: 4 / 3; }
.split-visual img { width: 100%; height: 100%; object-fit: cover; }
.highlight-specs { display: flex; gap: 40px; flex-wrap: wrap; }
.highlight-specs > div { display: flex; flex-direction: column; }
.highlight-specs strong { font-size: 1.8rem; font-weight: 800; }
.highlight-specs span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #999; }

/* CTA BLOCK */
.cta-block { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-block .section-title { margin-top: 10px; }

/* TESTIMONIALS */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card p { font-size: 1.05rem; line-height: 1.6; color: #333; }
.testimonial-author { display: flex; flex-direction: column; }
.testimonial-author strong { font-size: .95rem; }
.testimonial-author span { font-size: .82rem; color: #999; }

/* btn-line on dark */
.btn-line.on-dark { color: var(--white); border-color: var(--white); }
.btn-line.on-dark:hover { color: var(--volt); border-color: var(--volt); }

/* ===================== SHOP PAGE ===================== */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: flex-start;
}
.shop-results { min-height: 400px; }
.filter-toggle-mobile { display: none; }

@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .filter-sidebar.is-open { display: block; position: fixed; inset: 70px 0 0; z-index: 800; overflow-y: auto; }
  .filter-toggle-mobile { display: flex; }
}

/* ===================== PRODUCT PAGE ===================== */
.product-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  padding: 40px 0;
}
.product-gallery-main {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--charcoal);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.product-gallery-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  opacity: .6;
  transition: opacity .3s ease;
  border: 2px solid transparent;
}
.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active { opacity: 1; border-color: var(--ink); }
.product-info h1 { font-size: 2.2rem; font-weight: 800; margin: 8px 0; }
.product-info .price { font-size: 2.5rem; font-weight: 800; margin: 20px 0; }
.product-info .price .old { font-size: 1.2rem; color: #999; text-decoration: line-through; font-weight: 400; margin-left: 10px; }
.variant-group { margin-bottom: 24px; }
.variant-group h6 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 10px; }
.variant-option {
  padding: 12px 20px;
  border: 1px solid var(--line-light);
  background: var(--white);
  font-size: .88rem;
  cursor: pointer;
  transition: all .3s ease;
}
.variant-option:hover { border-color: var(--ink); }
.variant-option.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.color-swatches { display: flex; gap: 12px; }
.color-swatch {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--line-light);
  cursor: pointer;
  transition: transform .2s ease;
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.active { box-shadow: 0 0 0 2px var(--ink); }
.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-light);
  width: fit-content;
}
.qty-selector button { width: 44px; height: 44px; border: none; background: var(--white); font-size: 1.2rem; }
.qty-selector input { width: 50px; height: 44px; border: none; text-align: center; font-size: 1rem; font-weight: 700; }
.product-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.product-actions .btn-volt, .product-actions .btn-dark, .product-actions .btn-outline { flex: 1; min-width: 180px; }

/* Sticky purchase bar */
.sticky-purchase {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: var(--white);
  padding: 16px 0;
  z-index: 800;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
  border-top: 1px solid var(--line-dark);
}
.sticky-purchase.is-visible { transform: translateY(0); }
.sticky-purchase-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sticky-purchase .sp-name { font-weight: 700; font-size: 1.1rem; }
.sticky-purchase .sp-price { font-size: 1.4rem; font-weight: 800; color: var(--volt); }

/* Product tabs */
.product-tabs { border-bottom: 1px solid var(--line-light); display: flex; gap: 0; margin-bottom: 30px; }
.product-tab {
  padding: 16px 28px;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: #999;
  transition: color .3s ease, border-color .3s ease;
}
.product-tab.active { color: var(--ink); border-color: var(--ink); }
.product-tab-content { display: none; }
.product-tab-content.active { display: block; }

/* Spec table */
.spec-table { width: 100%; }
.spec-table tr { border-bottom: 1px solid var(--line-light); }
.spec-table td { padding: 14px 0; }
.spec-table td:first-child { font-weight: 700; color: #555; width: 40%; }
.spec-table td:last-child { font-weight: 600; }

/* Review card */
.review-card { border-bottom: 1px solid var(--line-light); padding: 24px 0; }
.review-card .review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.review-card .review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.review-card h5 { font-size: 1rem; font-weight: 700; }
.review-card .review-date { font-size: .8rem; color: #999; }
.review-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.review-card p { color: #555; line-height: 1.6; }

/* Related products */
.related-section { padding: 60px 0; }

/* ===================== CONFIGURATOR ===================== */
.configurator {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 40px 0;
}
.config-step {
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 32px;
  margin-bottom: 20px;
}
.config-step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.config-step h3 .step-num { width: 28px; height: 28px; background: var(--ink); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.config-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 20px; }
.config-option {
  border: 2px solid var(--line-light);
  padding: 20px;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}
.config-option:hover { border-color: var(--ink); }
.config-option.active { border-color: var(--volt); background: #fffbe8; }
.config-option.active::after {
  content: '\e9d8';
  font-family: 'boxicons';
  position: absolute;
  top: 10px; right: 10px;
  color: var(--ink);
  font-size: 1.2rem;
}
.config-option h6 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.config-option p { font-size: .82rem; color: #777; }
.config-option .opt-price { font-size: .85rem; font-weight: 700; margin-top: 8px; }
.config-summary {
  position: sticky;
  top: 90px;
  background: var(--ink);
  color: var(--white);
  padding: 30px;
}
.config-summary h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 20px; }
.config-summary .summary-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: .9rem; }
.config-summary .summary-total { display: flex; justify-content: space-between; padding: 16px 0 0; font-size: 1.5rem; font-weight: 800; }
.config-summary .summary-total span:last-child { color: var(--volt); }
.config-preview {
  aspect-ratio: 4 / 3;
  background: var(--charcoal);
  margin-bottom: 20px;
  overflow: hidden;
}
.config-preview img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .configurator { grid-template-columns: 1fr; }
  .config-summary { position: static; }
}

/* ===================== COMPARE PAGE ===================== */
.compare-table-wrap { overflow-x: auto; padding: 40px 0; }
.compare-table { min-width: 800px; width: 100%; border-collapse: collapse; }
.compare-table th { text-align: center; padding: 20px; border-bottom: 2px solid var(--line-light); }
.compare-table th:first-child { text-align: left; width: 200px; }
.compare-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line-light); }
.compare-table td:first-child { text-align: left; font-weight: 700; color: #555; }
.compare-table .compare-product-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 10px; }
.compare-table .compare-product-name { font-size: 1.1rem; font-weight: 800; }
.compare-table .compare-product-price { font-size: 1.3rem; font-weight: 800; margin-top: 4px; }
.compare-table .diff-highlight { background: #fffbe8; }
.compare-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.compare-slot {
  border: 2px dashed var(--line-light);
  padding: 40px 20px;
  text-align: center;
  transition: border-color .3s ease;
}
.compare-slot.filled { border-style: solid; border-color: var(--ink); background: var(--white); }
.compare-slot i { font-size: 2rem; color: #ccc; }
.compare-slot p { margin: 10px 0 0; font-size: .85rem; color: #999; }
.compare-slot .slot-product img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 10px; }
.compare-slot .slot-product .name { font-weight: 700; font-size: .95rem; }
.compare-slot .slot-product .price { font-weight: 800; margin-top: 4px; }
.compare-slot .remove-btn { margin-top: 10px; font-size: .8rem; color: var(--error); cursor: pointer; }

/* ===================== CART PAGE ===================== */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: flex-start; padding: 40px 0; }
.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
  align-items: center;
}
.cart-item img { width: 120px; aspect-ratio: 4/3; object-fit: cover; }
.cart-item-info h4 { font-size: 1.05rem; font-weight: 700; }
.cart-item-info .item-meta { font-size: .82rem; color: #999; margin-top: 4px; }
.cart-item-price { font-size: 1.1rem; font-weight: 700; text-align: right; }
.cart-item-remove { color: #999; cursor: pointer; font-size: 1.3rem; transition: color .3s ease; }
.cart-item-remove:hover { color: var(--error); }
.cart-summary {
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 30px;
  position: sticky;
  top: 90px;
}
.cart-summary h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }
.cart-summary-line { display: flex; justify-content: space-between; padding: 10px 0; font-size: .92rem; }
.cart-summary-total { display: flex; justify-content: space-between; padding: 16px 0 0; border-top: 2px solid var(--ink); margin-top: 10px; font-size: 1.5rem; font-weight: 800; }
.promo-input { display: flex; margin: 16px 0; }
.promo-input input { flex: 1; padding: 12px 14px; border: 1px solid var(--line-light); font-size: .88rem; }
.promo-input button { padding: 0 18px; background: var(--ink); color: var(--white); border: none; font-weight: 700; font-size: .8rem; text-transform: uppercase; }

@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 90px 1fr; }
  .cart-item-price { grid-column: 2; text-align: left; }
}

/* ===================== CHECKOUT ===================== */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: flex-start; padding: 40px 0; }
.checkout-step { display: none; }
.checkout-step.active { display: block; }
.checkout-panel { background: var(--white); border: 1px solid var(--line-light); padding: 30px; margin-bottom: 20px; }
.checkout-panel h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; }
.payment-method { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line-light); cursor: pointer; margin-bottom: 10px; transition: border-color .3s ease; }
.payment-method:hover, .payment-method.active { border-color: var(--ink); }
.payment-method i { font-size: 1.5rem; }
.payment-method h6 { font-size: .95rem; font-weight: 700; }
.payment-method p { font-size: .82rem; color: #999; }
.order-review-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.order-review-item img { width: 60px; aspect-ratio: 1; object-fit: cover; }
.order-review-item h6 { font-size: .9rem; font-weight: 700; }
.order-review-item .qty { font-size: .8rem; color: #999; }

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

/* ===================== ORDER SUCCESS ===================== */
.order-success { text-align: center; padding: 60px 0; }
.success-icon {
  width: 80px; height: 80px;
  background: var(--success);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}
.order-success h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.order-success .order-number { font-size: 1.1rem; color: #666; margin-bottom: 30px; }
.order-success-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 800px; margin: 40px auto; }
.order-success-step { text-align: center; }
.order-success-step i { font-size: 2rem; color: var(--volt-dim); margin-bottom: 10px; }
.order-success-step h6 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.order-success-step p { font-size: .82rem; color: #777; }

/* ===================== ACCESSORIES ===================== */
.accessory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

/* ===================== WISHLIST ===================== */
.wishlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ===================== ACCOUNT ===================== */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding: 40px 0; align-items: flex-start; }
.account-sidebar {
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.account-sidebar h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; }
.account-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
  border-left: 3px solid transparent;
}
.account-nav-item:hover { background: var(--bone-2); }
.account-nav-item.active { background: var(--ink); color: var(--white); border-color: var(--volt); }
.account-nav-item i { font-size: 1.1rem; }
.account-content { min-height: 500px; }
.account-section { display: none; }
.account-section.active { display: block; }
.account-section h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 24px; }
.garage-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  border: 1px solid var(--line-light);
  padding: 20px;
  margin-bottom: 16px;
  background: var(--white);
}
.garage-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

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

/* ===================== ORDERS ===================== */
.order-card { border: 1px solid var(--line-light); padding: 24px; margin-bottom: 16px; background: var(--white); }
.order-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.order-card-header h4 { font-size: 1.05rem; font-weight: 800; }
.order-card-header .order-date { font-size: .85rem; color: #999; }
.order-status-badge { padding: 5px 14px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.order-status-badge.delivered { background: var(--success); color: var(--white); }
.order-status-badge.shipped { background: var(--info); color: var(--white); }
.order-status-badge.processing { background: var(--warning); color: var(--white); }
.order-status-badge.cancelled { background: var(--error); color: var(--white); }
.order-items-list { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.order-item-mini { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.order-item-mini img { width: 50px; height: 50px; object-fit: cover; }
.order-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line-light); }
.order-card-footer .total { font-size: 1.2rem; font-weight: 800; }

/* Tracking timeline */
.tracking-timeline { position: relative; padding: 20px 0; }
.tracking-timeline::before { content: ''; position: absolute; left: 19px; top: 0; bottom: 0; width: 2px; background: var(--line-light); }
.tracking-stage { display: flex; gap: 20px; padding: 12px 0; position: relative; }
.tracking-stage .stage-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  flex-shrink: 0;
}
.tracking-stage.done .stage-dot { background: var(--success); border-color: var(--success); color: var(--white); }
.tracking-stage.current .stage-dot { background: var(--volt); border-color: var(--volt); }
.tracking-stage h6 { font-size: .95rem; font-weight: 700; }
.tracking-stage .stage-date { font-size: .8rem; color: #999; }

/* ===================== TEST RIDE ===================== */
.testride-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; padding: 40px 0; align-items: flex-start; }
.testride-form { background: var(--white); border: 1px solid var(--line-light); padding: 36px; }
.testride-info { position: sticky; top: 90px; }
.testride-info-card { background: var(--ink); color: var(--white); padding: 30px; margin-bottom: 20px; }
.testride-info-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 14px; }
.testride-info-card .info-item { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; font-size: .9rem; color: #c8c8c8; }
.testride-info-card .info-item i { font-size: 1.2rem; color: var(--volt); }

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

/* ===================== DEALERS ===================== */
.dealers-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 40px 0; }
.dealer-search { margin-bottom: 20px; }
.dealer-list { max-height: 600px; overflow-y: auto; }
.dealer-card { border: 1px solid var(--line-light); padding: 20px; margin-bottom: 12px; background: var(--white); cursor: pointer; transition: border-color .3s ease; }
.dealer-card:hover { border-color: var(--ink); }
.dealer-card h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.dealer-card .dealer-city { font-size: .85rem; color: #777; margin-bottom: 8px; }
.dealer-card .dealer-info { font-size: .82rem; color: #999; display: flex; flex-direction: column; gap: 4px; }
.dealer-card .dealer-info i { color: var(--volt-dim); margin-right: 6px; }
.dealer-map {
  background: var(--charcoal);
  min-height: 500px;
  position: relative;
  overflow: hidden;
}
.dealer-map img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.dealer-map-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--white); text-align: center; }
.dealer-map-pin { position: absolute; width: 30px; height: 30px; background: var(--volt); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); cursor: pointer; transition: transform .3s ease; }
.dealer-map-pin:hover { transform: rotate(-45deg) scale(1.3); }
.dealer-map-pin::after { content: '\ebc4'; font-family: 'boxicons'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg); font-size: .9rem; color: var(--ink); }

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

/* ===================== SUPPORT ===================== */
.support-layout { padding: 40px 0; }
.support-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.support-cat {
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: transform .3s ease, border-color .3s ease;
}
.support-cat:hover { transform: translateY(-4px); border-color: var(--ink); }
.support-cat i { font-size: 2.5rem; color: var(--volt-dim); margin-bottom: 14px; }
.support-cat h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.support-cat p { font-size: .82rem; color: #999; }
.support-faq { max-width: 800px; margin: 0 auto; }
.support-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
.support-contact-card { background: var(--ink); color: var(--white); padding: 30px; }
.support-contact-card h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.support-contact-card p { color: #c8c8c8; font-size: .9rem; margin-bottom: 16px; }
.support-contact-card .contact-item { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-size: .9rem; }
.support-contact-card .contact-item i { color: var(--volt); font-size: 1.2rem; }

@media (max-width: 860px) {
  .support-cats { grid-template-columns: repeat(2, 1fr); }
  .support-contact { grid-template-columns: 1fr; }
}

/* ===================== SEARCH ===================== */
.search-page { padding: 40px 0; }
.search-bar-large {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 0 20px;
  margin-bottom: 30px;
}
.search-bar-large i { font-size: 1.3rem; color: #999; }
.search-bar-large input { flex: 1; border: none; padding: 18px 16px; font-size: 1.05rem; font-family: inherit; }
.search-bar-large button { padding: 12px 24px; background: var(--ink); color: var(--white); border: none; font-weight: 700; font-size: .82rem; text-transform: uppercase; }

/* ===================== 404 ===================== */
.error-page { text-align: center; padding: 120px 0; }
.error-page .error-code { font-size: clamp(6rem, 15vw, 12rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.error-page h1 { font-size: 1.8rem; font-weight: 700; margin: 20px 0 10px; }
.error-page p { color: #777; max-width: 500px; margin: 0 auto 30px; }

/* ===================== HOME — MERGED CINEMATIC SECTIONS =====================
   Ported from landing-page-v1.html's battery/h-scroll/cine/carousel/final-cta
   sections. The battery-swap latch animation and GSAP-pinned horizontal
   scroll are intentionally not reproduced here -- those were pure motion
   flourishes with no data behind them; the showcase panels instead scroll
   natively (CSS scroll-snap) so the same HomeShowcasePanel media/copy still
   reads correctly without bespoke pin-and-translate JS. */

/* -- Battery swap (04) --------------------------------------------------- */
.battery-section { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.battery-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; padding: 110px 0; }
.battery-copy .display-title { margin-bottom: 20px; }
.battery-list { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.battery-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; color: #b8b8b8; }
.battery-list i { color: var(--volt); font-size: 1.1rem; margin-top: 2px; }
.battery-media { position: relative; aspect-ratio: 4 / 5; background: var(--charcoal); border: 1px solid var(--line-dark); overflow: hidden; }
.battery-media img { width: 100%; height: 100%; object-fit: cover; }

/* -- Horizontal feature showcase (05), HomeShowcasePanel ----------------- */
.showcase-section { background: var(--ink); overflow: hidden; }
.showcase-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.showcase-scroll::-webkit-scrollbar { display: none; }
.showcase-panel {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 78vh;
  display: flex; align-items: center; padding: 0 clamp(20px, 6vw, 90px);
}
.showcase-panel-media { position: absolute; inset: 0; z-index: 0; }
.showcase-panel-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase-panel-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,11,.82) 0%, rgba(11,11,11,.35) 55%, rgba(11,11,11,.05) 100%); }
.showcase-panel-content { position: relative; z-index: 1; color: var(--white); max-width: 480px; }
.showcase-panel-index { font-size: .82rem; color: var(--volt); font-weight: 700; letter-spacing: .08em; margin-bottom: 18px; }
.showcase-panel-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; line-height: 1.02; }
.showcase-panel-desc { color: #c7c7c7; font-size: 1.02rem; max-width: 400px; line-height: 1.6; }
.showcase-nav { display: flex; justify-content: center; gap: 10px; padding: 22px 0; background: var(--ink); }
.showcase-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark);
  background: transparent; color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: border-color .3s ease, transform .3s ease;
}
.showcase-arrow:hover { border-color: var(--volt); transform: translateY(-2px); }

/* -- Cinematic banner (08), HomePageContent.cine_* ------------------------ */
.cine-section { position: relative; min-height: 82vh; color: var(--white); overflow: hidden; }
.cine-media { position: absolute; inset: 0; }
.cine-media img, .cine-media video { width: 100%; height: 100%; object-fit: cover; }
.cine-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.5) 100%); }
.cine-content { position: relative; z-index: 2; min-height: 82vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 60px clamp(20px, 4vw, 56px); }
.cine-controls { display: flex; gap: 14px; margin-top: 28px; }
.cine-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem; transition: border-color .3s ease, transform .3s ease;
}
.cine-btn:hover { border-color: var(--volt); transform: translateY(-2px); }

/* -- Detail carousel (09), HomeCarouselSlide ------------------------------ */
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.carousel-nav { display: flex; align-items: center; gap: 18px; }
.carousel-count { font-size: .85rem; color: #666; }
.carousel-count .cur { color: var(--ink); font-weight: 800; }
.carousel-arrows { display: flex; gap: 10px; }
.c-arrow {
  width: 48px; height: 48px; border: 1px solid var(--line-light); background: transparent;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.c-arrow:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.carousel-stage { position: relative; width: 100%; aspect-ratio: 16 / 8; overflow: hidden; background: var(--charcoal); }
.c-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease; }
.c-slide.is-active { opacity: 1; visibility: visible; }
.c-slide img { width: 100%; height: 100%; object-fit: cover; }
.c-slide-caption { position: absolute; left: 28px; bottom: 28px; color: var(--white); font-size: .9rem; letter-spacing: .03em; background: rgba(0,0,0,.4); padding: 8px 16px; }
.carousel-dots { display: flex; gap: 8px; margin-top: 22px; justify-content: center; }
.c-dot { width: 24px; height: 2px; background: var(--line-light); border: 0; padding: 0; cursor: pointer; transition: background-color .3s ease; }
.c-dot.is-active { background: var(--ink); }

/* -- Final CTA (11), HomePageContent.final_cta_* -------------------------- */
.final-cta { position: relative; min-height: 86vh; color: var(--white); overflow: hidden; background: var(--ink); }
.final-media { position: absolute; inset: 0; }
.final-media img { width: 100%; height: 100%; object-fit: cover; }
.final-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.85) 100%); }
.final-content { position: relative; z-index: 2; min-height: 86vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 clamp(20px, 4vw, 56px) 70px; }
.final-content .body-l { margin: 20px 0 34px; max-width: 460px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ===================== RESPONSIVE OVERRIDES ===================== */
@media (max-width: 1024px) {
  .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; gap: 30px; }
  .testride-layout { grid-template-columns: 1fr; }
  .battery-inner { grid-template-columns: 1fr; padding: 70px 0; }
}
@media (max-width: 560px) {
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 1.4rem; }
  .product-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .order-success-steps { grid-template-columns: 1fr; }
  .carousel-stage { aspect-ratio: 4 / 5; }
  .showcase-panel { min-height: 60vh; padding: 0 20px; }
}
