/* Regular storefront. The campaign keeps its own palette. */
:is(.ps-home, .storefront-regular, .store-pdp) {
  --pp-dark: var(--ps-ink);
  --pp-dark-2: #27346e;
  --pp-t1: var(--ps-ink);
  --pp-t2: var(--ps-muted);
  --pp-page: var(--ps-surface);
  --pp-accent: var(--ps-cyan);
  --pp-accent-deep: var(--ps-blue);
  --sf-ink: var(--ps-ink);
  --sf-rule: var(--ps-line);
  --dark: var(--ps-ink);
  --accent: var(--ps-cyan);
  --accent-dim: #e1f6f8;
  --text-1: var(--ps-ink);
}
:is(.ps-home, .storefront-regular, .store-pdp) :is(.pp-h2, .section-title, .product-name, .sname, .cta-title) {
  font-family: var(--ps-font);
  font-weight: 600;
  letter-spacing: -.042em;
}

.ps-home .g-nav { position: sticky; top: 0; }
.ps-home #topo {
  padding: clamp(14px, 2vw, 28px) 0 30px;
  background: var(--ps-surface);
  color: var(--ps-ink);
}
.ps-home .slides {
  display: grid;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ps-ink);
}
.ps-home .slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  min-height: clamp(370px, 34vw, 456px);
  color: white;
}
/* Keep all banners in the same grid cell so changing the selection never moves the controls. */
.ps-home .slide[hidden] { display: grid; visibility: hidden; pointer-events: none; }
.ps-home .slide.campaign { background: #141312; }
.ps-home .slide.editorial { background: #22265e; }
.ps-home .slide-copy {
  align-self: center;
  min-width: 0;
  padding: 28px clamp(26px, 3.2vw, 50px) 56px;
}
.ps-home .slide-copy :is(h1, h2) {
  max-width: 15ch;
  margin: 10px 0;
  font: 600 clamp(38px, 4vw, 62px)/1.02 var(--ps-font);
  letter-spacing: -.04em;
  color: white;
}
.ps-home .campaign h1 { font-size: clamp(48px, 5.2vw, 76px); font-weight: 700; font-style: italic; }
.ps-home .slide-copy small { font-size: 12px; letter-spacing: .09em; color: var(--ps-cyan); }
.ps-home .campaign :is(small, i, b) { color: #edc577; }
.ps-home .slide-copy p { max-width: 46ch; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.45; }
.ps-home .slide-copy .bs-lead { font-size: clamp(22px, 2.1vw, 32px); font-weight: 600; line-height: 1.15; }
.ps-home .slide-link {
  display: inline-block;
  padding: 10px 15px;
  margin-top: 8px;
  background: white;
  color: var(--ps-ink);
  border-radius: 24px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.ps-home .campaign .slide-link { background: #efd297; color: #211a11; }
.ps-home .slide-photo { position: relative; min-width: 0; }
.ps-home .slide-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ps-home .campaign .slide-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #141312, transparent 18%);
  pointer-events: none;
}
.ps-home .hero-index {
  position: absolute;
  left: clamp(26px, 3.2vw, 50px);
  bottom: 4px;
  display: flex;
  align-items: center;
}
.ps-home .hero-index button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ps-home .hero-index button::after { content: ""; width: 20px; height: 3px; background: #bbbcc0; border-radius: 4px; }
.ps-home .hero-index [aria-pressed="true"]::after { width: 30px; background: white; }
.ps-home .hero-index button:focus-visible { outline: 2px solid white; outline-offset: -4px; }
.ps-home .bs-row a { color: #304da1; }
.ps-home .bs-row h2 { font-weight: 600; }
.ps-home .bs-card { border-radius: 18px; }
.ps-home .spotlight { border-radius: 20px; }

.ps-home #biblioteca {
  max-width: 1200px;
  padding: clamp(38px, 6vw, 78px) clamp(20px, 4vw, 50px);
  margin-inline: auto;
  color: var(--ps-ink);
}
.ps-home .edition-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.ps-home .edition-top h2 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.09; font-weight: 600; letter-spacing: -.035em; margin: 8px 0 14px; }
.ps-home .edition-top a { color: #344680; text-underline-offset: .18em; }
.ps-home #biblioteca p { color: #49546a; line-height: 1.5; font-size: 16px; }
.ps-home :is(.eyebrow-ed, .reading small) { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #455589; }
.ps-home .reads { display: grid; grid-template-columns: 1.16fr 1fr 1fr; gap: clamp(16px, 2.3vw, 30px); }
.ps-home .reads .reading { display: block; text-decoration: none; color: inherit; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.ps-home .reads .reading:hover { transform: none; }
.ps-home .reading img { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; border-radius: 14px; }
.ps-home .reading div { padding-top: 14px; }
.ps-home .reading h3 { font-size: clamp(21px, 2vw, 30px); line-height: 1.14; font-weight: 600; letter-spacing: -.023em; margin: 5px 0 8px; }
.ps-home .reading:hover h3 { text-decoration: underline; text-underline-offset: .18em; }
.ps-home .quick-find { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: #ecf4f8; border-radius: 17px; padding: 18px 22px; margin-top: 28px; }
.ps-home .quick-find label { margin-right: auto; font-weight: 600; }
.ps-home .quick-find input { min-width: min(275px, 100%); padding: 10px 12px; color: var(--ps-ink); background: white; border: 1px solid #a5b4c7; border-radius: 10px; font: inherit; }
.ps-home .quick-find button { padding: 11px 20px; color: white; background: var(--ps-ink); border: 0; border-radius: 12px; font: inherit; cursor: pointer; }

.storefront-regular .page-header { background: var(--ps-surface); color: var(--ps-ink); }
.storefront-regular .page-header :is(h1, .ph-sub) { color: var(--ps-ink); }
.storefront-regular .page-header h1 { font-weight: 600; letter-spacing: -.042em; }
.storefront-regular .page-header h1 span { color: var(--ps-blue); }
.storefront-regular .page-header .ph-eyebrow { color: #36579d; }
.storefront-regular .page-header .ph-chips span { color: #28365b; background: white; border-color: var(--ps-line); }
.storefront-regular .ph-chips svg { color: #376d72; }
.storefront-regular :is(.pc, .choice-guide) { border-radius: 20px; overflow: hidden; }
.storefront-regular .pc:hover { border-color: var(--ps-blue); }
.storefront-regular :is(.pc .btn, .fb.on) { color: var(--ps-ink); background: var(--ps-cyan); border-radius: 24px; box-shadow: none; }
.storefront-regular .pc .btn:hover { color: var(--ps-ink); background: #89e2eb; }
.storefront-regular .pc .pc-img { background: #f5efe9; padding: 0; }
.storefront-regular .pc .pc-img img { object-fit: cover; width: 100%; padding: 0; }
.storefront-regular .pc .pc-cat { color: var(--ps-ink); background: #e5eef9; border-radius: 16px; }
.storefront-regular .pc[data-cat="ghkcu"] .pc-cat { background: var(--ps-pink); }
.storefront-regular .pc[data-cat="retatrutida"] .pc-cat { background: var(--ps-orange); }
.storefront-regular .pc[data-cat="tirzepatida"] .pc-cat { background: var(--ps-honey); }

body.store-pdp { color: var(--ps-ink); background: var(--ps-surface); }
body.store-pdp .product-name { color: var(--ps-ink); font-weight: 600; letter-spacing: -.042em; }
body.store-pdp :is(.related-card, .store-community-invite, .store-delivery-guarantee) { border-radius: 20px; overflow: hidden; }
body.store-pdp .store-delivery-guarantee { background: var(--ps-green); border-color: #9ad9ba; color: #256447; }
body.store-pdp .store-delivery-guarantee small { color: #355b48; }
body.store-pdp .delivery-proof-heading h2 { color: var(--ps-ink); }
body.store-pdp :is(#psy-add-btn, .mbb-btn) { background: var(--ps-cyan); color: var(--ps-ink); }
body.store-pdp #provas { scroll-margin-top: 80px; }

.storefront-blackslim .hero {
  grid-template-columns: .94fr 1.06fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #141312;
  margin-bottom: 24px;
}
.storefront-blackslim .campaign-copy { align-self: center; padding: clamp(24px, 3.2vw, 48px); }
.storefront-blackslim .hero .conditions { margin-top: 18px; }
.storefront-blackslim .campaign-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.storefront-blackslim .grid article,
.pdp-delivery-proof :is(.campaign-stage, .offer-card) { border-radius: 18px; }
.storefront-blackslim .view-offer,
.pdp-delivery-proof .buy { border-radius: 24px; }
.pdp-delivery-proof .campaign-signature { font-family: var(--ps-font); }

@media (max-width: 760px) {
  .ps-home #home-ciencia, .ps-home #home-comunidade-blog { display: block !important; }
  .ps-home .slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(240px, auto) 240px; }
  .ps-home .slide-copy { padding: 18px 22px 12px; }
  .ps-home .slide-copy :is(h1, h2) { font-size: 39px; }
  .ps-home .campaign h1 { font-size: 44px; }
  .ps-home .slide-copy p { font-size: 15px; }
  .ps-home .slide-copy .bs-lead { font-size: 22px; }
  .ps-home .campaign .slide-photo::after { background: linear-gradient(180deg, #141312, transparent 17%); }
  .ps-home .hero-index { left: 50%; bottom: 4px; transform: translateX(-50%); background: #111b; border-radius: 12px; }
  .ps-home .hero-index button { height: 32px; }
  .ps-home .edition-top { flex-direction: column; align-items: start; gap: 8px; }
  .ps-home .reads { grid-template-columns: 1fr; }
  .ps-home .reading h3 { font-size: 22px; }
  .ps-home .reads .reading:not(:first-child) { display: grid; grid-template-columns: 95px 1fr; gap: 14px; align-items: start; }
  .ps-home .reading:not(:first-child) img { aspect-ratio: 1.5; }
  .ps-home .reading:not(:first-child) div { padding: 0; }
  .ps-home #biblioteca .reads p { font-size: 15px; }
  .ps-home .quick-find { display: grid; }
  .ps-home .quick-find input { width: 100%; }
  .storefront-blackslim .hero { grid-template-columns: 1fr; }
  .storefront-blackslim .campaign-photo { height: auto; aspect-ratio: 1.9; }
}
