/* =========================================================
   LM REPAIR PHONE — LUX TECH (LIGHT/DARK) — NO BLUE
   Copie/colle TOUT le fichier
========================================================= */

*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.35;
}

/* ---------- THEME TOKENS ---------- */
:root{
  --bg:#f6f6f7;
  --panel:#ffffff;
  --text:#111214;
  --muted:#6b6f76;
  --border:rgba(0,0,0,.10);
  --shadow:0 18px 60px rgba(0,0,0,.08);
  --shadow2:0 10px 30px rgba(0,0,0,.06);
  --chip:#f2f2f3;

  --accent:#111214;      /* NOIR (pas de bleu) */
  --danger:#d92d20;

  --radius:20px;
  --radius2:14px;
}

.theme-dark{
  --bg:#0b0c0f;
  --panel:#121318;
  --text:#f4f5f7;
  --muted:#a1a6ae;
  --border:rgba(255,255,255,.10);
  --shadow:0 22px 70px rgba(0,0,0,.55);
  --shadow2:0 12px 34px rgba(0,0,0,.40);
  --chip:rgba(255,255,255,.06);

  --accent:#f4f5f7;
}

body{background:var(--bg);color:var(--text)}
a{color:inherit}
img{max-width:100%;display:block}

/* ---------- LAYOUT ---------- */
.page{
  max-width:1240px;
  margin:0 auto;
  padding:28px 18px 80px;
}

/* ---------- HEADER ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.70);
  backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid var(--border);
}
.theme-dark .site-header{
  background:rgba(18,19,24,.65);
}

.site-header-inner{
  max-width:1240px;
  margin:0 auto;
  padding:16px 18px;
  display:flex;
  align-items:center;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width:240px;
}
.brand-logo{
  width:46px;
  height:46px;
  border-radius:14px;
  object-fit:contain;
  background:var(--panel);
  border:1px solid var(--border);
  padding:6px;
}
.brand-text{display:flex;flex-direction:column;gap:2px}
.brand-name{
  font-weight:800;
  letter-spacing:.2px;
  font-size:18px;
}
.brand-sub{
  font-size:12px;
  color:var(--muted);
  font-weight:600;
}

/* SEARCH */
.search{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  background:var(--panel);
  border-radius:999px;
  box-shadow:var(--shadow2);
}
.search input{
  width:100%;
  border:none;
  outline:none;
  background:transparent;
  color:var(--text);
  font-size:14px;
}
.search input::placeholder{color:var(--muted)}
.search button{
  border:none;
  background:var(--chip);
  color:var(--text);
  border-radius:999px;
  padding:10px 12px;
  font-weight:800;
  cursor:pointer;
}
.search button:hover{opacity:.85}

/* ACTIONS */
.actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.iconbtn, .cart{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--panel);
  box-shadow:var(--shadow2);
  text-decoration:none;
  cursor:pointer;
  color:var(--text);
}
.iconbtn:hover,.cart:hover{transform:translateY(-1px)}
.iconbtn .icon, .cart .icon{font-size:18px}
.iconbtn .text, .cart .text{
  font-size:13px;
  font-weight:800;
  letter-spacing:.2px;
}

.cart{
  position:relative;
}
.badge{
  position:absolute;
  top:-7px;
  right:-7px;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:var(--accent);
  color:var(--bg);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:900;
  border:1px solid var(--border);
}

/* DROPDOWN */
.account{position:relative}
.dropdown{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  width:260px;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
  display:none;
}
.account.open .dropdown{display:block}

.dd-head{
  padding:14px 14px 12px;
  border-bottom:1px solid var(--border);
}
.dd-email{font-weight:900;font-size:13px}
.dd-sub{color:var(--muted);font-size:12px;font-weight:700;margin-top:3px}
.dropdown a{
  display:block;
  padding:13px 14px;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  border-bottom:1px solid var(--border);
}
.dropdown a:hover{background:var(--chip)}
.dropdown a:last-child{border-bottom:none}
.dropdown .danger{color:var(--danger)}

/* ---------- HOME HERO (si tu as une section hero) ---------- */
.hero{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:46px 26px;
  text-align:center;
  margin-top:22px;
}
.hero h1{
  font-size:44px;
  font-weight:900;
  letter-spacing:-.6px;
}
.hero p{
  margin-top:10px;
  color:var(--muted);
  font-size:16px;
  font-weight:600;
}

/* ---------- GRIDS CARDS ---------- */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:18px;
  margin-top:26px;
}
.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow2);
  padding:18px;
  text-decoration:none;
  transition:.2s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}
.card h3{font-size:16px;font-weight:900;margin-bottom:6px}
.card p{color:var(--muted);font-weight:600;font-size:13px}

/* ---------- MOBILE ---------- */
@media (max-width: 980px){
  .site-header-inner{flex-wrap:wrap}
  .brand{min-width:auto}
  .search{order:3;width:100%}
}
@media (max-width: 520px){
  .iconbtn .text, .cart .text{display:none}
  .hero h1{font-size:30px}
}
.footer {
    background: #111;
    color: #fff;
    margin-top: 80px;
    padding-top: 40px;
    font-family: inherit;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px 30px;
    flex-wrap: wrap;
}

.footer-left h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.footer-left p {
    opacity: 0.7;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: #00c8ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 15px;
    font-size: 13px;
    opacity: 0.6;
}
.footer {
    background: #111;
    color: #fff;
    padding-top: 60px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 0 20px 40px;
}

.footer-column h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #00c8ff;
}

.footer-column p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    opacity: 0.75;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: #00c8ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 20px;
    font-size: 13px;
    opacity: 0.6;
}
.footer {
    padding-top: 60px;
    margin-top: 80px;
    transition: 0.3s;
}

/* THEME CLAIR */
body:not(.dark-mode) .footer {
    background: #f5f5f5;
    color: #111;
}

body:not(.dark-mode) .footer a {
    color: #111;
}

/* THEME SOMBRE */
body.dark-mode .footer {
    background: #111;
    color: #fff;
}

body.dark-mode .footer a {
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 0 20px 40px;
}

.footer-column h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #00c8ff;
}

.footer-column p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    font-size: 14px;
    opacity: 0.75;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: #00c8ff;
}

.payment-logos {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 28px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: 0.3s;
}

.payment-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    font-size: 13px;
    opacity: 0.6;
}

body.dark-mode .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
}
/* MODE SOMBRE GLOBAL */
body.dark-mode {
    background: #121212;
    color: #fff;
}

body.dark-mode .card,
body.dark-mode .product-card,
body.dark-mode header,
body.dark-mode .footer {
    background: #1e1e1e;
}

body.dark-mode a {
    color: #00c8ff;
}
.footer {
    padding-top: 60px;
    margin-top: 80px;
    transition: 0.3s;
}

/* Clair */
body:not(.dark-mode) .footer {
    background: #f5f5f5;
    color: #111;
}

body:not(.dark-mode) .footer a {
    color: #111;
}

/* Sombre */
body.dark-mode .footer {
    background: #111;
    color: #fff;
}

body.dark-mode .footer a {
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 0 20px 40px;
}

.footer-column h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #00c8ff;
}

.footer-column p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    font-size: 14px;
    opacity: 0.75;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: #00c8ff;
}

.payment-logos {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 28px;
    opacity: 0.85;
    transition: 0.3s;
}

.payment-logos img:hover {
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    font-size: 13px;
    opacity: 0.6;
}

body.dark-mode .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
}


/* Dark Mode Global */
body.dark-mode {
    background: #121212;
    color: #fff;
}

body.dark-mode header,
body.dark-mode .card,
body.dark-mode .product-card {
    background: #1e1e1e;
}
/* ========================= */
/* VARIABLES GLOBAL */
/* ========================= */

:root{
--bg:#f5f5f7;
--card:#ffffff;
--text:#1d1d1f;
--muted:#6e6e73;
--border:#e5e5e7;
}

.dark-mode{
--bg:#0f0f10;
--card:#1c1c1e;
--text:#f5f5f7;
--muted:#a1a1a6;
--border:#2c2c2e;
}

body{
background:var(--bg);
color:var(--text);
}


/* ========================= */
/* HERO */
/* ========================= */

.hero-premium{
background:var(--card);
border:1px solid var(--border);
border-radius:28px;
padding:110px 20px;
text-align:center;
margin-top:30px;
}

.hero-premium h1{
font-size:48px;
font-weight:900;
margin-bottom:18px;
color:var(--text);
}

.hero-premium p{
font-size:18px;
color:var(--muted);
}


/* ========================= */
/* BRANDS */
/* ========================= */

.brands-section{
max-width:1300px;
margin:110px auto;
padding:0 20px;
}

.brands-section h2{
font-size:32px;
font-weight:900;
text-align:center;
margin-bottom:60px;
color:var(--text);
}

.brands-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:30px;
}

.brand-card{
background:var(--card);
border:1px solid var(--border);
border-radius:28px;
padding:55px 30px;
text-align:center;
text-decoration:none;
transition:.25s;
}

.brand-card:hover{
transform:translateY(-6px);
}

.brand-card h3{
font-size:22px;
font-weight:900;
margin-bottom:10px;
color:var(--text);
}

.brand-card span{
font-size:14px;
color:var(--muted);
}


/* ========================= */
/* TRUST */
/* ========================= */

.trust-section{
padding:100px 20px;
}

.trust-grid{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.trust-card{
background:var(--card);
border:1px solid var(--border);
border-radius:24px;
padding:40px;
text-align:center;
}

.trust-card h4{
font-size:18px;
font-weight:900;
margin-bottom:10px;
color:var(--text);
}

.trust-card p{
font-size:14px;
color:var(--muted);
}


/* ========================= */
/* FOOTER */
/* ========================= */

.footer{
background:var(--card);
border-top:1px solid var(--border);
margin-top:100px;
}

.footer-container{
max-width:1300px;
margin:auto;
padding:60px 20px;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
}

.footer-column h3{
font-size:20px;
margin-bottom:15px;
color:var(--text);
}

.footer-column h4{
font-size:16px;
margin-bottom:15px;
color:var(--text);
}

.footer-column p{
color:var(--muted);
font-size:14px;
line-height:1.6;
}

.footer-column ul{
list-style:none;
padding:0;
margin:0;
display:flex;
flex-direction:column;
gap:8px;
}

.footer-column ul li a{
text-decoration:none;
color:var(--muted);
font-size:14px;
transition:0.2s;
}

.footer-column ul li a:hover{
color:var(--text);
}

.payment-logos{
margin-top:15px;
display:flex;
gap:12px;
}

.payment-logos img{
height:24px;
opacity:0.8;
}


/* bottom */

.footer-bottom{
border-top:1px solid var(--border);
padding:20px;
text-align:center;
font-size:13px;
color:var(--muted);
}
/* COOKIE BANNER */

.cookie-banner{
position:fixed;
bottom:20px;
left:50%;
transform:translateX(-50%);
max-width:600px;
width:90%;
background:var(--card);
border:1px solid var(--border);
border-radius:20px;
padding:20px;
box-shadow:0 20px 50px rgba(0,0,0,0.15);
display:flex;
flex-direction:column;
gap:15px;
z-index:9999;
}

.cookie-banner p{
font-size:14px;
color:var(--muted);
line-height:1.5;
}

.cookie-buttons{
display:flex;
gap:10px;
}

.cookie-buttons button{
padding:10px 18px;
border-radius:10px;
border:none;
cursor:pointer;
font-weight:600;
}

.cookie-accept{
background:#000;
color:#fff;
}

.cookie-refuse{
background:transparent;
border:1px solid var(--border);
color:var(--text);
}