/* Yugen Beauty — washi, sumi y sakura */
:root {
	--yg-washi: #F5F0E8;
	--yg-paper: #FBF8F3;
	--yg-white: #FFFFFF;
	--yg-ink: #221E1B;
	--yg-ink-2: #4E4641;
	--yg-muted: #5E5650;
	--yg-strike: #6F665F;
	--yg-line: #DDD3C7;
	--yg-line-2: #E6DED3;
	--yg-blush: #EBDDD8;
	--yg-blush-line: #C9B3AD;
	--yg-rose: #A8505E;
	--yg-rose-ink: #8E3F4C;
	--yg-serif: 'Shippori Mincho', 'Times New Roman', serif;
	--yg-sans: 'Zen Kaku Gothic New', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* El tema antiguo pinta botones, ofertas, precios, paginación, menús y avisos con --global-color (su rosa):
   lo apuntamos al rosa de la paleta nueva para que no quede ni un resto. */
body.yg { --global-color: var(--yg-rose); }
body.yg ins { background: none; }
/* Venía del «CSS adicional» del tema antiguo: ancho máximo del contenido */
body.yg .singular-main-block { max-width: 1200px; margin-left: auto; margin-right: auto; clear: both; }
body.yg.home .woocommerce-products-header__title { display: none !important; }
/* Restos de WooCommerce: su propio ✓ (ya ponemos el nuestro), las migas en gris y las estrellas amarillas */
body.yg a.button.added::after { display: none !important; }
body.yg .woocommerce-breadcrumb, body.yg .woocommerce-breadcrumb a { color: var(--yg-muted); }
body.yg .stock.in-stock { color: var(--yg-muted) !important; }
body.yg .required, body.yg abbr.required { color: var(--yg-rose) !important; text-decoration: none; }
body.yg .tax_label, body.yg .includes_tax, body.yg .includes_tax .amount, body.yg .description { color: var(--yg-muted) !important; }
body.yg .woocommerce table.shop_table, body.yg .woocommerce table.shop_table th, body.yg .woocommerce table.shop_table td { border-color: var(--yg-line-2) !important; }
/* Pago (Fluid Checkout): bordes y campos con la línea de la paleta */
body.yg .fc-checkout-step, body.yg .fc-step__substep, body.yg #shipping_method.shipping-method__options,
body.yg .shipping-method__options li, body.yg .fc-wrapper .payment_methods li { border-color: var(--yg-line) !important; }
body.yg .woocommerce form .form-row .input-text, body.yg .woocommerce form .form-row select,
body.yg .select2-container .select2-selection--single { border-color: var(--yg-blush-line) !important; }
body.yg .woocommerce form .form-row .input-text:focus, body.yg .woocommerce form .form-row select:focus { border-color: var(--yg-ink) !important; }
body.yg .wc_payment_methods, body.yg .fc-checkout-order-review__inner, body.yg .fc-checkout-order-review tr { border-color: var(--yg-line) !important; }
/* Títulos en granate puestos a mano en las descripciones de producto */
body.yg span[style*="aa0032" i] { color: var(--yg-rose-ink) !important; }
body.yg .select2-container .select2-selection__arrow b { border-top-color: var(--yg-muted) !important; }
body.yg .star-rating, body.yg .star-rating span, body.yg .star-rating span::before, body.yg strong.rating { color: var(--yg-rose) !important; }

body.yg {
	background: var(--yg-washi);
	color: var(--yg-ink);
	font-family: var(--yg-sans);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
}
body.yg a { color: var(--yg-ink); text-decoration: none; }
body.yg a:hover { color: var(--yg-rose-ink); }
body.yg h1, body.yg h2, body.yg h3, body.yg h4 { font-family: var(--yg-serif); font-weight: 500; color: var(--yg-ink); letter-spacing: 0; text-transform: none; }
body.yg img { max-width: 100%; height: auto; }

.yg-wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
@media (max-width: 640px) { .yg-wrap { padding-left: 16px; padding-right: 16px; } }

/* Barra superior */
.yg-topbar { background: var(--yg-ink); color: var(--yg-washi); font-size: 13px; letter-spacing: .08em; padding: 10px 16px; display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; text-align: center; }
.yg-topbar-muted { color: #C9BFB4; }

/* Cabecera */
.yg-header { border-bottom: 1px solid var(--yg-line); background: var(--yg-washi); position: sticky; top: 0; z-index: 50; }
body.admin-bar .yg-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .yg-header { top: 0; } }
.yg-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.yg-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.yg-brand-logo { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; }
.yg-brand-name { font-family: var(--yg-serif); font-size: 24px; letter-spacing: .04em; color: var(--yg-ink); }

.yg-nav .yg-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.yg-nav .yg-menu > li { position: relative; margin: 0; padding: 0; }
.yg-nav .yg-menu a { font-size: 15px; letter-spacing: .02em; text-transform: none; padding: 10px 0; display: inline-block; color: var(--yg-ink); }
.yg-nav .yg-menu img { display: inline-block; vertical-align: middle; }
.yg-nav .sub-menu { display: none; position: absolute; left: -16px; top: 100%; background: var(--yg-paper); border: 1px solid var(--yg-line); list-style: none; margin: 0; padding: 8px 16px; min-width: 200px; z-index: 60; }
.yg-nav li:hover > .sub-menu, .yg-nav li:focus-within > .sub-menu { display: block; }
.yg-nav .wpml-ls-item { display: none; } /* el selector de idioma ya va a la derecha */

.yg-tools { display: flex; align-items: center; gap: 4px; }
.yg-langs { display: flex; align-items: center; gap: 6px; line-height: 1; font-size: 13px; color: var(--yg-muted); padding: 0 8px; }
.yg-langs a { color: var(--yg-muted); padding: 12px 2px; }
.yg-lang-active { color: var(--yg-ink); font-weight: 500; padding: 12px 2px; }
.yg-icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--yg-ink); cursor: pointer; position: relative; padding: 0; list-style: none; }
.yg-icon-btn::-webkit-details-marker { display: none; }
.yg-icon-btn:hover { color: var(--yg-rose-ink); background: transparent; }
.yg-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--yg-ink); color: var(--yg-washi); font-size: 11px; line-height: 18px; text-align: center; padding: 0 4px; box-sizing: border-box; }
.yg-search { position: relative; }
.yg-search summary { list-style: none; }
.yg-search-panel { position: absolute; right: 0; top: 52px; background: var(--yg-paper); border: 1px solid var(--yg-line); padding: 12px; width: 320px; z-index: 60; }
.yg-search-panel form { display: flex; gap: 8px; margin: 0; }
.yg-search-panel input[type="search"] { flex: 1; height: 44px; border: 1px solid #BFB3A6; border-radius: 999px; padding: 0 16px; background: var(--yg-white); font-family: var(--yg-sans); }
.yg-search-panel button { height: 44px; border-radius: 999px; padding: 0 18px; background: var(--yg-ink); color: var(--yg-washi); border: 0; font-family: var(--yg-sans); }
.yg-burger { display: none; }

@media (max-width: 960px) {
	.yg-burger { display: inline-flex; }
	.yg-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--yg-washi); border-bottom: 1px solid var(--yg-line); padding: 8px 16px 20px; }
	.yg-header.is-open .yg-nav { display: block; }
	.yg-nav .yg-menu { flex-direction: column; gap: 0; }
	.yg-nav .yg-menu a { padding: 12px 0; font-size: 17px; }
	.yg-nav .sub-menu { display: block; position: static; border: 0; background: none; padding: 0 0 0 16px; }
	.yg-brand-name { font-size: 20px; }
	.yg-search-panel { position: fixed; left: 16px; right: 16px; top: auto; width: auto; }
}
@media (max-width: 640px) {
	.yg-header-row { gap: 8px; }
	.yg-brand { gap: 8px; min-width: 0; }
	.yg-brand-logo { width: 36px; height: 36px; }
	.yg-brand-name { font-size: 18px; white-space: nowrap; }
	.yg-tools { gap: 0; }
	.yg-tools .yg-account { display: none; } /* «Mi cuenta» ya está en el menú */
	.yg-topbar { gap: 4px 16px; }
}
@media (max-width: 420px) { .yg-langs { display: none; } }

/* Tipografía y piezas comunes */
.yg-kicker { margin: 0; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--yg-rose-ink); font-family: var(--yg-sans); }
body.yg .yg-display { margin: 0; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.08; letter-spacing: -.01em; }
body.yg .yg-h2 { margin: 0; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.15; }
body.yg .yg-h2-sm { font-size: 30px; }
body.yg .yg-h3 { margin: 0; font-size: 21px; line-height: 1.3; }
.yg-lead { margin: 0; font-size: 18px; color: var(--yg-muted); max-width: 520px; }
.yg-muted { margin: 0; color: var(--yg-muted); max-width: 380px; }
.yg-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
body.yg .yg-btn { display: inline-block; background: var(--yg-ink); color: var(--yg-washi); padding: 16px 32px; font-size: 15px; letter-spacing: .04em; border-radius: 999px; }
body.yg .yg-btn:hover { background: var(--yg-rose-ink); color: #fff; }
body.yg .yg-link { padding: 14px 2px; font-size: 15px; border-bottom: 1px solid var(--yg-ink); }
body.yg .yg-btn-outline { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid var(--yg-ink); color: var(--yg-ink); background: transparent; font-size: 14px; letter-spacing: .04em; border-radius: 999px; margin-top: auto; }
body.yg .yg-btn-outline:hover { background: var(--yg-ink); color: var(--yg-washi); }
body.yg .yg-btn-outline.added::before,
body.yg ul.products li.product a.button.added::before { content: "✓"; margin-right: 8px; font-size: 13px; }
/* «Ver carrito» tras añadir: el tema antiguo lo pinta como botón rosa con letra blanca */
body.yg a.added_to_cart.wc-forward {
	display: block; background: none !important; color: var(--yg-rose-ink) !important; border: 0 !important; border-radius: 0 !important;
	padding: 10px 0 0 !important; margin: 0 !important; height: auto !important; box-shadow: none !important;
	font-family: var(--yg-sans) !important; font-size: 13px !important; font-weight: 400 !important; letter-spacing: .04em;
	text-align: center; text-transform: none !important; text-decoration: underline; text-underline-offset: 3px;
}
body.yg a.added_to_cart.wc-forward:hover { color: var(--yg-ink) !important; }
/* Debajo del botón, sin moverlo: así los botones de la fila siguen alineados */
body.yg .yg-card, body.yg ul.products li.product { position: relative; }
body.yg .yg-card a.added_to_cart.wc-forward,
body.yg ul.products li.product a.added_to_cart.wc-forward { position: absolute; left: 0; right: 0; top: 100%; }
.yg-price { font-size: 15px; white-space: nowrap; }
.yg-price del { color: var(--yg-strike); opacity: 1; margin-right: 4px; }
.yg-price ins { text-decoration: none; color: var(--yg-rose-ink); font-weight: 700; background: none; }

/* Hero */
.yg-hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.yg-hero-text { flex: 1 1 420px; min-width: 0; display: flex; gap: 32px; }
.yg-vertical { writing-mode: vertical-rl; font-family: var(--yg-serif); font-size: 22px; letter-spacing: .5em; color: var(--yg-rose); padding-top: 8px; }
.yg-hero-copy { display: flex; flex-direction: column; gap: 28px; }
.yg-hero-media { flex: 1 1 440px; min-width: 0; position: relative; }
.yg-arch { background: var(--yg-blush); border-radius: 280px 280px 8px 8px; padding: 40px 40px 0; overflow: hidden; }
body.yg .yg-arch img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 240px 240px 0 0; mix-blend-mode: multiply; }
.yg-hero-tag { position: absolute; left: -24px; bottom: 40px; background: var(--yg-paper); padding: 18px 22px; border: 1px solid var(--yg-line); display: flex; flex-direction: column; gap: 2px; }
.yg-hero-tag-name { font-family: var(--yg-serif); font-size: 18px; }
@media (max-width: 640px) {
	.yg-hero { padding-top: 40px; padding-bottom: 64px; gap: 40px; }
	.yg-hero-text { gap: 16px; }
	.yg-vertical { font-size: 16px; }
	.yg-arch { padding: 24px 24px 0; }
	.yg-hero-tag { left: 12px; bottom: 16px; }
}

/* Valores */
.yg-values { border-top: 1px solid var(--yg-line); border-bottom: 1px solid var(--yg-line); background: var(--yg-paper); }
.yg-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.yg-values-grid > div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--yg-muted); }
.yg-value-title { font-family: var(--yg-serif); font-size: 19px; color: var(--yg-ink); }

/* Secciones */
.yg-section { padding-top: 112px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 56px; }
.yg-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.yg-section-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
@media (max-width: 640px) { .yg-section { padding-top: 72px; padding-bottom: 64px; gap: 40px; } }

/* Tarjetas del ritual */
.yg-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.yg-card { display: flex; flex-direction: column; gap: 14px; }
.yg-card-media { display: block; position: relative; background: var(--yg-white); border: 1px solid var(--yg-line-2); }
body.yg .yg-card-media img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0; }
.yg-card-step { position: absolute; top: 12px; left: 12px; font-family: var(--yg-serif); font-size: 14px; color: var(--yg-rose-ink); z-index: 1; background: var(--yg-paper); padding: 4px 12px; border-radius: 999px; }
.wpml-ls-statics-footer { display: none !important; } /* el selector de idioma ya está en la cabecera */
.yg-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.yg-card-desc { margin: 0; font-size: 14px; color: var(--yg-muted); }

/* Ingredientes */
.yg-ingredients { background: var(--yg-blush); }
.yg-ingredients .yg-section > div:first-child { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.yg-ing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--yg-blush-line); }
.yg-ing { padding: 32px 28px 32px 0; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--yg-blush-line); }
.yg-ing p { margin: 0; font-size: 15px; color: var(--yg-ink-2); }
body.yg .yg-ing .yg-h3 { font-size: 26px; }
.yg-ing-where { font-family: var(--yg-serif); font-size: 15px; color: var(--yg-rose-ink); }

/* Filosofía */
.yg-philosophy { padding-top: 128px; padding-bottom: 128px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.yg-kanji { flex: 1 1 340px; font-family: var(--yg-serif); font-size: clamp(110px, 16vw, 220px); line-height: 1; color: #E2CFC9; }
.yg-philosophy-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
body.yg .yg-philosophy .yg-h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.25; }
@media (max-width: 640px) { .yg-philosophy { padding-top: 72px; padding-bottom: 72px; gap: 24px; } }

/* Newsletter */
.yg-newsletter { border-top: 1px solid var(--yg-line); background: var(--yg-paper); }
.yg-newsletter-row { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.yg-newsletter-row > div:first-child { flex: 1 1 360px; display: flex; flex-direction: column; gap: 8px; }
.yg-newsletter-form { flex: 1 1 420px; }
.yg-newsletter-form form { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.yg-newsletter-form input[type="email"] { flex: 1 1 240px; height: 52px; padding: 0 20px; border: 1px solid #BFB3A6; background: var(--yg-white); font-family: var(--yg-sans); font-size: 15px; border-radius: 999px; color: var(--yg-ink); box-sizing: border-box; }
.yg-newsletter-form input[type="submit"], .yg-newsletter-form button { height: 52px; padding: 0 28px; border: 0; background: var(--yg-rose); color: #fff; font-family: var(--yg-sans); font-size: 15px; border-radius: 999px; cursor: pointer; }

/* Pie */
.yg-footer { background: var(--yg-ink); color: #C9BFB4; font-size: 14px; }
.yg-footer .yg-wrap { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.yg-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.yg-footer-brand, .yg-footer-col { display: flex; flex-direction: column; gap: 10px; }
.yg-footer-name { font-family: var(--yg-serif); font-size: 24px; color: var(--yg-washi); }
.yg-footer-title, .yg-footer .widget-title, .yg-footer h2 { color: var(--yg-washi); font-weight: 500; font-size: 14px; font-family: var(--yg-sans); margin: 0 0 4px; letter-spacing: 0; }
body.yg .yg-footer a { color: #C9BFB4; }
body.yg .yg-footer a:hover { color: var(--yg-washi); }
.yg-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.yg-footer li { margin: 0; padding: 0; border: 0; }
.yg-footer .widget { margin: 0 0 16px; padding: 0; background: none; }
.yg-footer-bottom { border-top: 1px solid #3A3430; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #9E948A; }

/* Ficha de producto */
.yg-single { padding-top: 32px; padding-bottom: 96px; }
.yg-single .woocommerce-breadcrumb { font-size: 13px; color: var(--yg-muted); margin: 0 0 24px; }
.yg-single .woocommerce-breadcrumb a { color: var(--yg-muted); }
.yg-single div.product { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; position: relative; }
.yg-single div.product > .onsale { display: none; }
body.yg.woocommerce .yg-single div.product div.images,
body.yg .yg-single div.product div.images { flex: 1 1 500px; min-width: 0; width: auto; float: none; margin: 0; }
body.yg.woocommerce .yg-single div.product div.summary,
body.yg .yg-single div.product div.summary { flex: 1 1 400px; min-width: 0; width: auto; float: none; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.yg-single .woocommerce-product-gallery__wrapper { background: var(--yg-white); border: 1px solid var(--yg-line-2); }
.yg-single .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0 !important; }
.yg-single .flex-control-thumbs li { width: auto !important; margin: 0 !important; background: var(--yg-white); border: 1px solid var(--yg-line-2); }
.yg-single .summary .product_title { font-size: clamp(36px, 4vw, 54px); line-height: 1.1; margin: 0; }
.yg-single .summary .woocommerce-product-rating { margin: 0; font-size: 14px; color: var(--yg-muted); display: flex; gap: 10px; align-items: center; }
.yg-single .summary .star-rating span::before, .yg-single .star-rating span::before { color: var(--yg-rose); }
.yg-single .summary p.price { font-family: var(--yg-serif); font-size: 32px; color: var(--yg-ink); margin: 0; }
.yg-single .summary p.price del { font-size: 18px; color: var(--yg-strike); opacity: 1; }
.yg-single .summary p.price ins { text-decoration: none; background: none; color: var(--yg-ink); font-weight: 500; }
.yg-single .woocommerce-product-details__short-description { color: var(--yg-ink-2); font-size: 16px; }
.yg-single .woocommerce-product-details__short-description p { margin: 0 0 8px; }
.yg-single form.cart { display: flex; gap: 12px; flex-wrap: wrap; margin: 4px 0 0; }
.yg-single form.cart .quantity input.qty { height: 56px; width: 80px; border: 1px solid #BFB3A6; border-radius: 999px; background: var(--yg-white); text-align: center; font-size: 16px; }
body.yg .yg-single form.cart .single_add_to_cart_button { flex: 1 1 220px; height: 56px; border: 0; background: var(--yg-ink) !important; color: var(--yg-washi) !important; font-family: var(--yg-sans); font-size: 16px; font-weight: 400; letter-spacing: .04em; border-radius: 999px; padding: 0 28px; }
body.yg .yg-single form.cart .single_add_to_cart_button:hover { background: var(--yg-rose-ink) !important; color: #fff !important; }
.yg-single .summary .woocommerce-product-rating { justify-content: flex-start; }
.yg-single .summary .woocommerce-product-rating .star-rating { margin: 0 !important; float: none; }
.yg-single div.product div.images { overflow: hidden; }
.yg-main { overflow-x: clip; }
.yg-single .product_meta { font-size: 13px; color: var(--yg-muted); }
.yg-perks { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--yg-line); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--yg-ink-2); }
.yg-perks li { position: relative; padding-left: 22px; margin: 0; }
.yg-perks li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 6px; border-left: 1.5px solid var(--yg-rose-ink); border-bottom: 1.5px solid var(--yg-rose-ink); transform: rotate(-45deg); }

/* Pestañas: descripción, información, opiniones */
.yg-single .woocommerce-tabs { flex: 1 1 100%; margin-top: 40px; }
.yg-single .woocommerce-tabs ul.tabs { display: flex; gap: 28px; padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--yg-line); list-style: none; overflow-x: auto; }
.yg-single .woocommerce-tabs ul.tabs::before, .yg-single .woocommerce-tabs ul.tabs li::before, .yg-single .woocommerce-tabs ul.tabs li::after { display: none !important; }
.yg-single .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.yg-single .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 0 !important; font-family: var(--yg-serif); font-size: 19px; color: var(--yg-muted) !important; font-weight: 400 !important; border-bottom: 2px solid transparent; }
.yg-single .woocommerce-tabs ul.tabs li.active a { color: var(--yg-ink) !important; border-bottom-color: var(--yg-ink); }
.yg-single .woocommerce-Tabs-panel { max-width: 820px; color: var(--yg-ink-2); }
.yg-single .woocommerce-Tabs-panel h2 { font-size: 28px; }

/* Completa el ritual */
.yg-complete { flex: 1 1 100%; border-top: 1px solid var(--yg-line); padding-top: 64px; margin-top: 32px; display: flex; flex-direction: column; gap: 32px; }
body.yg .yg-complete .yg-h2 { font-size: clamp(28px, 2.8vw, 38px); }
.yg-complete-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.yg-complete-item { display: flex; flex-direction: column; gap: 12px; }
.yg-complete-item .yg-img { display: block; background: var(--yg-white); border: 1px solid var(--yg-line-2); }
body.yg .yg-complete-item img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0; }
.yg-complete-meta { display: flex; flex-direction: column; gap: 2px; }
.yg-step { font-family: var(--yg-serif); font-size: 14px; color: var(--yg-rose-ink); }
.yg-name { font-family: var(--yg-serif); font-size: 19px; }

/* Botones de WooCommerce en el resto de páginas (carrito, cuenta…) */
body.yg .woocommerce a.button, body.yg .woocommerce button.button, body.yg .woocommerce input.button,
body.yg.woocommerce a.button, body.yg.woocommerce button.button {
	background: var(--yg-ink); color: var(--yg-washi) !important; border-radius: 999px; font-family: var(--yg-sans); font-weight: 400; letter-spacing: .03em; border: 0;
}
body.yg .woocommerce a.button:hover, body.yg .woocommerce button.button:hover, body.yg.woocommerce a.button:hover, body.yg.woocommerce button.button:hover { background: var(--yg-rose-ink); color: #fff; }

/* Tienda y categorías: las mismas tarjetas que el ritual de la home */
body.yg .woocommerce-products-header__title, body.yg .page-title, body.yg h1.entry-title { font-family: var(--yg-serif); font-weight: 500; font-size: clamp(36px, 4vw, 56px); line-height: 1.1; }
body.yg .woocommerce-result-count { color: var(--yg-muted); font-size: 14px; }
body.yg .woocommerce-ordering select { height: 44px; padding: 0 40px 0 18px; border: 1px solid #BFB3A6; border-radius: 999px; background-color: var(--yg-white); font-family: var(--yg-sans); font-size: 14px; color: var(--yg-ink); -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23221E1B' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
body.yg ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; margin: 24px 0 0 !important; padding: 0; }
body.yg ul.products::before, body.yg ul.products::after { display: none !important; }
body.yg ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0 !important; display: flex; flex-direction: column; gap: 12px; text-align: left !important; background: none; border: 0; box-shadow: none; }
body.yg ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; gap: 10px; position: relative; color: var(--yg-ink); text-decoration: none; }
body.yg ul.products li.product img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 !important; background: var(--yg-white); border: 1px solid var(--yg-line-2); box-shadow: none; border-radius: 0; }
body.yg ul.products li.product .woocommerce-loop-product__title { font-family: var(--yg-serif) !important; font-weight: 500; font-size: 20px !important; line-height: 1.3; padding: 4px 0 0 !important; margin: 0 !important; color: var(--yg-ink); text-align: left; }
body.yg ul.products li.product .star-rating { margin: 0 !important; font-size: 13px; }
body.yg ul.products li.product .star-rating span::before, body.yg ul.products li.product .star-rating::before { color: var(--yg-rose) !important; }
body.yg .singular-main-block { padding-bottom: 96px; }
body.yg ul.products li.product .price { display: block; text-align: left !important; padding: 0 !important; margin: 0 !important; font-size: 15px !important; color: var(--yg-ink) !important; }
body.yg ul.products li.product .price del { color: var(--yg-strike) !important; opacity: 1; margin-right: 4px; }
body.yg ul.products li.product .price ins { text-decoration: none !important; color: var(--yg-rose-ink) !important; font-weight: 700; background: none; }
body.yg ul.products li.product .price a, body.yg ul.products li.product .price span { text-decoration: none !important; }
body.yg ul.products li.product .onsale, body.yg span.onsale {
	position: absolute; top: 12px !important; left: 12px !important; right: auto !important; min-width: 0 !important; min-height: 0 !important; width: auto !important; height: auto !important;
	padding: 4px 12px !important; margin: 0 !important; border-radius: 999px !important; background: var(--yg-rose) !important; color: #fff !important;
	font-family: var(--yg-sans); font-size: 12px !important; font-weight: 500; line-height: 1.4 !important; letter-spacing: .04em; z-index: 2;
}
body.yg ul.products li.product .yg-loop-desc { margin: 0; font-size: 14px; color: var(--yg-muted); }
body.yg ul.products li.product a.button,
body.yg ul.products li.product a.added_to_cart {
	display: flex !important; align-items: center; justify-content: center; width: 100%; height: 48px; margin: auto 0 0 !important; padding: 0 16px !important;
	background: transparent !important; color: var(--yg-ink) !important; border: 1px solid var(--yg-ink) !important; border-radius: 999px !important;
	font-family: var(--yg-sans) !important; font-size: 14px !important; font-weight: 400 !important; letter-spacing: .04em; text-transform: none !important; box-shadow: none !important; box-sizing: border-box;
}
body.yg ul.products li.product a.button:hover { background: var(--yg-ink) !important; color: var(--yg-washi) !important; }
body.yg ul.products li.product a.added_to_cart { border: 0 !important; height: auto; padding: 10px 0 0 !important; text-decoration: underline; color: var(--yg-rose-ink) !important; }
body.yg ul.products li.product a.button.loading { opacity: .6; }

/* Avisos de WooCommerce */
body.yg .woocommerce-info, body.yg .woocommerce-message, body.yg .woocommerce-error {
	background: var(--yg-paper); border: 1px solid var(--yg-line); border-top: 2px solid var(--yg-rose); color: var(--yg-ink-2); border-radius: 0;
}
body.yg .woocommerce-info::before, body.yg .woocommerce-message::before { color: var(--yg-rose); }
body.yg .woocommerce-error { border-top-color: #B3261E; }

/* Mi cuenta */
body.yg .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--yg-line); }
body.yg .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--yg-line); background: none; }
body.yg .woocommerce-MyAccount-navigation li a { display: block; padding: 14px 4px; text-decoration: none; color: var(--yg-ink-2); font-size: 15px; }
body.yg .woocommerce-MyAccount-navigation li a:hover { color: var(--yg-rose-ink); }
body.yg .woocommerce-MyAccount-navigation li.is-active a { color: var(--yg-ink); font-weight: 500; padding-left: 14px; border-left: 2px solid var(--yg-rose); }
body.yg .woocommerce-MyAccount-content a:not(.button) { color: var(--yg-rose-ink); }

/* Carrito */
body.yg .woocommerce-cart-form table.shop_table { border: 1px solid var(--yg-line); border-radius: 0; background: var(--yg-paper); }
body.yg .woocommerce-cart-form td.product-thumbnail img { width: 72px !important; max-width: 72px; height: auto; background: var(--yg-white); border: 1px solid var(--yg-line-2); }
body.yg .woocommerce-cart-form td.product-name a { text-decoration: none; font-family: var(--yg-serif); font-size: 17px; }
body.yg .woocommerce-cart-form td.product-remove a.remove { color: var(--yg-muted) !important; }
body.yg .woocommerce-cart-form td.product-remove a.remove:hover { background: var(--yg-blush); color: var(--yg-rose-ink) !important; }
body.yg .woocommerce-cart-form .quantity input.qty { height: 40px; width: 64px; border: 1px solid #BFB3A6; border-radius: 999px; text-align: center; background: var(--yg-white); }
body.yg .cart_totals table.shop_table { background: var(--yg-paper); border-radius: 0; }
body.yg .wc-proceed-to-checkout a.checkout-button { border-radius: 999px; }
body.yg .breadcrumb-trail { font-size: 13px; color: var(--yg-muted); }
body.yg .breadcrumb-trail a { color: var(--yg-muted); }

/* Checkout (Fluid Checkout) */
body.yg .fc-checkout-header { background: var(--yg-washi); border-bottom: 1px solid var(--yg-line); }
body.yg .fc-checkout-header .custom-logo-link img { mix-blend-mode: multiply; }
body.yg .fc-checkout-step, body.yg .fc-checkout-order-review__inner, body.yg .fc-sidebar__inner { border-radius: 0; }
body.yg .fc-step__title, body.yg .fc-checkout-order-review-title { font-family: var(--yg-serif); letter-spacing: .04em; }
body.yg #place_order { background: var(--yg-ink) !important; color: var(--yg-washi) !important; border-radius: 999px; }
body.yg #place_order:hover { background: var(--yg-rose-ink) !important; }

.screen-reader-text:focus { background: var(--yg-paper); color: var(--yg-ink); padding: 12px 16px; z-index: 100; }
