
:root{--bg:#071528;--gold:#e1b84f;--gold2:#f2d57a;--text:#162033;--muted:#6c7a90}
*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Arial,sans-serif;background:#f3f6fa;color:var(--text)}a{color:#163f70}
.topbar{position:sticky;top:0;z-index:30;background:#071528;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:10px 5%;box-shadow:0 2px 20px #0002}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:#fff}.brand img{width:58px;height:58px;object-fit:contain}.brand b{display:block;letter-spacing:2px}.brand small{color:#bfc9d9}.topbar nav{display:flex;gap:18px;flex-wrap:wrap}.topbar nav a{color:#fff;text-decoration:none;font-size:14px}.topbar nav a:hover{color:var(--gold2)}
.hero{min-height:480px;background:radial-gradient(circle at 70% 20%,#183b69,#0a1d35 42%,#06101f 78%);color:#fff;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:40px;padding:65px 8%}.hero h1{font-size:clamp(40px,6vw,72px);line-height:1.02;margin:15px 0}.hero p{font-size:18px;max-width:720px;color:#cdd7e6;line-height:1.7}.hero-logo{width:min(320px,80%);justify-self:center;filter:drop-shadow(0 18px 35px #0008)}.eyebrow{color:var(--gold2);letter-spacing:2px;font-size:12px;text-transform:uppercase;font-weight:800}
.wrap{max-width:1450px;margin:auto;padding:55px 5%}.narrow{max-width:650px;margin:55px auto;padding:0 20px}.section-title h2{font-size:38px;margin:5px 0 25px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.card{background:white;border-radius:20px;overflow:hidden;box-shadow:0 12px 35px #1b2e4b15}.image-button{width:100%;height:420px;padding:12px;border:0;background:#fff;cursor:zoom-in}.image-button img{width:100%;height:100%;object-fit:contain}.card-body{padding:18px}.card-body small{color:var(--muted)}.card-body h3{font-size:16px;min-height:44px}.bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.bottom strong{font-size:22px;color:#0b2442}
.btn{display:inline-block;background:linear-gradient(135deg,var(--gold),var(--gold2));border:0;border-radius:10px;padding:11px 16px;font-weight:800;color:#172033;text-decoration:none;cursor:pointer}.btn.small,.small{padding:7px 10px}.danger{background:#b83232;color:white;border:0;border-radius:8px;padding:8px 10px;cursor:pointer}
.panel{background:#fff;padding:25px;border-radius:18px;box-shadow:0 10px 30px #1b2e4b12;margin-bottom:22px}.form{display:grid;gap:15px}.form label{display:grid;gap:7px;font-weight:600}.form input,.form textarea,.form select,select{padding:12px;border:1px solid #cdd6e3;border-radius:10px;font:inherit;background:#fff}.two{display:grid;grid-template-columns:1.1fr .9fr;gap:24px}.summary,.total{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e6ebf2}.total{font-size:22px;border-top:2px solid #18395f;border-bottom:0;margin-top:15px}
.cart-line{display:grid;grid-template-columns:80px 1fr auto auto;gap:15px;align-items:center;padding:15px 0;border-bottom:1px solid #e4eaf2}.cart-line img{width:80px;height:90px;object-fit:contain}.qty{display:flex;gap:8px}.qty input{width:65px}
.account-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:22px}.order-line,.admin-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid #e4eaf2}.admin-row form{display:inline-flex;gap:8px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stats>div{background:#0d284a;color:#fff;border-radius:16px;padding:20px}.stats span{display:block;color:#cbd6e6}.stats b{font-size:30px;color:var(--gold2)}
.invoice-logo{width:100px}.invoice-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #17395f;padding-bottom:12px}.invoice table{width:100%;border-collapse:collapse;margin-top:20px}.invoice th,.invoice td{padding:10px;border-bottom:1px solid #e2e7ee;text-align:left}
.flash-wrap{max-width:1200px;margin:15px auto 0;padding:0 20px}.flash{padding:12px 15px;border-radius:10px;margin-bottom:8px}.flash.success{background:#dff4e8;color:#16643b}.flash.danger{background:#ffe1e1;color:#8e2020}.flash.warning{background:#fff2c9;color:#7b5a00}.flash.info{background:#e4f0ff;color:#184e86}
.lightbox{position:fixed;inset:0;background:#000c;display:none;place-items:center;z-index:100;padding:20px}.lightbox.open{display:grid}.lightbox-inner{background:white;padding:18px;border-radius:18px;max-width:1000px;max-height:90vh;overflow:auto;text-align:center}.lightbox-inner img{max-width:100%;max-height:75vh;object-fit:contain}.close{position:fixed;top:18px;right:24px;font-size:38px;background:none;border:0;color:#fff;cursor:pointer}
footer{background:#06101f;color:#bdc9d8;padding:30px 6%;margin-top:40px}
@media(max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.two,.account-grid{grid-template-columns:1fr}}
@media(max-width:650px){.topbar{align-items:flex-start}.topbar nav{justify-content:flex-end}.grid{grid-template-columns:1fr}.image-button{height:460px}.cart-line{grid-template-columns:60px 1fr}.cart-line strong,.qty{grid-column:2}.hero{padding:50px 6%}.stats{grid-template-columns:1fr}}
@media print{.topbar,footer,.noprint,.flash-wrap{display:none!important}.wrap{padding:0}.panel{box-shadow:none}.invoice{margin:0}}

.langs{display:flex;gap:6px;margin-left:14px}.langs a{border:1px solid #355276;color:#fff;text-decoration:none;border-radius:7px;padding:6px 8px;font-size:12px}.langs a.active{background:#e1b84f;color:#152033;border-color:#e1b84f}
.referral{background:#f5e7b6;color:#4d3a00;border-radius:10px;padding:10px 12px;margin:12px 0 18px;display:inline-block}
.share-row{display:flex;gap:10px}.share-row input{flex:1;padding:12px;border:1px solid #cdd6e3;border-radius:10px}.note{color:#68778c;line-height:1.6}.seller-stats{grid-template-columns:repeat(3,1fr)}.stats .code{font-size:20px;letter-spacing:1px}
@media(max-width:800px){.topbar{flex-wrap:wrap;gap:10px}.langs{width:100%;justify-content:flex-end}.share-row{flex-direction:column}.seller-stats{grid-template-columns:1fr}}

.about-section{
  background:#fff;
  padding:72px 6%;
  border-bottom:1px solid #e7edf5;
}
.about-wrap{
  max-width:1320px;
  margin:auto;
  display:grid;
  grid-template-columns:320px 1fr;
  gap:54px;
  align-items:center;
}
.about-logo-wrap{
  min-height:360px;
  border-radius:28px;
  padding:34px;
  display:grid;
  place-items:center;
  background:radial-gradient(circle at 50% 35%,#183b69,#08182b 72%);
  box-shadow:0 20px 55px #10233f22;
}
.about-logo-wrap img{
  width:100%;
  max-width:260px;
  height:auto;
  filter:drop-shadow(0 15px 28px #0008);
}
.about-content h2{
  font-size:38px;
  margin:8px 0 22px;
  color:#0a2545;
}
.about-content p{
  font-size:16px;
  line-height:1.82;
  color:#44536a;
  margin:0 0 16px;
}
.company-contact{
  margin-top:24px;
  padding:17px 19px;
  border-left:4px solid var(--gold);
  background:#fff8e3;
  border-radius:9px;
}
.company-contact strong{
  display:block;
  margin-bottom:7px;
  color:#17395f;
}
.company-contact a{
  color:#17395f;
  font-weight:700;
  text-decoration:none;
}
.company-phones{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin-top:8px;
}
footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.footer-contact{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  align-items:center;
}
footer a{
  color:#f2d57a;
  text-decoration:none;
}
@media(max-width:900px){
  .about-wrap{grid-template-columns:1fr}
  .about-logo-wrap{min-height:260px}
  .about-content h2{font-size:32px}
}

#proofField small{font-weight:400;color:#6f7f94}
.proof-link{display:inline-block;margin-top:6px;font-weight:700;text-decoration:none;color:#17395f}
.proof-link:hover{text-decoration:underline}

.admin-title-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}
.payment-account-row{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #e3eaf2}
.payment-account-head{display:flex;align-items:center;gap:10px;margin-bottom:5px}
.payment-account-main{flex:1;line-height:1.55}
.payment-account-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.status-pill{font-size:11px;font-weight:800;padding:4px 8px;border-radius:999px}
.status-pill.on{background:#dff4e8;color:#16643b}
.status-pill.off{background:#eceff3;color:#667385}
.admin-qr{width:120px;height:120px;object-fit:contain;margin-top:10px;border:1px solid #dce3ec;border-radius:10px;background:#fff}
.muted{color:#708096;font-size:13px;margin-top:5px}
.payment-instructions-box{border:1px solid #e1c769;background:#fff9e7;border-radius:14px;padding:16px}
.payment-method-group h3{margin-top:0}
.checkout-account{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:12px 0;border-bottom:1px solid #eadfae}
.checkout-account:last-child{border-bottom:0}
.account-number{font-size:18px;font-weight:900;color:#0b2442;letter-spacing:.5px}
.checkout-qr{width:135px;height:135px;object-fit:contain;border-radius:10px;background:#fff;border:1px solid #e0e6ed}
.warning-text{color:#8c5a00;font-weight:700}
@media(max-width:700px){
  .admin-title-row,.payment-account-row,.checkout-account{flex-direction:column;align-items:stretch}
  .payment-account-actions{align-items:stretch}
  .checkout-qr{width:160px;height:160px;align-self:center}
}

.stock-line{min-height:27px;margin:8px 0}
.stock-badge{display:inline-block;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800}
.stock-badge.ok{background:#e2f4e8;color:#16643b}
.stock-badge.low{background:#fff0bf;color:#7a5600}
.stock-badge.out{background:#ffe0e0;color:#962525}
.btn.disabled{opacity:.5;cursor:not-allowed}
.admin-actions{display:flex;gap:10px;flex-wrap:wrap}
.admin-stats-five{grid-template-columns:repeat(5,1fr)}
.critical-stat{background:#7f251f!important}
.product-stats{grid-template-columns:repeat(4,1fr)}
.product-search{display:flex;gap:10px;margin-bottom:22px}
.product-search input{flex:1;padding:12px 14px;border:1px solid #cdd6e3;border-radius:10px;font:inherit}
.btn.secondary{background:#e8edf4;color:#23344b}
.product-admin-list{display:grid;gap:12px}
.product-admin-card{
  background:#fff;
  border-radius:18px;
  padding:18px;
  display:grid;
  grid-template-columns:86px minmax(225px,1.25fr) minmax(105px,.55fr) minmax(125px,.65fr) minmax(190px,1fr);
  grid-template-areas:
    "image info price category family"
    "status info weight threshold active"
    "description description description description description"
    "stock stock save save save";
  gap:14px 16px;
  align-items:start;
  box-shadow:0 8px 25px #1b2e4b10;
  overflow:hidden;
}
.product-admin-image{grid-area:image;align-self:center}
.product-admin-image img{
  width:78px;
  height:92px;
  object-fit:contain;
  background:#fff;
}
.product-admin-info{
  grid-area:info;
  display:grid;
  gap:5px;
  min-width:0;
  align-self:center;
}
.product-admin-info strong{
  font-size:15px;
  line-height:1.35;
}
.product-admin-info small,.product-ref{
  color:#6d7b91;
  font-size:12px;
  line-height:1.35;
}
.product-admin-card label{
  display:grid;
  gap:6px;
  min-width:0;
  font-size:12px;
  line-height:1.25;
  font-weight:700;
}
.product-admin-card input[type="number"],
.product-admin-card input[name="price"],
.product-admin-card input[name="family"],
.product-admin-card input[name="weight_kg"],
.product-admin-card textarea,
.product-admin-card select{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  padding:10px 11px;
  border:1px solid #cdd6e3;
  border-radius:9px;
  background:#fff;
  font:inherit;
  font-weight:600;
}
.product-admin-card input[readonly]{
  background:#f6f8fb;
  color:#4f5f75;
}
.field-price{grid-area:price}
.field-weight{grid-area:weight}
.field-category{grid-area:category}
.field-family{grid-area:family}
.field-description{grid-area:description}
.field-stock{grid-area:stock}
.field-threshold{grid-area:threshold}
.active-check{
  grid-area:active;
  display:flex!important;
  align-items:center;
  justify-content:flex-start;
  gap:8px!important;
  align-self:center;
  padding-top:20px;
  white-space:nowrap;
}
.stock-state{
  grid-area:status;
  text-align:center;
  align-self:center;
}
.product-card-actions{
  grid-area:save;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  margin-top:2px;
}
.product-save-btn{
  min-width:180px;
}
.product-delete-btn{
  min-width:140px;
}
.btn.danger{
  background:#9f2f2f;
  color:#fff;
}
.btn.danger:hover{
  filter:brightness(.94);
}
.product-admin-card label small{
  display:block;
  font-weight:600;
  line-height:1.35;
  overflow-wrap:anywhere;
}

@media(max-width:1120px){
  .product-admin-card{
    grid-template-columns:80px minmax(210px,1fr) minmax(120px,1fr);
    grid-template-areas:
      "image info info"
      "image price category"
      "status weight family"
      "description description description"
      "stock threshold active"
      ". save save";
    align-items:start;
  }
  .product-card-actions{
    width:100%;
  }
  .product-card-actions .btn{
    flex:1 1 150px;
  }
  .active-check{
    padding-top:12px;
  }
}
@media(max-width:800px){
  .admin-stats-five,.product-stats{grid-template-columns:1fr 1fr}
  .product-search{flex-direction:column}
  .product-admin-card{
    grid-template-columns:76px minmax(0,1fr);
    grid-template-areas:
      "image info"
      "status info"
      "price price"
      "weight weight"
      "category category"
      "family family"
      "description description"
      "stock stock"
      "threshold threshold"
      "active active"
      "save save";
  }
  .product-admin-image img{width:70px;height:82px}
  .active-check{padding-top:0}
  .product-card-actions{width:100%}
  .product-card-actions .btn{width:100%;flex:1 1 100%}
}


.order-detail-link{display:inline-block;margin-top:7px;font-weight:800;text-decoration:none;color:#17395f}
.order-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.order-products{display:grid}
.order-product-line{display:grid;grid-template-columns:70px 1fr auto auto;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid #e5ebf2}
.order-product-line img{width:65px;height:75px;object-fit:contain}
.status-form{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end}
.status-form label{display:grid;gap:6px;font-weight:700}
.status-form select{padding:11px;border:1px solid #cdd6e3;border-radius:9px}
.cancel-box{padding:14px;background:#ffe1e1;color:#8f2424;border-radius:10px;font-weight:800}
.tracking-info{display:flex;gap:10px;flex-wrap:wrap;margin-top:7px;color:#586b84;font-size:13px}
.order-status-badge{display:inline-block;margin-top:5px;padding:5px 8px;border-radius:999px;background:#e7effa;color:#224f80;font-size:11px;font-weight:800}
@media(max-width:850px){
  .order-detail-grid{grid-template-columns:1fr}
  .status-form{grid-template-columns:1fr}
  .order-product-line{grid-template-columns:60px 1fr}
  .order-product-line>div:nth-of-type(2),.order-product-line>strong{grid-column:2}
}


/* V13 - animation élégante sur les photos produits */
.card{
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
  border:1px solid transparent;
}

.card:hover{
  transform:translateY(-7px);
  box-shadow:0 22px 55px rgba(14,35,65,.18);
  border-color:rgba(225,184,79,.45);
}

.image-button{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%);
}

.image-button img{
  transition:
    transform .45s cubic-bezier(.2,.7,.2,1),
    filter .45s ease;
  transform-origin:center center;
  will-change:transform;
}

.card:hover .image-button img{
  transform:scale(1.065) translateY(-3px);
  filter:brightness(1.03) contrast(1.02);
}

/* reflet doré qui traverse l'image */
.image-button::after{
  content:"";
  position:absolute;
  top:-25%;
  left:-60%;
  width:36%;
  height:150%;
  pointer-events:none;
  opacity:0;
  transform:rotate(18deg);
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.06) 20%,
    rgba(242,213,122,.28) 50%,
    rgba(255,255,255,.12) 75%,
    transparent 100%
  );
  transition:left .65s ease, opacity .25s ease;
}

.card:hover .image-button::after{
  left:125%;
  opacity:1;
}

/* cercle lumineux discret autour de la photo */
.image-button::before{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:18px;
  border:1px solid rgba(225,184,79,0);
  box-shadow:0 0 0 rgba(225,184,79,0);
  pointer-events:none;
  z-index:1;
  transition:
    border-color .3s ease,
    box-shadow .3s ease;
}

.card:hover .image-button::before{
  border-color:rgba(225,184,79,.35);
  box-shadow:inset 0 0 24px rgba(225,184,79,.08);
}

/* Bouton Ajouter légèrement animé avec la carte */
.card .bottom .btn{
  transition:transform .22s ease, filter .22s ease;
}

.card:hover .bottom .btn{
  transform:translateY(-1px);
}

/* Respecte les utilisateurs qui préfèrent moins d'animations */
@media (prefers-reduced-motion: reduce){
  .card,
  .image-button img,
  .image-button::after,
  .image-button::before,
  .card .bottom .btn{
    transition:none!important;
  }
  .card:hover,
  .card:hover .image-button img,
  .card:hover .bottom .btn{
    transform:none!important;
  }
}

/* Sur écran tactile, pas d'effet hover parasite */
@media (hover:none){
  .card:hover{
    transform:none;
    box-shadow:0 12px 35px #1b2e4b15;
    border-color:transparent;
  }
  .card:hover .image-button img{
    transform:none;
    filter:none;
  }
  .card:hover .image-button::after{
    opacity:0;
  }
}


/* V14 - recherche, filtres et pages produit */
.catalog-top{display:grid;gap:18px;margin-bottom:24px}
.shop-filters{
  display:grid;
  grid-template-columns:minmax(220px,1.3fr) minmax(180px,.8fr) minmax(170px,.8fr) auto auto;
  gap:10px;
  align-items:center;
}
.shop-filters input,
.shop-filters select{
  padding:12px 14px;
  border:1px solid #cdd6e3;
  border-radius:10px;
  font:inherit;
  background:#fff;
}
.catalog-summary{color:#5f7087;font-size:14px}

.card-actions{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:space-between;
  margin-top:12px;
}
.card-actions form{margin:0}
.card-actions .btn{
  padding:10px 12px;
  min-width:unset;
}
.product-price{
  margin-top:14px;
  font-size:24px;
  font-weight:900;
  color:#0b2545;
}

.breadcrumb{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  color:#66788e;
  margin-bottom:18px;
}
.breadcrumb a{
  text-decoration:none;
  color:#173f70;
  font-weight:700;
}
.product-page{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:start;
  margin-bottom:40px;
}
.product-visual-panel,
.product-info-panel{
  background:#fff;
  border-radius:22px;
  box-shadow:0 12px 35px #1b2e4b15;
  padding:22px;
}
.detail-image{
  width:100%;
  height:560px;
}
.product-category{
  color:#7a8aa0;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:800;
}
.product-info-panel h1{
  font-size:42px;
  line-height:1.08;
  margin:8px 0 14px;
  color:#07203d;
}
.detail-price{
  font-size:38px;
  font-weight:900;
  color:#0b2545;
  margin-bottom:14px;
}
.detail-box{
  margin-top:18px;
  padding:18px;
  border:1px solid #e3e9f1;
  border-radius:16px;
  background:#fbfcfe;
}
.detail-box h3{
  margin:0 0 10px;
  color:#0a2545;
}
.detail-box p{
  margin:0;
  line-height:1.75;
  color:#44536a;
}
.detail-list{
  margin:0;
  padding-left:20px;
  color:#44536a;
  line-height:1.8;
}
.detail-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}
.related-products-wrap{margin-top:10px}
.related-grid .image-button{display:block;text-decoration:none}

@media(max-width:1100px){
  .shop-filters{
    grid-template-columns:1fr 1fr;
  }
  .product-page{
    grid-template-columns:1fr;
  }
}
@media(max-width:700px){
  .shop-filters{
    grid-template-columns:1fr;
  }
  .card-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .detail-image{
    height:430px;
  }
  .product-info-panel h1{
    font-size:30px;
  }
  .detail-price{
    font-size:30px;
  }
}


/* V15 - centre de notifications ADMIN */
.notif-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.notif-count{
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:#d13d3d;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:800;
}
.admin-stats-six{
  grid-template-columns:repeat(6,1fr);
}
.notification-list{
  display:grid;
  gap:14px;
}
.notification-item{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:16px;
  border-radius:16px;
  border:1px solid #e4ebf3;
  background:#fff;
}
.notification-item.unread{
  border-color:#e1b84f;
  box-shadow:0 10px 26px rgba(225,184,79,.12);
  background:#fffdf6;
}
.notification-item.read{
  opacity:.96;
}
.notification-main{
  flex:1;
}
.notification-top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}
.notification-type{
  display:inline-block;
  padding:4px 8px;
  border-radius:999px;
  background:#e8eef6;
  color:#284766;
  font-size:11px;
  font-weight:800;
}
.notification-new{
  display:inline-block;
  padding:4px 8px;
  border-radius:999px;
  background:#ffe4a3;
  color:#805900;
  font-size:11px;
  font-weight:900;
}
.notification-item h3{
  margin:0 0 8px;
  color:#092644;
}
.notification-item p{
  margin:0 0 8px;
  color:#4a5a70;
  line-height:1.65;
}
.notification-item small{
  color:#74839a;
}
.notification-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-end;
}
.notification-actions form{
  margin:0;
}
.notification-actions button{
  padding:9px 12px;
  border:1px solid #cfd8e4;
  background:#fff;
  border-radius:9px;
  cursor:pointer;
}
.notification-link-wrap{
  margin-top:8px;
}
@media(max-width:1200px){
  .admin-stats-six{
    grid-template-columns:repeat(3,1fr);
  }
}
@media(max-width:800px){
  .notification-item{
    flex-direction:column;
  }
  .notification-actions{
    align-items:stretch;
  }
  .admin-stats-six{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:550px){
  .admin-stats-six{
    grid-template-columns:1fr;
  }
}


/* V16 - sécurité */
.security-panel{max-width:620px;margin:30px auto}
.security-warning{
  margin:14px 0 20px;
  padding:14px 16px;
  border-left:4px solid #d79b18;
  border-radius:8px;
  background:#fff4d6;
  color:#6d4b00;
  font-weight:700;
  line-height:1.55;
}
.security-panel small{
  color:#68788e;
  line-height:1.55;
}


/* V17 - structure vendeur / parrainage */
.seller-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:20px;
}
.seller-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
}
.seller-status.active{
  background:#def4e6;
  color:#17653b;
}
.seller-status.inactive{
  background:#eceff3;
  color:#697789;
}
.seller-stats-v17{
  grid-template-columns:repeat(4,1fr);
}
.seller-layout{
  display:grid;
  grid-template-columns:1.4fr .8fr;
  gap:20px;
  margin-bottom:20px;
}
.sponsor-card{
  display:grid;
  gap:5px;
  padding:15px;
  border:1px solid #e2e9f1;
  border-radius:12px;
  background:#fbfcfe;
}
.sponsor-card span{
  font-weight:800;
  color:#17395f;
}
.seller-network-list{
  display:grid;
}
.seller-network-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  padding:13px 0;
  border-bottom:1px solid #e5ebf2;
}
.admin-seller-list{
  display:grid;
}
.admin-seller-row{
  display:grid;
  grid-template-columns:1.5fr 1.2fr .7fr .9fr 1fr;
  gap:16px;
  align-items:center;
  padding:16px 0;
  border-bottom:1px solid #e4eaf2;
}
.admin-seller-row .code{
  font-weight:900;
  color:#153a63;
}
.seller-status-form{
  display:grid;
  gap:8px;
}
.seller-status-form select{
  padding:9px;
  border:1px solid #ccd6e2;
  border-radius:8px;
}
@media(max-width:1000px){
  .seller-layout{grid-template-columns:1fr}
  .seller-stats-v17{grid-template-columns:1fr 1fr}
  .admin-seller-row{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:650px){
  .seller-header{flex-direction:column}
  .seller-stats-v17{grid-template-columns:1fr}
  .admin-seller-row{grid-template-columns:1fr}
}


/* V18 - Telegram */
.telegram-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:20px;
}
.integration-status{
  display:inline-block;
  padding:7px 11px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  margin-bottom:10px;
}
.integration-status.active{
  background:#dcf4e5;
  color:#17663b;
}
.integration-status.inactive{
  background:#eceff3;
  color:#687486;
}
.integration-data{
  display:grid;
  gap:10px;
  margin:18px 0;
}
.integration-data>div{
  padding:12px;
  background:#f7f9fc;
  border:1px solid #e2e8f0;
  border-radius:10px;
}
.integration-data small{
  display:block;
  color:#78879a;
  margin-bottom:4px;
}
.telegram-events{
  line-height:2;
  padding-left:20px;
}
.config-code{
  display:block;
  padding:16px;
  background:#07182b;
  color:#eef5ff;
  border-radius:12px;
  overflow:auto;
  line-height:1.7;
}
@media(max-width:850px){
  .telegram-grid{grid-template-columns:1fr}
}


/* V19 - agences et stock par agence */
.agency-banner{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  padding:11px 14px;
  border-radius:12px;
  background:#f7edcb;
  color:#5f4700;
}
.detail-agency{
  display:inline-block;
  margin:8px 0 4px;
  padding:7px 10px;
  background:#f6edcf;
  color:#5f4700;
  border-radius:9px;
  font-size:13px;
}
.agency-row{
  display:grid;
  grid-template-columns:1.4fr 1fr auto;
  gap:18px;
  align-items:center;
  padding:16px 0;
  border-bottom:1px solid #e3eaf2;
}
.agency-metrics{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}
.agency-metrics span{
  display:grid;
  gap:3px;
  color:#708096;
  font-size:12px;
}
.agency-metrics b{
  color:#102d50;
  font-size:18px;
}
.agency-actions{
  display:flex;
  gap:8px;
  align-items:center;
}
.approve-seller-form{
  display:grid;
  gap:7px;
  min-width:220px;
}
.approve-seller-form select{
  padding:8px;
  border:1px solid #cdd6e3;
  border-radius:8px;
}
.agency-stock-card{
  grid-template-columns:85px minmax(220px,1.5fr) 110px 120px 115px 110px;
}
@media(max-width:900px){
  .agency-row{grid-template-columns:1fr}
  .agency-actions{align-items:stretch}
  .agency-stock-card{grid-template-columns:80px 1fr}
  .agency-stock-card label,.agency-stock-card .stock-state,.agency-stock-card>.btn{grid-column:1/-1}
}


/* V19.1 - base permanente commune à toutes les versions */
.persistent-path{
  display:grid;
  gap:6px;
  padding:14px 0;
  border-bottom:1px solid #e4eaf1;
}
.persistent-path small{
  color:#738298;
  font-weight:700;
}
.persistent-path code{
  display:block;
  padding:12px;
  border-radius:10px;
  background:#07182b;
  color:#eef5ff;
  overflow:auto;
}


/* V20 - zones et frais de livraison */
.delivery-zone-list{display:grid;gap:12px}
.delivery-zone-row{
  display:grid;
  grid-template-columns:1.5fr .7fr .6fr .6fr auto;
  gap:10px;
  align-items:end;
  padding:12px 0;
  border-bottom:1px solid #e4eaf1;
}
.delivery-zone-row label{
  display:grid;
  gap:5px;
  font-size:12px;
  font-weight:700;
}
.delivery-zone-row input{
  padding:9px;
  border:1px solid #ccd6e2;
  border-radius:8px;
}
.checkout-totals,
.invoice-totals,
.order-money-summary{
  display:grid;
  gap:8px;
  margin-top:18px;
}
.checkout-totals>div,
.invoice-totals>div,
.order-money-summary>div{
  display:flex;
  justify-content:space-between;
  gap:20px;
}
.checkout-totals .grand-total{
  padding-top:12px;
  border-top:1px solid #dfe5ed;
  font-size:20px;
}
@media(max-width:900px){
  .delivery-zone-row{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .delivery-zone-row{grid-template-columns:1fr}
}


/* V21 - audit stock et sauvegardes */
.stock-filter-bar{
  display:grid;
  grid-template-columns:1fr 1fr 1fr auto auto;
  gap:10px;
  margin-bottom:18px;
}
.stock-filter-bar input,
.stock-filter-bar select{
  padding:11px 12px;
  border:1px solid #ccd6e2;
  border-radius:9px;
  background:#fff;
  font:inherit;
}
.movement-table-wrap{
  overflow:auto;
}
.movement-table{
  width:100%;
  border-collapse:collapse;
  min-width:980px;
}
.movement-table th,
.movement-table td{
  text-align:left;
  padding:12px 10px;
  border-bottom:1px solid #e5eaf1;
  vertical-align:top;
}
.movement-table th{
  color:#5e6f85;
  font-size:12px;
  text-transform:uppercase;
}
.movement-type{
  display:inline-block;
  padding:5px 7px;
  border-radius:7px;
  background:#e9eef5;
  color:#294968;
  font-size:11px;
  font-weight:800;
}
.movement-positive{
  color:#167044;
  font-weight:900;
}
.movement-negative{
  color:#a62f2f;
  font-weight:900;
}
.backup-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin-bottom:18px;
}
.backup-head code{
  display:block;
  margin-top:5px;
  color:#40516a;
}
.backup-list{
  display:grid;
}
.backup-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:12px 0;
  border-bottom:1px solid #e5eaf1;
}
@media(max-width:900px){
  .stock-filter-bar{grid-template-columns:1fr 1fr}
  .backup-head{flex-direction:column;align-items:stretch}
}
@media(max-width:600px){
  .stock-filter-bar{grid-template-columns:1fr}
}


/* V22 - clients, rapports et exports */
.client-list{display:grid}
.client-row{
  display:grid;
  grid-template-columns:1.6fr .7fr .6fr .8fr .8fr auto;
  gap:14px;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid #e4eaf1;
  color:inherit;
  text-decoration:none;
}
.client-row:hover{background:#fbfcfe}
.client-role{
  display:inline-block;
  padding:5px 8px;
  border-radius:999px;
  background:#e9eef5;
  color:#2b4968;
  font-size:11px;
  font-weight:800;
}
.client-arrow{
  font-size:22px;
  color:#9b7a19;
}
.report-filters{
  display:grid;
  grid-template-columns:1fr 1fr 1.3fr auto auto;
  gap:10px;
  align-items:end;
  margin-bottom:18px;
}
.report-filters label{
  display:grid;
  gap:5px;
  font-size:12px;
  font-weight:700;
}
.report-filters input,
.report-filters select{
  padding:10px 11px;
  border:1px solid #ccd6e2;
  border-radius:9px;
  background:#fff;
}
.report-stats{grid-template-columns:repeat(5,1fr)}
.report-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:20px;
}
.report-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:10px 0;
  border-bottom:1px solid #e5eaf1;
}
@media(max-width:1050px){
  .client-row{grid-template-columns:1fr 1fr 1fr}
  .report-stats{grid-template-columns:repeat(3,1fr)}
  .report-filters{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .client-row{grid-template-columns:1fr}
  .report-grid{grid-template-columns:1fr}
  .report-stats{grid-template-columns:1fr 1fr}
  .report-filters{grid-template-columns:1fr}
}

/* V22.1 - marqueur de version visible */
.version-badge{
  display:inline-block;
  margin-left:8px;
  padding:5px 9px;
  border-radius:999px;
  background:#0d2f56;
  color:#f0c95d;
  font-size:12px;
  vertical-align:middle;
}
.footer-version{
  color:#f0c95d;
  font-weight:800;
}
.version-banner{
  margin-bottom:12px;
  padding:10px 12px;
  border-radius:10px;
  background:#0d2f56;
  color:#f0c95d;
  font-weight:800;
}

.report-warning{
  margin:16px 0;
  padding:14px 16px;
  border-radius:12px;
  background:#fff1d6;
  border:1px solid #e7b84b;
  color:#6b4b00;
  line-height:1.5;
}

.invoice-order-status{
  margin:18px 0 12px;
  padding:12px 16px;
  border-radius:10px;
  font-weight:900;
  text-align:center;
  letter-spacing:.04em;
}
.invoice-order-status-cancelled{
  background:#ffe1e1;
  color:#8f2424;
  border:1px solid #e2a0a0;
}

.telegram-agency-row{
  align-items:flex-end;
}
.telegram-agency-form{
  display:flex;
  gap:10px;
  align-items:flex-end;
  flex:1;
  min-width:380px;
}
.telegram-agency-form label{
  flex:1;
}
.telegram-agency-form input{
  width:100%;
}

.qr-agency-notice{
  background:#fff7dc;
  border:1px solid #e5bc48;
  border-radius:12px;
  padding:14px 16px;
  line-height:1.5;
}
.qr-agency-notice p{
  margin:.55rem 0 0;
}

/* V22.14 - bouton Supprimer des notifications visible */
.notification-actions button.danger{
  background:#b83232;
  color:#fff;
  border:1px solid #b83232;
  font-weight:800;
}
.notification-actions button.danger:hover{
  background:#982828;
  border-color:#982828;
}


/* ============================================================
   V24.9 — PROFESSIONAL ORDER SEARCH
   ============================================================ */
.order-search-shell{
  margin:18px 0 24px;
  border:1px solid #dde5ef;
  border-radius:18px;
  background:#f8fafc;
  overflow:hidden;
}
.order-search-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:20px 22px 17px;
  border-bottom:1px solid #e4eaf2;
  background:#fff;
}
.order-search-heading h3,
.orders-result-heading h3{
  margin:4px 0 4px;
  color:#0d284a;
}
.order-search-heading p{
  margin:0;
  color:#718096;
  font-size:14px;
}
.order-search-kicker{
  display:block;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  color:#a77b12;
}
.active-filter-badge,
.result-count-pill{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 11px;
  border-radius:999px;
  background:#eef3f8;
  color:#31445f;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.order-search-form{
  padding:20px 22px 22px;
}
.search-section-title{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.search-section-title span{
  font-weight:900;
  color:#18395f;
}
.search-section-title small{
  color:#7a8798;
}
.search-grid{
  display:grid;
  gap:14px;
}
.quick-search-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.advanced-search-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:15px;
}
.search-field{
  display:grid;
  gap:7px;
  min-width:0;
}
.search-field>span{
  font-size:12px;
  font-weight:800;
  color:#43536a;
}
.search-field input,
.search-field select{
  width:100%;
  min-width:0;
  height:46px;
  padding:0 13px;
  border:1px solid #cfd8e5;
  border-radius:10px;
  background:#fff;
  color:#132238;
  font:inherit;
  box-sizing:border-box;
  outline:none;
}
.search-field input:focus,
.search-field select:focus{
  border-color:#b48a24;
  box-shadow:0 0 0 3px rgba(180,138,36,.12);
}
.advanced-filter-box{
  margin-top:18px;
  border:1px solid #dce4ee;
  border-radius:12px;
  background:#fff;
}
.advanced-filter-box summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:15px 16px;
  cursor:pointer;
  list-style:none;
  font-weight:900;
  color:#18395f;
}
.advanced-filter-box summary::-webkit-details-marker{display:none}
.advanced-filter-box summary:after{
  content:"+";
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:#eef3f8;
  font-size:18px;
  line-height:1;
}
.advanced-filter-box[open] summary:after{content:"−"}
.advanced-filter-box summary small{
  margin-left:auto;
  color:#7a8798;
  font-weight:500;
}
.advanced-filter-box[open] summary{
  border-bottom:1px solid #edf1f6;
}
.advanced-filter-box .advanced-search-grid{
  padding:0 16px 16px;
}
.order-search-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #e2e8f0;
}
.search-primary-btn{
  min-width:150px;
  text-align:center;
}
.search-reset-btn{
  min-width:120px;
  text-align:center;
}
.order-result-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0 0 22px;
}
.order-result-summary>div{
  padding:15px 17px;
  border:1px solid #e0e6ee;
  border-radius:13px;
  background:#fff;
}
.order-result-summary span{
  display:block;
  color:#718096;
  font-size:12px;
  font-weight:700;
  margin-bottom:4px;
}
.order-result-summary b{
  color:#0d284a;
  font-size:22px;
}
.orders-result-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:6px 0 8px;
  padding-bottom:12px;
  border-bottom:1px solid #e8edf3;
}

@media(max-width:1100px){
  .quick-search-grid,
  .advanced-search-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:650px){
  .order-search-heading,
  .search-section-title,
  .orders-result-heading{
    align-items:flex-start;
    flex-direction:column;
  }
  .quick-search-grid,
  .advanced-search-grid,
  .order-result-summary{
    grid-template-columns:1fr;
  }
  .advanced-filter-box summary small{display:none}
  .order-search-actions{
    justify-content:stretch;
    flex-direction:column;
  }
  .order-search-actions .btn{
    width:100%;
    box-sizing:border-box;
  }
}


/* V24.14 — keep catalog filters/results in view after reload */
#products{
  scroll-margin-top:96px;
}


/* V24.18 — ajout de nouveaux produits */
.new-product-form{
  max-width:980px;
  margin:0 auto;
}
.new-product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 18px;
}
.new-product-grid label{
  display:grid;
  gap:7px;
  font-weight:700;
  font-size:13px;
}
.new-product-grid input:not([type="checkbox"]),
.new-product-grid textarea,
.new-product-grid select{
  width:100%;
  box-sizing:border-box;
  min-width:0;
}
.new-product-image-field{
  grid-column:1 / -1;
}
.new-product-description{
  grid-column:1 / -1;
}
.product-admin-card textarea,
.new-product-grid textarea{
  resize:vertical;
  min-height:96px;
  line-height:1.45;
}
.product-description-text{
  white-space:pre-line;
}
.new-product-active{
  grid-column:1 / -1;
  padding-top:2px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:flex-start;
  gap:8px!important;
  width:max-content;
  max-width:100%;
  white-space:normal;
}
.new-product-active input[type="checkbox"]{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  flex:0 0 18px;
  margin:0;
  padding:0;
}
.new-product-note{
  margin-top:18px;
  padding:14px 16px;
  border-radius:12px;
  background:#f6f2df;
  line-height:1.5;
}
.new-product-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
@media(max-width:760px){
  .new-product-grid{grid-template-columns:1fr}
  .new-product-image-field,
  .new-product-active{grid-column:auto}
}


/* V24.20 — recherche dans le stock par agence */
.agency-stock-search{
  margin:0 0 18px;
  padding:16px;
}
.agency-stock-search-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:end;
}
.agency-stock-search-form label{
  display:grid;
  gap:7px;
  font-size:13px;
  font-weight:700;
}
.agency-stock-search-form input[type="search"]{
  width:100%;
  box-sizing:border-box;
  min-height:44px;
}
.agency-stock-search-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.agency-stock-search-summary{
  margin-top:12px;
  font-size:13px;
}
.agency-stock-empty{
  margin:0 0 18px;
  padding:18px;
}
@media(max-width:760px){
  .agency-stock-search-form{
    grid-template-columns:1fr;
  }
  .agency-stock-search-actions .btn{
    flex:1 1 auto;
  }
}


/* V24.27 — navigation panier/catalogue */
.cart-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}


/* V24.30 — ajout au panier sans déplacement */
.nav-cart-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.cart-count{
  display:inline-flex;
  min-width:20px;
  height:20px;
  padding:0 6px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  line-height:1;
  background:var(--gold, #d7b35a);
  color:#07101d;
}
.cart-count.is-empty{
  display:none;
}
.js-cart-add .btn.adding{
  opacity:.72;
  cursor:wait;
}
.inline-cart-notice{
  position:absolute;
  z-index:8;
  left:14px;
  right:14px;
  bottom:14px;
  padding:9px 12px;
  border-radius:9px;
  text-align:center;
  font-size:13px;
  font-weight:700;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
  transition:opacity .25s ease;
}
.inline-cart-notice.success{
  background:#eef9f1;
  color:#195b2a;
  border:1px solid #9cd3a8;
}
.inline-cart-notice.warning{
  background:#fff5e6;
  color:#7a4a00;
  border:1px solid #e8bd73;
}
.inline-cart-notice.fade{
  opacity:0;
}
.product-card,
.product-info-panel{
  position:relative;
}


/* V24.35 — Réception fournisseur (mise en page professionnelle) */
.supplier-agency-form{
  display:flex;
  align-items:end;
  gap:12px;
  flex-wrap:wrap;
}
.supplier-agency-form label,
.supplier-receipt-form label,
.supplier-search-row label{
  display:flex;
  flex-direction:column;
  gap:7px;
  font-weight:700;
}
.supplier-agency-form label{
  min-width:min(520px,100%);
  flex:1;
}
.supplier-receipt-form input,
.supplier-receipt-form select,
.supplier-receipt-form textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid #cdd6e3;
  border-radius:10px;
  background:#fff;
  font:inherit;
  color:#0f2747;
}
.supplier-receipt-form textarea{
  resize:vertical;
  min-height:72px;
}
.supplier-receipt-top{
  display:grid;
  grid-template-columns:minmax(280px,340px) minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.supplier-agency-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px 18px;
  background:#fbfcff;
  border:1px solid rgba(215,179,90,.35);
  border-radius:14px;
  box-shadow:0 6px 20px rgba(18,35,60,.05);
}
.supplier-agency-card strong{
  font-size:15px;
}
.supplier-agency-card span:last-child{
  font-size:15px;
  line-height:1.35;
}
.supplier-meta-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(220px,1fr));
  gap:16px;
  align-items:start;
}
.supplier-meta-grid>label{
  min-width:0;
}
.supplier-meta-grid>label>span{
  font-size:14px;
  color:#12233c;
}
.supplier-note-field{
  grid-column:1/-1;
}
.supplier-search-row{
  display:flex;
  gap:14px;
  align-items:end;
  margin:22px 0 12px;
}
.supplier-search-row label{
  flex:1;
}
.supplier-selected-summary{
  min-width:170px;
  padding:11px 14px;
  border:1px solid rgba(215,179,90,.3);
  border-radius:12px;
  text-align:center;
  background:#fbfcff;
}
.supplier-selected-summary span{
  display:block;
  font-size:12px;
  opacity:.75;
}
.supplier-selected-summary b{
  font-size:24px;
}
.supplier-product-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:650px;
  overflow:auto;
  padding-right:4px;
}
.supplier-product-row{
  display:grid;
  grid-template-columns:70px minmax(220px,1fr) 130px 160px;
  gap:14px;
  align-items:center;
  border:1px solid #e7edf5;
  border-radius:12px;
  padding:12px;
  background:#fff;
}
.supplier-product-row[hidden]{
  display:none !important;
}
.supplier-product-image{
  width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:9px;
  background:rgba(255,255,255,.04);
}
.supplier-product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.supplier-product-info{
  min-width:0;
}
.supplier-product-info strong,
.supplier-product-info small{
  display:block;
}
.supplier-current-stock{
  text-align:center;
}
.supplier-current-stock span,
.supplier-qty span{
  display:block;
  font-size:12px;
  opacity:.75;
  margin-bottom:5px;
}
.supplier-current-stock b{
  font-size:22px;
}
.supplier-qty input{
  text-align:center;
  font-weight:800;
}
.supplier-receipt-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:18px;
  flex-wrap:wrap;
}
.supplier-receipt-warning{
  max-width:760px;
  font-size:13px;
  opacity:.78;
}
.supplier-history-title{
  margin-bottom:8px;
}
@media (max-width:980px){
  .supplier-receipt-top{
    grid-template-columns:1fr;
  }
}
@media (max-width:900px){
  .supplier-meta-grid{
    grid-template-columns:1fr;
  }
  .supplier-note-field{
    grid-column:auto;
  }
  .supplier-product-row{
    grid-template-columns:60px minmax(150px,1fr) 95px;
  }
  .supplier-qty{
    grid-column:2/-1;
  }
}


/* V24.37 — protection double validation réception fournisseur */
#supplier-receipt-submit.is-processing,
#supplier-receipt-submit:disabled{
  opacity:.72;
  cursor:wait;
  pointer-events:none;
}


/* V24.42 — Professional brand sections inspired by the official brand universes */
.brand-home-sections{
  width:100%;
  margin:0;
  padding:0;
}
.brand-showcase-section{
  width:100%;
  position:relative;
  overflow:hidden;
}
.brand-site-shell{
  width:min(1240px, calc(100% - 48px));
  margin:0 auto;
}
.brand-showcase-section.active{
  box-shadow:inset 0 0 0 3px rgba(216,178,76,.35);
}
.brand-mini-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  min-height:48px;
  border-top:1px solid;
  border-bottom:1px solid;
}
.brand-mini-nav a{
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.brand-editorial{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:52px;
  align-items:center;
  padding:58px 0 68px;
}
.brand-editorial-copy{
  min-width:0;
}
.brand-editorial-eyebrow{
  display:block;
  margin-bottom:16px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.brand-editorial-copy h2{
  margin:0 0 18px;
  font-size:clamp(36px,4.2vw,62px);
  line-height:1.02;
  letter-spacing:-.035em;
}
.brand-editorial-copy p{
  margin:0;
  max-width:620px;
  font-size:16px;
  line-height:1.75;
}
.brand-editorial-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:18px;
  margin-top:28px;
}
.brand-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 24px;
  border:1px solid;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  letter-spacing:.075em;
  text-transform:uppercase;
  transition:transform .15s ease, opacity .15s ease, background .15s ease;
}
.brand-cta:hover{
  transform:translateY(-1px);
  opacity:.93;
}
.brand-count{
  font-size:13px;
  font-weight:700;
}
.brand-product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.brand-product-tile{
  display:flex;
  flex-direction:column;
  min-width:0;
  text-decoration:none;
  transition:transform .16s ease, box-shadow .16s ease;
}
.brand-product-tile:hover{
  transform:translateY(-3px);
}
.brand-product-image{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:220px;
  padding:18px;
  overflow:hidden;
}
.brand-product-image img{
  width:100%;
  height:205px;
  object-fit:contain;
}
.brand-product-tile small{
  margin:16px 16px 4px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.68;
}
.brand-product-tile strong{
  margin:0 16px;
  font-size:15px;
  line-height:1.4;
}
.brand-product-tile>span{
  margin:8px 16px 18px;
  font-size:15px;
  font-weight:800;
}
.brand-empty-premium{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:330px;
  padding:44px;
  text-align:center;
}
.brand-empty-premium strong{
  margin-top:22px;
  font-size:20px;
}
.brand-empty-premium>span{
  margin-top:9px;
  max-width:520px;
  font-size:14px;
  line-height:1.65;
  opacity:.72;
}
.empty-monogram{
  font-size:clamp(28px,3vw,46px);
  font-weight:800;
  letter-spacing:-.045em;
}

/* L'Oréal Paris-inspired section: strict black/white, editorial, product-first */
.loreal-showcase{
  background:#fff;
  color:#090909;
  border-top:1px solid #dedede;
  border-bottom:1px solid #dedede;
}
.loreal-wordmark-row{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:110px;
}
.loreal-wordmark{
  color:#050505;
  font-size:clamp(34px,4.1vw,58px);
  font-weight:700;
  letter-spacing:-.055em;
  line-height:1;
}
.loreal-wordmark span{
  display:block;
  margin-top:4px;
  text-align:center;
  font-size:.27em;
  font-weight:700;
  letter-spacing:.48em;
  padding-left:.48em;
}
.loreal-mini-nav{
  border-color:#dadada;
}
.loreal-mini-nav a{
  color:#0a0a0a;
}
.loreal-editorial{
  padding-top:62px;
}
.loreal-editorial .brand-editorial-eyebrow{
  color:#555;
}
.loreal-editorial .brand-editorial-copy h2{
  font-weight:500;
}
.loreal-editorial .brand-editorial-copy p{
  color:#3a3a3a;
}
.loreal-cta{
  background:#050505;
  color:#fff;
  border-color:#050505;
}
.loreal-product-tile{
  background:#f6f6f6;
  color:#0a0a0a;
  border:1px solid #e5e5e5;
}
.loreal-product-tile:hover{
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}
.loreal-product-tile .brand-product-image{
  background:#fff;
}
.loreal-empty{
  background:#f5f5f5;
  border:1px solid #dedede;
  color:#111;
}
.loreal-empty .empty-monogram{
  border-bottom:1px solid #111;
  padding-bottom:14px;
}

/* Guinot-inspired section: white, professional red, beauty-institute editorial feel */
.guinot-showcase{
  background:#fff;
  color:#2a2023;
  border-bottom:1px solid #eadcdf;
}
.guinot-accent-line{
  width:100%;
  height:7px;
  background:#a71930;
}
.guinot-wordmark-row{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:112px;
}
.guinot-wordmark{
  color:#a71930;
  font-family:Georgia, 'Times New Roman', serif;
  font-size:clamp(38px,4.3vw,62px);
  font-weight:500;
  letter-spacing:.02em;
}
.guinot-wordmark span{
  display:block;
  margin-top:2px;
  text-align:center;
  color:#7a2737;
  font-family:Arial, sans-serif;
  font-size:.21em;
  letter-spacing:.55em;
  padding-left:.55em;
}
.guinot-mini-nav{
  border-color:#eadcdf;
}
.guinot-mini-nav a{
  color:#6b2634;
}
.guinot-editorial{
  padding-top:60px;
}
.guinot-copy .brand-editorial-eyebrow{
  color:#a71930;
}
.guinot-copy h2{
  color:#8d1630;
  font-family:Georgia, 'Times New Roman', serif;
  font-weight:500;
  letter-spacing:-.02em;
}
.guinot-copy p{
  color:#544247;
}
.guinot-feature-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}
.guinot-feature-pills span{
  padding:7px 11px;
  border:1px solid #dfbdc4;
  color:#8d1630;
  font-size:11px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.guinot-cta{
  background:#a71930;
  color:#fff;
  border-color:#a71930;
}
.guinot-count{
  color:#7d2e3d;
}
.guinot-product-tile{
  background:#fff;
  color:#2b2023;
  border:1px solid #eadcdf;
}
.guinot-product-tile:hover{
  box-shadow:0 12px 30px rgba(133,22,48,.10);
}
.guinot-product-tile .brand-product-image{
  background:#fbf7f8;
}
.guinot-product-tile>span{
  color:#9a1730;
}
.guinot-empty{
  background:#fbf7f8;
  border:1px solid #e4c7cd;
  color:#3b292e;
}
.guinot-empty-logo{
  color:#a71930;
  font-family:Georgia, 'Times New Roman', serif;
  font-weight:500;
}
.guinot-empty-logo span{
  display:block;
  margin-top:6px;
  font-family:Arial, sans-serif;
  font-size:.34em;
  letter-spacing:.45em;
  padding-left:.45em;
}

/* KAY-SOK SELECT — premium other-brands section, same editorial level as L’Oréal / Guinot */
.others-showcase{
  background:#fff;
  color:#102238;
  border-bottom:1px solid #dfe6ee;
}
.others-accent-line{
  width:100%;
  height:7px;
  background:linear-gradient(90deg,#071a2f 0%,#163b61 58%,#d2ad4f 100%);
}
.others-shell{
  padding-bottom:0;
}
.others-wordmark-row{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:112px;
}
.others-wordmark{
  color:#071a2f;
  font-size:clamp(36px,4.1vw,60px);
  font-weight:800;
  letter-spacing:-.055em;
  line-height:1;
}
.others-wordmark span{
  display:block;
  margin-top:5px;
  color:#b38c2a;
  text-align:center;
  font-size:.23em;
  font-weight:800;
  letter-spacing:.48em;
  padding-left:.48em;
}
.others-mini-nav{
  border-color:#dde5ed;
}
.others-mini-nav a{
  color:#0b2b4b;
}
.others-editorial{
  padding-top:60px;
}
.others-copy .brand-editorial-eyebrow{
  color:#a47f22;
}
.others-copy h2{
  color:#071a2f;
  font-weight:600;
}
.others-copy p{
  color:#4e5f72;
}
.others-feature-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}
.others-feature-pills span{
  padding:7px 11px;
  border:1px solid #d7c083;
  background:#fffaf0;
  color:#7e6117;
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.others-cta{
  background:#071a2f;
  color:#fff;
  border-color:#071a2f;
}
.others-count{
  color:#8d6d1c;
}
.others-product-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.others-product-tile{
  background:#fff;
  color:#10243b;
  border:1px solid #dfe6ee;
  box-shadow:0 10px 26px rgba(7,26,47,.07);
}
.others-product-tile:hover{
  box-shadow:0 14px 34px rgba(7,26,47,.12);
}
.others-product-tile .brand-product-image{
  background:linear-gradient(180deg,#fbfcfe 0%,#f2f5f8 100%);
}
.others-product-tile small{
  color:#6b7785;
}
.others-product-tile>span{
  color:#9a7618;
}
.others-empty{
  background:linear-gradient(135deg,#f8fafc 0%,#fffaf0 100%);
  border:1px solid #d9c789;
  color:#10243b;
}
.others-empty-logo{
  color:#071a2f;
  font-weight:800;
}
.others-empty-logo span{
  display:block;
  margin-top:5px;
  color:#b38c2a;
  font-size:.34em;
  letter-spacing:.45em;
  padding-left:.45em;
}

@media(max-width:1050px){
  .brand-editorial{
    grid-template-columns:1fr;
    gap:32px;
  }
  .others-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:720px){
  .brand-site-shell{
    width:min(100% - 28px,1240px);
  }
  .brand-mini-nav{
    justify-content:flex-start;
    gap:22px;
    overflow-x:auto;
    padding:0 2px;
  }
  .brand-editorial{
    padding:40px 0 48px;
  }
  .brand-product-grid,
  .others-product-grid{
    grid-template-columns:1fr;
  }
  .brand-product-image{
    min-height:190px;
  }
  .brand-product-image img{
    height:175px;
  }
  .others-heading-row{
    align-items:flex-start;
    flex-direction:column;
  }
  .brand-empty-premium{
    min-height:240px;
    padding:28px 20px;
  }
}


/* V24.44 — Homepage = company presentation + 3 brand names only */
.home-landing{
  background:#f6f7f9;
}
.company-landing-section{
  background:#fff;
  padding:74px 24px 68px;
  border-bottom:1px solid #e6e9ee;
}
.company-landing-shell{
  width:min(1180px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:64px;
  align-items:center;
}
.company-landing-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:320px;
  border-radius:26px;
  background:linear-gradient(145deg,#06162a,#0f2f51);
  box-shadow:0 24px 50px rgba(9,29,50,.16);
}
.company-landing-logo img{
  width:min(225px,78%);
  height:auto;
  object-fit:contain;
}
.company-landing-copy h1{
  margin:8px 0 22px;
  color:#071a2f;
  font-size:clamp(34px,4.4vw,62px);
  line-height:1.03;
  letter-spacing:-.04em;
}
.company-landing-copy>p{
  margin:0 0 14px;
  color:#405066;
  font-size:15px;
  line-height:1.8;
}
.company-contact-premium{
  margin-top:26px;
  padding:18px 20px;
  border-left:4px solid #d0a63d;
  border-radius:0 12px 12px 0;
  background:#fbf7e9;
}
.home-referral{
  margin-top:22px;
}
.home-brand-gateways{
  padding:70px 24px 82px;
  background:#f6f7f9;
}
.home-brand-gateways-shell{
  width:min(1180px,100%);
  margin:0 auto;
}
.home-brand-gateways-heading{
  text-align:center;
  margin-bottom:34px;
}
.home-brand-gateways-heading h2{
  margin:8px 0 0;
  color:#071a2f;
  font-size:clamp(30px,3.8vw,50px);
  letter-spacing:-.035em;
}
.home-brand-name-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.home-brand-name{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:116px;
  padding:0 34px;
  border:1px solid #dfe4ea;
  border-radius:18px;
  background:#fff;
  color:#111;
  text-decoration:none;
  box-shadow:0 12px 30px rgba(10,30,50,.06);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.home-brand-name:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(10,30,50,.10);
}
.home-brand-name span{
  font-size:clamp(28px,4vw,56px);
  font-weight:700;
  letter-spacing:-.035em;
}
.home-brand-name b{
  font-size:30px;
  font-weight:400;
}
.home-brand-name-loreal{
  background:#0a0a0a;
  color:#fff;
  border-color:#0a0a0a;
}
.home-brand-name-loreal span{
  letter-spacing:-.05em;
}
.home-brand-name-guinot{
  color:#9e1931;
  border-color:#e6c5cc;
  background:#fff;
}
.home-brand-name-guinot span{
  font-family:Georgia,'Times New Roman',serif;
  font-weight:500;
  letter-spacing:.005em;
}
.home-brand-name-autres{
  color:#071a2f;
  border-color:#d4b65e;
  background:linear-gradient(90deg,#fff 0%,#fff 75%,#fbf5df 100%);
}
.home-brand-name-autres b{
  color:#b08b2e;
}

/* Dedicated brand pages */
.brand-dedicated-page{
  min-height:70vh;
  background:#fff;
}
.brand-dedicated-hero{
  padding:0 24px;
}
.brand-dedicated-shell{
  width:min(1240px,100%);
  margin:0 auto;
  padding:28px 0 64px;
}
.brand-back-home{
  display:inline-flex;
  margin-bottom:42px;
  color:inherit;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.brand-dedicated-wordmark{
  text-align:center;
  margin:12px 0 54px;
  font-size:clamp(48px,7vw,94px);
  font-weight:700;
  letter-spacing:-.06em;
  line-height:.95;
}
.brand-dedicated-intro{
  max-width:820px;
  margin:0 auto;
  text-align:center;
}
.brand-dedicated-intro h1{
  margin:12px 0 18px;
  font-size:clamp(34px,4.3vw,58px);
  line-height:1.05;
  letter-spacing:-.04em;
}
.brand-dedicated-intro p{
  margin:0 auto;
  max-width:700px;
  font-size:16px;
  line-height:1.75;
}
.brand-dedicated-catalog{
  padding:54px 0 80px;
}
.brand-catalog-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.brand-catalog-heading h2{
  margin:6px 0 0;
  font-size:clamp(28px,3.2vw,44px);
}
.brand-page-filters{
  margin-bottom:14px;
}
.brand-catalog-summary{
  margin-bottom:20px;
}
.brand-empty-catalog{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:260px;
  padding:44px;
  border:1px solid #e3e7ec;
  border-radius:18px;
  text-align:center;
  background:#fff;
}
.brand-empty-catalog strong{
  font-size:22px;
}
.brand-empty-catalog span{
  max-width:620px;
  margin-top:10px;
  line-height:1.7;
  color:#67758a;
}

.brand-dedicated-loreal .brand-dedicated-hero{
  background:#050505;
  color:#fff;
}
.brand-dedicated-loreal .brand-dedicated-wordmark{
  color:#fff;
}
.brand-dedicated-loreal .brand-dedicated-catalog{
  background:#f5f5f5;
}
.brand-dedicated-loreal .brand-product-main-grid .card{
  border-color:#dedede;
}

.brand-dedicated-guinot .brand-dedicated-hero{
  background:#fff;
  color:#4a242c;
  border-top:7px solid #a71930;
  border-bottom:1px solid #eadcdf;
}
.brand-dedicated-guinot .brand-dedicated-wordmark,
.brand-dedicated-guinot .brand-dedicated-intro h1{
  color:#a71930;
  font-family:Georgia,'Times New Roman',serif;
  font-weight:500;
  letter-spacing:.005em;
}
.brand-dedicated-guinot .brand-dedicated-catalog{
  background:#fbf7f8;
}

.brand-dedicated-autres .brand-dedicated-hero{
  color:#fff;
  background:linear-gradient(135deg,#06182c 0%,#12385e 60%,#9a7b2d 100%);
}
.brand-dedicated-autres .brand-dedicated-wordmark{
  color:#fff;
  font-weight:800;
}
.brand-dedicated-autres .brand-dedicated-catalog{
  background:#f6f7f9;
}
.brand-dedicated-autres .brand-editorial-eyebrow{
  color:#f1d57f;
}

@media (max-width:900px){
  .company-landing-shell{
    grid-template-columns:1fr;
    gap:34px;
  }
  .company-landing-logo{
    min-height:250px;
  }
  .company-landing-copy{
    text-align:left;
  }
  .brand-catalog-heading{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media (max-width:640px){
  .company-landing-section,
  .home-brand-gateways{
    padding-left:16px;
    padding-right:16px;
  }
  .home-brand-name{
    min-height:92px;
    padding:0 20px;
  }
  .home-brand-name span{
    font-size:28px;
  }
  .brand-dedicated-hero{
    padding-left:16px;
    padding-right:16px;
  }
  .brand-dedicated-wordmark{
    font-size:46px;
    margin-bottom:38px;
  }
}

/* V24.45 — distinct brand experiences */
.home-brand-gateways-heading{margin-bottom:20px}
.home-brand-gateways-heading h2{display:none}
.home-brand-name{justify-content:center;min-height:108px}
.home-brand-name span{text-align:center}
.home-brand-name b{display:none}

.brand-switcher{background:#fff;border-bottom:1px solid #e6e8ec;position:sticky;top:0;z-index:18}
.brand-switcher-inner{width:min(1240px,100%);margin:0 auto;display:flex;align-items:center;justify-content:center;gap:0;padding:0 18px;overflow:auto}
.brand-switcher a{white-space:nowrap;text-decoration:none;color:#273244;padding:14px 20px;font-size:12px;font-weight:800;letter-spacing:.055em;text-transform:uppercase;border-bottom:2px solid transparent}
.brand-switcher a.active{border-bottom-color:currentColor}
.brand-switcher-home{margin-right:auto!important;color:#99772c!important}

.brand-local-nav{display:flex;justify-content:center;align-items:center;gap:26px;flex-wrap:wrap;margin:-22px auto 46px;padding:14px 0;border-top:1px solid currentColor;border-bottom:1px solid currentColor;max-width:960px}
.brand-local-nav a{color:inherit;text-decoration:none;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.brand-local-nav a:hover{text-decoration:underline;text-underline-offset:5px}

.brand-editorial-panel{padding:0}
.brand-editorial-shell{width:min(1240px,100%);margin:0 auto;min-height:260px;padding:42px 28px;display:grid;gap:28px;align-items:center}
.brand-editorial-copy h2{font-size:clamp(30px,4vw,54px);line-height:1.04;margin:8px 0 15px;letter-spacing:-.04em}
.brand-editorial-copy p{font-size:15px;line-height:1.75;margin:0;max-width:760px}

/* L'Oréal-style experience: strict black / white, category-led */
.brand-dedicated-loreal .brand-switcher{background:#050505;border-color:#252525}
.brand-dedicated-loreal .brand-switcher a{color:#fff}
.brand-dedicated-loreal .brand-switcher-home{color:#fff!important}
.brand-dedicated-loreal .brand-local-nav{color:#fff;border-color:#5b5b5b}
.brand-dedicated-loreal .brand-editorial-panel{background:#fff;color:#111;border-bottom:1px solid #ddd}
.brand-dedicated-loreal .brand-editorial-shell{grid-template-columns:1fr 1.2fr}
.loreal-editorial-copy>span{display:block;font-size:12px;letter-spacing:.28em;font-weight:900}
.loreal-category-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #111;border-left:1px solid #111}
.loreal-category-cards a{min-height:110px;padding:22px;display:flex;flex-direction:column;justify-content:space-between;text-decoration:none;color:#111;border-right:1px solid #111;border-bottom:1px solid #111;background:#fff;transition:background .15s ease,color .15s ease}
.loreal-category-cards a:hover{background:#111;color:#fff}
.loreal-category-cards strong{font-size:21px;text-transform:uppercase}
.loreal-category-cards span{font-size:12px}
.brand-dedicated-loreal .brand-product-main-grid .card{border-radius:0;box-shadow:none;background:#fff}
.brand-dedicated-loreal .brand-product-main-grid .image-button{background:#f0f0f0}

/* Guinot-style experience: white / signature red, editorial skincare */
.brand-dedicated-guinot .brand-switcher{background:#fff;border-color:#eadcdf}
.brand-dedicated-guinot .brand-switcher a{color:#7b2635}
.brand-dedicated-guinot .brand-switcher-home{color:#a71930!important}
.brand-dedicated-guinot .brand-local-nav{color:#8d1c30;border-color:#dcc0c6}
.brand-dedicated-guinot .brand-editorial-panel{background:#f9f1f3;color:#5c2631;border-top:1px solid #eddde1;border-bottom:1px solid #e5cfd4}
.brand-dedicated-guinot .brand-editorial-shell{grid-template-columns:230px 1fr;max-width:1100px}
.guinot-editorial-mark{width:180px;height:180px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#a71930;color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:94px;line-height:1;box-shadow:0 16px 34px rgba(112,25,42,.15)}
.guinot-editorial-copy>span{font-size:12px;letter-spacing:.18em;color:#a71930;font-weight:800}
.guinot-editorial-copy h2{font-family:Georgia,'Times New Roman',serif;color:#9d1b30;font-weight:500;letter-spacing:0}
.guinot-editorial-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.guinot-editorial-pills a{border:1px solid #be8793;border-radius:999px;padding:9px 13px;color:#8f2639;text-decoration:none;font-size:12px;font-weight:700;background:#fff}
.brand-dedicated-guinot .brand-product-main-grid .card{border-color:#eadcdf;box-shadow:0 8px 22px rgba(106,32,47,.06)}

/* KAY-SOK Select / other brands: own premium identity */
.brand-dedicated-autres .brand-switcher{background:#07192d;border-color:#193b5e}
.brand-dedicated-autres .brand-switcher a{color:#f4ead0}
.brand-dedicated-autres .brand-switcher-home{color:#d8ba64!important}
.brand-dedicated-autres .brand-local-nav{color:#f4e4b5;border-color:#7f6b36}
.brand-dedicated-autres .brand-editorial-panel{background:#f3efe4;color:#07192d;border-bottom:1px solid #d9cba8}
.brand-dedicated-autres .brand-editorial-shell{grid-template-columns:1.08fr .92fr;max-width:1160px}
.other-editorial-label{display:block;color:#9a7827;font-size:12px;font-weight:900;letter-spacing:.25em}
.other-editorial-copy h2{font-family:Georgia,'Times New Roman',serif;color:#07192d;font-weight:500;letter-spacing:-.02em}
.other-editorial-categories{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}
.other-editorial-categories a{display:flex;gap:14px;align-items:center;background:#07192d;color:#fff;text-decoration:none;padding:10px 14px;border-radius:4px;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.other-editorial-categories b{color:#e1c56f}
.other-family-list{background:#07192d;color:#fff;padding:24px 26px;border-radius:4px;box-shadow:0 18px 35px rgba(7,25,45,.13)}
.other-family-list>.eyebrow{color:#e1c56f}
.other-family-list>a{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.13);color:#fff;text-decoration:none}
.other-family-list>a:last-of-type{border-bottom:0}
.other-family-list>a b{color:#e1c56f}
.other-family-list p{color:#dfe6ee;line-height:1.6}
.brand-dedicated-autres .brand-product-main-grid .card{border-color:#d8cfba;box-shadow:0 10px 25px rgba(7,25,45,.07)}

/* Product detail keeps the identity of the selected brand */
.product-detail-brand-loreal .breadcrumb a{color:#111}
.product-detail-brand-loreal .product-info-panel{border-top:4px solid #111}
.product-detail-brand-guinot .breadcrumb a{color:#a71930}
.product-detail-brand-guinot .product-info-panel{border-top:4px solid #a71930}
.product-detail-brand-autres .breadcrumb a{color:#8d6d25}
.product-detail-brand-autres .product-info-panel{border-top:4px solid #b8923c}

@media(max-width:900px){
  .brand-dedicated-loreal .brand-editorial-shell,
  .brand-dedicated-guinot .brand-editorial-shell,
  .brand-dedicated-autres .brand-editorial-shell{grid-template-columns:1fr}
  .guinot-editorial-mark{width:120px;height:120px;font-size:64px;margin:0 auto}
  .brand-switcher-home{margin-right:0!important}
  .brand-switcher-inner{justify-content:flex-start}
}
@media(max-width:640px){
  .brand-local-nav{gap:14px;margin-bottom:30px}
  .loreal-category-cards{grid-template-columns:1fr}
  .brand-editorial-shell{padding:30px 18px}
}

/* V24.46 — AUTRES MARQUES: luxury black/white editorial direction inspired by
   classic Parisian luxury e-commerce. No third-party logo/artwork is copied. */
.home-brand-name-autres{
  color:#000;
  border:1px solid #000;
  background:#fff;
  box-shadow:none;
}
.home-brand-name-autres:hover{
  color:#fff;
  background:#000;
  border-color:#000;
  box-shadow:none;
}
.home-brand-name-autres span{
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.brand-dedicated-autres{
  background:#fff;
  color:#000;
}
.brand-dedicated-autres .brand-switcher{
  background:#000;
  border-color:#000;
}
.brand-dedicated-autres .brand-switcher a,
.brand-dedicated-autres .brand-switcher-home{
  color:#fff!important;
}
.brand-dedicated-autres .brand-switcher a.active{
  border-bottom-color:#fff;
}
.brand-dedicated-autres .brand-dedicated-hero{
  background:#fff;
  color:#000;
  border-top:1px solid #000;
  border-bottom:1px solid #d9d9d9;
}
.brand-dedicated-autres .brand-dedicated-shell{
  padding-top:34px;
  padding-bottom:84px;
}
.brand-dedicated-autres .brand-back-home{
  color:#000;
}
.brand-dedicated-autres .brand-dedicated-wordmark{
  color:#000;
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(44px,6.6vw,88px);
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
  margin-top:28px;
  margin-bottom:48px;
}
.brand-dedicated-autres .brand-local-nav{
  color:#000;
  border-color:#000;
  max-width:1080px;
  gap:34px;
}
.brand-dedicated-autres .brand-local-nav a{
  color:#000;
  letter-spacing:.12em;
}
.brand-dedicated-autres .brand-dedicated-intro{
  max-width:900px;
}
.brand-dedicated-autres .brand-editorial-eyebrow{
  color:#000;
  font-size:11px;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.brand-dedicated-autres .brand-dedicated-intro h1{
  color:#000;
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(36px,4.8vw,64px);
  font-weight:500;
  letter-spacing:-.035em;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}
.brand-dedicated-autres .brand-dedicated-intro p{
  color:#303030;
  max-width:680px;
}

.brand-dedicated-autres .brand-editorial-panel{
  background:#f7f7f7;
  color:#000;
  border-top:0;
  border-bottom:1px solid #d7d7d7;
}
.brand-dedicated-autres .brand-editorial-shell{
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  max-width:1180px;
  min-height:430px;
  padding:72px 30px;
  gap:70px;
}
.other-editorial-luxury{
  align-self:center;
}
.other-editorial-label{
  display:block;
  color:#000;
  font-size:11px;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin-bottom:22px;
}
.other-editorial-luxury h2{
  margin:0 0 22px;
  color:#000;
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(44px,5vw,72px);
  font-weight:500;
  letter-spacing:-.05em;
  line-height:.98;
}
.other-editorial-luxury p{
  max-width:620px;
  margin:0;
  color:#333;
  font-size:15px;
  line-height:1.85;
}
.other-editorial-index{
  background:#fff;
  border:1px solid #000;
  padding:0 28px;
  align-self:stretch;
  display:grid;
  grid-template-columns:1fr;
  align-content:center;
}
.other-index-block{
  padding:26px 0;
}
.other-index-block + .other-index-block{
  border-top:1px solid #000;
}
.other-index-title{
  display:block;
  margin-bottom:12px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.20em;
  text-transform:uppercase;
}
.other-index-block a{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:11px 0;
  color:#000;
  text-decoration:none;
  border-bottom:1px solid #dedede;
  font-size:13px;
  font-weight:700;
  letter-spacing:.025em;
  text-transform:uppercase;
}
.other-index-block a:last-of-type{
  border-bottom:0;
}
.other-index-block a:hover span{
  text-decoration:underline;
  text-underline-offset:4px;
}
.other-index-block b{
  font-weight:400;
}
.other-index-block p{
  color:#555;
  line-height:1.6;
}

.brand-dedicated-autres .brand-dedicated-catalog{
  background:#fff;
  padding-top:72px;
}
.brand-dedicated-autres .brand-catalog-heading{
  padding-bottom:24px;
  border-bottom:1px solid #000;
}
.brand-dedicated-autres .brand-catalog-heading .eyebrow{
  color:#000;
  letter-spacing:.20em;
}
.brand-dedicated-autres .brand-catalog-heading h2{
  color:#000;
  font-size:clamp(30px,4vw,52px);
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.brand-dedicated-autres .brand-catalog-heading .btn.secondary{
  border-color:#000;
  color:#000;
  background:#fff;
  border-radius:0;
}
.brand-dedicated-autres .brand-catalog-heading .btn.secondary:hover{
  background:#000;
  color:#fff;
}
.brand-dedicated-autres .brand-page-filters{
  padding:18px 0;
  border-bottom:1px solid #d9d9d9;
}
.brand-dedicated-autres .brand-page-filters input,
.brand-dedicated-autres .brand-page-filters select{
  border-radius:0;
  border-color:#cfcfcf;
  background:#fff;
  color:#000;
}
.brand-dedicated-autres .brand-page-filters .btn{
  border-radius:0;
  background:#000;
  border-color:#000;
  color:#fff;
}
.brand-dedicated-autres .brand-page-filters .btn.secondary{
  background:#fff;
  color:#000;
}
.brand-dedicated-autres .brand-catalog-summary{
  color:#555;
}

.brand-dedicated-autres .brand-product-main-grid{
  gap:34px 20px;
}
.brand-dedicated-autres .brand-product-main-grid .card{
  border:0;
  border-radius:0;
  box-shadow:none;
  background:#fff;
}
.brand-dedicated-autres .brand-product-main-grid .image-button{
  background:#f3f3f3;
  border-radius:0;
  min-height:320px;
}
.brand-dedicated-autres .brand-product-main-grid .image-button img{
  object-fit:contain;
  padding:22px;
}
.brand-dedicated-autres .brand-product-main-grid .card-body{
  text-align:center;
  padding-left:8px;
  padding-right:8px;
}
.brand-dedicated-autres .brand-product-main-grid .card-body small{
  color:#555;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.brand-dedicated-autres .brand-product-main-grid .card-body h3{
  color:#000;
  font-weight:600;
}
.brand-dedicated-autres .brand-product-main-grid .card-actions{
  justify-content:center;
}
.brand-dedicated-autres .brand-product-main-grid .btn{
  border-radius:0;
  background:#000;
  border-color:#000;
  color:#fff;
}
.brand-dedicated-autres .brand-product-main-grid .btn.secondary{
  background:#fff;
  color:#000;
}
.brand-dedicated-autres .brand-product-main-grid .btn:hover{
  opacity:.82;
}
.brand-dedicated-autres .brand-product-main-grid .product-price{
  color:#000;
  font-weight:700;
}
.brand-dedicated-autres .stock-badge{
  border-radius:0;
}

/* Product detail: same black/white identity for products from Other Brands. */
.product-detail-brand-autres .breadcrumb a{color:#000}
.product-detail-brand-autres .product-info-panel{border-top:4px solid #000}

@media(max-width:900px){
  .brand-dedicated-autres .brand-editorial-shell{
    grid-template-columns:1fr;
    gap:34px;
    padding:52px 22px;
  }
  .other-editorial-index{
    min-height:0;
  }
}
@media(max-width:640px){
  .brand-dedicated-autres .brand-dedicated-wordmark{
    font-size:34px;
    letter-spacing:.08em;
  }
  .brand-dedicated-autres .brand-local-nav{
    gap:12px;
  }
  .brand-dedicated-autres .brand-editorial-shell{
    padding:42px 18px;
  }
  .other-editorial-luxury h2{
    font-size:40px;
  }
  .brand-dedicated-autres .brand-product-main-grid .image-button{
    min-height:260px;
  }
}


/* V24.47 — invoice actions on ADMIN order detail */
.admin-order-top-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
@media (max-width:760px){
  .admin-order-top-actions{
    width:100%;
    justify-content:flex-start;
  }
}

/* V24.49 — Telegram CEO copy configuration */
.telegram-ceo-panel{
  border:1px solid rgba(196,160,70,.28);
}
.telegram-ceo-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:end;
  margin-bottom:14px;
}
.telegram-ceo-form{
  display:grid;
  grid-template-columns:minmax(260px,1fr) auto;
  gap:12px;
  align-items:end;
}
.telegram-ceo-form label{
  margin:0;
}
@media (max-width:760px){
  .telegram-ceo-actions,
  .telegram-ceo-form{
    grid-template-columns:1fr;
  }
}


/* V24.52 — catégories produits administrables */
.category-create-form{margin-bottom:18px}
.category-create-form h2{margin-top:0}
.category-create-grid{display:grid;grid-template-columns:2fr 1fr .7fr;gap:14px;margin-bottom:14px}
.category-create-grid label,.category-admin-card label{display:grid;gap:6px;font-weight:700;font-size:13px}
.category-create-grid input,.category-admin-card input[type="text"],.category-admin-card input[type="number"],.category-admin-card input[name="name_fr"]{width:100%;box-sizing:border-box}
.category-admin-list{display:grid;gap:12px}
.category-admin-card{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(220px,1.4fr) minmax(240px,1.3fr) 90px minmax(150px,.8fr);gap:12px 16px;align-items:end}
.category-code{display:grid;gap:5px;align-self:center}
.category-code small{color:#6d7b91}
.category-generated-labels{display:grid;gap:5px;font-size:12px;align-self:center;overflow-wrap:anywhere}
.category-generated-labels span{display:block}
.category-active-check{display:flex!important;align-items:center;gap:8px!important;padding-bottom:9px;white-space:nowrap}
.category-actions{grid-column:1 / -1;display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:900px){
  .category-create-grid{grid-template-columns:1fr}
  .category-admin-card{grid-template-columns:1fr 1fr}
  .category-generated-labels,.category-actions{grid-column:1 / -1}
}
@media(max-width:600px){
  .category-admin-card{grid-template-columns:1fr}
  .category-generated-labels,.category-actions{grid-column:auto}
}

/* V24.60 - multi-product stock transfer directly from Products page */
.bulk-transfer-bar{
  position:sticky;
  bottom:12px;
  z-index:25;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:0 0 18px;
  padding:12px 16px;
  border:1px solid #dbe3ed;
  border-radius:14px;
  background:rgba(255,255,255,.97);
  box-shadow:0 10px 30px #1b2e4b20;
}
.bulk-transfer-bar>div{display:grid;gap:3px}
.bulk-transfer-bar .btn:disabled{opacity:.45;cursor:not-allowed}
.product-transfer-select{
  grid-column:1 / -1;
  display:flex;
  gap:16px;
  align-items:end;
  flex-wrap:wrap;
  padding:10px 12px;
  background:#f6f8fb;
  border:1px solid #e1e7ef;
  border-radius:10px;
}
.product-transfer-select .transfer-product-check{
  display:flex!important;
  grid-auto-flow:column;
  align-items:center;
  justify-content:start;
  gap:8px!important;
  min-width:210px;
}
.product-transfer-select .transfer-product-qty{max-width:150px}
.product-transfer-select .bulk-product-qty{padding:8px 10px!important}
@media(max-width:800px){
  .bulk-transfer-bar{align-items:stretch;flex-direction:column}
  .bulk-transfer-bar .btn{width:100%}
  .product-transfer-select{align-items:stretch;flex-direction:column}
  .product-transfer-select .transfer-product-qty{max-width:none}
}

/* V24.67 - MLM multi-branch administration */
.form-grid-3{display:grid;grid-template-columns:2fr 2fr auto;gap:14px;align-items:end}
.form-grid-3 label{display:flex;flex-direction:column;gap:6px}
.seller-request-mlm{align-items:flex-start}
.seller-request-mlm .approve-seller-form{display:grid;gap:10px;min-width:min(520px,100%)}
.seller-request-mlm .approve-seller-form label{display:grid;gap:5px}
@media(max-width:800px){.form-grid-3{grid-template-columns:1fr}.seller-request-mlm .approve-seller-form{min-width:0}}

/* V24.69 - MLM organigram and seller reassignment */
.mlm-filter-form{
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(260px,1.3fr) auto auto;
  gap:12px;
  align-items:end;
}
.mlm-filter-form label{
  display:grid;
  gap:7px;
  font-weight:700;
}
.mlm-filter-form select{
  width:100%;
}
.mlm-tree-group{
  overflow:visible;
}
.mlm-tree-root,
.mlm-tree-root ul{
  list-style:none;
  margin:0;
  padding:0;
}
.mlm-tree-root{
  display:grid;
  gap:15px;
}
.mlm-tree-item{
  position:relative;
}
.mlm-tree-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:14px 16px;
  border:1px solid #dbe4ee;
  border-left:5px solid #17395f;
  border-radius:12px;
  background:#fff;
  box-shadow:0 5px 16px #17395f0d;
}
.mlm-tree-card.is-inactive{
  opacity:.66;
  border-left-color:#8c98a8;
  background:#f7f8fa;
}
.mlm-tree-main{
  min-width:0;
  display:grid;
  gap:4px;
}
.mlm-tree-name{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:baseline;
}
.mlm-tree-name strong{
  font-size:17px;
  color:#142f50;
}
.mlm-tree-name .code{
  font-weight:900;
  color:#8a6412;
}
.mlm-tree-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  color:#68778a;
  font-size:13px;
}
.mlm-children{
  margin:10px 0 0 24px;
  padding-left:16px;
  border-left:2px solid #d9e2ed;
}
.mlm-children>summary{
  cursor:pointer;
  color:#66768a;
  font-size:12px;
  font-weight:700;
  margin:0 0 10px;
}
.mlm-children>ul{
  display:grid;
  gap:10px;
}
.mlm-current-placement h2{
  margin-top:0;
}
.mlm-placement-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.mlm-placement-summary>div{
  display:grid;
  gap:5px;
  padding:14px;
  border:1px solid #e0e7ef;
  border-radius:11px;
  background:#fafbfd;
}
.mlm-placement-summary small{
  color:#748295;
  font-weight:700;
}
.mlm-transfer-warning{
  margin-bottom:18px;
}
.mlm-history-table{
  min-width:820px;
}
@media(max-width:900px){
  .mlm-filter-form{grid-template-columns:1fr 1fr}
  .mlm-placement-summary{grid-template-columns:1fr}
}
@media(max-width:650px){
  .mlm-filter-form{grid-template-columns:1fr}
  .mlm-tree-card{align-items:flex-start;flex-direction:column}
  .mlm-children{margin-left:10px;padding-left:10px}
}

/* V24.90 — strict alignment of the two ADMIN order-status controls (retained in V24.91). */
.status-form{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:start;
}
.status-form .status-field{
  display:grid;
  grid-template-rows:auto 46px;
  gap:7px;
  min-width:0;
}
.status-form .status-field>label{
  display:block;
  margin:0;
  min-height:20px;
  line-height:20px;
  font-weight:700;
}
.status-form .status-field>select{
  width:100%;
  height:46px;
  min-height:46px;
  margin:0;
  box-sizing:border-box;
}
.status-form .status-note{
  grid-column:1/-1;
  margin-top:-2px;
  line-height:1.35;
}
.status-form>.referral,
.status-form>button,
.status-form>p,
.status-form>script,
.status-form>label{
  grid-column:1/-1;
}
.status-form>button.btn{
  width:min(100%,560px);
  justify-self:start;
}
@media(max-width:760px){
  .status-form{grid-template-columns:1fr}
  .status-form .status-note{grid-column:1}
}

/* V25.08 — Compact professional carrier locator */
.carrier-locator-card{
  border:1px solid #dfe5ee;
  border-radius:10px;
  background:#fff;
  padding:11px 12px;
  box-shadow:0 3px 10px rgba(31,45,61,.04);
}
.carrier-locator-heading{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-bottom:9px;
}
.carrier-locator-heading strong{display:block;font-size:.88rem;line-height:1.2;color:#14233b;font-weight:700}
.carrier-locator-heading small{display:block;margin-top:2px;color:#6d7b90;line-height:1.3;font-size:.74rem}
.carrier-locator-icon{font-size:.9rem;line-height:1.2}
.carrier-locator-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.carrier-locator-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  width:100%;
  padding:7px 10px;
  text-align:center;
  font-size:.82rem;
  font-weight:650;
  line-height:1.15;
  white-space:nowrap;
  box-sizing:border-box;
}
@media (max-width:720px){
  .carrier-locator-actions{grid-template-columns:1fr}
  .carrier-locator-btn{white-space:normal}
}
