/* ─── CSS Variables ──────────────────────────────────────────────────────── */
:root {
  --bg: #f3f4f6;
  --bg-soft: #e5e7eb;
  --surface: rgba(255,255,255,.94);
  --surface-solid: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe2ea;
  --line-strong: #cbd5e1;
  --red: #be123c;
  --red-dark: #881337;
  --shadow-sm: 0 10px 24px rgba(15,23,42,.06);
  --shadow: 0 20px 54px rgba(15,23,42,.08);
  --shadow-hover: 0 24px 58px rgba(190,18,60,.16);
  --overlay: rgba(255,255,255,.88);
  --header-bg: rgba(243,244,246,.82);
  --radius: 28px;
  --radius-sm: 18px;
}
body.dark-theme {
  --bg: #0f1115;
  --bg-soft: #171a20;
  --surface: rgba(24,27,34,.88);
  --surface-solid: #171a21;
  --surface-2: #1f2430;
  --text: #f5f2ec;
  --muted: #a8a29e;
  --line: #2d3440;
  --line-strong: #3b4452;
  --shadow-sm: 0 10px 24px rgba(0,0,0,.28);
  --shadow: 0 20px 54px rgba(0,0,0,.38);
  --shadow-hover: 0 24px 58px rgba(159,18,57,.2);
  --overlay: rgba(23,26,33,.86);
  --header-bg: rgba(15,17,21,.82);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter','PingFang TC','Heiti TC','微軟正黑體',sans-serif;
  color:var(--text);
  background:radial-gradient(circle at top left,rgba(159,18,57,.07),transparent 30%),
             radial-gradient(circle at bottom right,rgba(120,113,108,.06),transparent 35%),
             var(--bg);
  overflow-x:hidden;
  transition:background-color .35s,color .35s;
}
body::before{
  content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:
    linear-gradient(120deg,rgba(255,255,255,.14),transparent 18%,transparent 82%,rgba(255,255,255,.07)),
    radial-gradient(circle at 15% 20%,rgba(217,4,41,.05),transparent 18%),
    radial-gradient(circle at 85% 10%,rgba(37,99,235,.05),transparent 22%);
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
button,input,select,textarea{font:inherit;}

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container{width:min(1240px,calc(100% - 32px));margin:0 auto;}
.section{padding:72px 0;position:relative;}

/* ─── Reveal animation ───────────────────────────────────────────────────── */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease;}
.reveal.active{opacity:1;transform:translateY(0);}

/* ─── Card ───────────────────────────────────────────────────────────────── */
.card{
  background:var(--overlay);border:1px solid var(--line-strong);
  border-radius:var(--radius);box-shadow:var(--shadow);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  transition:.3s ease;
}
.card:hover{border-color:rgba(217,4,41,.2);}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header{
  position:sticky;top:0;z-index:60;
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  background:var(--header-bg);border-bottom:1px solid transparent;
  transition:.3s ease;
}
.site-header.scrolled{background:var(--overlay);border-bottom-color:var(--line);box-shadow:var(--shadow-sm);}
.nav-shell{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.brand{display:flex;align-items:center;gap:14px;}
.brand-mark{
  width:58px;height:58px;border-radius:18px;display:grid;place-items:center;
  background:#0f172a;overflow:hidden;flex-shrink:0;
  box-shadow:0 12px 28px rgba(15,23,42,.2);
}
.brand-logo{width:100%;height:100%;object-fit:cover;display:block;}
.brand-logo-pro{object-fit:contain;padding:5px;background:#0f172a;border-radius:14px;}
.brand strong{display:block;font-size:1.1rem;letter-spacing:-.03em;font-weight:900;}
.brand small{display:block;color:var(--muted);font-size:.8rem;font-weight:700;letter-spacing:.01em;}

/* Desktop nav */
.main-nav{display:flex;align-items:center;gap:20px;flex:1;justify-content:flex-end;}
.main-nav-links{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:.9rem;font-weight:700;flex-wrap:wrap;justify-content:flex-end;}
.main-nav-links a{position:relative;padding:6px 0;}
.main-nav-links a:hover,.main-nav-links a.active{color:var(--red);}
.main-nav-links a::after{content:'';position:absolute;left:50%;bottom:0;width:0;height:2px;background:var(--red);transform:translateX(-50%);transition:.25s;}
.main-nav-links a:hover::after,.main-nav-links a.active::after{width:100%;}
.action-group{display:flex;align-items:center;gap:8px;}

/* Mobile nav — hamburger */
.mobile-actions{display:none;align-items:center;gap:8px;}
.hamburger-btn{
  width:42px;height:42px;border-radius:12px;border:1px solid var(--line);
  background:var(--surface-2);cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  transition:.2s;
}
.hamburger-btn span{display:block;width:20px;height:2px;background:var(--text);border-radius:2px;transition:.3s;}
.hamburger-btn.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger-btn.open span:nth-child(2){opacity:0;}
.hamburger-btn.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* Mobile drawer */
.mobile-nav-drawer{
  display:none;position:fixed;top:76px;left:0;right:0;bottom:0;z-index:55;
  background:var(--surface-solid);border-top:1px solid var(--line);
  padding:28px 24px;overflow-y:auto;
  flex-direction:column;gap:8px;
  transform:translateX(100%);transition:transform .32s cubic-bezier(.4,0,.2,1);
}
.mobile-nav-drawer.open{transform:translateX(0);}
.mobile-nav-drawer a{
  display:block;padding:16px 20px;border-radius:16px;font-weight:800;font-size:1.05rem;
  color:var(--text);border:1px solid transparent;transition:.2s;
}
.mobile-nav-drawer a:hover,.mobile-nav-drawer a.active{
  background:rgba(217,4,41,.06);border-color:rgba(217,4,41,.14);color:var(--red);
}
.mobile-nav-actions{display:flex;gap:10px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line);}
.mobile-nav-actions .primary-btn,.mobile-nav-actions .icon-btn{flex:1;justify-content:center;}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.icon-btn,
.pill,.tab-btn,.cart-button,
.primary-btn,.secondary-btn,.ghost-btn,
.filter-chip,.mini-btn{cursor:pointer;transition:.25s ease;}

.icon-btn{
  width:40px;height:40px;border-radius:999px;border:1px solid var(--line);
  background:var(--surface-2);color:var(--text);display:grid;place-items:center;font-weight:800;
}
.icon-btn:hover{color:var(--red);transform:translateY(-1px);}

.cart-button{
  display:flex;align-items:center;gap:10px;padding:10px 18px;border-radius:999px;border:0;
  background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;font-weight:800;
  box-shadow:0 12px 24px rgba(15,23,42,.18);
}
.count-badge{background:#fff;color:var(--red);min-width:26px;text-align:center;font-size:.82rem;padding:2px 7px;border-radius:999px;}

.primary-btn,.secondary-btn,.ghost-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 24px;border-radius:999px;font-weight:800;border:0;
}
.primary-btn{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;box-shadow:0 12px 24px rgba(15,23,42,.16);}
.primary-btn:hover{transform:translateY(-2px);box-shadow:0 18px 32px rgba(15,23,42,.22);}
.secondary-btn{background:var(--surface-solid);color:var(--text);border:1px solid var(--line-strong);}
.secondary-btn:hover{transform:translateY(-1px);border-color:rgba(217,4,41,.3);}
.ghost-btn{background:rgba(190,18,60,.06);color:var(--red);border:1px solid rgba(190,18,60,.16);}
.ghost-btn:hover{background:rgba(190,18,60,.1);transform:translateY(-1px);}

.pill,.tab-btn,.filter-chip,.mini-btn{
  padding:10px 18px;border-radius:999px;border:1px solid var(--line);
  background:var(--surface-2);color:var(--text);font-weight:700;font-size:.92rem;
  box-shadow:0 2px 8px rgba(15,23,42,.04);
}
.pill.active,.tab-btn.active,.filter-chip.active{
  background:linear-gradient(135deg,var(--red),var(--red-dark));color:#fff;border-color:transparent;
  box-shadow:0 8px 20px rgba(190,18,60,.28);
}
.mini-btn{padding:10px 14px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface-solid);font-weight:800;}
.mini-btn.primary{background:linear-gradient(135deg,var(--red),#ff4b65);color:#fff;border:0;}

/* ─── Typography helpers ─────────────────────────────────────────────────── */
.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  margin:0 0 12px;color:var(--red);text-transform:uppercase;
  letter-spacing:.18em;font-size:.76rem;font-weight:900;
}
.eyebrow::before{
  content:'';display:inline-block;width:22px;height:2px;
  background:var(--red);border-radius:2px;flex-shrink:0;
}

/* ─── Section head ───────────────────────────────────────────────────────── */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:44px;}
.section-head>div{max-width:720px;}
.section-head h2{margin:0;font-size:clamp(2rem,3.4vw,3rem);line-height:1.08;font-weight:900;letter-spacing:-.04em;}
.section-head p{margin:0;max-width:460px;line-height:1.8;color:var(--muted);text-align:right;}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero{padding-top:40px;}
.hero-shell{display:grid;grid-template-columns:1.12fr .88fr;gap:24px;}
.hero-copy{
  position:relative;overflow:hidden;
  padding:48px;min-height:520px;display:flex;flex-direction:column;justify-content:center;
  border-radius:30px;
  background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(248,250,252,.88)),
             radial-gradient(circle at top right,rgba(190,18,60,.09),transparent 30%);
  box-shadow:0 24px 60px rgba(15,23,42,.10);
  border:1px solid rgba(255,255,255,.6);
}
body.dark-theme .hero-copy{
  background:linear-gradient(135deg,rgba(21,25,35,.96),rgba(18,22,30,.9)),
             radial-gradient(circle at top right,rgba(217,4,41,.14),transparent 30%);
  border-color:rgba(255,255,255,.06);
}
.hero-copy::after{
  content:'';position:absolute;right:-80px;bottom:-80px;
  width:260px;height:260px;border-radius:50%;
  background:radial-gradient(circle,rgba(217,4,41,.13),transparent 62%);
  pointer-events:none;
}
.hero h1{
  margin:0;font-size:clamp(2.6rem,4.2vw,4.2rem);
  line-height:1.05;letter-spacing:-.045em;font-weight:900;
}
.hero-text{margin-top:20px;line-height:1.84;color:var(--muted);font-size:1.04rem;max-width:96%;}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px;}
.hero-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:36px;}
.hero-stats div{
  padding:18px;border-radius:20px;background:var(--surface-2);
  border:1px solid var(--line);transition:.22s;
}
.hero-stats div:hover{border-color:rgba(217,4,41,.2);transform:translateY(-2px);}
.hero-stats strong{display:block;color:var(--red);font-size:2rem;font-weight:900;letter-spacing:-.04em;}
.hero-stats span{display:block;margin-top:4px;font-size:.9rem;color:var(--text);font-weight:700;}
.ticker{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.ticker span{
  padding:8px 14px;border-radius:999px;
  background:rgba(217,4,41,.07);color:var(--red);
  border:1px solid rgba(217,4,41,.13);font-size:.83rem;font-weight:800;
  animation:tickerPulse 4s ease-in-out infinite;
}
.ticker span:nth-child(2){animation-delay:.5s;}
.ticker span:nth-child(3){animation-delay:1s;}
.ticker span:nth-child(4){animation-delay:1.5s;}
@keyframes tickerPulse{
  0%,100%{opacity:1;}
  50%{opacity:.72;}
}
.hero-media{
  overflow:hidden;position:relative;min-height:540px;
  border-radius:30px;background:var(--surface-2);
  box-shadow:0 28px 60px rgba(15,23,42,.14);
}
.hero-media img{width:100%;height:100%;object-fit:cover;}
.hero-overlay{
  position:absolute;inset:auto 20px 20px 20px;padding:24px;border-radius:22px;
  color:#fff;
  background:linear-gradient(135deg,rgba(10,10,15,.76),rgba(30,10,15,.66));
  border:1px solid rgba(255,255,255,.13);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.hero-overlay strong{display:block;font-size:1.1rem;margin-bottom:8px;letter-spacing:-.01em;}
.hero-overlay p{margin:0;line-height:1.7;color:rgba(255,255,255,.9);font-size:.93rem;}

/* ─── Grids ──────────────────────────────────────────────────────────────── */
.brand-grid,.model-grid,.feature-grid,.quick-grid,.trust-grid,
.product-grid,.systems-grid,.showcase-grid,.finder-layout,.footer-grid{display:grid;gap:22px;}
.feature-grid{grid-template-columns:repeat(3,1fr);}
.quick-grid,.trust-grid{grid-template-columns:repeat(4,1fr);}
.brand-grid{grid-template-columns:repeat(6,1fr);}
.model-grid{grid-template-columns:repeat(5,1fr);}
.product-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));}
.systems-grid{grid-template-columns:1.15fr .85fr .85fr;}
.showcase-grid{grid-template-columns:1.4fr 1fr 1fr;}
.finder-layout{grid-template-columns:repeat(3,1fr);margin-bottom:24px;}

/* ─── Cards content ──────────────────────────────────────────────────────── */
.feature-card,.quick-card,.trust-card{padding:28px;border-radius:26px;}
.feature-card .num{color:var(--red);font-weight:900;font-size:1.35rem;margin-bottom:14px;display:block;opacity:.85;}
.feature-card h3,.quick-card h3,.trust-card h3{margin:0 0 10px;}
.feature-card p,.quick-card p,.trust-card p{margin:0;color:var(--muted);line-height:1.8;}
.feature-card:hover,.quick-card:hover,.trust-card:hover,.brand-card:hover,.model-card:hover{
  transform:translateY(-6px);box-shadow:var(--shadow);
}
.trust-card{border-left:3px solid transparent;transition:border-color .22s,transform .22s,box-shadow .22s;}
.trust-card:hover{border-left-color:var(--red);}

.brand-card{
  position:relative;overflow:hidden;padding:22px 16px;text-align:center;
  border-radius:22px;background:var(--overlay);border:1px solid var(--line-strong);
  box-shadow:var(--shadow-sm);font-weight:900;letter-spacing:.1em;font-size:.88rem;
  transition:.22s;
}
.brand-card::after{
  content:'';position:absolute;inset:auto -20% -60% auto;
  width:90px;height:90px;border-radius:50%;
  background:radial-gradient(circle,rgba(217,4,41,.1),transparent 68%);
}
.brand-card:hover{background:linear-gradient(135deg,rgba(217,4,41,.06),rgba(217,4,41,.02));color:var(--red);}

.model-card{
  padding:24px;border-radius:24px;display:flex;flex-direction:column;gap:12px;
  min-height:152px;background:var(--overlay);border:1px solid var(--line-strong);
  box-shadow:var(--shadow-sm);cursor:pointer;transition:.22s;
}
.model-card small{color:var(--red);font-weight:900;letter-spacing:.12em;text-transform:uppercase;}
.model-card strong{font-size:1.14rem;line-height:1.35;font-weight:900;letter-spacing:-.02em;}
.model-card span{color:var(--muted);line-height:1.65;font-size:.9rem;}

.quick-card small{display:block;color:var(--red);font-weight:900;margin-bottom:12px;letter-spacing:.14em;text-transform:uppercase;font-size:.72rem;}

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.search-shell{padding:26px;display:grid;grid-template-columns:1.2fr .85fr .85fr .75fr;gap:14px;margin-bottom:26px;}
.finder-panel,.finder-result,.tire-filters,.install-card,.order-form{padding:28px;}
.pill-grid,.category-tabs,.selected-tags,.filter-chip-row{display:flex;flex-wrap:wrap;gap:10px;}
label{display:grid;gap:10px;font-weight:800;color:var(--text);font-size:.94rem;}
input,select,textarea{
  width:100%;padding:14px 16px;border-radius:14px;
  border:1px solid var(--line-strong);background:var(--surface-2);color:var(--text);outline:none;
}
input:focus,select:focus,textarea:focus{border-color:var(--red);background:var(--surface-solid);box-shadow:0 0 0 4px rgba(217,4,41,.1);}
select{
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat:no-repeat;background-position:right 14px center;background-size:18px;padding-right:44px;
}

/* ─── Catalog toolbar ────────────────────────────────────────────────────── */
.catalog-toolbar,.result-title-row,.cart-total-row,.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;
}
.catalog-toolbar{margin-bottom:18px;align-items:flex-end;}
.result-title-row{align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:24px;}
.result-title-row h3{margin:0;font-size:1.46rem;}
.selected-tags span{padding:6px 14px;border-radius:999px;background:var(--bg-soft);border:1px solid var(--line-strong);font-size:.84rem;font-weight:800;}

/* ─── Product card ───────────────────────────────────────────────────────── */
.product-card{
  overflow:hidden;display:flex;flex-direction:column;
  border-radius:26px;background:var(--surface-solid);
  border:1px solid var(--line);box-shadow:var(--shadow-sm);transition:.28s;
}
.product-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-hover);border-color:rgba(217,4,41,.26);}
.product-thumb{
  position:relative;aspect-ratio:1/1;overflow:hidden;
  background:var(--surface-2);cursor:pointer;
  padding:14px;display:flex;align-items:center;justify-content:center;
}
body.dark-theme .product-thumb{background:linear-gradient(180deg,rgba(30,36,50,.98),rgba(21,25,35,.94));}
.product-thumb img{width:100%;height:100%;object-fit:contain;object-position:center;transition:transform .6s ease;}
.product-card:hover .product-thumb img{transform:scale(1.05);}
.product-thumb::after{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.05) 100%);
}

/* Badges */
.stock-badge,.top-badge{
  position:absolute;top:14px;z-index:2;padding:7px 12px;
  border-radius:999px;font-size:.76rem;font-weight:900;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 6px 16px rgba(15,23,42,.1);
}
.stock-badge{right:14px;color:#fff;background:rgba(17,17,17,.62);}
.stock-badge.instock{background:rgba(22,163,74,.84);}
.stock-badge.preorder{background:rgba(245,158,11,.84);}
.stock-badge.custom{background:rgba(37,99,235,.84);}
.top-badge{left:14px;background:rgba(255,255,255,.88);color:var(--red);}

/* Hot badge pulse */
.top-badge[data-hot]{animation:hotPulse 2.5s ease-in-out infinite;}
@keyframes hotPulse{0%,100%{box-shadow:0 0 0 0 rgba(217,4,41,.3);}50%{box-shadow:0 0 0 6px rgba(217,4,41,0);}}

.product-body{padding:22px;display:flex;flex-direction:column;gap:10px;flex:1;}
.badge-row{display:flex;flex-wrap:wrap;gap:8px;min-height:30px;}
.badge{
  display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;
  font-size:.75rem;font-weight:800;background:rgba(217,4,41,.08);
  color:var(--red);border:1px solid rgba(217,4,41,.13);
}
.badge.alt{background:var(--surface-2);border-color:var(--line-strong);color:var(--muted);}
.product-brand{color:var(--red);font-size:.8rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;}
.product-body h3{margin:0;font-size:1.12rem;line-height:1.42;cursor:pointer;transition:.2s;}
.product-body h3:hover{color:var(--red);}
.sku-row{display:flex;justify-content:space-between;gap:8px;font-size:.82rem;color:var(--muted);flex-wrap:wrap;}
.catalog-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:8px 0;}
.catalog-info-box{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.55);border:1px solid var(--line);}
.catalog-info-box small{display:block;color:var(--muted);font-size:.74rem;margin-bottom:4px;}
.catalog-info-box strong{display:block;font-size:.86rem;line-height:1.35;}
.card-status-note{color:var(--red);font-size:.86rem;font-weight:700;}
.fitments{display:flex;flex-direction:column;gap:8px;background:var(--bg-soft);border:1px solid var(--line);padding:10px 12px;border-radius:12px;}
.fitments>span{font-size:.84rem;color:var(--muted);font-weight:700;}
.fitment-chip-row{display:flex;flex-wrap:wrap;gap:6px;}
.fit-chip{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.7);border:1px solid var(--line);font-size:.78rem;font-weight:700;color:var(--text);}
.fit-chip.more{background:rgba(217,4,41,.07);color:var(--red);}
.specs{color:var(--muted);line-height:1.8;font-size:.9rem;min-height:48px;}
.price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px;border-top:1px dashed var(--line-strong);}
.price{font-size:1.38rem;font-weight:900;color:var(--red);transition:.2s;}
.price-note{display:block;margin-top:4px;font-size:.76rem;color:var(--muted);font-weight:700;}
.card-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}

/* ─── Systems ────────────────────────────────────────────────────────────── */
.system-card{min-height:340px;overflow:hidden;position:relative;cursor:pointer;border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--line-strong);box-shadow:var(--shadow-sm);transition:.28s;}
.system-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);}
.system-card.image-card img{width:100%;height:100%;object-fit:cover;min-height:340px;}
.system-copy,.text-card{padding:36px;display:flex;flex-direction:column;justify-content:flex-end;height:100%;}
.system-copy{position:absolute;inset:0;background:linear-gradient(to top,rgba(10,10,15,.9) 0%,rgba(10,10,15,.5) 60%,transparent 100%);color:#fff;}
.system-copy span,.text-card span,.overlay-copy span{color:#ff6076;font-size:.78rem;letter-spacing:.15em;text-transform:uppercase;font-weight:900;margin-bottom:12px;}
.system-copy h3,.text-card h3,.overlay-copy h3{margin:0 0 12px;font-size:1.65rem;line-height:1.28;}
.text-card ul{margin:10px 0 0;padding-left:18px;color:var(--muted);line-height:2;}
.system-link{margin-top:18px;color:var(--red);font-weight:800;}

/* ─── Showcase ───────────────────────────────────────────────────────────── */
.showcase-card{overflow:hidden;position:relative;min-height:300px;border-radius:var(--radius);border:1px solid var(--line-strong);background:var(--surface-2);box-shadow:var(--shadow-sm);transition:.28s;}
.showcase-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);}
.showcase-card.large{min-height:620px;grid-row:span 2;}
.showcase-card img{width:100%;height:100%;object-fit:cover;}
.overlay-copy{position:absolute;inset:auto 22px 22px 22px;padding:22px;border-radius:20px;color:#fff;background:linear-gradient(to top,rgba(10,10,15,.88),rgba(10,10,15,.3) 80%,transparent);}
.overlay-copy h3{font-size:1.46rem;font-weight:900;letter-spacing:-.03em;}

/* ─── Tires ──────────────────────────────────────────────────────────────── */
.tire-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}

/* ─── Install section ────────────────────────────────────────────────────── */
.install-layout{display:grid;grid-template-columns:.86fr 1.14fr;gap:28px;}
.install-card ol{margin:0 0 0 18px;padding:0;display:grid;gap:10px;line-height:1.7;font-weight:600;}
.store-grid{display:grid;gap:18px;margin-top:26px;}
.store-info{padding:22px;background:var(--surface-2);border-radius:18px;border:1px solid var(--line-strong);}
.store-info h4{margin:0 0 14px;font-size:1.05rem;}
.store-info p{margin:0 0 12px;display:flex;align-items:flex-start;gap:10px;line-height:1.7;font-size:.95rem;}
.store-info svg{width:18px;height:18px;color:var(--red);flex-shrink:0;margin-top:3px;stroke:currentColor;}
.map-card{overflow:hidden;border-radius:18px;border:1px solid var(--line-strong);}
.map-frame{width:100%;height:280px;border:0;display:block;}
.store-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;}
.store-links a{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 18px;border-radius:999px;font-size:.9rem;font-weight:800;
  border:1px solid var(--line-strong);background:var(--surface-2);transition:.2s;
}
.store-links a:hover{background:rgba(217,4,41,.07);border-color:rgba(217,4,41,.28);color:var(--red);transform:translateY(-1px);}
.business-hours{display:grid;gap:10px;margin-top:18px;}
.business-row{display:flex;justify-content:space-between;gap:16px;padding:12px 14px;border-radius:12px;background:var(--surface-solid);border:1px solid var(--line);font-size:.93rem;}
.business-row span:first-child{font-weight:800;}
.business-row span:last-child{color:var(--muted);font-weight:700;}

/* ─── Form ───────────────────────────────────────────────────────────────── */
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:24px;}
.full-width{grid-column:1/-1;}

/* ─── Trust bar ──────────────────────────────────────────────────────────── */
.trust-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:24px 28px;border-radius:var(--radius);}
.trust-bar-item{display:grid;gap:6px;padding:8px 4px;}
.trust-bar-item strong{font-size:1rem;}
.trust-bar-item span{color:var(--muted);line-height:1.7;font-size:.93rem;}
#trustBarSection{padding-top:16px;}

/* ─── Catalog extras ─────────────────────────────────────────────────────── */
.catalog-data-note{
  display:flex;justify-content:space-between;gap:18px;align-items:center;
  margin:0 0 18px;padding:16px 18px;border:1px solid var(--line);
  border-radius:18px;background:rgba(255,255,255,.72);box-shadow:var(--shadow-sm);
}
.catalog-data-note strong{display:block;font-size:1rem;margin-bottom:4px;}
.catalog-data-note span{color:var(--muted);font-size:.92rem;}
.catalog-note-tags{display:flex;flex-wrap:wrap;gap:10px;}
.catalog-note-tags span{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.72);font-size:.83rem;font-weight:700;color:var(--text);border:1px solid var(--line);}
.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:22px;flex-wrap:wrap;}
.catalog-pagination span{font-weight:700;color:var(--muted);}
.catalog-pagination .mini-btn[disabled]{opacity:.45;cursor:not-allowed;transform:none;}

/* ─── Empty state ────────────────────────────────────────────────────────── */
.empty-state{
  grid-column:1/-1;padding:56px 24px;text-align:center;border-radius:22px;
  border:2px dashed var(--line-strong);background:var(--bg-soft);
  color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:14px;font-weight:700;
}
.empty-state svg{width:56px;height:56px;opacity:.4;}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer{padding:80px 0 40px;background:var(--surface-solid);border-top:2px solid var(--line-strong);margin-top:80px;}
body.dark-theme .site-footer{background:var(--bg-soft);}
.footer-grid{grid-template-columns:1.6fr 1fr 1fr 1.3fr;margin-bottom:44px;}
.footer-col h4{margin:0 0 20px;font-size:1rem;font-weight:900;letter-spacing:-.01em;}
.footer-links{list-style:none;padding:0;margin:0;display:grid;gap:12px;}
.footer-links a{color:var(--muted);line-height:1.8;transition:color .18s,padding-left .18s;}
.footer-links a:hover{color:var(--red);padding-left:4px;}
.footer-brand p{color:var(--muted);line-height:1.9;margin-top:14px;max-width:380px;}
.social-links{display:flex;gap:10px;margin-top:16px;}
.social-links a{
  width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:var(--surface-2);border:1px solid var(--line-strong);transition:.2s;
}
.social-links a:hover{background:rgba(217,4,41,.08);border-color:rgba(217,4,41,.22);}
.copyright{color:var(--muted);font-size:.9rem;display:flex;gap:14px;flex-wrap:wrap;align-items:center;}
.footer-bottom{justify-content:flex-start;}
.footer-line-box{padding:18px;border-radius:20px;background:var(--surface-2);border:1px solid var(--line);}
.footer-line-box p{margin:0 0 10px;color:var(--muted);line-height:1.8;}
.footer-line-box a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:0 18px;border-radius:999px;
  background:var(--text);color:#fff;font-weight:800;margin-top:6px;transition:.2s;
}
.footer-line-box a:hover{transform:translateY(-1px);}

/* ─── LINE / Cart floating ───────────────────────────────────────────────── */
.floating-cart-trigger{
  position:fixed;right:20px;bottom:20px;z-index:72;
  display:flex;align-items:center;gap:10px;border:0;border-radius:999px;
  padding:14px 18px;background:linear-gradient(135deg,#0f172a,#1e293b);
  color:#fff;box-shadow:0 16px 36px rgba(15,23,42,.24);font-weight:800;cursor:pointer;transition:.25s;
}
.floating-cart-trigger:hover{transform:translateY(-2px);box-shadow:0 20px 42px rgba(159,18,57,.34);}
.floating-cart-icon{font-size:1rem;line-height:1;}
.floating-cart-text{font-size:.93rem;}
.floating-cart-count{
  min-width:26px;height:26px;padding:0 6px;border-radius:999px;
  background:#fff;color:var(--red);display:inline-flex;align-items:center;justify-content:center;
  font-size:.82rem;font-weight:900;
}
@keyframes cartBounce{0%{transform:scale(1);}30%{transform:scale(1.18);}60%{transform:scale(.96);}100%{transform:scale(1);}}
.floating-cart-count.bump{animation:cartBounce .42s ease;}

.floating-line-trigger{
  position:fixed;right:20px;bottom:96px;z-index:71;
  width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#06c755,#04a845);color:#fff;font-weight:900;
  box-shadow:0 14px 30px rgba(6,199,85,.26);transition:.25s;
}
.floating-line-trigger:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(6,199,85,.36);}

.back-to-top-btn{
  position:fixed;right:24px;bottom:176px;z-index:70;
  width:44px;height:44px;border:0;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--surface-solid);color:var(--text);box-shadow:var(--shadow-sm);
  cursor:pointer;opacity:0;pointer-events:none;transform:translateY(8px);transition:.25s;
}
.back-to-top-btn.show{opacity:1;pointer-events:auto;transform:translateY(0);}

/* ─── Toast ──────────────────────────────────────────────────────────────── */
.toast-container{position:fixed;right:26px;bottom:26px;z-index:85;display:flex;flex-direction:column;gap:12px;}
.toast{
  display:flex;align-items:center;gap:10px;padding:15px 18px;border-radius:16px;
  background:#111;color:#fff;box-shadow:0 14px 34px rgba(0,0,0,.26);
  animation:toastIn .36s ease forwards;font-weight:700;font-size:.93rem;
}
body.dark-theme .toast{background:#fff;color:#111;}
.toast::before{content:'✓';width:22px;height:22px;border-radius:999px;display:grid;place-items:center;color:#fff;background:#16a34a;font-size:.78rem;font-weight:900;}
.toast.hide{animation:toastOut .34s ease forwards;}
@keyframes toastIn{from{transform:translateX(120%);opacity:0;}to{transform:translateX(0);opacity:1;}}
@keyframes toastOut{from{transform:translateX(0);opacity:1;}to{transform:translateX(120%);opacity:0;}}

/* ─── Cart drawer ────────────────────────────────────────────────────────── */
.cart-backdrop,.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.58);opacity:0;visibility:hidden;transition:.3s;z-index:70;}
.cart-backdrop.show,.modal-backdrop.show{opacity:1;visibility:visible;}
.cart-drawer{
  position:fixed;top:0;right:-480px;width:min(450px,100%);height:100vh;
  background:var(--surface-solid);border-left:1px solid var(--line);
  box-shadow:-22px 0 60px rgba(0,0,0,.2);transition:right .38s ease;z-index:80;
  display:flex;flex-direction:column;
}
.cart-drawer.open{right:0;}
.cart-header,.cart-footer{padding:24px;}
.cart-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);background:var(--surface-2);}
.cart-header strong{font-size:1.26rem;}
.cart-header button,.modal-close{width:40px;height:40px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface-solid);color:var(--text);display:grid;place-items:center;cursor:pointer;}
.cart-items{flex:1;overflow-y:auto;padding:8px 24px 18px;}
.cart-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;border-bottom:1px solid var(--line);}
.cart-item-info strong{display:block;font-size:1rem;line-height:1.45;margin-bottom:8px;}
.cart-item-info small{display:block;color:var(--red);font-weight:900;font-size:.95rem;}
.qty-control{display:flex;align-items:center;gap:10px;background:var(--surface-2);border:1px solid var(--line);padding:4px 8px;border-radius:999px;}
.qty-btn{width:28px;height:28px;border-radius:999px;border:0;background:var(--surface-solid);color:var(--text);display:grid;place-items:center;cursor:pointer;}
.qty-num{min-width:18px;text-align:center;font-weight:800;}
.cart-footer{border-top:1px solid var(--line);background:var(--surface-2);}
.cart-total-row{margin-bottom:16px;}
.clear-cart-link{color:var(--muted);text-decoration:underline;font-size:.84rem;font-weight:700;cursor:pointer;}
.checkout-actions{display:grid;gap:10px;}
.checkout-actions .primary-btn,.checkout-actions .secondary-btn{width:100%;}

/* ─── Product modal ──────────────────────────────────────────────────────── */
.modal{
  position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%) scale(.96);
  width:min(1080px,calc(100% - 24px));max-height:calc(100vh - 36px);overflow:hidden;
  background:var(--surface-solid);border:1px solid var(--line-strong);
  border-radius:var(--radius);box-shadow:0 24px 70px rgba(0,0,0,.24);
  z-index:90;opacity:0;visibility:hidden;transition:.28s;display:flex;flex-direction:column;
}
.modal.show{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1);}
.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 24px;border-bottom:1px solid var(--line);background:var(--surface-2);}
.product-modal-body{padding:24px;overflow-y:auto;display:grid;grid-template-columns:1.02fr .98fr;gap:24px;}
.product-gallery-main{overflow:hidden;border-radius:22px;background:var(--surface-2);aspect-ratio:1/1;border:1px solid var(--line-strong);}
.product-gallery-main img,.gallery-thumb img{width:100%;height:100%;object-fit:cover;}
.product-gallery-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px;}
.gallery-thumb{border-radius:14px;overflow:hidden;border:1px solid var(--line-strong);background:var(--surface-2);cursor:pointer;aspect-ratio:1/1;}
.product-modal-brand{color:var(--red);font-weight:900;letter-spacing:.14em;text-transform:uppercase;font-size:.8rem;margin-bottom:8px;}
.product-modal-title{margin:0 0 12px;font-size:1.9rem;line-height:1.22;}
.product-modal-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;}
.product-modal-price{font-size:2rem;color:var(--red);font-weight:900;margin:8px 0 16px;}
.product-modal-price small{display:block;margin-top:6px;color:var(--muted);font-size:.82rem;font-weight:700;}
.product-modal-block{padding:18px 0;border-top:1px solid var(--line);}
.product-modal-block h4{margin:0 0 10px;font-size:1rem;}
.product-modal-block p,.product-modal-block li{line-height:1.85;color:var(--muted);font-size:.95rem;}
.product-modal-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}

/* ─── Misc helpers ───────────────────────────────────────────────────────── */
.line-note-box,.inquiry-helper{
  margin-top:16px;padding:16px 18px;border-radius:18px;
  background:rgba(217,4,41,.06);border:1px solid rgba(217,4,41,.13);display:grid;gap:6px;
}
.line-note-box strong,.inquiry-helper strong{font-size:.97rem;color:var(--text);font-weight:800;}
.inquiry-preset-wrap{margin:0 0 18px;display:grid;gap:10px;}
.inquiry-preset-wrap>span{color:var(--muted);font-size:.94rem;font-weight:700;}
.inquiry-preset-list{display:flex;flex-wrap:wrap;gap:10px;}
.preset-chip{
  appearance:none;border:none;border-radius:999px;padding:10px 14px;
  background:#fff;color:var(--text);font-weight:800;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.08);cursor:pointer;transition:.22s;
}
.preset-chip:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(15,23,42,.08),inset 0 0 0 1px rgba(217,4,41,.2);}
.preset-chip.active{background:rgba(217,4,41,.08);box-shadow:inset 0 0 0 1px rgba(217,4,41,.2);color:var(--red);}
.social-links-line-only a{width:auto;height:auto;min-height:44px;padding:0 18px;border-radius:999px;font-weight:800;}
.store-links-line-only{grid-template-columns:1fr 1fr;}

/* ─── Responsive 1180px ──────────────────────────────────────────────────── */
@media (max-width:1180px){
  .hero-shell,.feature-grid,.brand-grid,.trust-grid,.quick-grid,
  .showcase-grid,.install-layout,.systems-grid,.search-shell,.finder-layout,.footer-grid{grid-template-columns:1fr 1fr;}
  .hero-stats{grid-template-columns:repeat(2,1fr);}
  .model-grid{grid-template-columns:repeat(3,1fr);}
  .showcase-card.large{grid-row:auto;min-height:360px;}
  .product-modal-body{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}

/* ─── Responsive 820px — Mobile ──────────────────────────────────────────── */
@media (max-width:820px){
  /* Show hamburger, hide desktop nav */
  .main-nav{display:none;}
  .mobile-actions{display:flex;}
  .mobile-nav-drawer{display:flex;}

  .nav-shell{min-height:72px;}
  .brand-mark{width:50px;height:50px;border-radius:15px;}
  .brand strong{font-size:.98rem;}
  .brand small{font-size:.74rem;}

  .hero-shell,.feature-grid,.quick-grid,.brand-grid,.model-grid,.trust-grid,
  .search-shell,.finder-layout,.showcase-grid,.install-layout,.systems-grid,
  .footer-grid,.form-grid,.tire-filters{grid-template-columns:1fr;}
  .hero-copy{min-height:auto;padding:34px 24px;}
  .hero-media{min-height:320px;}
  .hero h1{font-size:clamp(2.1rem,8vw,3rem);}
  .hero-text{max-width:100%;}
  .hero-stats{grid-template-columns:repeat(2,1fr);}
  .section{padding:56px 0;}
  .section-head{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:28px;}
  .section-head p{text-align:left;}
  .toast-container{left:14px;right:14px;bottom:14px;}
  .map-frame{height:220px;}
  .catalog-toolbar,.result-title-row,.footer-bottom{align-items:flex-start;}
  .trust-bar{grid-template-columns:repeat(2,1fr);}
  .catalog-data-note{flex-direction:column;align-items:flex-start;}
  .catalog-info-grid{grid-template-columns:1fr;}
  .store-links-line-only{grid-template-columns:1fr;}
}

/* ─── Responsive 640px ───────────────────────────────────────────────────── */
@media (max-width:640px){
  .floating-cart-trigger{right:12px;bottom:12px;padding:12px 14px;gap:8px;}
  .floating-cart-text{display:none;}
  .floating-cart-count{min-width:22px;height:22px;font-size:.78rem;}
  .floating-line-trigger{right:12px;bottom:84px;width:48px;height:48px;}
  .back-to-top-btn{right:14px;bottom:140px;width:40px;height:40px;}
  .product-body{padding:16px;}
  .price-row{align-items:flex-start;flex-direction:column;}
  .card-actions{justify-content:flex-start;}
  .trust-bar{grid-template-columns:1fr;padding:18px;}
  .footer-grid{grid-template-columns:1fr;}
  .hero-stats div{padding:14px;}
  .hero-stats strong{font-size:1.7rem;}
  /* Mobile product grid — 2 columns */
  .product-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .product-body{padding:14px;}
  .product-body h3{font-size:1rem;}
  .price{font-size:1.2rem;}
  .mini-btn{padding:8px 12px;font-size:.82rem;}
  .badge{padding:5px 9px;font-size:.72rem;}
  .specs{font-size:.85rem;}
  .fitments{padding:8px 10px;}
}

/* ─── Dark mode fixes ────────────────────────────────────────────────────── */
/* catalog-note-tags 在 dark 下可見 */
body.dark-theme .catalog-note-tags span{
  background:rgba(255,255,255,.08);color:var(--text);border-color:var(--line-strong);
}
body.dark-theme .catalog-data-note{background:rgba(255,255,255,.05);}
body.dark-theme .catalog-info-box{background:rgba(255,255,255,.06);}
body.dark-theme .fit-chip{background:rgba(255,255,255,.08);}
body.dark-theme .preset-chip{background:rgba(255,255,255,.08);color:var(--text);}

/* 導覽列購物車按鈕在手機版不換行 */
.cart-button{white-space:nowrap;flex-shrink:0;}
.nav-shell{flex-wrap:nowrap;}
.brand{min-width:0;flex-shrink:1;}
.brand strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.brand small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px;}

/* 手機版 header 更緊湊 */
@media (max-width:480px){
  .brand small{display:none;}
  .cart-button{padding:9px 12px;gap:7px;font-size:.88rem;}
  .icon-btn{width:36px;height:36px;}
  .hamburger-btn{width:36px;height:36px;}
  .brand-mark{width:44px;height:44px;border-radius:12px;}
  .brand strong{font-size:.94rem;}
}

/* catalog-data-note 按鈕在深色下顯示 */
.catalog-note-tags span,
.preset-chip{
  color:var(--text) !important;
}

/* ─── Tablet (768px ~ 1180px) 優化 ──────────────────────────────────────── */
@media (min-width:821px) and (max-width:1180px){
  /* 導覽列字體縮小，避免換行 */
  .main-nav-links{gap:12px;font-size:.82rem;}
  .nav-shell{min-height:76px;}
  .brand-mark{width:52px;height:52px;}
  .brand strong{font-size:1rem;}
  .brand small{font-size:.74rem;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

  /* 商品卡片等高 */
  .product-grid{
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    align-items:stretch;
  }
  .product-card{height:100%;}

  /* Section padding 平板適中 */
  .section{padding:60px 0;}

  /* Hero 平板兩欄 */
  .hero-shell{grid-template-columns:1fr 1fr;}
  .hero-copy{padding:36px;}
  .hero h1{font-size:clamp(2.2rem,3.5vw,3rem);}

  /* Feature grid 平板 2 欄 */
  .feature-grid{grid-template-columns:repeat(2,1fr);}
  
  /* Trust/quick 平板 2 欄 */
  .trust-grid,.quick-grid{grid-template-columns:repeat(2,1fr);}

  /* Brand grid 平板 4 欄 */
  .brand-grid{grid-template-columns:repeat(4,1fr);}

  /* Model grid 平板 3 欄 */
  .model-grid{grid-template-columns:repeat(3,1fr);}

  /* Trust bar 平板 2 欄 */
  .trust-bar{grid-template-columns:repeat(2,1fr);}

  /* Footer 平板 2 欄 */
  .footer-grid{grid-template-columns:repeat(2,1fr);}

  /* Search shell 平板 2 欄 */
  .search-shell{grid-template-columns:1fr 1fr;}

  /* Finder layout 平板 1 欄 */
  .finder-layout{grid-template-columns:1fr;}

  /* Install layout 平板 1 欄 */
  .install-layout{grid-template-columns:1fr;}

  /* Systems grid 平板 2 欄 */
  .systems-grid{grid-template-columns:1fr 1fr;}

  /* Showcase 平板 2 欄 */
  .showcase-grid{grid-template-columns:1fr 1fr;}
  .showcase-card.large{grid-row:auto;min-height:340px;}

  /* Product modal 平板單欄 */
  .product-modal-body{grid-template-columns:1fr;}
}

/* 商品卡片等高通用 */
.product-grid{align-items:stretch;}
.product-card{height:100%;display:flex;flex-direction:column;}
.product-body{flex:1;}

/* ─── Noto Sans TC font integration ─────────────────────────────────────── */
body{
  font-family:'Inter','Noto Sans TC','PingFang TC','Heiti TC','微軟正黑體',sans-serif;
}

/* ─── Vehicle Quick Grid ────────────────────────────────────────────────── */
.vehicle-quick-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:24px;
}
.vehicle-btn{
  background:var(--surface);border:1.5px solid var(--line-strong);border-radius:var(--radius-sm);
  padding:22px 14px 18px;cursor:pointer;transition:.25s ease;
  display:flex;flex-direction:column;align-items:center;gap:8px;
  text-align:center;box-shadow:var(--shadow-sm);
}
.vehicle-btn:hover{
  border-color:var(--red);box-shadow:var(--shadow-hover);transform:translateY(-4px);
}
.vehicle-btn .v-ico{font-size:2.6rem;line-height:1;}
.vehicle-btn strong{font-size:.95rem;font-weight:900;}
.vehicle-btn small{font-size:.78rem;color:var(--muted);}
.v-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;margin-top:6px;}
.v-tag{
  font-size:.72rem;font-weight:700;
  background:rgba(217,4,41,.09);color:var(--red);
  padding:2px 8px;border-radius:8px;
}
@media(max-width:768px){
  .vehicle-quick-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
  .vehicle-btn{padding:16px 10px 14px;}
  .vehicle-btn .v-ico{font-size:2rem;}
}

/* ─── Tech Credibility Section ──────────────────────────────────────────── */
.tech-cred-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px;
}
.tech-cred-card{
  padding:28px 22px;
}
.tc-ico{font-size:2rem;margin-bottom:14px;display:block;}
.tech-cred-card h4{font-size:1.05rem;font-weight:900;margin-bottom:10px;}
.tech-cred-card p{font-size:.87rem;color:var(--muted);line-height:1.7;}
.tc-badge{
  display:inline-block;margin-top:14px;
  font-size:.78rem;font-weight:700;
  background:rgba(217,4,41,.09);color:var(--red);
  padding:4px 12px;border-radius:10px;
}
@media(max-width:820px){
  .tech-cred-grid{grid-template-columns:1fr;gap:10px;}
}

/* ─── Floating LINE improved ─────────────────────────────────────────────── */
.floating-line-trigger{
  position:fixed;right:20px;bottom:96px;z-index:71;
  display:flex;align-items:center;gap:8px;
  padding:12px 18px;border-radius:999px;
  background:linear-gradient(135deg,#06c755,#04a845);color:#fff;font-weight:900;
  box-shadow:0 14px 30px rgba(6,199,85,.32);transition:.25s;
  text-decoration:none;
  animation:linePulse 3s ease-in-out infinite;
}
.flt-line-ico{font-size:1.1rem;line-height:1;}
.flt-line-lbl{font-size:.9rem;font-weight:800;}
.floating-line-trigger:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(6,199,85,.44);animation:none;}
@keyframes linePulse{
  0%,100%{box-shadow:0 14px 30px rgba(6,199,85,.32);}
  50%{box-shadow:0 14px 30px rgba(6,199,85,.32),0 0 0 8px rgba(6,199,85,.12);}
}
@media(max-width:768px){
  .floating-line-trigger{right:12px;bottom:84px;padding:11px 14px;}
  .flt-line-lbl{display:none;}
  .flt-line-ico{font-size:1.3rem;}
}
