/* grzsellerpolicy — bloc "Livraison & retour" fiche produit */
.grz-policy {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fafafa;
    font-size: 0.95rem;
    line-height: 1.5;
}
/* ---- « Vendu et expédié par [vendeur] » (en tête du bloc) ---- */
.grz-policy__soldby {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid #e6e6e6;
}
.grz-policy__soldby-logo {
    width: 40px; height: 40px; flex-shrink: 0;
    border: 1px solid #e6e6e6; background: #fff;
    display: block; overflow: hidden;
}
.grz-policy__soldby-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grz-policy__soldby-text { font-size: 0.9rem; color: #757575; }
.grz-policy__soldby-text strong { color: #111; font-weight: 700; }
.grz-policy__soldby-text a { color: #111; text-decoration: none; }
.grz-policy__soldby-text a:hover { text-decoration: underline; }
.grz-policy__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}
.grz-policy__title .material-icons {
    color: #E63946;
    font-size: 1.4rem;
}
.grz-policy__grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1.25rem;
    margin: 0;
}
.grz-policy__grid dt {
    font-weight: 600;
    color: #444;
    margin: 0;
}
.grz-policy__grid dd {
    margin: 0;
    color: #1a1a1a;
}
.grz-policy__section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ddd;
}
.grz-policy__section-title {
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #1a1a1a;
}
.grz-policy__note {
    margin: 0;
    color: #555;
}
.grz-policy__cgv {
    display: inline-block;
    margin-top: 0.75rem;
    color: #E63946;
    font-weight: 600;
    text-decoration: underline;
}

/* Badges */
.grz-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
    background: #eceff1;
    color: #37474f;
}
.grz-badge--ok {
    background: #e3f7e8;
    color: #1b7a3d;
}
.grz-badge--warn {
    background: #fff3e0;
    color: #a15c00;
}

/* Responsive : 1 colonne < 576px */
@media (max-width: 575.98px) {
    .grz-policy__grid {
        grid-template-columns: 1fr;
        gap: 0.15rem 0;
    }
    .grz-policy__grid dt {
        margin-top: 0.6rem;
    }
    .grz-policy__grid dt:first-child {
        margin-top: 0;
    }
}

/* ============================================================
   grzsellerpolicy — PAGE VENDEUR (structure La Redoute + charte Grizzliz)
   Tout est scopé sous .grz-seller-page pour ne pas polluer le reste.
   Tokens grz-* redéfinis localement (indépendant de grz-product.css).
   ============================================================ */
.grz-seller-page {
  --grz-red: #CB3435;
  --grz-white: #FFFFFF;
  --grz-off: #F5F5F5;
  --grz-border: #E8E8E8;
  --grz-text: #111111;
  --grz-sub: #757575;
  --grz-green: #1A7A3C;
  --grz-font: "Helvetica Neue", Arial, sans-serif;

  display: block;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 40px;
  background: var(--grz-white);
  color: var(--grz-text);
  font-family: var(--grz-font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.grz-seller-page * { box-sizing: border-box; }

/* Le layout vendeur enfant ne rend plus les blocs natifs Origami (image,
   titre, infos, description, lien produits). Seule la grille produits native
   subsiste, masquée (attribut hidden + garde CSS), car remplacée par la
   rangée "meilleures ventes" + le lien "voir tous les produits" du hook. */
.seller-page-info #seller-products,
#seller-products.seller-page-content { display: none !important; }

/* ---- 1. EN-TÊTE VENDEUR ---- */
.grz-seller-page .vendor-head { display: flex; align-items: center; gap: 24px; padding: 40px 0 30px; }
.grz-seller-page .vendor-logo {
  width: 96px; height: 96px; flex-shrink: 0; background: var(--grz-off);
  display: grid; place-items: center; font-weight: 900; font-size: 30px;
  letter-spacing: -0.03em; border: 1px solid var(--grz-border); border-radius: 0;
  overflow: hidden;
}
.grz-seller-page .vendor-logo--img { background: var(--grz-white); padding: 0; }
.grz-seller-page .vendor-logo--img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.grz-seller-page .vendor-id { flex: 1; min-width: 0; }
.grz-seller-page .vendor-id h1 {
  margin: 0 0 8px; font-size: 34px; font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.05; text-transform: uppercase; color: var(--grz-text);
}
.grz-seller-page .vendor-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--grz-sub); font-size: 13px; align-items: center; }
.grz-seller-page .vendor-meta .sep { opacity: .5; }
.grz-seller-page .stars { display: inline-flex; align-items: center; gap: 5px; color: var(--grz-text); font-weight: 600; }
.grz-seller-page .vendor-verified {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grz-text);
}
.grz-seller-page .vendor-cta {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px; background: var(--grz-text); color: var(--grz-white);
  border: none; border-radius: 0; font-family: var(--grz-font); font-size: 13px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background .15s; text-decoration: none;
}
.grz-seller-page .vendor-cta:hover { background: #000; color: var(--grz-white); }

/* ---- Titre de section ---- */
.grz-seller-page .sec-title { font-size: 13px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; margin: 38px 0 14px; color: var(--grz-text); }

/* ---- 2. À PROPOS ---- */
.grz-seller-page .about { font-size: 15px; line-height: 1.7; color: var(--grz-text); max-width: 760px; }
.grz-seller-page .about p { margin: 0 0 12px; }

/* ---- 3. INFORMATIONS ---- */
.grz-seller-page .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--grz-border); }
.grz-seller-page .info-cell { padding: 16px 20px; }
.grz-seller-page .info-cell + .info-cell { border-left: 1px solid var(--grz-border); }
.grz-seller-page .info-cell .k { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grz-sub); margin-bottom: 4px; }
.grz-seller-page .info-cell .v { font-size: 14px; font-weight: 600; color: var(--grz-text); }

/* ---- 4. ONGLETS ---- */
.grz-seller-page .tabs { margin-top: 38px; }
.grz-seller-page .tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--grz-border); }
.grz-seller-page .tab-btn {
  appearance: none; background: none; border: none; cursor: pointer;
  font-family: var(--grz-font); font-size: 13px; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--grz-sub);
  padding: 14px 22px; margin-bottom: -2px; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s; white-space: nowrap;
}
.grz-seller-page .tab-btn:hover { color: var(--grz-text); }
.grz-seller-page .tab-btn[aria-selected="true"] { color: var(--grz-text); border-bottom-color: var(--grz-text); }
.grz-seller-page .tab-panel { display: none; padding: 26px 2px 0; }
.grz-seller-page .tab-panel[data-active="true"] { display: block; }

.grz-seller-page .pol-rows { max-width: 620px; }
.grz-seller-page .pol-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; }
.grz-seller-page .pol-row + .pol-row { border-top: 1px solid var(--grz-border); }
.grz-seller-page .pol-row .k { color: var(--grz-sub); font-size: 14px; }
.grz-seller-page .pol-row .v { font-size: 15px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; color: var(--grz-text); }
.grz-seller-page .tag { display: inline-block; font-size: 13px; font-weight: 700; }
.grz-seller-page .tag--free { color: var(--grz-green); }
.grz-seller-page .pol-detail { margin: 20px 0 0; font-size: 14px; color: var(--grz-sub); line-height: 1.65; max-width: 620px; }
.grz-seller-page .pol-detail .lbl { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grz-text); margin-bottom: 5px; }
.grz-seller-page .pol-callout { margin-top: 18px; background: var(--grz-off); padding: 14px 16px; font-size: 13px; color: var(--grz-sub); max-width: 620px; }
.grz-seller-page .empty-reviews { color: var(--grz-sub); font-size: 14px; }

/* ---- 5. MEILLEURES VENTES ---- */
.grz-seller-page .bestsellers { margin-top: 52px; }
.grz-seller-page .bestsellers-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.grz-seller-page .bestsellers-head h3 { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; color: var(--grz-text); }
.grz-seller-page .bestsellers-head a { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--grz-text); text-decoration: none; border-bottom: 1px solid var(--grz-text); padding-bottom: 2px; }
.grz-seller-page .product-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grz-seller-page .product-card { text-decoration: none; color: inherit; }
.grz-seller-page .product-thumb { aspect-ratio: 1 / 1; background: var(--grz-off); border: 1px solid var(--grz-border); display: grid; place-items: center; overflow: hidden; }
.grz-seller-page .product-thumb svg { width: 40%; height: 40%; color: var(--grz-border); }
.grz-seller-page .product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grz-seller-page .product-card .brand { margin-top: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--grz-sub); }
.grz-seller-page .product-card .name { font-size: 13px; margin: 2px 0 6px; line-height: 1.35; color: var(--grz-text); }
.grz-seller-page .product-card .price { font-size: 14px; font-weight: 700; color: var(--grz-text); }
.grz-seller-page .product-card .price .old { color: var(--grz-sub); text-decoration: line-through; font-weight: 400; margin-right: 6px; }
.grz-seller-page .product-card .price .promo { color: var(--grz-red); }

/* ---- 6. PRODUITS (lien) ---- */
.grz-seller-page .products-cta { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-top: 2px solid var(--grz-text); }
.grz-seller-page .products-cta h4 { margin: 0 0 4px; font-size: 20px; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; color: var(--grz-text); }
.grz-seller-page .products-cta p { margin: 0; font-size: 13px; color: var(--grz-sub); }
.grz-seller-page .btn-shop {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; height: 52px; padding: 0 26px;
  background: var(--grz-text); color: var(--grz-white); border: none; border-radius: 0; font-family: var(--grz-font);
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  text-decoration: none; transition: background .15s;
}
.grz-seller-page .btn-shop:hover { background: #000; color: var(--grz-white); }
.grz-seller-page svg { display: block; }

@media (max-width: 760px) {
  .grz-seller-page .vendor-head { flex-wrap: wrap; gap: 18px; padding: 28px 0 22px; }
  .grz-seller-page .vendor-logo { width: 72px; height: 72px; font-size: 22px; }
  .grz-seller-page .vendor-id h1 { font-size: 26px; }
  .grz-seller-page .vendor-cta { width: 100%; justify-content: center; }
  .grz-seller-page .info-grid { grid-template-columns: 1fr; }
  .grz-seller-page .info-cell + .info-cell { border-left: none; border-top: 1px solid var(--grz-border); }
  .grz-seller-page .tab-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .grz-seller-page .product-row { grid-template-columns: 1fr 1fr; }
  .grz-seller-page .products-cta { flex-direction: column; align-items: stretch; }
  .grz-seller-page .btn-shop { justify-content: center; }
}

/* ---- Page vendeur (controller supplier) : masquer les résidus natifs ---- */
/* Filtres amazzingfilter + zone filtres/tri, la page vendeur n'affiche que
   notre design (en-tête + onglets + meilleures ventes). Scopé au body supplier. */
body#supplier.page-supplier #amazzing_filter,
body#supplier.page-supplier #af_url_filters,
body#supplier.page-supplier #mobile_filters,
body#supplier.page-supplier #_mobile_filters,
body#supplier.page-supplier #js-product-list-top,
body#supplier.page-supplier #js-product-list-header,
body#supplier.page-supplier .products-selection,
body#supplier.page-supplier .pagination { display: none !important; }
