:root{
  --bg:#070b10;
  --bg2:#0d131d;
  --panel:#131b27;
  --panel2:#192333;
  --panel3:#202d40;
  --text:#f7f2e8;
  --muted:#aeb8c7;
  --soft:#d9e2ef;
  --accent:#ffb21a;
  --accent2:#ff8c00;
  --green:#42e89d;
  --blue:#5bbcff;
  --purple:#a77bff;
  --red:#ff5c5c;
  --line:rgba(255,255,255,.10);
  --line2:rgba(255,255,255,.16);
  --shadow:0 24px 80px rgba(0,0,0,.36);
  --radius:26px;
  --max:1280px;
}

*{box-sizing:border-box}
html{
  margin:0;
  max-width:100%;
  overflow-x:hidden;
  scroll-behavior:smooth;
}
body{
  margin:0;
  max-width:100%;
  min-height:100vh;
  overflow-x:hidden;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:
    radial-gradient(circle at 18% 0%,rgba(255,178,26,.16),transparent 30%),
    radial-gradient(circle at 90% 12%,rgba(91,188,255,.12),transparent 28%),
    linear-gradient(160deg,var(--bg),#05070b 72%);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
img,svg,video,canvas{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
::selection{background:rgba(255,178,26,.35);color:#fff}

/* HEADER */
.shop-header{
  position:sticky;
  top:0;
  z-index:100;
  min-height:76px;
  padding:0 clamp(18px,5vw,70px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:rgba(7,11,16,.86);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
.brand{
  font-weight:950;
  letter-spacing:.5px;
  font-size:1.2rem;
  white-space:nowrap;
}
.brand span{color:var(--accent)}
.back-lab{
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  transition:.22s ease;
  white-space:nowrap;
}
.back-lab:hover{
  color:var(--accent);
  border-color:rgba(255,178,26,.45);
  transform:translateX(-3px);
}
.shop-header nav{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.shop-header nav a{
  color:var(--muted);
  font-weight:850;
  font-size:.95rem;
}
.shop-header nav a:hover{color:var(--text)}
.cart-link strong,#cartCount{
  display:inline-grid;
  place-items:center;
  min-width:22px;
  height:22px;
  border-radius:99px;
  background:var(--accent);
  color:#111;
  margin-left:4px;
}

/* BUTTONS */
.btn,.add-cart{
  border:0;
  cursor:pointer;
  border-radius:999px;
  padding:14px 20px;
  font-weight:950;
  transition:.22s ease;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  min-height:48px;
}
.primary{
  background:linear-gradient(135deg,var(--accent),#ffd36c);
  color:#111;
  box-shadow:0 15px 38px rgba(255,178,26,.24);
}
.secondary{
  background:transparent;
  color:var(--text);
  border:1px solid rgba(255,178,26,.38);
}
.ghost{
  background:rgba(255,255,255,.07);
  border:1px solid var(--line);
  color:var(--text);
}
.btn:hover,.add-cart:hover{
  transform:translateY(-3px);
}
.disabled{
  opacity:.65;
  pointer-events:none;
}

/* HERO */
.hero-shop{
  width:100%;
  max-width:1500px;
  min-height:calc(100vh - 76px);
  margin:0 auto;
  padding:clamp(48px,7vw,110px) clamp(18px,5vw,70px);
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(380px,.98fr);
  gap:clamp(28px,4vw,60px);
  align-items:center;
  position:relative;
  overflow:hidden;
}
.hero-shop::before{
  content:"";
  position:absolute;
  left:clamp(18px,5vw,70px);
  right:clamp(18px,5vw,70px);
  top:12%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,178,26,.42),transparent);
  opacity:.7;
}
.eyebrow{
  color:var(--accent);
  text-transform:uppercase;
  font-size:.78rem;
  font-weight:950;
  letter-spacing:2px;
}
.hero-shop h1{
  font-size:clamp(2.8rem,6vw,6.35rem);
  line-height:.92;
  margin:18px 0;
  letter-spacing:-.06em;
}
.hero-shop p{
  max-width:720px;
  color:var(--muted);
  font-size:1.15rem;
  line-height:1.7;
}
.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:24px 0 0;
}
.trust-row span{
  padding:10px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:var(--soft);
  font-weight:850;
  font-size:.9rem;
}
.hero-actions{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  margin-top:28px;
}

/* HERO VISUEL PC */
.hero-panel{
  padding:0;
  border-radius:34px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  min-height:520px;
  position:relative;
  overflow:hidden;
}
.premium-pc-stage{
  position:relative;
  isolation:isolate;
  min-height:560px;
  border-radius:34px;
  overflow:hidden;
  background:
    radial-gradient(circle at 74% 74%,rgba(255,178,26,.20),transparent 35%),
    radial-gradient(circle at 22% 74%,rgba(91,188,255,.16),transparent 36%),
    linear-gradient(110deg,rgba(5,8,12,.10),rgba(5,8,12,.03) 42%,rgba(5,8,12,.55)),
    url("../img/hero-pc-bg.webp") left center / cover no-repeat;
  box-shadow:
    inset 0 0 120px rgba(0,0,0,.62),
    0 30px 90px rgba(0,0,0,.46);
  transform-style:preserve-3d;
}
.premium-pc-stage::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(5,8,12,.04),rgba(5,8,12,.00) 40%,rgba(5,8,12,.42)),
    radial-gradient(circle at 58% 55%,rgba(255,255,255,.04),transparent 32%);
}
.premium-pc-stage::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:33px;
  border:1px solid rgba(255,255,255,.12);
  z-index:2;
  pointer-events:none;
}
.pc-glow{
  position:absolute;
  inset:auto -12% -18% -12%;
  height:48%;
  z-index:2;
  background:
    radial-gradient(circle at 28% 82%,rgba(91,188,255,.22),transparent 48%),
    radial-gradient(circle at 72% 82%,rgba(255,178,26,.24),transparent 52%);
  filter:blur(14px);
  animation:stageGlow 4s ease-in-out infinite;
}
.pc-tower,.fan,.rgb-line,.gpu-line{
  display:none!important;
}
.terminal-bar{
  position:absolute;
  top:18px;
  left:24px;
  display:flex;
  gap:10px;
  z-index:50;
  background:transparent!important;
  backdrop-filter:none!important;
}
.terminal-bar span{
  width:14px;
  height:14px;
  border-radius:50%;
  box-shadow:0 0 14px rgba(255,255,255,.15);
}
.terminal-bar span:nth-child(1){background:#ffb21a}
.terminal-bar span:nth-child(2){background:#42e89d}
.terminal-bar span:nth-child(3){background:#5bbcff}

.floating-spec{
  position:absolute!important;
  z-index:45;
  width:auto!important;
  min-width:190px;
  max-width:260px;
  padding:15px 18px;
  border-radius:18px;
  background:rgba(6,9,14,.82);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(16px);
  box-shadow:0 18px 55px rgba(0,0,0,.38);
  display:grid;
  gap:4px;
  animation:floatSpec 5s ease-in-out infinite;
}
.floating-spec::before{
  content:"";
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:4px;
  height:48px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--accent),var(--blue),var(--purple));
  box-shadow:0 0 18px rgba(91,188,255,.28);
}
.floating-spec b,
.floating-spec span{
  display:block;
  padding-left:18px;
}
.floating-spec b{
  color:var(--text);
  font-size:1.05rem;
  line-height:1.1;
}
.floating-spec span{
  color:var(--muted);
  font-size:.9rem;
}
.spec-a{top:72px!important;right:36px!important;left:auto!important;bottom:auto!important}
.spec-b{left:35px!important;bottom:118px!important;right:auto!important;top:auto!important;animation-delay:.8s}
.spec-c{right:35px!important;bottom:36px!important;left:auto!important;top:auto!important;animation-delay:1.4s}
.hero-tilt{transition:transform .18s ease}

/* SECTIONS */
.section{
  padding:clamp(56px,6vw,90px) clamp(18px,5vw,70px);
  max-width:1500px;
  margin:0 auto;
}
.section-title h2{
  font-size:clamp(2rem,4vw,4rem);
  line-height:1;
  margin:0 0 35px;
  letter-spacing:-.04em;
}
.section-title.compact h2{max-width:920px}

.service-grid-pc,.method-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.service-grid-pc article,.method-grid div{
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  box-shadow:0 16px 45px rgba(0,0,0,.18);
}
.service-grid-pc span{font-size:2rem}
.service-grid-pc h3{font-size:1.25rem;margin:14px 0 8px}
.service-grid-pc p,.method-grid p{
  color:var(--muted);
  line-height:1.58;
}
.method-grid span{color:var(--accent);font-weight:950}
.method-grid b{display:block;font-size:1.2rem;margin:10px 0}

/* PRODUCTS */
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.product-card{
  background:linear-gradient(145deg,var(--panel),#101722);
  border:1px solid var(--line);
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 15px 40px rgba(0,0,0,.18);
  transition:.22s ease;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.product-card:hover{
  transform:translateY(-7px);
  box-shadow:var(--shadow);
  border-color:rgba(255,178,26,.35);
}
.product-card-custom{border-color:rgba(255,178,26,.5)}
.product-img{
  height:238px;
  background:
    radial-gradient(circle at 50% 50%,rgba(255,178,26,.18),transparent 54%),
    linear-gradient(145deg,var(--panel2),#0d1015);
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
}
.product-img::before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,178,26,.25),transparent 65%);
  filter:blur(4px);
  animation:pulse 3s ease-in-out infinite;
}
.product-img img{
  width:78%;
  height:78%;
  object-fit:contain;
  filter:drop-shadow(0 22px 35px rgba(0,0,0,.4));
  position:relative;
  z-index:1;
}
.product-body{
  padding:24px;
  display:flex;
  flex-direction:column;
  flex:1;
  min-height:0;
}
.badge{
  display:inline-block;
  width:max-content;
  max-width:100%;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,178,26,.14);
  color:var(--accent);
  font-weight:950;
  font-size:.78rem;
}
.product-body h3{
  font-size:1.35rem;
  margin:18px 0 8px;
}
.product-body p,.muted{
  color:var(--muted);
  line-height:1.6;
}
.mini-specs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 18px;
}
.mini-specs small{
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 9px;
  color:var(--soft);
  background:rgba(255,255,255,.045);
}
.product-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:auto 0 18px;
  gap:12px;
}
.product-bottom strong,.big-price{
  font-size:1.35rem;
  color:var(--accent);
}
.product-bottom a{
  font-weight:950;
  color:var(--blue);
}
.add-cart{
  width:100%;
  background:var(--text);
  color:#111;
}
.quote-link{
  background:linear-gradient(135deg,var(--accent),var(--blue));
  color:#101318;
}

/* PRODUCT DETAIL */
.product-page{
  min-height:calc(100vh - 76px);
  padding:clamp(50px,6vw,90px) clamp(18px,5vw,70px);
  display:grid;
  grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);
  gap:50px;
  align-items:center;
  max-width:1400px;
  margin:0 auto;
}
.product-large-img{
  min-height:470px;
  border-radius:34px;
  background:
    radial-gradient(circle,rgba(255,178,26,.14),transparent 60%),
    linear-gradient(145deg,var(--panel2),#0d1015);
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.product-large-img img{
  width:76%;
  height:76%;
  object-fit:contain;
}
.product-detail h1{
  font-size:clamp(2.2rem,5vw,5rem);
  line-height:.98;
  letter-spacing:-.04em;
}
.product-detail p{color:var(--muted);line-height:1.7}
.product-detail li{margin:10px 0;color:var(--muted)}
.big{max-width:320px}
.detail-actions{align-items:center}

/* CART ADMIN CONFIG */
.cart-page,.admin-page,.config-page{
  padding:clamp(45px,6vw,80px) clamp(18px,5vw,70px);
  max-width:1400px;
  margin:0 auto;
}
.cart-page h1,.admin-page h1,.config-intro h1{
  font-size:clamp(2.2rem,5vw,5rem);
  line-height:.95;
  margin:16px 0;
  letter-spacing:-.04em;
}
.cart-items{
  display:grid;
  gap:14px;
  margin:30px 0;
}
.cart-row,.admin-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:16px;
  align-items:center;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  min-width:0;
}
.cart-row > *, .admin-row > *{min-width:0}
.cart-row button{
  background:var(--red);
  color:white;
  border:0;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}
.cart-summary{
  max-width:460px;
  margin-left:auto;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  display:grid;
  gap:18px;
}
.cart-summary strong{
  font-size:2rem;
  color:var(--accent);
}
.admin-table{display:grid;gap:12px}
.admin-row{
  grid-template-columns:70px minmax(0,1.2fr) minmax(0,1fr) auto auto;
}
.admin-row img{
  width:56px;
  height:56px;
  object-fit:contain;
  background:#0e1117;
  border-radius:12px;
  padding:8px;
}
.admin-row em{
  font-style:normal;
  color:var(--green);
}

/* CONFIGURATOR */
.config-intro p{
  color:var(--muted);
  max-width:820px;
  line-height:1.7;
}
.config-layout{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);
  gap:26px;
  margin-top:38px;
}
.config-form,.config-summary{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:28px;
  padding:26px;
  box-shadow:0 20px 55px rgba(0,0,0,.2);
}
.config-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.config-form label{
  display:grid;
  gap:8px;
  color:var(--muted);
  font-weight:850;
}
.config-form input,.config-form select,.config-form textarea{
  width:100%;
  background:#0d1117;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:14px;
  padding:13px;
}
.config-form textarea,.config-form button,.check-grid{
  grid-column:1/-1;
}
.check-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.check-grid label{
  display:flex;
  align-items:center;
  gap:10px;
  background:#0d1117;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
}
.config-summary{
  position:sticky;
  top:100px;
  align-self:start;
}
.config-summary pre{
  white-space:pre-wrap;
  word-break:break-word;
  min-height:330px;
  background:#0d1117;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  color:#dfe7f2;
  line-height:1.55;
}

/* FOOTER */
.shop-footer{
  padding:35px clamp(18px,5vw,70px);
  color:var(--muted);
  border-top:1px solid var(--line);
}

/* ANIMATIONS */
.flash{animation:flash .35s ease}
.cart-pulse #cartCount{animation:pulse .25s ease}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes flash{50%{box-shadow:0 0 0 4px rgba(255,178,26,.18)}}
@keyframes floatSpec{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes stageGlow{0%,100%{opacity:.65}50%{opacity:1}}

/* ACCESSIBILITÉ */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }
}

/* RESPONSIVE */
@media(max-width:1120px){
  .hero-shop{
    grid-template-columns:1fr;
    min-height:auto;
  }
  .hero-panel,.premium-pc-stage{
    min-height:500px;
  }
  .service-grid-pc,.method-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .config-layout{
    grid-template-columns:1fr;
  }
  .config-summary{
    position:static;
  }
}

@media(max-width:960px){
  .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .product-page{
    grid-template-columns:1fr;
  }
  .premium-pc-stage{
    background-position:24% center;
  }
  .floating-spec{
    min-width:170px;
    max-width:230px;
  }
  .spec-a{top:72px!important;right:24px!important}
  .spec-b{left:24px!important;bottom:104px!important}
  .spec-c{right:24px!important;bottom:28px!important}
}

@media(max-width:760px){
  .shop-header{
    position:relative;
    align-items:flex-start;
    flex-direction:column;
    padding:16px 5vw;
    gap:12px;
  }
  .shop-header nav{
    width:100%;
    justify-content:flex-start;
    gap:10px;
  }
  .shop-header nav a{
    padding:8px 10px;
    border:1px solid var(--line);
    border-radius:999px;
    font-size:.88rem;
  }
  .hero-shop{
    padding-top:42px;
    gap:28px;
  }
  .hero-shop h1{
    font-size:clamp(2.35rem,13vw,4rem);
    letter-spacing:-.05em;
  }
  .hero-shop p{
    font-size:1.02rem;
  }
  .hero-actions .btn{
    width:100%;
  }
  .hero-panel,.premium-pc-stage{
    min-height:430px;
    border-radius:26px;
  }
  .premium-pc-stage{
    background-size:auto 100%;
    background-position:28% center;
  }
  .terminal-bar{
    top:14px;
    left:16px;
    gap:8px;
  }
  .terminal-bar span{
    width:12px;
    height:12px;
  }
  .floating-spec{
    min-width:138px;
    max-width:178px;
    padding:11px 12px;
    border-radius:15px;
    animation:none;
  }
  .floating-spec::before{
    left:9px;
    width:4px;
    height:42%;
  }
  .floating-spec b,
  .floating-spec span{
    padding-left:11px;
  }
  .floating-spec b{font-size:.86rem}
  .floating-spec span{font-size:.72rem}
  .spec-a{top:52px!important;right:12px!important}
  .spec-b{left:12px!important;bottom:92px!important}
  .spec-c{right:12px!important;bottom:18px!important}
  .product-grid{
    grid-template-columns:1fr;
  }
  .product-img{
    height:220px;
  }
  .product-bottom{
    align-items:flex-start;
    flex-direction:column;
  }
  .cart-row,.admin-row{
    grid-template-columns:1fr;
  }
  .admin-row img{
    width:76px;
    height:76px;
  }
  .cart-summary{
    max-width:none;
    margin-left:0;
  }
  .product-large-img{
    min-height:320px;
  }
  .service-grid-pc,.method-grid,.check-grid,.config-form{
    grid-template-columns:1fr;
  }
  .config-form,.config-summary{
    padding:18px;
    border-radius:22px;
  }
  .config-summary pre{
    min-height:240px;
  }
}

@media(max-width:420px){
  .back-lab,.brand{
    max-width:100%;
  }
  .premium-pc-stage{
    min-height:390px;
    background-position:32% center;
  }
  .floating-spec{
    min-width:126px;
    max-width:155px;
  }
  .spec-a{top:50px!important;right:9px!important}
  .spec-b{left:9px!important;bottom:88px!important}
  .spec-c{right:9px!important;bottom:14px!important}
}

/* =========================================================
   ADMIN SHOPLAB - édition produits / images / hero
   ========================================================= */
.shop-admin-page{
  max-width:1500px;
  margin:0 auto;
}
.admin-hero-line{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:28px;
}
.compact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:flex-end;
}
.admin-notice{
  margin:18px 0;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid var(--line);
  font-weight:850;
}
.admin-notice.ok{
  color:var(--green);
  background:rgba(66,232,157,.08);
  border-color:rgba(66,232,157,.24);
}
.admin-notice.error{
  color:#ffb4b4;
  background:rgba(255,92,92,.10);
  border-color:rgba(255,92,92,.28);
}
.admin-product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.admin-product-card{
  display:grid;
  grid-template-columns:155px minmax(0,1fr);
  gap:18px;
  padding:18px;
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
  border:1px solid var(--line);
  box-shadow:0 18px 48px rgba(0,0,0,.22);
}
.admin-product-card.is-disabled{
  opacity:.55;
}
.admin-product-img{
  height:145px;
  border-radius:18px;
  background:#0d1117;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.admin-product-img img{
  width:88%;
  height:88%;
  object-fit:contain;
}
.admin-product-info{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.admin-product-info h2{
  margin:12px 0 6px;
  font-size:1.25rem;
}
.admin-product-info p{
  color:var(--muted);
  line-height:1.45;
  margin:0 0 12px;
}
.admin-product-meta{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  color:var(--muted);
  padding:10px 0 14px;
}
.admin-product-meta strong{
  color:var(--accent);
  font-size:1.1rem;
}
.admin-product-meta small{
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 10px;
}
.admin-edit-form{
  display:grid;
  gap:20px;
}
.admin-edit-panel{
  padding:24px;
  border-radius:26px;
  background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
  border:1px solid var(--line);
  box-shadow:0 18px 48px rgba(0,0,0,.18);
}
.admin-edit-panel h2{
  margin:0 0 18px;
}
.admin-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.admin-edit-form label,
.admin-edit-panel label{
  display:grid;
  gap:8px;
  color:var(--muted);
  font-weight:850;
}
.admin-edit-form input,
.admin-edit-form textarea,
.admin-edit-form select,
.admin-edit-panel input,
.admin-edit-panel textarea,
.admin-edit-panel select{
  width:100%;
  background:#0d1117;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:14px;
  padding:13px 14px;
  font:inherit;
}
.admin-edit-form textarea{
  resize:vertical;
}
.admin-checks{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
  padding-top:26px;
}
.admin-checks label{
  display:flex;
  align-items:center;
  gap:9px;
  background:#0d1117;
  border:1px solid var(--line);
  border-radius:999px;
  padding:11px 14px;
}
.admin-checks input{
  width:auto;
}
.admin-image-edit{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:22px;
  align-items:center;
}
.admin-image-edit img{
  width:220px;
  height:170px;
  object-fit:contain;
  background:#0d1117;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
}
.admin-sticky-actions{
  position:sticky;
  bottom:16px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding:14px;
  border-radius:22px;
  background:rgba(11,15,21,.86);
  backdrop-filter:blur(18px);
  border:1px solid var(--line);
  box-shadow:0 18px 48px rgba(0,0,0,.35);
  z-index:20;
}
.hero-admin-preview{
  min-height:360px;
  border-radius:26px;
  border:1px solid var(--line);
  background-position:center;
  background-size:cover;
  box-shadow:inset 0 0 100px rgba(0,0,0,.5),0 18px 48px rgba(0,0,0,.2);
}
.small{font-size:.88rem}
code{
  color:var(--accent);
  word-break:break-all;
}
@media(max-width:980px){
  .admin-hero-line{flex-direction:column}
  .compact-actions{justify-content:flex-start}
  .admin-product-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .admin-product-card{grid-template-columns:1fr}
  .admin-product-img{height:180px}
  .admin-form-grid{grid-template-columns:1fr}
  .admin-image-edit{grid-template-columns:1fr}
  .admin-image-edit img{width:100%;height:220px}
  .admin-sticky-actions{position:static}
  .hero-admin-preview{min-height:230px}
}
.old-price{
  display:inline-block;
  margin-right:8px;
  color:var(--muted);
  text-decoration:line-through;
  font-size:.86em;
  opacity:.72;
}

/* =========================================================
   PATCH COMPACT SHOPLAB - interface moins grosse
   ========================================================= */
:root{
  --max:1180px;
  --radius:20px;
}

.shop-header{
  min-height:64px;
  padding:0 clamp(14px,4vw,46px);
}
.brand{font-size:1.05rem}
.back-lab{padding:8px 12px;font-size:.88rem}
.shop-header nav{gap:10px}
.shop-header nav a{font-size:.86rem}

.btn,.add-cart{
  min-height:42px;
  padding:11px 16px;
  font-size:.9rem;
}

.hero-shop{
  max-width:1240px;
  min-height:auto;
  padding:clamp(38px,5vw,78px) clamp(14px,4vw,46px);
  grid-template-columns:minmax(0,1.05fr) minmax(340px,.85fr);
  gap:clamp(22px,3vw,44px);
}
.hero-shop h1{
  font-size:clamp(2.25rem,4.8vw,5rem);
  line-height:.95;
  margin:14px 0;
}
.hero-shop p{
  font-size:1rem;
  line-height:1.6;
}
.eyebrow{font-size:.72rem;letter-spacing:1.6px}
.trust-row{gap:8px;margin-top:18px}
.trust-row span{padding:8px 11px;font-size:.8rem}
.hero-actions{gap:10px;margin-top:22px}

.hero-panel{min-height:430px;border-radius:26px}
.premium-pc-stage{min-height:450px;border-radius:26px}
.premium-pc-stage::after{border-radius:25px}
.terminal-bar{top:14px;left:18px;gap:8px}
.terminal-bar span{width:11px;height:11px}
.floating-spec{
  min-width:150px !important;
  max-width:205px !important;
  padding:12px 14px !important;
  border-radius:14px !important;
}
.floating-spec::before{left:10px;width:3px;height:38px}
.floating-spec b,.floating-spec span{padding-left:12px}
.floating-spec b{font-size:.9rem!important}
.floating-spec span{font-size:.76rem!important}
.spec-a{top:52px!important;right:22px!important}
.spec-b{left:22px!important;bottom:86px!important}
.spec-c{right:22px!important;bottom:24px!important}

.section{
  max-width:1240px;
  padding:clamp(44px,5vw,68px) clamp(14px,4vw,46px);
}
.section-title h2{
  font-size:clamp(1.7rem,3vw,3rem);
  margin-bottom:24px;
}
.service-grid-pc,.method-grid{gap:14px}
.service-grid-pc article,.method-grid div{
  padding:18px;
  border-radius:18px;
}
.service-grid-pc span{font-size:1.55rem}
.service-grid-pc h3{font-size:1.08rem;margin:10px 0 6px}
.service-grid-pc p,.method-grid p{font-size:.9rem;line-height:1.48}
.method-grid b{font-size:1.02rem}

.product-grid{gap:18px;max-width:1240px;margin:0 auto}
.product-card{border-radius:20px}
.product-img{height:185px}
.product-img::before{width:140px;height:140px}
.product-img img{width:72%;height:72%}
.product-body{padding:18px}
.badge{padding:6px 9px;font-size:.68rem}
.product-body h3{font-size:1.12rem;margin:13px 0 6px}
.product-body p,.muted{font-size:.92rem;line-height:1.5}
.mini-specs{gap:6px;margin:8px 0 14px}
.mini-specs small{padding:5px 7px;font-size:.76rem}
.product-bottom{margin:auto 0 12px}
.product-bottom strong,.big-price{font-size:1.12rem}

.product-page{
  max-width:1180px;
  min-height:auto;
  padding:clamp(42px,5vw,70px) clamp(14px,4vw,46px);
  gap:34px;
}
.product-large-img{min-height:360px;border-radius:24px}
.product-detail h1{font-size:clamp(2rem,4vw,3.8rem)}

.cart-page,.admin-page,.config-page{
  max-width:1180px;
  padding:clamp(38px,5vw,64px) clamp(14px,4vw,46px);
}
.cart-page h1,.admin-page h1,.config-intro h1{
  font-size:clamp(2rem,4vw,3.6rem);
}
.cart-row,.admin-row{padding:13px;border-radius:14px;gap:12px}
.cart-summary{padding:18px;border-radius:18px}
.cart-summary strong{font-size:1.55rem}

.config-layout{gap:18px;margin-top:28px}
.config-form,.config-summary{
  padding:20px;
  border-radius:20px;
}
.config-form{gap:14px}
.config-form input,.config-form select,.config-form textarea,
.config-summary pre{padding:11px;border-radius:12px;font-size:.92rem}
.config-summary pre{min-height:250px}

.shop-admin-page{max-width:1180px}
.admin-hero-line{gap:16px;margin-bottom:20px}
.compact-actions{gap:8px}
.admin-product-grid{gap:14px}
.admin-product-card{
  grid-template-columns:118px minmax(0,1fr);
  gap:14px;
  padding:14px;
  border-radius:18px;
}
.admin-product-img{height:108px;border-radius:14px}
.admin-product-img img{width:82%;height:82%}
.admin-product-info h2{font-size:1.02rem;margin:8px 0 4px}
.admin-product-info p{font-size:.84rem;line-height:1.35;margin-bottom:8px}
.admin-product-meta{padding:6px 0 10px}
.admin-product-meta strong{font-size:.98rem}
.admin-product-meta small{font-size:.75rem;padding:4px 8px}
.admin-edit-form{gap:14px}
.admin-edit-panel{
  padding:18px;
  border-radius:20px;
}
.admin-edit-panel h2{font-size:1.18rem;margin-bottom:12px}
.admin-form-grid{gap:12px}
.admin-edit-form label,.admin-edit-panel label{font-size:.88rem;gap:6px}
.admin-edit-form input,.admin-edit-form textarea,.admin-edit-form select,
.admin-edit-panel input,.admin-edit-panel textarea,.admin-edit-panel select{
  padding:10px 12px;
  border-radius:11px;
  font-size:.92rem;
}
.admin-checks{padding-top:18px;gap:9px}
.admin-checks label{padding:8px 11px;font-size:.85rem}
.admin-image-edit{grid-template-columns:160px minmax(0,1fr);gap:16px}
.admin-image-edit img{width:160px;height:120px;border-radius:14px;padding:10px}
.admin-sticky-actions{
  bottom:10px;
  gap:8px;
  padding:10px;
  border-radius:16px;
}
.hero-admin-preview{min-height:260px;border-radius:20px}
.admin-notice{padding:12px 14px;border-radius:14px;font-size:.9rem}

@media(max-width:1120px){
  .hero-shop{grid-template-columns:1fr}
  .hero-panel,.premium-pc-stage{min-height:420px}
}
@media(max-width:960px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-page{grid-template-columns:1fr}
  .admin-product-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .shop-header{padding:12px 4vw;gap:10px}
  .shop-header nav a{font-size:.78rem;padding:6px 8px}
  .hero-shop{padding-top:30px;gap:20px}
  .hero-shop h1{font-size:clamp(2rem,10vw,3.2rem)}
  .hero-shop p{font-size:.94rem}
  .hero-panel,.premium-pc-stage{min-height:360px;border-radius:22px}
  .premium-pc-stage{background-position:30% center;background-size:auto 100%}
  .floating-spec{min-width:116px!important;max-width:148px!important;padding:9px 10px!important}
  .floating-spec b{font-size:.75rem!important}.floating-spec span{font-size:.64rem!important}
  .floating-spec::before{height:30px;left:8px}.floating-spec b,.floating-spec span{padding-left:10px}
  .spec-a{top:42px!important;right:8px!important}.spec-b{left:8px!important;bottom:74px!important}.spec-c{right:8px!important;bottom:12px!important}
  .product-grid{grid-template-columns:1fr;gap:14px}
  .product-img{height:168px}
  .product-body{padding:16px}
  .service-grid-pc,.method-grid,.check-grid,.config-form{grid-template-columns:1fr}
  .admin-product-card{grid-template-columns:86px minmax(0,1fr);padding:12px}
  .admin-product-img{height:86px}
  .admin-image-edit{grid-template-columns:1fr}.admin-image-edit img{width:100%;height:150px}
  .admin-sticky-actions{position:static}
  .hero-admin-preview{min-height:190px}
}
@media(max-width:460px){
  .admin-product-card{grid-template-columns:1fr}.admin-product-img{height:130px}
  .product-bottom{align-items:flex-start;flex-direction:column}
}

/* =========================================================
   SHOPLAB V5 PREMIUM - audit responsive + cadrage + stabilité
   Patch final ajouté en fin de fichier pour neutraliser les anciennes règles.
   ========================================================= */

html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden !important;
}

body{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

/* Structure générale plus stable */
.shop-header,
.hero-shop,
.section,
.product-page,
.cart-page,
.admin-page,
.config-page,
.shop-footer{
  width:100%;
  max-width:1240px;
}

.shop-header{
  max-width:none;
}

/* Header compact mais lisible */
.shop-header{
  min-height:66px !important;
}

.shop-header nav a{
  white-space:nowrap;
}

/* Hero PC : suppression des effets parasites, image stable */
.hero-shop{
  overflow:hidden !important;
}

.hero-panel,
.premium-pc-stage{
  min-height:430px !important;
  max-height:none;
}

.premium-pc-stage{
  background-position:left center !important;
  background-size:cover !important;
}

.premium-pc-stage .pc-tower,
.premium-pc-stage .fan,
.premium-pc-stage .rgb-line,
.premium-pc-stage .gpu-line{
  display:none !important;
}

.terminal-bar{
  top:18px !important;
  left:22px !important;
  z-index:80 !important;
}

.terminal-bar span{
  width:12px !important;
  height:12px !important;
}

/* Cartes flottantes plus propres et mieux espacées */
.floating-spec{
  min-width:145px !important;
  max-width:205px !important;
  padding:12px 14px !important;
  border-radius:16px !important;
  background:rgba(6,9,14,.84) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:0 16px 42px rgba(0,0,0,.36) !important;
}

.floating-spec b{
  font-size:.9rem !important;
}

.floating-spec span{
  font-size:.74rem !important;
}

.spec-a{top:58px !important;right:26px !important;}
.spec-b{left:26px !important;bottom:88px !important;}
.spec-c{right:26px !important;bottom:24px !important;}

/* Grilles plus régulières */
.product-grid{
  align-items:stretch;
}

.product-card{
  height:100%;
  min-height:0;
}

.product-body{
  min-height:260px;
}

/* Correction principale : images produits parfaitement cadrées */
.product-img{
  height:210px !important;
  padding:18px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,178,26,.16), transparent 58%),
    linear-gradient(145deg, var(--panel2), #0d1015) !important;
}

.product-img::before{
  width:150px !important;
  height:150px !important;
  opacity:.85;
}

.product-img img{
  width:auto !important;
  height:auto !important;
  max-width:92% !important;
  max-height:172px !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:auto !important;
  filter:drop-shadow(0 18px 28px rgba(0,0,0,.36)) !important;
  transform-origin:center center;
}

.product-card:hover .product-img img{
  transform:scale(1.04);
}

.product-body h3{
  min-height:2.45em;
}

.product-body p{
  min-height:4.5em;
}

.mini-specs{
  min-height:58px;
}

.product-bottom{
  margin-top:auto !important;
}

/* Détail produit : image mieux cadrée */
.product-large-img{
  padding:28px;
  min-height:360px !important;
}

.product-large-img img{
  width:auto !important;
  height:auto !important;
  max-width:92% !important;
  max-height:320px !important;
  object-fit:contain !important;
  margin:auto !important;
}

/* Admin produits : plus exploitable */
.admin-product-card{
  align-items:center;
}

.admin-product-img{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:10px;
}

.admin-product-img img{
  width:auto !important;
  height:auto !important;
  max-width:96% !important;
  max-height:96% !important;
  object-fit:contain !important;
  margin:auto !important;
}

.admin-edit-form input[type="file"]{
  padding:10px;
}

/* Formulaires : meilleure lisibilité */
.config-form input,
.config-form select,
.config-form textarea,
.admin-edit-form input,
.admin-edit-form textarea,
.admin-edit-form select,
.admin-edit-panel input,
.admin-edit-panel textarea,
.admin-edit-panel select{
  outline:none;
}

.config-form input:focus,
.config-form select:focus,
.config-form textarea:focus,
.admin-edit-form input:focus,
.admin-edit-form textarea:focus,
.admin-edit-form select:focus,
.admin-edit-panel input:focus,
.admin-edit-panel textarea:focus,
.admin-edit-panel select:focus{
  border-color:rgba(255,178,26,.55) !important;
  box-shadow:0 0 0 3px rgba(255,178,26,.10);
}

/* Responsive tablette */
@media(max-width:960px){
  .hero-shop{
    grid-template-columns:1fr !important;
  }

  .hero-panel,
  .premium-pc-stage{
    min-height:400px !important;
  }

  .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .product-img{
    height:200px !important;
  }

  .product-img img{
    max-height:162px !important;
  }

  .product-body h3,
  .product-body p,
  .mini-specs{
    min-height:auto;
  }
}

/* Responsive mobile */
@media(max-width:760px){
  .shop-header{
    position:relative !important;
    min-height:auto !important;
  }

  .shop-header nav{
    display:flex;
    overflow-x:auto;
    padding-bottom:4px;
    scrollbar-width:none;
  }

  .shop-header nav::-webkit-scrollbar{
    display:none;
  }

  .hero-shop{
    padding-top:30px !important;
  }

  .hero-panel,
  .premium-pc-stage{
    min-height:360px !important;
  }

  .premium-pc-stage{
    background-size:auto 100% !important;
    background-position:28% center !important;
  }

  .terminal-bar{
    top:14px !important;
    left:16px !important;
  }

  .floating-spec{
    min-width:118px !important;
    max-width:150px !important;
    padding:9px 10px !important;
    animation:none !important;
  }

  .floating-spec::before{
    left:8px !important;
    height:30px !important;
  }

  .floating-spec b,
  .floating-spec span{
    padding-left:10px !important;
  }

  .floating-spec b{font-size:.74rem !important;}
  .floating-spec span{font-size:.62rem !important;}

  .spec-a{top:42px !important;right:8px !important;}
  .spec-b{left:8px !important;bottom:72px !important;}
  .spec-c{right:8px !important;bottom:12px !important;}

  .product-grid{
    grid-template-columns:1fr !important;
  }

  .product-img{
    height:190px !important;
    padding:16px !important;
  }

  .product-img img{
    max-height:150px !important;
    max-width:90% !important;
  }

  .product-body{
    min-height:auto;
  }

  .product-body h3,
  .product-body p,
  .mini-specs{
    min-height:auto;
  }

  .product-bottom{
    flex-direction:row !important;
    align-items:center !important;
  }

  .admin-product-card{
    grid-template-columns:92px minmax(0,1fr) !important;
  }

  .admin-product-img{
    height:92px !important;
  }
}

@media(max-width:460px){
  .hero-shop h1{
    font-size:clamp(1.95rem,10vw,3rem) !important;
  }

  .hero-panel,
  .premium-pc-stage{
    min-height:330px !important;
  }

  .product-img{
    height:176px !important;
  }

  .product-img img{
    max-height:138px !important;
  }

  .product-bottom{
    flex-direction:column !important;
    align-items:flex-start !important;
  }

  .admin-product-card{
    grid-template-columns:1fr !important;
  }

  .admin-product-img{
    height:130px !important;
  }
}

/* =========================================================
   SHOPLAB V8 - Panier paiement premium compact
   Objectif : bouton PayPal plus petit, résumé non touché,
   panier plus lisible sur mobile/tablette.
   ========================================================= */
.checkout-page{
  max-width:1280px;
  margin:0 auto;
}

.checkout-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:30px;
}

.checkout-head h1{
  font-size:clamp(2.1rem,4.6vw,4.8rem);
  line-height:.95;
  margin:.15em 0 .12em;
  letter-spacing:-.055em;
}

.checkout-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:26px;
  align-items:start;
}

.checkout-panel{
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.032));
  border:1px solid rgba(255,255,255,.10);
  border-radius:28px;
  padding:24px;
  box-shadow:0 20px 58px rgba(0,0,0,.22);
  min-width:0;
}

.checkout-panel h2{
  margin:0 0 18px;
  font-size:1.25rem;
  letter-spacing:-.02em;
}

.checkout-side{
  display:grid;
  gap:16px;
  position:sticky;
  top:86px;
}

.checkout-form{
  display:grid;
  gap:12px;
}

.checkout-form label{
  display:grid;
  gap:7px;
  color:var(--muted);
  font-weight:850;
  font-size:.92rem;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea{
  width:100%;
  min-height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.11);
  background:#0d1117;
  color:var(--text);
  padding:11px 12px;
  font:inherit;
  outline:none;
}

.checkout-form textarea{
  min-height:82px;
  resize:vertical;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus{
  border-color:rgba(255,178,26,.58);
  box-shadow:0 0 0 3px rgba(255,178,26,.10);
}

.checkout-two{
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:12px;
}

.small{
  font-size:.86rem;
}

.cart-items{
  gap:14px;
}

.cart-line{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto auto;
  gap:16px;
  align-items:center;
  padding:16px;
  border-radius:18px;
  background:rgba(10,14,20,.68);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 12px 34px rgba(0,0,0,.16);
}

.cart-line-main{
  display:grid;
  gap:4px;
  min-width:0;
}

.cart-line-main strong{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.cart-line-main span{
  color:var(--muted);
  font-size:.92rem;
}

.qty-control{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px;
  border-radius:999px;
  background:#0d1117;
  border:1px solid rgba(255,255,255,.10);
}

.qty-control button{
  width:30px;
  height:30px;
  border-radius:50%;
  border:0;
  cursor:pointer;
  background:rgba(255,255,255,.08);
  color:var(--text);
  font-size:1.05rem;
  font-weight:950;
}

.qty-control button:hover{
  background:var(--accent);
  color:#111;
}

.qty-control b{
  min-width:22px;
  text-align:center;
}

.cart-line-total{
  color:var(--accent);
  white-space:nowrap;
}

.cart-remove{
  border:1px solid rgba(255,92,92,.32);
  background:rgba(255,92,92,.10);
  color:#ffd4d4;
  border-radius:999px;
  padding:9px 12px;
  cursor:pointer;
  font-weight:850;
}

.cart-remove:hover{
  background:rgba(255,92,92,.22);
}

.cart-empty{
  min-height:260px;
  display:grid;
  place-items:center;
  text-align:center;
  border:1px dashed rgba(255,255,255,.16);
  border-radius:22px;
  padding:30px;
  background:rgba(255,255,255,.035);
}

.live-summary{
  margin:4px 0 0 !important;
  padding:18px !important;
  border-radius:20px !important;
  background:linear-gradient(145deg,rgba(9,13,19,.94),rgba(16,23,34,.94)) !important;
  border:1px solid rgba(255,255,255,.11) !important;
  box-shadow:0 16px 44px rgba(0,0,0,.22) !important;
  display:grid;
  gap:10px;
}

.live-summary div{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  color:var(--muted);
}

.live-summary strong{
  font-size:1.08rem !important;
  color:var(--text) !important;
  white-space:nowrap;
}

.live-summary .summary-total{
  margin-top:4px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.10);
}

.live-summary .summary-total strong{
  font-size:1.55rem !important;
  color:var(--accent) !important;
}

.payment-box{
  display:grid;
  gap:12px;
  margin-top:8px;
  padding:16px;
  border-radius:22px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
}

.payment-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.payment-title strong{
  font-size:1rem;
}

.payment-title span{
  color:var(--muted);
  font-size:.86rem;
}

#paypal-button-container{
  width:100%;
  max-width:330px;
  min-height:42px;
  margin:0 auto;
  display:block;
  overflow:hidden;
  border-radius:999px;
}

#paypal-button-container iframe{
  max-height:46px !important;
}

#paypal-button-container.is-disabled{
  opacity:.45;
  pointer-events:none;
}

.checkout-warning{
  padding:12px;
  border-radius:14px;
  background:rgba(255,92,92,.12);
  border:1px solid rgba(255,92,92,.26);
  color:#ffdada;
  font-size:.9rem;
}

.checkout-quote{
  width:100%;
  min-height:42px;
}

@media(max-width:1080px){
  .checkout-grid{
    grid-template-columns:1fr;
  }
  .checkout-side{
    position:static;
  }
}

@media(max-width:720px){
  .checkout-page{
    padding:42px 4vw !important;
  }
  .checkout-panel{
    padding:16px;
    border-radius:22px;
  }
  .checkout-two{
    grid-template-columns:1fr;
  }
  .cart-line{
    grid-template-columns:1fr;
    gap:12px;
  }
  .cart-line-main strong{
    white-space:normal;
  }
  .qty-control{
    width:max-content;
  }
  .cart-line-total{
    font-size:1.2rem;
  }
  .cart-remove{
    width:max-content;
  }
  .payment-title{
    align-items:flex-start;
    flex-direction:column;
  }
  #paypal-button-container{
    max-width:100%;
  }
}


/* =========================================================
   SHOPLAB V10 - Animation premium ajout panier
   ========================================================= */
.cart-flyer{
  position:fixed;
  z-index:9999;
  object-fit:contain;
  pointer-events:none;
  border-radius:18px;
  transform-origin:center;
  filter:drop-shadow(0 24px 38px rgba(0,0,0,.42));
}

.cart-pulse .cart-link,
.cart-pulse a[href$="panier.php"]{
  animation:cartBounce .38s cubic-bezier(.2,.9,.2,1);
}

.cart-pulse #cartCount{
  animation:cartCountGlow .42s ease;
}

@keyframes cartBounce{
  0%,100%{transform:translateY(0) scale(1)}
  45%{transform:translateY(-4px) scale(1.08)}
}

@keyframes cartCountGlow{
  0%{box-shadow:0 0 0 rgba(255,178,26,0)}
  55%{box-shadow:0 0 0 8px rgba(255,178,26,.22)}
  100%{box-shadow:0 0 0 rgba(255,178,26,0)}
}

.cart-toast{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9998;
  min-width:min(340px, calc(100vw - 32px));
  padding:15px 18px;
  border-radius:20px;
  background:rgba(10,14,20,.92);
  border:1px solid rgba(255,178,26,.24);
  box-shadow:0 22px 70px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter:blur(18px);
  opacity:0;
  transform:translateY(18px) scale(.98);
  transition:.26s ease;
  display:grid;
  gap:4px;
}

.cart-toast.show{
  opacity:1;
  transform:translateY(0) scale(1);
}

.cart-toast strong{color:var(--accent);font-size:.98rem}
.cart-toast span{color:var(--soft);font-size:.9rem;line-height:1.35}

.mini-cart-drawer{
  position:fixed;
  top:92px;
  right:18px;
  z-index:9997;
  width:min(390px, calc(100vw - 28px));
  max-height:calc(100vh - 120px);
  overflow:auto;
  padding:18px;
  border-radius:26px;
  background:rgba(13,18,27,.94);
  border:1px solid rgba(255,255,255,.11);
  box-shadow:0 28px 90px rgba(0,0,0,.48);
  backdrop-filter:blur(20px);
  transform:translateX(calc(100% + 36px));
  opacity:0;
  transition:.34s cubic-bezier(.2,.85,.2,1);
}

.mini-cart-drawer.open{
  transform:translateX(0);
  opacity:1;
}

.mini-cart-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.09);
}

.mini-cart-head span,
.mini-cart-foot span{display:block;color:var(--muted);font-size:.82rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.mini-cart-head strong{display:block;color:var(--text);font-size:1.2rem;margin-top:4px}
.mini-cart-close{width:36px;height:36px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.05);color:var(--text);font-size:1.4rem;cursor:pointer}

.mini-cart-body{display:grid;gap:10px;padding:14px 0}
.mini-cart-item{padding:12px 13px;border-radius:16px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);display:grid;gap:5px}
.mini-cart-item strong{color:var(--text);font-size:.96rem;line-height:1.25}
.mini-cart-item span{color:var(--muted);font-size:.9rem}

.mini-cart-foot{display:grid;gap:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.09)}
.mini-cart-foot>div{display:flex;justify-content:space-between;align-items:end;gap:14px}
.mini-cart-foot strong{color:var(--accent);font-size:1.45rem}
.mini-cart-foot .btn{width:100%}

@media(max-width:720px){
  .cart-toast{right:14px;bottom:14px}
  .mini-cart-drawer{top:auto;right:10px;left:10px;bottom:10px;width:auto;max-height:75vh;border-radius:24px;transform:translateY(calc(100% + 26px));}
  .mini-cart-drawer.open{transform:translateY(0)}
  .cart-flyer{max-width:120px!important;max-height:110px!important}
}
