/* Electro BHR Nabil — boutique (design "Signature") */
:root {
  --accent: #1450D2;
  --ink: #111111;
  --ink-2: #4A4A4A;
  --muted: #5E5E5E;
  --line: #EAEAEA;
  --soft: #F5F5F3;
  --hero: #EEF1F4;
  --white: #FFFFFF;
  --ok: #0A7D3B;
  --danger: #B42318;
  --radius: 24px;
  --wrap: 1320px;
  --font: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 30px; height: 30px; stroke-width: 1.4; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, opacity .2s; white-space: nowrap; }
.btn .ic { width: 19px; height: 19px; }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2A2A; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { opacity: .92; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--soft); color: var(--muted); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178F47; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { cursor: not-allowed; opacity: .7; }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); text-decoration: none; position: relative; }
.icon-btn:hover { background: var(--soft); }

/* Barre du haut + en-tête */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar .ic { width: 15px; height: 15px; }
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; min-height: 72px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { max-height: 44px; width: auto; }
.logo-main { font-weight: 800; font-size: 23px; letter-spacing: .06em; }
.logo-sub { font-size: 12px; font-weight: 600; letter-spacing: .3em; color: var(--muted); }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; padding: 24px 0 22px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.is-active { border-bottom-color: var(--ink); }
.nav .nav-promo { color: var(--accent); }
.nav-drop { position: relative; }
.nav .nav-top { display: inline-flex; align-items: center; gap: 4px; }
.nav-top .ic { width: 16px; height: 16px; transition: transform .2s; }
.nav-drop:hover .nav-top .ic, .nav-drop:focus-within .nav-top .ic { transform: rotate(180deg); }
.mega { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(17,17,17,.35); padding: 16px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 40; }
.nav-drop:hover .mega, .nav-drop:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.nav .mega a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 0; border-radius: 14px; font-weight: 600; font-size: 15px; }
.nav .mega a:hover { background: var(--soft); }
.mega img { width: 44px; height: 44px; object-fit: contain; background: var(--soft); border-radius: 12px; padding: 4px; }
.nav .mega .mega-all { margin-top: 8px; justify-content: center; background: var(--soft); color: var(--ink); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.cart-count[hidden] { display: none; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.searchbar { border-top: 1px solid var(--line); background: #fff; }
.searchbar-in { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.searchbar input { flex: 1; min-width: 0; height: 48px; border: 1px solid #D6D6D6; border-radius: 999px; padding: 0 18px; font-size: 16px; }
.only-mobile { display: none; }

/* Menu mobile */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(17,17,17,.45); }
.drawer-panel { width: min(88vw, 360px); height: 100%; background: #fff; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; letter-spacing: .06em; }
.drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.drawer-nav a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 4px 10px; border-radius: 14px; text-decoration: none; font-weight: 600; }
.drawer-nav a:hover { background: var(--soft); }
.drawer-nav img { width: 40px; height: 40px; object-fit: contain; background: var(--soft); border-radius: 10px; padding: 3px; }
.drawer-nav .drawer-promo { color: var(--accent); justify-content: space-between; }
.drawer-nav .drawer-title { min-height: 40px; margin-top: 10px; padding: 4px 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Message flash */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); font-weight: 600; animation: pop .3s ease; max-width: calc(100vw - 32px); }
.toast a { color: #fff; font-weight: 800; white-space: nowrap; }
.toast .ic { width: 18px; height: 18px; color: #6EE7A8; }
.toast-err .ic { color: #FCA5A5; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Héros */
.hero { padding-top: 24px; }
.hero-box { background: var(--hero); border-radius: 32px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; gap: 24px; padding: clamp(28px, 5vw, 72px) clamp(22px, 5vw, 72px) 20px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--accent); }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; margin: 14px 0 18px; white-space: pre-line; }
.hero p.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 0 0 28px; max-width: 470px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-from { margin-top: 26px; color: var(--ink-2); font-size: 15px; }
.hero-from strong { font-size: 22px; color: var(--ink); }
.hero-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-visual::before { content: ""; position: absolute; width: min(90%, 420px); aspect-ratio: 1; border-radius: 50%; background: #fff; opacity: .75; }
.hero-visual img { position: relative; width: min(100%, 430px); max-height: 460px; object-fit: contain; }
.chip { position: absolute; background: #fff; border-radius: 18px; padding: 13px 17px; box-shadow: 0 20px 40px -20px rgba(17,17,17,.35); }
.chip strong { display: block; font-size: 15px; }
.chip span { display: block; font-size: 13px; color: var(--muted); }
.chip-a { left: 0; top: 16%; }
.chip-b { right: 0; bottom: 14%; }
.chip-b strong { font-size: 26px; letter-spacing: -0.02em; }
.hero-tabs { display: flex; gap: 28px; padding: 0 clamp(22px, 5vw, 72px) 26px; overflow-x: auto; font-size: 14px; font-weight: 700; scrollbar-width: none; }
.hero-tabs a { flex: none; min-width: 130px; padding: 12px 0; border-top: 2px solid #C9CDD2; color: var(--muted); text-decoration: none; }
.hero-tabs a:first-child { border-top-color: var(--ink); color: var(--ink); }
.hero-tabs a:hover { color: var(--ink); border-top-color: var(--ink); }

/* Sections */
.section { padding-top: 72px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.section-head h2, .h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; }
.link-more { font-weight: 700; font-size: 15px; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.cat { background: var(--soft); border-radius: 22px; padding: 18px 14px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; text-align: center; transition: transform .25s ease, background .25s ease; }
.cat:hover { transform: translateY(-4px); background: #ECEEF0; }
.cat img { width: 104px; height: 104px; object-fit: contain; }
.cat span { font-weight: 700; font-size: 15px; }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; padding-top: 40px; }
.promo { position: relative; overflow: hidden; border-radius: 28px; padding: 40px; min-height: 360px; display: flex; flex-direction: column; text-decoration: none; }
.promo-dark { background: var(--ink); color: #fff; }
.promo-light { background: #E6EEFF; color: var(--ink); }
.promo small { font-size: 14px; font-weight: 700; }
.promo-dark small { color: #B9C7FF; }
.promo-light small { color: var(--accent); }
.promo strong { font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; margin-top: 10px; max-width: 320px; position: relative; z-index: 1; }
.promo .btn { margin-top: 18px; align-self: flex-start; position: relative; z-index: 1; }
.promo-dark .btn { background: #fff; color: var(--ink); }
.promo-light .btn { background: var(--ink); color: #fff; }
.promo img { position: absolute; right: -10px; bottom: -16px; width: min(58%, 330px); max-height: 85%; object-fit: contain; transition: transform .4s ease; }
.promo:hover img { transform: scale(1.04); }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; background: var(--soft); padding: 5px; border-radius: 999px; }
.tabs button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(17,17,17,.12); }

/* Univers motos (accueil) */
.moto-band { margin-top: 40px; background: var(--ink); color: #fff; border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: center; gap: 20px; padding: clamp(28px, 5vw, 64px); }
.moto-band .eyebrow { color: #B9C7FF; }
.moto-band h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 700; letter-spacing: -0.035em; margin: 12px 0 14px; }
.moto-band p { color: #C9C9C9; font-size: 17px; line-height: 1.6; margin: 0 0 24px; max-width: 480px; }
.part-search { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; max-width: 520px; }
.part-search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 16px; font-size: 16px; color: var(--ink); background: transparent; }
.part-search .btn { min-height: 46px; }
.moto-band .links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.moto-band .links a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.moto-band .links a:hover { border-color: #fff; }
.moto-visual { position: relative; min-height: 340px; }
.moto-visual::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(86%, 380px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #1F2125; }
.moto-visual img { position: absolute; object-fit: contain; }
.moto-visual .v1 { width: min(78%, 380px); left: 50%; top: 50%; transform: translate(-46%, -58%); }
.moto-visual .v2 { width: min(46%, 220px); right: 0; bottom: 0; }
.cats-moto { margin-top: 16px; }
.cats-moto .cat { background: #EEF1F4; }
.parts-hero { background: var(--hero); border-radius: 28px; padding: clamp(24px, 4vw, 48px); margin-top: 12px; }
.parts-hero .part-search { border: 1px solid #D6D6D6; max-width: 640px; margin-top: 18px; }

/* Grille produits */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px 20px; }
.pcard { display: flex; flex-direction: column; gap: 12px; }
.pcard[hidden] { display: none; }
.pcard-img { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: var(--radius); background: var(--soft); display: flex; align-items: center; justify-content: center; }
.pcard-img img { width: 78%; height: 78%; object-fit: contain; transition: transform .4s ease; }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.tag { position: absolute; top: 14px; left: 14px; color: #fff; font-weight: 700; font-size: 12px; padding: 6px 10px; border-radius: 999px; }
.tag-accent { background: var(--accent); }
.tag-dark { background: var(--ink); }
.pcard-body { padding: 0 4px; display: flex; flex-direction: column; gap: 4px; }
.pcard h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { text-decoration: underline; }
.pcard .muted { font-size: 14px; margin: 0; }
.compat { display: flex; gap: 6px; align-items: flex-start; margin: 2px 0 0; font-size: 13px; color: var(--ok); font-weight: 600; }
.compat .ic { width: 15px; height: 15px; margin-top: 2px; stroke-width: 2.4; }
.compat span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.old { font-size: 14px; color: #6B6B6B; text-decoration: line-through; }
.pcard-actions { margin-top: auto; padding: 0 4px; }
.pcard-actions .btn { min-height: 46px; font-size: 14px; }

/* Services + pied de page */
.services { margin-top: 88px; background: var(--soft); }
.services-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.services h3 { font-size: 17px; margin-top: 14px; letter-spacing: 0; }
.services p { color: var(--muted); margin: 6px 0 0; }
.footer-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; padding-top: 64px; padding-bottom: 32px; }
.footer-logo { font-weight: 800; font-size: 22px; letter-spacing: .06em; }
.footer-logo span { font-size: 12px; letter-spacing: .3em; color: var(--muted); font-weight: 600; }
.footer p { margin: 12px 0 18px; }
.footer h3 { font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--muted); text-decoration: none; }
.footer ul a:hover { color: var(--ink); }
.footer .contact li { display: flex; gap: 10px; color: var(--muted); }
.footer .contact .ic { width: 18px; height: 18px; margin-top: 2px; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; padding-bottom: 36px; font-size: 13px; color: var(--muted); }
.pay-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-pills span { border: 1px solid #DADADA; border-radius: 6px; padding: 5px 10px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 28px; height: 28px; stroke-width: 1.9; }

/* Pages intérieures */
.page-head { padding-top: 36px; padding-bottom: 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-title { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -0.03em; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 26px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips a { flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--soft); text-decoration: none; font-weight: 600; font-size: 14px; }
.chips a.is-active { background: var(--ink); color: #fff; }
.select { height: 44px; border: 1px solid #D6D6D6; border-radius: 999px; padding: 0 16px; background: #fff; font-weight: 600; font-size: 14px; }
.empty { text-align: center; padding: 64px 20px; background: var(--soft); border-radius: var(--radius); }
.empty h2 { font-size: 24px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin: 0 0 20px; }

/* Fiche produit */
.product { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(24px, 4vw, 64px); align-items: start; padding-top: 8px; }
.product-media { position: relative; background: var(--soft); border-radius: 32px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-media img { width: 78%; height: 78%; object-fit: contain; }
.product-info h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 8px; }
.product-info .spec { font-size: 17px; color: var(--muted); margin: 0; }
.compat-box { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: #ECFDF3; color: #14532D; }
.compat-box .ic { color: var(--ok); stroke-width: 2.4; margin-top: 2px; }
.compat-box strong { display: block; font-size: 14px; }
.compat-box span { font-size: 15px; }
.buybox { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; }
.buybox .price { font-size: 36px; }
.save { display: inline-block; background: #E6EEFF; color: var(--accent); font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.stock { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.stock-ok { color: var(--ok); }
.stock-low { color: #B45309; }
.stock-out { color: var(--danger); }
.qty { display: inline-flex; align-items: center; border: 1px solid #D6D6D6; border-radius: 999px; height: 48px; }
.qty button { width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.qty button:hover { background: var(--soft); }
.qty .ic { width: 18px; height: 18px; }
.qty input { width: 38px; text-align: center; border: 0; font-weight: 800; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-row .btn { flex: 1 1 200px; }
.perks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); }
.perks .ic { color: var(--ink); }
.desc { margin-top: 56px; max-width: 820px; }
.desc h2 { font-size: 24px; margin-bottom: 12px; }
.desc p { color: var(--ink-2); line-height: 1.75; white-space: pre-line; margin: 0; }

/* Panier & commande */
.cart-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin-top: 24px; }
.cart-main { flex: 2 1 560px; min-width: 0; }
.cart-side { flex: 1 1 320px; position: sticky; top: 96px; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 96px; height: 96px; border-radius: 18px; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.line-img img { width: 80%; height: 80%; object-fit: contain; }
.line h3 { font-size: 16px; font-weight: 700; }
.line h3 a { text-decoration: none; }
.line-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 10px; }
.line-total { font-weight: 800; font-size: 18px; text-align: right; white-space: nowrap; }
.link-btn { border: 0; background: none; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 8px 0; min-height: 40px; }
.link-btn:hover { color: var(--danger); }
.link-btn .ic { width: 17px; height: 17px; }
.summary { background: var(--soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.summary h2 { font-size: 20px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.sum-total { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; font-size: 22px; border-top: 1px solid #DADADA; padding-top: 14px; }
.sum-items { display: flex; flex-direction: column; gap: 10px; }
.sum-item { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.sum-item img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; }
.sum-item span:nth-child(2) { flex: 1; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.form-card h2 { font-size: 20px; margin-bottom: 16px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { height: 50px; border: 1px solid #D0D0D0; border-radius: 14px; padding: 0 14px; font-size: 16px; font-weight: 400; background: #fff; width: 100%; }
.field textarea { height: 92px; padding: 12px 14px; resize: vertical; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field .err { color: var(--danger); font-weight: 600; font-size: 13px; }
.phone-in { display: flex; gap: 8px; }
.phone-in span { flex: none; height: 50px; display: flex; align-items: center; padding: 0 14px; border: 1px solid #D0D0D0; border-radius: 14px; font-weight: 700; background: var(--soft); }
.pay-opts { display: grid; gap: 10px; margin-top: 4px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid #D0D0D0; border-radius: 16px; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.pay-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.pay-opt strong { display: block; }
.pay-opt small { color: var(--muted); font-size: 13px; }
.alert { padding: 14px 16px; border-radius: 14px; background: #FEF3F2; color: var(--danger); font-weight: 600; margin-bottom: 16px; }
.success { text-align: center; max-width: 620px; margin: 0 auto; padding: 56px 0 0; }
.success-ic { width: 88px; height: 88px; border-radius: 50%; background: #DCFCE7; color: var(--ok); display: inline-flex; align-items: center; justify-content: center; }
.success-ic .ic { width: 44px; height: 44px; stroke-width: 2.4; }
.success h1 { font-size: clamp(30px, 4vw, 44px); margin: 18px 0 10px; }
.success .ref { font-size: 18px; color: var(--ink-2); }
.success .summary { text-align: left; margin: 28px 0; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 18px; font-size: 14px; }
}
@media (max-width: 960px) {
  .only-desktop { display: none !important; }
  .only-mobile { display: inline-flex; }
  .header-in { min-height: 62px; }
  .logo { flex: 1; justify-content: center; }
  .logo-main { font-size: 19px; }
  .logo-sub { display: none; }
  .cart-side { position: static; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar-in { justify-content: center; text-align: center; }
  .topbar-links { display: none; }
  .hero { padding-top: 12px; }
  .hero-box { border-radius: 24px; }
  .hero-visual { min-height: 300px; }
  .hero-visual img { max-height: 320px; }
  .chip { padding: 10px 13px; }
  .chip-b strong { font-size: 20px; }
  .section { padding-top: 52px; }
  .cats { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
  .cat { padding: 12px 8px 14px; border-radius: 18px; }
  .cat img { width: 72px; height: 72px; }
  .cat span { font-size: 13px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .pcard-img { border-radius: 18px; }
  .pcard h3 { font-size: 15px; }
  .pcard .muted { font-size: 13px; }
  .price { font-size: 18px; }
  .pcard-actions .btn { padding: 0 10px; font-size: 13px; min-height: 44px; }
  .pcard-actions .btn .ic { display: none; }
  .moto-band { border-radius: 24px; margin-top: 28px; }
  .moto-visual { min-height: 240px; }
  .part-search .btn { padding: 0 16px; }
  .promo { padding: 28px; min-height: 300px; }
  .fields { grid-template-columns: 1fr; }
  .line { grid-template-columns: 72px 1fr; }
  .line-img { width: 72px; height: 72px; }
  .line-total { grid-column: 2; text-align: left; }
  .buybox { padding: 18px; }
  .services { margin-top: 64px; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
