/* 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;
}

/* Boutique : ambiance claire et clinique, sans grand aplat vert. */
body.page-template-page-boutique-premium .np-v231-boutique {
  --shop-ink: #1b2923;
  --shop-muted: #607069;
  --shop-green: #3f8b63;
  --shop-green-dark: #2e7450;
  --shop-mint: #eef7f1;
  --shop-blue: #edf6f8;
  --shop-line: #dfe8e2;
  padding-bottom: 80px;
  background: #f8fbf9;
}

body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px) !important;
  gap: 54px !important;
  align-items: center !important;
  width: min(1260px, calc(100% - 56px));
  margin-inline: auto;
  padding: 66px 0 58px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero-content {
  padding: 0 !important;
}

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

body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero h1 {
  max-width: 700px;
  margin: 14px 0 20px;
  color: var(--shop-ink);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: .98;
}

body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero-content > p {
  max-width: 700px;
  margin: 0;
  color: var(--shop-muted);
  font-size: 17px;
  line-height: 1.72;
}

body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}

body.page-template-page-boutique-premium .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 #d8e6de;
  border-radius: 999px;
  background: #fff;
  color: #405148;
  font-size: 12px;
  font-weight: 750;
}

body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero-points svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--shop-green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero-card {
  position: relative !important;
  display: block !important;
  min-height: 430px !important;
  overflow: hidden !important;
  border: 1px solid #dce7e0 !important;
  border-radius: 28px !important;
  background: #edf3ee !important;
  box-shadow: 0 26px 70px rgba(36, 75, 55, .11) !important;
}

body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero-card::after {
  background: linear-gradient(180deg, transparent 55%, rgba(20, 45, 33, .34));
}

body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero-card > div {
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
}

.np-v231-shop-categories {
  width: min(1260px, calc(100% - 56px));
  margin: 0 auto 30px;
  padding: 34px;
  border: 1px solid var(--shop-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(129, 190, 201, .12), transparent 23%),
    #fff;
  box-shadow: 0 18px 55px rgba(35, 73, 54, .055);
}

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

.np-v231-shop-categories h2 {
  margin: 7px 0 0;
  color: var(--shop-ink);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 650;
  letter-spacing: -.03em;
  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: 11px;
}

.np-v231-shop-categories-grid > a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  gap: 13px;
  align-items: center;
  min-height: 92px;
  padding: 17px;
  border: 1px solid var(--shop-line);
  border-radius: 17px;
  background: #fbfdfc;
  color: var(--shop-ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.np-v231-shop-categories-grid > a:hover {
  border-color: #b9d8c7;
  background: #f5faf7;
  transform: translateY(-2px);
}

.np-v231-category-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--shop-mint);
}

.np-v231-category-mark i {
  width: 14px;
  height: 14px;
  border: 4px solid #83b79a;
  border-radius: 50% 50% 50% 15%;
  transform: rotate(-24deg);
}

.np-v231-shop-categories-grid > a:nth-child(even) .np-v231-category-mark {
  background: var(--shop-blue);
}

.np-v231-shop-categories-grid > a:nth-child(even) .np-v231-category-mark i {
  border-color: #80b0b9;
}

.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: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.np-v231-category-copy small {
  margin-top: 5px;
  color: var(--shop-muted);
  font-size: 12px;
}

.np-v231-shop-categories-grid > a > svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--shop-green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.page-template-page-boutique-premium .np-v231-boutique .np-v106-cats {
  width: min(1260px, calc(100% - 56px));
  margin: 22px auto 0 !important;
  padding: 12px !important;
  border: 1px solid var(--shop-line);
  border-radius: 16px;
  background: #fff;
}

body.page-template-page-boutique-premium .np-v231-boutique .np-v106-shop {
  width: min(1260px, calc(100% - 56px));
  margin-inline: auto;
  padding-top: 58px;
}

@media (max-width: 1120px) {
  .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;
  }

  body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero {
    grid-template-columns: 1fr !important;
  }

  .np-v231-shop-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@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;
  }

  body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero,
  .np-v231-shop-categories,
  body.page-template-page-boutique-premium .np-v231-boutique .np-v106-cats,
  body.page-template-page-boutique-premium .np-v231-boutique .np-v106-shop {
    width: min(100% - 30px, 1260px);
  }

  body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero {
    gap: 34px !important;
    padding: 44px 0 38px !important;
  }

  body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  body.page-template-page-boutique-premium .np-v231-boutique .np-v106-hero-card {
    min-height: 340px !important;
  }

  .np-v231-shop-categories {
    padding: 25px 18px;
    border-radius: 21px;
  }

  .np-v231-shop-categories-head,
  .np-v231-shop-categories-grid {
    grid-template-columns: 1fr;
  }

  .np-v231-shop-categories-head {
    gap: 14px;
  }
}
