/* =========================================================================
   Arte & Cristal – estilos de tienda (mobile first)
   Paleta del logo: carbón #332932 y dorado #C9AC5E. Tipografía: Jost.
   ========================================================================= */

:root {
	--ac-ink: #1A1A1A;
	--ac-charcoal: #332932;
	--ac-gold: #C9AC5E;
	--ac-gold-soft: #F6F4EE;
	--ac-muted: #5E5E5A;
	--ac-line: #ECEBE6;
	--ac-field: #DEDDD7;
	--ac-bg: #FFFFFF;
	--ac-radius: 14px;
	--ac-font: 'Jost', 'Helvetica Neue', system-ui, sans-serif;
}

/* ---------- Base ---------- */
body,
body .et_pb_module,
body .woocommerce,
body input,
body select,
body textarea,
body button {
	font-family: var(--ac-font);
}

body { color: var(--ac-ink); background: var(--ac-bg); }

h1, h2, h3, h4,
.woocommerce div.product .product_title,
.woocommerce-page h1.page-title {
	font-family: var(--ac-font);
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ac-ink);
	line-height: 1.15;
}

a { color: var(--ac-charcoal); }
a:hover { color: var(--ac-ink); }

.ac-hidden-field { display: none !important; }

/* ---------- Encabezado de Divi: blanco, limpio, logo protagonista ---------- */
#main-header,
#main-header.et-fixed-header {
	background: #FFFFFF !important;
	box-shadow: none !important;
	border-bottom: 1px solid var(--ac-line);
}
#top-header { background: var(--ac-charcoal) !important; }
#top-menu li a,
.et_mobile_menu li a,
#et-secondary-nav li a {
	font-family: var(--ac-font) !important;
	font-weight: 400 !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 13px !important;
	color: var(--ac-ink) !important;
}
#top-menu li.current-menu-item > a,
#top-menu li a:hover { color: var(--ac-charcoal) !important; opacity: 1 !important; }
#top-menu li.current-menu-item > a { box-shadow: inset 0 -2px 0 var(--ac-gold); }
.et_mobile_menu { border-top-color: var(--ac-gold) !important; }
.mobile_menu_bar::before,
.et-cart-info span::before,
#et_search_icon::before { color: var(--ac-charcoal) !important; }
.et-cart-info span { font-family: var(--ac-font); color: var(--ac-ink) !important; }

/* Encabezado propio (solo si Divi no muestra el suyo) */
.ac-header {
	position: sticky;
	top: 0;
	z-index: 9980;
	background: #FFFFFF;
	border-bottom: 1px solid var(--ac-line);
}
body:has(#main-header) .ac-header,
body:has(.et-l--header) .ac-header { display: none; }
.admin-bar .ac-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ac-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ac-header { top: 0; } }
.ac-header__inner {
	max-width: 1200px;
	height: 64px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
}
.ac-header__logo { display: flex; align-items: center; height: 48px; }
.ac-header__logo img { height: 44px; width: auto; display: block; }
.ac-header__cart {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--ac-ink) !important;
}
.ac-cart-count {
	position: absolute;
	top: 3px;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 999px;
	background: var(--ac-gold);
	color: var(--ac-charcoal);
	font-size: 11px;
	font-weight: 500;
	line-height: 18px;
	text-align: center;
}
.ac-cart-count[data-count="0"] { display: none; }

/* ---------- Pie de página Arte & Cristal (reemplaza el de Divi) ---------- */
#main-footer { display: none !important; }
.ac-footer {
	background: var(--ac-gold-soft);
	border-top: 1px solid var(--ac-line);
	color: var(--ac-ink);
	font-family: var(--ac-font);
}
.ac-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px 28px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 20px;
	box-sizing: border-box;
}
.ac-footer__brand { grid-column: 1 / -1; }
.ac-footer__logo { display: inline-flex; }
.ac-footer__logo img { height: 48px; width: auto; display: block; mix-blend-mode: multiply; }
.ac-footer__tagline {
	margin: 14px 0 0 !important;
	padding: 0 !important;
	max-width: 340px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ac-muted);
}
.ac-footer__title {
	margin: 0 0 10px !important;
	padding: 0 !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ac-ink) !important;
}
.ac-footer__col ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ac-footer__col li { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.ac-footer__col a,
.ac-footer__col span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	font-size: 15px;
	color: var(--ac-ink) !important;
	text-decoration: none;
}
.ac-footer__col span { color: var(--ac-muted) !important; }
.ac-footer__col a:hover { color: var(--ac-charcoal) !important; text-decoration: underline; text-underline-offset: 3px; }
.ac-footer__bottom { border-top: 1px solid var(--ac-line); }
.ac-footer__bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	box-sizing: border-box;
}
.ac-footer__bottom p { margin: 0 !important; padding: 0 !important; font-size: 13px; color: var(--ac-muted); }
@media (min-width: 981px) {
	.ac-footer__inner { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); padding: 56px 32px 36px; }
	.ac-footer__brand { grid-column: auto; }
	.ac-footer__bottom-inner { padding: 18px 32px; }
}

/* ---------- Tienda sin barra lateral (también si Divi la tiene activa) ---------- */
.ac-store #sidebar { display: none !important; }
.ac-store #left-area { width: 100% !important; padding: 0 !important; float: none !important; }
.ac-store #main-content .container::before { display: none !important; }
.ac-store #main-content { background: var(--ac-bg); }

/* ---------- Portada ---------- */
.ac-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 20px 48px;
	box-sizing: border-box;
}
.ac-hero__title {
	margin: 0;
	padding: 0;
	max-width: 680px;
	font-size: 32px !important;
	font-weight: 300 !important;
	line-height: 1.1 !important;
}
.ac-goldline { display: block; width: 56px; height: 4px; margin-top: 14px; background: var(--ac-gold); }
.ac-hero__text { margin: 14px 0 0; padding: 0; max-width: 520px; color: var(--ac-muted); line-height: 1.5; font-size: 16px; }

.ac-search {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 520px;
	height: 48px;
	margin: 20px 0 6px;
	padding: 0 14px;
	border: 1px solid var(--ac-field);
	border-radius: 12px;
	background: #FFFFFF;
	color: #6B6B66;
	box-sizing: border-box;
}
.ac-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0 !important;
	outline: none;
	background: transparent !important;
	padding: 0 !important;
	font-family: var(--ac-font);
	font-size: 16px !important;
	color: var(--ac-ink);
}
.ac-search:focus-within { border-color: var(--ac-charcoal); }
.ac-home__grid { margin-top: 16px; }
.ac-home .woocommerce { width: 100%; }
.ac-page-extra { max-width: 1200px; margin: 0 auto; padding: 0 20px 48px; }

/* Páginas de tienda armadas con el constructor de Divi (módulo Shop, carrito, pago) */
.ac-store .et_pb_row { width: calc(100% - 40px) !important; max-width: 1200px !important; }
.ac-shop-head { padding-bottom: 0; }
html body.ac-store .et_pb_section .et_pb_row .et_pb_column .et_pb_shop .woocommerce ul.products li.product,
html body .et_pb_shop .woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
}
html body .et_pb_shop .woocommerce ul.products li.product .et_shop_image { display: block; }
html body .et_pb_shop .woocommerce ul.products li.product .et_overlay { display: none !important; }

/* Ficha: cantidad, pestañas e imagen */
.woocommerce .quantity input.qty,
.woocommerce div.product form.cart div.quantity input.qty,
.woocommerce-page .quantity input.qty {
	background: #FFFFFF !important;
	border: 1px solid var(--ac-field) !important;
	border-radius: 12px !important;
	height: 52px !important;
	color: var(--ac-ink) !important;
	font-size: 16px !important;
	font-family: var(--ac-font) !important;
}
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1 1 200px; margin: 0 !important; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart div.quantity { margin: 0 !important; }
.woocommerce div.product .woocommerce-tabs { border: 0 !important; margin-top: 32px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex !important;
	gap: 22px;
	overflow-x: auto;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--ac-line) !important;
	background: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	display: block !important;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	white-space: nowrap;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--ac-gold) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 10px 0 !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	color: var(--ac-ink) !important;
}
.woocommerce div.product .woocommerce-tabs .panel {
	border: 0 !important;
	padding: 18px 0 !important;
	margin: 0 !important;
	background: none !important;
	color: var(--ac-muted);
	line-height: 1.6;
}
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 16px !important; letter-spacing: 0.08em; }
.woocommerce div.product .product_meta { border-top: 1px solid var(--ac-line); padding-top: 14px; font-size: 14px; color: var(--ac-muted); }
.woocommerce div.product .woocommerce-product-gallery__trigger { background: #FFFFFF !important; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.woocommerce .related > h2,
.woocommerce .upsells > h2 { font-size: 20px !important; margin: 32px 0 16px; }
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--ac-muted) !important; margin-bottom: 14px !important; }

/* Catálogo: sin selector de orden en móvil (menos ruido) */
.woocommerce .woocommerce-ordering { margin: 0 0 16px !important; }
.woocommerce .woocommerce-ordering select { min-height: 44px; border: 1px solid var(--ac-field); border-radius: 12px; padding: 0 12px; font-family: var(--ac-font); }
@media (max-width: 639px) { .woocommerce .woocommerce-ordering { display: none; } }

/* ---------- Botones (WooCommerce y Divi) ---------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce-page .button,
body .et_pb_button.ac-btn {
	background: var(--ac-charcoal) !important;
	color: #FFFFFF !important;
	border: 0 !important;
	border-radius: var(--ac-radius) !important;
	font-family: var(--ac-font) !important;
	font-weight: 500 !important;
	font-size: 16px !important;
	letter-spacing: 0.02em;
	min-height: 52px;
	padding: 14px 22px !important;
	line-height: 1.3 !important;
	box-shadow: none !important;
	transition: background-color 0.2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce-page .button:hover {
	background: var(--ac-ink) !important;
	padding: 14px 22px !important;
}
/* Divi agrega una flecha a los botones: se quita para un look limpio. */
.woocommerce a.button::after,
.woocommerce button.button::after,
.woocommerce-page .button::after { display: none !important; }

.ac-btn-outline,
.woocommerce a.button.ac-btn-outline {
	background: transparent !important;
	color: var(--ac-charcoal) !important;
	border: 1px solid var(--ac-gold) !important;
}

/* ---------- Catálogo: 2 / 3 / 4 columnas ---------- */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 32px !important;
	padding: 0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	text-align: center;
	display: flex !important;
	flex-direction: column;
}
.woocommerce ul.products li.product a img {
	/* Fotos cuadradas (1000 × 1000 px): la obra completa, sin recortes. */
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: var(--ac-radius);
	margin-bottom: 10px !important;
	box-shadow: none !important;
	background: var(--ac-gold-soft);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px !important;
	font-weight: 400 !important;
	text-transform: none;
	letter-spacing: 0;
	padding: 0 !important;
	line-height: 1.3;
}
.woocommerce ul.products li.product .price {
	display: block;
	text-align: center;
	color: var(--ac-ink) !important;
	font-size: 15px !important;
	font-weight: 500;
	margin: 6px 0 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title { text-align: center; }
/* Botón "Ver y comprar" de cada obra (lleva a la ficha, donde se elige el tamaño). */
.woocommerce ul.products li.product .ac-loop-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid var(--ac-charcoal);
	background: #FFFFFF;
	color: var(--ac-charcoal) !important;
	font-family: var(--ac-font);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none !important;
	transition: background-color .15s ease, color .15s ease;
}
.woocommerce ul.products li.product .ac-loop-btn:hover,
.woocommerce ul.products li.product .ac-loop-btn:focus-visible {
	background: var(--ac-charcoal);
	color: #FFFFFF !important;
}
.woocommerce ul.products li.product .ac-loop-btn:focus-visible { outline: 2px solid var(--ac-gold); outline-offset: 2px; }
.woocommerce ul.products li.product .ac-loop-btn__space { flex: 1 1 auto; min-height: 12px; }
.woocommerce ul.products li.product .button { display: none !important; } /* la compra se hace desde la ficha */
.woocommerce span.onsale {
	background: var(--ac-gold) !important;
	color: var(--ac-charcoal) !important;
	border-radius: 999px !important;
	min-height: 0 !important;
	padding: 4px 10px !important;
	font-weight: 500;
}

/* Filtros de categoría como "píldoras" (widget o shortcode de categorías) */
.ac-chips,
.woocommerce .product-categories {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 4px 0 12px !important;
	margin: 0 !important;
	list-style: none !important;
}
.ac-chips a,
.woocommerce .product-categories li a {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid var(--ac-field);
	white-space: nowrap;
	font-size: 14px;
	color: var(--ac-ink);
}
.woocommerce .product-categories li { list-style: none !important; padding: 0 !important; }
.ac-chips a.is-active,
.woocommerce .product-categories li.current-cat a {
	background: var(--ac-charcoal);
	border-color: var(--ac-charcoal);
	color: #FFFFFF;
}

/* ---------- Ficha de producto ---------- */
.woocommerce div.product div.images img { border-radius: 18px; }
.woocommerce div.product .product_title { font-size: 28px; margin-bottom: 6px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ac-ink) !important;
	font-size: 22px !important;
	font-weight: 500;
}
.woocommerce div.product form.cart { margin-top: 24px; }

/* Tamaños como botones (el JS del tema convierte el selector) */
.woocommerce div.product form.cart .variations { border: 0; margin-bottom: 12px; }
.woocommerce div.product form.cart .variations th.label { display: block; padding: 0 0 8px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; }
.woocommerce div.product form.cart .variations td.value { display: block; padding: 0; }
.ac-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.ac-pill {
	min-height: 56px;
	border-radius: 12px;
	border: 1px solid var(--ac-field);
	background: #FFFFFF;
	color: var(--ac-ink);
	font-family: var(--ac-font);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	padding: 6px 4px;
}
.ac-pill[aria-pressed="true"] { border: 2px solid var(--ac-charcoal); }
.ac-pill:disabled { opacity: 0.4; cursor: not-allowed; }
.ac-pills + select,
.ac-select-hidden { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.woocommerce div.product form.cart .reset_variations { display: none !important; }

.woocommerce .quantity .qty {
	height: 52px;
	width: 72px;
	border: 1px solid var(--ac-field);
	border-radius: 12px;
	font-size: 16px;
}

.ac-frame-note { margin: 8px 0 0; font-size: 14px; color: var(--ac-muted); }

/* Zona del botón "Ver en mi pared" (plugin propio o Mirrolo) */
.ac-vemp-slot { margin-top: 14px; }
.ac-vemp-slot .button,
.ac-vemp-slot button,
.ac-vemp-slot a {
	width: 100%;
	justify-content: center;
}

/* Barra fija de compra en móvil */
.ac-sticky-buy {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 9990;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: #FFFFFF;
	border-top: 1px solid var(--ac-line);
	transform: translateY(110%);
	transition: transform 0.25s ease;
}
.ac-sticky-buy.is-visible { transform: translateY(0); }

@keyframes ac-bar-in { from { transform: translateY(140%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ac-sticky-buy__price { font-weight: 500; font-size: 16px; white-space: nowrap; }
.ac-sticky-buy__btn {
	flex: 1;
	height: 52px;
	border: 0;
	border-radius: var(--ac-radius);
	background: var(--ac-charcoal);
	color: #FFFFFF;
	font-family: var(--ac-font);
	font-size: 16px;
	font-weight: 500;
}

/* ---------- Carrito y pago ---------- */
.ac-steps { display: flex; flex-wrap: wrap; gap: 6px; max-width: 420px; margin: 0 0 24px; }
.ac-steps__bar { flex: 1; height: 4px; border-radius: 4px; background: #E3E2DC; }
.ac-steps__bar.is-done { background: var(--ac-gold); }
.ac-steps p { flex-basis: 100%; margin: 4px 0 0; padding: 0; font-size: 13px; color: var(--ac-muted); }

.woocommerce table.shop_table {
	border: 0 !important;
	border-radius: var(--ac-radius) !important;
}
.woocommerce table.shop_table td,
.woocommerce table.shop_table th { border-color: var(--ac-line) !important; }
.woocommerce-cart table.cart img { width: 96px; border-radius: 8px; }
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review {
	background: #FFFFFF;
	border: 1px solid var(--ac-line);
	border-radius: var(--ac-radius);
	padding: 18px;
}

.woocommerce form .form-row label { font-size: 13px; font-weight: 500; color: var(--ac-ink); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
	min-height: 48px;
	border: 1px solid var(--ac-field) !important;
	border-radius: 12px !important;
	padding: 10px 14px !important;
	font-size: 16px !important; /* evita el zoom automático en iPhone */
	background: #FFFFFF !important;
}
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 26px; padding: 0; }
.select2-container .select2-selection--single .select2-selection__arrow { top: 10px; }

.ac-checkout-note { margin: 12px 0 0; font-size: 13px; color: var(--ac-muted); text-align: center; }

/* ---------- Páginas de carrito y pago (contenedor y título) ---------- */
.ac-store #main-content .container { width: calc(100% - 40px) !important; max-width: 1200px !important; }
.ac-store #main-content .container .ac-wrap { padding-left: 0; padding-right: 0; }
.woocommerce-cart .entry-title.main_title,
.woocommerce-checkout .entry-title.main_title { display: none; }
.ac-page-title { margin: 0 0 14px !important; padding: 0 !important; font-size: 26px !important; }
.ac-cart-page .ac-steps,
.ac-checkout-page .ac-steps { margin-bottom: 20px; }

/* Cantidad con botones − y + */
.woocommerce .quantity.ac-qty {
	display: inline-flex !important;
	align-items: center;
	border: 1px solid var(--ac-field);
	border-radius: 12px;
	background: #FFFFFF;
	overflow: hidden;
}
.woocommerce .quantity.ac-qty input.qty {
	width: 40px !important;
	height: 44px !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	text-align: center;
	-moz-appearance: textfield;
	font-weight: 500;
}
.woocommerce .quantity.ac-qty input.qty::-webkit-outer-spin-button,
.woocommerce .quantity.ac-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ac-qty__btn {
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--ac-ink);
	font-family: var(--ac-font);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.woocommerce div.product form.cart .quantity.ac-qty { height: 52px; }
.woocommerce div.product form.cart div.quantity.ac-qty input.qty,
.woocommerce-cart .quantity.ac-qty input.qty {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	width: 44px !important;
	box-shadow: none !important;
}
.woocommerce div.product form.cart .quantity.ac-qty .ac-qty__btn,
.woocommerce div.product form.cart .quantity.ac-qty input.qty { height: 50px !important; }

/* ---------- Carrito: cada obra como una fila limpia ---------- */
.ac-cart-page table.shop_table.cart { border: 0 !important; margin: 0 !important; }
.ac-cart-page table.shop_table.cart thead { display: none; }
.ac-cart-page table.shop_table.cart tr.cart_item {
	display: grid !important;
	grid-template-columns: 96px minmax(0, 1fr) auto;
	grid-template-areas:
		"thumb name remove"
		"thumb qty  sub";
	column-gap: 14px;
	row-gap: 8px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--ac-line);
	background: none !important;
}
.ac-cart-page table.shop_table.cart tr.cart_item td {
	display: block !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	text-align: left !important;
}
.ac-cart-page table.shop_table.cart tr.cart_item td::before { display: none !important; }
.ac-cart-page table.shop_table.cart td.product-thumbnail { grid-area: thumb; display: block !important; }
.ac-cart-page table.shop_table.cart td.product-thumbnail img { width: 96px !important; height: 72px; object-fit: cover; border-radius: 8px; }
.ac-cart-page table.shop_table.cart td.product-name { grid-area: name; font-size: 15px; font-weight: 500; line-height: 1.3; }
.ac-cart-page table.shop_table.cart td.product-name a { color: var(--ac-ink); }
.ac-cart-page table.shop_table.cart td.product-name .variation { margin: 4px 0 0; font-size: 13px; font-weight: 400; color: var(--ac-muted); }
.ac-cart-page table.shop_table.cart tr.cart_item td.product-price { display: none !important; }
.ac-cart-page table.shop_table.cart td.product-quantity { grid-area: qty; }
.ac-cart-page table.shop_table.cart td.product-subtotal { grid-area: sub; text-align: right !important; font-weight: 500; white-space: nowrap; }
.ac-cart-page table.shop_table.cart td.product-remove { grid-area: remove; justify-self: end; }
.ac-cart-page table.shop_table.cart td.product-remove a.remove {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 44px !important;
	height: 44px !important;
	margin: -10px -10px 0 0;
	color: #6B6B66 !important;
	font-size: 22px !important;
	font-weight: 300 !important;
	background: none !important;
	border-radius: 0 !important;
}
.ac-cart-page table.shop_table.cart td.product-remove a.remove:hover { color: var(--ac-ink) !important; }
.ac-cart-page table.shop_table.cart tr:not(.cart_item) td.actions {
	display: block !important;
	padding: 16px 0 0 !important;
	border: 0 !important;
	background: none !important;
	text-align: left !important;
}
.ac-cart-page table.shop_table.cart td.actions::before { display: none !important; }
.ac-cart-page table.shop_table.cart td.actions .coupon {
	display: flex !important;
	gap: 8px;
	float: none !important;
	width: 100%;
	padding: 0 !important;
}
.ac-cart-page table.shop_table.cart td.actions .coupon .input-text {
	flex: 1;
	width: auto !important;
	min-width: 0;
	height: 48px;
	border: 1px solid var(--ac-field) !important;
	border-radius: 12px !important;
	padding: 0 14px !important;
	font-size: 16px !important;
	background: #FFFFFF !important;
	color: var(--ac-ink) !important;
}
.ac-cart-page table.shop_table.cart td.actions .coupon .button {
	width: auto !important;
	min-height: 48px !important;
	background: #FFFFFF !important;
	color: var(--ac-ink) !important;
	border: 1px solid var(--ac-field) !important;
	font-size: 15px !important;
	padding: 0 16px !important;
}
.ac-cart-page table.shop_table.cart td.actions > .button[name="update_cart"] { display: none !important; }

.ac-cart-page .cart-collaterals { margin-top: 24px; }
.ac-cart-page .cart-collaterals .cart_totals { width: 100% !important; float: none !important; }
.ac-cart-page .cart_totals h2 { font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0.08em; margin: 0 0 8px !important; }
.ac-cart-page .cart_totals table.shop_table { margin: 0 !important; }
.ac-cart-page .cart_totals table.shop_table th,
.ac-cart-page .cart_totals table.shop_table td {
	padding: 10px 0 !important;
	background: none !important;
	font-weight: 400;
	color: var(--ac-muted);
}
.ac-cart-page .cart_totals table.shop_table tr.order-total th,
.ac-cart-page .cart_totals table.shop_table tr.order-total td {
	color: var(--ac-ink);
	font-weight: 500;
	font-size: 17px;
}
.ac-cart-page .cart_totals table.shop_table td { text-align: right !important; }
.ac-cart-page .wc-proceed-to-checkout { padding: 14px 0 0 !important; }
.ac-cart-page .wc-proceed-to-checkout .checkout-button { width: 100%; margin: 0 !important; display: flex !important; align-items: center; justify-content: center; }
.ac-continue { margin: 12px 0 0; text-align: center; }
.ac-continue a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ac-charcoal); text-decoration: underline; }
.ac-cart-page .cart-empty,
.ac-cart-page .wc-empty-cart-message { text-align: center; padding: 32px 0 8px; }
.ac-cart-page .return-to-shop { text-align: center; }
.ac-cart-page .return-to-shop .button { background: transparent !important; color: var(--ac-charcoal) !important; border: 1px solid var(--ac-charcoal) !important; }

/* ---------- Pago ---------- */
.ac-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info,
.ac-checkout-page .woocommerce-form-login-toggle .woocommerce-info {
	background: var(--ac-gold-soft) !important;
	color: var(--ac-ink) !important;
	border: 0 !important;
	border-radius: 12px;
	padding: 14px 16px !important;
	font-size: 14px;
}
.ac-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info::before,
.ac-checkout-page .woocommerce-form-login-toggle .woocommerce-info::before { display: none !important; }
.ac-checkout-page #customer_details h3,
.ac-checkout-page #order_review_heading {
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 8px 0 12px !important;
	padding: 0 !important;
}
.ac-checkout-page #customer_details .col-1,
.ac-checkout-page #customer_details .col-2 { width: 100% !important; float: none !important; }
.ac-checkout-page .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ac-checkout-page .woocommerce-billing-fields__field-wrapper .form-row { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.ac-checkout-page .woocommerce-additional-fields:empty,
.ac-checkout-page .woocommerce-additional-fields__field-wrapper:empty { display: none; }
.ac-checkout-page #order_review_heading { margin-top: 28px !important; }
.ac-checkout-page #order_review table.shop_table th,
.ac-checkout-page #order_review table.shop_table td {
	padding: 10px 0 !important;
	background: none !important;
	font-size: 14px;
}
.ac-checkout-page #order_review table.shop_table tr.order-total th,
.ac-checkout-page #order_review table.shop_table tr.order-total td { font-size: 17px; font-weight: 500; color: var(--ac-ink); }
.ac-checkout-page #order_review table.shop_table td:last-child,
.ac-checkout-page #order_review table.shop_table th:last-child { text-align: right; }
.ac-checkout-page #order_review table.shop_table tfoot th { font-weight: 400; color: var(--ac-muted); }
.ac-checkout-page #shipping_method { margin: 0; padding: 0; list-style: none; }
.ac-checkout-page #shipping_method li { text-align: left; margin-bottom: 6px; }

.woocommerce-checkout #payment {
	background: transparent !important;
	border-radius: 0 !important;
	margin-top: 8px;
}
.woocommerce-checkout #payment ul.payment_methods {
	border: 0 !important;
	padding: 0 0 8px !important;
	margin: 0 !important;
}
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
	list-style: none;
	background: #FFFFFF;
	border: 1px solid var(--ac-field);
	border-radius: 12px;
	padding: 14px !important;
	margin: 0 0 8px !important;
	line-height: 1.4;
}
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(input:checked) { border: 2px solid var(--ac-charcoal); padding: 13px !important; }
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label { font-weight: 500; font-size: 15px; cursor: pointer; }
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input { accent-color: var(--ac-charcoal); margin-right: 6px; }
.woocommerce-checkout #payment div.payment_box {
	background: var(--ac-gold-soft) !important;
	color: var(--ac-muted) !important;
	border-radius: 10px;
	margin: 10px 0 0 !important;
	padding: 12px !important;
	font-size: 14px;
}
.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
.woocommerce-checkout #payment div.form-row.place-order { padding: 8px 0 0 !important; margin: 0 !important; }
.woocommerce-checkout #payment #place_order { width: 100%; float: none; }
.woocommerce-checkout .woocommerce-privacy-policy-text { font-size: 12px; color: var(--ac-muted); }

/* Pedido recibido */
.woocommerce-order .woocommerce-thankyou-order-received {
	background: var(--ac-gold-soft);
	border-radius: 12px;
	padding: 16px;
	font-size: 16px;
	color: var(--ac-ink);
}
.woocommerce-order ul.order_details { margin: 16px 0 !important; padding: 0 !important; }
.woocommerce-order ul.order_details li { border-color: var(--ac-line) !important; font-size: 13px; }

/* Barra fija del carrito/pago: solo en móvil */
@media (max-width: 980px) {
	.woocommerce-cart #page-container,
	.woocommerce-checkout #page-container { padding-bottom: 80px; }
}


/* ---------- Agregado al carrito (ficha) ---------- */
.woocommerce .woocommerce-message:has(.ac-added-marker) { display: none !important; }
.single_add_to_cart_button.loading { opacity: 0.7; }

/* Debajo de "Agregar al carrito": "Seguir viendo obras" */
.ac-added { margin-top: 12px; }
.ac-added[hidden] { display: none !important; }
.ac-added a.ac-added__more {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	box-sizing: border-box;
	border: 1px solid var(--ac-charcoal);
	border-radius: var(--ac-radius);
	background: #FFFFFF;
	color: var(--ac-charcoal) !important;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
.ac-added a.ac-added__more:hover { background: var(--ac-gold-soft); }

/* Tarjeta flotante "Agregado a tu carrito" – oscura, dorada y con la obra */
.ac-added-bar {
	position: fixed;
	z-index: 9995;
	left: 12px;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom));
	display: grid;
	gap: 14px;
	padding: 16px;
	background: var(--ac-charcoal);
	color: #FFFFFF;
	border-radius: 20px;
	box-shadow: 0 18px 44px rgba(26, 26, 26, 0.42), 0 4px 10px rgba(26, 26, 26, 0.2), inset 0 0 0 1px rgba(201, 172, 94, 0.35);
	font-family: var(--ac-font);
	box-sizing: border-box;
	animation: ac-card-in 0.55s cubic-bezier(0.2, 1.3, 0.35, 1) both;
}
.ac-added-bar[hidden] { display: none !important; }
@keyframes ac-card-in {
	0%   { transform: translateY(120%) scale(0.96); opacity: 0; }
	100% { transform: translateY(0) scale(1); opacity: 1; }
}
.ac-added-bar__head { display: flex; align-items: center; gap: 14px; }
.ac-added-bar__media { position: relative; flex: none; width: 60px; height: 60px; }
.ac-added-bar__media img {
	display: block;
	width: 60px !important;
	height: 60px !important;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 0 0 2px var(--ac-gold);
}
.ac-added-bar__check {
	position: absolute;
	right: -8px;
	bottom: -8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: var(--ac-gold);
	color: var(--ac-charcoal);
	box-shadow: 0 0 0 3px var(--ac-charcoal);
	animation: ac-pop 0.5s 0.35s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.ac-added-bar__media:not(:has(img)) .ac-added-bar__check { position: static; width: 44px; height: 44px; }
@keyframes ac-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.ac-added-bar__tick { stroke-dasharray: 24; stroke-dashoffset: 24; animation: ac-tick 0.35s 0.7s ease-out forwards; }
@keyframes ac-tick { to { stroke-dashoffset: 0; } }

.ac-added-bar__text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.ac-added-bar__msg {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ac-gold);
}
.ac-added-bar__name {
	max-width: 100%;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.25;
	color: #FFFFFF;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* "Ver carrito": píldora dorada, visible y fácil de tocar */
.ac-added-bar__cart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	min-height: 34px;
	padding: 0 14px !important;
	border: 1px solid var(--ac-gold) !important;
	border-radius: 999px !important;
	background: rgba(201, 172, 94, 0.12) !important;
	color: var(--ac-gold) !important;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.ac-added-bar__cart:hover,
.ac-added-bar__cart:focus-visible { background: var(--ac-gold) !important; color: var(--ac-charcoal) !important; }
.ac-added-bar__close {
	align-self: flex-start;
	margin: -10px -10px 0 auto;
	flex: none;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
}
.ac-added-bar__close:hover { color: #FFFFFF; }

.ac-added-bar__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.ac-added-bar__price { display: flex; flex-direction: column; flex: none; line-height: 1.15; }
.ac-added-bar__label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.ac-bar-total,
.ac-bar-total .amount { font-size: 19px; font-weight: 500; color: #FFFFFF !important; white-space: nowrap; }
.ac-added-bar__checkout {
	position: relative;
	overflow: hidden;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 54px;
	padding: 0 14px;
	border-radius: var(--ac-radius);
	background: var(--ac-gold);
	color: var(--ac-charcoal) !important;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	line-height: 1.2;
	text-decoration: none !important;
	box-sizing: border-box;
	box-shadow: 0 6px 18px rgba(201, 172, 94, 0.35);
	transition: transform 0.15s ease, background-color 0.2s ease;
}
.ac-added-bar__checkout:hover { background: #D4BC7A; }
.ac-added-bar__checkout:active { transform: scale(0.98); }
.ac-added-bar__checkout svg { flex: none; transition: transform 0.2s ease; }
.ac-added-bar__checkout:hover svg { transform: translateX(3px); }
/* Brillo que recorre el botón una vez */
.ac-added-bar__checkout::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 50%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	transform: skewX(-20deg);
	animation: ac-shine 1.1s 0.9s ease-in-out both;
	pointer-events: none;
}
@keyframes ac-shine { from { left: -60%; } to { left: 130%; } }
.ac-added-bar__checkout span { white-space: nowrap; }
@media (max-width: 420px) {
	.ac-added-bar__actions { gap: 12px; }
	.ac-bar-total,
	.ac-bar-total .amount { font-size: 17px; }
	.ac-added-bar__checkout { padding: 0 10px; font-size: 15px; }
	.ac-added-bar__checkout svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ac-added-bar,
	.ac-added-bar__check,
	.ac-added-bar__checkout::after { animation: none !important; }
	.ac-added-bar__tick { animation: none; stroke-dashoffset: 0; }
	.ac-added-bar__checkout::after { display: none; }
}
/* Con la tarjeta visible no se muestra la barra de "Agregar" y la página deja espacio abajo */
body.ac-has-added-bar .ac-sticky-buy:not(.ac-sticky-buy--cart) { display: none !important; }
@media (max-width: 980px) { body.ac-has-added-bar { padding-bottom: 190px; } }
/* En computador: tarjeta en la esquina inferior derecha */
@media (min-width: 981px) {
	.ac-added-bar { left: auto; right: 24px; bottom: 24px; width: 420px; }
}

/* Aviso del cupón legible */
.ac-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info a,
.ac-checkout-page .woocommerce-form-login-toggle .woocommerce-info a { color: var(--ac-charcoal) !important; text-decoration: underline; font-weight: 500; }

/* ---------- Confirmación del pedido ---------- */
.ac-thanks-page { max-width: 960px; }
.ac-thanks__hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 16px 0 28px;
}
.ac-thanks__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border-radius: 999px;
	background: var(--ac-gold);
	color: var(--ac-charcoal);
}
.ac-thanks__icon--error { background: #F3E1DE; color: #8A2E22; }
.ac-thanks__title {
	margin: 22px 0 0 !important;
	padding: 0 !important;
	font-size: 30px !important;
	font-weight: 300 !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1.15 !important;
}
.ac-thanks__number {
	margin: 10px 0 0 !important;
	padding: 0 !important;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ac-muted);
}
.ac-thanks__text {
	margin: 16px 0 0 !important;
	padding: 0 !important;
	max-width: 440px;
	font-size: 16px;
	line-height: 1.55;
	color: #4A4A46;
}
.ac-thanks__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-width: 420px;
	margin-top: 26px;
}
.woocommerce .ac-thanks__actions .button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
}
.woocommerce .ac-thanks__actions .ac-thanks__secondary {
	background: #FFFFFF !important;
	color: var(--ac-ink) !important;
	border: 1px solid var(--ac-field) !important;
}
.ac-thanks__note {
	max-width: 640px;
	margin: 0 auto 24px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--ac-gold-soft);
	font-size: 14px;
	line-height: 1.55;
	color: #4A4A46;
	text-align: center;
}
.ac-thanks__note p { margin: 0 !important; padding: 0 !important; }
.ac-thanks__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.ac-thanks__card {
	border: 1px solid var(--ac-line);
	border-radius: var(--ac-radius);
	padding: 18px;
	background: #FFFFFF;
}
.ac-thanks__heading {
	margin: 0 0 12px !important;
	padding: 0 !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ac-thanks__items { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ac-thanks__item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--ac-line);
	list-style: none !important;
}
.ac-thanks__thumb img { width: 72px !important; height: 56px !important; object-fit: cover; border-radius: 8px; display: block; }
.ac-thanks__item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ac-thanks__item-name { font-weight: 500; font-size: 15px; line-height: 1.3; }
.ac-thanks__item-meta { font-size: 13px; color: var(--ac-muted); }
.ac-thanks__item-total { font-weight: 500; white-space: nowrap; }
.ac-thanks__totals,
.ac-thanks__facts { margin: 8px 0 0 !important; padding: 0 !important; }
.ac-thanks__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 0;
	font-size: 14px;
}
.ac-thanks__row dt { color: var(--ac-muted); font-weight: 400; margin: 0; }
.ac-thanks__row dd { margin: 0; text-align: right; color: var(--ac-ink); }
.ac-thanks__row--order_total { border-top: 1px solid var(--ac-line); margin-top: 4px; padding-top: 12px; }
.ac-thanks__row--order_total dt,
.ac-thanks__row--order_total dd { font-size: 17px; font-weight: 500; color: var(--ac-ink); }
.ac-thanks__address {
	font-style: normal;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ac-ink);
	margin: 0 0 8px;
}
.ac-thanks-page .woocommerce-notices-wrapper:empty,
.ac-thanks-page .woocommerce-form-coupon-toggle { display: none; }
@media (min-width: 640px) {
	.ac-thanks__actions { flex-direction: row; }
	.ac-thanks__actions .button { flex: 1 1 0; }
}
@media (min-width: 981px) {
	.ac-thanks__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
	.ac-thanks__title { font-size: 40px !important; }
}


/* ---------- Avisos de la tienda (agregado, eliminado, errores, información) ---------- */
.woocommerce-message.woocommerce-message.woocommerce-message,
.woocommerce-info.woocommerce-info.woocommerce-info,
.woocommerce-error.woocommerce-error.woocommerce-error,
.wc-block-components-notice-banner.wc-block-components-notice-banner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 0 0 16px !important;
	padding: 14px 16px 14px 52px !important;
	list-style: none !important;
	background: var(--ac-gold-soft) !important;
	color: var(--ac-ink) !important;
	border: 0 !important;
	border-radius: 14px !important;
	box-shadow: none !important;
	font-family: var(--ac-font) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	text-align: left !important;
}
.woocommerce-message.woocommerce-message.woocommerce-message::before,
.woocommerce-info.woocommerce-info.woocommerce-info::before,
.woocommerce-error.woocommerce-error.woocommerce-error::before {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	left: 16px !important;
	top: 50% !important;
	width: 24px;
	height: 24px;
	margin: -12px 0 0 !important;
	border-radius: 999px;
	background: var(--ac-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23332932' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat !important;
	color: transparent !important;
	font-size: 0 !important;
}
.woocommerce-info.woocommerce-info.woocommerce-info::before {
	background: var(--ac-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23332932' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E") center / 14px no-repeat !important;
}
.woocommerce-error.woocommerce-error.woocommerce-error {
	background: #FBEDEA !important;
	color: #5C1A10 !important;
}
.woocommerce-error.woocommerce-error.woocommerce-error::before {
	background: #B4442F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 14px no-repeat !important;
}
.woocommerce-error.woocommerce-error.woocommerce-error li { list-style: none !important; margin: 0 !important; padding: 0 !important; flex-basis: 100%; }
/* Enlaces dentro del aviso, como "¿Deshacer?" */
.woocommerce-message.woocommerce-message.woocommerce-message a:not(.button),
.woocommerce-info.woocommerce-info.woocommerce-info a:not(.button),
.woocommerce-error.woocommerce-error.woocommerce-error a:not(.button) {
	color: var(--ac-charcoal) !important;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.woocommerce-error.woocommerce-error.woocommerce-error a:not(.button) { color: #5C1A10 !important; }
/* Botón dentro del aviso, como "Ver carrito" */
.woocommerce-message.woocommerce-message.woocommerce-message .button,
.woocommerce-info.woocommerce-info.woocommerce-info .button {
	order: 2;
	float: none !important;
	margin: 0 0 0 auto !important;
	min-height: 40px !important;
	padding: 0 14px !important;
	font-size: 14px !important;
	background: #FFFFFF !important;
	color: var(--ac-ink) !important;
	border: 1px solid var(--ac-field) !important;
	display: inline-flex !important;
	align-items: center;
}
/* Carrito vacío: estado limpio, sin caja */
.cart-empty.woocommerce-info.woocommerce-info.woocommerce-info {
	display: block;
	padding: 40px 0 8px !important;
	background: transparent !important;
	text-align: center !important;
	font-size: 18px !important;
	font-weight: 500 !important;
}
.cart-empty.woocommerce-info.woocommerce-info.woocommerce-info::before {
	position: static !important;
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px !important;
	background: var(--ac-gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23332932' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7L6 7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / 28px no-repeat !important;
}
.woocommerce-cart .return-to-shop { margin-top: 16px; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.woocommerce div.product .product_title { font-size: 34px; }
	.ac-wrap { padding: 36px 32px 56px; }
	.ac-hero__title { font-size: 40px !important; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 981px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
	.woocommerce div.product .product_title { font-size: 40px; }
	.ac-sticky-buy { display: none !important; }
	.ac-hero__title { font-size: 52px !important; }

	/* Pago en dos columnas: datos a la izquierda, resumen fijo a la derecha */
	.woocommerce-checkout form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 380px;
		gap: 40px;
		align-items: start;
	}
	.woocommerce-checkout form.checkout > * { grid-column: 1 / -1; }
	.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; width: auto; }
	.woocommerce-checkout form.checkout #customer_details .col-1,
	.woocommerce-checkout form.checkout #customer_details .col-2 { width: 100%; float: none; }
	.woocommerce-checkout form.checkout #order_review_heading { grid-column: 2; grid-row: 1; width: auto; float: none; margin: 0 !important; }
	.woocommerce-checkout form.checkout #order_review { grid-column: 2; grid-row: 2; width: auto; float: none; position: sticky; top: 100px; }

	/* Carrito en dos columnas: obras a la izquierda, resumen a la derecha */
	.ac-cart-page .woocommerce {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 380px;
		column-gap: 40px;
		align-items: start;
	}
	.ac-cart-page .woocommerce > * { grid-column: 1 / -1; }
	.ac-cart-page .woocommerce > form.woocommerce-cart-form { grid-column: 1; }
	.ac-cart-page .woocommerce > .cart-collaterals { grid-column: 2; position: sticky; top: 100px; }
	.ac-cart-page .cart-collaterals .cross-sells { display: none; }
}

/* ---------- Cómo adquirir tu cuadro + envío gratis ---------- */
.ac-envio { font-family: var(--ac-font); color: var(--ac-ink); }
.ac-envio__banner { position: relative; background: var(--ac-gold-soft); }
.ac-envio__img, .ac-envio__img img { display: block; width: 100%; height: auto; }
.ac-envio__copy { padding: 24px 20px 28px; box-sizing: border-box; }
.ac-envio__title {
	margin: 0; padding: 0;
	font-family: var(--ac-font) !important;
	font-size: 30px !important; font-weight: 300 !important; line-height: 1.1 !important;
	color: var(--ac-ink) !important;
}
.ac-envio__text { margin: 14px 0 0; padding: 0; font-size: 16px; line-height: 1.5; color: var(--ac-muted); max-width: 440px; }
.ac-envio__badges, .ac-envio-strip { list-style: none !important; margin: 18px 0 0; padding: 0 !important; display: grid; gap: 10px; }
.ac-envio__badges li, .ac-envio-strip li {
	display: flex; align-items: center; gap: 10px;
	margin: 0; padding: 0; list-style: none;
	font-size: 15px; line-height: 1.35; color: var(--ac-ink);
}
.ac-envio__badges svg, .ac-envio-strip svg { flex: none; color: var(--ac-charcoal); }
.ac-envio__badges li.is-strong, .ac-envio-strip li.is-strong { font-weight: 500; }
.ac-envio__badges li.is-strong svg, .ac-envio-strip li.is-strong svg { color: #A88A3A; }
.ac-envio__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ac-envio__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: 12px; box-sizing: border-box;
	font-family: var(--ac-font); font-size: 16px; font-weight: 500; text-decoration: none !important;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ac-envio__btn.is-dark { background: var(--ac-charcoal); color: #FFFFFF !important; border: 1px solid var(--ac-charcoal); }
.ac-envio__btn.is-dark:hover { background: var(--ac-ink); }
.ac-envio__btn.is-line { background: #FFFFFF; color: var(--ac-ink) !important; border: 1px solid var(--ac-field); }
.ac-envio__btn.is-line:hover { border-color: var(--ac-charcoal); }
.ac-envio__btn:focus-visible { outline: 2px solid var(--ac-gold); outline-offset: 2px; }

.ac-pasos { max-width: 1200px; margin: 0 auto; padding: 32px 20px 8px; box-sizing: border-box; }
.ac-pasos__title {
	margin: 0 0 18px; padding: 0;
	font-family: var(--ac-font) !important; font-size: 22px !important; font-weight: 400 !important;
	color: var(--ac-ink) !important;
}
.ac-pasos__list { list-style: none !important; margin: 0; padding: 0 !important; display: grid; gap: 14px; }
.ac-pasos__item {
	display: flex; gap: 14px; align-items: flex-start;
	margin: 0; padding: 16px; list-style: none;
	border: 1px solid var(--ac-line); border-radius: var(--ac-radius); background: #FFFFFF;
}
.ac-pasos__num {
	flex: none; display: grid; place-items: center;
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--ac-gold-soft); color: var(--ac-charcoal);
	font-weight: 500; font-size: 15px; border: 1px solid var(--ac-gold);
}
.ac-pasos__item h3 {
	margin: 0; padding: 0;
	font-family: var(--ac-font) !important; font-size: 17px !important; font-weight: 500 !important;
	color: var(--ac-ink) !important; line-height: 1.3 !important;
}
.ac-pasos__item p { margin: 4px 0 0; padding: 0; font-size: 15px; line-height: 1.45; color: var(--ac-muted); }

/* Franja en cada obra */
.ac-envio-strip {
	margin: 18px 0 6px !important; padding: 14px 16px !important;
	border-radius: 12px; background: var(--ac-gold-soft);
}
.ac-envio-strip a { color: var(--ac-ink) !important; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 768px) {
	.ac-envio__img img { aspect-ratio: 12 / 5; object-fit: cover; }
	.ac-envio__copy { max-width: 1200px; margin: 0 auto; padding: 28px 20px 32px; }
	.ac-pasos__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.ac-envio__banner { overflow: hidden; }
	.ac-envio__copy {
		position: absolute; inset: 0 auto 0 0; margin: 0;
		width: 40%; max-width: 540px;
		display: flex; flex-direction: column; justify-content: center;
		padding: 32px 0 32px max(32px, calc((100vw - 1200px) / 2 + 20px));
	}
	.ac-envio__title { font-size: 34px !important; }
	.ac-envio__text { font-size: 17px; }
}
@media (min-width: 1280px) {
	.ac-envio__title { font-size: 42px !important; }
}
@media (prefers-reduced-motion: reduce) { .ac-envio__btn { transition: none; } }
/* Pago contraentrega: el mensaje fuerte */
.ac-envio__badges li.is-strong,
.ac-envio-strip li.is-strong {
	justify-self: start;
	padding: 10px 14px;
	border: 1px solid var(--ac-gold);
	border-radius: 12px;
	background: #FFFFFF;
	font-size: 16px;
}
.ac-envio-strip li.is-strong { justify-self: stretch; }

/* Autorización de datos en el pago */
.woocommerce-checkout .ac-consent { margin: 0 0 14px !important; padding: 12px 14px !important; border: 1px solid var(--ac-line); border-radius: 12px; background: var(--ac-gold-soft); font-size: 14px; line-height: 1.45; }
.woocommerce-checkout .ac-consent label { display: flex !important; gap: 10px; align-items: flex-start; margin: 0 !important; cursor: pointer; }
.woocommerce-checkout .ac-consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 1px 0 0 !important; accent-color: var(--ac-charcoal); }
.woocommerce-checkout .ac-consent a, .ac-consent__more a { color: var(--ac-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
.ac-consent__more { display: block; margin: 6px 0 0 30px; font-size: 13px; }

/* "Ver obras" baja suave hasta las obras, sin quedar tapado por el encabezado */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.ac-obras-anchor { display: block; height: 0; scroll-margin-top: 90px; }
.admin-bar .ac-obras-anchor { scroll-margin-top: 122px; }

/* ---------- Categorías: barra fija, deslizable y con cantidad ---------- */
.ac-chips-wrap {
	position: relative;
	z-index: 50;
	margin: 0 -20px;
	padding: 8px 20px 0;
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: saturate(1.2) blur(6px);
	backdrop-filter: saturate(1.2) blur(6px);
}
.ac-chips-wrap::before,
.ac-chips-wrap::after {
	content: "";
	position: absolute;
	top: 8px;
	bottom: 12px;
	width: 36px;
	pointer-events: none;
	opacity: 0;
	transition: opacity .2s ease;
}
.ac-chips-wrap::before { left: 0; background: linear-gradient(90deg, #FFFFFF 30%, rgba(255,255,255,0)); }
.ac-chips-wrap::after { right: 0; background: linear-gradient(270deg, #FFFFFF 30%, rgba(255,255,255,0)); }
.ac-chips-wrap.has-left::before,
.ac-chips-wrap.has-right::after { opacity: 1; }
.ac-chips {
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.ac-chips::-webkit-scrollbar { display: none; }
.ac-chips a {
	scroll-snap-align: start;
	gap: 6px;
	height: 44px !important;
	padding: 0 16px !important;
	font-size: 15px !important;
	background: #FFFFFF;
	text-decoration: none !important;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ac-chips a:hover { border-color: var(--ac-charcoal); }
.ac-chips a:focus-visible { outline: 2px solid var(--ac-gold); outline-offset: 2px; }
.ac-chips__n {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--ac-gold-soft);
	color: var(--ac-muted);
	font-size: 12px;
	font-weight: 500;
	box-sizing: border-box;
}
.ac-chips a.is-active .ac-chips__n { background: rgba(255, 255, 255, 0.18); color: #FFFFFF; }
ul.products.is-loading { opacity: .45; transition: opacity .15s ease; pointer-events: none; }
.ac-more { margin: 4px 0 32px !important; text-align: center; }
@media (min-width: 981px) {
	.ac-chips { flex-wrap: wrap; overflow: visible; }
	.ac-chips-wrap::before, .ac-chips-wrap::after { display: none; }
}

/* Portada en celular: foto más baja para que se asome lo que sigue */
@media (max-width: 767px) {
	.ac-envio__img img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 40%; }
	.ac-envio__copy { padding-top: 20px; padding-bottom: 22px; }
}

/* ---------- "Escoge tu categoría" y categorías en movimiento ---------- */
.ac-chips-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 2px !important;
	padding: 0 !important;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .02em;
	color: var(--ac-charcoal);
}
.ac-chips-label svg { color: #A88A3A; }
.ac-chips.is-auto { scroll-snap-type: none; }
@media (min-width: 981px) { .ac-chip-clone { display: none !important; } }

/* ---------- "Ver obras": brillo que llama la atención ---------- */
@keyframes ac-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(201, 172, 94, .75); transform: scale(1); }
	50%  { transform: scale(1.04); }
	70%  { box-shadow: 0 0 0 14px rgba(201, 172, 94, 0); }
	100% { box-shadow: 0 0 0 0 rgba(201, 172, 94, 0); transform: scale(1); }
}
@keyframes ac-shine {
	0%, 60% { background-position: -160% 0; }
	100%    { background-position: 260% 0; }
}
.ac-envio__btn.is-dark {
	position: relative;
	background-image: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
	background-size: 200% 100%;
	background-repeat: no-repeat;
	animation: ac-pulse 2.2s ease-out infinite, ac-shine 2.2s ease-in-out infinite;
}
.ac-envio__btn.is-dark:hover,
.ac-envio__btn.is-dark:focus-visible { animation: none; }

/* ---------- Celular: "Desliza para ver las obras" ---------- */
@keyframes ac-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.ac-scroll-cue {
	white-space: nowrap;
	position: fixed;
	left: 50%;
	bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: rgba(51, 41, 50, .92);
	color: #FFFFFF;
	font-family: var(--ac-font);
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
	opacity: 0;
	transform: translate(-50%, 16px);
	transition: opacity .35s ease, transform .35s ease;
	pointer-events: none;
	cursor: pointer;
}
.ac-scroll-cue.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.ac-scroll-cue svg { animation: ac-bob 1.2s ease-in-out infinite; }
@media (min-width: 768px) { .ac-scroll-cue { display: none; } }

@media (prefers-reduced-motion: reduce) {
	.ac-envio__btn.is-dark, .ac-scroll-cue svg { animation: none !important; }
}

/* Barra de categorías fija al bajar */
.ac-chips-wrap.is-fixed {
	position: fixed;
	left: 0;
	right: 0;
	margin: 0;
	padding: 8px max(20px, calc((100vw - 1200px) / 2 + 20px)) 0;
	z-index: 9970;
	box-shadow: 0 6px 16px rgba(26, 26, 26, .06);
	border-bottom: 1px solid var(--ac-line);
}
.ac-chips-wrap.is-fixed::before { left: max(0px, calc((100vw - 1200px) / 2)); }
.ac-chips-wrap.is-fixed::after { right: max(0px, calc((100vw - 1200px) / 2)); }

/* ---------- Tarjeta del carrito minimizada (botón en la esquina) ---------- */
.ac-added-bar__mini { display: none; }
.ac-added-bar.is-mini {
	left: auto;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom));
	width: auto;
	padding: 0;
	gap: 0;
	border-radius: 999px;
	animation: ac-mini-in .35s cubic-bezier(.2, 1.3, .35, 1) both;
}
.ac-added-bar.is-mini .ac-added-bar__head,
.ac-added-bar.is-mini .ac-added-bar__actions { display: none; }
.ac-added-bar.is-mini .ac-added-bar__mini {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 58px;
	padding: 0 20px 0 12px;
	margin: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #FFFFFF;
	font-family: var(--ac-font);
	text-align: left;
	cursor: pointer;
}
.ac-added-bar__mini:focus-visible { outline: 2px solid var(--ac-gold); outline-offset: 3px; }
.ac-added-bar__mini-icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ac-gold);
	color: var(--ac-charcoal);
	flex: none;
}
.ac-added-bar__mini-icon .ac-bar-count {
	position: absolute;
	top: -4px;
	right: -6px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: #FFFFFF;
	color: var(--ac-charcoal);
	font-size: 12px;
	font-weight: 600;
	line-height: 20px;
	text-align: center;
	box-sizing: border-box;
	box-shadow: 0 0 0 2px var(--ac-charcoal);
}
.ac-added-bar__mini-text { display: flex; flex-direction: column; line-height: 1.15; }
.ac-added-bar__mini-label { font-size: 14px; font-weight: 500; white-space: nowrap; }
.ac-added-bar__mini-text .ac-bar-total { font-size: 13px; color: rgba(255, 255, 255, .75); white-space: nowrap; }
.ac-added-bar__mini-text .ac-bar-total, .ac-added-bar__mini-text .ac-bar-total .amount { color: rgba(255, 255, 255, .75) !important; font-size: 13px !important; font-weight: 400 !important; }
@keyframes ac-mini-in { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes ac-mini-bump { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
.ac-added-bar.is-mini.is-bump { animation: ac-mini-bump .6s ease both; }
/* Celulares pequeños: solo el círculo con la cantidad */
@media (max-width: 359px) {
	.ac-added-bar.is-mini .ac-added-bar__mini { padding: 0 9px; min-height: 58px; }
	.ac-added-bar__mini-text { display: none; }
}
/* En la ficha (celular) queda por encima de la barra de compra */
@media (max-width: 980px) {
	body.single-product.ac-has-mini-bar .ac-added-bar.is-mini { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
	.ac-added-bar.is-mini, .ac-added-bar.is-mini.is-bump { animation: none !important; }
}

/* ---------- Comprar por WhatsApp ---------- */
.ac-wa-buy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	margin: 12px 0 0;
	padding: 0 18px;
	border-radius: 12px;
	border: 1px solid #1DA851;
	background: #FFFFFF;
	color: #128C3E !important;
	font-family: var(--ac-font);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background-color .15s ease, color .15s ease;
}
.ac-wa-buy:hover, .ac-wa-buy:focus-visible { background: #1DA851; color: #FFFFFF !important; }
.ac-wa-buy:focus-visible { outline: 2px solid var(--ac-gold); outline-offset: 2px; }
.ac-wa-buy svg { flex: none; }

/* Precio de la variación: se muestra arriba al instante; se oculta el repetido abajo. */
.ac-has-live-price .woocommerce-variation-price { display: none; }
.ac-price-live { transition: none; }
.single_variation_wrap .single_variation { transition: none; }

/* ---------- Ficha: título, precio y descripción con aire ---------- */
.woocommerce div.product .product_title { margin: 26px 0 0 !important; line-height: 1.2; }
@media (min-width: 768px) { .woocommerce div.product .product_title { margin-top: 4px !important; } }

.ac-price-row {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
	margin: 18px 0 20px; padding: 16px 0;
	border-top: 1px solid var(--ac-line); border-bottom: 1px solid var(--ac-line);
}
.woocommerce div.product .ac-price-row p.price,
.woocommerce div.product .ac-price-row span.price {
	margin: 0 !important; line-height: 1;
	font-size: 36px !important; font-weight: 600; letter-spacing: -0.01em;
	color: var(--ac-charcoal) !important;
}
.woocommerce div.product .ac-price-row .price del { font-size: 20px; font-weight: 400; color: var(--ac-muted); opacity: .8; }
.woocommerce div.product .ac-price-row .price ins { text-decoration: none; background: none; }
.woocommerce div.product .woocommerce-product-details__short-description { margin: 0 0 18px; color: var(--ac-muted); line-height: 1.55; }
@media (min-width: 768px) { .woocommerce div.product .ac-price-row p.price, .woocommerce div.product .ac-price-row span.price { font-size: 42px !important; } }

.ac-addi-badge {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12px; line-height: 1; color: var(--ac-muted);
}

/* Logos de medios de pago */
.ac-pays { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ac-pay {
	display: inline-flex; align-items: center; justify-content: center;
	height: 26px; padding: 0 8px; box-sizing: border-box;
	border: 1px solid var(--ac-field); border-radius: 6px; background: #FFFFFF;
}
.ac-pay svg, .ac-pay img { display: block; height: 16px; width: auto; }
.ac-pay--img img { height: 18px; }
.ac-pay--txt { font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--ac-charcoal); text-transform: none; }
.ac-addi-badge .ac-pay { height: 22px; padding: 0 7px; }
.ac-envio__badges li.is-pays, .ac-envio-strip li.is-pays { flex-wrap: wrap; row-gap: 8px; }
.ac-envio__badges li.is-pays > span:not(.ac-pays), .ac-envio-strip li.is-pays > span:not(.ac-pays) { font-size: 14px; color: var(--ac-muted); }
.ac-envio__badges li.is-pays .ac-pays, .ac-envio-strip li.is-pays .ac-pays { flex-basis: 100%; padding-left: 30px; box-sizing: border-box; }
.ac-pays { justify-content: flex-start; }

/* Logos reales: redondos, sin marco */
.ac-pay.ac-pay--img { height: auto; padding: 0; border: 0; background: none; border-radius: 0; }
.ac-pay--img img { display: block; height: 30px; width: auto; border-radius: 0; }
.ac-pay--addi img { height: 26px; }
.ac-addi-badge .ac-pay--img img { height: 22px; }
.ac-pays { gap: 8px; }

/* Addi: el widget del plugin se coloca debajo del precio. */
.ac-addi-slot { margin: 14px 0 20px; min-height: 0; }
.ac-addi-slot addi-product-widget { display: block; }

/* ---------- Celular y tablet: la compra vive en la barra de abajo ---------- */
.ac-sticky-buy { flex-wrap: wrap; }
.ac-sticky-buy__opts { flex: 0 0 100%; display: grid; gap: 6px; }
.ac-sb-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ac-sb-label { flex: 0 0 54px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-muted); }
.ac-sb-pills { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px 1px; }
.ac-sb-pills::-webkit-scrollbar { display: none; }
.ac-sb-pill {
	flex: 0 0 auto; min-height: 34px; padding: 0 12px; border-radius: 10px;
	border: 1px solid var(--ac-field); background: #FFFFFF; color: var(--ac-ink);
	font-family: var(--ac-font); font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer;
}
.ac-sb-pill[aria-pressed="true"] { border: 2px solid var(--ac-charcoal); padding: 0 11px; }
.ac-sb-pill:disabled { opacity: .4; }
.ac-sticky-buy__btn { height: 48px; }

@media (max-width: 980px) {
	/* Barra siempre visible y espacio para que no tape el final de la página */
	body.single-product { padding-bottom: 170px; }
	body.single-product.ac-has-added-bar { padding-bottom: 190px; }
	.ac-sticky-buy.ac-sticky-buy--form { transform: translateY(0); box-shadow: 0 -6px 18px rgba(0,0,0,.06); }

	/* El formulario de la página se oculta: tamaño, marco y compra están en la barra. */
	.woocommerce div.product form.cart { display: none !important; }

	/* Foto sin miniaturas y más baja */
	.woocommerce div.product div.images { margin-bottom: 6px !important; }
	.woocommerce div.product div.images .flex-control-thumbs,
	.woocommerce div.product div.images .flex-control-nav { display: none !important; }
	.woocommerce div.product div.images .woocommerce-product-gallery__image img { max-height: clamp(220px, 38vh, 380px); width: 100%; object-fit: contain; }

	/* Orden: nombre y precio juntos, cuotas, WhatsApp, Ver en mi pared, pagos, descripción */
	.woocommerce div.product div.summary { display: flex; flex-direction: column; }
	.woocommerce div.product div.summary > * { order: 9; }
	.woocommerce div.product div.summary > .product_title { order: 1; }
	.woocommerce div.product div.summary > .woocommerce-product-rating { order: 2; }
	.woocommerce div.product div.summary > .ac-price-row { order: 3; }
	.woocommerce div.product div.summary > .ac-addi-slot { order: 4; }
	.woocommerce div.product div.summary > .ac-wa-buy { order: 5; }
	.woocommerce div.product div.summary > .ac-vemp-slot { order: 6; }
	.woocommerce div.product div.summary > .ac-envio-strip { order: 7; }
	.woocommerce div.product div.summary > .woocommerce-product-details__short-description { order: 8; }
	.woocommerce div.product div.summary > .product_meta { order: 10; }

	.woocommerce div.product .product_title { margin: 4px 0 0 !important; font-size: 17px !important; line-height: 1.25; letter-spacing: .06em; }
	.ac-price-row { margin: 2px 0 0; padding: 4px 0 8px; border: 0; gap: 4px 10px; }
	.woocommerce div.product .ac-price-row p.price,
	.woocommerce div.product .ac-price-row span.price { font-size: 28px !important; }
	.ac-addi-slot { margin: 0 0 10px; }
	.ac-wa-buy { margin: 0 0 8px; min-height: 46px; }
	.ac-vemp-slot { margin: 0 0 10px; }
	.ac-envio-strip { margin: 4px 0 10px !important; padding: 10px 12px !important; gap: 8px; }
	.ac-envio-strip li:last-child:not(.is-pays) { display: none; }
	.woocommerce div.product .woocommerce-product-details__short-description { margin: 8px 0 12px; }
}

/* ---------- 1.12.12 Celular: foto arriba y botón "Continuar compra" sobre la barra ---------- */
@media (max-width: 980px) {
	/* Foto pegada al encabezado */
	body.single-product #main-content .container { padding-top: 0 !important; }
	body.single-product #main-content .container::before { display: none !important; }
	body.single-product #content-area, body.single-product #left-area, body.single-product .et_pb_section:first-of-type { padding-top: 0 !important; }
	.woocommerce .woocommerce-breadcrumb { margin: 6px 0 6px !important; padding: 0 !important; font-size: 12px !important; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.woocommerce div.product { margin-top: 0 !important; padding-top: 0 !important; }
	.woocommerce div.product div.images { margin-top: 0 !important; }

	/* Tarjeta minimizada: encima de la barra de compra */
	body.single-product.ac-has-mini-bar .ac-added-bar.is-mini { bottom: calc(var(--ac-sb-h, 150px) + 12px + env(safe-area-inset-bottom)); }

	/* Tarjeta abierta: la barra de compra se esconde; al cerrarla vuelve */
	body.single-product.ac-has-added-bar .ac-sticky-buy.ac-sticky-buy--form { transform: translateY(110%); box-shadow: none; pointer-events: none; }
	body.single-product.ac-has-added-bar { padding-bottom: 150px; }
}

/* ---------- 1.12.13 "Seguir viendo obras" en la tarjeta del carrito ---------- */
.ac-added-bar__more {
	display: flex; align-items: center; justify-content: center;
	min-height: 46px; margin-top: 10px; box-sizing: border-box;
	border: 1px solid rgba(255,255,255,.45); border-radius: var(--ac-radius);
	color: #FFFFFF !important; font-size: 15px; font-weight: 500; text-decoration: none !important;
	transition: background-color .2s ease;
}
.ac-added-bar__more:hover, .ac-added-bar__more:focus-visible { background: rgba(255,255,255,.12); }
.ac-added-bar.is-mini .ac-added-bar__more { display: none; }
#obras, .ac-anchor { scroll-margin-top: 90px; }

/* ---------- 1.12.14 "Seguir viendo obras" en la barra de compra y aviso sobre "Desliza" ---------- */
.ac-sb-more { display: none; flex: 0 0 100%; align-items: center; justify-content: center; min-height: 42px; box-sizing: border-box; border: 1px solid var(--ac-charcoal); border-radius: var(--ac-radius); color: var(--ac-charcoal) !important; font-size: 15px; font-weight: 500; text-decoration: none !important; }
body.ac-has-mini-bar .ac-sb-more, body.ac-has-added-bar .ac-sb-more { display: flex; }
@media (max-width: 980px) {
	body.single-product.ac-has-mini-bar { padding-bottom: 215px; }
}
/* Portada: "Continuar compra" queda por encima de "Desliza para ver las obras" */
@media (max-width: 767px) {
	body.home .ac-added-bar.is-mini { transition: bottom .3s ease; }
	body.home:has(.ac-scroll-cue.is-on) .ac-added-bar.is-mini { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
