/* ═════════════════════════════════════════
   Xan Cerámica — WooCommerce
   (los estilos generales de WooCommerce están desactivados;
   aquí está todo lo que la tienda necesita)
   ═════════════════════════════════════════ */

.woocommerce .clear,
.woocommerce-page .clear { clear: both; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { text-decoration: none; }
.woocommerce .required { color: var(--err); text-decoration: none; border: 0; }
.woocommerce .optional { color: var(--ink-3); font-weight: 400; }
.screen-reader-text { position: absolute !important; }

/* ── Avisos ──────────────────────────────── */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 0 0 28px;
	padding: 16px 20px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--line-2);
	border-left: 3px solid var(--ink);
	font-size: 15px;
	color: var(--ink);
}
.woocommerce-error { border-left-color: var(--err); flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message { border-left-color: var(--ok); }
.woocommerce-message .button,
.woocommerce-info .button { order: 2; min-height: 40px; padding: 8px 16px; font-size: 14px; }
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button) { font-weight: 500; }

/* ── Encabezado de la tienda ─────────────── */
.shop__head { padding-bottom: 28px; }
.shop__cats { margin-bottom: 40px; }
.shop__cats ul {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0 0 4px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
.shop__cats ul::-webkit-scrollbar { display: none; }
.shop__cats a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid var(--line-2);
	border-radius: 20px;
	font-size: 14px;
	white-space: nowrap;
	text-decoration: none;
	color: var(--ink);
	transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.shop__cats a:hover { border-color: var(--ink); }
.shop__cats a.is-current { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.shop__cats a.is-current .chip { box-shadow: 0 0 0 1px var(--surface); }

.shop__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.shop__toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce-result-count { margin: 0; font-size: 14px; color: var(--ink-3); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { width: auto; min-height: 40px; padding: 7px 38px 7px 12px; font-size: 14px; background-color: transparent; }

/* ── Cuadrícula de productos ─────────────── */
ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 56px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.products::before, ul.products::after { display: none; }
ul.products li.product { position: relative; display: flex; flex-direction: column; margin: 0; padding: 0; width: auto; float: none; }
ul.products li.product a.woocommerce-LoopProduct-link { display: block; text-decoration: none; color: var(--ink); }
ul.products li.product a img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	margin: 0 0 14px;
	background: var(--clay);
	transition: opacity .3s var(--ease);
}
ul.products li.product a.woocommerce-LoopProduct-link { position: relative; }
ul.products li.product a img.loop-alt { position: absolute; top: 0; left: 0; margin: 0; opacity: 0; transition: opacity .5s var(--ease); }
@media (hover: hover) { ul.products li.product.has-alt a:hover img.loop-alt { opacity: 1; } }
ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 4px;
	padding: 0;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
}
ul.products li.product .price { display: block; margin: 0; font-size: 15px; color: var(--ink-2); }
ul.products li.product .price del { color: var(--ink-3); margin-right: 6px; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .star-rating { margin: 6px 0 0; }
ul.products li.product .button {
	align-self: flex-start;
	min-height: 0;
	margin-top: 12px;
	padding: 0 0 2px;
	border: 0;
	border-bottom: 1px solid var(--line-2);
	border-radius: 0;
	background: none;
	color: var(--ink);
	font-size: 14px;
	transition: border-color .2s var(--ease);
}
ul.products li.product .button:hover { background: none; color: var(--ink); border-bottom-color: var(--ink); }
ul.products li.product .button.loading { opacity: .5; }
ul.products li.product .button.added { display: none; }
ul.products li.product .added_to_cart { margin-top: 12px; font-size: 14px; font-weight: 500; }
@media (max-width: 1024px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 14px; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 15px; }
}

/* Paginación */
.woocommerce-pagination { margin-top: 64px; }
.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; border: 0; }
.woocommerce-pagination ul.page-numbers li { border: 0; }
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span { color: var(--ink); }
.woocommerce-pagination .page-numbers span.current { color: var(--surface); }
.woocommerce-no-products-found .woocommerce-info { justify-content: flex-start; }

/* ── Ficha de producto ───────────────────── */
.product-page { padding-top: clamp(20px, 3vw, 36px); }
.product-page > .crumbs { margin-bottom: 28px; }
div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	column-gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1 / span 2; }
div.product > .summary { grid-column: 2; grid-row: 1; position: sticky; top: 104px; }
div.product > .woocommerce-tabs,
div.product > .related,
div.product > .upsells,
div.product > section { grid-column: 1 / -1; }
div.product > .onsale { top: 16px; left: 16px; }

/* Galería */
.woocommerce-product-gallery { position: relative; margin: 0; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { background: var(--clay); }
.woocommerce-product-gallery__image img { width: 100%; height: auto; }
.woocommerce-product-gallery .flex-viewport { margin-bottom: 12px; }
.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	background: var(--surface);
	border-radius: 50%;
	font-size: 0;
	text-decoration: none;
}
.woocommerce-product-gallery__trigger::before {
	content: "";
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F2D2D' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-product-gallery__trigger img { display: none !important; }
.flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.flex-control-thumbs li { margin: 0; }
.flex-control-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: pointer; opacity: .55; transition: opacity .2s var(--ease); background: var(--clay); }
.flex-control-thumbs img:hover,
.flex-control-thumbs img.flex-active { opacity: 1; }
/* Sin JavaScript de slider: imágenes adicionales en cuadrícula */
.woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:first-child { grid-column: 1 / -1; }

/* Resumen */
.summary .product_title { margin: 0 0 14px; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; }
.summary .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.summary > .price,
.summary p.price { margin: 0 0 24px; font-size: 1.35rem; font-weight: 500; color: var(--ink); }
.summary .price del { margin-right: 8px; font-weight: 400; color: var(--ink-3); }
.summary .price ins { text-decoration: none; }
.woocommerce-product-details__short-description { margin-bottom: 28px; color: var(--ink-2); }
.woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.summary .stock { margin: 0 0 16px; font-size: 14px; color: var(--ok); }
.summary .stock.out-of-stock { color: var(--err); }

form.cart { margin: 0 0 28px; padding-top: 24px; border-top: 1px solid var(--line); }
form.cart:not(.variations_form),
form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
form.cart .xan-kit-wrapper { flex-basis: 100%; }
.quantity { display: inline-flex; }
.quantity .qty {
	width: 76px;
	min-height: 52px;
	padding: 10px 8px;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}
.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button { opacity: 1; }
.single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 16px; }
.single_add_to_cart_button.loading { opacity: .6; }

/* Productos variables */
table.variations { width: 100%; margin: 0 0 16px; border-collapse: collapse; }
table.variations th, table.variations td { display: block; padding: 0; text-align: left; }
table.variations th label { margin: 0 0 8px; }
table.variations td { padding-bottom: 16px; }
.reset_variations { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.woocommerce-variation-price { margin-bottom: 14px; font-size: 1.2rem; font-weight: 500; }

/* Selector de kits y colores (plugin Xan Kits y Colores) */
.single-product .xan-kit-wrapper { margin: 0 0 8px; }
.single-product .xan-kit-block,
.single-product .xan-colors-block { margin-bottom: 22px; }
.single-product .xan-kit-title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ink);
}
.single-product .xan-kit-select,
.single-product .xan-kit-fixed-note {
	max-width: none;
	min-height: 52px;
	border: 1px solid var(--line-2);
	border-radius: var(--r);
	background-color: var(--surface);
	font-size: 16px;
}
.single-product .xan-colors-wrapper {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0;
	max-height: 360px;
	padding: 0;
	background: var(--surface);
	border: 1px solid var(--line-2);
	border-radius: var(--r);
}
.single-product .xan-color-option {
	gap: 10px;
	margin: 0;
	padding: 11px 14px;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	font-weight: 400;
}
.single-product .xan-color-option:hover { background: var(--bg); }
.single-product .xan-color-option.xan-selected { background: var(--bg); border-color: var(--line); }
.single-product .xan-color-option .xan-color-name { font-size: 15px; color: var(--ink); }
.single-product .xan-color-option.xan-selected .xan-color-name { font-weight: 600; }
.single-product .xan-color-option input { accent-color: var(--ink); }
.single-product .xan-kit-counter { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.single-product .xan-kit-complete { color: var(--ok); font-weight: 500; }
.single-product .xan-kit-error { color: var(--err); font-weight: 500; }

.product_meta { padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.product_meta > span { display: block; margin-bottom: 4px; }
.product_meta a { color: var(--ink-2); }

/* Pestañas */
.woocommerce-tabs { margin-top: var(--sp); padding-top: 0; }
.woocommerce-tabs ul.tabs {
	display: flex;
	gap: 28px;
	margin: 0 0 36px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--line);
	overflow-x: auto;
}
.woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs ul.tabs li a {
	display: block;
	margin-bottom: -1px;
	padding: 0 0 14px;
	border-bottom: 1px solid transparent;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	color: var(--ink-3);
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.woocommerce-Tabs-panel { max-width: 760px; font-size: 1.02rem; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
.woocommerce-Tabs-panel table.shop_attributes { width: 100%; border-collapse: collapse; }
.shop_attributes th, .shop_attributes td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.shop_attributes th { width: 34%; font-weight: 500; }
.shop_attributes td p { margin: 0; }

/* Reseñas */
#reviews .commentlist { margin: 0 0 32px; padding: 0; list-style: none; }
#reviews .comment_container { padding: 20px 0; border-bottom: 1px solid var(--line); }
#reviews .comment_container img.avatar { display: none; }
#reviews .meta { font-size: 14px; color: var(--ink-3); }
#review_form .comment-reply-title { display: block; margin-bottom: 12px; font-family: var(--serif-d); font-size: 1.5rem; }
#review_form p { margin-bottom: 16px; }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1em; overflow: hidden; font-size: 14px; line-height: 1; letter-spacing: .1em; }
.star-rating::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: var(--line-2); }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: var(--ink); }
p.stars a { display: inline-block; margin-right: 4px; font-size: 0; text-decoration: none; }
p.stars a::before { content: "★"; font-size: 20px; color: var(--line-2); }
p.stars:hover a::before, p.stars.selected a.active::before, p.stars.selected a:not(.active)::before { color: var(--ink); }
p.stars.selected a.active ~ a::before, p.stars a:hover ~ a::before { color: var(--line-2); }

/* Relacionados */
.related,
.upsells,
.cross-sells { margin-top: var(--sp); }
.related > h2,
.upsells > h2,
.cross-sells > h2 { margin-bottom: 36px; }

@media (max-width: 900px) {
	div.product { grid-template-columns: 1fr; }
	div.product > .woocommerce-product-gallery,
	div.product > .summary { grid-column: 1; grid-row: auto; position: static; }
	div.product > .summary { margin-top: 28px; }
	.flex-control-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
}

/* ── Tablas de WooCommerce (carrito, pedidos, cuenta) ── */
table.shop_table { width: 100%; margin: 0 0 32px; border-collapse: collapse; font-size: 15px; }
table.shop_table th { padding: 12px 10px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 600; text-align: left; color: var(--ink-2); }
table.shop_table td { padding: 18px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table th:first-child, table.shop_table td:first-child { padding-left: 0; }
table.shop_table th:last-child, table.shop_table td:last-child { padding-right: 0; }
table.shop_table tfoot th, table.shop_table tfoot td { padding: 14px 10px; font-size: 15px; border-bottom: 1px solid var(--line); }
table.shop_table tfoot tr:last-child th, table.shop_table tfoot tr:last-child td { border-bottom: 0; }
table.shop_table .order-total th, table.shop_table .order-total td { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
table.shop_table td.product-name a { font-weight: 500; text-decoration: none; }
table.shop_table td.product-name a:hover { text-decoration: underline; }
table.shop_table dl.variation { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
table.shop_table dl.variation dt { float: left; clear: left; margin-right: 4px; font-weight: 500; }
table.shop_table dl.variation dd { margin: 0 0 2px; }
table.shop_table dl.variation p { margin: 0; }
ul.xan-cart-colors { display: inline-flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
ul.xan-cart-colors li:not(:last-child)::after { content: ","; margin-right: .3em; }

/* Carrito */
.woocommerce-cart-form { margin-bottom: 40px; }
table.cart td.product-thumbnail { width: 96px; }
table.cart td.product-thumbnail img { width: 80px; height: 100px; object-fit: cover; background: var(--clay); }
table.cart td.product-remove { width: 32px; }
table.cart a.remove {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	color: var(--ink-3);
}
table.cart a.remove:hover { background: var(--ink); color: var(--surface); }
table.cart td.actions { padding-top: 24px; }
table.cart td.actions .coupon { display: inline-flex; flex-wrap: wrap; gap: 10px; }
table.cart td.actions .coupon label { display: none; }
table.cart td.actions .coupon .input-text { width: 200px; }
table.cart td.actions > .button { float: right; }
table.cart td.actions .button[name="update_cart"] { background: transparent; color: var(--ink); }
table.cart td.actions .button[name="update_cart"]:disabled { opacity: .35; }
.cart-collaterals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; }
.cart-collaterals .cross-sells { grid-column: 1; margin-top: 0; }
.cart-collaterals .cart_totals { grid-column: 2; padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.cart_totals > h2 { margin-bottom: 12px; font-size: 1.8rem; }
.cart_totals table.shop_table { margin-bottom: 20px; }
.cart_totals table th { width: 40%; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 500; padding-left: 0; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 16px; }
#shipping_method { margin: 0; padding: 0; list-style: none; }
#shipping_method li { margin-bottom: 6px; }
#shipping_method li label { display: inline; font-weight: 400; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 14px; color: var(--ink-2); }
.shipping-calculator-button { font-size: 14px; }
.shipping-calculator-form { margin-top: 12px; }
.cart-empty.woocommerce-info { justify-content: flex-start; }
.return-to-shop { margin-top: 8px; }
@media (max-width: 900px) {
	.cart-collaterals { grid-template-columns: 1fr; }
	.cart-collaterals .cart_totals, .cart-collaterals .cross-sells { grid-column: 1; }
}

/* Tablas en celular: filas apiladas (usa las etiquetas data-title de WooCommerce) */
@media (max-width: 768px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tbody tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	table.shop_table_responsive tbody td { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border: 0; text-align: right; }
	table.shop_table_responsive tbody td::before { content: attr(data-title); font-weight: 500; color: var(--ink-2); text-align: left; }
	table.shop_table_responsive tbody td:not([data-title])::before { display: none; }

	table.cart tbody tr.cart_item { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 16px; align-items: start; }
	table.cart td.product-thumbnail { grid-column: 1; grid-row: 1 / span 4; display: block; width: auto; padding: 0; }
	table.cart td.product-thumbnail::before, table.cart td.product-name::before, table.cart td.product-remove::before { display: none; }
	table.cart td.product-thumbnail img { width: 80px; height: 100px; }
	table.cart td.product-name,
	table.cart td.product-price,
	table.cart td.product-quantity,
	table.cart td.product-subtotal { grid-column: 2; }
	table.cart td.product-name { display: block; padding-right: 36px; text-align: left; }
	table.cart td.product-quantity { align-items: center; }
	table.cart td.product-quantity .qty { min-height: 40px; width: 64px; padding: 6px; }
	table.cart td.product-remove { position: absolute; top: 10px; right: 0; display: block; width: auto; padding: 0; }
	table.cart tr:last-child { border-bottom: 0; }
	table.cart td.actions { display: block; padding: 16px 0 0; text-align: left; }
	table.cart td.actions::before { display: none; }
	table.cart td.actions .coupon { display: flex; width: 100%; }
	table.cart td.actions .coupon .input-text { flex: 1; width: auto; }
	table.cart td.actions > .button { float: none; width: 100%; margin-top: 10px; }

	.cart_totals table.shop_table tbody tr { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }
	.cart_totals table.shop_table tbody th,
	.cart_totals table.shop_table tbody td { display: block; width: auto; padding: 0; border: 0; }
	.cart_totals table.shop_table tbody td::before { display: none; }
	.cart_totals table.shop_table tr.order-total { border-bottom: 0; }
	.cart-collaterals .cart_totals { padding: 20px; }
}

/* ── Formularios de WooCommerce ──────────── */
.woocommerce form .form-row { margin: 0 0 18px; padding: 0; }
.woocommerce form .form-row label { margin-bottom: 6px; }
.woocommerce form .form-row label.checkbox,
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select { border-color: var(--err); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--line-2); }
.woocommerce form .form-row .description { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.woocommerce-form-row--first, .form-row-first,
.woocommerce-form-row--last, .form-row-last { width: calc(50% - 10px); float: left; }
.form-row-last, .woocommerce-form-row--last { float: right; }
.form-row-wide { clear: both; }
.woocommerce form .form-row::after, .woocommerce-address-fields__field-wrapper::after, .woocommerce-billing-fields__field-wrapper::after, .woocommerce-shipping-fields__field-wrapper::after { content: ""; display: table; clear: both; }
@media (max-width: 560px) {
	.woocommerce-form-row--first, .form-row-first, .woocommerce-form-row--last, .form-row-last { width: 100%; float: none; }
}
.woocommerce-password-strength { margin-top: 6px; font-size: 13px; }
.show-password-input { display: none; }

/* select2 / selectWoo (país y estado) */
.select2-container { width: 100% !important; font-size: 16px; }
.select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	height: 48px;
	border: 1px solid var(--line-2);
	border-radius: var(--r);
	background: var(--surface);
}
.select2-container .select2-selection--single .select2-selection__rendered { padding-left: 14px; padding-right: 36px; line-height: 46px; color: var(--ink); }
.select2-container .select2-selection--single .select2-selection__arrow { top: 11px; right: 10px; height: 24px; }
.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.select2-dropdown { border: 1px solid var(--ink); border-radius: var(--r); background: var(--surface); }
.select2-search--dropdown .select2-search__field { min-height: 40px; border: 1px solid var(--line-2) !important; }
.select2-results__option { padding: 8px 14px; font-size: 15px; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ink); color: var(--surface); }

/* ── Finalizar compra ────────────────────── */
.wc-content { padding-bottom: 8px; }
.xan-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info { justify-content: flex-start; border-left-color: var(--line-2); }
.checkout_coupon.woocommerce-form-coupon { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; max-width: 520px; margin-bottom: 28px; padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.checkout_coupon p:first-child { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--ink-2); }
.checkout_coupon .form-row { flex: 1; width: auto; float: none; margin: 0; }
.checkout_coupon .clear { display: none; }
.xan-checkout__cols {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}
.xan-checkout__billing h3,
.woocommerce-additional-fields h3 { margin: 0 0 20px; font-size: 1.7rem; }
.woocommerce-shipping-fields { margin-top: 28px; }
#ship-to-different-address { margin: 0 0 20px; font-family: var(--sans); font-size: 16px; font-weight: 500; }
#ship-to-different-address label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.woocommerce-additional-fields { margin-top: 28px; }
.xan-checkout__summary { position: sticky; top: 104px; }
.xan-checkout__review { padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.xan-checkout__review-title { margin: 0 0 12px; font-size: 1.8rem; }
.xan-checkout__review table.shop_table { margin-bottom: 24px; }
.xan-checkout__review table.shop_table td.product-name { font-weight: 500; }
.xan-checkout__review table.shop_table .product-quantity { font-weight: 400; color: var(--ink-3); }
.xan-checkout__review table.shop_table td.product-total,
.xan-checkout__review table.shop_table tfoot td { text-align: right; }

#payment ul.payment_methods { margin: 0 0 20px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
#payment ul.payment_methods li { padding: 14px 0; border-bottom: 1px solid var(--line); }
#payment ul.payment_methods li > label { display: inline; margin-left: 8px; font-size: 15px; font-weight: 500; cursor: pointer; }
#payment ul.payment_methods li img { display: inline-block; max-height: 24px; margin-left: 6px; vertical-align: middle; }
#payment .payment_box { margin-top: 12px; padding: 14px 16px; background: var(--bg); font-size: 14px; color: var(--ink-2); }
#payment .payment_box p:last-child { margin-bottom: 0; }
#payment .payment_box fieldset { margin: 0; padding: 0; border: 0; }
#payment .form-row.place-order { margin: 0; padding: 0; }
#payment #place_order { width: 100%; min-height: 56px; font-size: 16px; }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 16px; font-size: 14px; color: var(--ink-2); }
.woocommerce-privacy-policy-text p { font-size: 13px; color: var(--ink-3); }
.blockUI.blockOverlay { background: rgba(251, 248, 243, .6) !important; }
@media (max-width: 900px) {
	.xan-checkout__cols { grid-template-columns: 1fr; }
	.xan-checkout__summary { position: static; }
	.xan-checkout__review { padding: 20px; }
}

/* Pedido recibido */
.woocommerce-thankyou-order-received { font-family: var(--serif); font-size: 1.3rem; }
ul.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 0; margin: 24px 0 40px; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
ul.woocommerce-order-overview li { flex: 1 1 160px; padding: 16px 20px 16px 0; font-size: 13px; color: var(--ink-3); }
ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 500; color: var(--ink); }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 1.7rem; }
.woocommerce-customer-details address { padding: 20px; border: 1px solid var(--line); font-style: normal; line-height: 1.7; }
.woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .woocommerce-columns--addresses { grid-template-columns: 1fr; } }

/* ── Mi cuenta ───────────────────────────── */
.woocommerce-account .wc-content > .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.woocommerce-account .wc-content > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; text-decoration: none; color: var(--ink-2); }
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover { color: var(--ink); font-weight: 500; }
.woocommerce-MyAccount-content > p:first-child { font-size: 1.05rem; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-Address { padding: 20px; border: 1px solid var(--line); }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; }
.woocommerce-Address-title h2 { font-size: 1.4rem; }
.woocommerce-Address address { font-style: normal; }
.woocommerce-account fieldset { margin: 28px 0; padding: 20px; border: 1px solid var(--line); }
.woocommerce-account legend { padding: 0 8px; font-weight: 600; }
/* Ingreso y registro */
.woocommerce-account:not(.logged-in) .wc-content > .woocommerce { display: block; }
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
#customer_login h2 { font-size: 1.9rem; }
#customer_login .col-1, #customer_login .col-2 { width: auto; float: none; }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword { max-width: 480px; }
.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.woocommerce-form-login__rememberme { margin: 0; }
.woocommerce-LostPassword { font-size: 14px; }
.u-columns.col2-set::after { content: none; }
@media (max-width: 760px) {
	.woocommerce-account .wc-content > .woocommerce,
	#customer_login,
	.woocommerce-Addresses { grid-template-columns: 1fr; }
}

/* ── Bloques de carrito/checkout (si se usan) ── */
.wc-block-components-button:not(.is-link) { border-radius: var(--r) !important; background: var(--ink) !important; color: var(--surface) !important; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--sans); }


/* ── Barra fija de compra (celular) ──────── */
.satc { display: none; }
@media (max-width: 900px) {
	.satc {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 40;
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
		background: var(--surface);
		border-top: 1px solid var(--line);
		transform: translate3d(0, 105%, 0);
		transition: transform .45s var(--ease-out);
	}
	.satc.is-on { transform: none; }
	.satc__info { flex: 1; min-width: 0; }
	.satc__name { margin: 0; overflow: hidden; font-size: 14px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
	.satc__price { margin: 0; font-size: 13px; color: var(--ink-2); }
	.satc__btn { min-height: 44px; padding: 10px 22px; }
	.single-product .site-footer { padding-bottom: 96px; }
}

/* ── Banner de categoría ─────────────────── */
.catban { margin-bottom: 36px; padding: clamp(24px, 4vw, 48px) 0 clamp(32px, 5vw, 64px); background: linear-gradient(to bottom, transparent 0, transparent 100%); }
.catban__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.catban--plain .catban__grid { grid-template-columns: 1fr; }
.catban .crumbs { margin-bottom: 24px; }
.catban__title { margin: 0 0 18px; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.018em; }
.catban__lead { max-width: 34em; font-size: 1.08rem; color: var(--ink-2); }
.catban__lead p:last-child { margin-bottom: 0; }
.catban__count { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 20px; font-size: 14px; }
.catban__art { position: relative; height: clamp(300px, 34vw, 460px); }
.catban__tile {
	position: absolute;
	left: 6%;
	top: 10%;
	width: 34%;
	height: 62%;
	background: radial-gradient(circle at 50% 10%, var(--bg) 0 5%, transparent 5.8%), var(--accent);
	transform-origin: 50% 10%;
	animation: xan-hang 2.2s var(--ease-out) .3s both;
}
.catban__img { position: absolute; overflow: hidden; background: var(--clay); }
.catban__img img { width: 100%; height: 100%; object-fit: cover; }
.catban__img--1 { right: 0; top: 0; width: 62%; height: 88%; animation: xan-wipe-up 1.2s var(--ease-io) .05s both; }
.catban__img--2 { left: 0; bottom: 0; width: 42%; height: 52%; box-shadow: 0 0 0 8px var(--bg); animation: xan-wipe-up 1.2s var(--ease-io) .35s both; }
@media (max-width: 860px) {
	.catban__grid { grid-template-columns: 1fr; }
	.catban__art { order: -1; height: 64vw; }
}

/* ── Vista rápida ────────────────────────── */
.qv-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 4;
	padding: 7px 12px;
	border: 0;
	border-radius: 16px;
	background: var(--surface);
	font: 500 13px/1 var(--sans);
	color: var(--ink);
	cursor: pointer;
	opacity: 0;
	transform: translate3d(0, -4px, 0);
	transition: opacity .25s var(--ease), transform .35s var(--ease-out);
}
li.product:hover .qv-btn, .pcard:hover .qv-btn, .qv-btn:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .qv-btn { display: none; } }
.qv {
	width: min(1000px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100vh - 48px);
	padding: 0;
	border: 0;
	background: var(--surface);
	color: var(--ink);
	overflow: auto;
}
.qv::backdrop { background: rgba(47, 45, 45, .5); }
.qv[open] { animation: xan-zoom-in .4s var(--ease-out) both; }
.qv__close { position: absolute; top: 12px; right: 14px; z-index: 3; padding: 8px 4px; border: 0; background: none; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: .35em; text-decoration-color: var(--line-2); }
.qv__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 460px; }
.qv__loading { grid-column: 1 / -1; display: grid; place-items: center; min-height: 460px; color: var(--ink-3); }
.qv__gallery { background: var(--clay); }
.qv__main img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .3s var(--ease); }
.qv__thumbs { display: flex; gap: 8px; padding: 10px; background: var(--surface); }
.qv__thumb { width: 60px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .5; transition: opacity .2s; }
.qv__thumb.is-active, .qv__thumb:hover { opacity: 1; }
.qv__thumb img { display: block; width: 60px; height: 60px; object-fit: cover; }
.qv__info { display: flex; flex-direction: column; gap: 12px; padding: 48px 40px 36px; }
.qv__cats { margin: 0; font-size: 13px; color: var(--ink-3); }
.qv__cats a { color: inherit; }
.qv__title { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.qv__price { margin: 0; font-size: 1.25rem; font-weight: 500; }
.qv__price ins { text-decoration: none; }
.qv__desc { color: var(--ink-2); }
.qv__stock { color: var(--err); font-size: 14px; }
.qv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.qv__actions .added_to_cart { font-size: 14px; font-weight: 500; }
@media (max-width: 760px) {
	.qv__body { grid-template-columns: 1fr; }
	.qv__info { padding: 24px 20px 28px; }
}
