/**
 * IsiPrints: estilos de WooCommerce que theme.json no alcanza.
 * Solo usa tokens (variables --wp--preset--* / --wp--custom--*).
 */

/* ---------- Precios ---------- */

.wc-block-components-product-price,
.wp-block-woocommerce-product-price,
.price,
.woocommerce-Price-amount {
	color: var(--wp--preset--color--gold);
}

.wc-block-components-product-price del,
.price del {
	color: var(--wp--preset--color--subtle);
}

.wc-block-components-product-price ins,
.price ins {
	text-decoration: none;
}

/* ---------- Grilla de productos (tarjetas) ---------- */

.isiprints-grid .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.75rem, 1rem + 2vw, 2.5rem) clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.isiprints-grid .wc-block-product-template > li {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0;
	text-align: left;
}

.isiprints-grid .wc-block-product-template > li[hidden] {
	display: none !important;
}

.isiprints-grid--limit:not(.is-filtered) .wc-block-product-template > li:nth-child(n+5) {
	display: none;
}

.isiprints-grid.is-empty::after {
	content: "";
}

@media (max-width: 1023px) {
	.isiprints-grid .wc-block-product-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.isiprints-grid--limit:not(.is-filtered) .wc-block-product-template > li:nth-child(n+4) {
		display: none;
	}
}

@media (max-width: 781px) {
	.isiprints-grid .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.isiprints-grid--limit:not(.is-filtered) .wc-block-product-template > li:nth-child(n+4) {
		display: flex;
	}

	.isiprints-grid--limit:not(.is-filtered) .wc-block-product-template > li:nth-child(n+5) {
		display: none;
	}
}

@media (max-width: 359px) {
	.isiprints-grid .wc-block-product-template {
		grid-template-columns: minmax(0, 1fr);
	}
}

.isiprints-card__image,
.isiprints-grid .wc-block-components-product-image {
	background-color: var(--wp--preset--color--photo);
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
	margin: 0 0 18px !important;
	aspect-ratio: 4 / 5;
	width: 100% !important;
	max-width: none !important;
}

.isiprints-grid .wc-block-components-product-image a,
.isiprints-grid .wc-block-components-product-image img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	border-radius: inherit;
	transition: transform 0.6s ease;
}

.isiprints-grid .wc-block-product-template > li:hover .wc-block-components-product-image img {
	transform: scale(1.03);
}

.isiprints-card__title.wp-block-post-title,
.isiprints-grid .wp-block-post-title {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 1.5rem !important;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0;
	margin: 0 0 6px !important;
	text-align: left !important;
	/* Siempre 2 líneas de alto: las descripciones y los precios quedan alineados por fila. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(2em * 1.15);
}

.isiprints-grid .wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.isiprints-grid .wp-block-post-title a:hover {
	color: var(--wp--preset--color--rose);
}

/* El enlace del título cubre la tarjeta para un objetivo táctil grande. */
.isiprints-grid .wc-block-product-template > li {
	position: relative;
}

.isiprints-grid .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.isiprints-grid .wp-block-post-title a:focus-visible {
	outline: none;
}

.isiprints-grid .wp-block-post-title a:focus-visible::after {
	outline: 2px solid var(--wp--preset--color--rose);
	outline-offset: 4px;
	border-radius: var(--wp--custom--radius--card);
}

.isiprints-card__line,
.isiprints-grid .wp-block-post-excerpt {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
	margin: 0 0 10px !important;
}

.isiprints-grid .wp-block-post-excerpt__excerpt {
	margin: 0;
	/* Línea emocional: siempre 2 líneas de alto. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 3em;
}

.isiprints-grid .wp-block-post-excerpt__more-text {
	display: none;
}

.isiprints-card__price,
.isiprints-grid .wp-block-woocommerce-product-price {
	text-align: left !important;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	margin-top: auto !important;
	padding-top: 4px;
}

.isiprints-more-link a {
	display: inline-flex;
	align-items: center;
	min-height: var(--wp--custom--touch-target);
	gap: 10px;
	color: var(--wp--preset--color--contrast);
}

.isiprints-more-link a::after {
	content: "→";
	color: var(--wp--preset--color--gold);
}

/* ---------- Catálogo ---------- */

.isiprints-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 48px;
}

.isiprints-filters__group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.isiprints-filters__title {
	color: var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 500;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
	margin: 0;
}

.isiprints-catalog-bar {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding-bottom: 16px;
	margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem) !important;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.isiprints-catalog-bar .woocommerce-result-count {
	margin: 0;
}

.isiprints-catalog-bar .woocommerce-ordering {
	margin: 0;
}

.isiprints-catalog-bar select.orderby {
	min-height: var(--wp--custom--touch-target);
	padding-right: 40px;
}

.wp-block-woocommerce-breadcrumbs a,
.woocommerce-breadcrumb a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.wp-block-woocommerce-breadcrumbs a:hover {
	color: var(--wp--preset--color--rose);
}

/* ---------- Avisos ---------- */

.wc-block-components-notice-banner,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: var(--wp--preset--color--surface) !important;
	border: 1px solid var(--wp--preset--color--border-strong) !important;
	border-radius: var(--wp--custom--radius--input) !important;
	color: var(--wp--preset--color--contrast) !important;
}

.wc-block-components-notice-banner.is-error {
	border-color: var(--wp--preset--color--rose) !important;
}

.wc-block-components-notice-banner > svg {
	background-color: var(--wp--preset--color--rose) !important;
	fill: var(--wp--preset--color--on-rose) !important;
}

.wc-block-components-notice-banner a,
.wc-block-components-notice-banner .wc-forward {
	color: var(--wp--preset--color--rose) !important;
}

/* ---------- Ficha de producto ---------- */

.isiprints-product {
	align-items: flex-start;
}

@media (min-width: 782px) {
	.isiprints-product__summary {
		position: sticky;
		top: 24px;
	}
}

.isiprints-product__occasions,
.isiprints-product__occasions a {
	color: var(--wp--preset--color--gold);
	text-decoration: none;
}

.isiprints-product .wp-block-post-title {
	margin-top: 10px;
}

.isiprints-product__excerpt {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--large);
}

.isiprints-product__price {
	font-size: 1.5rem !important;
	font-weight: 500;
	margin-top: 4px !important;
}

/* Galería: miniaturas verticales a la izquierda y foto 497:537. */

.isiprints-product .woocommerce-product-gallery {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 16px;
	position: relative;
	margin: 0;
	width: 100% !important;
	float: none !important;
	opacity: 1 !important;
}

.isiprints-product .woocommerce-product-gallery .flex-viewport,
.isiprints-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	grid-column: 2;
	grid-row: 1;
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--photo);
	overflow: hidden;
}

.isiprints-product .woocommerce-product-gallery__image img,
.isiprints-product .woocommerce-product-gallery__image a img {
	display: block;
	width: 100%;
	aspect-ratio: 497 / 537;
	height: auto;
	object-fit: cover;
	background-color: var(--wp--preset--color--photo);
}

.isiprints-product .woocommerce-product-gallery ol.flex-control-thumbs {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.isiprints-product .woocommerce-product-gallery ol.flex-control-thumbs li {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.isiprints-product .flex-control-thumbs img {
	display: block;
	width: 100%;
	aspect-ratio: 497 / 537;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--input);
	background-color: var(--wp--preset--color--photo);
	border: 1px solid transparent;
	opacity: 0.6;
	cursor: pointer;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.isiprints-product .flex-control-thumbs img.flex-active,
.isiprints-product .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--wp--preset--color--rose);
}

.isiprints-product .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 9;
	width: var(--wp--custom--touch-target);
	height: var(--wp--custom--touch-target);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	display: flex;
	align-items: center;
	justify-content: center;
	text-indent: 0;
	font-size: 0;
}

.isiprints-product .woocommerce-product-gallery__trigger::before {
	content: "";
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-radius: 50%;
	box-sizing: border-box;
}

@media (max-width: 781px) {
	.isiprints-product .woocommerce-product-gallery {
		grid-template-columns: minmax(0, 1fr);
	}

	.isiprints-product .woocommerce-product-gallery .flex-viewport,
	.isiprints-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
		grid-column: 1;
	}

	.isiprints-product .woocommerce-product-gallery ol.flex-control-thumbs {
		grid-column: 1;
		grid-row: 2;
		flex-direction: row;
		overflow-x: auto;
	}

	.isiprints-product .woocommerce-product-gallery ol.flex-control-thumbs li {
		flex: 0 0 64px;
	}
}

/* Formulario de compra. */

.isiprints-product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: var(--wp--preset--spacing--50);
}

.isiprints-product form.cart > * {
	flex: 1 1 100%;
}

.isiprints-product form.cart .quantity {
	flex: 0 0 auto;
}

.isiprints-product form.cart .quantity input.qty {
	width: 88px;
	min-height: 56px;
	text-align: center;
	border-radius: var(--wp--custom--radius--pill);
}

.isiprints-product form.cart .single_add_to_cart_button {
	flex: 1 1 auto;
	min-height: 56px;
	padding: 17px 32px;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--rose);
	color: var(--wp--preset--color--on-rose);
	font-family: var(--wp--preset--font-family--jost);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	border: 0;
	cursor: pointer;
}

.isiprints-product form.cart .single_add_to_cart_button:hover {
	background-color: var(--wp--preset--color--contrast);
}

.isiprints-product form.cart .single_add_to_cart_button.disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.isiprints-delivery-note {
	color: var(--wp--preset--color--subtle);
	font-size: var(--wp--preset--font-size--small);
	margin: 14px 0 0;
}

.isiprints-includes__content {
	color: var(--wp--preset--color--muted);
}

.isiprints-includes__content ul {
	padding-left: 1.2em;
}

.isiprints-includes__content li::marker {
	color: var(--wp--preset--color--gold);
}

/* Pasos de personalización (los campos vienen de plugins). */

.isiprints-steps {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.isiprints-steps:not(.has-steps) {
	display: none;
}

.isiprints-step {
	margin: 0;
	padding: 22px 22px 24px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	min-width: 0;
}

.isiprints-step[hidden] {
	display: none;
}

.isiprints-step__title {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0;
	margin-bottom: 16px;
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 500;
	float: left;
	width: 100%;
}

.isiprints-step__title + * {
	clear: both;
}

.isiprints-step__num {
	color: var(--wp--preset--color--gold);
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 1.75rem;
	line-height: 1;
}

.isiprints-step__body {
	clear: both;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.isiprints-step .wc-pao-addon-container,
.isiprints-step .wc-pao-addon {
	margin: 0;
}

.isiprints-step .wc-pao-addon-name,
.isiprints-step label {
	display: block;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	margin-bottom: 8px;
	font-weight: 400;
}

.isiprints-step .wc-pao-addon-description {
	color: var(--wp--preset--color--subtle);
	font-size: var(--wp--preset--font-size--small);
}

.isiprints-step input[type="text"],
.isiprints-step input[type="email"],
.isiprints-step input[type="tel"],
.isiprints-step input[type="number"],
.isiprints-step input[type="date"],
.isiprints-step select,
.isiprints-step textarea {
	width: 100%;
}

.isiprints-step input[type="file"] {
	width: 100%;
	padding: 12px;
	border: 1px dashed var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--input);
	color: var(--wp--preset--color--muted);
	background: var(--wp--preset--color--surface);
}

.isiprints-step input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 10px 18px;
	border: 1px solid var(--wp--custom--color--button-border);
	border-radius: var(--wp--custom--radius--pill);
	background: transparent;
	color: var(--wp--preset--color--contrast);
	font-family: inherit;
	cursor: pointer;
}

.isiprints-step .wc-pao-addon-price,
.isiprints-option__price {
	color: var(--wp--preset--color--gold);
}

/* Complementos en grilla 2×2. */

.isiprints-options {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.isiprints-option {
	margin: 0 !important;
	width: auto !important;
	float: none !important;
}

.isiprints-option > label,
.isiprints-option label {
	position: relative;
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	height: 100%;
	min-height: 72px;
	margin: 0 !important;
	padding: 14px 16px 14px 46px !important;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--input);
	color: var(--wp--preset--color--contrast) !important;
	font-size: var(--wp--preset--font-size--small) !important;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

.isiprints-option input[type="checkbox"],
.isiprints-option input[type="radio"] {
	position: absolute;
	left: 16px;
	top: 16px;
	margin: 0;
}

.isiprints-option label:hover {
	border-color: var(--wp--preset--color--muted);
}

.isiprints-option label:has(input:checked) {
	border-color: var(--wp--preset--color--rose);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rose);
}

.isiprints-option label:has(input:focus-visible) {
	outline: 2px solid var(--wp--preset--color--rose);
	outline-offset: 2px;
}

.isiprints-option .isiprints-option__price {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

@media (max-width: 359px) {
	.isiprints-options {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Total de Product Add-Ons: el total ya va en el botón. */
.isiprints-product #product-addons-total {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

/* ---------- Mini carro ---------- */

.wc-block-mini-cart__button {
	min-width: var(--wp--custom--touch-target);
	min-height: var(--wp--custom--touch-target);
	color: var(--wp--preset--color--contrast) !important;
	padding: 0 6px !important;
	justify-content: center;
}

.wc-block-mini-cart__button:hover {
	color: var(--wp--preset--color--rose) !important;
}

.wc-block-mini-cart__badge {
	background: var(--wp--preset--color--rose) !important;
	color: var(--wp--preset--color--on-rose) !important;
	border-color: var(--wp--preset--color--base) !important;
	font-weight: 500;
}

.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-mini-cart__drawer .wc-block-mini-cart__template-part,
.wc-block-components-drawer {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
}

.wc-block-components-drawer__close {
	color: var(--wp--preset--color--contrast) !important;
	min-width: var(--wp--custom--touch-target);
	min-height: var(--wp--custom--touch-target);
}

/* ---------- Carro y checkout (bloques) ---------- */

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	color: var(--wp--preset--color--contrast);
}

.wc-block-components-title.wc-block-components-title,
.wc-block-components-checkout-step__title {
	font-family: var(--wp--preset--font-family--cormorant) !important;
	font-size: 1.75rem !important;
	font-weight: 500 !important;
	color: var(--wp--preset--color--contrast);
	text-transform: none !important;
}

.wc-block-cart__totals-title {
	font-family: var(--wp--preset--font-family--jost) !important;
	font-size: var(--wp--preset--font-size--eyebrow) !important;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase !important;
	color: var(--wp--preset--color--gold) !important;
}

.wc-block-components-checkout-step__description,
.wc-block-components-checkout-step__heading-content {
	color: var(--wp--preset--color--muted);
}

.wc-block-components-checkout-step__container::after,
.wc-block-components-checkout-step::after {
	background-color: var(--wp--preset--color--border) !important;
}

.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before {
	color: var(--wp--preset--color--gold);
}

.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-components-sidebar .wc-block-components-totals-wrapper,
.wc-block-components-sidebar-layout .wc-block-components-main {
	border-color: var(--wp--preset--color--border) !important;
}

.wc-block-checkout__sidebar,
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--card);
	padding: 8px 24px 24px;
}

.wc-block-components-totals-wrapper,
.wc-block-cart-items,
.wc-block-cart-items td,
.wc-block-cart-items th,
.wc-block-components-order-summary-item,
.wc-block-components-totals-footer-item {
	border-color: var(--wp--preset--color--border) !important;
}

.wc-block-cart-items th,
.wc-block-cart-items__header {
	color: var(--wp--preset--color--subtle);
	font-size: var(--wp--preset--font-size--eyebrow);
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
	font-weight: 500;
}

.wc-block-components-product-name,
.wc-block-cart-item__product .wc-block-components-product-name {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 1.375rem !important;
	font-weight: 500;
	color: var(--wp--preset--color--contrast) !important;
	text-decoration: none;
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	border-radius: var(--wp--custom--radius--input);
	background: var(--wp--preset--color--photo);
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.wc-block-components-order-summary-item__quantity {
	background: var(--wp--preset--color--rose) !important;
	color: var(--wp--preset--color--on-rose) !important;
	border-color: var(--wp--preset--color--surface) !important;
	box-shadow: none !important;
}

.wc-block-components-product-metadata,
.wc-block-components-product-details {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__description {
	color: var(--wp--preset--color--muted);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 500;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--wp--preset--color--gold);
}

/* Campos. */

.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-form .wc-block-components-text-input input[type="text"],
.wc-block-components-form .wc-block-components-text-input input[type="email"],
.wc-block-components-form .wc-block-components-text-input input[type="tel"] {
	background-color: var(--wp--preset--color--surface) !important;
	border: 1px solid var(--wp--preset--color--border-strong) !important;
	border-radius: var(--wp--custom--radius--input) !important;
	color: var(--wp--preset--color--contrast) !important;
	min-height: 52px;
	box-shadow: none !important;
}

.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus,
.wc-block-components-textarea:focus {
	border-color: var(--wp--preset--color--rose) !important;
	outline: 2px solid var(--wp--preset--color--rose) !important;
	outline-offset: 1px;
}

.wc-block-components-text-input label,
.wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-components-combobox .wc-block-components-combobox-control label {
	color: var(--wp--preset--color--subtle) !important;
}

.wc-blocks-components-select__container {
	background: var(--wp--preset--color--surface) !important;
	border-radius: var(--wp--custom--radius--input) !important;
}

.wc-blocks-components-select .wc-blocks-components-select__expand {
	fill: var(--wp--preset--color--muted);
}

.wc-block-components-validation-error,
.wc-block-components-text-input.has-error label,
.has-error .wc-blocks-components-select__label {
	color: var(--wp--preset--color--rose) !important;
}

.wc-block-components-text-input.has-error input,
.has-error .wc-blocks-components-select__select {
	border-color: var(--wp--preset--color--rose) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	background: var(--wp--preset--color--surface) !important;
	border: 1px solid var(--wp--preset--color--border-strong) !important;
	border-radius: 6px;
	width: 22px;
	height: 22px;
	min-height: 22px;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	background: var(--wp--preset--color--rose) !important;
	border-color: var(--wp--preset--color--rose) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark {
	fill: var(--wp--preset--color--on-rose) !important;
}

.wc-block-components-checkbox label {
	min-height: var(--wp--custom--touch-target);
	align-items: center;
}

.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option {
	color: var(--wp--preset--color--contrast);
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option {
	border-color: var(--wp--preset--color--border-strong) !important;
	box-shadow: none !important;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--rose) !important;
	border-radius: var(--wp--custom--radius--input);
}

.wc-block-components-radio-control__input {
	border-color: var(--wp--preset--color--border-strong) !important;
	background: var(--wp--preset--color--surface) !important;
}

.wc-block-components-radio-control__input:checked::before {
	background: var(--wp--preset--color--rose) !important;
}

/* Botones de los bloques. */

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-mini-cart__footer-checkout {
	background-color: var(--wp--preset--color--rose) !important;
	color: var(--wp--preset--color--on-rose) !important;
	border: 0 !important;
	border-radius: var(--wp--custom--radius--pill) !important;
	min-height: 56px;
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--medium);
}

.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background-color: var(--wp--preset--color--contrast) !important;
}

.wc-block-components-button.outlined,
.wc-block-mini-cart__footer-cart.wc-block-components-button {
	background: transparent !important;
	color: var(--wp--preset--color--contrast) !important;
	border: 1px solid var(--wp--custom--color--button-border) !important;
}

.wc-block-components-button.is-link,
.wc-block-cart-item__remove-link,
.wc-block-components-checkout-return-to-cart-button {
	color: var(--wp--preset--color--muted) !important;
	min-height: var(--wp--custom--touch-target);
}

.wc-block-components-quantity-selector {
	border-color: var(--wp--preset--color--border-strong) !important;
	border-radius: var(--wp--custom--radius--pill) !important;
	background: transparent;
}

.wc-block-components-quantity-selector::after {
	border-color: var(--wp--preset--color--border-strong) !important;
	border-radius: var(--wp--custom--radius--pill) !important;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	color: var(--wp--preset--color--contrast) !important;
	background: transparent !important;
	min-height: var(--wp--custom--touch-target);
	min-width: 40px;
	border: 0 !important;
}

.wc-block-components-panel__button,
.wc-block-components-totals-coupon-link {
	color: var(--wp--preset--color--contrast) !important;
	min-height: var(--wp--custom--touch-target);
}

.wc-block-components-checkout-step__container .wc-block-components-address-card {
	background: var(--wp--preset--color--surface);
	border-color: var(--wp--preset--color--border-strong) !important;
	border-radius: var(--wp--custom--radius--input);
}

.wc-block-components-address-card__edit {
	color: var(--wp--preset--color--rose) !important;
}

.wc-block-checkout__terms,
.wc-block-components-checkout-policies {
	color: var(--wp--preset--color--subtle);
	font-size: var(--wp--preset--font-size--small);
}

.wc-block-components-formatted-money-amount {
	color: inherit;
}

/* Carro vacío. */
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 500;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	background-color: var(--wp--preset--color--gold) !important;
}

/* ---------- Confirmación del pedido ---------- */

.wc-block-order-confirmation-summary,
.wc-block-order-confirmation-totals table,
.wc-block-order-confirmation-address-wrapper address {
	border-color: var(--wp--preset--color--border) !important;
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--card);
}

.wc-block-order-confirmation-summary {
	padding: 20px 24px;
}

.wc-block-order-confirmation-summary-list-item__key {
	color: var(--wp--preset--color--subtle);
}

/* ---------- Mi cuenta ---------- */

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.woocommerce-MyAccount-navigation a {
	display: inline-flex;
	align-items: center;
	min-height: var(--wp--custom--touch-target);
	padding: 8px 18px;
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.woocommerce-MyAccount-navigation .is-active a {
	background: var(--wp--preset--color--rose);
	border-color: var(--wp--preset--color--rose);
	color: var(--wp--preset--color--on-rose);
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
	background: var(--wp--preset--color--rose);
	color: var(--wp--preset--color--on-rose);
	border-radius: var(--wp--custom--radius--pill);
	min-height: var(--wp--custom--touch-target);
	padding: 12px 28px;
	font-weight: 500;
	border: 0;
}

.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content {
	border: 0 !important;
}

.wc-block-components-order-summary .wc-block-components-product-name {
	font-size: 1.25rem !important;
	line-height: 1.2;
}

@media (max-width: 480px) {
	.isiprints-card__title.wp-block-post-title,
	.isiprints-grid .wp-block-post-title {
		font-size: 1.25rem !important;
	}
}

/* Los estilos de WooCommerce pintan algunos selects en blanco. */
.isiprints-product form.cart select,
.woocommerce form .form-row select,
.woocommerce-ordering select.orderby {
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--input);
	min-height: 48px;
	padding: 12px 16px;
}
