/*
Theme Name: Herencia del Alma
Description: Tema hijo base para construir la tienda de Cafe Herencia del Alma sobre Twenty Twenty-Four.
Author: Herencia del Alma
Template: twentytwentyfour
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 7.0
Text Domain: herencia-del-alma
*/

:root {
	--color-primary: #78350F;
	--color-secondary: #92400E;
	--color-cta: #FBBF24;
	--color-background: #FEF3C7;
	--color-text: #451A03;
	--space-xs: 0.25rem;
	--space-sm: 0.5rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 3rem;
	--space-3xl: 4rem;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
	--shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
	--herencia-color-espresso: var(--color-primary);
	--herencia-color-coffee: var(--color-secondary);
	--herencia-color-cream: var(--color-background);
	--herencia-color-gold: var(--color-cta);
	--herencia-color-forest: #5B3A1A;
	--herencia-color-sand: #FFF7E3;
	--herencia-color-text: var(--color-text);
	--herencia-color-muted: #6B3F1D;
	--herencia-color-surface: #FFF8E8;
	--herencia-color-outline: rgba(120, 53, 15, 0.14);
	--herencia-shadow-soft: var(--shadow-xl);
	--herencia-shadow-card: var(--shadow-md);
	--herencia-radius-lg: 16px;
	--herencia-radius-md: 12px;
	--herencia-font-heading: "Amatic SC", cursive;
	--herencia-font-body: "Cabin", sans-serif;
}

html {
	scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
	font-family: var(--herencia-font-body);
}

body {
	color: var(--herencia-color-text);
	background: #fff;
	line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--herencia-font-heading);
	letter-spacing: -0.03em;
}

.wp-site-blocks {
	background: #fff;
}

.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > .wp-block-template-part + * {
	margin-block-start: 0;
}

.herencia-del-alma-theme .wp-block-button__link,
.herencia-del-alma-theme .wc-block-components-button,
.herencia-del-alma-theme .single_add_to_cart_button.button.alt,
.herencia-del-alma-theme .woocommerce button,
.herencia-del-alma-theme .woocommerce input[type="submit"],
.herencia-del-alma-theme .wc-block-components-checkout-place-order-button {
	border-radius: 999px;
}

.herencia-del-alma-theme .wp-element-button,
.herencia-del-alma-theme .wp-block-button__link,
.herencia-del-alma-theme .button,
.herencia-del-alma-theme .wc-block-components-button,
.herencia-del-alma-theme .single_add_to_cart_button.button.alt,
.herencia-del-alma-theme .woocommerce button,
.herencia-del-alma-theme .woocommerce input[type="submit"],
.herencia-del-alma-theme .wc-block-components-checkout-place-order-button {
	background: var(--herencia-color-gold);
	border: 1px solid var(--herencia-color-gold);
	color: var(--herencia-color-text);
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.herencia-del-alma-theme .wp-element-button:hover,
.herencia-del-alma-theme .wp-block-button__link:hover,
.herencia-del-alma-theme .button:hover,
.herencia-del-alma-theme .wc-block-components-button:hover,
.herencia-del-alma-theme .single_add_to_cart_button.button.alt:hover,
.herencia-del-alma-theme .woocommerce button:hover,
.herencia-del-alma-theme .woocommerce input[type="submit"]:hover,
.herencia-del-alma-theme .wc-block-components-checkout-place-order-button:hover {
	background: #f5b301;
	border-color: #f5b301;
	box-shadow: var(--shadow-lg);
	transform: translateY(-1px);
}

.herencia-del-alma-theme .button.disabled,
.herencia-del-alma-theme .wc-block-components-button[disabled],
.herencia-del-alma-theme .woocommerce button:disabled,
.herencia-del-alma-theme .woocommerce button[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
	box-shadow: none;
	transform: none;
}

.herencia-del-alma-theme .is-style-outline > .wp-block-button__link,
.herencia-del-alma-theme .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--herencia-color-espresso);
	color: var(--herencia-color-espresso);
}

.herencia-del-alma-theme .is-style-outline > .wp-block-button__link:hover,
.herencia-del-alma-theme .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(120, 53, 15, 0.06);
	border-color: var(--herencia-color-espresso);
	color: var(--herencia-color-espresso);
}

.herencia-del-alma-theme a,
.herencia-del-alma-theme button,
.herencia-del-alma-theme [role="button"] {
	cursor: pointer;
}

.herencia-del-alma-theme a:focus-visible,
.herencia-del-alma-theme button:focus-visible,
.herencia-del-alma-theme input:focus-visible,
.herencia-del-alma-theme select:focus-visible,
.herencia-del-alma-theme textarea:focus-visible,
.herencia-del-alma-theme .wp-block-button__link:focus-visible {
	outline: 3px solid rgba(120, 53, 15, 0.28);
	outline-offset: 3px;
	box-shadow: 0 0 0 3px rgba(120, 53, 15, 0.16);
}

.herencia-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: transparent;
	backdrop-filter: none;
	box-shadow: none;
	border-bottom: 0;
	padding: 0;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.herencia-site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.herencia-site-header__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 25px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	gap: 1rem;
}

.herencia-site-header.is-scrolled .herencia-site-header__inner {
	padding-top: 20px;
	padding-bottom: 20px;
}

.herencia-brand,
.herencia-header-spacer {
	flex: 1 1 0;
}

.herencia-brand {
	gap: 0.8rem;
}

.herencia-header-spacer {
	min-height: 1px;
}

.herencia-cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-left: auto;
	border-radius: 999px;
	color: var(--herencia-color-text);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.home .herencia-site-header:not(.is-scrolled) .herencia-cart-link {
	color: #fff;
}

.herencia-cart-link:hover,
.herencia-cart-link:focus-visible {
	background: rgba(120, 53, 15, 0.08);
	color: var(--herencia-color-espresso);
}

.home .herencia-site-header:not(.is-scrolled) .herencia-cart-link:hover,
.home .herencia-site-header:not(.is-scrolled) .herencia-cart-link:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.herencia-cart-link__icon svg {
	width: 1.55rem;
	height: 1.55rem;
	display: block;
}

.herencia-cart-link__count {
	position: absolute;
	top: 0.2rem;
	right: 0.15rem;
	min-width: 1.2rem;
	height: 1.2rem;
	padding: 0 0.25rem;
	border-radius: 999px;
	background: var(--herencia-color-gold);
	color: var(--herencia-color-text);
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.2rem;
	text-align: center;
}

.herencia-site-header .wp-block-woocommerce-mini-cart,
.herencia-site-header .wc-block-mini-cart {
	display: none !important;
}

.herencia-brand .wp-block-site-title {
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	font-family: var(--herencia-font-heading);
}

.herencia-brand .wp-block-site-title a {
	color: var(--herencia-color-text);
	text-decoration: none;
}

.herencia-brand .wp-block-site-tagline {
	color: var(--herencia-color-muted);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-family: var(--herencia-font-body);
}

.home .herencia-site-header:not(.is-scrolled) .herencia-brand .wp-block-site-title a,
.home .herencia-site-header:not(.is-scrolled) .herencia-brand .wp-block-site-tagline {
	color: #fff;
}

.herencia-main-nav {
	flex: 0 1 auto;
}

.herencia-main-nav .wp-block-navigation__container {
	gap: 40px;
}

.herencia-main-nav .wp-block-navigation-item__content {
	color: var(--herencia-color-text);
	font-weight: 500;
	position: relative;
	font-family: var(--herencia-font-body);
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	padding: 8px 0;
	transition: color 0.2s ease-out;
}

.home .herencia-site-header:not(.is-scrolled) .herencia-main-nav .wp-block-navigation-item__content {
	color: #fff;
}

.herencia-site-header.is-scrolled .herencia-main-nav .wp-block-navigation-item__content {
	color: var(--herencia-color-text);
}

.herencia-main-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--herencia-color-gold);
	transition: width 0.3s ease;
}

.herencia-main-nav .wp-block-navigation-item__content:hover,
.herencia-main-nav .wp-block-navigation-item__content:focus-visible {
	color: var(--herencia-color-gold);
}

.herencia-site-header.is-scrolled .herencia-main-nav .wp-block-navigation-item__content:hover,
.herencia-site-header.is-scrolled .herencia-main-nav .wp-block-navigation-item__content:focus-visible {
	color: var(--herencia-color-espresso);
}

.herencia-main-nav .wp-block-navigation-item__content:hover::after,
.herencia-main-nav .wp-block-navigation-item__content:focus-visible::after {
	width: 100%;
}

.herencia-main-nav .wp-block-navigation__responsive-container-open,
.herencia-main-nav .wp-block-navigation__responsive-container-close {
	color: var(--herencia-color-text);
	padding: 8px;
	border: 0;
	background: transparent;
}

.home .herencia-site-header:not(.is-scrolled) .herencia-main-nav .wp-block-navigation__responsive-container-open,
.home .herencia-site-header:not(.is-scrolled) .herencia-main-nav .wp-block-navigation__responsive-container-close {
	color: #fff;
}

.herencia-main-nav .wp-block-navigation__responsive-container-open svg,
.herencia-main-nav .wp-block-navigation__responsive-container-close svg {
	width: 28px;
	height: 28px;
}

.herencia-page-shell,
.herencia-store-shell {
	padding-top: 6.5rem;
}

.herencia-home {
	overflow: clip;
	background: #fff;
	gap: 0;
}

.herencia-home > .herencia-section {
	margin-block-start: 0;
	margin-block-end: 0;
}

.herencia-home.is-layout-flow > * + *,
.herencia-home.is-layout-constrained > * + *,
.herencia-home.is-layout-flex > * + * {
	margin-block-start: 0;
}

.herencia-home [id] {
	scroll-margin-top: 7rem;
}

.herencia-section {
	padding-top: clamp(var(--space-2xl), 8vw, calc(var(--space-3xl) * 1.4));
	padding-bottom: clamp(var(--space-2xl), 8vw, calc(var(--space-3xl) * 1.4));
	background: #fff;
}

.herencia-hero {
	background:
		linear-gradient(135deg, rgba(100, 72, 27, 0.75), rgba(64, 43, 9, 0.85)),
		url("https://images.unsplash.com/photo-1447933601403-0c6688de566e?w=1920") center/cover;
	background-attachment: fixed;
	color: #fff;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	text-align: center;
	padding: 80px 0;
	width: 100%;
}

.herencia-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
	pointer-events: none;
}

.herencia-hero__content-shell {
	width: 100%;
	display: flex;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.herencia-hero__content {
	width: min(50vw, 760px);
	max-width: 100%;
	text-align: center;
	padding: 60px 40px;
}

.herencia-hero__content .wp-block-buttons {
	justify-content: center;
}

.herencia-hero__kicker {
	font-size: clamp(1rem, 3vw, 1.5rem);
	margin-bottom: 40px;
	font-weight: 400;
	letter-spacing: 6px;
	text-transform: uppercase;
	color: var(--herencia-color-coffee);
	font-family: "Nunito Sans", sans-serif;
	opacity: 0.95;
	animation: herencia-fade-in-up 0.8s ease-out 0.15s both;
}

.herencia-hero .herencia-hero__kicker {
	color: #f2f7f6;
}

.herencia-hero .herencia-hero__title {
	font-size: clamp(2.5rem, 8vw, 5rem);
	line-height: 1;
	letter-spacing: 0.02em;
	margin-bottom: 25px;
	font-weight: 700;
	font-family: "Nunito Sans", sans-serif;
	color: #fff;
	text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
	animation: herencia-fade-in-up 0.8s ease-out both;
}

.herencia-hero__lead {
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.75;
	max-width: 800px;
	margin: 0 auto 50px;
	font-family: "Nunito Sans", sans-serif;
	font-weight: 300;
	animation: herencia-fade-in-up 0.8s ease-out 0.3s both;
}

.herencia-hero__actions {
	animation: herencia-fade-in-up 0.8s ease-out 0.45s both;
}

.herencia-hero__actions .wp-block-button__link {
	padding: 18px 50px;
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.herencia-hero__scroll-indicator {
	position: absolute;
	left: 50%;
	bottom: 40px;
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	color: #fff;
	cursor: pointer;
	z-index: 2;
	animation: herencia-bounce 2s infinite;
}

.herencia-hero__scroll-indicator svg {
	width: 100%;
	height: 100%;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.herencia-hero__scroll-indicator:hover svg,
.herencia-hero__scroll-indicator:focus-visible svg {
	opacity: 1;
}

@keyframes herencia-fade-in-up {
	from {
		opacity: 0;
		transform: translateY(40px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes herencia-bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateX(-50%) translateY(0);
	}

	40% {
		transform: translateX(-50%) translateY(-10px);
	}

	60% {
		transform: translateX(-50%) translateY(-5px);
	}
}

.herencia-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.5rem;
}

.herencia-hero__badge {
	padding: 0.65rem 1rem;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 700;
}

.herencia-hero__card,
.herencia-story-card,
.herencia-feature-card,
.herencia-step-card,
.herencia-contact-card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--herencia-radius-lg);
	box-shadow: var(--herencia-shadow-soft);
}

.herencia-hero__metric {
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
}

.herencia-hero__metric-label {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.8);
}

.herencia-about {
	background: #fff;
}

.herencia-about__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.herencia-about__image {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.herencia-about__image .wp-block-image,
.herencia-about__image .herencia-about__media {
	margin: 0;
	height: 100%;
}

.herencia-about__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease-out;
}

.herencia-about__image:hover img {
	transform: scale(1.05);
}

.herencia-about__content h2 {
	font-size: clamp(2rem, 5vw, 3rem);
	color: var(--color-primary);
	margin-bottom: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	font-family: "Nunito Sans", sans-serif;
}

.herencia-about__lead {
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	color: var(--color-secondary);
	font-style: italic;
	margin-bottom: 20px;
	font-family: "Nunito Sans", sans-serif;
}

.herencia-about__content p {
	margin-bottom: 15px;
	line-height: 1.7;
	color: var(--color-text);
	font-family: "Nunito Sans", sans-serif;
}

.herencia-about__features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 40px;
}

.herencia-about__feature {
	text-align: center;
	padding: 25px 20px;
	border-radius: 12px;
	background-color: #fef7ec;
	transition: all 0.25s ease-out;
	cursor: default;
}

.herencia-about__feature:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(100, 72, 27, 0.15);
}

.herencia-about__feature-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 15px;
	color: var(--color-primary);
}

.herencia-about__feature h3 {
	font-size: 1.3rem;
	color: var(--color-primary);
	margin-bottom: 8px;
	font-weight: 700;
	letter-spacing: 0.02em;
	font-family: "Nunito Sans", sans-serif;
}

.herencia-about__feature p {
	font-size: 0.95rem;
	color: var(--color-secondary);
	margin: 0;
	font-family: "Nunito Sans", sans-serif;
}

.herencia-section-title {
	font-size: clamp(2rem, 3vw, 3.25rem);
	line-height: 1.05;
}

.herencia-section-lead {
	color: var(--herencia-color-muted);
	font-size: 1.1rem;
	max-width: 42rem;
	line-height: 1.8;
}

.herencia-react-products {
	background: #fff;
}

.herencia-react-products__header {
	text-align: center;
	margin-bottom: 60px;
}

.herencia-react-products__header h2 {
	font-size: clamp(2rem, 5vw, 3rem);
	color: var(--color-primary);
	margin-bottom: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	font-family: "Nunito Sans", sans-serif;
}

.herencia-react-products__header p {
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	color: var(--color-secondary);
	font-family: "Nunito Sans", sans-serif;
}

.herencia-react-products__catalog .products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.herencia-react-products__catalog .product {
	list-style: none;
}

.herencia-react-products__catalog li.product > p {
	margin: 0;
}

.herencia-react-products__catalog li.product br {
	display: none;
}

.herencia-react-products__catalog [data-herencia-add-to-cart][aria-hidden="true"],
.herencia-react-products__catalog .herencia-loop-cart-control[aria-hidden="true"] {
	display: none !important;
}

.herencia-loop-cart-widget {
	--herencia-loop-cart-state-height: 3.25rem;
	display: flex;
	align-items: stretch;
	justify-self: end;
	width: 100%;
	min-height: var(--herencia-loop-cart-state-height);
}

.herencia-loop-cart-widget [hidden] {
	display: none !important;
}

.herencia-loop-cart-widget.is-empty .herencia-loop-cart-widget__control {
	display: none;
}

.herencia-loop-cart-widget.has-quantity .herencia-loop-cart-widget__add {
	display: none;
}

.herencia-loop-cart-widget__add {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	width: 100%;
	height: var(--herencia-loop-cart-state-height);
	min-height: var(--herencia-loop-cart-state-height);
	box-sizing: border-box;
	margin-top: 0 !important;
	border-radius: 999px !important;
}



.herencia-feature-card,
.herencia-step-card,
.herencia-contact-card {
	background: var(--herencia-color-surface);
	border: 1px solid var(--herencia-color-outline);
	padding: var(--space-lg);
	box-shadow: var(--herencia-shadow-card);
	height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.herencia-feature-card:hover,
.herencia-step-card:hover,
.herencia-contact-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-1px);
}

.herencia-feature-card h3,
.herencia-step-card h3,
.herencia-contact-card h3 {
	margin-top: 0.25rem;
	margin-bottom: 0.75rem;
	font-size: 1.35rem;
}

.herencia-feature-card p,
.herencia-step-card p,
.herencia-contact-card p,
.herencia-contact-card li {
	color: var(--herencia-color-muted);
}

.herencia-products {
	background: #fff;
}

.herencia-trust-strip {
	margin-top: -2.25rem;
	position: relative;
	z-index: 2;
}

.herencia-trust-strip__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	align-items: stretch;
}

.herencia-trust-pill {
	padding: var(--space-md) calc(var(--space-md) + 0.2rem);
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--herencia-color-outline);
	border-radius: var(--herencia-radius-md);
	box-shadow: var(--herencia-shadow-card);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.45rem;
	height: 100%;
}

.herencia-trust-pill h3 {
	margin: 0;
	color: var(--herencia-color-espresso);
	font-size: 1.05rem;
	line-height: 1.2;
}

.herencia-trust-pill p {
	margin: 0;
	color: var(--herencia-color-muted);
	font-size: 0.95rem;
	line-height: 1.65;
}

.herencia-storefront__collections .products,
.herencia-storefront__collections .woocommerce {
	margin-top: 1.5rem;
}

.herencia-storefront__hero,
.herencia-page-shell__hero {
	background: #fff;
}

.herencia-storefront__hero .herencia-section-lead,
.herencia-page-shell__hero .herencia-section-lead {
	max-width: 46rem;
}

.herencia-page-shell__hero .herencia-hero__kicker,
.herencia-page-shell__hero .herencia-section-title,
.herencia-page-shell__hero .herencia-section-lead,
.herencia-page-shell__hero .herencia-progress-step,
.herencia-page-shell__hero .herencia-progress-step strong,
.herencia-page-shell__hero .herencia-checkout-trust__item strong,
.herencia-page-shell__hero .herencia-checkout-trust__item p {
	font-family: "Nunito Sans", sans-serif;
}

.herencia-page-shell__hero .herencia-section-title {
	letter-spacing: 0.02em;
}

.herencia-store-shell,
.herencia-page-shell {
	background: #fff;
	gap: 0;
}

.herencia-store-shell > *,
.herencia-page-shell > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.herencia-store-shell.is-layout-flow > * + *,
.herencia-store-shell.is-layout-constrained > * + *,
.herencia-store-shell.is-layout-flex > * + *,
.herencia-page-shell.is-layout-flow > * + *,
.herencia-page-shell.is-layout-constrained > * + *,
.herencia-page-shell.is-layout-flex > * + * {
	margin-block-start: 0;
}

.herencia-store-shell__content,
.herencia-page-shell__content {
	margin-top: -2.5rem;
	margin-bottom: 4rem;
	padding: clamp(var(--space-lg), 3vw, calc(var(--space-xl) + 0.25rem));
	background: #fff;
	border: 1px solid var(--herencia-color-outline);
	border-radius: var(--herencia-radius-lg);
	box-shadow: var(--shadow-xl);
}

.herencia-page-shell__content > *:first-child {
	margin-top: 0;
}

.herencia-storefront__trust,
.herencia-checkout-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.herencia-storefront__trust-item,
.herencia-checkout-trust__item {
	padding: 1rem 1.2rem;
	background: #fff;
	border: 1px solid var(--herencia-color-outline);
	border-radius: var(--herencia-radius-md);
	box-shadow: var(--herencia-shadow-card);
}

.herencia-storefront__trust-item strong,
.herencia-checkout-trust__item strong {
	display: block;
	margin-bottom: 0.3rem;
	color: var(--herencia-color-espresso);
}

.herencia-storefront__trust-item p,
.herencia-checkout-trust__item p {
	margin: 0;
	color: var(--herencia-color-muted);
	font-size: 0.95rem;
}

.herencia-progress-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.9rem;
	margin-top: 2rem;
}

.herencia-progress-step {
	padding: 0.95rem 1rem;
	background: #fff;
	border: 1px solid var(--herencia-color-outline);
	border-radius: 16px;
	color: var(--herencia-color-muted);
	font-size: 0.95rem;
}

.herencia-progress-step strong {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--herencia-color-espresso);
	font-size: 1rem;
}

.herencia-progress-step.is-current {
	background: linear-gradient(160deg, rgba(59, 36, 22, 0.96), rgba(107, 66, 38, 0.92));
	border-color: transparent;
	box-shadow: var(--herencia-shadow-card);
	color: rgba(255, 255, 255, 0.82);
}

.herencia-progress-step.is-current strong {
	color: #fff;
}

.herencia-products .wp-block-shortcode {
	margin-top: 2rem;
}

.herencia-products .products,
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem;
	margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.wc-block-grid__product,
.woocommerce ul.products li.product-category {
	width: auto !important;
	margin: 0 !important;
	padding: 1rem !important;
	background: #fff;
	border: 1px solid var(--herencia-color-outline);
	border-radius: var(--herencia-radius-md);
	box-shadow: var(--herencia-shadow-card);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

.woocommerce ul.products li.product a {
	text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.woocommerce ul.products li.product a img,
.wc-block-grid__product-image img,
.woocommerce ul.products li.product-category a img {
	border-radius: calc(var(--herencia-radius-md) - 4px);
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
}

.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover,
.woocommerce ul.products li.product-category:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(120, 53, 15, 0.22);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title {
	color: var(--herencia-color-text);
	font-family: "Nunito Sans", sans-serif;
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1.35;
	margin-top: 1rem;
	margin-bottom: 0.55rem;
}

.woocommerce ul.products li.product .price,
.wc-block-grid__product-price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--herencia-color-coffee);
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 0.9rem;
}

.woocommerce ul.products li.product .price {
	margin-top: auto;
	margin-bottom: 0.55rem;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 3.25rem;
	padding: 0.95rem 1.15rem;
	box-sizing: border-box;
	width: 100%;
	margin-top: 0.75rem;
	text-align: center;
	line-height: 1.3;
	white-space: normal;
	word-break: break-word;
}

.herencia-loop-cart-control {
	--herencia-loop-cart-button-width: 3rem;
	--herencia-loop-cart-control-height: var(--herencia-loop-cart-state-height);
	display: grid;
	grid-template-columns: var(--herencia-loop-cart-button-width) minmax(3.5rem, 1fr) var(--herencia-loop-cart-button-width);
	grid-template-areas: "minus value plus";
	align-items: center;
	justify-items: stretch;
	width: 100%;
	margin-top: 0;
	height: var(--herencia-loop-cart-control-height);
	min-height: var(--herencia-loop-cart-control-height);
	flex: 1 1 auto;
	border: 1px solid rgba(120, 53, 15, 0.16);
	border-radius: 999px;
	background: #fffdf8;
	box-shadow: 0 8px 20px rgba(120, 53, 15, 0.08);
	overflow: hidden;
}

.herencia-loop-cart-widget .herencia-loop-cart-control {
	margin-top: 0;
}

.herencia-loop-cart-widget__control {
	width: 100%;
}

.woocommerce ul.products li.product .herencia-loop-cart-widget {
	justify-self: stretch;
	width: 100%;
	margin-top: 0.75rem;
}

.woocommerce ul.products li.product .herencia-loop-cart-control {
	grid-template-columns: var(--herencia-loop-cart-button-width) minmax(3.5rem, 1fr) var(--herencia-loop-cart-button-width);
	width: 100%;
	min-width: 0;
	height: var(--herencia-loop-cart-control-height);
	min-height: var(--herencia-loop-cart-control-height);
	margin-top: 0;
	border-color: rgba(120, 53, 15, 0.12);
	background: #fffdf9;
	box-shadow: 0 6px 16px rgba(120, 53, 15, 0.07);
	align-self: stretch;
}

.woocommerce ul.products li.product .herencia-loop-cart-control__button,
.woocommerce ul.products li.product .herencia-loop-cart-control__value {
	height: var(--herencia-loop-cart-control-height);
	min-height: var(--herencia-loop-cart-control-height);
}

.woocommerce ul.products li.product .herencia-loop-cart-control__button {
	font-size: 1.15rem;
}

.woocommerce ul.products li.product .herencia-loop-cart-control__value {
	font-size: 1rem;
	padding: 0 0.5rem;
}

.herencia-loop-cart-control.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.herencia-loop-cart-control__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: stretch;
	width: var(--herencia-loop-cart-button-width);
	height: var(--herencia-loop-cart-control-height);
	min-height: var(--herencia-loop-cart-control-height);
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--herencia-color-espresso);
	font-family: "Nunito Sans", sans-serif;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.herencia-del-alma-theme .woocommerce .herencia-loop-cart-control__button,
.herencia-del-alma-theme .woocommerce button.herencia-loop-cart-control__button {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	background-image: none;
	border-color: transparent;
	color: var(--herencia-color-espresso);
	box-shadow: none;
	transform: none;
}

.herencia-loop-cart-control__button--minus {
	grid-area: minus;
	border-right: 1px solid rgba(120, 53, 15, 0.1);
}

.herencia-loop-cart-control__button--plus {
	grid-area: plus;
	border-left: 1px solid rgba(120, 53, 15, 0.1);
}

.herencia-del-alma-theme .woocommerce .herencia-loop-cart-control__button:hover,
.herencia-del-alma-theme .woocommerce .herencia-loop-cart-control__button:focus-visible,
.herencia-del-alma-theme .woocommerce button.herencia-loop-cart-control__button:hover,
.herencia-del-alma-theme .woocommerce button.herencia-loop-cart-control__button:focus-visible {
	background: rgba(120, 53, 15, 0.04);
	background-image: none;
	border-color: transparent;
	color: var(--herencia-color-espresso);
	box-shadow: none;
	transform: none;
}

.herencia-loop-cart-control__button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.herencia-loop-cart-control__value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	grid-area: value;
	justify-self: stretch;
	height: var(--herencia-loop-cart-control-height);
	min-height: var(--herencia-loop-cart-control-height);
	padding: 0 0.5rem;
	min-width: 3rem;
	color: var(--herencia-color-text);
	font-family: "Nunito Sans", sans-serif;
	font-size: 1.05rem;
	font-weight: 800;
	text-align: center;
	border-inline: 1px solid rgba(120, 53, 15, 0.1);
}

@media (max-width: 640px) {
	.herencia-loop-cart-widget {
		justify-self: stretch;
	}
}

.woocommerce ul.products li.product-category a {
	display: flex;
	flex: 1;
	flex-direction: column;
	height: 100%;
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	margin-top: 1rem;
	font-family: "Nunito Sans", sans-serif;
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1.35;
	color: var(--herencia-color-text);
}

.woocommerce ul.products li.product-category mark {
	background: rgba(182, 134, 75, 0.12);
	border-radius: 999px;
	color: var(--herencia-color-coffee);
	padding: 0.15rem 0.55rem;
	font-size: 0.82rem;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count {
	color: var(--herencia-color-coffee);
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.95rem;
}

.post-type-archive-product .woocommerce .woocommerce-breadcrumb {
	display: none;
}

.post-type-archive-product .woocommerce-products-header,
.post-type-archive-product .woocommerce-products-header__title.page-title {
	display: none;
}

.woocommerce .woocommerce-ordering {
	margin-bottom: 1.75rem;
}

.woocommerce .woocommerce-ordering select {
	min-width: 220px;
	background: #fff;
}

.woocommerce .woocommerce-products-header,
.woocommerce-page .entry-header {
	margin-bottom: 1.5rem;
}

.woocommerce .woocommerce-products-header__title.page-title,
.woocommerce div.product .product_title {
	font-family: "Nunito Sans", sans-serif;
	font-weight: 800;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.08;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 2rem;
	align-items: start;
}

.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .summary {
	float: none;
	width: auto;
	margin: 0;
}

.woocommerce div.product .summary {
	background: #fff;
	padding: 2rem;
	border: 1px solid var(--herencia-color-outline);
	border-radius: var(--herencia-radius-lg);
	box-shadow: var(--herencia-shadow-card);
	position: sticky;
	top: 7rem;
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .product_meta,
.woocommerce-tabs .panel,
.woocommerce-product-details__short-description p {
	color: var(--herencia-color-muted);
	font-family: "Nunito Sans", sans-serif;
}

.woocommerce div.product .product_meta {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(59, 36, 22, 0.08);
}

.woocommerce div.product form.cart {
	margin-top: 1.5rem;
	margin-bottom: 1.25rem;
}

.woocommerce-tabs {
	margin-top: 2.5rem;
}

.woocommerce-tabs ul.tabs {
	padding-left: 0;
	border-bottom: 1px solid rgba(59, 36, 22, 0.08);
}

.woocommerce-tabs ul.tabs li {
	border: none;
	background: transparent;
}

.woocommerce-tabs ul.tabs li a {
	padding: 0.85rem 1rem;
	font-family: "Nunito Sans", sans-serif;
	font-weight: 700;
}

.woocommerce .related.products {
	margin-top: 3rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-notice {
	border-top-color: var(--herencia-color-coffee);
}

.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.wc-block-components-text-input input,
.wc-block-components-combobox-control input {
	border-radius: 14px;
	border: 1px solid rgba(59, 36, 22, 0.16);
	padding: 0.85rem 1rem;
}

.woocommerce .quantity.herencia-quantity {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1px solid var(--herencia-color-outline);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}

.woocommerce .quantity.herencia-quantity .qty {
	width: 3.5rem;
	min-width: 3.5rem;
	height: 3rem;
	padding: 0.4rem 0.25rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
	font-family: "Nunito Sans", sans-serif;
	font-weight: 700;
	-moz-appearance: textfield;
}

.woocommerce .quantity.herencia-quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity.herencia-quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.herencia-quantity__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--herencia-color-text);
	font-family: "Nunito Sans", sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.herencia-quantity__button:hover,
.herencia-quantity__button:focus-visible {
	background: rgba(120, 53, 15, 0.08);
	color: var(--herencia-color-espresso);
}

.herencia-quantity__button:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 2px rgba(120, 53, 15, 0.2);
}

.herencia-cart-toast {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 200;
	max-width: min(320px, calc(100vw - 32px));
	padding: 0.95rem 1.15rem;
	border-radius: 16px;
	background: rgba(59, 36, 22, 0.96);
	box-shadow: var(--shadow-xl);
	color: #fff;
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.95rem;
	line-height: 1.5;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.herencia-cart-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.woocommerce table.shop_table,
.wc-block-cart,
.wc-block-checkout,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	background: #fff;
	border-radius: var(--herencia-radius-lg);
	border: 1px solid var(--herencia-color-outline);
	box-shadow: var(--herencia-shadow-card);
}

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
	gap: 1.5rem;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details {
	background: #fff;
	padding: 1.5rem;
	border: 1px solid var(--herencia-color-outline);
	border-radius: var(--herencia-radius-lg);
	box-shadow: var(--herencia-shadow-card);
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce .woocommerce-form-login {
	background: #fff;
	padding: 1.5rem;
	border: 1px solid var(--herencia-color-outline);
	border-radius: var(--herencia-radius-lg);
	box-shadow: var(--herencia-shadow-card);
}

.herencia-del-alma-theme input[type="text"],
.herencia-del-alma-theme input[type="email"],
.herencia-del-alma-theme input[type="password"],
.herencia-del-alma-theme input[type="tel"],
.herencia-del-alma-theme input[type="number"],
.herencia-del-alma-theme textarea,
.herencia-del-alma-theme select,
.herencia-del-alma-theme .woocommerce form .input-text {
	padding: 12px 16px;
	border: 1px solid var(--herencia-color-outline);
	border-radius: 12px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 16px;
	transition: border-color 200ms ease, box-shadow 200ms ease;
	background: #fff;
}

.herencia-store-shell .woocommerce,
.herencia-store-shell .woocommerce p,
.herencia-store-shell .woocommerce li,
.herencia-store-shell .woocommerce label,
.herencia-page-shell .woocommerce,
.herencia-page-shell .woocommerce p,
.herencia-page-shell .woocommerce li,
.herencia-page-shell .woocommerce label,
.wc-block-cart,
.wc-block-checkout,
.wc-block-components-formatted-money-amount,
.woocommerce-account .woocommerce-MyAccount-navigation a,
.woocommerce table.shop_table th,
.woocommerce-checkout-review-order-table th {
	font-family: var(--herencia-font-body);
}

.herencia-store-shell .woocommerce h1,
.herencia-store-shell .woocommerce h2,
.herencia-store-shell .woocommerce h3,
.herencia-store-shell .woocommerce h4,
.herencia-page-shell .woocommerce h1,
.herencia-page-shell .woocommerce h2,
.herencia-page-shell .woocommerce h3,
.herencia-page-shell .woocommerce h4,
.wc-block-components-title,
.wc-block-components-sidebar h1,
.wc-block-components-sidebar h2,
.wc-block-components-sidebar h3,
.wc-block-components-main h1,
.wc-block-components-main h2,
.wc-block-components-main h3 {
	font-family: var(--herencia-font-heading);
	letter-spacing: -0.03em;
	color: var(--herencia-color-text);
}

.wc-block-components-product-name {
	font-family: "Nunito Sans", sans-serif;
}

.herencia-del-alma-theme input[type="text"]:focus,
.herencia-del-alma-theme input[type="email"]:focus,
.herencia-del-alma-theme input[type="password"]:focus,
.herencia-del-alma-theme input[type="tel"]:focus,
.herencia-del-alma-theme input[type="number"]:focus,
.herencia-del-alma-theme textarea:focus,
.herencia-del-alma-theme select:focus,
.herencia-del-alma-theme .woocommerce form .input-text:focus {
	border-color: var(--herencia-color-espresso);
	outline: none;
	box-shadow: 0 0 0 3px rgba(120, 53, 15, 0.12);
}

.woocommerce-account .woocommerce-form-login {
	max-width: 38rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 1rem;
}

.wc-block-components-main,
.wc-block-components-sidebar {
	gap: 1.5rem;
}

.woocommerce-cart .wc-block-cart {
	padding: clamp(1rem, 2vw, 1.5rem);
}

.woocommerce-cart .wc-block-cart-items,
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block,
.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	gap: 1.25rem;
}

.woocommerce-cart .wc-block-cart-items__row {
	padding: 1.25rem 0;
	column-gap: 1rem;
	row-gap: 1rem;
	align-items: center;
}

.woocommerce-cart .wc-block-cart-items__row:first-child {
	padding-top: 0;
}

.woocommerce-cart .wc-block-cart-item__image {
	align-self: center;
}

.woocommerce-cart .wc-block-cart-item__image img {
	width: clamp(88px, 10vw, 112px);
	border-radius: 18px;
}

.woocommerce-cart .wc-block-cart-item__product {
	display: grid;
	gap: 0.65rem;
	padding-right: 0.5rem;
}

.woocommerce-cart .wc-block-components-product-name {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--herencia-color-text);
	text-decoration: none;
}

.woocommerce-cart .wc-block-components-product-metadata,
.woocommerce-cart .wc-block-cart-item__prices,
.woocommerce-cart .wc-block-components-product-details {
	display: grid;
	gap: 0.35rem;
	color: var(--herencia-color-muted);
}

.woocommerce-cart .wc-block-cart-item__prices {
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--herencia-color-text);
}

.woocommerce-cart .wc-block-components-product-details {
	margin: 0;
	font-size: 0.92rem;
}

.woocommerce-cart .wc-block-components-quantity-selector {
	min-height: 3rem;
	margin: 0.15rem 0 0;
	border-radius: 999px;
}

.woocommerce-cart .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	padding-inline: 0;
	font-weight: 700;
}

.woocommerce-cart .wc-block-cart-item__remove-link {
	display: inline-flex;
	align-items: center;
	margin-top: 0.2rem;
	color: var(--herencia-color-coffee);
	font-weight: 700;
	text-decoration: none;
}

.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper,
.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-totals-block,
.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-shipping-block,
.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-coupon-form-block {
	padding: 1.25rem;
	border: 1px solid var(--herencia-color-outline);
	border-radius: 18px;
	background: rgba(255, 250, 245, 0.82);
}

.woocommerce-cart .wc-block-components-sidebar .wc-block-components-panel {
	border-radius: 18px;
	border-color: var(--herencia-color-outline);
}

.woocommerce-cart .wc-block-components-sidebar > * + *,
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block > * + * {
	margin-top: 1rem;
}

.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper + .wc-block-cart__submit {
	margin-top: 1.25rem;
}

.woocommerce-cart .wc-block-components-totals-coupon {
	gap: 0.85rem;
}

.woocommerce-cart .wc-block-cart__submit {
	margin-top: 1rem;
}

.woocommerce-cart .wc-block-cart__submit .wc-block-components-button {
	min-height: 3.25rem;
}

.herencia-empty-state {
	padding: clamp(2rem, 4vw, 3rem);
	background: #fff;
	border: 1px solid var(--herencia-color-outline);
	border-radius: var(--herencia-radius-lg);
	box-shadow: var(--herencia-shadow-card);
	color: var(--herencia-color-text);
}

.herencia-empty-state__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--herencia-color-coffee);
}

.herencia-empty-state h2 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	color: var(--herencia-color-text);
	font-family: "Nunito Sans", sans-serif;
}

.herencia-empty-state p {
	margin-bottom: 1.5rem;
	color: var(--herencia-color-muted);
	max-width: 42rem;
	font-family: "Nunito Sans", sans-serif;
}

.herencia-empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.herencia-empty-state__actions .button,
.herencia-empty-state__actions .button:hover {
	text-decoration: none;
}

.herencia-empty-state__ghost {
	background: transparent !important;
	border-color: var(--herencia-color-outline) !important;
	color: var(--herencia-color-text) !important;
}

.herencia-product-extra {
	margin-top: 2.5rem;
}

.herencia-product-extra__card {
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--herencia-color-outline);
	border-radius: var(--herencia-radius-lg);
	box-shadow: var(--herencia-shadow-card);
}

.herencia-product-extra__card p {
	color: var(--herencia-color-muted);
}

.woocommerce nav.woocommerce-pagination ul {
	border: none;
	display: inline-flex;
	gap: 0.5rem;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: none;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a {
	border-radius: 999px;
	border: 1px solid rgba(59, 36, 22, 0.12);
	background: #fff;
}

.herencia-footer {
	background-color: var(--color-text);
	color: rgba(255, 255, 255, 0.85);
	padding: 60px 20px 20px;
}

.herencia-elementor-page .herencia-page-shell__hero {
	display: none;
}

.herencia-elementor-page .herencia-page-shell__content {
	margin-top: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
}

.herencia-elementor-page .herencia-page-shell__content > .wp-block-post-content,
.herencia-elementor-page .herencia-page-shell__content > .entry-content,
.herencia-elementor-page .herencia-page-shell__content > .elementor {
	max-width: none;
}

.herencia-elementor-page .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1280px;
}

.herencia-elementor-page .elementor-widget-text-editor,
.herencia-elementor-page .elementor-widget-heading {
	color: var(--herencia-color-text);
}

.herencia-footer__content {
	max-width: 1200px;
	margin: 0 auto 40px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
}

.herencia-footer__section h3 {
	font-size: 1.8rem;
	color: var(--color-cta);
	margin-bottom: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	font-family: "Nunito Sans", sans-serif;
}

.herencia-footer__section h4 {
	font-size: 1.3rem;
	color: var(--color-cta);
	margin-bottom: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	font-family: "Nunito Sans", sans-serif;
}

.herencia-footer__section p {
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
	font-family: "Nunito Sans", sans-serif;
}

.herencia-footer__section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.herencia-footer__section ul li {
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.85);
	font-family: "Nunito Sans", sans-serif;
}

.herencia-footer__contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.herencia-footer__contact-item svg {
	flex-shrink: 0;
	opacity: 0.8;
}

.herencia-footer__section ul li a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.2s ease-out;
}

.herencia-footer__section ul li a:hover {
	color: var(--color-cta);
}

.herencia-footer__section ul li a:focus-visible {
	outline: 2px solid var(--color-cta);
	outline-offset: 2px;
	border-radius: 4px;
}

.herencia-footer__bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	max-width: 1200px;
	margin: 0 auto;
}

.herencia-footer__bottom p {
	color: rgba(255, 255, 255, 0.7);
	margin: 5px 0;
	font-family: "Nunito Sans", sans-serif;
}

.herencia-footer__credits {
	margin-top: 10px;
}

@media (min-width: 782px) and (max-width: 1024px) {
	.herencia-products .products,
	.woocommerce ul.products,
	.herencia-trust-strip__grid,
	.herencia-storefront__trust,
	.herencia-checkout-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.herencia-about__image img,
	.herencia-about__feature {
		transition: none;
	}

	.herencia-about__image:hover img,
	.herencia-about__feature:hover {
		transform: none;
	}

	.herencia-hero__title,
	.herencia-hero__kicker,
	.herencia-hero__lead,
	.herencia-hero__actions,
	.herencia-hero__scroll-indicator {
		animation: none;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media (max-width: 900px) {
	.herencia-products .products,
	.woocommerce ul.products,
	.woocommerce div.product {
		grid-template-columns: 1fr;
	}

	.herencia-store-shell__content,
	.herencia-page-shell__content {
		margin-top: -1.5rem;
	}

	.herencia-trust-strip {
		margin-top: -1.5rem;
	}

	.herencia-trust-strip__grid,
	.herencia-storefront__trust,
	.herencia-checkout-trust,
	.herencia-progress-steps,
	.woocommerce-account .woocommerce {
		grid-template-columns: 1fr;
	}

	.herencia-about__container,
	.herencia-about__features,
	.herencia-react-products__catalog .products {
		grid-template-columns: 1fr;
	}

	.herencia-about__container {
		gap: 30px;
	}

	.herencia-react-products__catalog .products {
		gap: 30px;
	}

	.woocommerce div.product .summary {
		position: static;
	}
}

@media (max-width: 781px) {
	.herencia-site-header__inner {
		padding: 20px 25px;
		gap: 1rem;
	}

	.herencia-main-nav {
		margin-left: auto;
	}

	.herencia-header-spacer {
		display: none;
	}

	.herencia-main-nav .wp-block-navigation__responsive-container-open {
		display: flex;
	}

	.herencia-main-nav .wp-block-navigation__responsive-container {
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(10px);
	}

	.herencia-main-nav .wp-block-navigation__responsive-container.is-menu-open {
		padding: 30px 25px;
	}

	.herencia-main-nav .wp-block-navigation__responsive-container-content,
	.herencia-main-nav .wp-block-navigation__responsive-dialog {
		align-items: stretch;
	}

	.herencia-main-nav .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
		align-items: flex-start;
		gap: 0;
	}

	.herencia-main-nav .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
		padding: 15px 0;
		color: var(--herencia-color-text);
		font-size: 1.1rem;
	}

	.herencia-main-nav .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content::after {
		display: none;
	}

	.herencia-section {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}

	.herencia-home [id] {
		scroll-margin-top: 6rem;
	}

	.herencia-hero__content {
		width: min(100%, 42rem);
		padding: 40px 20px;
	}

	.herencia-hero {
		min-height: 100vh;
		padding: 80px 0;
		background-attachment: scroll;
	}

	.herencia-hero__kicker {
		letter-spacing: 3px;
	}

	.herencia-hero .herencia-hero__title {
		font-size: clamp(2.5rem, 10vw, 4rem);
	}

	.herencia-hero__lead {
		font-size: 1rem;
	}

	.herencia-footer__content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.herencia-footer__section {
		text-align: center;
	}

	.herencia-footer__contact-item {
		justify-content: center;
	}

	.herencia-empty-state__actions {
		flex-direction: column;
	}

	.woocommerce-cart .wc-block-cart {
		padding: 1rem;
	}

	.woocommerce-cart .wc-block-cart-items__row {
		grid-template-columns: 72px minmax(0, 1fr);
		align-items: start;
	}

	.woocommerce-cart .wc-block-cart-item__image img {
		width: 72px;
	}

	.woocommerce-cart .wc-block-cart-item__product {
		padding-right: 0;
	}

	.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper,
	.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-totals-block,
	.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-shipping-block,
	.woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-coupon-form-block {
		padding: 1rem;
	}

	.woocommerce ul.products li.product,
	.wc-block-grid__product,
	.woocommerce ul.products li.product-category {
		padding: 0.85rem !important;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.wc-block-grid__product-title {
		font-size: 1.05rem;
	}

	.herencia-del-alma-theme .wp-element-button,
	.herencia-del-alma-theme .wp-block-button__link,
	.herencia-del-alma-theme .button,
	.herencia-del-alma-theme .wc-block-components-button,
	.herencia-del-alma-theme .woocommerce button,
	.herencia-del-alma-theme .woocommerce input[type="submit"] {
		padding: 0.85rem 1.25rem;
	}
}
