/* Naturopharma v231 — finitions ciblées, sans règles globales. */

/* Bandeau de réassurance de la page d'accueil. */
.np-trust-v21 {
  border-block: 1px solid #e4ebe6 !important;
  background: #fff !important;
}

.np-trust-v21 .np-container {
  width: min(1320px, calc(100% - 48px));
}

.np-trust-v21 .np-trust-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 20px 0;
  border: 0;
}

.np-trust-v21 .np-trust-grid > div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 10px 16px;
  border-right: 1px solid #e7ede9 !important;
  background: transparent;
  text-align: left;
}

.np-trust-v21 .np-trust-grid > div:last-child {
  border-right: 0 !important;
}

.np-trust-v21 .np-trust-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #cee1d6;
  border-radius: 16px;
  background: #eef7f1;
  color: #367b55;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.np-trust-v21 .np-trust-grid > div:nth-child(even) .np-trust-icon {
  border-color: #d2e4e7;
  background: #eef6f8;
  color: #397681;
}

.np-trust-v21 .np-trust-icon svg {
  width: 34px;
  height: 34px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-trust-v21 .np-trust-icon .np-icon-soft {
  fill: currentColor;
  stroke: none;
  opacity: .06;
}

.np-trust-v21 .np-trust-icon .np-icon-accent {
  color: #64a968;
  stroke-width: 2;
}

.np-trust-v21 strong {
  max-width: 150px;
  color: #1d2923;
  font-size: 12.5px;
  font-weight: 760;
  letter-spacing: -.005em;
  line-height: 1.35;
}

/* V246 — Boutique Signature sobre.
   Ciblage direct du bloc boutique : indépendant des classes body WooCommerce. */
.np-v231-boutique {
  --shop-ink: #17261f;
  --shop-muted: #637169;
  --shop-green: #54a85d;
  --shop-green-dark: #2d7048;
  --shop-soft: #f3f8f4;
  --shop-cream: #fbfcfa;
  --shop-line: #e1e9e3;
  width: 100%;
  max-width: 100%;
  overflow: clip;
  padding-bottom: 88px;
  background: linear-gradient(180deg, #fbfdfb 0, #f7faf8 46%, #fff 100%);
  color: var(--shop-ink);
}

/* Hero — éditorial, compact, pas de vitrine gadget. */
.np-v231-boutique .np-v106-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr) !important;
  gap: clamp(38px, 5vw, 72px) !important;
  align-items: center !important;
  width: min(1220px, calc(100% - 56px));
  margin-inline: auto;
  padding: 58px 0 54px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.np-v231-boutique .np-v106-hero-content { min-width: 0; padding: 0 !important; }

.np-v231-boutique .np-v106-kicker {
  color: var(--shop-green-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.np-v231-boutique .np-v106-hero h1 {
  max-width: 680px;
  margin: 14px 0 14px;
  color: var(--shop-ink);
  font-size: clamp(46px, 4.6vw, 64px);
  font-weight: 640;
  letter-spacing: -.045em;
  line-height: .98;
}

.np-v231-boutique .np-v233-shop-descriptor {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 7px 0 20px !important;
  padding: 0 13px;
  border: 1px solid #d6e6da;
  border-radius: 999px;
  background: #f2f8f3;
  color: #356f4d !important;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1;
}

.np-v231-boutique .np-v106-hero-content > p:not(.np-v233-shop-descriptor) {
  max-width: 670px;
  margin: 0;
  color: var(--shop-muted);
  font-size: 16px;
  line-height: 1.72;
}

.np-v231-boutique .np-v106-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.np-v231-boutique .np-v106-hero-points span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #dce7df;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #425248;
  font-size: 12px;
  font-weight: 730;
  box-shadow: 0 7px 22px rgba(34,74,52,.035);
}

.np-v231-boutique .np-v106-hero-points svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: var(--shop-green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Carte de droite : univers de marque, pas de gros produit flottant. */
.np-v246-hero-panel {
  position: relative;
  min-width: 0;
  padding: 30px;
  border: 1px solid #dce7df;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(94,171,105,.12), transparent 31%),
    linear-gradient(145deg, #f5faf6 0, #edf5ef 100%);
  box-shadow: 0 24px 65px rgba(29,72,48,.10);
}

.np-v246-hero-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 21px;
}

.np-v246-hero-brand,
.np-v246-routine-list,
.np-v246-hero-link { position: relative; z-index: 1; }

.np-v246-hero-brand {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(46,112,72,.13);
}

.np-v246-hero-brand img {
  width: min(190px, 48%);
  height: auto;
  object-fit: contain;
}

.np-v246-hero-brand span {
  max-width: 145px;
  color: #4f6157;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.35;
  text-align: right;
}

.np-v246-routine-list { margin-top: 10px; }

.np-v246-routine-list a {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 22px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(46,112,72,.11);
  color: var(--shop-ink);
  text-decoration: none;
  transition: transform .18s ease, color .18s ease;
}

.np-v246-routine-list a:hover { color: var(--shop-green-dark); transform: translateX(3px); }
.np-v246-routine-list a:last-child { border-bottom: 0; }

.np-v246-routine-index {
  color: #82a48e;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.np-v246-routine-list strong {
  min-width: 0;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.25;
}

.np-v246-routine-list svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #4c8f66;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-v246-hero-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 22px;
  color: var(--shop-green-dark);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .02em;
  text-decoration: none;
}

.np-v246-hero-link span { font-size: 18px; transition: transform .18s ease; }
.np-v246-hero-link:hover span { transform: translateX(3px); }

/* Univers */
.np-v231-shop-categories {
  width: min(1220px, calc(100% - 56px));
  margin: 0 auto 34px;
  padding: 32px;
  border: 1px solid var(--shop-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(35,73,54,.05);
}

.np-v231-shop-categories-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,420px);
  gap: 42px;
  align-items: end;
  margin-bottom: 24px;
}

.np-v231-shop-categories h2 {
  margin: 7px 0 0;
  color: var(--shop-ink);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.np-v231-shop-categories-head p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 14px;
  line-height: 1.65;
}

.np-v231-shop-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}

.np-v231-shop-categories-grid > a {
  display: grid;
  grid-template-columns: 39px minmax(0,1fr) 20px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 78px;
  padding: 14px;
  border: 1px solid #e3ebe5;
  border-radius: 16px;
  background: #fbfdfb;
  color: var(--shop-ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.np-v231-shop-categories-grid > a:hover {
  border-color: #bed9c7;
  background: #f7fbf8;
  box-shadow: 0 12px 28px rgba(36,79,53,.065);
  transform: translateY(-2px);
}

.np-v231-category-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: #eef7f0;
}

.np-v231-category-mark i {
  width: 12px;
  height: 12px;
  border: 3px solid #7caf8d;
  border-radius: 50% 50% 50% 15%;
  transform: rotate(-24deg);
}

.np-v231-shop-categories-grid > a:nth-child(4n+2) .np-v231-category-mark,
.np-v231-shop-categories-grid > a:nth-child(4n+4) .np-v231-category-mark { background: #f1f7f7; }

.np-v231-category-copy { min-width: 0; }
.np-v231-category-copy strong,
.np-v231-category-copy small { display: block; }
.np-v231-category-copy strong { font-size: 14px; font-weight: 790; line-height: 1.22; }
.np-v231-category-copy small { margin-top: 4px; color: #7b8881; font-size: 11px; }

.np-v231-shop-categories-grid > a > svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #52926a;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Catalogue */
.np-v231-boutique .np-v106-shop {
  width: min(1220px, calc(100% - 56px));
  margin-inline: auto;
  padding-top: 44px;
}

.np-v231-boutique .np-v106-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.np-v231-boutique .np-v106-toolbar h2 {
  margin: 7px 0 0;
  color: var(--shop-ink);
  font-size: clamp(28px,3vw,38px);
  font-weight: 650;
  letter-spacing: -.035em;
}

.np-v231-boutique .np-v106-ordering {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.np-v231-boutique .np-v106-ordering label { color: #708078; font-size: 12px; font-weight: 750; }
.np-v231-boutique .np-v106-ordering select {
  max-width: 220px;
  min-height: 42px;
  padding: 0 38px 0 13px;
  border: 1px solid #dbe5de;
  border-radius: 12px;
  background-color: #fff;
  color: #2e3d35;
  font-size: 13px;
}

.np-v231-boutique .np-v106-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.np-v231-boutique .np-v106-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e9e3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(31,69,47,.045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.np-v231-boutique .np-v106-card:hover {
  border-color: #cbded1;
  box-shadow: 0 20px 44px rgba(31,69,47,.09);
  transform: translateY(-4px);
}

.np-v231-boutique .np-v106-card-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 310px;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, #fff 0 25%, transparent 55%),
    linear-gradient(180deg,#f5f8f5 0,#eff5f0 100%);
}

.np-v231-boutique .np-v106-card-media::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 25px;
  height: 20px;
  border-radius: 50%;
  background: rgba(28,66,44,.08);
  filter: blur(12px);
}

.np-v231-boutique .np-v106-card-media img {
  position: relative;
  z-index: 1;
  width: auto !important;
  max-width: 78% !important;
  max-height: 255px !important;
  object-fit: contain !important;
  transition: transform .25s ease;
}

.np-v231-boutique .np-v106-card:hover .np-v106-card-media img { transform: translateY(-4px) scale(1.025); }

.np-v231-boutique .np-v106-badge {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #2f754e;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.np-v231-boutique .np-v106-card-body { padding: 20px 20px 19px; }
.np-v231-boutique .np-v106-card-topline { display:flex; justify-content:space-between; gap:10px; color:#7a8980; font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.np-v231-boutique .np-v106-card h3 { margin: 9px 0 9px; font-size: 19px; line-height:1.18; letter-spacing:-.02em; }
.np-v231-boutique .np-v106-card h3 a { color:var(--shop-ink); text-decoration:none; }
.np-v231-boutique .np-v106-card-body > p { min-height: 44px; margin:0; color:#66746c; font-size:13px; line-height:1.55; }
.np-v231-boutique .np-v106-card-footer { display:flex; justify-content:space-between; gap:14px; align-items:center; margin-top:18px; padding-top:17px; border-top:1px solid #edf1ee; }
.np-v231-boutique .np-v106-price { color:var(--shop-ink); font-size:18px; font-weight:850; white-space:nowrap; }
.np-v231-boutique .np-v106-price del { color:#9ba59f; font-size:12px; font-weight:600; }
.np-v231-boutique .np-v106-price ins { text-decoration:none; }
.np-v231-boutique .np-v106-btn { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 14px; border-radius:11px; background:#eff7f1; color:#33764c; font-size:12px; font-weight:820; text-decoration:none; transition:background .18s ease,color .18s ease; }
.np-v231-boutique .np-v106-btn:hover { background:#397f54; color:#fff; }

@media (max-width: 1080px) {
  .np-trust-v21 .np-trust-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .np-trust-v21 .np-trust-grid > div:nth-child(3n) { border-right:0 !important; }
  .np-trust-v21 .np-trust-grid > div:nth-child(-n+3) { border-bottom:1px solid #e7ede9 !important; }
  .np-v231-boutique .np-v106-hero { grid-template-columns: minmax(0,1fr) minmax(320px,390px) !important; gap:34px !important; }
  .np-v231-shop-categories-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .np-v231-boutique .np-v106-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .np-v231-boutique .np-v106-hero { grid-template-columns:1fr !important; }
  .np-v246-hero-panel { width:100%; }
  .np-v231-shop-categories-head { grid-template-columns:1fr; gap:12px; }
}

@media (max-width: 720px) {
  .np-trust-v21 .np-container { width:min(100% - 28px,1320px); }
  .np-trust-v21 .np-trust-grid { grid-template-columns:1fr; padding:8px 0; }
  .np-trust-v21 .np-trust-grid > div,
  .np-trust-v21 .np-trust-grid > div:nth-child(3n) { min-height:72px; padding:9px 4px; border-right:0 !important; border-bottom:1px solid #e7ede9 !important; }
  .np-trust-v21 .np-trust-grid > div:last-child { border-bottom:0 !important; }
  .np-trust-v21 strong { max-width:none; font-size:13px; }

  .np-v231-boutique .np-v106-hero,
  .np-v231-shop-categories,
  .np-v231-boutique .np-v106-shop { width:min(100% - 30px,1220px); }
  .np-v231-boutique .np-v106-hero { gap:26px !important; padding:40px 0 34px !important; }
  .np-v231-boutique .np-v106-hero h1 { font-size:clamp(40px,12vw,52px); }
  .np-v246-hero-panel { padding:23px 20px; border-radius:22px; }
  .np-v246-hero-brand { align-items:flex-start; }
  .np-v246-hero-brand span { font-size:15px; }
  .np-v231-shop-categories { padding:23px 17px; border-radius:21px; }
  .np-v231-shop-categories-grid { grid-template-columns:1fr; }
  .np-v231-boutique .np-v106-toolbar { align-items:flex-start; flex-direction:column; }
  .np-v231-boutique .np-v106-ordering { width:100%; justify-content:space-between; }
  .np-v231-boutique .np-v106-ordering select { flex:1; max-width:none; }
  .np-v231-boutique .np-v106-grid { grid-template-columns:1fr; }
  .np-v231-boutique .np-v106-card-media { min-height:280px; }
}

@media (max-width: 460px) {
  .np-v231-boutique .np-v106-hero-points { display:grid; grid-template-columns:1fr; }
  .np-v231-boutique .np-v106-hero-points span { width:100%; justify-content:flex-start; }
  .np-v246-hero-brand { display:block; }
  .np-v246-hero-brand img { width:180px; max-width:70%; }
  .np-v246-hero-brand span { display:block; max-width:none; margin-top:14px; text-align:left; }
  .np-v231-boutique .np-v106-card-footer { align-items:flex-end; }
}
