/*
 * Stupina — WCAG contrast fixes (sitewide audit 2026-10-09).
 * Loaded last. Targets: normal text >= 4.5:1, large text >= 3:1.
 * Light-surface gold  -> #7f5b12 (>= 4.9:1 on white / ivory / cream / honey tint)
 * Light-surface greys -> #5c6b63 / #4d5e55 / #6b665c
 * Dark-surface dims   -> raised cream / gold alpha
 */

/* ---------- 1. Dark text on forest (info / legal CTA band) ---------- */
.sp-info__cta h2,
.sp-info__cta h3 { color: #fffdf8; }
.sp-info__cta p { color: rgba(247, 243, 232, 0.88); }

/* ---------- 2. Gold gradient headings on light sections ---------- */
.sp-uhead:not(.sp-uhead--dark) .sp-uhead__title em,
#sp-story-title em {
	background: linear-gradient(100deg, #7f5b12 0%, #9a7428 48%, #86611a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.sp-uhead:not(.sp-uhead--dark) .sp-uhead__label { color: #7f5b12; }

/* ---------- 3. Dim text on dark surfaces ---------- */
.sp-usp.sp-usp--ultra .sp-usp__num { color: rgba(232, 204, 106, 0.88); }
.sp-usp.sp-usp--ultra .sp-usp__item:hover .sp-usp__num { color: var(--u-forest-deep, #061811); }
.sp-footer__dot,
.sp-footer--ultra .sp-footer__company-line--contact .sp-footer__dot { color: rgba(232, 204, 106, 0.8); }
.sp-cookie-banner__meta { color: rgba(251, 250, 246, 0.72); }
.sp-cookie-revoke { color: rgba(251, 250, 246, 0.8); }
.sp-cookie-revoke:hover,
.sp-cookie-revoke:focus-visible { color: var(--u-gold-soft, #e8cc6a); }

/* ---------- 4. Mega menu (cream panel) ---------- */
.sp-mega__count { color: #5c6b63; }
.sp-mega__foot-note { color: #4d5e55; }
.sp-mega__foot-arrow,
.sp-mega__product-price { color: #7f5b12; }

/* ---------- 5. Shop / category / filters ---------- */
.sp-woo .sp-shop-cats__link:not(.is-active) .sp-shop-cats__count,
.sp-shop-cats__link:not(.is-active) .sp-shop-cats__count { color: #7f5b12; }
.sp-filters__label { color: #7f5b12; }

/* ---------- 6. Prices: gold "lei" on light cards / tables / popups ---------- */
.sp-product-card__price .woocommerce-Price-currencySymbol,
.sp-atc-item__price .woocommerce-Price-currencySymbol,
.sp-atc-suggest__price .woocommerce-Price-currencySymbol,
.sp-atc-totals .woocommerce-Price-currencySymbol,
.sp-atc-totals__row .woocommerce-Price-currencySymbol,
.sp-mc-item__total .woocommerce-Price-currencySymbol,
.sp-mc-foot__total .woocommerce-Price-currencySymbol,
.woocommerce-mini-cart__total .woocommerce-Price-currencySymbol,
.woocommerce-cart td.product-price .woocommerce-Price-currencySymbol,
.woocommerce-cart td.product-subtotal .woocommerce-Price-currencySymbol,
.single-product .sp-single-product__summary p.price .woocommerce-Price-currencySymbol,
.sp-flow-ship__text .woocommerce-Price-currencySymbol { color: #7f5b12; }

/* ---------- 7. Add-to-cart popup, mini-cart, free-shipping meter ---------- */
.sp-atc-modal__eyebrow,
.sp-atc-item__qty,
.sp-flow-ship__meta,
.sp-flow-ship__meta span,
.sp-flow-ship__meta .woocommerce-Price-amount { color: #7f5b12; }

/* ---------- 8. Cart / checkout tables ---------- */
.woocommerce-cart table.shop_table thead th,
.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout #order_review table.shop_table td.product-name .product-quantity { color: #7f5b12; }
.woocommerce-cart button[name="update_cart"]:disabled,
.woocommerce-cart button[name="update_cart"][disabled] { color: #4d5e55; opacity: 1; }

/* ---------- 9. Placeholders on light inputs (newsletter on forest keeps its own) ---------- */
.sp-search-form input::placeholder,
.sp-header input[type="search"]::placeholder,
.sp-mobile-menu input::placeholder,
.sp-404 input::placeholder,
.sp-miss input::placeholder,
.woocommerce form .input-text::placeholder,
.woocommerce form textarea::placeholder,
.sp-form input::placeholder,
.sp-form textarea::placeholder,
#order_comments::placeholder { color: #6b665c; opacity: 1; }

/* ---------- 10. Gold links / labels on light pages ---------- */
.sp-legal-toc__label,
.sp-exit__kicker,
.sp-mobile-acc__heading,
.sp-company a,
.sp-legal-section a:not(.sp-btn),
.sp-faq-item__body a,
.sp-contact-privacy a,
.woocommerce-info a,
.woocommerce-error a,
.woocommerce-error a strong,
.woocommerce-message a:not(.button),
.woocommerce-privacy-policy-link,
.woocommerce-terms-and-conditions-link,
.comment-form .required,
.woocommerce form .required { color: #7f5b12; }

/* ---------- 11. Stock status ---------- */
.single-product .sp-single-product__summary p.stock.in-stock,
.woocommerce div.product .stock.in-stock { color: #1f6b42; }

/* ---------- 12. Text over category photos ---------- */
.sp-home .sp-category-card__copy {
	background: rgba(6, 24, 17, 0.52);
	border-color: rgba(255, 255, 255, 0.28);
}
.sp-home .sp-category-card__title,
.sp-home .sp-category-card__copy { text-shadow: 0 1px 12px rgba(6, 24, 17, 0.55); }

/* ---------- 13. Specificity follow-ups (after re-audit) ---------- */
.sp-footer__dot,
.sp-footer--ultra .sp-footer__company-line .sp-footer__dot { opacity: 1; color: rgba(232, 204, 106, 0.85); }

.woocommerce-cart table.shop_table.cart thead th,
.woocommerce-checkout #order_review table.shop_table thead th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th { color: #7f5b12; }

.woocommerce-cart table.shop_table.cart .woocommerce-Price-currencySymbol,
.sp-home .sp-product-card .sp-product-card__price .woocommerce-Price-currencySymbol,
:is(.sp-woo, .sp-search-products, .sp-wishlist-wrap) ul.products li.sp-product-card.product .sp-product-card__price .woocommerce-Price-currencySymbol { color: #7f5b12; }

/* Category photo cards: a touch more shade under the title */
.sp-home .sp-category-card .sp-category-card__media::after {
	background: linear-gradient(180deg, rgba(6, 24, 17, 0) 18%, rgba(6, 24, 17, 0.62) 52%, rgba(6, 24, 17, 0.94) 100%);
}
