/* Boutique SAB Player Pro — feuille de style autonome (aucune dépendance externe). */

:root {
	--bg: #0b1020;
	--bg-soft: #121a33;
	--card: #16203c;
	--line: #243156;
	--txt: #e9edf7;
	--muted: #9aa6c4;
	--accent: #2196f3;
	--accent-2: #38d0ff;
	--ok: #2ecc71;
	--radius: 14px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--txt);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* --- Barre du haut --- */
.topbar { border-bottom: 1px solid var(--line); background: rgba(11, 16, 32, .92); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { border-radius: 8px; object-fit: cover; }
.brand em { font-style: normal; color: var(--muted); font-weight: 500; }
.topnav { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--muted); }
.topnav a:hover { color: var(--txt); }
.topnav .lang { border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; }

/* --- Hero --- */
.hero { padding: 54px 0 26px; }
.hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; letter-spacing: -.5px; }
.hero p { color: var(--muted); max-width: 720px; margin: 0 0 8px; }
.pill { display: inline-block; font-size: 12px; letter-spacing: 1.4px; color: var(--accent-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; margin-bottom: 16px; }

/* --- Bandeau légal --- */
.notice { background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; margin: 22px 0 6px; color: var(--muted); font-size: 14px; }
.notice strong { color: var(--txt); }

/* --- Grille produits --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 20px; padding: 30px 0 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; position: relative; transition: transform .15s ease, border-color .15s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card img { width: 100%; height: auto; border-radius: 10px; background: var(--bg-soft); display: block; margin-bottom: 14px; }
.badge { position: absolute; top: 14px; right: 14px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #04121f; font-size: 10px; font-weight: 800; letter-spacing: .8px; padding: 5px 9px; border-radius: 999px; }
.card h2 { font-size: 17px; margin: 0 0 6px; line-height: 1.35; }
.card .tag { color: var(--muted); font-size: 14px; margin: 0 0 14px; flex: 1; }
.price { font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.price small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.btn { display: inline-block; text-align: center; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #04121f; font-weight: 700; padding: 12px 18px; border-radius: 10px; margin-top: 14px; border: 0; cursor: pointer; font-size: 15px; width: 100%; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--txt); }

/* --- Fiche produit --- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 34px 0; align-items: start; }
.detail img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.detail h1 { font-size: clamp(23px, 3vw, 31px); margin: 0 0 10px; line-height: 1.25; }
.crumbs { color: var(--muted); font-size: 13px; padding-top: 22px; }
.crumbs a:hover { color: var(--txt); }
.meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.meta span { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; color: var(--muted); }
.stock { color: var(--ok); font-size: 14px; font-weight: 600; }
.feats { list-style: none; padding: 0; margin: 18px 0; }
.feats li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--line); font-size: 15px; }
.feats li:before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.longdesc { color: var(--muted); font-size: 15px; }
.longdesc h3 { color: var(--txt); font-size: 17px; margin: 26px 0 8px; }
.buybox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 18px; }

/* --- Formulaire de commande --- */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 560px; margin: 34px auto; }
.form label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.form input, .form select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--txt); font-size: 15px; font-family: inherit; }
.form .total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; font-size: 19px; font-weight: 700; }

/* --- Pied de page --- */
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 30px 0 44px; color: var(--muted); font-size: 13px; }
.disclaimer { max-width: 860px; }
.footlinks { display: flex; gap: 18px; flex-wrap: wrap; margin: 16px 0 10px; }
.footlinks a { border-bottom: 1px solid transparent; }
.footlinks a:hover { color: var(--txt); border-color: var(--accent); }
.copy { margin: 0; opacity: .75; }

@media (max-width: 760px) {
	.detail { grid-template-columns: 1fr; gap: 22px; }
	.topnav { gap: 12px; font-size: 13px; }
	.brand em { display: none; }
}

/* --- Commande, confirmation et administration --- */
.hint { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.alert { background: #3d1414; border: 1px solid #6b2020; color: #ffb3b3; border-radius: 10px; padding: 12px 15px; font-size: 14px; margin: 0 0 6px; }
.eta { background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--ok); border-radius: 10px; padding: 12px 15px; font-size: 14px; color: var(--txt); margin: 18px 0 6px; }
.recap { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.recap-label { color: var(--muted); flex: 0 0 auto; }
.recap > span:last-child { text-align: right; min-width: 0; word-break: break-word; }
.form .btn.ghost { margin-top: 10px; }

.soon { background: #3a2a06; border: 1px solid #6b5210; color: #ffd479; border-radius: 10px; padding: 12px 15px; font-size: 14px; font-weight: 600; margin: 4px 0 0; }

.p-was { font-size: 19px; font-weight: 500; color: var(--muted); text-decoration: line-through; margin-right: 10px; letter-spacing: 0; }
.p-now { color: var(--txt); }

/* --- Bandeau de consentement --- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 18px 20px; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.consent p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.consent p a { color: var(--accent-2); border-bottom: 1px solid transparent; }
.consent p a:hover { border-color: var(--accent-2); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent-actions .btn { width: auto; margin-top: 0; padding: 10px 22px; font-size: 14px; }
@media (max-width: 560px) { .consent-actions { flex-direction: column-reverse; } .consent-actions .btn { width: 100%; } }
