/* ═══════════════════════════════════════════════════════════════
   SH E-Bike Verwaltungs GmbH — style.css
   Fichier : /assets/css/style.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── Variables (overridées dynamiquement via <style> dans header.php) ─── */
:root {
  --red:       #ef0b0b;
  --red2:      #b90000;
  --black:     #050607;
  --dark:      #0c0e10;
  --card:      #121518;
  --line:      rgba(255,255,255,.1);
  --white:     #f7f7f7;
  --muted:     #a5a8ad;
  --container: 1450px;
  --radius:    2px;
  --trans:     .28s cubic-bezier(.4,0,.2,1);
}

/* ─── Reset & base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box }
html  { scroll-behavior: smooth; scroll-padding-top: 84px }
body  { margin: 0; background: #08090a; color: var(--white); font-family: Inter, Arial, sans-serif; overflow-x: hidden; line-height: 1.5 }
a     { text-decoration: none; color: inherit }
img   { max-width: 100%; display: block }
button, input, textarea { font: inherit }
ul    { margin: 0; padding: 0; list-style: none }

.container { width: min(calc(100% - 60px), var(--container)); margin: auto }

/* ─── Topbar ─────────────────────────────────────────────────────────────── */
.topbar {
  height: 34px;
  background: linear-gradient(90deg, #970000, #ef0b0b, #970000);
  display: flex; align-items: center; justify-content: space-around;
  font-size: 11px; font-weight: 600; letter-spacing: .2px;
  animation: topbarSlide .8s ease both;
}
@keyframes topbarSlide { from { transform: translateY(-100%) } to { transform: none } }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.header {
  height: 84px;
  background: rgba(5,6,7,.97);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  transition: height var(--trans), box-shadow var(--trans);
}
.header.scrolled { height: 68px; box-shadow: 0 4px 30px rgba(0,0,0,.5) }

.nav-wrap { height: 100%; display: flex; align-items: center; gap: 35px }
.brand { width: 210px; display: flex; align-items: center; flex: none }
.brand img { display: block; width: 100%; height: auto; max-height: 72px; object-fit: contain; transition: max-height var(--trans) }
.header.scrolled .brand img { max-height: 54px }

.nav { display: flex; align-items: center; justify-content: center; gap: 32px; flex: 1 }
.nav a {
  font-size: 13px; font-weight: 700; letter-spacing: .5px;
  padding: 31px 0; position: relative; white-space: nowrap;
  transition: color var(--trans);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 21px;
  height: 2px; background: var(--red); transition: right var(--trans);
}
.nav a:hover::after, .nav a.active::after { right: 0 }

.nav-actions { display: flex; align-items: center; gap: 8px }
.icon-btn, .cart-btn, .menu-toggle { border: 0; background: transparent; color: #fff; cursor: pointer }
.icon-btn { font-size: 30px; width: 38px; transition: color var(--trans) }
.icon-btn:hover { color: var(--red) }
.cart-btn { position: relative; font-size: 19px; width: 42px }
.cart-btn span {
  position: absolute; right: 0; top: -5px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--red); font-size: 10px;
  display: grid; place-items: center;
  transition: transform var(--trans);
}
.cart-btn span.bounce { animation: cartBounce .4s ease }
@keyframes cartBounce { 0%,100%{ transform:scale(1) } 50%{ transform:scale(1.5) } }

.menu-toggle { display: none; width: 42px; flex-direction: column; gap: 5px; padding: 4px }
.menu-toggle span { height: 2px; background: #fff; display: block; transition: transform var(--trans), opacity var(--trans) }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.menu-toggle.open span:nth-child(2) { opacity: 0 }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 600px; height: calc(100vh - 118px); max-height: 780px;
  background-image: url('../image/hero.jpg');
  background-size: cover; background-position: center;
  position: relative; display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #030405 0%, rgba(3,4,5,.86) 28%, rgba(3,4,5,.2) 68%, rgba(3,4,5,.05)),
    linear-gradient(0deg, rgba(0,0,0,.35), transparent);
}
.hero-content { position: relative; z-index: 1 }
.hero-copy { max-width: 690px }

.eyebrow { color: #ff1a1a; font-size: 14px; font-weight: 900; letter-spacing: 2px; margin: 0 0 15px; font-family: Oswald, Inter, sans-serif }

.hero h1 {
  font-family: Oswald, Impact, sans-serif; font-style: italic;
  font-size: clamp(55px, 6vw, 96px); line-height: .92;
  margin: 0 0 28px; letter-spacing: -2px;
  animation: heroTitle 1s ease both .2s;
}
@keyframes heroTitle { from { opacity:0; transform: translateY(30px) } to { opacity:1; transform:none } }
.hero h1 strong { color: var(--red) }

.hero-text { font-size: 17px; line-height: 1.65; color: #ddd; max-width: 590px; animation: heroTitle 1s ease both .4s }

.hero-actions { display: flex; gap: 15px; margin-top: 32px; animation: heroTitle 1s ease both .6s }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 25px;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent;
  font-size: 12px; font-weight: 900; letter-spacing: .8px; cursor: pointer;
  transition: background var(--trans), border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn-primary { background: var(--red); color: white }
.btn-primary:hover { background: #ff2929; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(239,11,11,.25) }
.btn-outline { border-color: #8a8d90; color: #fff; background: rgba(0,0,0,.2) }
.btn-outline:hover { border-color: var(--red); color: var(--red) }

.hero-mini-stats { display: flex; gap: 35px; margin-top: 42px; animation: heroTitle 1s ease both .8s }
.hero-mini-stats div { display: flex; flex-direction: column; gap: 3px; border-left: 2px solid var(--red); padding-left: 12px }
.hero-mini-stats b { font-size: 16px }
.hero-mini-stats span { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: 1px }

/* ─── Trust strip ─────────────────────────────────────────────────────────── */
.trust-strip { background: #0b0d0f; border-top: 1px solid #27292b; border-bottom: 1px solid #202225 }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr) }
.trust-item { min-height: 86px; display: flex; align-items: center; justify-content: center; gap: 15px; border-right: 1px solid var(--line); transition: background var(--trans) }
.trust-item:hover { background: rgba(255,255,255,.03) }
.trust-item:last-child { border-right: 0 }
.trust-icon { font-size: 28px }
.trust-item b, .trust-item small { display: block }
.trust-item b { font-size: 12px; letter-spacing: .6px }
.trust-item small { font-size: 11px; color: #92969b; margin-top: 4px }

/* ─── Sections communes ───────────────────────────────────────────────────── */
.section { padding: 100px 0 }
.section-head { margin-bottom: 42px }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto }
.section-head h2, .performance h2, .about h2, .banner h2 {
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(38px,4vw,62px); font-style: italic; line-height: 1; margin: 0 0 15px;
}
.section-head h2 span, .performance h2 span, .about h2 span, .banner h2 span { color: var(--red) }
.section-head p:not(.eyebrow) { color: #91959a; line-height: 1.7 }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px }
.text-link { font-size: 12px; font-weight: 900; color: #fff; letter-spacing: .7px; transition: color var(--trans) }
.text-link:hover { color: var(--red) }

/* ─── Catégories ──────────────────────────────────────────────────────────── */
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px }
.category-card {
  height: 390px; position: relative; overflow: hidden;
  background: #111; border: 1px solid #25272a;
  transition: border-color var(--trans);
}
.category-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .6s ease, filter .6s ease }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #030405 0%, rgba(3,4,5,.75) 35%, rgba(3,4,5,0) 75%) }
.category-card:hover img { transform: scale(1.07); filter: saturate(1.15) }
.category-card:hover { border-color: var(--red) }
.category-content { position: absolute; z-index: 2; left: 25px; right: 20px; bottom: 22px }
.category-content small { color: #e8e8e8; font-size: 10px; letter-spacing: 1.5px }
.category-content h3 { font-family: Oswald; font-size: 28px; margin: 7px 0 }
.category-content p { font-size: 12px; color: #bbb; margin: 0 0 15px }
.category-content b { font-size: 10px; color: var(--red); letter-spacing: 1px }

/* ─── Produits ────────────────────────────────────────────────────────────── */
.products-section { background: #0d0f11 }
.filter-row { display: flex; gap: 8px; margin: -10px 0 30px; flex-wrap: wrap }
.filter-row--wrap { margin-bottom: 30px }

.filter, a.filter {
  border: 1px solid #34373a; background: transparent; color: #aaa;
  padding: 10px 17px; font-size: 11px; font-weight: 800; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background var(--trans), border-color var(--trans), color var(--trans);
}
.filter.active, .filter:hover { background: var(--red); border-color: var(--red); color: #fff }

.result-count { color: #777; font-size: 13px; margin: 0 0 24px }
.result-count strong { color: var(--white) }

.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px }
.product-card { background: #111416; border: 1px solid #24272a; transition: border-color var(--trans), transform var(--trans); overflow: hidden }
.product-card:hover { border-color: #4b4e51; transform: translateY(-5px) }

.product-image { height: 310px; background: #17191b; position: relative; overflow: hidden }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease }
.product-card:hover .product-image img { transform: scale(1.04) }
.product-image a { display: block; height: 100% }

.badge {
  position: absolute; z-index: 2; left: 14px; top: 14px;
  background: var(--red); padding: 6px 9px;
  font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px;
}
.badge.new { background: #fff; color: #111 }
.heart {
  position: absolute; z-index: 3; right: 14px; top: 13px;
  border: 0; background: rgba(0,0,0,.55); color: #fff;
  border-radius: 50%; width: 35px; height: 35px; font-size: 21px; cursor: pointer;
  transition: background var(--trans), color var(--trans), transform var(--trans);
}
.heart:hover { background: rgba(239,11,11,.3); transform: scale(1.15) }
.heart.active { color: var(--red); background: rgba(239,11,11,.2) }

.product-info { padding: 20px }
.product-info small { font-size: 9px; color: #777; letter-spacing: 1.4px; font-weight: 800 }
.product-info h3 { font-size: 18px; margin: 7px 0 }
.product-info h3 a { transition: color var(--trans) }
.product-info h3 a:hover { color: var(--red) }
.rating { font-size: 11px; color: #ff2020 }
.rating span { color: #777 }
.price { font-size: 21px; font-weight: 900; margin: 14px 0 }
.price del { font-size: 12px; color: #777; margin-left: 7px; font-weight: 500 }
.add-cart {
  width: 100%; height: 44px; background: transparent; color: #fff;
  border: 1px solid #444; cursor: pointer; font-size: 10px; font-weight: 900; letter-spacing: 1px;
  transition: background var(--trans), border-color var(--trans);
}
.add-cart:hover { background: var(--red); border-color: var(--red) }

/* ─── Empty state ─────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; color: #777 }
.empty-state .btn { margin-top: 20px }

/* ─── Performance ─────────────────────────────────────────────────────────── */
.performance { padding: 100px 0; background: #080a0b }
.performance-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px }
.performance-image { height: 550px; overflow: hidden }
.performance-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease }
.performance-image:hover img { transform: scale(1.03) }
.performance-copy > p:not(.eyebrow) { color: #a8aaad; line-height: 1.8 }
.specs {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 30px 0; padding: 20px 0;
}
.specs div { padding-right: 12px; border-right: 1px solid var(--line) }
.specs div:last-child { border: 0 }
.specs b, .specs span { display: block }
.specs b { font-family: Oswald; font-size: 26px }
.specs span { font-size: 9px; color: #777; text-transform: uppercase; letter-spacing: .8px; margin-top: 4px }

/* ─── Accessories ─────────────────────────────────────────────────────────── */
.accessory-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px }
.accessory-card {
  display: grid; grid-template-columns: 42% 58%;
  background: #111416; border: 1px solid #24272a;
  min-height: 180px; overflow: hidden;
  transition: border-color var(--trans), transform var(--trans);
}
.accessory-card:hover { border-color: var(--red); transform: translateY(-4px) }
.accessory-card img { width: 100%; height: 100%; object-fit: cover }
.accessory-card div { padding: 25px }
.accessory-card h3 { font-family: Oswald; font-size: 25px; margin: 0 0 5px }
.accessory-card p { font-size: 11px; color: #888; margin: 0 0 10px }
.accessory-card b { font-size: 11px; color: var(--red) }

/* ─── Banner CTA ──────────────────────────────────────────────────────────── */
.banner-section { padding: 0 0 100px }
.banner {
  min-height: 350px; padding: 60px 70px;
  background: linear-gradient(90deg, rgba(150,0,0,.9), rgba(239,11,11,.55)), url('../image/hero.jpg') center/cover;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  position: relative; overflow: hidden;
}
.banner::after {
  content: "SH"; position: absolute; right: -30px; bottom: -100px;
  font-family: Oswald; font-style: italic; font-size: 330px; color: rgba(0,0,0,.18);
  pointer-events: none;
}
.banner h2 { position: relative; z-index: 1 }
.banner .eyebrow, .banner p { position: relative; z-index: 1 }
.banner h2 span { color: #111 }
.banner .btn { position: relative; z-index: 2; background: #050505 }

/* ─── About ───────────────────────────────────────────────────────────────── */
.about { background: #f1f1f1; color: #111 }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center }
.about h2 { color: #101214 }
.about-copy > p:not(.eyebrow) { color: #5f6368; line-height: 1.8 }
.check-list { margin: 25px 0 30px; display: grid; gap: 12px; font-size: 12px; font-weight: 700; color: #222 }
.btn-outline.dark { border-color: #222; color: #111; background: transparent }
.btn-outline.dark:hover { border-color: var(--red); color: var(--red) }
.about-image { height: 520px; overflow: hidden }
.about-image img { width: 100%; height: 100%; object-fit: cover }

/* ─── Legal grid (page about) ────────────────────────────────────────────── */
.legal-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px }
.legal-card { background: #111416; border: 1px solid #25282b; padding: 24px }
.legal-card h4 { font-size: 10px; letter-spacing: 1.5px; color: var(--red); margin: 0 0 10px }
.legal-card p { font-size: 13px; color: #c8c8c8; margin: 0; line-height: 1.7 }
.legal-card a { color: var(--red) }

/* ─── Reviews ─────────────────────────────────────────────────────────────── */
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px }
.review {
  background: #111416; border: 1px solid #25282b; padding: 32px;
  transition: border-color var(--trans), transform var(--trans);
}
.review:hover { border-color: var(--red); transform: translateY(-4px) }
.stars { color: #ff1515; letter-spacing: 3px }
.review p { font-size: 14px; line-height: 1.8; color: #d0d1d3; min-height: 100px }
.review b, .review small { display: block }
.review b { font-size: 12px }
.review small { color: #777; font-size: 10px; margin-top: 5px }

/* ─── Newsletter ──────────────────────────────────────────────────────────── */
.newsletter { background: #151719; border-top: 1px solid #292b2d; border-bottom: 1px solid #292b2d; padding: 55px 0 }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px }
.newsletter h2 { font-family: Oswald; font-size: 35px; margin: 0 }
.newsletter form { display: flex; width: min(100%, 500px) }
.newsletter input {
  height: 52px; flex: 1; background: #08090a;
  border: 1px solid #36383a; color: #fff; padding: 0 18px; outline: none;
  transition: border-color var(--trans);
}
.newsletter input:focus { border-color: var(--red) }
.newsletter .btn { height: 52px }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: #050607; padding: 75px 0 20px }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px }
.footer-brand img { width: 210px; height: auto; max-height: 90px; object-fit: contain }
.footer p, .footer a { color: #85888d; font-size: 12px; line-height: 1.8 }
.footer h4 { font-size: 11px; letter-spacing: 1.5px; margin-top: 5px; color: var(--white) }
.footer > .container > div a { display: block }
.footer a:hover { color: #fff }
.socials { display: flex; gap: 8px; margin-top: 20px }
.socials a {
  border: 1px solid #333; width: 32px; height: 32px;
  display: grid !important; place-items: center; color: #fff !important;
  transition: border-color var(--trans), background var(--trans);
}
.socials a:hover { border-color: var(--red); background: rgba(239,11,11,.1) }
.footer-bottom { border-top: 1px solid #202224; padding-top: 20px; display: flex; justify-content: space-between; color: #62666b; font-size: 10px }

/* ─── Page Hero (pages intérieures) ──────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0a0c0e 0%, #131619 50%, #0a0c0e 100%);
  border-bottom: 1px solid var(--line);
  padding: 70px 0 50px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(239,11,11,.06) 0%, transparent 60%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px }
.page-hero h1 {
  font-family: Oswald, Impact, sans-serif; font-style: italic;
  font-size: clamp(42px, 5vw, 72px); line-height: .95; margin: 12px 0 18px; letter-spacing: -1px;
}
.breadcrumb { font-size: 11px; color: #777; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0 }
.breadcrumb a { color: #888; transition: color var(--trans) }
.breadcrumb a:hover { color: var(--red) }
.breadcrumb span { color: var(--white) }

/* ─── Product Detail ──────────────────────────────────────────────────────── */
.product-detail { background: #0d0f11 }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; margin-top: 32px }

.detail-image { position: relative; background: #111416; border: 1px solid #24272a; overflow: hidden }
.detail-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease }
.detail-image:hover img { transform: scale(1.03) }
.detail-image .badge { top: 20px; left: 20px; font-size: 11px; padding: 8px 12px }

.detail-cat { font-size: 10px; color: #777; letter-spacing: 1.8px; font-weight: 800 }
.detail-info h1 { font-family: Oswald; font-style: italic; font-size: clamp(32px,3.5vw,54px); line-height: 1; margin: 12px 0 }
.detail-rating { font-size: 14px; margin-bottom: 20px }

.detail-price { margin: 20px 0; display: flex; align-items: baseline; gap: 14px }
.price-main { font-size: 34px; font-weight: 900; color: var(--white) }
.price-old { font-size: 18px; color: #777 }
.price-save {
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 900; padding: 4px 10px;
}

.detail-desc { color: #a8aaad; line-height: 1.8; font-size: 14px }

.detail-specs { border: 1px solid var(--line); margin: 24px 0 }
.spec-row { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px }
.spec-row:last-child { border-bottom: 0 }
.spec-row span { color: #888 }
.spec-row b { color: var(--white) }

.detail-actions { display: flex; gap: 12px; margin: 24px 0; align-items: center }
.qty-wrap { display: flex; align-items: center; border: 1px solid #444 }
.qty-btn { width: 40px; height: 44px; background: transparent; color: #fff; border: 0; cursor: pointer; font-size: 20px; transition: background var(--trans) }
.qty-btn:hover { background: rgba(255,255,255,.1) }
#qtyInput { width: 50px; height: 44px; text-align: center; background: transparent; border: 0; border-left: 1px solid #444; border-right: 1px solid #444; color: #fff; font-weight: 700; -moz-appearance: textfield }
#qtyInput::-webkit-outer-spin-button, #qtyInput::-webkit-inner-spin-button { -webkit-appearance: none }
.add-cart-detail { flex: 1; height: 44px; font-size: 13px }

.detail-trust { display: flex; gap: 20px; font-size: 11px; color: #777; flex-wrap: wrap }
.detail-trust span { display: flex; align-items: center; gap: 5px }

/* ─── Contact ─────────────────────────────────────────────────────────────── */
.contact-section { background: #0d0f11 }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px }
.contact-info h2 { font-family: Oswald; font-style: italic; font-size: clamp(32px,3.5vw,52px); margin: 12px 0 16px }
.contact-info > p { color: #a8aaad; line-height: 1.8; margin-bottom: 36px }

.contact-cards { display: grid; gap: 16px }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #111416; border: 1px solid #25282b; padding: 20px }
.contact-icon { font-size: 22px; flex: none; margin-top: 2px }
.contact-card h4 { font-size: 10px; letter-spacing: 1.5px; color: var(--red); margin: 0 0 6px }
.contact-card p { font-size: 13px; color: #c8c8c8; margin: 0; line-height: 1.6 }
.contact-card a { color: var(--red) }

.contact-form-wrap { background: #111416; border: 1px solid #25282b; padding: 40px }
.contact-form { display: grid; gap: 20px }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px }
.form-group { display: flex; flex-direction: column; gap: 8px }
.form-group label { font-size: 11px; font-weight: 700; letter-spacing: .8px; color: #ccc }
.form-group input, .form-group textarea {
  background: #0d0f10; border: 1px solid #333; color: #fff;
  padding: 14px; outline: none; width: 100%;
  transition: border-color var(--trans);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--red) }
.form-group textarea { resize: vertical; min-height: 140px }
.contact-form .btn { width: 100%; margin-top: 4px }

.form-errors { background: #2a0a0a; border: 1px solid #7a1111; padding: 16px; margin-bottom: 20px }
.form-errors p { color: #ff7070; font-size: 13px; margin: 4px 0 }
.form-success { text-align: center; padding: 60px 20px }
.form-success span { font-size: 48px }
.form-success h3 { font-family: Oswald; font-size: 32px; margin: 16px 0 8px }
.form-success p { color: #a8aaad; margin-bottom: 28px }

/* ─── Search panel ────────────────────────────────────────────────────────── */
.search-panel {
  position: fixed; inset: 0 0 auto 0; background: rgba(5,6,7,.98); z-index: 100;
  padding: 25px; transform: translateY(-110%); transition: transform var(--trans);
  border-bottom: 1px solid #333;
}
.search-panel.open { transform: translateY(0) }
.search-inner { max-width: 1000px; margin: auto; display: flex; gap: 10px }
.search-inner input {
  flex: 1; background: #121416; border: 1px solid #444; color: #fff;
  padding: 18px; font-size: 18px; outline: none; transition: border-color var(--trans);
}
.search-inner input:focus { border-color: var(--red) }
.search-inner button, .cart-head button { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; transition: color var(--trans) }
.search-inner button:hover, .cart-head button:hover { color: var(--red) }

/* ── Bouton Rechercher ──────────────────────────────────────────────────── */
#searchSubmitBtn {
  display: flex; align-items: center; gap: 8px;
  background: var(--red) !important; border: none !important;
  color: #fff !important; font-size: 14px !important; font-weight: 600;
  padding: 0 22px; border-radius: 4px; cursor: pointer; white-space: nowrap;
  transition: background var(--trans), transform .15s;
  letter-spacing: .4px;
}
#searchSubmitBtn:hover { background: #c0111a !important; transform: scale(1.03); }
#searchSubmitBtn svg { flex-shrink: 0; }

/* ── Résultats en temps réel ────────────────────────────────────────────── */
.search-live {
  max-width: 1000px; margin: 14px auto 0;
  background: #0d0f10; border: 1px solid #2a2a2a;
  border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
  animation: srFadeIn .18s ease;
}
.search-live:empty { display: none; }

@keyframes srFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.search-live-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; color: #fff; text-decoration: none;
  border-bottom: 1px solid #1e1e1e; transition: background .15s;
}
.search-live-item:last-child { border-bottom: none; }
.search-live-item:hover { background: #161819; }
.search-live-item img {
  width: 58px; height: 44px; object-fit: contain;
  background: #191b1d; border-radius: 4px; flex-shrink: 0;
}
.search-live-info { flex: 1; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.search-live-name {
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-live-name mark { background: none; color: var(--red); font-style: normal; }
.search-live-cat  { font-size: 12px; color: #888; }
.search-live-price { font-size: 14px; font-weight: 700; color: var(--red); white-space: nowrap; }

.search-live-goto {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; color: #aaa; text-decoration: none; font-size: 14px;
  background: #111314; border-top: 1px solid #1e1e1e;
  transition: background .15s, color .15s;
}
.search-live-goto:hover { background: #1a1c1e; color: #fff; }
.search-live-icon { font-size: 20px; color: #555; }
.search-live-goto strong { color: #fff; }
.search-live-arrow { margin-left: auto; font-size: 16px; color: var(--red); }
.search-live-noresult { flex: 1; }

/* ─── Cart drawer ─────────────────────────────────────────────────────────── */
.cart-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; width: min(430px,100%);
  background: #0d0f10; z-index: 101; transform: translateX(110%);
  transition: transform var(--trans); display: flex; flex-direction: column;
  border-left: 1px solid #333;
}
.cart-drawer.open { transform: translateX(0) }
.cart-head { height: 80px; border-bottom: 1px solid #292b2d; display: flex; align-items: center; justify-content: space-between; padding: 0 25px }
.cart-head h3 { margin: 0 }
.cart-items { flex: 1; padding: 25px; overflow-y: auto }
.empty-cart { color: #777; text-align: center; margin-top: 100px }
.cart-line { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #292b2d; padding: 15px 0; font-size: 12px }
.cart-line .cart-item-name { flex: 1 }
.cart-line .cart-item-price { color: var(--red); font-weight: 700; margin: 0 12px }
.cart-footer { padding: 25px; border-top: 1px solid #292b2d }
.cart-footer > div { display: flex; justify-content: space-between; margin-bottom: 15px }
.cart-footer .btn { width: 100% }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 99; opacity: 0; pointer-events: none; transition: opacity var(--trans) }
.overlay.show { opacity: 1; pointer-events: auto }

/* ─── Back to top ─────────────────────────────────────────────────────────── */
.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px;
  background: var(--red); color: #fff; border: 0; cursor: pointer; z-index: 30;
  opacity: 0; transform: translateY(15px); transition: opacity var(--trans), transform var(--trans);
}
.back-top.show { opacity: 1; transform: none }
.back-top:hover { background: #ff2929 }

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

/* ─── Toast notification ─────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1a1d1f; border: 1px solid #333; color: #fff;
  padding: 14px 24px; font-size: 13px; font-weight: 600;
  z-index: 200; opacity: 0; transition: opacity .3s, transform .3s;
  white-space: nowrap; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0) }
.toast .toast-check { color: #22c55e; margin-right: 8px }

/* ════════════════ RESPONSIVE ════════════════ */

@media (max-width: 1200px) {
  .legal-grid { grid-template-columns: repeat(2,1fr) }
}

@media (max-width: 1100px) {
  .nav { gap: 18px }
  .nav a { font-size: 11px }
  .brand { width: 170px }
  .performance-grid, .about-grid, .contact-grid { gap: 40px }
  .category-grid { grid-template-columns: repeat(2,1fr) }
  .product-grid { grid-template-columns: repeat(2,1fr) }
  .footer-grid { grid-template-columns: repeat(2,1fr) }
  .detail-grid { gap: 40px }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr }
  .detail-grid { grid-template-columns: 1fr }
  .detail-image { max-height: 400px }
  .legal-grid { grid-template-columns: repeat(2,1fr) }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 30px), var(--container)) }
  .topbar { font-size: 9px; gap: 10px }
  .topbar div:nth-child(2) { display: none }
  .header { height: 72px }
  .nav-wrap { gap: 12px }
  .brand { width: 145px }
  .brand img { max-height: 60px }
  .menu-toggle { display: flex; order: 3 }
  .nav {
    position: absolute; left: 15px; right: 15px; top: 72px;
    background: #0b0d0f; border: 1px solid #292b2d;
    display: none; flex-direction: column; align-items: stretch; padding: 10px;
    z-index: 51;
  }
  .nav.open { display: flex }
  .nav a { padding: 14px 15px }
  .nav a::after { bottom: 7px }
  .nav-actions { margin-left: auto }
  .nav-actions .icon-btn:first-child { display: none }

  .hero { min-height: 680px; height: auto; padding: 80px 0; background-position: 64% center }
  .hero-overlay { background: linear-gradient(90deg, #030405 0%, rgba(3,4,5,.72) 60%, rgba(3,4,5,.35)) }
  .hero h1 { font-size: 55px }
  .hero-text { font-size: 14px }
  .hero-mini-stats { gap: 16px }
  .hero-mini-stats b { font-size: 13px }
  .hero-mini-stats span { font-size: 8px }

  .trust-grid { grid-template-columns: repeat(2,1fr) }
  .trust-item { justify-content: flex-start; padding: 15px }
  .trust-item:nth-child(2) { border-right: 0 }
  .trust-item:nth-child(3) { border-top: 1px solid var(--line) }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); border-right: 0 }

  .section { padding: 70px 0 }
  .section-head.split, .newsletter-inner, .banner { flex-direction: column; align-items: flex-start }
  .section-head h2, .performance h2, .about h2 { font-size: 42px }

  .category-grid, .product-grid, .review-grid, .accessory-grid,
  .legal-grid { grid-template-columns: 1fr }
  .category-card { height: 330px }
  .product-image { height: 280px }

  .performance-grid, .about-grid { grid-template-columns: 1fr }
  .performance-image, .about-image { height: 360px }
  .specs { grid-template-columns: repeat(2,1fr); gap: 18px }
  .specs div:nth-child(2) { border: 0 }

  .banner { padding: 45px 30px }
  .banner h2 { font-size: 45px }
  .newsletter form { width: 100%; flex-direction: column }
  .newsletter .btn { width: 100% }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px }
  .footer-bottom { flex-direction: column; gap: 10px }
  .footer-brand { grid-column: 1/-1 }

  .form-row { grid-template-columns: 1fr }
  .contact-form-wrap { padding: 24px }
  .detail-actions { flex-direction: column }
  .detail-actions .add-cart-detail { width: 100% }
}

@media (max-width: 480px) {
  .topbar div:first-child { display: none }
  .topbar { justify-content: center }
  .nav-actions { gap: 0 }
  .cart-btn { font-size: 16px }
  .hero { min-height: 650px }
  .hero h1 { font-size: 48px }
  .hero-actions { flex-direction: column }
  .hero-actions .btn { width: 100% }
  .hero-mini-stats { display: grid; grid-template-columns: repeat(3,1fr) }
  .trust-item { gap: 9px }
  .trust-icon { font-size: 20px }
  .trust-item b { font-size: 9px }
  .trust-item small { font-size: 8px }
  .footer-grid { grid-template-columns: 1fr }
  .footer-brand { grid-column: auto }
  .page-hero { padding: 50px 0 35px }
  .contact-form-wrap { padding: 20px }
}

/* ══════════════ NOUVELLES PAGES (cart, checkout, account) ══════════════ */

/* ─── Cart page ──────────────────────────────────────────────────────────── */
.cart-section { background:#0d0f11; min-height:60vh }
.cart-empty { text-align:center; padding:100px 20px }
.cart-empty-icon { font-size:80px; display:block; margin-bottom:20px; animation:floatIcon 3s ease-in-out infinite }
@keyframes floatIcon { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.cart-empty h2 { font-family:Oswald;font-style:italic;font-size:42px;margin:0 0 12px }
.cart-empty p  { color:#888;margin-bottom:28px }

.cart-layout { display:grid; grid-template-columns:1fr 360px; gap:40px; align-items:start }
.cart-items-head { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:16px; padding:0 0 14px; border-bottom:2px solid #25282b; font-size:10px; font-weight:800; letter-spacing:1.2px; color:#666 }
.cart-row { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:16px; align-items:center; padding:24px 0; border-bottom:1px solid #1a1d20; animation:slideIn .4s ease both }
@keyframes slideIn { from{opacity:0;transform:translateX(-20px)} to{opacity:1;transform:none} }
.cart-row-product { display:flex; gap:16px; align-items:center }
.cart-row-product img { width:80px; height:80px; object-fit:cover; flex:none }
.cart-row-info h3 { font-size:14px; font-weight:700; margin:0 0 6px; transition:color .2s }
.cart-row-info h3:hover { color:var(--red) }
.cart-row-remove { background:none; border:0; color:#555; font-size:11px; cursor:pointer; padding:0; transition:color .2s }
.cart-row-remove:hover { color:var(--red) }
.cart-row-price  { font-size:15px; font-weight:700 }
.cart-row-total  { font-size:16px; font-weight:900; color:var(--red) }
.qty-ctrl { display:inline-flex; align-items:center; border:1px solid #333 }
.qty-btn-sm { width:32px; height:32px; background:transparent; color:#fff; border:0; cursor:pointer; font-size:18px; transition:background .2s }
.qty-btn-sm:hover { background:rgba(255,255,255,.1) }
.qty-val { min-width:36px; text-align:center; font-weight:700; font-size:14px }
.cart-coupons { display:flex; gap:12px; margin-top:30px; padding-top:24px; border-top:1px solid #1a1d20 }
.coupon-input { flex:1; background:#0d0f10; border:1px solid #333; color:#fff; padding:12px 16px; outline:none; font:inherit; transition:border-color .2s }
.coupon-input:focus { border-color:var(--red) }
.coupon-btn { padding:0 20px; height:46px }

.cart-summary { background:#111416; border:1px solid #25282b; padding:30px; position:sticky; top:100px }
.cart-summary h3 { font-family:Oswald; font-size:18px; letter-spacing:1.5px; margin:0 0 20px; padding-bottom:16px; border-bottom:1px solid #25282b }
.summary-rows { display:grid; gap:14px }
.summary-row { display:flex; justify-content:space-between; font-size:13px }
.summary-row--total { font-size:16px; font-weight:900; padding-top:14px; border-top:2px solid #25282b; margin-top:4px }
.free-shipping { color:#22c55e }
.summary-tax { font-size:10px; color:#555; margin:8px 0 20px; letter-spacing:.5px }
.summary-checkout { width:100%; margin-bottom:14px; font-size:13px }
.summary-continue { display:block; text-align:center; font-size:11px; color:#777; margin-bottom:20px; transition:color .2s }
.summary-continue:hover { color:var(--red) }
.summary-trust { display:flex; flex-direction:column; gap:8px; font-size:11px; color:#555 }
.summary-trust span { display:flex; align-items:center; gap:6px }
.suggested-section { margin-top:70px }

/* ─── Checkout ────────────────────────────────────────────────────────────── */
.checkout-section { background:#0d0f11 }
.checkout-layout  { display:grid; grid-template-columns:1fr 380px; gap:40px; align-items:start }
.checkout-main { display:grid; gap:24px }
.form-row-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px }
.form-row-3 { display:grid; grid-template-columns:1fr 2fr 1fr; gap:16px }
.checkout-item { display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px solid #1a1d20 }
.checkout-item img { width:60px; height:60px; object-fit:cover; flex:none }
.checkout-item-info { flex:1 }
.checkout-item-info span { font-size:13px; font-weight:600; display:block }
.checkout-item-info small { color:#666; font-size:11px }
.checkout-total-row { display:flex; justify-content:space-between; padding:12px 0; font-size:13px; border-bottom:1px solid #1a1d20 }
.checkout-grand-total { font-size:18px; font-weight:900; border-bottom:0; padding-top:16px }
.checkout-legal { font-size:11px; color:#555; line-height:1.7; margin:14px 0 0; text-align:center }
.checkout-legal a { color:var(--red) }
.checkout-summary { position:sticky; top:100px }

/* ─── Account ─────────────────────────────────────────────────────────────── */
.account-section { background:#0d0f11; min-height:70vh }
.auth-layout { display:grid; grid-template-columns:1fr 1fr; gap:40px; max-width:960px }
.auth-card { background:#111416; border:1px solid #25282b; padding:40px }
.auth-card h2 { font-family:Oswald; font-style:italic; font-size:30px; margin:0 0 8px }
.auth-card p  { color:#888; font-size:13px; margin:0 0 24px }
.account-avatar { display:flex; gap:16px; align-items:center; margin-bottom:28px; padding-bottom:24px; border-bottom:1px solid #25282b }
.avatar-circle { width:52px; height:52px; border-radius:50%; background:var(--red); display:grid; place-items:center; font-size:16px; font-weight:900; flex:none }
.account-avatar b { display:block; font-size:14px }
.account-avatar small { color:#777; font-size:12px }
.nav-count { background:var(--red); color:#fff; font-size:9px; padding:2px 7px; border-radius:10px; margin-left:auto }
.dashboard-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:8px }
.dash-stat { text-align:center; padding:20px; background:#0d0f10; border:1px solid #1e2124 }
.dash-stat b { display:block; font-family:Oswald; font-size:28px; color:var(--red) }
.dash-stat span { font-size:11px; color:#666; letter-spacing:.8px }
.form-success-bar { background:#0a1f0a; border:1px solid #14532d; color:#22c55e; padding:14px 20px; font-size:13px; margin-bottom:20px }

/* Order success */
.order-success-section { background:#0d0f11; min-height:70vh }
.success-hero { text-align:center; padding:40px 0 50px }
.success-checkmark { width:80px; height:80px; border-radius:50%; background:var(--red); color:#fff; font-size:36px; display:grid; place-items:center; margin:0 auto 24px }
.success-hero h1 { font-family:Oswald; font-style:italic; font-size:clamp(28px,4vw,48px); margin:0 0 16px }
.success-hero p { color:#a8aaad; max-width:600px; margin:0 auto }
.order-meta { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:8px }
.order-meta > div { background:#0d0f10; border:1px solid #1e2124; padding:16px; text-align:center }
.order-meta small { display:block; font-size:9px; letter-spacing:1.2px; color:#555; margin-bottom:6px }
.order-meta b { font-size:15px }
.success-actions { display:flex; gap:16px; justify-content:center; margin-top:30px; flex-wrap:wrap }

/* ─── Ticker ────────────────────────────────────────────────────────────── */
.ticker-wrap { overflow:hidden; background:#0a0c0e; border-top:1px solid #1e2124; border-bottom:1px solid #1e2124; padding:11px 0 }
.ticker-inner { display:flex; width:max-content; animation:ticker 30s linear infinite }
.ticker-inner:hover { animation-play-state:paused }
.ticker-item { white-space:nowrap; padding:0 40px; font-size:11px; font-weight:800; letter-spacing:1.5px; color:#444; display:flex; align-items:center; gap:10px }
.ticker-item span { color:var(--red) }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── Responsive nouvelles pages ─────────────────────────────────────────── */
@media(max-width:1100px) {
  .cart-layout { grid-template-columns:1fr }
  .cart-summary { position:static }
  .checkout-layout { grid-template-columns:1fr }
  .checkout-summary { order:-1 }
  .checkout-summary .account-card:first-child { position:static }
  .order-meta { grid-template-columns:repeat(2,1fr) }
}
@media(max-width:780px) {
  .cart-items-head { display:none }
  .cart-row { grid-template-columns:1fr; gap:8px; padding:20px 0 }
  .cart-row-product { flex-wrap:wrap }
  .form-row-2, .form-row-3 { grid-template-columns:1fr }
  .auth-layout { grid-template-columns:1fr }
  .dashboard-stats { grid-template-columns:1fr 1fr }
  .order-meta { grid-template-columns:1fr 1fr }
}
@media(max-width:480px) {
  .cart-row-product img { width:60px; height:60px }
  .auth-card { padding:24px }
  .account-card { padding:20px }
  .order-meta { grid-template-columns:1fr }
}

/* ─── Toast ─────────────────────────────────────────────────────────────────── */
.toast {
  position:fixed; bottom:90px; left:50%; transform:translateX(-50%) translateY(20px);
  background:#1a1d1f; border:1px solid #333; color:#fff;
  padding:14px 24px; font-size:13px; font-weight:600;
  z-index:500; opacity:0; transition:opacity .3s,transform .3s;
  white-space:nowrap; pointer-events:none; max-width:90vw;
}
.toast.show { opacity:1; transform:translateX(-50%) translateY(0) }
.toast-check { color:#22c55e; margin-right:8px }

/* ─── Scroll progress ────────────────────────────────────────────────────── */
#scrollProgress {
  position:fixed; top:0; left:0; height:3px; background:var(--red);
  width:0; z-index:200; transition:width .1s linear;
  box-shadow:0 0 10px rgba(239,11,11,.5);
  pointer-events:none;
}

/* ─── Form styles (float label) ────────────────────────────────────────── */
.form-row-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px }
.form-row-3 { display:grid; grid-template-columns:1fr 2fr 1fr; gap:16px }
@media(max-width:600px){
  .form-row-2,.form-row-3 { grid-template-columns:1fr }
}

/* ════════════════════════════════════════════════════════
   AUTH PAGE — Design pro cdiscount style
   ════════════════════════════════════════════════════════ */

.auth-page { min-height:100vh; background:#060809; position:relative; overflow:hidden; padding:60px 0 80px }

/* Particules fond */
.auth-bg-animation { position:fixed; inset:0; pointer-events:none; z-index:0 }
.auth-particle {
  position:absolute; border-radius:50%;
  background:radial-gradient(circle, rgba(239,11,11,.25), transparent);
  animation:authFloat linear infinite;
}
.auth-particle:nth-child(1){width:300px;height:300px;left:-5%;top:10%;animation-duration:18s;animation-delay:0s}
.auth-particle:nth-child(2){width:200px;height:200px;left:80%;top:5%;animation-duration:22s;animation-delay:3s}
.auth-particle:nth-child(3){width:400px;height:400px;left:40%;top:60%;animation-duration:15s;animation-delay:6s}
.auth-particle:nth-child(4){width:150px;height:150px;left:20%;top:70%;animation-duration:20s;animation-delay:1s}
.auth-particle:nth-child(5){width:250px;height:250px;left:60%;top:30%;animation-duration:25s;animation-delay:4s}
.auth-particle:nth-child(6){width:180px;height:180px;left:5%;top:50%;animation-duration:17s;animation-delay:7s}
.auth-particle:nth-child(7){width:320px;height:320px;left:70%;top:70%;animation-duration:21s;animation-delay:2s}
.auth-particle:nth-child(8){width:120px;height:120px;left:50%;top:5%;animation-duration:19s;animation-delay:5s}
@keyframes authFloat {
  0%   { transform:translate(0,0) scale(1); opacity:0 }
  20%  { opacity:.4 }
  80%  { opacity:.2 }
  100% { transform:translate(30px,-60px) scale(1.15); opacity:0 }
}

.auth-header { text-align:center; margin-bottom:48px; position:relative; z-index:1 }
.auth-header h1 { font-family:Oswald;font-style:italic;font-size:clamp(32px,4vw,56px);margin:10px 0 12px;line-height:1 }
.auth-header h1 span { color:var(--red) }
.auth-header p { color:#888; font-size:15px }

/* Onglets */
.auth-tabs { display:flex; justify-content:center; gap:0; margin-bottom:40px; position:relative; z-index:1 }
.auth-tab {
  display:flex; align-items:center; gap:10px;
  padding:14px 40px; background:#111416; border:1px solid #25282b;
  color:#666; font-size:13px; font-weight:800; letter-spacing:1px; cursor:pointer;
  transition:all .25s; position:relative; overflow:hidden;
}
.auth-tab:first-child { border-right:0 }
.auth-tab::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:3px;
  background:var(--red); transform:scaleX(0); transition:transform .3s;
}
.auth-tab.active { color:#fff; background:#1a1d20 }
.auth-tab.active::after { transform:scaleX(1) }
.auth-tab:hover { color:#fff }
.tab-icon { font-size:18px }

/* Panels */
.auth-panels { position:relative; z-index:1; display:flex; justify-content:center }
.auth-panel { display:none; width:100%; max-width:520px; animation:fadeSlideIn .4s ease }
.auth-panel.active { display:block }
@keyframes fadeSlideIn { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }

/* Card pro */
.auth-card-pro {
  background:linear-gradient(135deg,#111416 0%,#0d1014 100%);
  border:1px solid #25282b; padding:48px;
  position:relative; overflow:hidden;
}
.auth-card-pro::before {
  content:''; position:absolute; top:-1px; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--red),#ff6b6b,var(--red));
  background-size:200% 100%; animation:shimmerLine 3s linear infinite;
}
@keyframes shimmerLine { from{background-position:200% 0} to{background-position:-200% 0} }
.auth-card-pro--wide { max-width:720px }

.auth-card-icon { font-size:48px; display:block; margin-bottom:16px; line-height:1 }
.auth-card-pro h2 { font-family:Oswald;font-style:italic;font-size:32px;margin:0 0 6px;color:#fff }
.auth-card-sub { color:#666; font-size:13px; margin:0 0 28px; line-height:1.5 }

/* Champ auth */
.auth-form { display:grid; gap:16px }
.auth-form--grid { display:grid; grid-template-columns:1fr 1fr; gap:16px }
.auth-field {
  position:relative; display:flex; align-items:center;
}
.auth-field--full { grid-column:1/-1 }
.auth-field-icon {
  position:absolute; left:14px; top:50%; transform:translateY(-50%);
  font-size:16px; z-index:2; pointer-events:none; line-height:1;
}
.auth-field textarea ~ .auth-field-icon { top:18px; transform:none }
.auth-field input, .auth-field textarea {
  width:100%; background:#0a0c0e; border:1.5px solid #2a2d32;
  color:#fff; padding:16px 44px 16px 44px; font:inherit; font-size:14px;
  outline:none; transition:border-color .25s, box-shadow .25s;
  -webkit-appearance:none;
}
.auth-field input:focus, .auth-field textarea:focus {
  border-color:var(--red);
  box-shadow:0 0 0 3px rgba(239,11,11,.12);
}
.auth-field label {
  position:absolute; right:44px; top:50%; transform:translateY(-50%);
  font-size:11px; color:#555; font-weight:700; letter-spacing:.6px;
  pointer-events:none; white-space:nowrap;
  transition:all .2s;
}
.auth-field input:focus ~ label,
.auth-field input:not(:placeholder-shown) ~ label { opacity:0 }

/* Toggle mot de passe */
.toggle-pass {
  position:absolute; right:12px; background:none; border:0;
  color:#555; cursor:pointer; font-size:16px; padding:4px;
  z-index:2; transition:color .2s;
}
.toggle-pass:hover { color:var(--red) }

/* Strength bar */
.password-strength { display:flex; align-items:center; gap:12px; padding:4px 0 }
.strength-track { flex:1; height:4px; background:#1e2124; border-radius:2px; overflow:hidden }
.strength-fill { height:100%; width:0; border-radius:2px; transition:width .4s, background .4s }
.strength-label { font-size:10px; color:#555; font-weight:700; letter-spacing:.5px; white-space:nowrap }

/* Options / check */
.auth-options { display:flex; justify-content:space-between; align-items:center; font-size:12px }
.auth-check { display:flex; align-items:center; gap:8px; color:#888; cursor:pointer }
.auth-check input[type=checkbox] { accent-color:var(--red); width:15px; height:15px }
.auth-check a { color:var(--red) }
.auth-forgot { color:#666; font-size:11px; transition:color .2s }
.auth-forgot:hover { color:var(--red) }

/* Bouton submit pro */
.btn-auth-submit {
  width:100%; height:54px; background:linear-gradient(135deg,var(--red),#c00000);
  color:#fff; border:0; cursor:pointer; font:inherit; font-size:13px; font-weight:900;
  letter-spacing:1.2px; display:flex; align-items:center; justify-content:center; gap:12px;
  position:relative; overflow:hidden; transition:transform .25s, box-shadow .25s;
}
.btn-auth-submit::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,transparent 30%,rgba(255,255,255,.1) 50%,transparent 70%);
  transform:translateX(-100%); transition:transform .5s;
}
.btn-auth-submit:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(239,11,11,.35) }
.btn-auth-submit:hover::before { transform:translateX(100%) }

/* Divider / alt button */
.auth-divider { display:flex; align-items:center; gap:12px; margin:20px 0; color:#333; font-size:10px; font-weight:700; letter-spacing:1px }
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background:#1e2124 }
.btn-auth-alt {
  width:100%; height:46px; background:transparent; border:1px solid #333;
  color:#888; cursor:pointer; font:inherit; font-size:11px; font-weight:800; letter-spacing:1px;
  transition:border-color .2s, color .2s;
}
.btn-auth-alt:hover { border-color:var(--red); color:var(--red) }

/* Alert */
.auth-alert { padding:14px 18px; margin-bottom:16px; border-radius:0 }
.auth-alert--error { background:#1f0a0a; border:1px solid #5a1515 }
.auth-alert--error p { color:#ff7070; font-size:13px; margin:4px 0 }
.auth-alert--success { background:#0a1f0a; border:1px solid #1a5c1a }
.auth-alert--success p { color:#70d070; font-size:13px }

/* Trust strip auth */
.auth-trust { display:flex; justify-content:center; gap:20px; margin-top:24px; padding-top:20px; border-top:1px solid #1e2124 }
.auth-trust span { font-size:11px; color:#444; font-weight:600 }

/* Benefits register */
.register-benefits { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; margin-bottom:24px }
.benefit-item { display:flex; align-items:flex-start; gap:10px; padding:14px; background:#0a0c0e; border:1px solid #1e2124 }
.benefit-item > span { font-size:20px; flex:none; line-height:1 }
.benefit-item b { display:block; font-size:11px; font-weight:800; margin-bottom:4px }
.benefit-item small { color:#666; font-size:10px; line-height:1.4 }

/* ════════════════════════════════════════════════════════
   ACCOUNT DASHBOARD — style pro
   ════════════════════════════════════════════════════════ */

.account-page { background:#060809; min-height:100vh }

.account-hero {
  background:linear-gradient(135deg,#0a0c0f 0%,#130b0b 50%,#0a0c0f 100%);
  padding:48px 0; border-bottom:1px solid #1e2124; position:relative; overflow:hidden;
}
.account-hero::before {
  content:''; position:absolute; left:-100px; top:-100px; width:400px; height:400px;
  background:radial-gradient(circle,rgba(239,11,11,.08),transparent 70%); pointer-events:none;
}
.account-hero-inner { display:flex; align-items:center; gap:28px; flex-wrap:wrap }
.account-hero-avatar {
  width:70px; height:70px; border-radius:50%; background:var(--red);
  display:grid; place-items:center; font-size:22px; font-weight:900; flex:none;
  box-shadow:0 0 0 4px rgba(239,11,11,.2);
}
.account-hero-info { flex:1 }
.account-hero-info p.eyebrow { margin:0 0 4px }
.account-hero-info h1 { font-family:Oswald;font-style:italic;font-size:clamp(28px,3vw,40px);margin:0 0 4px }
.account-hero-info > p { color:#666; font-size:13px; margin:0 }
.account-hero-stats { display:flex; gap:0; margin-left:auto }
.ahstat { text-align:center; padding:12px 24px; border-left:1px solid #1e2124 }
.ahstat:first-child { border-left:0 }
.ahstat b { display:block; font-family:Oswald; font-size:24px; color:var(--red) }
.ahstat span { font-size:10px; color:#555; letter-spacing:.8px; text-transform:uppercase }

.account-body { padding:40px 0 80px }
.account-layout { display:grid; grid-template-columns:260px 1fr; gap:32px; align-items:start }

/* Sidebar */
.account-sidebar { position:sticky; top:90px }
.account-nav { background:#111416; border:1px solid #1e2124; overflow:hidden }
.anav-item {
  display:flex; align-items:center; gap:12px; padding:16px 20px;
  font-size:12px; font-weight:700; letter-spacing:.4px; color:#666;
  border-bottom:1px solid #1a1d20; transition:background .2s,color .2s;
  position:relative;
}
.anav-item:last-child { border-bottom:0 }
.anav-item:hover { background:rgba(255,255,255,.04); color:#ccc }
.anav-item.is-active { color:#fff; background:rgba(239,11,11,.06) }
.anav-item.is-active::before {
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--red);
}
.anav-icon { font-size:18px; flex:none }
.anav-label { flex:1 }
.anav-badge { background:var(--red); color:#fff; font-size:9px; padding:2px 7px; border-radius:10px }
.anav-arrow { color:var(--red); font-size:18px; font-weight:700 }
.anav-divider { height:1px; background:#1e2124; margin:4px 0 }
.anav-item--danger { color:#ef4444 }
.anav-item--danger:hover { background:rgba(239,68,68,.06) }

.sidebar-cart-hint {
  display:flex; align-items:center; gap:12px; padding:14px 16px;
  background:#111416; border:1px solid #1e2124; border-top:0; font-size:12px;
}
.sidebar-cart-hint b { display:block; margin-bottom:2px }
.sidebar-cart-hint a { color:var(--red); font-size:11px }
.sidebar-cart-hint > span { font-size:22px }

/* Cards */
.acard { background:#111416; border:1px solid #1e2124; margin-bottom:20px; overflow:hidden }
.acard-head { display:flex; align-items:center; justify-content:space-between; padding:20px 24px; border-bottom:1px solid #1a1d20 }
.acard-head h3 { margin:0; font-family:Oswald; font-size:18px; font-style:italic }
.acard-link { font-size:11px; color:var(--red); font-weight:700; letter-spacing:.5px }
.acard-empty { text-align:center; padding:60px 20px }
.acard-empty > span { font-size:50px; display:block; margin-bottom:16px }
.acard-empty p { color:#666; margin-bottom:24px }
.acard-success { background:#0a1f0a; border:1px solid #1a5c1a; color:#70d070; padding:14px 20px; margin-bottom:16px; font-size:13px }

/* Dashboard quick */
.dashboard-quick { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:#1e2124 }
.dquick-item { display:flex; flex-direction:column; align-items:center; gap:8px; padding:24px 16px; background:#111416; transition:background .2s }
.dquick-item:hover { background:#161a1e }
.dquick-item > span { font-size:28px }
.dquick-item b { font-family:Oswald; font-size:20px; color:#fff }
.dquick-item small { font-size:10px; color:#555; letter-spacing:.5px }

/* Orders list */
.orders-list { padding:8px 0 }
.order-row {
  display:grid; grid-template-columns:1fr auto 160px 160px 30px;
  align-items:center; padding:16px 24px; border-bottom:1px solid #1a1d20;
  transition:background .2s; gap:16px;
}
.order-row:hover { background:rgba(255,255,255,.03) }
.order-row:last-child { border-bottom:0 }
.or-num b { display:block; font-size:14px }
.or-num small { color:#555; font-size:11px }
.or-method { font-size:12px; color:#888 }
.or-amount { font-weight:800; font-size:15px }
.or-arrow { color:var(--red); font-size:22px; font-weight:700; text-align:right }

/* Order detail */
.order-detail-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:#1e2124; margin:0 }
.od-info { background:#111416; padding:20px 24px }
.od-info small { display:block; font-size:9px; letter-spacing:1.2px; color:#555; margin-bottom:8px }
.od-info b { font-size:14px }
.od-total { font-family:Oswald; font-size:24px; color:var(--red) }
.bank-reminder { padding:20px 24px; background:#1a1000; border-top:1px solid #3a2800 }
.bank-reminder h4 { color:#f59e0b; margin:0 0 8px; font-size:14px }
.bank-reminder p { color:#c8c8c8; font-size:13px; margin:4px 0 }

/* Profile form */
.profile-form { padding:24px }
.profile-section-title { font-size:10px; letter-spacing:1.5px; color:#555; font-weight:800; margin:20px 0 14px; padding-bottom:8px; border-bottom:1px solid #1e2124 }
.pform-row { display:grid; grid-template-columns:1fr 1fr; gap:16px }
.pform-row--3 { grid-template-columns:1fr 2fr }

/* ════════════════════════════════════════════════════════
   CART PAGE REDESIGN
   ════════════════════════════════════════════════════════ */
.cart-section { background:#060809; min-height:60vh }
.cart-empty { text-align:center; padding:100px 20px }
.cart-empty-icon { font-size:80px; margin-bottom:24px; animation:floatIcon 3s ease-in-out infinite }
@keyframes floatIcon { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.cart-empty h2 { font-family:Oswald;font-style:italic;font-size:42px;margin:0 0 12px }
.cart-empty p { color:#666; margin-bottom:28px }

.cart-layout { display:grid; grid-template-columns:1fr 360px; gap:32px; align-items:start }
.cart-items-head {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr 40px;
  gap:16px; padding:12px 20px; background:#111416; border:1px solid #1e2124;
  font-size:9px; font-weight:800; letter-spacing:1.5px; color:#444;
}
.cart-row {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr 40px;
  gap:16px; align-items:center; padding:20px; background:#111416;
  border:1px solid #1e2124; border-top:0;
  transition:background .2s;
}
.cart-row:hover { background:#131619 }
.cart-row-img-wrap { display:block; width:80px; height:80px; flex:none; overflow:hidden; background:#0d0f10 }
.cart-row-img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform .4s }
.cart-row:hover .cart-row-img-wrap img { transform:scale(1.05) }
.cart-row-product { display:flex; gap:16px; align-items:center }
.cart-row-info h3 { font-size:14px; font-weight:700; margin:0 0 4px; transition:color .2s }
.cart-row-info h3:hover { color:var(--red) }
.cart-row-cat { font-size:9px; color:#555; letter-spacing:1px; font-weight:800 }
.cart-row-price { font-size:15px; font-weight:700 }
.cart-row-total { font-size:16px; font-weight:900; color:var(--red) }
.cart-row-delete { display:flex; justify-content:center }
.cart-row-remove {
  background:none; border:1px solid #2a2d32; color:#555; cursor:pointer;
  width:34px; height:34px; display:grid; place-items:center;
  transition:border-color .2s, color .2s, background .2s;
}
.cart-row-remove:hover { border-color:var(--red); color:var(--red); background:rgba(239,11,11,.08) }

.qty-ctrl { display:inline-flex; align-items:center; background:#0a0c0e; border:1px solid #2a2d32 }
.qty-btn-sm {
  width:34px; height:38px; background:transparent; color:#fff; border:0;
  cursor:pointer; font-size:18px; transition:background .2s, color .2s;
}
.qty-btn-sm:hover { background:rgba(239,11,11,.15); color:var(--red) }
.qty-val { min-width:38px; text-align:center; font-weight:800; font-size:14px }

.cart-coupon { display:flex; align-items:center; justify-content:space-between; padding:16px 0; flex-wrap:wrap; gap:12px }
.coupon-wrap { display:flex; align-items:center; gap:0 }
.coupon-wrap svg { position:absolute; left:14px; color:#555 }
.coupon-input {
  width:260px; background:#0a0c0e; border:1px solid #2a2d32; border-right:0;
  color:#fff; padding:12px 16px; font:inherit; font-size:13px; outline:none;
  transition:border-color .2s;
}
.coupon-input:focus { border-color:var(--red) }
.coupon-btn { height:46px; padding:0 20px; font-size:11px }
.cart-continue { font-size:12px; color:#555; font-weight:700; transition:color .2s }
.cart-continue:hover { color:var(--red) }

/* Summary card */
.cart-summary { position:sticky; top:90px }
.summary-card { background:#111416; border:1px solid #1e2124; padding:28px }
.summary-card h3 { font-family:Oswald; font-style:italic; font-size:20px; letter-spacing:1px; margin:0 0 20px; padding-bottom:16px; border-bottom:1px solid #1e2124 }
.summary-rows { display:grid; gap:12px; margin-bottom:8px }
.summary-row { display:flex; justify-content:space-between; align-items:center; font-size:13px }
.summary-row--shipping { padding:10px 0; border-top:1px dashed #1e2124; border-bottom:1px dashed #1e2124 }
.summary-row--total { padding-top:14px; font-size:17px; font-weight:900; border-top:2px solid #1e2124; margin-top:4px }
.free-tag { color:#22c55e; font-size:11px; font-weight:800; letter-spacing:.5px }
.summary-vat { font-size:10px; color:#444; margin:6px 0 20px; letter-spacing:.3px }
.summary-cta { width:100%; margin-bottom:20px; font-size:13px; height:52px; gap:10px }
.summary-trust-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:16px }
.st-item { display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 8px; background:#0a0c0e; border:1px solid #1a1d20; text-align:center }
.st-item > span { font-size:18px }
.st-item small { font-size:9px; color:#555; letter-spacing:.5px }
.summary-payment-icons { display:flex; gap:8px; flex-wrap:wrap }
.pm-icon-badge { background:#0a0c0e; border:1px solid #1e2124; padding:6px 10px; font-size:10px; color:#666; font-weight:700 }
.suggested-section { margin-top:70px }

/* Order table */
.order-table { width:100%; border-collapse:collapse; font-size:13px }
.order-table th { text-align:left; font-size:9px; letter-spacing:1.2px; color:#555; padding:12px 24px; border-bottom:1px solid #1e2124; background:#0d0f10 }
.order-table td { padding:16px 24px; border-bottom:1px solid #1a1d20; color:#c8c8c8 }
.order-table tr:hover td { background:rgba(255,255,255,.02) }

/* Responsive auth + account */
@media(max-width:1100px) {
  .cart-layout { grid-template-columns:1fr }
  .cart-summary { position:static }
  .account-layout { grid-template-columns:1fr }
  .account-sidebar { position:static }
  .order-detail-grid { grid-template-columns:1fr 1fr }
  .dashboard-quick { grid-template-columns:1fr 1fr }
  .order-row { grid-template-columns:1fr auto 1fr; gap:10px }
  .or-method,.or-arrow { display:none }
}
@media(max-width:780px) {
  .auth-card-pro { padding:28px 20px }
  .auth-form--grid { grid-template-columns:1fr }
  .auth-field--full { grid-column:1 }
  .register-benefits { grid-template-columns:1fr }
  .auth-tabs .auth-tab { padding:12px 20px; font-size:11px }
  .cart-items-head { display:none }
  .cart-row { grid-template-columns:1fr; gap:12px; padding:16px }
  .cart-row-product { flex-wrap:wrap }
  .account-hero-stats { width:100%; justify-content:flex-start }
  .ahstat { padding:10px 16px }
  .account-hero-inner { gap:16px }
  .pform-row { grid-template-columns:1fr }
  .order-detail-grid { grid-template-columns:1fr }
  .dashboard-quick { grid-template-columns:1fr 1fr }
}
@media(max-width:480px) {
  .auth-card-pro { padding:24px 16px }
  .account-hero { padding:30px 0 }
  .auth-trust { flex-direction:column; align-items:center; gap:10px }
}
