/* CASPER GSM — téléphones d'occasion et 2Life : bandeau défilant + vitrine */
.vt-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; line-height: 1.2; }
.vt-2life { background: linear-gradient(135deg, #12a46b, #0a9fdc); color: #fff; }
.vt-occ { background: var(--cyan-soft); color: var(--navy); }
.ph-none { display: grid; place-items: center; background: linear-gradient(180deg, #fff 0%, #eef3fb 100%); }
.ph-none img { width: 46%; height: auto; opacity: .7; }

/* ---------- bandeau défilant ---------- */
.phone-strip { background: linear-gradient(180deg, #0d1440 0%, var(--night) 100%); color: #fff; padding: 26px 0 30px; overflow: hidden; }
.phone-strip .ps-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.phone-strip h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 0; }
.phone-strip h2 span { color: var(--glow-2); }
.phone-strip .ps-head a { color: #cfe8ff; font-weight: 700; white-space: nowrap; }
.ps-view { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x pan-y; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.ps-track { display: flex; gap: 14px; width: max-content; padding: 4px 0 8px; }
.ps-view::-webkit-scrollbar { display: none; }
.ps-card { display: flex; gap: 12px; align-items: center; width: 290px; flex: none; background: #fff; color: var(--ink); text-decoration: none; border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); transition: transform .15s; }
.ps-card:hover { transform: translateY(-3px); }
.ps-img { width: 84px; height: 84px; flex: none; border-radius: 10px; object-fit: cover; background: #f3f6fb; }
.ps-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ps-txt .vt-tag { align-self: start; font-size: 10.5px; padding: 3px 7px; }
.ps-txt b { font-size: 15px; line-height: 1.2; color: var(--navy); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ps-txt small { font-size: 12.5px; color: var(--mute); }
.ps-price { font-size: 20px; font-weight: 800; font-stretch: 115%; color: var(--navy); }

/* ---------- vitrine ---------- */
.shop-tools { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 22px; }
.shop-tools select { font: inherit; font-size: 16px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
.shop-tools .count { margin-left: auto; color: var(--mute); font-weight: 600; }
.vt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.vt-card { min-width: 0; }
.vt-open { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; width: 100%; height: 100%; background: #fff; border: 1px solid #e3e8f3; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(11,16,51,.45); transition: transform .15s, box-shadow .15s; }
.vt-open:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -24px rgba(11,16,51,.55); }
.vt-open:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.vt-img { position: relative; display: block; aspect-ratio: 1; background: #f3f6fb; }
.vt-img > img, .vt-img > .ph-none { width: 100%; height: 100%; object-fit: cover; }
.vt-img .vt-tag { position: absolute; left: 12px; top: 12px; }
.vt-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.vt-title { font-size: 17px; font-stretch: 108%; color: var(--navy); line-height: 1.25; }
.vt-meta { font-size: 14px; color: var(--mute); min-height: 1.4em; }
.vt-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin-top: auto; padding-top: 10px; }
.vt-price { white-space: nowrap; font-size: 24px; font-weight: 800; font-stretch: 115%; color: var(--navy); }
.vt-av { font-size: 12.5px; font-weight: 700; color: var(--mute); background: var(--paper); border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
.vt-av.vt-now { color: var(--ok); background: #e2f4ec; }
.vt-av.vt-res { color: #a05a00; background: #fff1dc; }
.vt-card.is-res .vt-img { opacity: .55; }
.vt-none, .shop-empty { color: var(--mute); }
.shop-empty { background: var(--paper); border-radius: 16px; padding: 28px; }

/* étapes */
.vt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: st; list-style: none; padding: 0; margin: 0; }
.vt-steps li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; counter-increment: st; }
.vt-steps li::before { content: counter(st); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--glow), var(--cyan)); color: #fff; font-weight: 800; margin-bottom: 12px; }
.vt-steps b { display: block; color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.vt-steps p { margin: 0; color: var(--mute); font-size: 15.5px; }
@media (max-width: 800px) { .vt-steps { grid-template-columns: 1fr; } }

/* fiche (fenêtre) */
.vt-lock { overflow: hidden; }
.vt-dlg { position: fixed; inset: 0; z-index: 60; background: rgba(11,16,51,.62); display: grid; place-items: start center; overflow-y: auto; padding: clamp(0px, 3vw, 32px) clamp(0px, 2vw, 20px); }
.vt-dlg[hidden] { display: none; }
.vt-dlg-in { position: relative; width: min(1060px, 100%); background: #fff; border-radius: 18px; padding: clamp(18px, 3vw, 34px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.vt-x { position: absolute; right: 12px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); font-size: 28px; line-height: 1; cursor: pointer; color: var(--navy); }
.vt-sheet { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); }
@media (max-width: 860px) { .vt-sheet { grid-template-columns: 1fr; } }
.vt-main { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #f3f6fb; }
.vt-main > img, .vt-main > .ph-none { width: 100%; height: 100%; object-fit: contain; }
.vt-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.vt-thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; }
.vt-thumbs button.on { border-color: var(--cyan); }
.vt-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vt-note { font-size: 13px; color: var(--mute); margin-top: 8px; }
.vt-info h2 { margin: 10px 0 6px; font-size: clamp(26px, 3vw, 36px); }
.vt-big { font-size: 34px; font-weight: 800; font-stretch: 115%; color: var(--navy); margin: 0 0 14px; }
.vt-big small { font-size: 14px; font-weight: 500; color: var(--mute); font-stretch: 100%; }
.vt-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 0 0 16px; }
.vt-specs div { border-bottom: 1px solid var(--line); padding: 6px 0; }
.vt-specs dt { font-size: 13px; color: var(--mute); }
.vt-specs dd { margin: 0; font-weight: 600; }
.vt-desc p { font-size: 16px; }
.vt-form { margin-top: 18px; box-shadow: none; }
.vt-form h3 { margin-bottom: 6px; }
@media (max-width: 560px) {
  .vt-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vt-body { padding: 10px 12px 12px; }
  .vt-title { font-size: 15px; }
  .vt-meta { font-size: 12.5px; }
  .vt-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .vt-price { font-size: 20px; }
  .vt-img .vt-tag { left: 8px; top: 8px; font-size: 10.5px; }
  .shop-tools select { flex: 1 1 45%; font-size: 15px; padding: 9px 10px; }
  .shop-tools .count { margin-left: 0; width: 100%; }
  .ps-card { width: 250px; }
  .vt-specs { grid-template-columns: 1fr; }
}

/* options (batterie neuve, accessoires) + total + choix du paiement */
.vt-opts { border: 0; padding: 0; margin: 4px 0 14px; }
.vt-opts legend { font-weight: 800; color: var(--navy); font-size: 17px; margin-bottom: 6px; padding: 0; }
.vt-opts legend small { font-weight: 500; color: var(--mute); font-size: 13px; }
.vt-opt-h { margin: 10px 0 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.vt-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.vt-opt:has(input:checked) { border-color: var(--cyan); background: #f2fbff; }
.vt-opt input { width: 20px; height: 20px; flex: none; accent-color: var(--navy); }
.vt-opt-l { flex: 1; min-width: 0; font-weight: 600; line-height: 1.3; }
.vt-opt-l small { display: block; font-weight: 400; color: var(--mute); font-size: 13px; }
.vt-opt-p { text-align: right; white-space: nowrap; }
.vt-opt-p s { display: block; color: var(--mute); font-size: 13px; }
.vt-opt-p b { color: var(--navy); }
.vt-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--navy); padding: 10px 2px; margin-bottom: 12px; font-weight: 700; color: var(--navy); }
.vt-total b { font-size: 26px; font-stretch: 115%; }
.vt-modes { display: grid; gap: 8px; margin-bottom: 14px; }
.vt-mode { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.vt-mode:has(input:checked) { border-color: var(--navy); background: #f5f7ff; }
.vt-mode input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.vt-mode small { display: block; color: var(--mute); font-size: 13.5px; }
.vt-addr[hidden], .vt-cgv[hidden] { display: none; }

/* panier */
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #fff; font-weight: 700; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); white-space: nowrap; flex: none; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: linear-gradient(135deg, var(--glow), var(--cyan)); color: #fff; font-size: 13px; display: grid; place-items: center; }
.cart-btn:hover { background: rgba(255,255,255,.08); }
@media (max-width: 900px) { .cart-btn span { display: none; } .cart-btn { order: 2; padding: 8px 10px; } .menu-btn { order: 3; margin-left: 0; } .top .brand { margin-right: auto; } }
.vt-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.vt-how { margin-top: 10px; }
.cart { max-width: 720px; margin: 0 auto; }
.cart h2 { margin: 0 0 14px; }
.cart-list { list-style: none; margin: 0 0 6px; padding: 0; }
.cart-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line.is-res { background: #fff6e8; }
.cart-img { width: 76px; height: 76px; flex: none; border-radius: 10px; object-fit: cover; background: #f3f6fb; }
.cart-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cart-txt b { color: var(--navy); }
.cart-txt small { color: var(--mute); font-size: 13.5px; }
.cart-txt ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; }
.cart-txt ul span { color: var(--mute); }
.cart-txt em { color: #a05a00; font-size: 14px; }
.cart-links { display: flex; gap: 14px; margin-top: 4px; }
.cart-links button { all: unset; cursor: pointer; color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: underline; }
.cart-price { font-weight: 800; font-size: 18px; color: var(--navy); white-space: nowrap; }
.vt-perks { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 4px; }
.vt-perks span { font-size: 12px; font-weight: 700; color: #0b6b47; background: #e2f4ec; border-radius: 6px; padding: 3px 7px; }
.vt-info .vt-form { margin: 4px 0 18px; }

/* livraison */
.vt-ship { border: 0; padding: 0; margin: 0 0 14px; }
.vt-ship legend { font-weight: 800; color: var(--navy); margin-bottom: 6px; padding: 0; }
.vt-mode.off { opacity: .45; cursor: not-allowed; }
.vt-neuf { background: var(--navy); color: #fff; }

/* ---------- bannière glissante « reconditionnés » (accueil) ---------- */
.promo { padding: clamp(28px, 4vw, 48px) 0 clamp(8px, 2vw, 16px); }
.pr-box { position: relative; overflow: hidden; border-radius: 26px; color: #fff; display: grid;
  background: radial-gradient(700px 380px at 82% 45%, rgba(57,180,255,.28) 0%, transparent 60%), linear-gradient(120deg, #0b1033 0%, #141d5c 55%, #1a2a8a 100%);
  box-shadow: 0 30px 70px -40px rgba(11,16,51,.75); }
.pr-box::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px); pointer-events: none; }
.pr-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding: clamp(26px, 4vw, 54px) clamp(22px, 4.5vw, 64px) 70px;
  opacity: 0; visibility: hidden; transform: translateX(28px); transition: opacity .6s ease, transform .6s ease, visibility 0s .6s; }
.pr-slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s ease; }
.pr-kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px;
  background: linear-gradient(135deg, #12a46b, #0a9fdc); color: #fff; margin-bottom: 14px; }
.pr-txt h2 { color: #fff; font-size: clamp(28px, 3.6vw, 46px); margin: 0 0 16px; max-width: 16ch; }
.pr-txt h2 span { color: var(--glow-2); text-shadow: 0 0 26px rgba(57,180,255,.45); }
.pr-txt ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.pr-txt li { position: relative; padding-left: 30px; color: #dfe4ff; font-size: 17px; }
.pr-txt li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(57,180,255,.22)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2339b4ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.pr-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.pr-link { color: #cfe8ff; font-weight: 700; text-decoration: none; }
.pr-link:hover { color: #fff; text-decoration: underline; }
.pr-art { width: 100%; max-width: 440px; justify-self: center; overflow: visible; }
.pr-slide.on .pr-phone { animation: pr-float 6s ease-in-out infinite; transform-origin: 220px 180px; }
.pr-chip { filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.pr-slide.on .pr-chip { animation: pr-pop .7s cubic-bezier(.2,.9,.3,1.3) both; }
.pr-slide.on .pr-chip:nth-of-type(2) { animation-delay: .15s; }
.pr-slide.on .pr-chip:nth-of-type(3) { animation-delay: .3s; }
@keyframes pr-float { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-8px); } }
@keyframes pr-pop { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }
.pr-nav { position: absolute; left: clamp(22px, 4.5vw, 64px); bottom: 22px; display: flex; align-items: center; gap: 12px; z-index: 2; }
.pr-nav > button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.pr-nav > button:hover { background: rgba(255,255,255,.16); }
.pr-dots { display: flex; gap: 8px; }
.pr-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s, background .3s; }
.pr-dots button[aria-current="true"] { width: 30px; background: var(--glow-2); }
@media (max-width: 820px) {
  .pr-slide { grid-template-columns: 1fr; padding-bottom: 76px; gap: 6px; }
  .pr-art { max-width: 300px; order: -1; margin: -6px auto -18px; }
  .pr-txt h2 { font-size: clamp(26px, 7vw, 34px); }
  .pr-txt li { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .pr-slide, .pr-slide.on { transition: none; } .pr-slide.on .pr-phone, .pr-slide.on .pr-chip { animation: none; } }

/* choix Tous / Neufs / Reconditionnés / Occasions */
.vt-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--paper, #f3f5fb); border-radius: 999px; }
.vt-tabs button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 15px; color: var(--navy, #232a7c); padding: 9px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.vt-tabs button:hover { background: rgba(43, 63, 209, .08); }
.vt-tabs button[aria-pressed="true"] { background: var(--navy, #232a7c); color: #fff; box-shadow: 0 4px 12px rgba(35, 42, 124, .25); }
.vt-tabs .vt-n { display: inline-block; min-width: 22px; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: rgba(43, 63, 209, .12); font-size: 12px; text-align: center; }
.vt-tabs button[aria-pressed="true"] .vt-n { background: rgba(255, 255, 255, .22); }
@media (max-width: 640px) { .vt-tabs { width: 100%; border-radius: 16px; display: grid; grid-template-columns: 1fr 1fr; } .vt-tabs button { padding: 9px 6px; font-size: 14px; } }
.vt-perks .vt-orig { color: #1d3a8a; background: #e6edff; }
.vt-perks .vt-rep { color: #7a4b00; background: #fff1d6; }

/* fiche d'un téléphone (page Google) */
.vt-page { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.vt-page .vt-h1 { font-size: clamp(28px, 4vw, 40px); margin: 8px 0 6px; }
.vt-page .vt-thumbs a { display: block; }
.vt-page .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 20px; }
.vt-av-line { font-weight: 700; color: var(--navy); margin: 4px 0 0; }
.vt-desc { margin-top: 18px; line-height: 1.6; color: var(--ink); }
@media (max-width: 860px) { .vt-page { grid-template-columns: 1fr; } }
