/*
 * La Bruja shop, dark version (nov 2026). Loaded after shop.css on WooCommerce pages when the body has
 * lb-tienda-oscura (inc/piel.php). Same layout as shop.css («1 · Continuidad»); only colours and type change
 * so the shop matches the dark home and the other pages.
 * Catalogue, categories and product pages: dark, with the home's gold and red.
 * Cart, checkout and account: dark page, but the WooCommerce form stays on a light card
 * (keeps the tested light styles of shop.css, and the payment box is easy to read).
 */

/* ---------- whole shop: ground, page title, theme footer ---------- */
html body.lb-shop-page.lb-tienda-oscura,
html body.lb-shop-page.lb-tienda-oscura.custom-background { background-color: #0b0909 !important; }
body.lb-tienda-oscura #wrapper,
body.lb-tienda-oscura .site-content,
body.lb-tienda-oscura #primary,
body.lb-tienda-oscura .site-main,
body.lb-tienda-oscura article.hentry,
body.lb-tienda-oscura .post-entry { background-color: transparent !important; }
body.lb-tienda-oscura .site-footer { background: #0b0909 !important; border-top: 1px solid rgba(191, 160, 106, .35); }
body.lb-tienda-oscura .site-footer,
body.lb-tienda-oscura .site-footer p,
body.lb-tienda-oscura .site-footer a,
body.lb-tienda-oscura .site-footer li { color: #a99f9b !important; }
body.lb-tienda-oscura .site-footer a:hover { color: #bfa06a !important; }
body.lb-tienda-oscura :focus-visible { outline-color: #d8bb85 !important; }

/* ---------- catalogue, categories, product: dark tokens ---------- */
body.lb-shop-page.lb-tienda-oscura:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) {
	--lb-ink: #ece6e2;
	--lb-red: #b00b34;
	--lb-red-dark: #c8103f;
	--lb-t2: #b3a9a4;
	--lb-line: rgba(191, 160, 106, .35);
	--lb-panel: #151112;
	--lb-focus: #d8bb85;
	--lb-gold: #bfa06a;
	--lb-gold-hi: #d8bb85;
	--lb-rose: #e05a78;
	--lb-head: "Raleway", system-ui, sans-serif;
	--lb-body: "Raleway", system-ui, sans-serif;
	--lb-menu: "Raleway", system-ui, sans-serif;
	--lb-display: "Cinzel Decorative", "Cinzel", Georgia, serif;
}
body.lb-tienda-oscura .lb-main { color: var(--lb-ink); }

/* Titles: ivory display type with a gold rule, like the home (no red text, no shadow). */
body.lb-tienda-oscura .lb-title {
	color: var(--lb-ink);
	font-weight: 400;
	text-shadow: none;
}
body.lb-tienda-oscura .lb-hero .lb-title::after {
	content: "";
	display: block;
	width: 110px;
	height: 1px;
	margin: 20px auto 0;
	background: var(--lb-gold, #bfa06a);
	opacity: .75;
}
body.lb-tienda-oscura .lb-hero__mark { filter: invert(1); }
body.lb-tienda-oscura .lb-ft__mark { filter: invert(1); }
body.lb-tienda-oscura .lb-hero__lead { color: #d2c8c3; }
body.lb-tienda-oscura .lb-h2,
body.lb-tienda-oscura .lb-sub,
body.lb-tienda-oscura .lb-ft h2 { font-family: var(--lb-display); font-weight: 400; color: var(--lb-ink); }
body.lb-tienda-oscura .lb-pdp .lb-title,
body.lb-tienda-oscura .lb-pdp h1 { color: var(--lb-ink); text-shadow: none; }
body.lb-tienda-oscura.lb-shop-page .entry-title,
body.lb-tienda-oscura.lb-shop-page .page-title {
	color: #ece6e2 !important;
	text-shadow: none !important;
	font-family: "Cinzel Decorative", "Cinzel", Georgia, serif !important;
	font-weight: 400 !important;
}

/* Buttons: red pill with white text (primary), gold outline (secondary), as on the home. */
body.lb-tienda-oscura .lb-btn,
body.lb-tienda-oscura .lb-main .button,
body.lb-tienda-oscura .single_add_to_cart_button,
body.lb-shop-page.lb-tienda-oscura .lb-pdp .lb-cartform form.cart .single_add_to_cart_button {
	background: var(--lb-red) !important;
	color: #FFFFFF !important;
	border: 1px solid var(--lb-red) !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	box-shadow: none !important;
}
body.lb-tienda-oscura .lb-btn:hover,
body.lb-tienda-oscura .lb-main .button:hover,
body.lb-tienda-oscura .single_add_to_cart_button:hover,
body.lb-tienda-oscura .lb-btn:focus-visible,
body.lb-tienda-oscura .lb-main .button:focus-visible,
body.lb-shop-page.lb-tienda-oscura .lb-pdp .lb-cartform form.cart .single_add_to_cart_button:hover,
body.lb-shop-page.lb-tienda-oscura .lb-pdp .lb-cartform form.cart .single_add_to_cart_button:focus-visible {
	background: #c8103f !important;
	border-color: #c8103f !important;
}
body.lb-tienda-oscura .lb-btn--out,
body.lb-tienda-oscura .lb-btn--out:hover {
	background: transparent !important;
	color: #b3a9a4 !important;
	border: 1px dashed rgba(191, 160, 106, .55) !important;
}
body.lb-tienda-oscura .lb-link-more { color: #d8bb85; font-weight: 400; }
body.lb-tienda-oscura .lb-link-more:hover { color: #ece6e2; }

/* Category chips. */
body.lb-tienda-oscura .lb-chip { border-color: rgba(191, 160, 106, .45) !important; border-radius: 999px; }
body.lb-tienda-oscura .lb-chip:hover { background: rgba(191, 160, 106, .12); color: #ece6e2; }
body.lb-tienda-oscura .lb-chip[aria-current="page"] { background: #bfa06a; color: #0b0909; border-color: #bfa06a !important; }

/* Product cards. */
body.lb-tienda-oscura .lb-card__img { background: #151112; border: 1px solid rgba(191, 160, 106, .25); }
body.lb-tienda-oscura .lb-card__title a:hover { color: #d8bb85; }
body.lb-tienda-oscura .lb-badge--out { background: #151112; color: #ece6e2; border: 1px solid rgba(191, 160, 106, .45); }
body.lb-tienda-oscura .lb-price,
body.lb-tienda-oscura .lb-pdp__price,
body.lb-tienda-oscura .lb-pdp__price .amount,
body.lb-tienda-oscura .lb-pdp__price ins { color: #ece6e2 !important; }
body.lb-tienda-oscura .lb-pdp__price del,
body.lb-tienda-oscura .lb-pdp__price del .amount { color: #b3a9a4 !important; }
body.lb-tienda-oscura .woocommerce-pagination .page-numbers { border-color: rgba(191, 160, 106, .45) !important; color: #ece6e2 !important; }
body.lb-tienda-oscura .woocommerce-pagination .page-numbers.current { background: #bfa06a !important; color: #0b0909 !important; }
/* 12 nov 2026: the parent theme paints the pagination bar light grey (#f7f7f7). Keep it dark like the shop. */
body.lb-tienda-oscura .woocommerce-pagination { background: transparent !important; }
body.lb-tienda-oscura .woocommerce-pagination ul { border: 0 !important; background: transparent !important; }
body.lb-tienda-oscura .woocommerce-pagination a.page-numbers:hover,
body.lb-tienda-oscura .woocommerce-pagination a.page-numbers:focus { background: rgba(191, 160, 106, .12) !important; color: #ece6e2 !important; }

/* Trust strip, FAQ, shop footer. */
body.lb-tienda-oscura .lb-trust { background: #151112; border-top: 1px solid rgba(191, 160, 106, .25); border-bottom: 1px solid rgba(191, 160, 106, .25); }
body.lb-tienda-oscura .lb-faq details { border-bottom-color: rgba(191, 160, 106, .35); }
body.lb-tienda-oscura .lb-faq summary { color: #ece6e2; }
body.lb-tienda-oscura .lb-ft { border-top-color: rgba(191, 160, 106, .35); }
body.lb-tienda-oscura .lb-ft a:hover { color: #d8bb85; }

/* Breadcrumbs. */
body.lb-tienda-oscura .lb-crumbs a:hover { color: #d8bb85; }
body.lb-tienda-oscura.lb-shop-page .breadcrumbs .breadcrumb-list .breadcrumb a *,
body.lb-tienda-oscura.lb-shop-page .responsive-breadcrumbs-wrapper a { color: #b3a9a4 !important; }

/* Product page. */
body.lb-tienda-oscura .lb-gal .woocommerce-product-gallery__image { background: #151112; }
body.lb-tienda-oscura .lb-gal .flex-control-thumbs img:hover { border-color: #bfa06a; }
body.lb-tienda-oscura .lb-pdp__short,
body.lb-tienda-oscura .lb-prose,
body.lb-tienda-oscura .lb-steps { color: #d2c8c3; }
body.lb-tienda-oscura .lb-main :is(h2, h3, h4) { color: var(--lb-ink); }
body.lb-tienda-oscura .lb-stock--last { color: #e05a78; }
body.lb-tienda-oscura .lb-cartform .quantity { background: #151112; border-color: rgba(191, 160, 106, .55); }
body.lb-tienda-oscura .lb-qty-btn:hover { background: rgba(191, 160, 106, .12); }
body.lb-tienda-oscura .lb-cartform .quantity input { color: #ece6e2; background: transparent; }
body.lb-tienda-oscura .lb-ship__o,
body.lb-tienda-oscura .lb-safety { border: 1px solid rgba(191, 160, 106, .25); }
body.lb-tienda-oscura .lb-cartform select,
body.lb-tienda-oscura .variations select {
	background-color: #151112 !important;
	color: #ece6e2 !important;
	border: 1px solid rgba(191, 160, 106, .55) !important;
}
body.lb-tienda-oscura .variations label,
body.lb-tienda-oscura .lb-cartform label { color: #ece6e2 !important; }
body.lb-tienda-oscura .reset_variations { color: #d8bb85 !important; }
body.lb-tienda-oscura .lb-prose a,
body.lb-tienda-oscura .lb-pdp a:not(.lb-btn):not(.button):not(.woocommerce-product-gallery__trigger) { color: #d8bb85; }
/* Notices (added to cart, errors) on catalogue and product pages. */
body.lb-tienda-oscura:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	background: #151112 !important;
	color: #ece6e2 !important;
	border: 1px solid rgba(191, 160, 106, .35) !important;
}
body.lb-tienda-oscura:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) :is(.woocommerce-message, .woocommerce-info) a { color: #d8bb85 !important; }

/* ---------- cart, checkout, account: dark page + light card for the form ---------- */
body.lb-tienda-oscura:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .entry-content > :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .woocommerce) {
	background: #f3eee8;
	color: #0A0A0A;
	padding: clamp(18px, 3vw, 36px);
	border: 1px solid rgba(191, 160, 106, .45);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
body.lb-tienda-oscura:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .entry-content > p,
body.lb-tienda-oscura:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .entry-content > :is(h2, h3) { color: #d2c8c3; }
body.lb-tienda-oscura:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .entry-header,
body.lb-tienda-oscura:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .entry-title { text-align: center; }
body.lb-tienda-oscura:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .entry-title::after {
	content: "";
	display: block;
	width: 110px;
	height: 1px;
	margin: 18px auto 0;
	background: #bfa06a;
	opacity: .75;
}
body.lb-tienda-oscura:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .responsive-breadcrumbs-wrapper a,
body.lb-tienda-oscura:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .breadcrumbs * { color: #b3a9a4 !important; }

@media (max-width: 767px) {
	body.lb-tienda-oscura:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .entry-content > :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .woocommerce) { padding: 16px 12px; margin-inline: -4px; }
}
