/* PROPHONE boutique — layout on top of ds/tokens.css + ds/bundle.css */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; overflow-x: clip; display: flex; flex-direction: column; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent-text); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 900px) { .wrap { padding: 0 var(--space-6); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-muted); }
.pp-link { color: var(--accent-text); text-decoration: none; }
.pp-link:hover { text-decoration: underline; }
select.pp-input { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea.pp-input { min-height: 88px; resize: vertical; line-height: 22px; }
.pp-input:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; stroke-linejoin: miter; }

/* Announcement + header */
.topbar { background: var(--surface-100); border-bottom: 1px solid var(--line); font: 500 13px/20px var(--font-sans); color: var(--text-muted); }
.topbar .wrap { display: flex; justify-content: center; gap: var(--space-4); padding-top: var(--space-2); padding-bottom: var(--space-2); text-align: center; }
.header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface-000) 92%, transparent); backdrop-filter: blur(10px); }
.header__row { display: flex; align-items: center; gap: var(--space-4); min-height: 72px; }
.brand { display: block; flex: none; padding: var(--space-2) 0; }
.brand img { width: 132px; height: auto; }
.brand .logo-light { display: none; }
[data-theme="light"] .brand .logo-dark { display: none; }
[data-theme="light"] .brand .logo-light { display: block; }
.search { flex: 1; max-width: 460px; position: relative; }
.search .icon { position: absolute; left: 12px; top: 12px; color: var(--text-muted); pointer-events: none; }
.search .pp-input { padding-left: 40px; }
.header__actions { display: flex; align-items: center; gap: var(--space-1); margin-left: auto; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); border-radius: var(--radius-xs); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--surface-200); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; font: 700 11px/18px var(--font-sans); text-align: center; background: var(--accent); color: var(--on-accent); clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
.nav { display: flex; gap: var(--space-1); overflow-x: auto; scrollbar-width: none; padding-bottom: var(--space-2); }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: var(--space-2) var(--space-3); font: 500 14px/20px var(--font-sans); color: var(--text-muted); text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="true"] { color: var(--text); border-bottom-color: var(--accent); }
.hide-sm { display: none; }
@media (min-width: 760px) { .hide-sm { display: inline-flex; } }
@media (max-width: 759px) {
  .header__row { flex-wrap: wrap; gap: var(--space-2) var(--space-3); padding-top: var(--space-2); }
  .search { order: 3; flex-basis: 100%; max-width: none; padding-bottom: var(--space-2); }
  .brand img { width: 120px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; display: grid; gap: var(--space-5); padding-top: var(--space-7); padding-bottom: var(--space-7); }
.hero h1 { font: 700 36px/44px var(--font-display); letter-spacing: -0.015em; max-width: 14ch; }
.hero h1 span { display: block; font-weight: 200; }
.hero p { max-width: 52ch; color: var(--text-muted); font-size: 18px; line-height: 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero .pp-pins { position: absolute; right: -12px; top: 50%; transform: translateY(-50%); gap: var(--space-3); }
.hero .pp-pins i { width: 120px; height: 22px; }
.hero .pp-pins i:nth-child(2) { background: var(--brand-blend); width: 160px; }
.hero .pp-pins i:nth-child(3) { background: var(--brand-purple); width: 100px; }
.hero .pp-pins i:nth-child(4) { background: var(--brand-purple); width: 70px; opacity: .6; }
@media (min-width: 900px) { .hero h1 { font-size: 56px; line-height: 60px; } .hero .wrap { padding-top: var(--space-8); padding-bottom: var(--space-8); } }
@media (max-width: 759px) { .hero .pp-pins { top: var(--space-6); transform: none; } .hero .pp-pins i { width: 60px !important; height: 12px; } }
.trust { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-top: var(--space-5); padding-bottom: var(--space-5); }
.trust div { display: flex; gap: var(--space-3); align-items: flex-start; }
.trust .icon { width: 24px; height: 24px; color: var(--accent-text); margin-top: 2px; }
.trust strong { display: block; font-weight: 600; }
.trust span { color: var(--text-muted); font-size: 13px; line-height: 20px; }

/* Catalog */
.section { padding-top: var(--space-7); padding-bottom: var(--space-7); }
@media (min-width: 900px) { .section { padding-top: var(--space-8); padding-bottom: var(--space-8); } }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); }
.section__head h2 { font: 600 28px/36px var(--font-display); margin-top: var(--space-1); }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.filters .pp-input { min-width: 160px; width: auto; }
.grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 559px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); } .grid .pp-card__body { padding: var(--space-3); } .grid .pp-card__title { font-size: 15px; line-height: 22px; } .grid .pp-price { font-size: 20px; line-height: 26px; } .grid .pp-spec { font-size: 11px; line-height: 16px; } .grid .pp-btn { padding-inline: var(--space-2); font-size: 13px; } }
.pp-card { position: relative; transition: border-color .15s ease; }
.pp-card:hover { border-color: var(--line-strong); }
.pp-card__media img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-3); }
.pp-card__title a { color: inherit; text-decoration: none; }
.pp-card__title a::after { content: ""; position: absolute; inset: 0; }
.pp-card .pp-btn { position: relative; z-index: 1; margin-top: auto; }
.pp-card__body { flex: 1; }
.meta { display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap; }
.stock-low { font: 500 13px/20px var(--font-sans); color: var(--warning); }
.stock-out { font: 500 13px/20px var(--font-sans); color: var(--danger); }
.empty { padding: var(--space-8) var(--space-4); text-align: center; color: var(--text-muted); border: 1px dashed var(--line-strong); }

/* Device placeholder when no photo */
.device { border: 3px solid var(--line-strong); position: relative; }
.device--smartphone { width: 64px; height: 124px; border-radius: 12px; }
.device--smartphone::before { content: ""; position: absolute; top: 6px; left: 50%; width: 20px; height: 5px; margin-left: -10px; border-radius: 3px; background: var(--line-strong); }
.device--tablette { width: 104px; height: 134px; border-radius: 10px; }
.device--ordinateur { width: 140px; height: 88px; border-radius: 6px 6px 0 0; }
.device--ordinateur::after { content: ""; position: absolute; left: -22px; right: -22px; bottom: -14px; height: 8px; background: var(--line-strong); border-radius: 0 0 6px 6px; }
.device--accessoire { width: 80px; height: 80px; border-radius: 18px; }
.device--accessoire::before { content: ""; position: absolute; inset: 22px; border: 3px solid var(--line-strong); border-radius: 50%; }
.device--lg { transform: scale(1.8); }

/* Product page */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: 13px; color: var(--text-muted); padding: var(--space-4) 0; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); padding-bottom: var(--space-8); }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; } .product__buy { position: sticky; top: 140px; } }
.gallery__main { position: relative; aspect-ratio: 1; background: var(--surface-200); border-radius: var(--radius-sm); display: grid; place-items: center; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-5); }
.gallery__main .pp-badge { position: absolute; top: var(--space-4); left: var(--space-4); }
.thumbs { display: flex; gap: var(--space-2); margin-top: var(--space-3); overflow-x: auto; }
.thumbs button { flex: none; width: 72px; height: 72px; padding: 4px; background: var(--surface-200); border: 1px solid var(--line); border-radius: var(--radius-xs); cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product__buy { display: flex; flex-direction: column; gap: var(--space-4); }
.product__buy h1 { font: 700 28px/36px var(--font-display); }
@media (min-width: 900px) { .product__buy h1 { font-size: 36px; line-height: 44px; } }
.product__buy .pp-price { font-size: 40px; line-height: 44px; }
.badges { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-xs); height: 44px; }
.qty button { width: 44px; height: 42px; border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.qty button:hover:not([disabled]) { background: var(--surface-200); }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 36px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.buy-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.buy-row .pp-btn--primary { flex: 1; min-width: 200px; white-space: normal; text-align: center; }
.cod-box { display: grid; gap: var(--space-3); padding: var(--space-4); background: var(--surface-100); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cod-box div { display: flex; gap: var(--space-3); font-size: 14px; line-height: 22px; }
.cod-box .icon { color: var(--accent-text); margin-top: 1px; }
.specs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.specs li { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font: 500 13px/20px var(--font-mono); color: var(--text-muted); }
.prose { color: var(--text-muted); white-space: pre-line; }

/* Drawer (cart) */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 51; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--surface-100); border-left: 1px solid var(--line); transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.drawer.open { transform: none; visibility: visible; transition: transform .25s ease; box-shadow: var(--shadow-card); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-4) var(--space-3) var(--space-5); border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 600 20px/28px var(--font-display); }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--space-2) var(--space-5); }
.drawer__foot { padding: var(--space-4) var(--space-5) var(--space-5); border-top: 1px solid var(--line); display: grid; gap: var(--space-3); }

/* Line items */
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__img { width: 64px; height: 64px; background: var(--surface-200); display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-xs); }
.line__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.line__img .device { transform: scale(.4); }
.line__name { font-weight: 600; line-height: 20px; }
.line__spec { font: 500 12px/18px var(--font-mono); color: var(--text-muted); }
.line__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.line .qty { height: 32px; margin-top: var(--space-1); }
.line .qty button { width: 32px; height: 30px; font-size: 15px; }
.line .qty output { min-width: 24px; font-size: 13px; }
.line__tools { display: flex; align-items: center; gap: var(--space-2); }
.remove { border: 0; background: transparent; color: var(--text-muted); font-size: 13px; cursor: pointer; text-decoration: underline; padding: var(--space-1); }
.remove:hover { color: var(--danger); }
.totals { display: grid; gap: var(--space-2); font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; gap: var(--space-3); }
.totals .grand { font: 700 20px/28px var(--font-display); padding-top: var(--space-2); border-top: 1px solid var(--line); }
.free-note { font-size: 13px; line-height: 20px; color: var(--text-muted); }
.free-note b { color: var(--success); font-weight: 600; }

/* Checkout */
.page-title { font: 700 28px/36px var(--font-display); padding: var(--space-6) 0 var(--space-5); }
@media (min-width: 900px) { .page-title { font-size: 36px; line-height: 44px; } }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); padding-bottom: var(--space-8); }
@media (min-width: 900px) { .checkout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } .checkout aside { position: sticky; top: 140px; } }
.panel { background: var(--surface-100); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-5); }
.panel h2 { font: 600 20px/28px var(--font-display); margin-bottom: var(--space-4); }
.form { display: grid; gap: var(--space-4); }
.form .two { display: grid; gap: var(--space-4); }
@media (min-width: 560px) { .form .two { grid-template-columns: 1fr 1fr; } }
.pay-method { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border: 1px solid var(--accent); border-radius: var(--radius-xs); background: var(--surface-200); }
.pay-method .icon { color: var(--accent-text); width: 24px; height: 24px; }
.pay-method strong { display: block; }
.pay-method span { font-size: 13px; line-height: 20px; color: var(--text-muted); }
.alert { padding: var(--space-3) var(--space-4); border-radius: var(--radius-xs); font-size: 14px; line-height: 22px; }
.alert--danger { background: var(--danger-soft); color: var(--danger); }
.alert--success { background: var(--success-soft); color: var(--success); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Confirmation / tracking */
.done { max-width: 720px; margin: 0 auto; padding-top: var(--space-7); padding-bottom: var(--space-8); display: grid; gap: var(--space-5); }
.done > .pp-btn { justify-self: start; }
.done h1 { font: 700 28px/36px var(--font-display); }
@media (min-width: 900px) { .done h1 { font-size: 36px; line-height: 44px; } }
.order-no { font: 500 20px/28px var(--font-mono); color: var(--accent-text); letter-spacing: .04em; }
.pp-steps { margin-top: var(--space-2); }
@media (max-width: 559px) { .pp-step__label { font-size: 11px; line-height: 15px; } }
.cancelled { padding: var(--space-3) var(--space-4); background: var(--danger-soft); color: var(--danger); font-weight: 600; border-radius: var(--radius-xs); }

/* Footer */
.footer { margin-top: auto; background: var(--surface-100); border-top: 1px solid var(--line); }
.footer .wrap { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-top: var(--space-7); padding-bottom: var(--space-6); font-size: 14px; line-height: 22px; color: var(--text-muted); }
.footer h3 { font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: var(--space-3); }
.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer .brand img { width: 140px; }
.footer__bottom { border-top: 1px solid var(--line); padding: var(--space-4) 0; font-size: 13px; color: var(--text-muted); }
.footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); padding-top: 0; padding-bottom: 0; }
.ar { font-family: var(--font-arabic); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: var(--space-5); z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: var(--space-3) var(--space-5); background: var(--surface-300); color: var(--text); border-left: 3px solid var(--accent); box-shadow: var(--shadow-card); font-weight: 500; transition: all .2s ease; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 40; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-4); background: var(--surface-300); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius-xs); text-decoration: none; font-weight: 600; box-shadow: var(--shadow-card); }
.wa-float:hover { background: var(--surface-200); }
.wa-float .icon { color: var(--success); }

.skeleton { background: var(--surface-200); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media (min-width: 760px) { .nav .track-sm { display: none; } }
.pp-step__label { overflow-wrap: anywhere; }
.pp-card__media { overflow: hidden; }
@media (max-width: 559px) { .grid .pp-card__media .device { transform: scale(.55); } }
.pp-card__media .pp-badge { z-index: 1; }

/* Accessories: brands and filter chips */
.section--tight { padding-bottom: 0; }
.card-brand { font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--purple-text); }
.brands { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
@media (max-width: 559px) { .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 88px; padding: var(--space-3); background: var(--surface-100); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); text-decoration: none; transition: border-color .15s ease; }
.brand-tile:hover { border-color: var(--accent); }
.brand-tile__name { font: 700 18px/24px var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.brand-tile__count { font-size: 12px; line-height: 16px; color: var(--text-muted); }
.filter-rows { display: grid; gap: var(--space-3); margin-bottom: var(--space-5); }
.chips { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; margin-bottom: var(--space-4); }
.filter-rows .chips { margin-bottom: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-xs); color: var(--text); font: 500 14px/20px var(--font-sans); text-decoration: none; }
.chip:hover { background: var(--surface-200); }
.chip[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Home slider: a dark band in any theme, slanted progress bars from the logo chip */
.slider { position: relative; isolation: isolate; overflow: hidden; background: var(--surface-000); color: var(--text); border-bottom: 1px solid var(--line); }
.slider::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 75% at 80% 45%, rgba(135, 83, 162, .26), transparent 70%), radial-gradient(35% 50% at 62% 80%, rgba(0, 160, 224, .12), transparent 70%); }
.slider__track { display: grid; touch-action: pan-y; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.slide__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: var(--space-6); min-height: 500px; padding-top: var(--space-8); padding-bottom: 112px; }
.slide__copy > * { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.slide.is-active .slide__copy > * { opacity: 1; transform: none; }
.slide.is-active .slide__copy > :nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide__copy > :nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide__copy > :nth-child(4) { transition-delay: .24s; }
.slide__title { font: 700 56px/60px var(--font-display); letter-spacing: -0.015em; margin-top: var(--space-3); }
.slide__title span { display: block; font-weight: 200; letter-spacing: -0.01em; }
.slide__text { margin-top: var(--space-5); max-width: 44ch; font-size: 18px; line-height: 28px; color: var(--text-muted); }
.slide__cta { margin-top: var(--space-6); }
.slide__visual { position: relative; height: 380px; display: grid; place-items: center; }
.slide__pins { position: absolute; top: 50%; right: -80px; width: 85%; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; transform: translateY(-50%); }
.slide__pins i { display: block; height: 36px; transform: translateX(80px) skewX(var(--slant)); opacity: 0; transition: transform 1s cubic-bezier(.2, .7, .2, 1), opacity 1s ease; }
.slide__pins i:nth-child(1) { width: 78%; background: var(--brand-cyan); }
.slide__pins i:nth-child(2) { width: 100%; background: var(--brand-blend); transition-delay: .07s; }
.slide__pins i:nth-child(3) { width: 64%; background: var(--brand-purple); transition-delay: .14s; }
.slide__pins i:nth-child(4) { width: 40%; background: var(--brand-purple); opacity: 0; transition-delay: .21s; }
.slide.is-active .slide__pins i { transform: skewX(var(--slant)); opacity: 1; }
.slide.is-active .slide__pins i:nth-child(4) { opacity: .45; }
.slide__num { position: absolute; left: 0; bottom: -24px; font: 200 200px/1 var(--font-display); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--line-strong); opacity: .7; }

.slider__ui { position: absolute; left: 0; right: 0; bottom: var(--space-5); display: flex; align-items: center; gap: var(--space-5); }
.slider__count { font: 500 13px/20px var(--font-mono); color: var(--text-muted); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.slider__count b { color: var(--text); font-weight: 500; }
.slider__bars { display: flex; gap: var(--space-2); }
.slider__bar { width: 56px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.slider__bar i { position: relative; display: block; height: 3px; overflow: hidden; background: var(--surface-300); transform: skewX(var(--slant)); }
.slider__bar i::after { content: ""; position: absolute; inset: 0; background: var(--gradient-brand); transform: scaleX(0); transform-origin: left; }
.slider__bar.is-done i::after { transform: scaleX(1); opacity: .35; }
.slider__bar[aria-current] i::after { animation: slide-fill var(--slide-ms, 6500ms) linear forwards; }
.slider.is-paused .slider__bar[aria-current] i::after { animation-play-state: paused; }
.slider__bar:hover i { background: var(--line-strong); }
@keyframes slide-fill { to { transform: scaleX(1); } }
.slider__nav { display: flex; gap: var(--space-2); margin-left: auto; }
.slider__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius-xs); cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.slider__btn:hover { background: var(--surface-200); border-color: var(--text-muted); }
.slider__btn .icon { width: 18px; height: 18px; }

@media (max-width: 899px) {
  .slide__inner { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding-top: var(--space-5); padding-bottom: 96px; }
  .slide__visual { order: -1; height: 150px; margin-bottom: var(--space-4); }
  .slide__pins { right: -40px; width: 70%; gap: 10px; }
  .slide__pins i { height: 18px; }
  .slide__num { font-size: 110px; bottom: -10px; }
  .slide__title { font-size: 36px; line-height: 44px; }
  .slide__text { font-size: 15px; line-height: 24px; margin-top: var(--space-3); }
  .slide__cta { margin-top: var(--space-5); }
  .slider__ui { gap: var(--space-3); bottom: var(--space-4); }
  .slider__bar { width: 32px; }
  .slider__nav [data-prev], .slider__nav [data-next] { display: none; }
  .slider__nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .slider__bar[aria-current] i::after { transform: scaleX(1); } }

/* Slide image: rounded frame, pins peeking out behind it, slow zoom while the slide plays */
.slide__frame { position: relative; z-index: 1; width: 100%; max-width: 580px; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #0b0f1a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 70px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.slide.is-active .slide__frame { opacity: 1; transform: none; transition-delay: .1s; }
.slide__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform calc(var(--slide-ms, 6500ms) + 1s) linear; }
.slide.is-active .slide__frame img { transform: scale(1); }
.slide__visual:has(.slide__frame) { height: auto; justify-items: end; }
.slide__visual:has(.slide__frame) .slide__pins { right: -110px; width: 70%; }
@media (max-width: 899px) {
  .slide__visual:has(.slide__frame) { justify-items: stretch; margin-bottom: var(--space-5); }
  .slide__frame { max-width: none; aspect-ratio: 16 / 10; border-radius: 20px; }
  .slide__visual:has(.slide__frame) .slide__pins { right: -60px; }
}

/* Brand logos: monochrome at rest, original colours on hover */
.brand-tile { gap: var(--space-2); }
.brand-tile__logo { height: 36px; width: auto; max-width: min(120px, 80%); object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.brand-tile:hover .brand-tile__logo { filter: none; opacity: 1; }
[data-theme="dark"] .brand-tile__logo { filter: grayscale(1) brightness(0) invert(1); opacity: .85; }
[data-theme="dark"] .brand-tile:hover .brand-tile__logo { filter: brightness(0) invert(1); opacity: 1; }

/* Variants: model picker, "from" prices, load more */
.from { font-size: 13px; line-height: 20px; color: var(--text-muted); margin-right: 2px; }
.model-pick { display: grid; gap: var(--space-3); }
.model-pick__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.model-pick__search { width: auto; min-width: 0; flex: 1; max-width: 240px; min-height: 36px; padding: var(--space-2) var(--space-3); }
.model-pick__list { display: flex; flex-wrap: wrap; gap: var(--space-2); max-height: 296px; overflow-y: auto; padding: 2px; }
.model { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 44px; padding: var(--space-1) var(--space-3); background: var(--surface-100); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius-xs); font: 500 14px/18px var(--font-sans); cursor: pointer; text-align: left; }
.model small { font-size: 12px; line-height: 16px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.model:hover:not([disabled]) { border-color: var(--accent); }
.model[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.model[aria-checked="true"] small { color: var(--on-accent); opacity: .85; }
.model[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.model-pick__error { margin: 0; font-size: 14px; line-height: 20px; color: var(--danger); }
.more { display: grid; justify-items: center; gap: var(--space-3); margin-top: var(--space-6); }

/* Google reviews */
.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars .icon { width: 16px; height: 16px; }
.stars .icon.off { color: var(--line-strong); }
.rating-sum { display: flex; align-items: center; gap: var(--space-3); }
.rating-sum strong { font: 700 40px/44px var(--font-display); font-variant-numeric: tabular-nums; }
.rating-sum div { display: grid; gap: 2px; }
.rating-sum span:not(.stars) { font-size: 13px; color: var(--text-muted); }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-3); scrollbar-width: thin; }
@media (min-width: 900px) { .reviews { grid-auto-columns: calc((100% - 2 * var(--space-4)) / 3); } }
.review { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); background: var(--surface-100); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.review__text { margin: 0; flex: 1; white-space: pre-line; font-size: 15px; line-height: 24px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__by { display: flex; align-items: center; gap: var(--space-3); }
.review__by strong { display: block; font-weight: 600; line-height: 20px; }
.review__by small { font-size: 12px; color: var(--text-muted); }
.review__avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--brand-purple); color: var(--text-on-brand); font-weight: 700; border-radius: var(--radius-xs); }
.reviews__more { margin-top: var(--space-4); }

/* Map + contact */
.visit { background: var(--surface-100); border-top: 1px solid var(--line); }
.visit__grid { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .visit__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; } }
.visit__map { min-height: 320px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-200); }
.visit__map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.visit__side { display: grid; gap: var(--space-4); align-content: start; }
.visit__info { display: grid; gap: var(--space-3); }
.visit__info p { display: flex; gap: var(--space-3); align-items: flex-start; margin: 0; line-height: 22px; }
.visit__info .icon { color: var(--accent-text); margin-top: 1px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-1); }

/* WhatsApp box */
.wa-box { display: grid; gap: var(--space-3); padding: var(--space-5); background: var(--surface-000); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.wa-box__head { display: flex; gap: var(--space-3); align-items: flex-start; }
.wa-box__head > .icon { width: 28px; height: 28px; color: #25d366; flex: none; }
.wa-box__head h3 { font: 600 20px/28px var(--font-display); }
.wa-box__head p { font-size: 14px; color: var(--text-muted); }
.wa-box__topics { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.wa-box__topics .chip { cursor: pointer; background: var(--surface-100); min-height: 36px; font-size: 13px; }
.wa-box__topics .chip[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
