/*
 * Hogarazo Shop V2 — Theme 4.3.0
 * Estilos exclusivos del catálogo de WooCommerce.
 */

body.hogarazo-catalog {
	--hz-shop-surface: #ffffff;
	--hz-shop-soft: #f3f7f4;
	--hz-shop-ink: #18221d;
	--hz-shop-muted: #68766e;
	--hz-shop-border: #dfe8e2;
	--hz-shop-green: #084c2e;
	--hz-shop-red: #15974d;
	--hz-shop-yellow: #ffc400;
	background: #fff;
	color: var(--hz-shop-ink);
}

/* ---------------------------------------------------------
   Hero único de Blocksy: compacto, cálido y premium
   --------------------------------------------------------- */
body.hogarazo-catalog .hero-section {
	position: relative;
	isolation: isolate;
	min-height: 238px;
	overflow: hidden;
	border: 1px solid rgba(8, 76, 46, .08);
	border-radius: 0 0 28px 28px;
	background:
		radial-gradient(circle at 78% 25%, rgba(255, 196, 0, .34), transparent 24%),
		radial-gradient(circle at 92% 80%, rgba(8, 76, 46, .18), transparent 30%),
		linear-gradient(120deg, #f8f4e8 0%, #f2f8f2 48%, #fff2bf 100%) !important;
}

body.hogarazo-catalog .hero-section::before,
body.hogarazo-catalog .hero-section::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}

body.hogarazo-catalog .hero-section::before {
	width: 290px;
	height: 290px;
	right: -72px;
	top: -118px;
	border: 38px solid rgba(255, 255, 255, .48);
	border-radius: 50%;
}

body.hogarazo-catalog .hero-section::after {
	width: 170px;
	height: 108px;
	right: 10%;
	bottom: -38px;
	border-radius: 80px 80px 16px 16px;
	background: rgba(8, 76, 46, .10);
	box-shadow:
		-150px 25px 0 -18px rgba(223, 21, 21, .07),
		80px -45px 0 -34px rgba(255, 196, 0, .45);
	transform: rotate(-4deg);
}

body.hogarazo-catalog .hero-section > [class*="ct-container"],
body.hogarazo-catalog .hero-section > .ct-container {
	min-height: 238px;
	padding-top: 32px !important;
	padding-bottom: 32px !important;
}

body.hogarazo-catalog .hero-section .page-title,
body.hogarazo-catalog .hero-section h1,
body.hogarazo-catalog .hero-section [class*="page-title"] {
	margin: 0;
	color: #102019 !important;
	font-size: clamp(2.8rem, 6vw, 5rem) !important;
	font-weight: 950 !important;
	letter-spacing: -.055em !important;
	line-height: .95 !important;
	text-shadow: 0 2px 0 rgba(255, 255, 255, .7);
}

/* Reduce el gran espacio entre el hero y el catálogo. */
body.hogarazo-catalog #main > .ct-container,
body.hogarazo-catalog #main .ct-container[data-vertical-spacing] {
	padding-top: 26px !important;
	padding-bottom: 68px !important;
}

body.hogarazo-catalog .hz-shop-content {
	width: 100%;
	margin: 0;
}

/* Evita cualquier encabezado antiguo que haya quedado de otra plantilla. */
body.hogarazo-catalog .hz-shop-hero,
body.hogarazo-catalog .woocommerce-products-header {
	display: none !important;
}

/* ---------------------------------------------------------
   Notificaciones y barra del catálogo
   --------------------------------------------------------- */
body.hogarazo-catalog .woocommerce-notices-wrapper {
	margin-bottom: 18px;
}

body.hogarazo-catalog .woocommerce-message,
body.hogarazo-catalog .woocommerce-info,
body.hogarazo-catalog .woocommerce-error {
	border: 1px solid var(--hz-shop-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(3, 47, 29, .06);
}

body.hogarazo-catalog .hz-shop-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	margin: 0 0 28px;
	padding: 20px 22px;
	border: 1px solid var(--hz-shop-border);
	border-radius: 18px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 14px 38px rgba(3, 47, 29, .07);
}

body.hogarazo-catalog .hz-shop-toolbar__title {
	margin: 0;
	color: var(--hz-shop-ink);
	font-size: 1.08rem;
	font-weight: 950;
}

body.hogarazo-catalog .hz-shop-toolbar__note {
	margin: 5px 0 0;
	color: var(--hz-shop-muted);
	font-size: .92rem;
	line-height: 1.45;
}

body.hogarazo-catalog .hz-shop-toolbar__controls {
	display: grid;
	grid-template-columns: auto minmax(210px, auto);
	align-items: center;
	gap: 16px;
}

body.hogarazo-catalog .woocommerce-result-count,
body.hogarazo-catalog .woocommerce-ordering {
	float: none !important;
	margin: 0 !important;
}

body.hogarazo-catalog .woocommerce-result-count {
	color: var(--hz-shop-muted);
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .045em;
	line-height: 1.35;
	text-transform: uppercase;
}

body.hogarazo-catalog .woocommerce-ordering select {
	width: 100%;
	min-height: 48px;
	padding: 0 44px 0 16px;
	border: 1px solid var(--hz-shop-border);
	border-radius: 12px;
	background-color: #fff;
	color: var(--hz-shop-ink);
	font-weight: 750;
	box-shadow: none;
}

/* ---------------------------------------------------------
   Grilla y tarjetas
   --------------------------------------------------------- */
body.hogarazo-catalog ul.products,
body.hogarazo-catalog .products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 24px !important;
	margin: 0 0 56px !important;
	padding: 0 !important;
}

body.hogarazo-catalog ul.products::before,
body.hogarazo-catalog ul.products::after {
	display: none !important;
}

body.hogarazo-catalog ul.products li.product,
body.hogarazo-catalog .products .product {
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	width: auto !important;
	height: 100% !important;
	min-width: 0;
	margin: 0 !important;
	padding: 14px 14px 16px !important;
	overflow: hidden;
	border: 1px solid var(--hz-shop-border) !important;
	border-radius: 19px !important;
	background: var(--hz-shop-surface) !important;
	box-shadow: 0 8px 26px rgba(3, 47, 29, .055) !important;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.hogarazo-catalog ul.products li.product:hover {
	transform: translateY(-6px);
	border-color: rgba(8, 76, 46, .30) !important;
	box-shadow: 0 20px 48px rgba(3, 47, 29, .13) !important;
}

body.hogarazo-catalog ul.products li.product > a.woocommerce-LoopProduct-link,
body.hogarazo-catalog ul.products li.product > a.woocommerce-loop-product__link {
	display: flex;
	flex: 1;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

body.hogarazo-catalog ul.products li.product .ct-image-container,
body.hogarazo-catalog ul.products li.product .woocommerce-loop-product__link > img,
body.hogarazo-catalog ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	margin: 0 0 16px !important;
	border-radius: 14px;
	background: linear-gradient(145deg, #f4f7f5, #fbfcfb);
}

body.hogarazo-catalog ul.products li.product img {
	transition: transform .32s ease;
}

body.hogarazo-catalog ul.products li.product:hover img {
	transform: scale(1.025);
}

body.hogarazo-catalog .hz-product-category {
	display: block;
	margin: 0 2px 7px;
	color: var(--hz-shop-green);
	font-size: .71rem;
	font-weight: 950;
	letter-spacing: .075em;
	line-height: 1.35;
	text-transform: uppercase;
}

body.hogarazo-catalog ul.products li.product .woocommerce-loop-product__title {
	min-height: 2.8em;
	margin: 0 2px 10px !important;
	padding: 0 !important;
	color: var(--hz-shop-ink) !important;
	font-size: 1rem !important;
	font-weight: 850 !important;
	line-height: 1.4;
}

body.hogarazo-catalog ul.products li.product .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 7px;
	margin: auto 2px 7px !important;
	color: var(--hz-shop-green) !important;
	font-size: 1.16rem !important;
	font-weight: 950 !important;
}

body.hogarazo-catalog ul.products li.product .price del {
	color: #99a39d;
	font-size: .82em;
	font-weight: 650;
	opacity: 1;
}

body.hogarazo-catalog ul.products li.product .price ins {
	color: var(--hz-shop-red);
	text-decoration: none;
}

body.hogarazo-catalog .hz-stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 2px 2px 14px;
	color: var(--hz-shop-muted);
	font-size: .78rem;
	font-weight: 750;
}

body.hogarazo-catalog .hz-stock::before {
	content: "";
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	border-radius: 50%;
	background: #98a29c;
	box-shadow: 0 0 0 4px rgba(152, 162, 156, .12);
}

body.hogarazo-catalog .hz-stock--in::before {
	background: #15945b;
	box-shadow: 0 0 0 4px rgba(21, 148, 91, .12);
}

body.hogarazo-catalog .hz-stock--low {
	color: #956300;
}

body.hogarazo-catalog .hz-stock--low::before {
	background: #f2a900;
	box-shadow: 0 0 0 4px rgba(242, 169, 0, .14);
}

body.hogarazo-catalog .hz-stock--out {
	color: #a33d3d;
}

body.hogarazo-catalog .hz-stock--out::before {
	background: #c94a4a;
	box-shadow: 0 0 0 4px rgba(201, 74, 74, .12);
}

body.hogarazo-catalog ul.products li.product .button,
body.hogarazo-catalog ul.products li.product .added_to_cart {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 11px !important;
	background: var(--hz-shop-red) !important;
	color: #fff !important;
	font-size: .89rem !important;
	font-weight: 900 !important;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 10px 22px rgba(223, 21, 21, .20);
	transition: transform .2s ease, filter .2s ease;
}

body.hogarazo-catalog ul.products li.product .button:hover,
body.hogarazo-catalog ul.products li.product .added_to_cart:hover {
	transform: translateY(-2px);
	filter: brightness(.94);
}

body.hogarazo-catalog ul.products li.product .added_to_cart {
	margin-top: 8px !important;
	background: var(--hz-shop-green) !important;
	box-shadow: 0 10px 22px rgba(8, 76, 46, .18);
}

body.hogarazo-catalog span.onsale {
	top: 24px !important;
	left: 24px !important;
	right: auto !important;
	z-index: 3;
	min-width: auto;
	min-height: auto;
	margin: 0 !important;
	padding: 8px 11px !important;
	border-radius: 999px !important;
	background: var(--hz-shop-red) !important;
	color: #fff !important;
	font-size: .72rem !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	box-shadow: 0 8px 18px rgba(223, 21, 21, .25);
}

body.hogarazo-catalog .star-rating {
	color: var(--hz-shop-yellow);
}

/* ---------------------------------------------------------
   Paginación — unificada con el resto del sitio (v7.1.11)
   --------------------------------------------------------- */
body.hogarazo-catalog nav.woocommerce-pagination {
	margin: 34px 0 10px;
}

body.hogarazo-catalog nav.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

body.hogarazo-catalog nav.woocommerce-pagination ul li {
	margin: 0;
	border: 0;
}

body.hogarazo-catalog nav.woocommerce-pagination ul li a,
body.hogarazo-catalog nav.woocommerce-pagination ul li span {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 13px;
	border: 1px solid #d6e3db;
	border-radius: 11px;
	background: #fff;
	color: #073f26;
	font-weight: 850;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

body.hogarazo-catalog nav.woocommerce-pagination ul li span.current,
body.hogarazo-catalog nav.woocommerce-pagination ul li a:hover {
	border-color: #0b6639;
	background: #0b6639;
	color: #fff;
}

body.hogarazo-catalog nav.woocommerce-pagination ul li a:hover {
	transform: translateY(-1px);
}

@media (max-width: 520px) {
	body.hogarazo-catalog nav.woocommerce-pagination {
		margin-top: 28px;
	}

	body.hogarazo-catalog nav.woocommerce-pagination ul {
		gap: 7px;
	}

	body.hogarazo-catalog nav.woocommerce-pagination ul li a,
	body.hogarazo-catalog nav.woocommerce-pagination ul li span {
		min-width: 42px;
		height: 42px;
		padding: 0 11px;
		font-size: .92rem;
	}
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1100px) {
	body.hogarazo-catalog ul.products,
	body.hogarazo-catalog .products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 820px) {
	body.hogarazo-catalog .hero-section,
	body.hogarazo-catalog .hero-section > [class*="ct-container"],
	body.hogarazo-catalog .hero-section > .ct-container {
		min-height: 190px;
	}

	body.hogarazo-catalog .hero-section .page-title,
	body.hogarazo-catalog .hero-section h1 {
		font-size: clamp(2.5rem, 13vw, 4rem) !important;
	}

	body.hogarazo-catalog #main > .ct-container,
	body.hogarazo-catalog #main .ct-container[data-vertical-spacing] {
		padding-top: 18px !important;
		padding-bottom: 48px !important;
	}

	body.hogarazo-catalog .hz-shop-toolbar {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 18px;
	}

	body.hogarazo-catalog .hz-shop-toolbar__controls {
		grid-template-columns: 1fr;
	}

	body.hogarazo-catalog .woocommerce-ordering,
	body.hogarazo-catalog .woocommerce-ordering select {
		width: 100%;
	}

	body.hogarazo-catalog ul.products,
	body.hogarazo-catalog .products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 14px !important;
	}

	body.hogarazo-catalog ul.products li.product,
	body.hogarazo-catalog .products .product {
		padding: 10px 10px 13px !important;
	}
}

@media (max-width: 430px) {
	body.hogarazo-catalog .hero-section,
	body.hogarazo-catalog .hero-section > [class*="ct-container"],
	body.hogarazo-catalog .hero-section > .ct-container {
		min-height: 165px;
	}

	body.hogarazo-catalog ul.products,
	body.hogarazo-catalog .products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	body.hogarazo-catalog ul.products li.product,
	body.hogarazo-catalog .products .product {
		padding: 8px 8px 10px !important;
		border-radius: 14px !important;
	}

	body.hogarazo-catalog ul.products li.product .ct-image-container,
	body.hogarazo-catalog ul.products li.product .woocommerce-loop-product__link > img,
	body.hogarazo-catalog ul.products li.product img {
		margin-bottom: 9px !important;
		border-radius: 10px;
	}

	body.hogarazo-catalog .hz-product-category {
		margin-bottom: 4px;
		font-size: .56rem;
		letter-spacing: .04em;
	}

	body.hogarazo-catalog ul.products li.product .woocommerce-loop-product__title {
		min-height: 4.1em;
		margin-bottom: 7px !important;
		font-size: .78rem !important;
		line-height: 1.38;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}

	body.hogarazo-catalog ul.products li.product .price {
		gap: 4px;
		margin-bottom: 5px !important;
		font-size: .88rem !important;
	}

	body.hogarazo-catalog .hz-stock {
		gap: 5px;
		margin: 1px 1px 9px;
		font-size: .62rem;
	}

	body.hogarazo-catalog .hz-stock::before {
		width: 6px;
		height: 6px;
		flex-basis: 6px;
	}

	body.hogarazo-catalog ul.products li.product .button,
	body.hogarazo-catalog ul.products li.product .added_to_cart {
		min-height: 42px !important;
		padding: 5px 7px !important;
		border-radius: 9px !important;
		font-size: .69rem !important;
		line-height: 1.18;
		white-space: normal;
	}

	body.hogarazo-catalog span.onsale {
		top: 15px !important;
		left: 15px !important;
		padding: 6px 8px !important;
		font-size: .58rem !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.hogarazo-catalog ul.products li.product,
	body.hogarazo-catalog ul.products li.product img,
	body.hogarazo-catalog ul.products li.product .button {
		transition: none !important;
	}
}


/* =========================================================
   Hogarazo Oficial 5.0 — hero propio y WooCommerce completo
   ========================================================= */
body.hogarazo-catalog .hero-section { display: none !important; }

.hz-shop-hero {
    position: relative;
    min-height: 285px;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 72% 26%, rgba(255,196,0,.48), transparent 28%),
        linear-gradient(120deg, #f8fbf8 0%, #fff7cf 58%, #e7f0df 100%);
    border-bottom: 1px solid rgba(8,76,46,.08);
}
.hz-shop-hero::after {
    content: "";
    position: absolute;
    right: -55px;
    top: -145px;
    width: 300px;
    height: 300px;
    border: 40px solid rgba(255,255,255,.62);
    border-radius: 50%;
    z-index: -1;
}
.hz-shop-hero__inner { padding-block: 56px; }
.hz-shop-hero__eyebrow { margin: 0 0 8px; color: var(--hz-shop-green); font-size: .78rem; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.hz-shop-hero h1 { margin: 0; color: var(--hz-shop-ink); font-size: clamp(3.4rem, 8vw, 6rem); line-height: .92; letter-spacing: -.06em; }
.hz-shop-hero p:last-child { margin: 18px 0 0; color: var(--hz-shop-muted); font-size: 1.05rem; }
.hz-shop-hero__orb { position: absolute; border-radius: 50%; z-index: -1; }
.hz-shop-hero__orb--one { width: 210px; height: 210px; right: 9%; bottom: -105px; background: rgba(8,76,46,.16); }
.hz-shop-hero__orb--two { width: 96px; height: 96px; right: 25%; bottom: -28px; background: rgba(223,21,21,.14); }

/* Producto individual */
body.hogarazo-single-product .hero-section { display: none !important; }
body.hogarazo-single-product #main > .ct-container { padding-top: 52px !important; padding-bottom: 86px !important; }
body.hogarazo-single-product div.product { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); gap: clamp(34px, 6vw, 76px); }
body.hogarazo-single-product div.product .woocommerce-product-gallery,
body.hogarazo-single-product div.product .summary { float: none !important; width: auto !important; }
body.hogarazo-single-product .woocommerce-product-gallery { padding: 18px; border: 1px solid var(--hz-shop-border); border-radius: 22px; background: #fff; box-shadow: 0 16px 42px rgba(3,47,29,.07); }
body.hogarazo-single-product .woocommerce-product-gallery__image img { border-radius: 16px; background: linear-gradient(145deg,#f4f7f5,#fff); }
body.hogarazo-single-product .summary { align-self: start; padding: clamp(24px,4vw,42px); border: 1px solid var(--hz-shop-border); border-radius: 22px; background: #fff; box-shadow: 0 16px 42px rgba(3,47,29,.07); }
body.hogarazo-single-product .product_title { margin-top: 0; color: var(--hz-shop-ink); font-size: clamp(2rem,4vw,3.5rem); line-height: 1.03; letter-spacing: -.045em; }
body.hogarazo-single-product .summary .price { color: var(--hz-shop-green) !important; font-size: clamp(1.6rem,3vw,2.2rem) !important; font-weight: 950; }
body.hogarazo-single-product .woocommerce-product-details__short-description { color: var(--hz-shop-muted); line-height: 1.7; }
body.hogarazo-single-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
body.hogarazo-single-product form.cart .quantity input { min-height: 52px; border-radius: 12px; }
body.hogarazo-single-product .single_add_to_cart_button { min-height: 52px !important; padding: 0 24px !important; border-radius: 12px !important; background: var(--hz-shop-red) !important; color: #fff !important; font-weight: 950 !important; box-shadow: 0 12px 26px rgba(21,151,77,.22); }
body.hogarazo-single-product .product_meta { padding-top: 22px; border-top: 1px solid var(--hz-shop-border); color: var(--hz-shop-muted); }
body.hogarazo-single-product .woocommerce-tabs,
body.hogarazo-single-product .related { grid-column: 1/-1; margin-top: 28px; padding: clamp(22px,4vw,38px); border: 1px solid var(--hz-shop-border); border-radius: 22px; background: #fff; box-shadow: 0 16px 42px rgba(3,47,29,.06); }
body.hogarazo-single-product .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--hz-shop-border); }
body.hogarazo-single-product .woocommerce-tabs ul.tabs li a { font-weight: 850; }

/* Carrito, checkout y cuenta */
body.hogarazo-cart .hz-page-card,
body.hogarazo-checkout .hz-page-card,
body.hogarazo-account .hz-page-card { max-width: 1180px; }
body.hogarazo-oficial .woocommerce-message,
body.hogarazo-oficial .woocommerce-info,
body.hogarazo-oficial .woocommerce-error { border: 1px solid var(--hz-shop-border); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(3,47,29,.06); }
body.hogarazo-oficial .woocommerce-message { border-left: 5px solid #15945b; }
body.hogarazo-oficial .woocommerce-info { border-left: 5px solid var(--hz-shop-yellow); }
body.hogarazo-oficial .woocommerce-error { border-left: 5px solid var(--hz-shop-red); }
body.hogarazo-oficial .woocommerce table.shop_table { overflow: hidden; border: 1px solid var(--hz-shop-border); border-radius: 16px; background: #fff; }
body.hogarazo-oficial .woocommerce table.shop_table th { color: var(--hz-shop-ink); font-weight: 900; }
body.hogarazo-oficial .woocommerce table.shop_table td { border-color: var(--hz-shop-border); }
body.hogarazo-oficial .woocommerce a.remove { display: grid; place-items: center; color: var(--hz-shop-red) !important; }
body.hogarazo-oficial .woocommerce a.remove:hover { background: var(--hz-shop-red); color: #fff !important; }
body.hogarazo-cart .cart_totals,
body.hogarazo-checkout .woocommerce-checkout-review-order,
body.hogarazo-checkout .woocommerce-billing-fields,
body.hogarazo-checkout .woocommerce-additional-fields,
body.hogarazo-account .woocommerce-MyAccount-navigation,
body.hogarazo-account .woocommerce-MyAccount-content { padding: 24px; border: 1px solid var(--hz-shop-border); border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(3,47,29,.06); }
body.hogarazo-oficial .woocommerce .button,
body.hogarazo-oficial .woocommerce button.button,
body.hogarazo-oficial .woocommerce input.button,
body.hogarazo-oficial #place_order { min-height: 48px; padding: 0 20px; border-radius: 11px; background: var(--hz-shop-red); color: #fff; font-weight: 900; box-shadow: 0 10px 22px rgba(21,151,77,.18); }
body.hogarazo-oficial .woocommerce .button:hover,
body.hogarazo-oficial #place_order:hover { filter: brightness(.94); transform: translateY(-1px); }
body.hogarazo-oficial .woocommerce form .form-row input.input-text,
body.hogarazo-oficial .woocommerce form .form-row textarea,
body.hogarazo-oficial .woocommerce form select,
body.hogarazo-oficial .select2-container .select2-selection { min-height: 48px; border: 1px solid var(--hz-shop-border); border-radius: 11px; background: #fff; }
body.hogarazo-oficial .woocommerce form .form-row textarea { min-height: 120px; padding: 14px; }
body.hogarazo-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
body.hogarazo-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 14px; border-radius: 9px; color: var(--hz-shop-ink); font-weight: 800; text-decoration: none; }
body.hogarazo-account .woocommerce-MyAccount-navigation li.is-active a,
body.hogarazo-account .woocommerce-MyAccount-navigation li a:hover { background: var(--hz-shop-green); color: #fff; }

@media (max-width: 900px) {
    body.hogarazo-single-product div.product { grid-template-columns: 1fr; }
    body.hogarazo-single-product .woocommerce-tabs,
    body.hogarazo-single-product .related { grid-column: auto; }
}
@media (max-width: 820px) {
    .hz-shop-hero { min-height: 215px; }
    .hz-shop-hero__inner { padding-block: 42px; }
    .hz-shop-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
}


/* Hogarazo 7.0.1 — contraste del botón Finalizar compra en WooCommerce Blocks. */
body.hogarazo-oficial .wc-block-cart__submit-button,
body.hogarazo-oficial a.wc-block-cart__submit-button,
body.hogarazo-oficial .wc-block-components-button.wc-block-cart__submit-button,
body.hogarazo-oficial .wp-block-woocommerce-cart .wc-block-components-button:not(.is-link) {
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #0d7e41, #22a956) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    box-shadow: 0 12px 28px rgba(13, 126, 65, .22) !important;
}
body.hogarazo-oficial .wc-block-cart__submit-button span,
body.hogarazo-oficial .wc-block-cart__submit-button .wc-block-components-button__text,
body.hogarazo-oficial .wp-block-woocommerce-cart .wc-block-components-button:not(.is-link) span {
    color: #ffffff !important;
}
body.hogarazo-oficial .wc-block-cart__submit-button:hover,
body.hogarazo-oficial .wp-block-woocommerce-cart .wc-block-components-button:not(.is-link):hover {
    background: linear-gradient(135deg, #096b36, #168f49) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* =========================================================
   Hogarazo Oficial 7.0.6 — radios limpios y actualización de envío
   ========================================================= */
body.hogarazo-checkout .wc-block-components-radio-control__input,
body.hogarazo-checkout .wc-block-components-radio-control input[type="radio"],
body.hogarazo-checkout .wp-block-woocommerce-checkout input[type="radio"],
body.hogarazo-checkout .woocommerce-checkout input[type="radio"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: relative !important;
    inset: auto !important;
    display: inline-block !important;
    flex: 0 0 21px !important;
    width: 21px !important;
    min-width: 21px !important;
    height: 21px !important;
    min-height: 21px !important;
    margin: 0 11px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border: 2px solid #6c8175 !important;
    border-radius: 999px !important;
    background-color: #fff !important;
    background-image: none !important;
    opacity: 1 !important;
    vertical-align: middle !important;
    box-shadow: 0 1px 2px rgba(3, 47, 29, .08) !important;
    cursor: pointer !important;
    transform: none !important;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease !important;
}

body.hogarazo-checkout .wc-block-components-radio-control__input::before,
body.hogarazo-checkout .wc-block-components-radio-control__input::after,
body.hogarazo-checkout .wc-block-components-radio-control input[type="radio"]::before,
body.hogarazo-checkout .wc-block-components-radio-control input[type="radio"]::after,
body.hogarazo-checkout .wp-block-woocommerce-checkout input[type="radio"]::before,
body.hogarazo-checkout .wp-block-woocommerce-checkout input[type="radio"]::after,
body.hogarazo-checkout .woocommerce-checkout input[type="radio"]::before,
body.hogarazo-checkout .woocommerce-checkout input[type="radio"]::after {
    content: none !important;
    display: none !important;
}

body.hogarazo-checkout .wc-block-components-radio-control__input:checked,
body.hogarazo-checkout .wc-block-components-radio-control input[type="radio"]:checked,
body.hogarazo-checkout .wp-block-woocommerce-checkout input[type="radio"]:checked,
body.hogarazo-checkout .woocommerce-checkout input[type="radio"]:checked {
    border-color: #15974d !important;
    background-color: #fff !important;
    background-image: radial-gradient(circle at center, #15974d 0 4px, transparent 4.5px) !important;
    box-shadow: 0 0 0 3px rgba(21, 151, 77, .13), 0 1px 2px rgba(3, 47, 29, .08) !important;
}

body.hogarazo-checkout .wc-block-components-radio-control__input:hover,
body.hogarazo-checkout .wc-block-components-radio-control input[type="radio"]:hover,
body.hogarazo-checkout .wp-block-woocommerce-checkout input[type="radio"]:hover,
body.hogarazo-checkout .woocommerce-checkout input[type="radio"]:hover {
    border-color: #15974d !important;
}

body.hogarazo-checkout .wc-block-components-radio-control__input:focus-visible,
body.hogarazo-checkout .wc-block-components-radio-control input[type="radio"]:focus-visible,
body.hogarazo-checkout .wp-block-woocommerce-checkout input[type="radio"]:focus-visible,
body.hogarazo-checkout .woocommerce-checkout input[type="radio"]:focus-visible {
    outline: 2px solid #084c2e !important;
    outline-offset: 3px !important;
}

body.hogarazo-checkout .wc-block-components-radio-control__option,
body.hogarazo-checkout .wc-block-components-radio-control-accordion-option,
body.hogarazo-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__option {
    cursor: pointer !important;
    border-radius: 10px !important;
    transition: background-color .16s ease !important;
}

body.hogarazo-checkout .wc-block-components-radio-control__option:hover,
body.hogarazo-checkout .wc-block-components-radio-control-accordion-option:hover {
    background-color: rgba(21, 151, 77, .035) !important;
}

body.hogarazo-checkout .wc-block-components-radio-control__option:has(input[type="radio"]:checked),
body.hogarazo-checkout .wc-block-components-radio-control-accordion-option:has(input[type="radio"]:checked) {
    background-color: rgba(21, 151, 77, .045) !important;
}

body.hogarazo-checkout input[type="radio"]:disabled {
    border-color: #bdc8c1 !important;
    background: #f2f5f3 !important;
    cursor: not-allowed !important;
    opacity: .7 !important;
}

@media (max-width: 782px) {
    body.hogarazo-checkout .wc-block-components-radio-control__input,
    body.hogarazo-checkout .wc-block-components-radio-control input[type="radio"],
    body.hogarazo-checkout .wp-block-woocommerce-checkout input[type="radio"],
    body.hogarazo-checkout .woocommerce-checkout input[type="radio"] {
        flex-basis: 23px !important;
        width: 23px !important;
        min-width: 23px !important;
        height: 23px !important;
        min-height: 23px !important;
    }

    body.hogarazo-checkout .wc-block-components-radio-control__input:checked,
    body.hogarazo-checkout .wc-block-components-radio-control input[type="radio"]:checked,
    body.hogarazo-checkout .wp-block-woocommerce-checkout input[type="radio"]:checked,
    body.hogarazo-checkout .woocommerce-checkout input[type="radio"]:checked {
        background-image: radial-gradient(circle at center, #15974d 0 4.5px, transparent 5px) !important;
    }
}

/* =========================================================
   Hogarazo Oficial 7.0.7 — carrito simple y pagos más claros
   ========================================================= */
body.hogarazo-cart .woocommerce-shipping-totals,
body.hogarazo-cart tr.shipping,
body.hogarazo-cart .cart_totals .shipping,
body.hogarazo-cart .woocommerce-shipping-calculator,
body.hogarazo-cart .wc-block-components-totals-shipping,
body.hogarazo-cart .wc-block-components-shipping-calculator,
body.hogarazo-cart .wc-block-cart__shipping-calculator,
body.hogarazo-cart .hz-cart-shipping-hidden {
    display: none !important;
}

body.hogarazo-cart .hz-cart-savings {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    padding: 14px 15px;
    border: 1px solid rgba(21, 151, 77, .22);
    border-radius: 14px;
    background: linear-gradient(135deg, #effbf4, #f9fffb);
    color: #073d25;
    box-shadow: 0 10px 26px rgba(3, 47, 29, .06);
}

body.hogarazo-cart .hz-cart-savings__icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #15974d;
    color: #fff;
    font-size: 19px;
    font-weight: 950;
}

body.hogarazo-cart .hz-cart-savings strong,
body.hogarazo-cart .hz-cart-savings small {
    display: block;
}

body.hogarazo-cart .hz-cart-savings strong {
    color: #073d25;
    font-size: .96rem;
    line-height: 1.32;
    font-weight: 950;
}

body.hogarazo-cart .hz-cart-savings small {
    margin-top: 3px;
    color: #587064;
    font-size: .78rem;
    line-height: 1.35;
}

body.hogarazo-cart .hz-last-step-button,
body.hogarazo-cart a.hz-last-step-button,
body.hogarazo-cart .wc-block-cart__submit-button.hz-last-step-button {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 58px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #0b773d, #20a654) !important;
    color: #fff !important;
    text-align: center;
    font-size: 1rem !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    box-shadow: 0 13px 28px rgba(13, 126, 65, .23) !important;
}

body.hogarazo-cart .hz-last-step-button span,
body.hogarazo-cart .hz-last-step-button .wc-block-components-button__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #fff !important;
}

body.hogarazo-cart .hz-last-step-button small,
body.hogarazo-cart .hz-last-step-button__sub {
    display: block;
    color: rgba(255,255,255,.84) !important;
    font-size: .71rem !important;
    font-weight: 750 !important;
    letter-spacing: .01em;
}

body.hogarazo-cart .hz-last-step-button:hover {
    background: linear-gradient(135deg, #075f31, #168d47) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Pago: círculo no seleccionado claramente visible y opción en formato tarjeta. */
body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method {
    position: relative;
    margin: 0 0 10px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #cfdbd3 !important;
    border-radius: 13px !important;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method:hover {
    border-color: #779486 !important;
    background: #fbfefc;
}

body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method:has(input[type="radio"]:checked) {
    border-color: #15974d !important;
    background: #f3fbf6;
    box-shadow: 0 0 0 3px rgba(21, 151, 77, .09);
}

body.hogarazo-checkout #payment input.input-radio[type="radio"],
body.hogarazo-checkout #payment .wc_payment_method > input[type="radio"],
body.hogarazo-checkout .wc-block-checkout__payment-method input[type="radio"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: relative !important;
    display: inline-block !important;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    margin: 17px 6px 0 16px !important;
    padding: 0 !important;
    border: 2.5px solid #40594b !important;
    border-radius: 999px !important;
    background: #fff !important;
    opacity: 1 !important;
    vertical-align: top !important;
    box-shadow: 0 1px 3px rgba(3, 47, 29, .12) !important;
    cursor: pointer !important;
}

body.hogarazo-checkout #payment input.input-radio[type="radio"]:checked,
body.hogarazo-checkout #payment .wc_payment_method > input[type="radio"]:checked,
body.hogarazo-checkout .wc-block-checkout__payment-method input[type="radio"]:checked {
    border-color: #15974d !important;
    background-color: #fff !important;
    background-image: radial-gradient(circle at center, #15974d 0 4.5px, transparent 5px) !important;
    box-shadow: 0 0 0 3px rgba(21, 151, 77, .14), 0 1px 3px rgba(3, 47, 29, .12) !important;
}

body.hogarazo-checkout #payment .wc_payment_method > label {
    display: inline-flex !important;
    align-items: center;
    min-height: 56px;
    max-width: calc(100% - 52px);
    margin: 0 !important;
    padding: 14px 12px 14px 6px !important;
    color: #102c20;
    font-weight: 900;
    cursor: pointer;
}

body.hogarazo-checkout #payment .payment_box {
    margin: 0 14px 14px !important;
    border-radius: 10px;
}

body.hogarazo-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__input:not(:checked),
body.hogarazo-checkout .wc-block-components-radio-control-accordion-option input[type="radio"]:not(:checked) {
    border-color: #40594b !important;
    border-width: 2.5px !important;
    opacity: 1 !important;
}

@media (max-width: 600px) {
    body.hogarazo-cart .hz-cart-savings {
        padding: 13px;
    }

    body.hogarazo-checkout #payment input.input-radio[type="radio"],
    body.hogarazo-checkout #payment .wc_payment_method > input[type="radio"] {
        width: 23px !important;
        min-width: 23px !important;
        height: 23px !important;
        min-height: 23px !important;
    }
}

/* =========================================================
   Hogarazo Oficial 7.0.8 — pagos clásicos sin radios duplicados
   ========================================================= */
body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method {
    display: block !important;
    overflow: hidden !important;
    border: 1px solid #ccd9d1 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
}

body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method:has(> input[type="radio"]:checked) {
    border-color: #15974d !important;
    background: #f3fbf6 !important;
    box-shadow: 0 0 0 3px rgba(21, 151, 77, .09) !important;
}

/* El input real queda accesible pero visualmente oculto. El único círculo
   visible se dibuja en el label para evitar el doble radio de Blocksy. */
body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > input.input-radio[type="radio"],
body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"] {
    position: absolute !important;
    width: 1px !important;
    min-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > label {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 68px !important;
    margin: 0 !important;
    padding: 15px 16px 15px 58px !important;
    box-sizing: border-box !important;
    color: #102c20 !important;
    font-weight: 900 !important;
    line-height: 1.32 !important;
    cursor: pointer !important;
}

body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > label::before {
    content: "" !important;
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    width: 23px !important;
    height: 23px !important;
    margin: 0 !important;
    border: 2px solid #526b5e !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(3, 47, 29, .12) !important;
    transform: translateY(-50%) !important;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease !important;
}

body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > label::after {
    content: "" !important;
    position: absolute !important;
    left: 26px !important;
    top: 50% !important;
    width: 11px !important;
    height: 11px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #15974d !important;
    box-shadow: none !important;
    opacity: 0 !important;
    transform: translateY(-50%) scale(.25) !important;
    transition: opacity .16s ease, transform .16s ease !important;
}

body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"]:checked + label::before {
    border-color: #15974d !important;
    box-shadow: 0 0 0 4px rgba(21, 151, 77, .13) !important;
}

body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"]:checked + label::after {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1) !important;
}

body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"]:focus-visible + label::before {
    outline: 2px solid #084c2e !important;
    outline-offset: 3px !important;
}

body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > label img {
    position: static !important;
    float: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 74px !important;
    height: auto !important;
    max-height: 34px !important;
    margin: 0 0 0 auto !important;
    object-fit: contain !important;
}

body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method .payment_box {
    margin: 0 14px 14px !important;
    padding: 16px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
}

@media (max-width: 600px) {
    body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > label {
        min-height: 64px !important;
        padding: 14px 13px 14px 54px !important;
        font-size: .95rem !important;
    }

    body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > label::before {
        left: 17px !important;
        width: 23px !important;
        height: 23px !important;
    }

    body.hogarazo-checkout #payment ul.payment_methods li.wc_payment_method > label::after {
        left: 23px !important;
    }
}
