/*
Theme Name: Super Pet Virtual Store
Author: WordPress Telex
Description: Un tema alegre y audaz para tiendas de mascotas inspirado en la estetica Patitas y Alegria. Colores brillantes, bordes gruesos, elementos redondeados y energia positiva para tus amigos peludos.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: telex-super-pet
Tags: block-theme, full-site-editing, pet-store, ecommerce
*/

/* ── Pill nav bar ── */
.superpet-nav-pill {
	background-color: var(--wp--preset--color--cream);
	border-radius: 100px;
	padding: 0.6rem 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 3px solid var(--wp--preset--color--dark);
	box-shadow: 0 6px 0 var(--wp--preset--color--dark), 0 15px 30px rgba(0,0,0,0.12);
}

.superpet-nav-pill .wp-block-site-title {
	margin: 0;
}

.superpet-nav-pill .wp-block-navigation {
	gap: 2rem;
}

.superpet-nav-pill .wp-block-navigation a {
	text-decoration: none;
	transition: color 0.2s ease;
}

.superpet-nav-pill .wp-block-navigation a:hover {
	color: var(--wp--preset--color--coral) !important;
}

/* ── Chunky buttons ── */
.superpet-btn {
	box-shadow: 0 6px 0 var(--wp--preset--color--dark);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.superpet-btn:active,
.superpet-btn:hover {
	transform: translateY(4px);
	box-shadow: 0 2px 0 var(--wp--preset--color--dark);
}

/* ── Card style ── */
.superpet-card {
	background-color: var(--wp--preset--color--cream);
	border: 3px solid var(--wp--preset--color--dark);
	border-radius: 24px;
	box-shadow: 0 6px 0 var(--wp--preset--color--dark);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.superpet-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 0 var(--wp--preset--color--dark);
}

/* ── Equal cards layout ── */
.equal-cards > .wp-block-column {
	display: flex;
	flex-direction: column;
	flex-grow: 0;
}

.equal-cards > .wp-block-column > .wp-block-group {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.equal-cards .cta-bottom {
	margin-top: auto;
	justify-content: center;
}

/* ── Promo banner ── */
.superpet-front-page,
.superpet-front-page :where(h1, h2, h3, h4, h5, h6, p, a, span, button, .wp-block-button__link) {
	font-family: 'Lilita One', cursive !important;
}

.superpet-hero-title {
	margin-bottom: 0.9rem;
	text-transform: uppercase;
	text-shadow:
		0 4px 0 #252B5F,
		0 10px 18px rgba(37, 43, 95, 0.28);
}

.superpet-hero-title__super {
	color: #fff;
}

.superpet-hero-title__pet {
	color: #EF9B42;
}

.superpet-hero-copy {
	max-width: 500px;
	color: #252B5F;
	text-shadow: none !important;
	filter: none !important;
}

.superpet-hero-wrapper .superpet-btn {
	box-shadow: none !important;
}

.superpet-hero-wrapper .superpet-btn:hover,
.superpet-hero-wrapper .superpet-btn:active {
	transform: none;
	box-shadow: none !important;
}

.superpet-hero-wrapper .wp-block-button__link {
	background-color: #EF9B42 !important;
	border-color: #252B5F !important;
	color: #fff !important;
	box-shadow: 0 7px 0 #252B5F, 0 14px 24px rgba(37, 43, 95, 0.18);
	text-shadow: 0 2px 0 rgba(37, 43, 95, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.superpet-hero-wrapper .wp-block-button__link:hover {
	background-color: #EF9B42 !important;
	transform: translateY(3px);
	box-shadow: 0 4px 0 #252B5F, 0 10px 18px rgba(37, 43, 95, 0.18);
}

.superpet-promo-section {
	width: 100%;
	box-sizing: border-box;
}

.superpet-promo-banner {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto minmax(250px, 1.1fr) minmax(120px, 180px);
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	width: 100%;
	box-sizing: border-box;
	background: #8ECAE7;
	border-radius: 42px;
	padding: clamp(1.25rem, 3vw, 2.5rem);
	font-family: 'Lilita One', cursive;
	color: #000;
	overflow: hidden;
}

.superpet-promo-banner p {
	margin: 0;
}

.superpet-promo-banner__discount {
	text-align: center;
}

.superpet-promo-banner__eyebrow,
.superpet-promo-banner__restriction,
.superpet-promo-banner__subtitle {
	font-size: clamp(0.9rem, 1.6vw, 1.25rem);
	line-height: 1.1;
}

.superpet-promo-banner__code {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0.3rem 0 0.2rem;
	padding: 0.25rem 1.5rem 0.35rem;
	min-width: min(100%, 280px);
	box-sizing: border-box;
	background: #252B5F;
	border-radius: 18px;
	color: #8ECAE7;
	font-size: clamp(2.1rem, 5.1vw, 4.25rem);
	line-height: 1;
	letter-spacing: 0;
}

.superpet-promo-banner__plus {
	font-size: clamp(3rem, 6vw, 5.5rem);
	line-height: 1;
	text-align: center;
}

.superpet-promo-banner__shipping {
	min-width: 0;
}

.superpet-promo-banner__title {
	font-size: clamp(2.4rem, 5.8vw, 5.25rem);
	line-height: 0.9;
	white-space: nowrap;
}

.superpet-promo-banner__subtitle {
	margin-top: 0.35rem !important;
}

.superpet-promo-banner__logo {
	display: block;
	justify-self: end;
	width: clamp(110px, 14vw, 180px);
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.superpet-locations-title {
	color: #252B5F;
	font-size: clamp(2.4rem, 5vw, 4.5rem);
	line-height: 0.95;
	text-transform: uppercase;
}

.superpet-location-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 230px;
	box-sizing: border-box;
	background: #8ECAE7;
	border: 3px solid #252B5F;
	border-radius: 28px;
	box-shadow: 0 8px 0 #252B5F;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.superpet-location-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 0 #252B5F;
}

.superpet-location-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 0 1rem;
	background: #252B5F;
	border-radius: 50%;
	color: #EF9B42;
	font-size: 1.45rem;
	line-height: 1;
}

.superpet-location-card__title {
	margin: 0 0 0.45rem;
	color: #252B5F;
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	line-height: 1;
}

.superpet-location-card__address {
	margin: 0;
	color: #000;
	font-size: clamp(1.2rem, 2vw, 1.65rem);
	line-height: 1.1;
}

/* ── Section badge ── */
.superpet-badge {
	display: table;
	background-color: var(--wp--preset--color--light-yellow);
	border: 2px solid var(--wp--preset--color--dark);
	border-radius: 100px;
	padding: 0.35rem 1.2rem;
	margin-left: auto;
	margin-right: auto;
	font-weight: 800;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.superpet-badge.has-text-align-center {
	display: table;
	margin-left: auto;
	margin-right: auto;
}

/* ── Hero Cover ── */
.superpet-hero-wrapper {
	position: relative;
	overflow: hidden;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	min-height: 100vh !important;
}

/* Eliminar máscara amarilla */
.superpet-hero-wrapper::before {
	display: none !important;
}

/* Eliminar overlay/filtro oscuro del bloque Cover */
.superpet-hero-wrapper > .wp-block-cover__background,
.superpet-hero-wrapper > span.wp-block-cover__background {
	display: none !important;
	opacity: 0 !important;
}

/* Sin filtro en la imagen */
.superpet-hero-wrapper > .wp-block-cover__image-background {
	display: none !important;
}

.superpet-hero-media {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.superpet-hero-media--desktop {
	display: block;
	height: 112%;
	object-position: center top;
	transform: translateY(-6%);
}

.superpet-hero-media--mobile {
	display: none;
	object-position: center center;
}

.superpet-hero-wrapper > .wp-block-cover__inner-container {
	position: relative;
	z-index: 3;
	width: 100%;
}

/* Texto a la izquierda con padding desde el borde */
.superpet-hero-wrapper .wp-block-cover__inner-container > .wp-block-group {
	margin-left: 0 !important;
	margin-right: auto !important;
	padding-left: 8% !important;
	max-width: 520px !important;
}

/* Texto legible sobre el cielo azul */
.superpet-hero-wrapper h1,
.superpet-hero-wrapper h2 {
	text-shadow: 0 2px 16px rgba(0,0,0,0.22);
}

.superpet-hero-wrapper p {
	text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}


/* ── Decorative dots ── */
.superpet-dots::after {
	content: "";
	display: block;
	width: 80px;
	height: 8px;
	margin-top: 1rem;
	background: radial-gradient(circle, var(--wp--preset--color--coral) 4px, transparent 4px) 0 0 / 20px 8px repeat-x;
}

/* ── Product price tag (usado en home/hero, NO en la grilla) ── */
.superpet-price {
	display: inline-block;
	background-color: var(--wp--preset--color--green);
	color: var(--wp--preset--color--cream);
	border-radius: 100px;
	padding: 0.3rem 1rem;
	font-weight: 900;
	font-size: 1.1rem;
	border: 2px solid var(--wp--preset--color--dark);
}

/* Dentro de la grilla, .superpet-price NO lleva pill — override */
.superpet-product-grid .superpet-price,
.superpet-product-grid .wc-block-components-product-price {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	color: var(--wp--preset--color--dark) !important;
	font-size: 1rem;
	font-weight: 900;
	margin: 0.25rem 0 0.5rem !important;
}

/* ── Footer ── */
.superpet-footer,
.superpet-footer :where(h1, h2, h3, h4, h5, h6, p, a, span) {
	font-family: 'Lilita One', cursive !important;
}

.superpet-footer {
	background-color: #252B5F !important;
}

.superpet-footer-title__super {
	color: #fff;
}

.superpet-footer-title__pet {
	color: #EF9B42;
}

.superpet-footer a {
	text-decoration: none;
}

.superpet-footer a:hover {
	color: var(--wp--preset--color--coral) !important;
}

/* ── Shop category tabs ── */
.superpet-shop-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.superpet-shop-tab a,
a.superpet-shop-tab {
	display: inline-block;
	background-color: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--dark) !important;
	border: 2px solid var(--wp--preset--color--dark);
	border-radius: 100px;
	padding: 0.5rem 1.2rem;
	font-weight: 800;
	font-size: 0.95rem;
	text-decoration: none !important;
	transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
	box-shadow: 0 4px 0 var(--wp--preset--color--dark);
}

.superpet-shop-tab a:hover,
a.superpet-shop-tab:hover {
	background-color: var(--wp--preset--color--coral);
	color: var(--wp--preset--color--cream) !important;
	transform: translateY(2px);
	box-shadow: 0 2px 0 var(--wp--preset--color--dark);
}

/* Tab activo */
.superpet-shop-tab.current-menu-item a,
.superpet-shop-tab.current-cat a {
	background-color: var(--wp--preset--color--green);
	color: var(--wp--preset--color--cream) !important;
}

/* ── Shortcode tabs dinámicas ── */
.superpet-shop-tabs-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	padding: 0;
	margin: 0;
}

.superpet-shop-tab-link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background-color: #ffffff;
	color: var(--wp--preset--color--dark) !important;
	border: 2px solid var(--wp--preset--color--dark);
	border-radius: 100px;
	padding: 0.45rem 1.1rem;
	font-weight: 800;
	font-size: 0.9rem;
	font-family: var(--wp--preset--font-family--nunito);
	text-decoration: none !important;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.12s ease;
	box-shadow: 0 3px 0 var(--wp--preset--color--dark);
	white-space: nowrap;
	letter-spacing: 0.2px;
}

.superpet-shop-tab-link:hover {
	background-color: var(--wp--preset--color--dark);
	color: #fff !important;
	box-shadow: 0 1px 0 var(--wp--preset--color--dark);
	transform: translateY(2px);
}

.superpet-shop-tab-link.active {
	background-color: var(--wp--preset--color--dark);
	color: #fff !important;
	box-shadow: 0 1px 0 rgba(0,0,0,0.3);
	transform: translateY(2px);
}

/* Eliminar bullets/puntos que genera el bloque Navigation dentro de los tabs */
.superpet-shop-tabs .wp-block-navigation__container,
.superpet-shop-tabs ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.superpet-shop-tabs li::before,
.superpet-shop-tabs li::marker {
	display: none !important;
	content: none !important;
}

.superpet-shop-hero,
.woocommerce-shop main.has-yellow-background-color,
.post-type-archive-product main.has-yellow-background-color,
.tax-product_cat main.has-yellow-background-color,
.superpet-shop-hero > .wp-block-group,
.woocommerce-shop main.has-yellow-background-color > .wp-block-group,
.post-type-archive-product main.has-yellow-background-color > .wp-block-group,
.tax-product_cat main.has-yellow-background-color > .wp-block-group {
	text-align: center;
}

.superpet-shop-hero,
.woocommerce-shop main.has-yellow-background-color,
.post-type-archive-product main.has-yellow-background-color,
.tax-product_cat main.has-yellow-background-color {
	display: flex !important;
	flex-direction: column;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	box-sizing: border-box;
}

.superpet-shop-hero > .wp-block-group,
.woocommerce-shop main.has-yellow-background-color > .wp-block-group,
.post-type-archive-product main.has-yellow-background-color > .wp-block-group,
.tax-product_cat main.has-yellow-background-color > .wp-block-group {
	width: min(100%, 900px) !important;
	max-width: 900px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.superpet-shop-title,
.superpet-shop-subtitle,
.woocommerce-shop main.has-yellow-background-color h1,
.post-type-archive-product main.has-yellow-background-color h1,
.tax-product_cat main.has-yellow-background-color h1,
.woocommerce-shop main.has-yellow-background-color p:not(.superpet-badge),
.post-type-archive-product main.has-yellow-background-color p:not(.superpet-badge),
.tax-product_cat main.has-yellow-background-color p:not(.superpet-badge) {
	width: 100%;
	margin-right: auto !important;
	margin-left: auto !important;
	text-align: center !important;
}

.superpet-shop-subtitle,
.woocommerce-shop main.has-yellow-background-color p:not(.superpet-badge),
.post-type-archive-product main.has-yellow-background-color p:not(.superpet-badge),
.tax-product_cat main.has-yellow-background-color p:not(.superpet-badge) {
	max-width: 760px;
}

/* ── Ocultar: wishlist links + "Ver carrito" AJAX + badges no deseados ── */

/* Wishlist (cualquier plugin) */
.add_to_wishlist,
.yith-wcwl-add-to-wishlist,
.tinvwl_add_to_wishlist_button,
.wssl-wishlist-btn,
.wssl-add-to-wishlist,
a.wssl-wishlist,
[class*="wishlist"],
[class*="browse-wishlist"],
.wishlist-fragment,
.wsl-wishlist,
.woosw-btn {
	display: none !important;
}

/* Link "Ver carrito" que aparece tras AJAX add-to-cart */
a.added_to_cart,
.woocommerce a.added_to_cart,
.added_to_cart.wc-forward {
	display: none !important;
}

/* ── Shortcode filtro de Marca ── */
.superpet-brand-filter-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.superpet-brand-filter-item {
	border-radius: 10px;
	margin-bottom: 0.25rem;
	transition: background 0.15s ease;
}

.superpet-brand-filter-item a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.4rem 0.6rem;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--wp--preset--color--dark);
	border-radius: 10px;
	transition: background 0.15s ease, color 0.15s ease;
}

.superpet-brand-filter-item a:hover {
	background-color: #8ECAE7;
	color: #252B5F !important;
}

.superpet-brand-filter-item.active a {
	background-color: #252B5F;
	color: var(--wp--preset--color--cream) !important;
}

.superpet-brand-count {
	font-size: 0.78rem;
	font-weight: 600;
	opacity: 0.75;
}

.superpet-filter-empty {
	font-size: 0.85rem;
	color: #888;
	font-style: italic;
}


/* ── Filter sidebar ── */
.superpet-filter-sidebar {
	position: sticky;
	top: 90px;
}

.superpet-filter-sidebar:hover {
	transform: none;
	box-shadow: 0 6px 0 var(--wp--preset--color--dark);
}

.superpet-filter-sidebar .wp-block-separator,
.superpet-filter-sidebar hr {
	display: none !important;
}

.superpet-filter-sidebar .superpet-brand-filter-list {
	margin-top: 1rem;
}

.superpet-filter-sidebar .superpet-brand-filter-item a {
	border-radius: 14px;
	color: var(--wp--preset--color--dark) !important;
}

.superpet-filter-sidebar .superpet-brand-filter-item.active a {
	color: var(--wp--preset--color--cream) !important;
}

.superpet-filter-label {
	font-size: 0.9rem !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--wp--preset--color--dark);
	margin-bottom: 0.75rem !important;
	margin-top: 0 !important;
}

/* ── Product search ── */
.superpet-product-search {
	display: flex;
	gap: 0.75rem;
	align-items: stretch;
	margin: 0 0 var(--wp--preset--spacing--40);
	width: 100%;
}

.superpet-product-search input[type="search"] {
	flex: 1;
	min-width: 0;
	box-sizing: border-box;
	border: 3px solid #252B5F;
	border-radius: 999px;
	background: #fff;
	color: #252B5F;
	font-family: 'Lilita One', cursive;
	font-size: 1.05rem;
	padding: 0.85rem 1.25rem;
	outline: none;
}

.superpet-product-search input[type="search"]::placeholder {
	color: rgba(37, 43, 95, 0.65);
}

.superpet-product-search input[type="search"]:focus {
	box-shadow: 0 0 0 3px rgba(142, 202, 231, 0.8);
}

.superpet-product-search button {
	border: 3px solid #252B5F;
	border-radius: 999px;
	background: #EF9B42;
	color: #252B5F;
	font-family: 'Lilita One', cursive;
	font-size: 1.05rem;
	padding: 0.85rem 1.5rem;
	cursor: pointer;
}

.superpet-product-search button:hover {
	background: #8ECAE7;
}

@media (max-width: 640px) {
	.superpet-product-search {
		flex-direction: column;
	}
}

/* Precio filter de WooCommerce */
.wc-block-price-filter,
.wc-block-filter-wrapper {
	font-family: var(--wp--preset--font-family--nunito);
}

.wc-block-price-filter__range-input-wrapper {
	background-color: var(--wp--preset--color--light-yellow);
}

.wc-block-price-filter__range-input::-webkit-slider-thumb {
	background-color: var(--wp--preset--color--coral);
	border: 2px solid var(--wp--preset--color--dark);
}

.wc-block-price-filter__amount {
	border: 2px solid var(--wp--preset--color--dark) !important;
	border-radius: 12px !important;
	font-weight: 700;
	font-family: var(--wp--preset--font-family--nunito);
	color: var(--wp--preset--color--dark);
	background: var(--wp--preset--color--cream);
}

/* Attribute filter (Marca) */
.superpet-attr-filter .wc-block-attribute-filter-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.superpet-attr-filter .wc-block-attribute-filter-list-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0;
	font-family: var(--wp--preset--font-family--nunito);
	font-size: 0.95rem;
}

.superpet-attr-filter .wc-block-attribute-filter-list-item input[type="checkbox"] {
	accent-color: var(--wp--preset--color--coral);
	width: 18px;
	height: 18px;
	border-radius: 4px;
	cursor: pointer;
}

.superpet-attr-filter .wc-block-attribute-filter-list-item .wc-block-attribute-filter-list-item-label {
	cursor: pointer;
	transition: color 0.15s ease;
}

.superpet-attr-filter .wc-block-attribute-filter-list-item:hover .wc-block-attribute-filter-list-item-label {
	color: var(--wp--preset--color--coral);
}

/* Active filters chips */
.wc-block-active-filters__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.wc-block-active-filters__list-item-type {
	display: none;
}

.wc-block-active-filters__list-item {
	background-color: var(--wp--preset--color--coral);
	color: var(--wp--preset--color--cream);
	border: 2px solid var(--wp--preset--color--dark);
	border-radius: 100px;
	padding: 0.2rem 0.8rem;
	font-size: 0.85rem;
	font-weight: 800;
	font-family: var(--wp--preset--font-family--nunito);
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.wc-block-active-filters__list-item-remove {
	cursor: pointer;
	opacity: 0.8;
}

.wc-block-active-filters__list-item-remove:hover {
	opacity: 1;
}

/* Responsive shop layout */
@media (max-width: 768px) {
	.superpet-filter-sidebar {
		position: static;
	}
}

/* ── Sticky header ── */
.superpet-sticky-header {
	position: sticky;
	top: 0;
	z-index: 50;
}

/* Ocultar ícono de cuenta de WooCommerce del navbar */
.wp-block-woocommerce-customer-account,
.wc-block-customer-account,
.superpet-sticky-header .wp-block-woocommerce-customer-account {
	display: none !important;
}



/* ── Animations ── */
@keyframes superpet-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-10px) rotate(3deg); }
}

@keyframes superpet-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

.superpet-float {
	animation: superpet-float 4s ease-in-out infinite;
}

.superpet-bounce {
	animation: superpet-bounce 2s ease-in-out infinite;
}

/* ── Category circle icons ── */
.superpet-category-circle {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 3px solid var(--wp--preset--color--dark);
	box-shadow: 0 4px 0 var(--wp--preset--color--dark);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.superpet-category-circle:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 0 var(--wp--preset--color--dark);
}

@media (max-width: 900px) {
	.superpet-promo-banner {
		grid-template-columns: 1fr auto 1fr;
		text-align: center;
	}

	.superpet-promo-banner__shipping {
		text-align: left;
	}

	.superpet-promo-banner__logo {
		grid-column: 1 / -1;
		justify-self: center;
		width: clamp(96px, 26vw, 150px);
		margin-top: -0.5rem;
	}
}

@media (max-width: 640px) {
	.superpet-promo-banner {
		grid-template-columns: 1fr;
		gap: 0.75rem;
		border-radius: 30px;
	}

	.superpet-promo-banner__plus {
		font-size: 2.75rem;
	}

	.superpet-promo-banner__shipping {
		text-align: center;
	}

	.superpet-promo-banner__title {
		white-space: normal;
	}

	.superpet-promo-banner__logo {
		margin-top: 0;
		width: min(42vw, 140px);
	}
}

/* ── Contact form ── */
.superpet-form input,
.superpet-form textarea {
	border: 3px solid var(--wp--preset--color--dark);
	border-radius: 16px;
	padding: 0.9rem 1.2rem;
	font-family: 'Nunito', sans-serif;
	font-size: 1rem;
	background: var(--wp--preset--color--cream);
	width: 100%;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	color: var(--wp--preset--color--dark);
}

.superpet-form input::placeholder,
.superpet-form textarea::placeholder {
	color: #999;
	font-weight: 400;
}

.superpet-form input:focus,
.superpet-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--coral);
	box-shadow: 0 0 0 3px rgba(255, 112, 88, 0.25);
}

.superpet-form label {
	font-weight: 800;
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
	color: var(--wp--preset--color--dark);
}

.superpet-form textarea {
	resize: vertical;
	min-height: 140px;
}

.superpet-form button[type="submit"]:hover {
	transform: translateY(4px);
	box-shadow: 0 2px 0 var(--wp--preset--color--dark);
}

/* ── Site blocks footer margin reset ── */
.wp-site-blocks > footer {
	margin-block-start: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.superpet-nav-pill {
		padding: 0.5rem 1rem;
	}

	.superpet-hero-media--desktop {
		display: none;
	}

	.superpet-hero-media--mobile {
		display: block;
	}

	.superpet-hero-wrapper {
		min-height: calc(100vh - 0px) !important;
		padding-top: 3rem !important;
		padding-bottom: 3rem !important;
		align-items: flex-start !important;
	}

	.superpet-hero-wrapper .wp-block-cover__inner-container {
		display: flex;
		justify-content: center;
	}

	.superpet-hero-wrapper .wp-block-cover__inner-container > .wp-block-group {
		margin-left: auto !important;
		margin-right: auto !important;
		padding-left: 1.25rem !important;
		padding-right: 1.25rem !important;
		padding-top: clamp(1.25rem, 7vh, 4rem);
		max-width: 640px !important;
		text-align: center;
	}

	.superpet-hero-title {
		font-size: clamp(3.1rem, 15vw, 5rem) !important;
		line-height: 0.9 !important;
		margin-bottom: 1rem;
	}

	.superpet-hero-copy {
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
		font-size: clamp(1.35rem, 5vw, 1.9rem) !important;
		line-height: 1.15 !important;
	}

	.superpet-hero-wrapper .wp-block-buttons {
		justify-content: center;
	}

	.superpet-hero-wrapper .wp-block-button__link {
		width: min(78vw, 420px);
		box-sizing: border-box;
		padding-left: 1.25rem !important;
		padding-right: 1.25rem !important;
	}

	.superpet-hero-wrapper::before {
		width: 100%;
		border-radius: 0;
	}

	.superpet-location-card {
		padding: 2.5rem 1.75rem !important;
	}

	.superpet-locations-grid {
		gap: 2rem !important;
	}

	.superpet-locations-grid > .wp-block-column {
		margin-bottom: 2rem;
	}

	.superpet-locations-grid > .wp-block-column:last-child {
		margin-bottom: 0;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   WOOCOMMERCE — Integración visual con el sistema de diseño Super Pet
   Estos estilos hacen que WooCommerce herede colores, tipografía y bordes
   del tema sin reemplazar la funcionalidad nativa del plugin.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Grilla de productos WooCommerce ── */
.superpet-product-grid .wc-block-grid__products,
ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--wp--preset--spacing--30);
	list-style: none;
	padding: 0;
	margin: 0;
}

@media (max-width: 900px) {
	.superpet-product-grid .wc-block-grid__products,
	ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.superpet-product-grid .wc-block-grid__products,
	ul.products {
		grid-template-columns: 1fr;
	}
}

/* ══════════════════════════════════════════════════════════════════════
   CARDS DE PRODUCTO — Estilo minimalista
   Aplica SOLO dentro de .superpet-product-grid para no afectar las
   cards decorativas del Home que usan .superpet-card con el estilo chunky.
   ══════════════════════════════════════════════════════════════════════ */

/* Card wrapper */
.superpet-product-grid .superpet-card,
ul.products li.product {
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	display: flex;
	flex-direction: column;
}

.superpet-product-grid .superpet-card:hover,
ul.products li.product:hover {
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.11);
	transform: translateY(-3px);
}

/* Área de imagen: fondo gris claro, imagen centrada con contain */
.superpet-product-grid .superpet-card > figure,
.superpet-product-grid .superpet-card .wp-block-woocommerce-product-image,
ul.products li.product a img {
	background-color: #f5f5f5;
	border-radius: 14px 14px 0 0;
	overflow: hidden;
}

.superpet-product-grid figure img,
.superpet-product-grid .superpet-card figure img {
	height: 200px;
	width: 100%;
	object-fit: contain;
	padding: 0.75rem;
	background: #f5f5f5;
}

ul.products li.product img {
	width: 100%;
	height: 200px;
	object-fit: contain;
	padding: 0.75rem;
	background: #f5f5f5;
}

/* Área de texto interna más compacta */
.superpet-product-grid .superpet-card .wp-block-group {
	padding: 0.75rem 0.9rem 0.9rem !important;
}

/* Título del producto */
.superpet-product-grid h3.wp-block-post-title,
.superpet-product-grid h3.wp-block-post-title a,
ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--wp--preset--font-family--nunito);
	font-size: 0.88rem !important;
	font-weight: 700;
	color: var(--wp--preset--color--dark) !important;
	line-height: 1.35;
	margin: 0 0 0.4rem !important;
	padding: 0 !important;
	text-decoration: none;
}

.superpet-product-grid h3.wp-block-post-title a:hover {
	color: var(--wp--preset--color--coral) !important;
}

/* ── Precio minimalista — sin pastilla verde ── */
/* Precio simple (sin oferta) */
.superpet-product-grid .wc-block-components-product-price,
.superpet-product-grid .wc-block-components-product-price__value,
.superpet-product-grid .price,
ul.products li.product .price {
	display: block;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 0 0.6rem !important;
	font-size: 1.05rem;
	font-weight: 900;
	color: var(--wp--preset--color--dark);
}

/* El amount real (precio actual) */
.superpet-product-grid ins .woocommerce-Price-amount,
.superpet-product-grid .price > .woocommerce-Price-amount,
ul.products li.product ins .woocommerce-Price-amount,
ul.products li.product .price > .woocommerce-Price-amount {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	color: var(--wp--preset--color--dark) !important;
	font-size: 1.05rem;
	font-weight: 900;
}

/* Precio tachado (sin oferta gris pequeño) */
.superpet-product-grid del,
ul.products li.product del {
	display: inline;
	margin-right: 0.35rem;
}

.superpet-product-grid del .woocommerce-Price-amount,
ul.products li.product del .woocommerce-Price-amount,
del .woocommerce-Price-amount,
del span.woocommerce-Price-amount {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	color: #aaa !important;
	font-size: 0.82rem !important;
	font-weight: 500 !important;
	text-decoration: line-through;
}

/* Precio grande en single product — mantener estilo del tema */
.woocommerce-page .single-product ins .woocommerce-Price-amount,
.woocommerce-page .single-product .price > .woocommerce-Price-amount {
	font-size: 1.6rem;
	font-weight: 900;
	color: var(--wp--preset--color--dark);
}

/* ── FIX FINAL: Clases específicas del bloque WooCommerce ── */
/* El bloque woocommerce/product-price genera wc-block-components-product-price */
.superpet-product-grid .wc-block-components-product-price__value,
.superpet-product-grid .wc-block-components-product-price .woocommerce-Price-amount,
.superpet-product-grid .wc-block-components-product-price span {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.superpet-product-grid .wc-block-components-product-price .woocommerce-Price-amount {
	color: var(--wp--preset--color--dark) !important;
	font-weight: 900;
	font-size: 1rem;
}

.superpet-product-grid del .wc-block-components-product-price__value,
.superpet-product-grid del .woocommerce-Price-amount {
	color: #aaa !important;
	font-size: 0.82rem !important;
	font-weight: 500 !important;
}


/* ── Botón "Agregar al carrito" en grilla — rectangular, full width ── */
.superpet-product-grid .wp-block-button__link,
.superpet-product-grid .wc-block-components-product-button__button,
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
	display: block;
	width: 100%;
	margin: 0 !important;
	background-color: var(--wp--preset--color--dark);
	color: #fff !important;
	border: none;
	border-radius: 8px !important;
	padding: 0.65rem 1rem;
	font-family: var(--wp--preset--font-family--nunito);
	font-weight: 800;
	font-size: 0.88rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	text-align: center;
	box-shadow: none !important;
	transition: background-color 0.15s ease;
	cursor: pointer;
	box-sizing: border-box;
}

.superpet-product-grid .wp-block-button__link:hover,
.superpet-product-grid .wc-block-components-product-button__button:hover,
ul.products li.product .button:hover,
ul.products li.product .add_to_cart_button:hover {
	background-color: var(--wp--preset--color--coral) !important;
	transform: none;
	box-shadow: none !important;
}

/* ── Product search results ── */
body.search-results,
body.search-results .wp-site-blocks,
body.search-results main,
body.search-results .woocommerce,
body.search-results .site-main,
body.search-results .content-area {
	background-color: #fff !important;
}

body.search-results .woocommerce-ordering,
body.search-results .woocommerce-ordering select,
body.search-results .orderby,
.woocommerce .woocommerce-ordering {
	display: none !important;
}

body.search-results ul.products {
	background-color: #fff !important;
}

/* Badge "OFERTA" — pequeño y discreto */
.superpet-product-grid .wc-block-components-product-sale-badge,
.woocommerce span.onsale {
	background-color: var(--wp--preset--color--coral) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 6px !important;
	font-weight: 800;
	font-size: 0.72rem;
	padding: 0.2rem 0.55rem !important;
	min-height: auto !important;
	min-width: auto !important;
	line-height: 1.4;
	top: 10px !important;
	left: 10px !important;
}



/* ── Botón "Agregar al carrito" en producto individual ── */
.superpet-add-to-cart .single_add_to_cart_button,
.woocommerce .single_add_to_cart_button {
	background-color: var(--wp--preset--color--coral);
	color: var(--wp--preset--color--cream);
	border: 3px solid var(--wp--preset--color--dark);
	border-radius: 100px;
	padding: 0.9rem 2rem;
	font-weight: 900;
	font-size: 1.1rem;
	text-transform: uppercase;
	box-shadow: 0 6px 0 var(--wp--preset--color--dark);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.superpet-add-to-cart .single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover {
	transform: translateY(4px);
	box-shadow: 0 2px 0 var(--wp--preset--color--dark);
	background-color: var(--wp--preset--color--green);
}

/* ── Input cantidad en producto individual ── */
.woocommerce input.qty,
.woocommerce .quantity input {
	border: 3px solid var(--wp--preset--color--dark);
	border-radius: 16px;
	padding: 0.7rem 1rem;
	font-family: var(--wp--preset--font-family--nunito);
	font-size: 1rem;
	font-weight: 700;
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--dark);
	width: 80px;
	text-align: center;
}

/* ── Badge de oferta ── */
.woocommerce span.onsale {
	background-color: var(--wp--preset--color--coral);
	color: var(--wp--preset--color--cream);
	border: 2px solid var(--wp--preset--color--dark);
	border-radius: 100px;
	font-weight: 900;
	font-size: 0.85rem;
	min-height: auto;
	min-width: auto;
	padding: 0.2rem 0.8rem;
	line-height: 1.5;
}

/* ── Galería de producto individual ── */
.woocommerce div.product .woocommerce-product-gallery {
	border-radius: 24px;
	overflow: hidden;
	border: 3px solid var(--wp--preset--color--dark);
	box-shadow: 0 6px 0 var(--wp--preset--color--dark);
}

/* ── Tabs de descripción / información adicional ── */
.woocommerce div.product .woocommerce-tabs .tabs li a {
	font-family: var(--wp--preset--font-family--nunito);
	font-weight: 800;
	color: var(--wp--preset--color--dark);
}

.woocommerce div.product .woocommerce-tabs .tabs li.active a {
	color: var(--wp--preset--color--coral);
}

/* ── Carrito ── */
.woocommerce-cart,
.woocommerce-cart .wp-site-blocks,
.woocommerce-cart main,
.superpet-cart-page,
body:has(.wc-block-cart),
body:has(.woocommerce-cart-form),
.wp-site-blocks:has(.wc-block-cart),
.wp-site-blocks:has(.woocommerce-cart-form),
main:has(.wc-block-cart),
main:has(.woocommerce-cart-form) {
	background-color: #FFFDF5 !important;
}

.woocommerce-cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	gap: var(--wp--preset--spacing--40);
	align-items: start;
}

.woocommerce-cart .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.woocommerce-cart .woocommerce-cart-form {
	grid-column: 1;
}

.woocommerce-cart .cart-collaterals {
	grid-column: 2;
	align-self: start;
}

.superpet-cart-page > .wp-block-group,
.woocommerce-cart main > .wp-block-group {
	max-width: 1440px !important;
}

.superpet-cart-title,
.woocommerce-cart h1 {
	color: #252B5F;
	font-family: 'Lilita One', cursive !important;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	line-height: 0.95;
	text-align: center;
	text-transform: uppercase;
}

.superpet-cart-subtitle {
	margin: 0 auto var(--wp--preset--spacing--50);
	max-width: 620px;
	color: #252B5F;
	font-family: 'Lilita One', cursive !important;
	font-size: 1.25rem;
	line-height: 1.3;
	text-align: center;
}

.woocommerce-cart .woocommerce-message,
.wc-block-components-notice-banner {
	background: #fff !important;
	border: 3px solid #8ECAE7 !important;
	border-radius: 18px !important;
	color: #252B5F !important;
	font-family: 'Lilita One', cursive !important;
	box-shadow: none !important;
}

.woocommerce-cart .woocommerce-cart-form table.cart,
.wc-block-cart .wc-block-cart-items {
	border: 3px solid #252B5F;
	border-radius: 28px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 0 #252B5F;
}

.woocommerce-cart table.cart th,
.wc-block-cart-items__header th {
	color: #252B5F !important;
	font-family: 'Lilita One', cursive !important;
	font-size: 1.1rem;
	text-transform: uppercase;
}

.woocommerce-cart table.cart td,
.wc-block-cart .wc-block-cart-items td {
	border-color: rgba(37, 43, 95, 0.14) !important;
	vertical-align: middle;
}

.woocommerce-cart table.cart img,
.wc-block-cart-item__image img {
	width: 96px !important;
	height: 96px !important;
	object-fit: contain;
	background: #fff;
	border-radius: 14px;
}

.woocommerce-cart table.cart a,
.wc-block-cart-item__product a {
	color: #252B5F !important;
	font-family: 'Lilita One', cursive !important;
	font-size: 1.1rem;
}

.woocommerce-cart table.cart .product-remove a {
	color: #9B1C1C !important;
	font-size: 1.6rem;
	text-decoration: none !important;
}

.woocommerce-cart table.cart .qty,
.wc-block-components-quantity-selector {
	border: 3px solid #252B5F !important;
	border-radius: 16px !important;
	background: #fff !important;
}

.woocommerce-cart .cart-collaterals {
	display: block;
	margin-top: 0;
}

.woocommerce-cart .cart-collaterals::before,
.woocommerce-cart .cart-collaterals::after {
	display: none;
}

.woocommerce-cart .coupon {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.woocommerce-cart .coupon .input-text {
	min-width: 220px;
	border: 2px solid rgba(37, 43, 95, 0.25);
	border-radius: 12px;
	padding: 0.9rem 1rem;
	color: #252B5F;
}

.woocommerce-cart button[name="update_cart"],
.woocommerce-cart input[name="update_cart"] {
	display: none !important;
}

.woocommerce-cart .cart_totals,
.wc-block-cart__totals {
	background-color: #fff;
	border: 3px solid #252B5F;
	border-radius: 28px;
	padding: var(--wp--preset--spacing--40);
	box-shadow: 0 8px 0 #252B5F;
	color: #252B5F;
}

.woocommerce-cart .cart_totals {
	float: none !important;
	width: 100% !important;
	position: sticky;
	top: 120px;
}

.wc-block-cart {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	gap: var(--wp--preset--spacing--40);
	align-items: start;
}

.wc-block-cart .wc-block-cart-items {
	grid-column: 1;
}

.wc-block-cart__totals {
	grid-column: 2;
	position: sticky;
	top: 120px;
}

.woocommerce-cart .cart_totals h2,
.wc-block-cart__totals-title {
	color: #252B5F !important;
	font-family: 'Lilita One', cursive !important;
	font-size: 1.6rem !important;
	text-transform: uppercase;
}

.woocommerce-cart .cart_totals table,
.wc-block-cart__totals table {
	background: #FFFDF5;
	border-radius: 14px;
}

/* ── Botón de checkout ── */
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.wc-block-cart__submit-button {
	background-color: #EF9B42 !important;
	color: #fff !important;
	border: 3px solid #252B5F !important;
	border-radius: 100px !important;
	font-weight: 900;
	font-size: 1.1rem;
	font-family: 'Lilita One', cursive !important;
	box-shadow: 0 6px 0 #252B5F;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.wc-block-cart__submit-button:hover {
	transform: translateY(4px);
	box-shadow: 0 2px 0 #252B5F !important;
	background-color: #8ECAE7 !important;
	color: #252B5F !important;
}

.woocommerce-cart .button,
.wc-block-cart .wc-block-components-button {
	font-family: 'Lilita One', cursive !important;
}

@media (max-width: 768px) {
	.woocommerce-cart .woocommerce {
		display: block;
	}

	.woocommerce-cart .cart_totals {
		position: static;
		margin-top: var(--wp--preset--spacing--40);
	}

	.wc-block-cart {
		display: block;
	}

	.wc-block-cart__totals {
		position: static;
		margin-top: var(--wp--preset--spacing--40);
	}

	.woocommerce-cart .cart-collaterals {
		display: block;
	}

	.woocommerce-cart .coupon {
		flex-direction: column;
		align-items: stretch;
	}

	.woocommerce-cart .coupon .input-text,
	.woocommerce-cart .coupon .button {
		width: 100% !important;
	}
}

/* ── Checkout ── */
.woocommerce-checkout,
.woocommerce-checkout .wp-site-blocks,
.woocommerce-checkout main,
.superpet-checkout-page,
body:has(.woocommerce-checkout) {
	background-color: #FFFDF5 !important;
}

.superpet-checkout-page {
	padding-top: clamp(2rem, 4vw, 3.2rem) !important;
}

.superpet-checkout-shell,
.woocommerce-checkout main > .wp-block-group {
	width: min(100%, 1220px) !important;
	max-width: none !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.woocommerce-checkout .superpet-badge {
	margin-bottom: 1rem;
}

.superpet-checkout-title,
.woocommerce-checkout main h1 {
	color: #252B5F;
	font-family: 'Lilita One', cursive !important;
	font-size: clamp(2.2rem, 3.8vw, 3.4rem);
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.superpet-checkout-subtitle {
	margin: 0 auto var(--wp--preset--spacing--40);
	max-width: 700px;
	color: #252B5F;
	font-family: 'Lilita One', cursive !important;
	font-size: 1.15rem;
	line-height: 1.3;
	text-align: center;
}

.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce-checkout .checkout_coupon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: end;
	width: min(100%, 760px);
	max-width: none;
	margin: 0 auto var(--wp--preset--spacing--40) !important;
	padding: 1.1rem !important;
	background: #fff;
	border: 2px solid rgba(37, 43, 95, 0.18) !important;
	border-radius: 20px !important;
	box-shadow: 0 8px 20px rgba(37, 43, 95, 0.08);
}

.woocommerce-checkout .checkout_coupon p {
	margin: 0;
	color: #252B5F;
}

.woocommerce-checkout .checkout_coupon .form-row {
	margin-bottom: 0 !important;
}

.woocommerce-checkout .checkout_coupon > p:not(.form-row) {
	grid-column: 1 / -1;
}

.woocommerce-checkout .checkout_coupon .form-row-first {
	grid-column: 1;
}

.woocommerce-checkout .checkout_coupon .form-row-last {
	grid-column: 2;
}

.woocommerce-checkout .checkout_coupon input.input-text {
	width: 100% !important;
}

.woocommerce-checkout .checkout_coupon .button {
	min-height: 52px;
	white-space: nowrap;
	border: 2px solid #252B5F !important;
	border-radius: 999px !important;
	background: #EF9B42 !important;
	color: #fff !important;
	font-family: 'Lilita One', cursive !important;
	box-shadow: 0 4px 0 #252B5F;
}

.woocommerce-checkout .woocommerce {
	color: #252B5F;
	width: min(100%, 1128px);
	max-width: none;
	margin-right: auto;
	margin-left: auto;
}

.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 660px) minmax(340px, 420px);
	gap: clamp(2rem, 4vw, 3rem);
	align-items: start;
	justify-content: center;
}

.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
	grid-column: 1 / -1;
}

.woocommerce-checkout #customer_details {
	grid-column: 1;
	grid-row: 2;
	min-width: 0;
}

.woocommerce-checkout #order_review_heading {
	grid-column: 2;
	grid-row: 2;
	display: none;
}

.woocommerce-checkout #order_review {
	grid-column: 2;
	grid-row: 2;
	min-width: 0;
}

.woocommerce-checkout #order_review {
	position: sticky;
	top: 120px;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.wc-block-checkout__payment-method {
	box-sizing: border-box;
	background-color: #fff;
	border: 2px solid rgba(37, 43, 95, 0.22);
	border-radius: 24px;
	padding: clamp(1.4rem, 2.4vw, 2rem);
	box-shadow: 0 10px 28px rgba(37, 43, 95, 0.1);
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
	box-sizing: border-box;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
}

.woocommerce-checkout .col2-set .col-2 {
	margin-top: var(--wp--preset--spacing--40);
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.05rem 1.15rem;
}

.woocommerce-checkout .form-row {
	box-sizing: border-box;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
	margin: 0 0 1rem !important;
	padding: 0 !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
	margin: 0 !important;
}

.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #billing_phone_field,
.woocommerce-checkout #billing_email_field {
	grid-column: 1 / -1;
}

.woocommerce-checkout #billing_address_2_field label {
	display: none;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
	margin-top: 0;
	margin-bottom: 1.25rem;
	color: #252B5F;
	font-family: 'Lilita One', cursive !important;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.1;
	text-transform: uppercase;
}

.woocommerce-checkout #order_review::before {
	content: "Tu pedido";
	display: block;
	margin-bottom: 1.2rem;
	color: #252B5F;
	font-family: 'Lilita One', cursive;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.1;
	text-transform: uppercase;
}

.woocommerce-checkout .woocommerce-additional-fields {
	margin-top: var(--wp--preset--spacing--30);
}

.woocommerce-checkout label,
.woocommerce-checkout .woocommerce-input-wrapper,
.woocommerce-checkout .shop_table,
.woocommerce-checkout .woocommerce-checkout-review-order-table {
	color: #252B5F;
}

.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
	min-height: 52px;
	border: 2px solid rgba(37, 43, 95, 0.28);
	border-radius: 14px;
	padding: 0.78rem 0.95rem;
	font-family: var(--wp--preset--font-family--nunito);
	font-size: 1rem;
	background: white;
	color: #252B5F;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
	box-sizing: border-box;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
	outline: none;
	border-color: #EF9B42;
	box-shadow: 0 0 0 3px rgba(239, 155, 66, 0.25);
}

.woocommerce form .form-row textarea {
	min-height: 120px;
	resize: vertical;
}

.woocommerce-checkout label {
	display: block;
	margin-bottom: 0.45rem;
	font-family: var(--wp--preset--font-family--nunito);
	font-weight: 800;
	font-size: 0.95rem;
	line-height: 1.25;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
	min-height: 54px;
	border: 2px solid rgba(37, 43, 95, 0.28);
	border-radius: 14px;
	padding: 0.65rem 1rem;
	background: #fff;
	color: #252B5F;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #252B5F;
	line-height: 1.7;
	padding-left: 0;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	max-width: 760px;
	margin: 0 auto var(--wp--preset--spacing--30);
	padding: 1rem 1.25rem;
	background: #fff !important;
	border: 3px solid #8ECAE7 !important;
	border-radius: 18px;
	color: #252B5F;
	font-family: var(--wp--preset--font-family--nunito);
}

.woocommerce-checkout table.shop_table {
	border: 0 !important;
	border-collapse: separate;
	border-spacing: 0;
	margin-bottom: var(--wp--preset--spacing--30);
	font-size: 0.98rem;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
	border-color: rgba(37, 43, 95, 0.14) !important;
	padding: 0.85rem 0 !important;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table tfoot th {
	color: #252B5F;
	font-family: 'Lilita One', cursive !important;
	text-transform: uppercase;
}

.woocommerce-checkout table.shop_table .product-name {
	width: 62%;
}

.woocommerce-checkout table.shop_table .product-total,
.woocommerce-checkout table.shop_table td:last-child,
.woocommerce-checkout table.shop_table th:last-child {
	text-align: right;
}

.woocommerce-checkout table.shop_table tfoot tr:last-child th,
.woocommerce-checkout table.shop_table tfoot tr:last-child td {
	font-size: 1.08rem;
	font-weight: 900;
}

.woocommerce-checkout #payment {
	background: #FFFDF5 !important;
	border: 2px solid rgba(37, 43, 95, 0.14);
	border-radius: 20px;
	padding: 0.9rem;
}

.woocommerce-checkout #payment ul.payment_methods {
	border: 0 !important;
	padding: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
	padding: 1rem;
	border: 2px solid rgba(37, 43, 95, 0.14);
	border-radius: 18px;
	background: #fff;
	color: #252B5F;
}

.woocommerce-checkout #payment .woocommerce-info {
	margin: 0;
	border: 3px solid #8ECAE7 !important;
	border-radius: 18px;
	background: #fff !important;
	color: #252B5F;
	font-family: var(--wp--preset--font-family--nunito);
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
	margin-top: 1rem;
	color: #252B5F;
	font-family: var(--wp--preset--font-family--nunito);
	font-size: 0.95rem;
	line-height: 1.45;
}

.woocommerce-checkout #payment ul.payment_methods li + li {
	margin-top: 0.75rem;
}

.woocommerce-checkout #payment .payment_box,
.woocommerce-checkout #payment div.payment_box {
	background: #8ECAE7 !important;
	border-radius: 16px;
	color: #252B5F !important;
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: #8ECAE7 !important;
}

/* ── Botón "Realizar pedido" ── */
#place_order,
.wc-block-checkout__place-order-button {
	background-color: #EF9B42 !important;
	color: #fff !important;
	border: 3px solid #252B5F !important;
	border-radius: 100px !important;
	font-weight: 900;
	font-size: 1.2rem;
	font-family: 'Lilita One', cursive !important;
	box-shadow: 0 6px 0 #252B5F;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
	padding: 1rem 2rem !important;
	width: 100%;
	text-transform: uppercase;
}

#place_order:hover,
.wc-block-checkout__place-order-button:hover {
	transform: translateY(4px);
	box-shadow: 0 2px 0 #252B5F !important;
	background-color: #8ECAE7 !important;
	color: #252B5F !important;
}

/* ── Notificaciones / mensajes WooCommerce ── */
.woocommerce-message,
.woocommerce-info {
	border-top: 4px solid var(--wp--preset--color--green) !important;
	background-color: var(--wp--preset--color--light-green);
	border-radius: 16px;
	font-family: var(--wp--preset--font-family--nunito);
}

.woocommerce-error {
	border-top: 4px solid var(--wp--preset--color--coral) !important;
	background-color: #ffe8e4;
	border-radius: 16px;
	font-family: var(--wp--preset--font-family--nunito);
}

/* ── Breadcrumbs WooCommerce ── */
.woocommerce-breadcrumb {
	font-family: var(--wp--preset--font-family--nunito);
	font-size: 0.9rem;
	color: #666;
	margin-bottom: var(--wp--preset--spacing--40);
}

.woocommerce-breadcrumb a {
	color: var(--wp--preset--color--coral);
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	color: var(--wp--preset--color--green);
}

@media (max-width: 900px) {
	.woocommerce-checkout form.checkout {
		display: block;
	}

	.woocommerce-checkout #order_review {
		position: static;
		margin-top: var(--wp--preset--spacing--40);
	}

	.woocommerce-checkout .woocommerce-billing-fields,
	.woocommerce-checkout .woocommerce-shipping-fields,
	.woocommerce-checkout #customer_details,
	.woocommerce-checkout #order_review,
	.wc-block-checkout__payment-method {
		padding: var(--wp--preset--spacing--30);
	}

	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
		display: block;
	}

	.woocommerce-checkout .checkout_coupon {
		display: block;
	}

	.woocommerce-checkout .checkout_coupon .form-row-first {
		margin-bottom: 1rem !important;
	}

	.superpet-checkout-page {
		padding-right: 1rem !important;
		padding-left: 1rem !important;
	}

	.superpet-checkout-title {
		font-size: clamp(2rem, 12vw, 3rem);
	}
}

/* ── Rating estrellas ── */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
	color: var(--wp--preset--color--yellow);
}

/* ── Ícono de carrito en header ── */
.superpet-cart-icon {
	position: relative;
	font-size: 1.4rem;
	text-decoration: none;
	color: var(--wp--preset--color--dark);
	transition: transform 0.2s ease;
}

.superpet-cart-icon:hover {
	transform: scale(1.1);
	color: var(--wp--preset--color--coral);
}

.superpet-cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	background-color: var(--wp--preset--color--coral);
	color: var(--wp--preset--color--cream);
	border: 2px solid var(--wp--preset--color--dark);
	border-radius: 100px;
	font-size: 0.7rem;
	font-weight: 900;
	padding: 0 5px;
	min-width: 20px;
	text-align: center;
	line-height: 18px;
}

/* ── Mini cart drawer ── */
.wc-block-mini-cart__drawer,
.wc-block-components-drawer,
.wc-block-components-drawer__content,
.wc-block-components-drawer__screen-overlay,
.wc-block-mini-cart__template-part,
.wp-block-woocommerce-mini-cart-contents,
.wc-block-mini-cart__drawer .components-modal__frame,
.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-components-drawer .components-modal__frame,
.wc-block-components-drawer .components-modal__content {
	background-color: #fff !important;
	color: #252B5F !important;
}

.wc-block-mini-cart__drawer *,
.wc-block-components-drawer * {
	border-color: rgba(37, 43, 95, 0.25);
}

.wc-block-mini-cart__drawer a,
.wc-block-components-drawer a,
.wc-block-components-drawer button {
	color: #252B5F !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-cart-item__product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a,
.wc-block-components-drawer .wc-block-components-product-name,
.wc-block-components-drawer .wc-block-cart-item__product-name,
.wc-block-components-drawer .wc-block-components-product-name a,
.wc-block-components-drawer .wc-block-cart-item__product-name a {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	color: #252B5F !important;
	font-family: 'Lilita One', cursive !important;
	font-size: 1.2rem !important;
	line-height: 1.15 !important;
	text-decoration: none !important;
}

.wc-block-mini-cart__drawer .wc-block-components-button,
.wc-block-components-drawer .wc-block-components-button {
	font-family: 'Lilita One', cursive !important;
	text-transform: uppercase;
}

.wc-block-mini-cart__drawer .wc-block-components-button.outlined,
.wc-block-components-drawer .wc-block-components-button.outlined,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart,
.wc-block-components-drawer .wc-block-mini-cart__footer-cart {
	background-color: #FFFDF5 !important;
	border-color: #252B5F !important;
	color: #252B5F !important;
}

.wc-block-mini-cart__drawer .wc-block-components-button.outlined:hover,
.wc-block-components-drawer .wc-block-components-button.outlined:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart:hover,
.wc-block-components-drawer .wc-block-mini-cart__footer-cart:hover {
	background-color: #8ECAE7 !important;
	border-color: #252B5F !important;
	color: #252B5F !important;
	box-shadow: none !important;
}

/* ── Mi cuenta ── */
.woocommerce-account .woocommerce-MyAccount-navigation {
	background-color: var(--wp--preset--color--light-yellow);
	border: 3px solid var(--wp--preset--color--dark);
	border-radius: 24px;
	padding: var(--wp--preset--spacing--30);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 0.6rem 1rem;
	border-radius: 100px;
	font-weight: 800;
	color: var(--wp--preset--color--dark);
	text-decoration: none;
	transition: background 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background-color: var(--wp--preset--color--coral);
	color: var(--wp--preset--color--cream);
}
