/*
 * La Bruja «piel» (nov 2026): the dark look of the home (templates/portada.php) for every other page
 * that is not the shop. Loaded only when the body has the class lb-piel (inc/piel.php).
 * Pages stay in Elementor / the block editor. This file only changes colours, type, buttons and frames,
 * and adds a few component classes (lb-*) that page texts can use.
 * Elementor writes per-element colours and fonts (post-<id>.css), so some rules need !important.
 */

body.lb-piel {
	--lb-night: #0b0909;
	--lb-coal: #151112;
	--lb-coal-2: #1c1618;
	--lb-ink: #ece6e2;
	--lb-soft: #d2c8c3;
	--lb-muted: #a99f9b;
	--lb-red: #b00b34;
	--lb-red-hi: #c8103f;
	--lb-gold: #bfa06a;
	--lb-gold-hi: #d8bb85;
	--lb-rose: #e05a78;
	--lb-line: rgba(191, 160, 106, .35);
	--lb-display: "Cinzel Decorative", "Cinzel", Georgia, serif;
	--lb-serif: "Cinzel", Georgia, serif;
	--lb-text: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
	/* Elementor global colours: used by widgets that have no own colour. */
	--e-global-color-primary: var(--lb-gold);
	--e-global-color-secondary: var(--lb-soft);
	--e-global-color-text: var(--lb-soft);
	--e-global-color-accent: var(--lb-gold);
	--e-global-typography-text-font-family: "Raleway";
	--e-global-typography-primary-font-family: "Cinzel";
	--e-global-typography-secondary-font-family: "Cinzel";
	--e-global-typography-accent-font-family: "Raleway";
}

/* ---------- ground ---------- */
html body.lb-piel,
html body.lb-piel.custom-background {
	background: var(--lb-night) !important;
	color: var(--lb-soft);
}
body.lb-piel #wrapper,
body.lb-piel .site,
body.lb-piel .site-content,
body.lb-piel .content-area,
body.lb-piel .site-main,
body.lb-piel #primary,
body.lb-piel #main,
body.lb-piel article,
body.lb-piel .post-entry,
body.lb-piel .entry-content,
body.lb-piel .responsive-site-style-boxed .site-content,
body.lb-piel .site-content-header,
body.lb-piel .responsive-container,
body.lb-piel #main-blog .post,
body.lb-piel .elementor,
body.lb-piel .elementor-section,
body.lb-piel .elementor-container,
body.lb-piel .elementor-column,
body.lb-piel .elementor-column-wrap,
body.lb-piel .elementor-widget-wrap,
body.lb-piel .e-con,
body.lb-piel #comments,
body.lb-piel .comments-area,
body.lb-piel .comment-respond,
body.lb-piel .comment-body,
body.lb-piel .commentlist li {
	background-color: transparent !important;
	box-shadow: none !important;
}
/* Old section backgrounds (#E7E7E7 bands, a background photo that no longer exists). */
body.lb-piel .elementor-section:not(.lb-con-foto),
body.lb-piel .e-con:not(.lb-con-foto) { background-image: none !important; border-color: var(--lb-line) !important; }
body.lb-piel .elementor-section:not(.lb-con-foto) > .elementor-background-overlay { display: none !important; }

/* ---------- text ---------- */
body.lb-piel .site-content,
body.lb-piel :where(#wrapper, .elementor) p,
body.lb-piel :where(#wrapper, .elementor) li,
body.lb-piel :where(#wrapper, .elementor) td,
body.lb-piel :where(#wrapper, .elementor) th,
body.lb-piel :where(#wrapper, .elementor) dd,
body.lb-piel :where(#wrapper, .elementor) dt,
body.lb-piel :where(#wrapper, .elementor) figcaption,
body.lb-piel :where(#wrapper, .elementor) blockquote,
body.lb-piel .elementor-widget-text-editor,
body.lb-piel .elementor-widget-text-editor :not(h1, h2, h3, h4, h5, h6, :is(h1, h2, h3, h4, h5, h6) *) {
	font-family: var(--lb-text) !important;
	color: var(--lb-soft) !important;
}
body.lb-piel :where(#wrapper, .elementor) p,
body.lb-piel :where(#wrapper, .elementor) li,
body.lb-piel .elementor-widget-text-editor {
	font-size: 17px;
	line-height: 1.75;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}
body.lb-piel :where(#wrapper, .elementor) strong,
body.lb-piel :where(#wrapper, .elementor) b,
body.lb-piel .elementor-widget-text-editor strong,
body.lb-piel .elementor-widget-text-editor b { color: var(--lb-ink) !important; font-weight: 600; }
body.lb-piel :where(#wrapper, .elementor) a:not(.elementor-button):not(.wp-block-button__link):not(.lb-btn),
body.lb-piel .elementor-widget-text-editor a:not(.elementor-button):not(.lb-btn) {
	color: var(--lb-gold-hi) !important;
	text-decoration: underline;
	text-decoration-color: rgba(216, 187, 133, .45);
	text-underline-offset: 3px;
}
body.lb-piel :where(#wrapper, .elementor) a:not(.elementor-button):not(.wp-block-button__link):not(.lb-btn):hover { text-decoration-color: currentColor; }
body.lb-piel :where(#wrapper, .elementor) label { color: var(--lb-soft) !important; font-family: var(--lb-text) !important; }

/* ---------- headings ---------- */
body.lb-piel :where(#wrapper, .elementor) h1,
body.lb-piel :where(#wrapper, .elementor) h1.entry-title,
body.lb-piel .elementor-widget-heading h1.elementor-heading-title {
	font-family: var(--lb-display) !important;
	font-weight: 400 !important;
	font-size: clamp(32px, 4.6vw, 52px) !important;
	line-height: 1.12 !important;
	color: var(--lb-ink) !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	letter-spacing: 0 !important;
	text-wrap: balance;
}
/* Gold rule under every page title (decorative, no text). */
body.lb-piel :where(#wrapper, .elementor) h1::after {
	content: "";
	display: block;
	width: 110px;
	height: 1px;
	margin: 22px 0 6px;
	background: var(--lb-gold);
	opacity: .75;
}
body.lb-piel .site-content-header,
body.lb-piel .entry-header { text-align: center; }
body.lb-piel .entry-header h1::after,
body.lb-piel .elementor-widget-heading .elementor-heading-title[class]:is(h1)::after,
body.lb-piel .elementor-widget-heading.elementor-widget h1::after { margin-left: auto; margin-right: auto; }
body.lb-piel .elementor-widget-heading:has(h1) { text-align: center; }

body.lb-piel :where(#wrapper, .elementor) h2,
body.lb-piel .elementor-widget-heading h2.elementor-heading-title {
	font-family: var(--lb-display) !important;
	font-weight: 400 !important;
	font-size: clamp(26px, 3.2vw, 36px) !important;
	line-height: 1.2 !important;
	color: var(--lb-ink) !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	letter-spacing: 0 !important;
	margin: 1.6em 0 .6em;
	text-wrap: balance;
}
body.lb-piel :where(#wrapper, .elementor) h3,
body.lb-piel :where(#wrapper, .elementor) h4,
body.lb-piel .elementor-widget-heading :is(h3, h4, h5, h6).elementor-heading-title {
	font-family: var(--lb-serif) !important;
	font-weight: 600 !important;
	font-size: 20px !important;
	line-height: 1.35 !important;
	color: var(--lb-gold-hi) !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	letter-spacing: .01em !important;
	margin: 1.4em 0 .5em;
}
/* Words inside a heading (spans, strong) take the heading look. */
body.lb-piel :where(#wrapper, .elementor) :is(h1, h2, h3, h4, h5, h6) * { font-family: inherit !important; color: inherit !important; font-weight: inherit !important; }
/* Elementor "heading" widgets used as body text (span/p/div titles): read as text. */
body.lb-piel .elementor-widget-heading :is(p, span, div).elementor-heading-title {
	font-family: var(--lb-text) !important;
	color: var(--lb-soft) !important;
	text-decoration: none !important;
	text-shadow: none !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

/* ---------- buttons ---------- */
body.lb-piel .elementor-button,
body.lb-piel .wp-block-button__link,
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-btn {
	display: inline-block;
	font-family: var(--lb-text) !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	letter-spacing: .02em !important;
	text-transform: none !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
	padding: 14px 26px !important;
	border-radius: 999px !important;
	background: var(--lb-red) !important;
	border: 1px solid var(--lb-red) !important;
	color: #fff !important;
	fill: #fff !important;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background-color .2s, color .2s, border-color .2s;
}
body.lb-piel .elementor-button:hover,
body.lb-piel .elementor-button:focus-visible,
body.lb-piel .wp-block-button__link:hover,
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-btn:hover { background: var(--lb-red-hi) !important; border-color: var(--lb-red-hi) !important; color: #fff !important; }
body.lb-piel .elementor-button *,
body.lb-piel .wp-block-button__link * { color: inherit !important; fill: currentColor !important; font-family: inherit !important; }
/* Every second button in a row: gold outline, like the home. */
body.lb-piel .elementor-column .elementor-widget-button + .elementor-widget-button .elementor-button,
body.lb-piel .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link,
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-btn--gold {
	background: transparent !important;
	border-color: var(--lb-gold) !important;
	color: var(--lb-gold) !important;
	fill: var(--lb-gold) !important;
}
body.lb-piel .elementor-column .elementor-widget-button + .elementor-widget-button .elementor-button:hover,
body.lb-piel .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link:hover,
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-btn--gold:hover { background: rgba(191, 160, 106, .12) !important; color: var(--lb-gold-hi) !important; border-color: var(--lb-gold-hi) !important; }
body.lb-piel :is(a, button, summary):focus-visible { outline: 2px solid var(--lb-gold-hi) !important; outline-offset: 3px; }

/* ---------- images ---------- */
body.lb-piel .elementor-widget-image img,
body.lb-piel .wp-block-image img,
body.lb-piel .site-content .entry-content > figure img {
	border: 1px solid var(--lb-line);
	padding: 6px;
	background: var(--lb-coal);
	box-sizing: border-box;
	border-radius: 0 !important;
}
body.lb-piel .elementor-image-gallery .gallery-item img,
body.lb-piel .elementor-gallery-item img,
body.lb-piel .wp-block-gallery img {
	border: 1px solid var(--lb-line) !important;
	padding: 5px;
	background: var(--lb-coal);
	box-sizing: border-box;
}
body.lb-piel .wp-element-caption,
body.lb-piel figcaption { color: var(--lb-muted) !important; font-size: 14px !important; text-align: center; }
/* Drawings saved as PNG with black lines on a transparent ground: give them a light paper card. */
body.lb-piel :is(#wrapper, .elementor, #lb-piel) img.lb-papel,
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-papel img {
	background: #f3eee8 !important;
	padding: 10px !important;
}

/* ---------- lists, quotes, tables, separators ---------- */
body.lb-piel :where(#wrapper, .elementor) ul li::marker { color: var(--lb-gold); }
body.lb-piel :where(#wrapper, .elementor) ol li::marker { color: var(--lb-gold); font-family: var(--lb-serif); }
body.lb-piel :where(#wrapper, .elementor) blockquote,
body.lb-piel .wp-block-quote {
	border-left: 2px solid var(--lb-gold) !important;
	padding: 4px 0 4px 18px !important;
	margin: 1.4em 0 !important;
	background: none !important;
	font-style: italic;
}
body.lb-piel :where(#wrapper, .elementor) table { border-collapse: collapse; width: 100%; }
body.lb-piel :where(#wrapper, .elementor) :is(td, th) { border: 1px solid var(--lb-line) !important; padding: 10px 12px; background: transparent !important; }
body.lb-piel :where(#wrapper, .elementor) th { color: var(--lb-ink) !important; font-weight: 600; }
body.lb-piel :where(#wrapper, .elementor) hr,
body.lb-piel .wp-block-separator { border: 0 !important; height: 1px !important; background: var(--lb-line) !important; opacity: 1 !important; }
body.lb-piel .elementor-divider-separator { border-color: var(--lb-line) !important; }
body.lb-piel :where(#wrapper, .elementor) :is(input, textarea, select) {
	background: var(--lb-coal) !important;
	color: var(--lb-ink) !important;
	border: 1px solid var(--lb-line) !important;
	border-radius: 8px;
}
body.lb-piel :where(#wrapper, .elementor) details { border-bottom: 1px solid var(--lb-line); padding: 12px 0; }
body.lb-piel :where(#wrapper, .elementor) summary { color: var(--lb-ink); cursor: pointer; font-weight: 600; }
body.lb-piel :where(#wrapper, .elementor) summary::marker { color: var(--lb-gold); }
body.lb-piel .elementor-widget-google_maps iframe { filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); border: 1px solid var(--lb-line) !important; }

/* ---------- blog list and single posts ---------- */
body.lb-piel :is(#wrapper, #lb-piel) .entry-meta,
body.lb-piel :is(#wrapper, #lb-piel) .entry-meta *,
body.lb-piel :is(#wrapper, #lb-piel) .post-meta,
body.lb-piel :is(#wrapper, #lb-piel) .post-meta * { color: var(--lb-muted) !important; font-family: var(--lb-text) !important; }
body.lb-piel #main-blog .post,
body.lb-piel .blog .post,
body.lb-piel .archive .post { border-bottom: 1px solid var(--lb-line); }
body.lb-piel :is(#wrapper, #lb-piel) .navigation a,
body.lb-piel :is(#wrapper, #lb-piel) .nav-links a { color: var(--lb-gold) !important; }
body.lb-piel :is(#wrapper, #lb-piel) .breadcrumb-list,
body.lb-piel :is(#wrapper, #lb-piel) .breadcrumb-list * { color: var(--lb-muted) !important; }

/* ---------- one centred reading column (no sidebar: its default widgets were clutter) ---------- */
body.lb-piel #secondary { display: none !important; }
body.lb-piel #primary.content-area { width: 100% !important; max-width: 820px; float: none !important; margin: 0 auto !important; padding-top: 24px; }
body.lb-piel .entry-header .entry-title,
body.lb-piel .entry-header h1 { text-align: center !important; }
body.lb-piel .breadcrumb-list,
body.lb-piel .breadcrumbs,
body.lb-piel .aioseo-breadcrumbs { text-align: center; font-size: 13px; }

/* Blog list and archives: card titles smaller than page titles. */
body.lb-piel:is(.blog, .archive, .search) :where(#wrapper) :is(h2, h1).entry-title,
body.lb-piel:is(.blog, .archive, .search) #wrapper .entry-title a { font-size: clamp(20px, 2vw, 24px) !important; line-height: 1.3 !important; color: var(--lb-ink) !important; text-decoration: none !important; }
body.lb-piel:is(.blog, .archive, .search) .entry-title::after { display: none; }
/* Retratos (719): the theme title and the old Elementor title said the same words twice. */
body.lb-piel.page-id-719 .elementor-element-dc8c6b7 { display: none !important; }

/* ---------- footer (keep the theme footer, match the home) ---------- */
body.lb-piel .site-footer,
body.lb-piel .site-footer * { background-color: transparent; }
body.lb-piel .site-footer { border-top: 1px solid var(--lb-line); background: var(--lb-night) !important; }
body.lb-piel .site-footer,
body.lb-piel .site-footer p,
body.lb-piel .site-footer a,
body.lb-piel .site-footer li { color: var(--lb-muted) !important; }
body.lb-piel .site-footer a:hover { color: var(--lb-gold) !important; }

/* ---------- component classes for page texts (used by the content batches) ---------- */
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-orn {
	display: block;
	font-family: var(--lb-text) !important;
	color: var(--lb-gold) !important;
	letter-spacing: .5em !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	line-height: 1.5 !important;
	margin: 0 0 10px !important;
}
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-center { text-align: center; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-lead { font-size: 19px !important; color: var(--lb-ink) !important; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0 !important; padding: 0 !important; list-style: none !important; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-chips li { border: 1px solid var(--lb-line); border-radius: 999px; padding: 6px 14px !important; font-size: 14px !important; color: var(--lb-ink) !important; margin: 0 !important; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-chips li::marker { content: none; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--lb-line); border: 1px solid var(--lb-line); margin: 24px 0 !important; padding: 0 !important; list-style: none !important; counter-reset: lbstep; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-steps > li { background: var(--lb-night); padding: 26px 24px !important; margin: 0 !important; counter-increment: lbstep; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-steps > li::marker { content: none; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-steps > li::before { content: counter(lbstep, upper-roman); display: block; font-family: var(--lb-display); color: var(--lb-gold); font-size: 26px; line-height: 1; margin-bottom: 10px; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-steps > li strong { display: block; font-family: var(--lb-serif) !important; color: var(--lb-ink) !important; font-size: 18px; margin-bottom: 6px; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0 !important; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-card { border: 1px solid var(--lb-line); background: var(--lb-coal); padding: 26px; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-card > :first-child { margin-top: 0 !important; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-card > :last-child { margin-bottom: 0 !important; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-band { background: var(--lb-coal); border-top: 1px solid var(--lb-line); border-bottom: 1px solid var(--lb-line); padding: 40px 28px; margin: 32px 0; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-red { color: var(--lb-rose) !important; font-weight: 600; }

/* Two columns: photo + text (stack on phones). Used by the page texts (lote-15). */
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin: 8px 0 40px; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-split--rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-split > * { min-width: 0; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-frame { margin: 0 !important; border: 1px solid var(--lb-line); padding: 8px; background: var(--lb-coal); }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-frame img { display: block; width: 100%; height: auto; border: 0 !important; padding: 0 !important; background: none !important; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-split--rev .lb-frame img { height: 100%; max-height: 620px; object-fit: cover; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-split h1 { margin-top: 6px !important; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-steps--col { grid-template-columns: 1fr; margin: 0 !important; }
body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px !important; }
@media (max-width: 767px) {
	body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-split,
	body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-split--rev { grid-template-columns: 1fr; }
	body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-split--rev .lb-frame { order: -1; }
	body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-split:not(.lb-split--rev) > .lb-frame { order: 1; max-width: 420px; margin-inline: auto !important; }
	body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-split--rev .lb-frame img { max-height: 420px; }
}

/* Mis tatuajes (107): the page title on a dark photo band, like the home hero. */
body.lb-piel.page-id-107 .elementor-element.elementor-element-dc8c6b7 {
	background: linear-gradient(rgba(11, 9, 9, .35), rgba(11, 9, 9, .65)), url(/wp-content/uploads/2026/11/nazaret-tatuando-estudio-granada.jpg) center 35% / cover no-repeat !important;
	padding: clamp(70px, 12vw, 140px) 20px !important;
	border: 1px solid var(--lb-line);
	margin-bottom: 28px !important;
}
/* Quién soy (65): the two buttons under «Reserva tu cita», centred. */
body.lb-piel.page-id-65 .elementor-element-c374369 .elementor-button-wrapper { text-align: center; }

/* Duplicate button rows above the title (the same links are lower on the page / in the text). */
body.lb-piel.page-id-107 .elementor-element-f71eff6,
body.lb-piel.page-id-79 .elementor-element-114abaf { display: none !important; }

/* No Elementor entrance animations: titles show at once (the home has none; faster first paint). */
body.lb-piel .elementor-invisible { visibility: visible !important; }
body.lb-piel .elementor-element.animated,
body.lb-piel .elementor-element[class*="animated-"] { animation: none !important; opacity: 1 !important; transform: none !important; }

@media (max-width: 767px) {
	body.lb-piel :where(#wrapper, .elementor) p,
	body.lb-piel :where(#wrapper, .elementor) li,
	body.lb-piel .elementor-widget-text-editor { font-size: 16px; }
	body.lb-piel .elementor-button,
	body.lb-piel .wp-block-button__link,
	body.lb-piel :is(#wrapper, .elementor, #lb-piel) .lb-btn { padding: 13px 22px !important; }
}
@media (prefers-reduced-motion: reduce) {
	body.lb-piel * { transition: none !important; animation: none !important; }
	body.lb-piel .elementor-invisible { visibility: visible !important; }
}
