/* Warm accent layer (theme 1.5.9). Blue stays the action colour (buttons, links, active states);
   blush and cream carry highlights, labels, offers and warm surfaces so the site is not all blue. */
:root:root {
  --pf-accent: #e8b89a;
  --pf-accent-soft: #f6e3d6;
  --pf-accent-line: #f0dccd;
  --pf-accent-text: #9a5a2c; /* darker blush for small text, 5.9:1 on white */
}

/* Announcement bar: cream instead of another blue band */
.pf-announce { background: var(--pf-cream); color: var(--pf-ink); border-bottom: 1px solid var(--pf-accent-line); }
.pf-announce a { color: var(--pf-accent-text); }

/* Small labels above headings */
.pf-eyebrow,
body .section-eyebrow { color: var(--pf-accent-text); }
body .eyebrow { border-color: var(--pf-accent-line); box-shadow: 0 2px 8px rgba(154, 90, 44, .08); }

/* Skin Check in the header: the free first step gets the warm pill */
.pf-menu > li > a[href*="/skin-check"] { background: var(--pf-accent-soft); color: var(--pf-ink); box-shadow: inset 0 0 0 1px var(--pf-accent); }
.pf-menu > li > a[href*="/skin-check"]:hover { background: var(--pf-accent); color: var(--pf-ink); }

/* Offers and badges */
:is(.woocommerce, .woocommerce-page) span.onsale,
:is(.woocommerce, .woocommerce-page) ul.products li.product .onsale { background: var(--pf-accent); color: var(--pf-ink); }
#mycred-partial-payment-total { background: var(--pf-accent-soft); }

/* Warm surfaces where people decide: cart, checkout, product buy box */
.single-product .summary form.cart { background: var(--pf-cream); border-color: var(--pf-accent-line); }
.woocommerce-checkout form.checkout > #order_review { background: var(--pf-cream); border-color: var(--pf-accent-line); }
table.cart td.actions { background: var(--pf-cream); }
.woocommerce-checkout #payment div.payment_box { background: var(--pf-accent-soft); }

/* Product cards: a warm edge on hover */
@media (hover: hover) and (pointer: fine) {
  .pf-card:hover, :is(.woocommerce, .woocommerce-page) ul.products li.product:hover { box-shadow: 0 14px 34px rgba(154, 90, 44, .12); }
}

/* Footer: blush links on hover */
.pf-footer a:hover { color: var(--pf-accent); }

/* Product page earn line (Rewards plugin) */
.pfr-earn { background: var(--pf-accent-soft); }

/* Page content (home and landing pages) carries its own styles under #pfEmbed, so these use more specificity.
   Labels turn warm; of the four pale-blue sections on the home page, the third becomes cream. */
html body #pfEmbed .section-eyebrow,
html body #pfEmbed .eyebrow { color: var(--pf-accent-text); }
html body #pfEmbed .eyebrow { border-color: var(--pf-accent-line); }
html body #pfEmbed .reveal.alt ~ .reveal.alt ~ .reveal.alt:not(.reveal.alt ~ .reveal.alt ~ .reveal.alt ~ .reveal.alt) { background: var(--pf-cream); }

/* ---- 1.6.0: more warmth, page by page ---- */
:root:root { --pf-star: #d9965f; --pf-elite: linear-gradient(180deg, var(--pf-cream), #fff 55%); }

/* Shop and product cards: white, so product photos sit on a clean surface */
:is(.woocommerce, .woocommerce-page) ul.products[class*="columns-"] li.product { background: #fff; }

/* Gift cards, PuriStock and Sets use cover artwork with its own blue backdrop. Show it full width as cover art
   instead of blending it into the card, which left a second shade of blue behind the picture. */
:is(.woocommerce, .woocommerce-page) ul.products li.product:is(.product_cat-gift-cards, .product_cat-puristock, .product_cat-set) a img { mix-blend-mode: normal; object-fit: cover; }
.single-product div.product:is(.product_cat-gift-cards, .product_cat-puristock, .product_cat-set) .woocommerce-product-gallery__image img { mix-blend-mode: normal; object-fit: cover; }

/* Stars, journal image wells, account menu icons, notices */
:is(.woocommerce, .woocommerce-page) .star-rating span::before { color: var(--pf-star); }
.pf-card__img { background: var(--pf-cream); }
.pf-acct__ic { background: var(--pf-accent-soft); color: var(--pf-accent-text); }
.woocommerce-info, .woocommerce-message { border-top-color: var(--pf-accent); }

/* Landing and concern pages (#pfEmbed): numbers, icons, pills and card edges turn warm */
html body #pfEmbed :is(.training-card-num, .routine-num) { background: var(--pf-accent-soft); color: var(--pf-accent-text); }
html body #pfEmbed :is(.concern-icon, .climate-card-icon) { background: var(--pf-accent-soft); color: var(--pf-accent-text); }
html body #pfEmbed :is(.quality-pill, .skintype-pill, .concern-pill) { background: var(--pf-cream); border-color: var(--pf-accent-line); color: var(--pf-accent-text); }
html body #pfEmbed :is(.training-card, .climate-card, .policy-block, .routine-step, .faq-item) { border-color: var(--pf-accent-line); }
html body #pfEmbed .gallery-item { background: var(--pf-cream); }

/* ---- 1.6.2: product photos with a faint blue box behind them ----
   12 product photos carry an off-white blue backdrop (#F7FBFE). A small brightness lift turns that to pure white,
   so on white cards it disappears. The carousel sits on a white stage for the same reason. */
:is(.woocommerce, .woocommerce-page) ul.products li.product a img,
:is(.woocommerce, .woocommerce-page) img.attachment-woocommerce_thumbnail,
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery .flex-control-thumbs img,
table.cart td.product-thumbnail img,
.pf-card__img img { filter: brightness(1.05); }
.pf-try__stage { background: #fff; border-radius: 24px; }
.pf-try__item img { filter: blur(3.5px) brightness(1.05); }
.pf-try__item.is-on img { filter: brightness(1.05); }
@media (prefers-reduced-motion: reduce) { .pf-try__item img { filter: brightness(1.05); } }
