/* =====================================================================
   Chuches y Gominolas · Diseño 2026 (tema chuches2026, basado en pos_muto2)
   Se carga después de los estilos del tema original y los sobrescribe.
   Colores sacados del logo. Tipografías: Baloo 2 (títulos) y Nunito (texto).
   ===================================================================== */

@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 400 800; font-display: swap;
	src: url(../fonts/cg/baloo2-latin.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap;
	src: url(../fonts/cg/nunito-latin.woff2) format('woff2'); }

:root {
	--cg-red: #c2152f;
	--cg-red-dark: #9b0f25;
	--cg-red-50: #fdeef1;
	--cg-pink: #ea89a2;
	--cg-pink-100: #fbe0e7;
	--cg-yellow: #ffc83d;
	--cg-yellow-100: #fff3cf;
	--cg-yellow-50: #fff9e8;
	--cg-ink: #2b1a20;
	--cg-ink-2: #5b4a50;
	--cg-muted: #8a7a80;
	--cg-line: #efe5e7;
	--cg-bg: #fffbfa;
	--cg-card: #ffffff;
	--cg-green: #1faa53;
	--cg-wa: #25d366;
	--cg-wa-dark: #128c4b;
	--cg-radius: 18px;
	--cg-radius-sm: 12px;
	--cg-shadow: 0 1px 2px rgba(43, 26, 32, .06), 0 8px 24px rgba(43, 26, 32, .07);
	--cg-shadow-lg: 0 18px 50px rgba(43, 26, 32, .16);
	--cg-head: 'Baloo 2', 'Nunito', system-ui, sans-serif;
	--cg-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ------------------------------------------------------------- Base */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.cg {
	background: var(--cg-bg) !important;
	color: var(--cg-ink);
	font-family: var(--cg-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
/* El tema original es "en caja" (1230 px); el nuevo ocupa toda la pantalla */
body.cg #page { background: transparent; width: auto !important; max-width: none; margin: 0; overflow: visible; }
body.cg h1, body.cg h2, body.cg h3, body.cg h4, body.cg h5,
body.cg .page-heading, body.cg .title_block, body.cg .page-subheading {
	font-family: var(--cg-head);
	color: var(--cg-ink);
	letter-spacing: -.01em;
	text-transform: none;
}
body.cg a { color: var(--cg-red); font-family: inherit; }
body.cg .titleFont, body.cg .linkFont, body.cg .footer-container #footer a, body.cg .footer-container #footer ul li { font-family: inherit !important; }
body.cg a:hover, body.cg a:focus { color: var(--cg-red-dark); }
body.cg :focus-visible { outline: 3px solid rgba(194, 21, 47, .35); outline-offset: 2px; }
/* Ancho completo: la web ocupa toda la pantalla (con márgenes laterales) hasta 1920 px */
body.cg .container { width: auto; max-width: 1920px; padding-left: clamp(16px, 2.6vw, 48px); padding-right: clamp(16px, 2.6vw, 48px); }
@media (max-width: 767px) { body.cg .container { padding-left: 16px; padding-right: 16px; } }
:where(body.cg img) { max-width: 100%; height: auto; }
/* Bootstrap mete :before/:after en .container; en las rejillas nuevas sobran (ocuparían una celda) */
.cg-header__main:before, .cg-header__main:after, .cg-topbar__in:before, .cg-topbar__in:after,
.cg-footer__grid:before, .cg-footer__grid:after, .cg-footer__bottom-in:before, .cg-footer__bottom-in:after { display: none !important; content: none !important; }
body.cg .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.cg-i { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.cg-skip { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--cg-ink); color: #fff !important; padding: 8px 14px; border-radius: 0 0 8px 0; }
.cg-skip:focus { left: 0; }
.cg-hide-sm { }
@media (max-width: 767px) { .cg-hide-sm { display: none; } }

/* ------------------------------------------------------------- Botones */
.cg-btn, body.cg .cg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	border: 2px solid transparent; border-radius: 999px;
	font: 800 15px/1.2 var(--cg-body); text-decoration: none !important; text-transform: none;
	cursor: pointer; transition: background-color .15s, color .15s, transform .1s, box-shadow .15s;
	white-space: nowrap;
}
.cg-btn:active { transform: translateY(1px); }
.cg-btn--lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.cg-btn--block { display: flex; width: 100%; }
.cg-btn--primary, body.cg .cg-btn--primary { background: var(--cg-red); color: #fff !important; box-shadow: 0 6px 16px rgba(194, 21, 47, .25); }
.cg-btn--primary:hover, body.cg .cg-btn--primary:hover { background: var(--cg-red-dark); color: #fff !important; }
.cg-btn--ghost, body.cg .cg-btn--ghost { background: #fff; color: var(--cg-ink) !important; border-color: var(--cg-line); }
.cg-btn--ghost:hover, body.cg .cg-btn--ghost:hover { border-color: var(--cg-ink); color: var(--cg-ink) !important; }
.cg-btn--light, body.cg .cg-btn--light { background: #fff; color: var(--cg-ink) !important; }
.cg-btn--wa, body.cg .cg-btn--wa { background: var(--cg-wa); color: #083d1f !important; }
.cg-btn--wa:hover { background: #1fbe5b; }

/* ------------------------------------------------------------- Barra superior */
.cg-topbar { background: var(--cg-ink); color: #fff; font-size: 14px; }
.cg-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.cg-topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.cg-topbar .cg-i { color: var(--cg-yellow); }
.cg-topbar__links { gap: 18px !important; }
body.cg .cg-topbar a { color: #fff; text-decoration: none; opacity: .9; }
body.cg .cg-topbar a:hover { opacity: 1; text-decoration: underline; }
body.cg .cg-topbar .cg-topbar__wa { opacity: 1; font-weight: 800; color: #6ff0a0; }
.cg-topbar__wa .icon-whatsapp { font-size: 16px; }
@media (max-width: 767px) {
	.cg-topbar__in { justify-content: center; text-align: center; }
	.cg-topbar__links { display: none !important; }
}

/* ------------------------------------------------------------- Cabecera */
body.cg .header-container { background: #fff; border-bottom: 1px solid var(--cg-line); position: sticky; top: 0; z-index: 900; }
body.cg #header { background: transparent; padding: 0; }
.cg-header__main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.cg-burger { display: none; background: none; border: 0; padding: 8px; margin-left: -8px; color: var(--cg-ink); cursor: pointer; }
.cg-burger .cg-i { width: 26px; height: 26px; }
.cg-logo { display: block; line-height: 0; }
.cg-logo img { width: 190px; height: auto; }
.cg-search { position: relative; max-width: 760px; width: 100%; justify-self: center; margin: 0; }
body.cg .cg-search .search_query {
	width: 100%; height: 48px; padding: 0 56px 0 20px;
	border: 2px solid var(--cg-line); border-radius: 999px; background: #faf6f7;
	font: 600 16px var(--cg-body); color: var(--cg-ink); box-shadow: none;
	-webkit-appearance: none; appearance: none;
}
body.cg .cg-search .search_query::placeholder { color: var(--cg-muted); font-weight: 600; }
body.cg .cg-search .search_query:focus { border-color: var(--cg-red); background: #fff; outline: none; }
.cg-search button { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--cg-red); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cg-search button .cg-i { width: 20px; height: 20px; }
.cg-actions { display: flex; align-items: center; gap: 6px; }
body.cg .cg-action { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; color: var(--cg-ink); font-weight: 700; font-size: 15px; text-decoration: none; }
body.cg .cg-action:hover { background: var(--cg-red-50); color: var(--cg-ink); }
.cg-action .cg-i { width: 24px; height: 24px; }

/* Carrito de la cabecera (módulo blockcart) */
body.cg .cg-actions .block-cart, body.cg .cg-actions .shopping_cart { position: relative; float: none; width: auto; padding: 0; margin: 0; background: none; }
body.cg .cg-actions .shopping_cart > a:first-child {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
	background: var(--cg-red); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap;
	min-height: 44px; box-shadow: 0 6px 16px rgba(194, 21, 47, .22);
}
body.cg .cg-actions .shopping_cart > a:first-child:hover { background: var(--cg-red-dark); }
body.cg .cg-actions .shopping_cart > a:first-child:before, body.cg .cg-actions .shopping_cart > a:first-child:after { display: none !important; content: none !important; }
.cg-cart-ico { position: relative; display: inline-block; line-height: 0; }
.cg-cart-ico .cg-i { width: 24px; height: 24px; }
.cg-cart-count { position: absolute; top: -8px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--cg-yellow); color: var(--cg-ink); font: 900 12px/20px var(--cg-body); text-align: center; box-shadow: 0 0 0 2px var(--cg-red); }
.cg-cart-count.is-empty { display: none !important; }
.cg-cart-txt .ajax_cart_total { font-weight: 800; }
.cg-cart-txt .cg-cart-label { margin-right: 6px; }
body.cg .cg-actions .cart_block {
	position: absolute; right: 0; top: calc(100% + 10px); width: 360px; z-index: 950;
	background: #fff; border: 1px solid var(--cg-line); border-radius: var(--cg-radius); box-shadow: var(--cg-shadow-lg);
	padding: 16px; color: var(--cg-ink);
}
body.cg .cart_block .cart_block_list dl.products { margin: 0; max-height: 50vh; overflow: auto; }
body.cg .cart_block .cart_block_list dt { display: grid; grid-template-columns: 56px 1fr 24px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--cg-line); background: none; float: none; width: auto; }
body.cg .cart_block .cart-images img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #fff; }
body.cg .cart_block .cart-info { padding: 0; float: none; }
body.cg .cart_block .cart-info .product-name { font-size: 14px; font-weight: 700; line-height: 1.3; }
body.cg .cart_block .cart-info .product-name a { color: var(--cg-ink); }
body.cg .cart_block .cart-info .price { font-weight: 800; color: var(--cg-red); float: none; }
body.cg .cart_block .product-atributes a { color: var(--cg-muted); font-size: 13px; }
body.cg .cart_block .remove_link { position: static; }
body.cg .cart_block .cart-prices { border: 0; background: none; padding: 12px 0 0; }
body.cg .cart_block .cart-prices-line { border: 0; padding: 4px 0; display: flex; justify-content: space-between; }
body.cg .cart_block .cart-buttons { background: none; padding: 12px 0 0; margin: 0; }
body.cg .cart_block .cart-buttons a#button_order_cart { display: flex; width: 100%; justify-content: center; border-radius: 999px; background: var(--cg-red); color: #fff; border: 0; font-weight: 800; padding: 12px; }
body.cg .cart_block .cart-buttons a#button_order_cart span { background: none; border: 0; padding: 0; color: #fff; font-size: 16px; text-transform: none; }
@media (max-width: 991px) { body.cg .cg-actions .cart_block { display: none !important; } }

/* ------------------------------------------------------------- Menú principal */
.cg-nav { border-top: 1px solid var(--cg-line); }
.cg-nav__list { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 6px 0; list-style: none; }
.cg-nav__item { position: relative; }
body.cg .cg-nav__item > a {
	display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
	color: var(--cg-ink); font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap;
}
body.cg .cg-nav__item > a:hover, .cg-nav__item:focus-within > a { background: var(--cg-red-50); color: var(--cg-red); }
.cg-nav__item .cg-i--chev { width: 16px; height: 16px; opacity: .6; }
body.cg .cg-nav__item.is-hot > a { background: var(--cg-yellow); color: var(--cg-ink); }
body.cg .cg-nav__item.is-hot > a:hover { background: #ffbb14; color: var(--cg-ink); }
.cg-nav__item.is-hot .cg-i { color: var(--cg-red); }
body.cg .cg-nav__item.is-current > a { box-shadow: inset 0 0 0 2px var(--cg-red); }
.cg-nav__sub {
	position: absolute; left: 0; top: 100%; z-index: 960; min-width: 240px; margin: 0; padding: 8px; list-style: none;
	background: #fff; border: 1px solid var(--cg-line); border-radius: var(--cg-radius-sm); box-shadow: var(--cg-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.cg-nav__item:hover .cg-nav__sub, .cg-nav__item:focus-within .cg-nav__sub { opacity: 1; visibility: visible; transform: none; }
body.cg .cg-nav__sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--cg-ink); font-weight: 600; text-decoration: none; }
body.cg .cg-nav__sub a:hover { background: var(--cg-red-50); color: var(--cg-red); }
@media (max-width: 1199px) { body.cg .cg-nav__item > a { padding: 8px 10px; font-size: 14px; } }

/* Cabecera en móvil y tableta */
@media (max-width: 991px) {
	.cg-header__main { grid-template-columns: auto 1fr auto; gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; }
	.cg-burger { display: inline-flex; }
	.cg-logo img { width: 150px; }
	.cg-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
	.cg-nav { display: none; }
	.cg-action__label, .cg-cart-txt { display: none; }
	body.cg .cg-actions .shopping_cart > a:first-child { padding: 8px 12px; }
}
@media (max-width: 400px) { .cg-logo img { width: 128px; } body.cg .cg-action { padding: 8px; } }

/* Menú lateral del móvil */
.cg-drawer { position: fixed; inset: 0; z-index: 2000; background: rgba(43, 26, 32, .45); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.cg-drawer.is-open { opacity: 1; visibility: visible; }
.cg-drawer__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(88vw, 360px); background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .25s ease; padding-bottom: 24px; }
.cg-drawer.is-open .cg-drawer__panel { transform: none; }
.cg-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--cg-line); font: 800 20px var(--cg-head); }
.cg-drawer__close { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--cg-ink); }
.cg-drawer__list, .cg-drawer__extra { list-style: none; margin: 0; padding: 8px 8px 0; }
.cg-drawer__list > li > a, .cg-drawer__list summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 12px; border-radius: 12px; color: var(--cg-ink) !important; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; list-style: none; }
.cg-drawer__list summary::-webkit-details-marker { display: none; }
.cg-drawer__list details[open] summary .cg-i--chev { transform: rotate(180deg); }
.cg-drawer__list details ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 12px; }
.cg-drawer__list details a { display: block; padding: 9px 12px; color: var(--cg-ink-2) !important; font-weight: 600; }
.cg-drawer__list > li.is-hot > a { background: var(--cg-yellow); justify-content: flex-start; }
.cg-drawer__list > li.is-hot .cg-i { color: var(--cg-red); }
.cg-drawer__extra { margin-top: 8px; border-top: 1px solid var(--cg-line); padding-top: 12px; }
.cg-drawer__extra a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; color: var(--cg-ink-2) !important; font-weight: 700; }
.cg-drawer__extra .cg-wa-link { color: var(--cg-wa-dark) !important; }
.cg-drawer__extra .icon-whatsapp { font-size: 20px; width: 1.25em; text-align: center; }
body.cg-noscroll { overflow: hidden; }

/* ------------------------------------------------------------- Estructura de página */
body.cg .columns-container { background: transparent; }
body.cg #columns { padding-top: 20px; padding-bottom: 48px; }
body.cg #index #columns { padding-top: 24px; }
body.cg .breadcrumb {
	background: none; border: 0; padding: 0 0 14px; margin: 0; font-size: 14px; color: var(--cg-muted); box-shadow: none;
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 0; line-height: 1.4; border-radius: 0;
}
body.cg .breadcrumb a { color: var(--cg-ink-2); font-weight: 600; background: none !important; padding: 0 !important; margin: 0 !important; }
body.cg .breadcrumb a:after, body.cg .breadcrumb a:before { display: none !important; }
body.cg .breadcrumb a.home { width: auto; height: auto; }
body.cg .breadcrumb .navigation-pipe { margin: 0 4px; color: var(--cg-muted); }
body.cg .breadcrumb .navigation_page { color: var(--cg-ink); font-weight: 700; }
body.cg .breadcrumb, body.cg .breadcrumb * { text-transform: none !important; }

/* ------------------------------------------------------------- Portada */
.cg-home { display: flex; flex-direction: column; gap: 48px; }
.cg-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--cg-red); font-weight: 800; font-size: 14px; }
.cg-eyebrow .cg-i { width: 16px; height: 16px; color: #f5a400; }

.cg-bento { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.cg-hero {
	grid-row: 1 / span 2; position: relative; overflow: hidden;
	display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 12px;
	padding: 44px 40px; border-radius: 28px;
	background: radial-gradient(120% 120% at 100% 0%, #ffe48a 0%, #ffd24d 45%, #ffc23a 100%);
}
.cg-hero:before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.cg-hero__text { position: relative; z-index: 1; }
body.cg .cg-hero__title { font-family: var(--cg-head); font-size: clamp(36px, 4.4vw, 58px); line-height: 1; font-weight: 800; margin: 4px 0 14px; color: var(--cg-ink); }
.cg-hero__lead { font-size: 18px; line-height: 1.5; color: #4a3328; margin: 0 0 16px; max-width: 34em; }
.cg-hero__price { display: inline-block; margin: 0 0 22px; padding: 8px 14px; background: #fff; border-radius: 12px; font-weight: 700; box-shadow: 0 4px 12px rgba(150, 90, 0, .12); }
.cg-hero__price strong { color: var(--cg-red); font-size: 20px; }
.cg-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.cg-hero__visual { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; justify-items: center; gap: 4px; }
.cg-hero__step { margin: 0; position: relative; width: 100%; max-width: 300px; aspect-ratio: 1.25; border-radius: 50% 50% 46% 54% / 55% 45% 55% 45%; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px rgba(150, 90, 0, .22); overflow: hidden; }
.cg-hero__step img { width: 82%; height: 82%; object-fit: contain; }
.cg-hero__step figcaption { position: absolute; bottom: 10%; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--cg-ink); color: #fff; font-weight: 800; font-size: 13px; white-space: nowrap; }
.cg-hero__step--raw { transform: rotate(-4deg) translateX(-18%); max-width: 250px; }
.cg-hero__step--fried { transform: rotate(3deg) translateX(14%); }
.cg-hero__arrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--cg-red); color: #fff; font-weight: 900; font-size: 15px; transform: rotate(-3deg); box-shadow: 0 6px 14px rgba(194, 21, 47, .3); margin: -6px 0; position: relative; z-index: 2; }

body.cg .cg-promo { position: relative; display: block; overflow: hidden; border-radius: 22px; min-height: 200px; color: #fff; text-decoration: none; background: #3a2a2e; isolation: isolate; }
.cg-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.cg-promo:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30, 10, 16, .78) 0%, rgba(30, 10, 16, .35) 70%, rgba(30, 10, 16, .1) 100%); }
.cg-promo:hover img { transform: scale(1.04); }
.cg-promo__text { display: flex; flex-direction: column; gap: 4px; padding: 24px; height: 100%; justify-content: flex-end; }
.cg-promo__title { font: 800 30px/1 var(--cg-head); }
.cg-promo__sub { font-weight: 600; opacity: .95; }
.cg-promo__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 800; color: var(--cg-yellow); }

.cg-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: -24px 0 0; padding: 0; list-style: none; }
.cg-perks li, .cg-perks a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--cg-line); border-radius: 16px; color: var(--cg-ink-2); font-size: 14px; line-height: 1.35; text-decoration: none !important; }
.cg-perks li:has(a) { padding: 0; border: 0; background: none; }
.cg-perks a { width: 100%; border-color: #c9f0d6; background: #f1fcf5; }
.cg-perks strong { color: var(--cg-ink); display: block; font-size: 15px; }
.cg-perks .cg-i { width: 28px; height: 28px; color: var(--cg-red); }
.cg-perks .icon-whatsapp { font-size: 28px; color: var(--cg-wa-dark); width: 28px; text-align: center; }

.cg-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
body.cg .cg-section__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; font-weight: 800; margin: 0; }
.cg-section__sub { margin: 6px 0 0; color: var(--cg-ink-2); }
body.cg .cg-link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; white-space: nowrap; text-decoration: none; }

.cg-howto { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border-radius: 28px; background: #2f1b14; color: #fff; }
.cg-howto__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }
.cg-howto__body { padding: 40px; }
.cg-howto .cg-eyebrow { background: rgba(255, 200, 61, .15); color: var(--cg-yellow); }
body.cg .cg-howto .cg-section__title { color: #fff; margin-bottom: 20px; }
.cg-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.cg-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.45; color: #f3e6df; }
.cg-steps strong { color: #fff; }
.cg-steps__n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cg-yellow); color: var(--cg-ink); font: 800 20px/36px var(--cg-head); text-align: center; }
.cg-howto__tip { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #f3e6df; font-size: 15px; }
.cg-howto__tip .cg-i { color: var(--cg-yellow); margin-top: 2px; }

.cg-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
body.cg .cg-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; padding: 16px; overflow: hidden; border-radius: 20px; color: #fff; text-decoration: none; isolation: isolate; background: #444; }
.cg-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.cg-tile:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(30, 10, 16, .78) 100%); }
.cg-tile:hover img { transform: scale(1.06); }
.cg-tile__name { font: 800 20px/1.05 var(--cg-head); }
.cg-tile__count { font-size: 13px; font-weight: 700; opacity: .9; }

.cg-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.cg .cg-banner { position: relative; display: flex; align-items: center; gap: 20px; min-height: 220px; padding: 28px; border-radius: 24px; overflow: hidden; text-decoration: none; isolation: isolate; }
.cg-banner__text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cg-banner__title { font: 800 26px/1.1 var(--cg-head); }
.cg-banner__sub { font-weight: 600; margin-bottom: 10px; }
body.cg .cg-banner--wa { background: #e6f9ee; color: var(--cg-ink); border: 1px solid #c9f0d6; }
.cg-banner__icon { flex: none; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--cg-wa); color: #fff; font-size: 52px; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
body.cg .cg-banner--eventos { color: #fff; background: #5b2333; }
.cg-banner--eventos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cg-banner--eventos:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(90, 15, 35, .88), rgba(90, 15, 35, .25)); }

@media (max-width: 1199px) {
	.cg-hero { padding: 36px 28px; }
	.cg-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
	.cg-home { gap: 36px; }
	.cg-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
	.cg-hero { grid-column: 1 / -1; grid-row: auto; }
	.cg-perks { grid-template-columns: 1fr 1fr; margin-top: -12px; }
	.cg-howto { grid-template-columns: 1fr; }
	.cg-howto__media img { min-height: 0; max-height: 280px; }
	.cg-duo { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.cg-home { gap: 28px; }
	.cg-hero { grid-template-columns: 1fr; padding: 26px 20px 20px; border-radius: 22px; }
	.cg-hero__lead { font-size: 16px; }
	.cg-hero__visual { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
	.cg-hero__step, .cg-hero__step--raw { max-width: none; transform: none; }
	.cg-hero__step figcaption { font-size: 12px; bottom: 6%; }
	.cg-hero__arrow { font-size: 13px; padding: 5px 10px; margin: 0; }
	.cg-hero__cta .cg-btn { flex: 1 1 100%; }
	body.cg .cg-promo { min-height: 150px; border-radius: 18px; }
	.cg-promo__title { font-size: 24px; }
	.cg-promo__sub { font-size: 13px; }
	.cg-promo__text { padding: 16px; }
	.cg-perks { gap: 8px; }
	.cg-perks li, .cg-perks a { padding: 10px 12px; font-size: 13px; gap: 8px; }
	.cg-perks strong { font-size: 14px; }
	.cg-howto { border-radius: 22px; }
	.cg-howto__body { padding: 24px 20px; }
	.cg-steps li { font-size: 16px; }
	.cg-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
	body.cg .cg-tile { min-height: 120px; padding: 12px; border-radius: 16px; }
	.cg-tile__name { font-size: 18px; }
	body.cg .cg-banner { flex-direction: column; align-items: flex-start; padding: 22px; min-height: 0; }
	.cg-banner__icon { width: 64px; height: 64px; font-size: 38px; }
	.cg-banner__title { font-size: 22px; }
	.cg-section__head { margin-bottom: 12px; }
}

/* ------------------------------------------------------------- Tarjetas de producto */
body.cg ul.product_list.cg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
body.cg ul.product_list.cg-grid:before, body.cg ul.product_list.cg-grid:after { display: none; }
body.cg ul.product_list.cg-grid > li.cg-card-wrap { width: auto; float: none; padding: 0; margin: 0; min-width: 0; }
/* Listados: entre 2 y 6 columnas según el ancho (nunca 7 o más). Con 60 productos por página (divisible entre
   2, 3, 4, 5 y 6) todas las filas salen completas salvo, como mucho, la última de la última página. */
body.cg #center_column ul.product_list.cg-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
/* Filas de la portada, sugerencias y relacionados: una sola fila completa, con tantas columnas como quepan */
@media (min-width: 768px) {
	body.cg ul.product_list.cg-grid.cg-grid--row { grid-template-rows: auto; grid-auto-rows: 0; row-gap: 0; overflow: hidden; }
}
.cg-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--cg-card); border: 1px solid var(--cg-line); border-radius: var(--cg-radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.cg-card:hover { box-shadow: var(--cg-shadow); border-color: #e5d6da; }
body.cg .cg-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; padding: 12px; }
.cg-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.cg-card:hover .cg-card__media img { transform: scale(1.04); }
.cg-card.is-soldout .cg-card__media img { opacity: .5; }
.cg-badges { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cg-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .01em; }
.cg-badge--top { background: var(--cg-yellow); color: var(--cg-ink); }
.cg-badge--new { background: var(--cg-ink); color: #fff; }
.cg-badge--sale { background: var(--cg-red); color: #fff; }
.cg-badge--out { background: #e9e3e5; color: var(--cg-ink-2); }
.cg-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 4px 14px 14px; }
body.cg .cg-card__name { margin: 0; font-family: var(--cg-body); font-size: 15px; font-weight: 700; line-height: 1.3; min-height: 2.6em; }
body.cg .cg-card__name a { color: var(--cg-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.cg .cg-card__name a:hover { color: var(--cg-red); }
.cg-formats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.cg-format { min-height: 34px; padding: 4px 12px; border: 2px solid var(--cg-line); border-radius: 10px; background: #fff; color: var(--cg-ink-2); font: 800 14px var(--cg-body); cursor: pointer; transition: border-color .15s, background .15s; }
.cg-format:hover:not([disabled]) { border-color: var(--cg-pink); }
.cg-format.is-selected { border-color: var(--cg-red); background: var(--cg-red-50); color: var(--cg-red); }
.cg-format[disabled] { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.cg-formats--one { color: var(--cg-muted); font-weight: 700; font-size: 14px; }
.cg-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: auto 0 0; }
body.cg .cg-card__price .price { font: 800 24px/1 var(--cg-head); color: var(--cg-ink); }
body.cg .cg-card__price .old-price { color: var(--cg-muted); text-decoration: line-through; font-size: 14px; }
.cg-unit { color: var(--cg-muted); font-size: 13px; font-weight: 700; }
.cg-card__buy { display: flex; gap: 8px; align-items: stretch; }
.cg-qty { display: inline-flex; align-items: center; border: 2px solid var(--cg-line); border-radius: 999px; background: #fff; overflow: hidden; flex: none; }
.cg-qty__btn { width: 32px; height: 40px; border: 0; background: none; color: var(--cg-ink-2); cursor: pointer; display: grid; place-items: center; padding: 0; }
.cg-qty__btn:hover { color: var(--cg-red); }
.cg-qty__btn .cg-i { width: 16px; height: 16px; }
body.cg .cg-qty__input { width: 30px; height: 40px; border: 0; padding: 0; text-align: center; font: 800 16px var(--cg-body); color: var(--cg-ink); background: none; -moz-appearance: textfield; box-shadow: none; }
.cg-qty__input::-webkit-outer-spin-button, .cg-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.cg .cg-card .cg-add { flex: 1; min-width: 0; padding: 8px 12px; min-height: 44px; }
body.cg .cg-card .cg-add.added { background: var(--cg-green); }
body.cg .cg-card .cg-add span { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-transform: none; }
body.cg .cg-card .cg-add:before, body.cg .cg-card .cg-add:after { display: none; }

@media (max-width: 991px) { body.cg ul.product_list.cg-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
@media (max-width: 767px) {
	body.cg ul.product_list.cg-grid, body.cg #center_column ul.product_list.cg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cg-card { border-radius: 14px; }
	body.cg .cg-card__media { padding: 6px; }
	.cg-card__body { padding: 2px 10px 10px; gap: 8px; }
	body.cg .cg-card__name { font-size: 14px; }
	body.cg .cg-card__price .price { font-size: 20px; }
	.cg-format { min-height: 32px; padding: 3px 9px; font-size: 13px; }
	.cg-card__buy { flex-wrap: wrap; }
	.cg-qty { width: 100%; justify-content: space-between; }
	body.cg .cg-qty__input { flex: 1; }
	.cg-qty__btn { width: 40px; }
	body.cg .cg-card .cg-add { flex: 1 1 100%; }
	/* Filas de la portada: se deslizan de lado en el móvil */
	body.cg ul.product_list.cg-grid--row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
	body.cg ul.product_list.cg-grid--row::-webkit-scrollbar { display: none; }
	body.cg ul.product_list.cg-grid--row > li.cg-card-wrap { flex: 0 0 64%; scroll-snap-align: start; }
}

/* ------------------------------------------------------------- Pie */
body.cg .footer-container, body.cg #footer.cg-footer { background: #fff; border-top: 1px solid var(--cg-line); color: var(--cg-ink-2); padding: 0; margin-top: 0; }
.cg-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.cg-footer__logo img { width: 175px; height: auto; }
.cg-footer__brand p { margin: 14px 0; font-size: 15px; max-width: 30em; }
.cg-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.cg-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
body.cg .cg-footer__contact a { color: var(--cg-ink); font-weight: 700; display: inline-flex; gap: 10px; align-items: center; }
.cg-footer__contact .icon-whatsapp { color: var(--cg-wa-dark); font-size: 20px; width: 1.25em; text-align: center; }
.cg-footer__contact .cg-i { color: var(--cg-red); }
body.cg .cg-footer__title { font: 800 18px var(--cg-head); color: var(--cg-ink); margin: 0 0 12px; }
.cg-footer__title--gap { margin-top: 24px !important; }
.cg-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.cg .cg-footer__col a { color: var(--cg-ink-2); font-size: 15px; font-weight: 600; text-decoration: none; }
body.cg .cg-footer__col a:hover { color: var(--cg-red); text-decoration: underline; }
.cg-footer__social { display: flex; gap: 10px; margin: 0; }
body.cg .cg-footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--cg-red-50); color: var(--cg-red); font-size: 20px; }
body.cg .cg-footer__social a:hover { background: var(--cg-red); color: #fff; }
.cg-footer__bottom { background: var(--cg-bg); border-top: 1px solid var(--cg-line); font-size: 14px; }
.cg-footer__bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.cg-footer__bottom p { margin: 0; }
.cg-pay { display: flex; gap: 6px; flex-wrap: wrap; }
.cg-pay span { padding: 3px 10px; border: 1px solid var(--cg-line); border-radius: 6px; background: #fff; font-weight: 800; font-size: 12px; color: var(--cg-ink-2); }
@media (max-width: 991px) { .cg-footer__grid { grid-template-columns: 1fr 1fr; } .cg-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 767px) { .cg-footer__grid { gap: 24px; padding-top: 32px; padding-bottom: 96px; } }

/* ------------------------------------------------------------- WhatsApp flotante */
body.cg .cg-wa-float {
	position: fixed; right: 18px; bottom: 84px; z-index: 800;
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px;
	background: var(--cg-wa); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(18, 140, 75, .35);
	transition: transform .15s;
}
body.cg .cg-wa-float:hover { transform: translateY(-2px); color: #fff; }
.cg-wa-float .icon-whatsapp { font-size: 30px; line-height: 1; }
.cg-wa-float__txt { color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .15); max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s; }
body.cg .cg-wa-float { padding: 13px; gap: 0; }
body.cg .cg-wa-float:hover, body.cg .cg-wa-float:focus-visible { padding-right: 18px; gap: 10px; }
.cg-wa-float:hover .cg-wa-float__txt, .cg-wa-float:focus-visible .cg-wa-float__txt { max-width: 200px; }
@media (max-width: 767px) {
	body.cg .cg-wa-float { right: 14px; bottom: 80px; padding: 12px; }
	.cg-wa-float__txt { display: none; }
	body.cg.product .cg-wa-float { bottom: 80px; }
}

/* ------------------------------------------------------------- Aviso de cookies (lgcookieslaw) */
body.cg #lgcookieslaw_banner {
	left: 16px !important; right: auto !important; bottom: 16px !important; top: auto !important; width: auto !important; max-width: 520px;
	background: var(--cg-ink) !important; color: #fff !important; border-radius: 16px; box-shadow: var(--cg-shadow-lg); padding: 16px !important; opacity: 1 !important;
}
body.cg #lgcookieslaw_banner .lgcookieslaw-message, body.cg #lgcookieslaw_banner p { color: #fff !important; font-size: 13px !important; line-height: 1.45; text-align: left !important; }
body.cg #lgcookieslaw_banner a { color: var(--cg-yellow) !important; }
body.cg #lgcookieslaw_banner .lgcookieslaw-button-container, body.cg #lgcookieslaw_banner .lgcookieslaw-button-container * { text-align: left; }
body.cg #lgcookieslaw_banner .lgcookieslaw-btn, body.cg #lgcookieslaw_banner #lgcookieslaw_accept, body.cg #lgcookieslaw_banner .lgcookieslaw-accept-button {
	background: var(--cg-yellow) !important; color: var(--cg-ink) !important; border: 0 !important; border-radius: 999px !important; font-weight: 800 !important; padding: 8px 18px !important;
}
@media (max-width: 767px) { body.cg #lgcookieslaw_banner { left: 8px !important; right: 8px !important; bottom: 8px !important; max-width: none; } }

/* ------------------------------------------------------------- Categoría */
.cg-cathead { display: grid; grid-template-columns: 1fr; gap: 0; overflow: hidden; margin-bottom: 16px; border-radius: 24px; background: #fff; border: 1px solid var(--cg-line); }
.cg-cathead.has-img { grid-template-columns: 1.2fr 1fr; }
.cg-cathead.is-snack { background: linear-gradient(120deg, #fff3cf, #ffe08a); border-color: #ffe08a; }
.cg-cathead__text { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
body.cg .cg-cathead h1.page-heading { margin: 0; padding: 0; border: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; font-weight: 800; background: none; }
body.cg .cg-cathead h1.page-heading:after, body.cg .cg-cathead h1.page-heading:before { display: none; }
body.cg .cg-cathead .cat-name { font: inherit; color: inherit; }
.cg-cathead__count { margin: 6px 0 0; color: var(--cg-muted); font-weight: 700; font-size: 14px; }
body.cg .cg-cathead .heading-counter { float: none; margin: 0; padding: 0; border: 0; font: inherit; color: inherit; background: none; }
.cg-cathead__intro { margin: 12px 0 0; color: var(--cg-ink-2); font-size: 16px; max-width: 46em; }
.cg-cathead__img { position: relative; min-height: 160px; }
.cg-cathead__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cg-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; margin-bottom: 14px; scrollbar-width: none; }
.cg-chips::-webkit-scrollbar { display: none; }
body.cg .cg-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--cg-line); color: var(--cg-ink); font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }
body.cg .cg-chip span { color: var(--cg-muted); font-weight: 700; }
body.cg .cg-chip:hover { border-color: var(--cg-pink); color: var(--cg-red); }
body.cg .cg-chip.is-current { background: var(--cg-ink); border-color: var(--cg-ink); color: #fff; }
body.cg .cg-chip.is-current span { color: rgba(255, 255, 255, .7); }
.cg-mini-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: #2f1b14; color: #fff; font-weight: 700; font-size: 15px; }
.cg-mini-steps li { display: inline-flex; align-items: center; gap: 8px; }
.cg-mini-steps span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--cg-yellow); color: var(--cg-ink); font: 800 14px var(--cg-head); }

/* Barra de ordenar y paginación */
body.cg .content_sortPagiBar { margin: 0 0 14px; }
body.cg .content_sortPagiBar .sortPagiBar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; border: 0; padding: 0; margin: 0; background: none; }
body.cg .content_sortPagiBar .sortPagiBar:before, body.cg .content_sortPagiBar .sortPagiBar:after { display: none; }
body.cg .sortPagiBar ul.display, body.cg .sortPagiBar .compare-form, body.cg .sortPagiBar .nbrItemPage { display: none !important; }
body.cg .sortPagiBar .productsSortForm { float: none; margin: 0; padding: 0; }
body.cg .sortPagiBar .productsSortForm .select { display: flex; align-items: center; gap: 8px; margin: 0; }
body.cg .sortPagiBar label { margin: 0; font-weight: 700; color: var(--cg-ink-2); font-size: 14px; }
body.cg .sortPagiBar div.selector { width: auto !important; height: auto; background: none; padding: 0; }
body.cg .sortPagiBar div.selector span { display: none; }
body.cg .sortPagiBar div.selector select, body.cg .sortPagiBar select.selectProductSort {
	opacity: 1 !important; position: static; width: auto !important; height: 42px; padding: 0 36px 0 14px; border: 2px solid var(--cg-line); border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1a20' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
	font: 700 14px var(--cg-body); color: var(--cg-ink); -webkit-appearance: none; appearance: none; filter: none;
}
body.cg .bottom-pagination-content { display: flex; justify-content: center; border: 0; padding: 24px 0 0; margin: 0; background: none; }
body.cg .bottom-pagination-content .product-count { display: none; }
body.cg div.pagination { float: none; width: auto; padding: 0; margin: 0; }
body.cg div.pagination ul.pagination { display: flex; gap: 6px; margin: 0; padding: 0; }
body.cg ul.pagination > li { float: none; }
body.cg ul.pagination > li > a, body.cg ul.pagination > li > span {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px !important; border: 2px solid var(--cg-line); background: #fff;
	color: var(--cg-ink); font-weight: 800; float: none; margin: 0;
}
body.cg ul.pagination > li > a > span, body.cg ul.pagination > li > span > span { border: 0; padding: 0; background: none; color: inherit; }
body.cg ul.pagination > li.active > span, body.cg ul.pagination > li.active > a { background: var(--cg-red); border-color: var(--cg-red); color: #fff; }
body.cg ul.pagination > li.disabled { display: none; }
body.cg .showall { display: none; }

/* Filtros (bloque de navegación por capas) */
body.cg #left_column .block, body.cg #layered_block_left { margin: 0 0 16px; border: 1px solid var(--cg-line); border-radius: var(--cg-radius); background: #fff; padding: 16px; box-shadow: none; }
body.cg #layered_block_left .title_block, body.cg #left_column .title_block { margin: 0 0 8px; padding: 0; border: 0; background: none; color: var(--cg-ink); font: 800 20px var(--cg-head); text-transform: none; }
body.cg #layered_block_left .title_block:after, body.cg #left_column .title_block:after { display: none; }
body.cg #layered_block_left .layered_subtitle, body.cg #layered_block_left .layered_subtitle_heading { display: block; margin: 14px 0 6px; padding: 0; color: var(--cg-ink); font-weight: 800; font-size: 15px; text-transform: none; text-decoration: none; border: 0; }
body.cg #layered_block_left .layered_subtitle_heading .layered_subtitle { margin: 0; }
body.cg #layered_block_left ul li { padding: 3px 0; border: 0; }
body.cg #layered_block_left ul li label, body.cg #layered_block_left ul li label a { color: var(--cg-ink-2); font-weight: 600; font-size: 14px; }
body.cg #layered_block_left .layered_slider_container { margin: 8px 6px 0; }
body.cg #layered_block_left .ui-slider .ui-slider-range { background: var(--cg-red); }
body.cg #layered_block_left .ui-slider .ui-slider-handle { border-color: var(--cg-red); border-radius: 50%; background: #fff; }
body.cg #enabled_filters { background: var(--cg-red-50); border-radius: 12px; padding: 10px; border: 0; }
body.cg #layered_block_left .layered_close { display: none; }
.cg-filter-toggle { display: none; }
body.cg #left_column.cg-left-inline { width: 100%; float: none; padding: 0; }
@media (max-width: 767px) {
	.cg-cathead, .cg-cathead.has-img { grid-template-columns: 1fr; border-radius: 18px; }
	.cg-cathead__img { order: -1; min-height: 110px; }
	.cg-cathead__text { padding: 18px 16px; }
	.cg-cathead__intro { font-size: 15px; }
	.cg-mini-steps { font-size: 14px; gap: 6px 12px; padding: 10px 12px; }
	body.cg .content_sortPagiBar .sortPagiBar { justify-content: space-between; }
	.cg-filter-toggle { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; min-height: 46px; margin-bottom: 12px; border: 2px solid var(--cg-ink); border-radius: 999px; background: #fff; color: var(--cg-ink); font: 800 15px var(--cg-body); cursor: pointer; }
	.cg-filters { display: none; }
	.cg-filters.is-open { display: block; }
}
.cg-catdesc { margin-top: 40px; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--cg-line); color: var(--cg-ink-2); font-size: 15px; }
body.cg .cg-catdesc h2 { font-size: 24px; margin: 0 0 10px; }
body.cg .cg-catdesc h3 { font-size: 19px; }
body.cg .cg-catdesc.rte p { margin: 0 0 10px; }

/* ------------------------------------------------------------- Ficha de producto */
body#product.cg .primary_block.cg-pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin: 0 0 40px; }
body.cg .cg-pdp:before, body.cg .cg-pdp:after { display: none !important; }
body.cg .cg-pdp .pb-left-column, body.cg .cg-pdp .pb-center-column { width: auto; float: none; padding: 0; margin: 0; }
body.cg .cg-pdp #image-block { position: relative; border: 1px solid var(--cg-line); border-radius: 24px; background: #fff; padding: 20px; width: auto; float: none; }
body.cg .cg-pdp #image-block #view_full_size { display: block; cursor: zoom-in; }
body.cg .cg-pdp #image-block img#bigpic { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border: 0; }
body.cg .cg-pdp #image-block .span_link { position: absolute; right: 16px; bottom: 16px; left: auto; top: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--cg-line); color: var(--cg-ink-2); font-size: 13px; font-weight: 700; box-shadow: none; text-shadow: none; }
body.cg .cg-pdp #image-block .span_link:after { display: none; }
body.cg .cg-pdp #image-block .cg-badges { z-index: 2; left: 16px; top: 16px; }
body.cg .cg-pdp #views_block { margin-top: 12px; width: auto; float: none; padding: 0; }
body.cg .cg-pdp #thumbs_list { width: auto !important; overflow: visible; margin: 0; }
body.cg .cg-pdp #thumbs_list ul#thumbs_list_frame { display: flex; flex-wrap: wrap; gap: 10px; width: auto !important; height: auto; list-style: none; padding: 0; margin: 0; }
body.cg .cg-pdp #thumbs_list li { float: none; width: 84px; height: 84px; margin: 0; padding: 0; border: 2px solid var(--cg-line); border-radius: 14px; overflow: hidden; background: #fff; }
body.cg .cg-pdp #thumbs_list li:hover, body.cg .cg-pdp #thumbs_list li a.shown { border-color: var(--cg-red); }
body.cg .cg-pdp #thumbs_list li a { display: block; width: 100%; height: 100%; border: 0; padding: 4px; }
body.cg .cg-pdp #thumbs_list li img { width: 100%; height: 100%; object-fit: contain; border: 0; }
body.cg .cg-pdp #view_scroll_left, body.cg .cg-pdp #view_scroll_right { display: none !important; }

.cg-pdp__brand { margin: 0 0 4px; color: var(--cg-red); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
body.cg .cg-pdp h1.cg-pdp__title { margin: 0 0 10px; padding: 0; border: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; font-weight: 800; color: var(--cg-ink); text-transform: none; }
.cg-pdp__tag { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--cg-yellow-100); color: #7a4b00; font-weight: 800; font-size: 14px; }
.cg-pdp__tag .cg-i { color: var(--cg-red); }
body.cg #product_reference { margin: 0 0 8px; color: var(--cg-muted); font-size: 13px; }
body.cg #product_reference label { font-weight: 700; margin: 0 4px 0 0; color: var(--cg-muted); }
body.cg #short_description_block { margin: 0 0 16px; padding: 0; border: 0; color: var(--cg-ink-2); }
body.cg #short_description_block .rte { font-size: 16px; }
body.cg .cg-pdp .box-info-product { background: none; border: 0; padding: 0; margin: 0; box-shadow: none; }
body.cg .cg-pdp .product_attributes { padding: 0; border: 0; margin: 0 0 16px; box-shadow: none; }
body.cg .cg-pdp #attributes fieldset { padding: 0; margin: 0; border: 0; }
body.cg .cg-pdp #attributes .attribute_label { display: block; float: none; width: auto; margin: 0 0 8px; padding: 0; font-weight: 800; font-style: normal; color: var(--cg-ink); font-size: 15px; }
body.cg .cg-pdp #attributes .attribute_list { width: 100%; float: none; }
body.cg .cg-select-hidden, body.cg .cg-pdp #attributes .selector:has(.cg-select-hidden) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; opacity: 0 !important; }
.cg-pformats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.cg-pformat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 2px solid var(--cg-line); border-radius: 16px; background: #fff; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; font-family: var(--cg-body); }
.cg-pformat:hover { border-color: var(--cg-pink); }
.cg-pformat.is-selected { border-color: var(--cg-red); background: var(--cg-red-50); box-shadow: 0 0 0 3px rgba(194, 21, 47, .12); }
.cg-pformat.is-selected:after { content: ""; position: absolute; right: 10px; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--cg-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 14px; }
.cg-pformat__label { font-weight: 900; font-size: 18px; color: var(--cg-ink); }
.cg-pformat__price { font-weight: 800; color: var(--cg-red); }
.cg-pformat__unit { font-size: 12px; font-weight: 700; color: var(--cg-muted); }
.cg-pformat__out { font-size: 12px; font-weight: 800; color: var(--cg-ink-2); background: #eee6e8; border-radius: 999px; padding: 1px 8px; margin-top: 4px; }
.cg-pformat[data-soldout] .cg-pformat__label, .cg-pformat[data-soldout] .cg-pformat__price { opacity: .55; }

body.cg .cg-pdp .content_prices { padding: 0; margin: 0 0 14px; border: 0; }
.cg-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
body.cg .cg-pdp .our_price_display { margin: 0; }
body.cg .cg-pdp #our_price_display { font: 800 44px/1 var(--cg-head); color: var(--cg-ink); }
body.cg .cg-pdp #old_price { margin: 0; padding: 0; font-size: 18px; color: var(--cg-muted); text-decoration: line-through; }
body.cg .cg-pdp #reduction_percent, body.cg .cg-pdp #reduction_amount { margin: 0; }
body.cg .cg-pdp #reduction_percent span, body.cg .cg-pdp #reduction_amount span { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--cg-red); color: #fff; font-weight: 800; font-size: 14px; border: 0; }
.cg-price-meta { margin: 4px 0 0; color: var(--cg-muted); font-size: 14px; font-weight: 700; display: flex; gap: 12px; flex-wrap: wrap; }
#cg_unit_display:not(:empty):before { content: "·"; margin-right: 12px; }

.cg-buy { display: flex; gap: 12px; align-items: stretch; margin: 0 0 10px; padding: 0; border: 0; }
body.cg .cg-pdp .box-cart-bottom { padding: 0; }
body.cg .cg-pdp .box-cart-bottom:before, body.cg .cg-pdp .box-cart-bottom:after { display: none; }
body.cg .cg-pqty { display: inline-flex; align-items: center; margin: 0; padding: 0; border: 2px solid var(--cg-line); border-radius: 999px; background: #fff; float: none; width: auto; }
body.cg .cg-pqty .cg-pqty__btn { display: grid; place-items: center; width: 46px; height: 54px; border: 0; background: none; color: var(--cg-ink-2); float: none; margin: 0; padding: 0; border-radius: 0; }
body.cg .cg-pqty .cg-pqty__btn:hover { color: var(--cg-red); }
body.cg .cg-pqty input#quantity_wanted { width: 44px; height: 54px; border: 0; padding: 0; margin: 0; text-align: center; font: 800 18px var(--cg-body); color: var(--cg-ink); background: none; box-shadow: none; -moz-appearance: textfield; float: none; }
body.cg .cg-pqty input#quantity_wanted::-webkit-inner-spin-button { -webkit-appearance: none; }
body.cg .cg-pdp .cart-product { flex: 1; float: none; width: auto; margin: 0; padding: 0; }
body.cg .cg-pdp #add_to_cart { width: 100%; float: none; margin: 0; padding: 0; }
body.cg .cg-pdp #add_to_cart button.exclusive { width: 100%; height: 58px; padding: 0 24px; font-size: 18px; border: 0; text-transform: none; text-shadow: none; }
body.cg .cg-pdp #add_to_cart button.exclusive:before, body.cg .cg-pdp #add_to_cart button.exclusive:after { display: none; }
body.cg .cg-pdp #add_to_cart button.exclusive span { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-transform: none; }
body.cg .cg-pdp #add_to_cart button.exclusive .cg-i { width: 22px; height: 22px; }

.cg-stock { margin: 0 0 14px; }
body.cg .cg-stock p { margin: 0 0 4px; }
body.cg #availability_statut #availability_value { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 14px; border: 0; }
body.cg #availability_statut .label-success { background: #e6f6ec; color: #17733b; }
body.cg #availability_statut .label-warning, body.cg #availability_statut .label-danger { background: #fdecec; color: #a01b1b; }
body.cg #last_quantities { background: var(--cg-yellow-100); color: #7a4b00; padding: 4px 12px; border-radius: 999px; display: inline-block; font-weight: 800; font-size: 14px; border: 0; }
body.cg #pQuantityAvailable { display: none !important; }

.cg-freeship { padding: 12px 14px; border-radius: 14px; background: var(--cg-yellow-50); border: 1px solid #ffe7a6; margin: 0 0 14px; }
.cg-freeship__msg { margin: 0 0 8px; font-size: 14px; color: var(--cg-ink-2); }
.cg-freeship__msg strong { color: var(--cg-ink); }
.cg-freeship__bar { height: 8px; border-radius: 999px; background: #f6e7bd; overflow: hidden; }
.cg-freeship__bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--cg-yellow), #f59e0b); transition: width .4s ease; }
.cg-freeship.is-done { background: #e8f8ee; border-color: #c9f0d6; }
.cg-freeship.is-done .cg-freeship__bar span { background: var(--cg-green); }
.cg-assure { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.cg-assure li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--cg-ink-2); }
.cg-assure strong { color: var(--cg-ink); }
.cg-assure .cg-i { width: 22px; height: 22px; color: var(--cg-red); margin-top: 0; }
body.cg .cg-wa-box { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #e9f9ef; border: 1px solid #c9f0d6; color: var(--cg-ink-2); text-decoration: none; font-size: 14px; }
body.cg .cg-wa-box:hover { background: #dcf6e6; color: var(--cg-ink); }
.cg-wa-box strong { display: block; color: var(--cg-ink); font-size: 15px; }
.cg-wa-box .icon-whatsapp { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cg-wa); color: #fff; font-size: 24px; }
body.cg .cg-pdp__links { margin: 12px 0 0; padding: 0; list-style: none; display: flex; gap: 16px; flex-wrap: wrap; border: 0; }
body.cg .cg-pdp__links li { float: none; margin: 0; padding: 0; border: 0; }
body.cg .cg-pdp__links li a, body.cg .cg-pdp__actions a { color: var(--cg-ink-2); font-weight: 700; font-size: 14px; }
body.cg .cg-pdp__actions, body.cg .cg-pdp__share { margin-top: 8px; }
body.cg .cg-pdp__share .socialsharing_product { padding: 0; }

.cg-pdp-howto { margin: 0 0 32px; padding: 28px; border-radius: 24px; background: #2f1b14; color: #fff; }
body.cg .cg-pdp-howto h2 { color: #fff; margin: 0 0 16px; font-size: 26px; }
.cg-pdp-howto .cg-steps { grid-template-columns: repeat(3, 1fr); margin: 0; }
.cg-pdp-more { display: grid; gap: 16px; margin: 0 0 40px; }
body.cg .cg-pdp-box { margin: 0; padding: 24px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--cg-line); }
body.cg .cg-pdp-box__title { margin: 0 0 12px; font-size: 24px; }
body.cg .cg-pdp-box .rte { font-size: 16px; color: var(--cg-ink-2); }
body.cg .cg-pdp-box .rte .btn { white-space: normal; text-align: left; border-radius: 999px; }
body.cg .cg-pdp-box table.table-data-sheet { width: 100%; border: 0; }
body.cg .cg-pdp-box table.table-data-sheet td { padding: 8px 0; border-bottom: 1px solid var(--cg-line); }
.cg-files { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.cg-files small { color: var(--cg-muted); font-weight: 600; }
body.cg .cg-pdp-reviews #idTab5, body.cg .cg-pdp-reviews .page-product-box { margin: 0; padding: 0; border: 0; }
body.cg .cg-pdp-related { margin-bottom: 32px; }
body#product.cg .more-info #more_info_tabs { display: none; }

.cg-stickybuy { display: none; }
@media (max-width: 991px) {
	body#product.cg .primary_block.cg-pdp { grid-template-columns: 1fr; gap: 20px; }
	.cg-pdp-howto .cg-steps { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	body.cg .cg-pdp #image-block { padding: 8px; border-radius: 18px; }
	body.cg .cg-pdp #thumbs_list li { width: 64px; height: 64px; border-radius: 12px; }
	body.cg .cg-pdp #our_price_display { font-size: 36px; }
	.cg-pformats { grid-template-columns: repeat(2, 1fr); }
	.cg-buy { flex-wrap: nowrap; }
	body.cg .cg-pqty .cg-pqty__btn { width: 40px; }
	body.cg .cg-pqty input#quantity_wanted { width: 34px; }
	body.cg .cg-pdp #add_to_cart button.exclusive { font-size: 16px; padding: 0 12px; }
	.cg-pdp-howto, body.cg .cg-pdp-box { padding: 20px 18px; border-radius: 18px; }
	.cg-stickybuy {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; display: flex; align-items: center; gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--cg-line); box-shadow: 0 -8px 24px rgba(43, 26, 32, .1);
		transform: translateY(110%); transition: transform .2s ease;
	}
	.cg-stickybuy.is-on { transform: none; }
	.cg-stickybuy__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
	.cg-stickybuy__name { font-size: 13px; font-weight: 700; color: var(--cg-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.cg-stickybuy__price { font: 800 22px/1.1 var(--cg-head); color: var(--cg-ink); }
	body.cg .cg-stickybuy__btn { flex: none; min-height: 48px; }
	body.cg.product.cg-sticky-on .cg-wa-float { bottom: 84px; }
}

/* ------------------------------------------------------------- Ventana "añadido al carrito" */
body.cg .layer_cart_overlay { background: rgba(43, 26, 32, .5); opacity: 1; position: fixed; inset: 0; z-index: 2900; }
body.cg #layer_cart {
	position: fixed !important; top: 50% !important; left: 50%; transform: translate(-50%, -50%); z-index: 3000;
	width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow-y: auto; margin: 0;
	background: #fff; border-radius: 24px; box-shadow: var(--cg-shadow-lg); padding: 0; border: 0;
}
body.cg #layer_cart > .clearfix { display: grid; grid-template-columns: 1fr 1fr; }
body.cg #layer_cart > .clearfix:before, body.cg #layer_cart > .clearfix:after { display: none; }
body.cg #layer_cart .layer_cart_product, body.cg #layer_cart .layer_cart_cart { width: auto; float: none; padding: 24px; position: relative; min-height: 0; border: 0; background: none; }
body.cg #layer_cart .layer_cart_product { background: var(--cg-yellow-50); }
body.cg #layer_cart .layer_cart_cart { border-left: 1px solid var(--cg-line); }
body.cg #layer_cart .layer_cart_product .title { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font: 800 22px/1.1 var(--cg-head); color: var(--cg-green); }
body.cg #layer_cart .layer_cart_product .title .cg-i { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--cg-green); color: #fff; }
body.cg #layer_cart .layer_cart_cart .title { display: block; margin: 0 0 14px; font: 800 18px var(--cg-head); color: var(--cg-ink); border: 0; }
body.cg #layer_cart .layer_cart_cart .title span { font: inherit; }
body.cg #layer_cart .layer_cart_product .product-image-container { float: none; width: 120px; max-width: none; padding: 6px; margin: 0 0 12px; border: 1px solid var(--cg-line); border-radius: 14px; background: #fff; }
body.cg #layer_cart .layer_cart_product_info { float: none; padding: 0; }
body.cg #layer_cart .layer_cart_product_info > span, body.cg #layer_cart .layer_cart_product_info > div { display: block; padding: 2px 0; font-size: 15px; color: var(--cg-ink-2); }
body.cg #layer_cart #layer_cart_product_title { font-weight: 800; color: var(--cg-ink); font-size: 17px; }
body.cg #layer_cart .layer_cart_row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 15px; color: var(--cg-ink-2); }
body.cg #layer_cart strong.dark { color: var(--cg-ink-2); font-weight: 700; }
body.cg #layer_cart .ajax_block_cart_total { font-weight: 900; color: var(--cg-ink); font-size: 18px; }
body.cg #layer_cart .cg-freeship { margin: 12px 0; }
body.cg #layer_cart .layer_cart_cart .button-container { position: static; width: auto; display: flex; flex-direction: column; gap: 8px; padding: 0; margin-top: 12px; }
body.cg #layer_cart .layer_cart_cart .button-container .btn { margin: 0; }
body.cg #layer_cart .button-container .btn { margin: 0; width: 100%; float: none; }
body.cg #layer_cart .button-container .btn span { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-transform: none; }
body.cg #layer_cart .button-container .btn:before, body.cg #layer_cart .button-container .btn:after { display: none; }
body.cg #layer_cart .cross { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--cg-line); cursor: pointer; z-index: 2; display: grid; place-items: center; color: var(--cg-ink); }
body.cg #layer_cart .cross:before { content: "\00d7"; font: 400 24px/1 var(--cg-body); }
body.cg #layer_cart .crossseling { padding: 0 24px 20px; border-top: 1px solid var(--cg-line); }
body.cg #layer_cart .crossseling h2 { font: 800 18px var(--cg-head); color: var(--cg-ink); margin: 16px 0 10px; text-transform: none; }
body.cg #layer_cart .crossseling .product-name a { color: var(--cg-ink); font-weight: 700; }
body.cg #layer_cart .crossseling .price { color: var(--cg-ink); font-weight: 800; }
body.cg #layer_cart .crossseling #blockcart_list { max-width: none; width: auto; overflow: visible; }
body.cg #layer_cart .crossseling #blockcart_caroucel { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 10px; width: auto !important; left: 0 !important; }
body.cg #layer_cart .crossseling #blockcart_caroucel li { float: none; width: auto !important; margin: 0 !important; text-align: center; border: 1px solid var(--cg-line); border-radius: 14px; padding: 8px; }
body.cg #layer_cart .crossseling #blockcart_caroucel li:nth-child(n+5) { display: none; }
body.cg #layer_cart .crossseling .product-name { font-size: 13px; margin: 4px 0; }
body.cg #layer_cart .crossseling .bx-controls, body.cg #layer_cart .crossseling .bx-wrapper .bx-controls-direction { display: none; }
body.cg #layer_cart .crossseling .bx-wrapper, body.cg #layer_cart .crossseling .bx-viewport { max-width: none !important; height: auto !important; border: 0; box-shadow: none; background: none; margin: 0; left: 0; }
@media (max-width: 767px) {
	body.cg #layer_cart { top: auto !important; bottom: 0; left: 0; transform: none; width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; }
	body.cg #layer_cart > .clearfix { grid-template-columns: 1fr; }
	body.cg #layer_cart .layer_cart_product { display: grid; grid-template-columns: 84px 1fr; gap: 4px 12px; padding: 18px 16px; }
	body.cg #layer_cart .layer_cart_product .title { grid-column: 1 / -1; font-size: 20px; margin-bottom: 8px; }
	body.cg #layer_cart .layer_cart_product .product-image-container { width: 84px; margin: 0; }
	body.cg #layer_cart .layer_cart_cart { border-left: 0; border-top: 1px solid var(--cg-line); padding: 16px; }
	body.cg #layer_cart .crossseling { display: none; }
}

/* ------------------------------------------------------------- Paso de pedido (carrito + datos + envío + pago) */
.cg-checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.cg-checkout > * { min-width: 0; }
.cg-checkout__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body.cg .cg-checkout__title { margin: 0; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; }
.cg-progress { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.cg-progress li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--cg-line); font-weight: 800; font-size: 14px; color: var(--cg-ink-2); }
.cg-progress span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--cg-line); color: var(--cg-ink); font-size: 13px; }
.cg-progress li.is-done { border-color: #c9f0d6; background: #effbf3; color: #17733b; }
.cg-progress li.is-done span { background: var(--cg-green); color: #fff; }
.cg-progress li.is-current { border-color: var(--cg-red); color: var(--cg-red); }
.cg-progress li.is-current span { background: var(--cg-red); color: #fff; }
.cg-freeship--cart { margin: 0; }

/* Resumen del carrito */
body#order-opc.cg #cart_title, body#order.cg #cart_title, body#order-opc.cg .cart_title_extra { display: none; }
body#order-opc.cg .breadcrumb { display: none; }
body.cg #order-detail-content { margin: 0; border: 1px solid var(--cg-line); border-radius: 22px; background: #fff; overflow: hidden; }
body.cg #cart_summary { margin: 0; border: 0; width: 100%; }
body.cg #cart_summary > thead > tr > th { background: #faf6f7; border: 0; border-bottom: 1px solid var(--cg-line); padding: 12px 14px; font: 800 13px var(--cg-body); color: var(--cg-ink-2); text-transform: none; }
body.cg #cart_summary > tbody > tr > td, body.cg #cart_summary > tfoot > tr > td { border: 0; border-bottom: 1px solid var(--cg-line); padding: 14px; vertical-align: middle; background: #fff; }
body.cg #cart_summary .cart_product img { width: 80px; height: 80px; object-fit: contain; border-radius: 12px; border: 1px solid var(--cg-line); padding: 4px; }
body.cg #cart_summary .cart_description .product-name a { color: var(--cg-ink); font-weight: 800; font-size: 16px; }
body.cg #cart_summary .cart_description small a, body.cg #cart_summary .cart_description small { color: var(--cg-muted); font-size: 13px; }
body.cg #cart_summary .cart_avail .label { border-radius: 999px; padding: 4px 10px; font-size: 12px; background: #e6f6ec; color: #17733b; }
body.cg #cart_summary .cart_unit .price { color: var(--cg-ink-2); font-weight: 700; }
body.cg #cart_summary .cart_total .price, body.cg #cart_summary #total_price_container #total_price { color: var(--cg-ink); font-weight: 900; }
body.cg #cart_summary .cart_quantity .cart_quantity_input { width: 48px; height: 40px; border: 2px solid var(--cg-line); border-radius: 10px; text-align: center; font-weight: 800; font-size: 16px; color: var(--cg-ink); }
body.cg #cart_summary .cart_quantity_button { display: inline-flex; gap: 4px; margin-top: 6px; }
body.cg #cart_summary .cart_quantity_button a { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--cg-line); border-radius: 50%; background: #fff; padding: 0; margin: 0; float: none; }
body.cg #cart_summary .cart_quantity_button a span { background: none; border: 0; padding: 0; color: var(--cg-ink-2); }
body.cg #cart_summary .cart_delete a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--cg-muted); }
body.cg #cart_summary .cart_delete a:hover { background: var(--cg-red-50); color: var(--cg-red); }
body.cg #cart_summary tfoot td { font-size: 15px; color: var(--cg-ink-2); }
body.cg #cart_summary tfoot tr.cart_total_price td { font-weight: 800; color: var(--cg-ink); }
body.cg #cart_summary tfoot .total_price_container, body.cg #cart_summary tfoot #total_price_container { font-size: 22px; }
body.cg #cart_summary tfoot td.total_price_container span { font: 800 18px var(--cg-head); text-transform: none; }
body.cg #cart_summary .cart_voucher { background: var(--cg-bg) !important; }
body.cg #cart_summary .cart_voucher h4 { font: 800 15px var(--cg-body); text-transform: none; margin: 0 0 6px; }
body.cg #cart_summary .cart_voucher input.discount_name { height: 40px; border: 2px solid var(--cg-line); border-radius: 999px; padding: 0 14px; }
body.cg #cart_summary .cart_voucher button { border-radius: 999px; background: var(--cg-ink); color: #fff; border: 0; height: 40px; padding: 0 16px; }
body.cg #cart_summary .cart_voucher button span { background: none; border: 0; padding: 0; color: #fff; }
body.cg .cart_navigation { margin: 12px 0 0; display: flex; justify-content: space-between; gap: 10px; }
body.cg .cart_navigation .button-exclusive { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 18px; border: 2px solid var(--cg-line); border-radius: 999px; background: #fff; color: var(--cg-ink); font-weight: 800; text-transform: none; }
body.cg .cart_navigation .button-exclusive i { display: none; }
body.cg #HOOK_SHOPPING_CART:empty, body.cg .cart_navigation_extra:empty { display: none; }

/* Sugerencias */
.cg-upsell { padding: 20px; border-radius: 22px; background: var(--cg-yellow-50); border: 1px solid #ffe7a6; }
body.cg .cg-upsell__title { margin: 0 0 14px; font-size: 22px; }
body.cg .cg-upsell ul.product_list.cg-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* Pasos 2, 3 y 4 */
body.cg .opc-main-block { margin: 0; }
body.cg h1.page-heading.step-num, body#order-opc.cg .page-heading.step-num { display: flex; align-items: center; gap: 12px; margin: 8px 0 12px; padding: 0 !important; border: 0; font-size: 28px; font-weight: 800; text-transform: none; background: none; }
body.cg h1.page-heading.step-num:after { display: none; }
body.cg h1.page-heading.step-num span, body#order-opc.cg .page-heading.step-num span { position: static; font-style: normal; line-height: 1; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cg-red); color: #fff; font: 800 20px var(--cg-head); margin: 0; }
body.cg #opc_new_account .box, body.cg #carrier_area .delivery_options_address, body.cg #opc_payment_methods-content, body.cg #opc_delivery_methods, body.cg .order_carrier_content {
	background: #fff; border: 1px solid var(--cg-line); border-radius: 22px; padding: 22px 24px; box-shadow: none; margin-bottom: 14px;
}
body.cg .order_carrier_content .delivery_options_address { border: 0; padding: 0; margin: 0; }
body.cg #opc_new_account #login_form { padding: 14px 20px; background: var(--cg-bg); }
body.cg #opc_new_account .page-subheading { margin: 0 0 12px; padding: 0; border: 0; font: 800 20px var(--cg-head); color: var(--cg-ink); text-transform: none; }
body.cg #opc_new_account .cg-login-q { font-size: 17px; margin: 0; }
body.cg #opc_new_account .cg-login-q a { font-weight: 800; }
body.cg #login_form_content { margin-top: 12px; }
body.cg #opc_account_form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
body.cg #opc_account_form > *:not(.form-group):not(.required.text):not(.password) { grid-column: 1 / -1; }
body.cg #opc_account_form .form-group { margin-bottom: 12px; }
body.cg #opc_account_form > .required.text { grid-column: auto; }
body.cg #opc_account_form > .form-group:has(#email), body.cg #opc_account_form > .form-group:has(#address1) { grid-column: 1 / -1; }
body.cg #opc_account_form .form-group.is_customer_param { grid-column: auto; }
body.cg #opc_account_form .form_info, body.cg #opc_account_form .inline-infos { display: block; margin-top: 4px; font-size: 13px; color: var(--cg-muted); }
body.cg #opc_account_form p.inline-infos:has(+ .checkbox), body.cg #opc_account_form .cg-hide { display: none !important; }
body.cg #opc_account_form label { font-weight: 700; color: var(--cg-ink); font-size: 14px; margin-bottom: 4px; }
body.cg #opc_account_form sup { color: var(--cg-red); }
body.cg #opc_account_form .form-control, body.cg #opc_new_account .form-control, body.cg #opc_account_form select {
	height: 46px; padding: 0 14px; border: 2px solid var(--cg-line); border-radius: 12px; background: #fff; font: 600 16px var(--cg-body); color: var(--cg-ink); box-shadow: none; width: 100%; max-width: none;
}
body.cg #opc_account_form textarea.form-control { height: 90px; padding: 10px 14px; }
body.cg #opc_account_form .form-control:focus { border-color: var(--cg-red); outline: none; }
body.cg #opc_account_form .form-group.form-ok .form-control { border-color: #9fdcb5; }
body.cg #opc_account_form .form-group.form-error .form-control { border-color: #e88; background: #fff7f7; }
body.cg #opc_account_form div.selector { width: 100% !important; height: 46px; background: none; padding: 0; }
body.cg #opc_account_form div.selector span { display: none; }
body.cg #opc_account_form div.selector select { opacity: 1 !important; position: static; height: 46px; -webkit-appearance: auto; appearance: auto; }
body.cg #opc_account_form .gender-line, body.cg #opc_account_form .date-select, body.cg #opc_account_form label[for=optin], body.cg #opc_account_form .checkbox:has(#optin) { display: none !important; }
body.cg #opc_account_form .form-group:has(#other), body.cg #opc_account_form .form-group:has(#phone) { display: none; }
body.cg #opc_account_form h3.page-subheading { grid-column: 1 / -1; margin-top: 12px; font-size: 18px; }
body.cg #opc_account_form p.required, body.cg #opc_account_form .inline-infos { grid-column: 1 / -1; font-size: 13px; color: var(--cg-muted); margin: 0 0 8px; }
body.cg #opc_account_form .checkbox, body.cg #opc_account_form .radio { margin: 4px 0 10px; }
body.cg #opc_account_form .checkbox label { font-weight: 600; }
body.cg #opc_account_form div.checker, body.cg #opc_account_form div.radio { float: none; display: inline-block; vertical-align: middle; }
body.cg .opc-add-save { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
body.cg .opc-add-save .opc-required { order: 2; margin: 0; font-size: 13px; color: var(--cg-muted); }
body.cg #submitAccount, body.cg #submitAccountDeluxe, body.cg #submitGuestAccount { min-width: 280px; background: var(--cg-red); color: #fff; border: 0; border-radius: 999px; min-height: 54px; font: 800 17px var(--cg-body); }
body.cg #submitAccount span, body.cg #submitAccountDeluxe span, body.cg #submitGuestAccount span { background: none; border: 0; padding: 0; color: #fff; font: inherit; text-transform: none; }
body.cg #submitAccountDeluxe i, body.cg #submitAccount i { display: none; }
body.cg #submitAccount:before, body.cg #submitAccount:after, body.cg #submitAccountDeluxe:before, body.cg #submitAccountDeluxe:after { display: none; }
body.cg #opc_account_saved { grid-column: 1 / -1; border-radius: 14px; margin-top: 12px; }
body.cg #opc_account_form h2[style*="ff0000"], body.cg #opc_account_form p[style*="ff0000"], body.cg #opc_account_form br + br { display: none; }
body.cg .cg-create-account { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--cg-bg); border: 1px dashed var(--cg-line); font-weight: 700; color: var(--cg-ink-2); cursor: pointer; }
body.cg #opc_account_choice { display: none !important; }
body.cg #opc_account_errors, body.cg #opc_login_errors { grid-column: 1 / -1; border-radius: 14px; }
body.cg .opc-overlay { background: rgba(255, 255, 255, .65); border-radius: 22px; }

/* Transportistas */
body.cg .delivery_options { display: grid; gap: 10px; }
body.cg .delivery_option { margin: 0; padding: 0; border: 2px solid var(--cg-line); border-radius: 16px; background: #fff; overflow: hidden; transition: border-color .15s; }
body.cg .delivery_option.alternate_item { background: #fff; }
body.cg .delivery_option:has(input:checked) { border-color: var(--cg-red); background: var(--cg-red-50); }
body.cg .delivery_option > div > table, body.cg .delivery_option table.resume { margin: 0; border: 0; background: transparent; width: 100%; }
body.cg .delivery_option table.resume td { border: 0; padding: 12px 14px; background: transparent; vertical-align: middle; }
body.cg .delivery_option .delivery_option_logo img { max-width: 70px; max-height: 40px; }
body.cg .delivery_option .delivery_option_price { font-weight: 800; color: var(--cg-ink); white-space: nowrap; }
body.cg .delivery_option strong { color: var(--cg-ink); }
body.cg #carrier_area .carrier_title, body.cg #carrier_area p.carrier_title { font: 800 16px var(--cg-body); color: var(--cg-ink); margin: 0 0 10px; text-transform: none; }
body.cg #carrier_area textarea, body.cg #carrier_area #message { width: 100%; min-height: 80px; border: 2px solid var(--cg-line); border-radius: 12px; padding: 10px 14px; font: 600 15px var(--cg-body); }
body.cg #carrier_area .box { border-radius: 16px; border: 1px solid var(--cg-line); }
body.cg p.checkbox, body.cg #carrier_area p.checkbox { font-weight: 700; color: var(--cg-ink); }

/* Pago */
body.cg #opc_payment_methods .warning, body.cg #opc_payment_methods p.alert { border: 0; border-radius: 14px; background: var(--cg-yellow-50); color: #7a4b00; padding: 14px 16px; font-weight: 700; }
body.cg p.payment_module a, body.cg .payment_module a {
	display: flex !important; align-items: center; gap: 14px; padding: 16px 48px 16px 16px !important; border: 2px solid var(--cg-line) !important; border-radius: 16px !important;
	background-color: #fff !important; color: var(--cg-ink) !important; font: 800 17px var(--cg-body) !important; text-decoration: none; min-height: 72px; position: relative;
}
body.cg p.payment_module a:hover, body.cg .payment_module a:hover { border-color: var(--cg-red) !important; background-color: var(--cg-red-50) !important; }
body.cg p.payment_module a:after { right: 18px !important; color: var(--cg-red) !important; }
body.cg p.payment_module a span { color: var(--cg-muted); font-weight: 600; font-size: 14px; }

/* Ayuda */
.cg-checkout__help { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--cg-line); }
.cg-checkout__help .cg-assure { margin: 0; }

@media (max-width: 767px) {
	.cg-progress { width: 100%; }
	.cg-progress li { padding: 4px 10px 4px 4px; font-size: 12px; }
	.cg-progress span { width: 20px; height: 20px; font-size: 11px; }
	body.cg #order-detail-content { border-radius: 18px; }
	/* La tabla del carrito pasa a tarjetas (el tema original usa selectores con dos id: hay que igualarlos) */
	body.cg #order-detail-content { overflow: visible; }
	body.cg #order-detail-content #cart_summary thead { display: none; }
	body.cg #order-detail-content #cart_summary { display: flex; flex-direction: column; width: 100%; }
	body.cg #order-detail-content #cart_summary tbody { display: block; order: 1; }
	body.cg #order-detail-content #cart_summary tfoot { display: block; order: 2; }
	body.cg #order-detail-content #cart_summary td:before { display: none !important; content: none !important; }
	body.cg #order-detail-content #cart_summary tbody tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img desc del" "img qty total"; gap: 6px 12px; padding: 14px; border-bottom: 1px solid var(--cg-line); overflow: visible; }
	body.cg #order-detail-content #cart_summary tbody tr.cart_item td { display: block; float: none; width: auto; min-height: 0; border: 0; padding: 0; text-align: left; position: static; }
	body.cg #order-detail-content #cart_summary tbody tr.cart_item td.cart_product { grid-area: img; }
	body.cg #order-detail-content #cart_summary tbody tr.cart_item td.cart_description { grid-area: desc; }
	body.cg #order-detail-content #cart_summary tbody tr.cart_item td.cart_avail, body.cg #order-detail-content #cart_summary tbody tr.cart_item td.cart_unit { display: none; }
	body.cg #order-detail-content #cart_summary tbody tr.cart_item td.cart_quantity { grid-area: qty; display: flex; align-items: center; gap: 6px; }
	body.cg #order-detail-content #cart_summary tbody tr.cart_item td.cart_quantity div, body.cg #order-detail-content #cart_summary tbody tr.cart_item td.cart_quantity .cart_quantity_button { display: inline-flex; margin: 0; }
	body.cg #order-detail-content #cart_summary tbody tr.cart_item td.cart_delete { grid-area: del; }
	body.cg #order-detail-content #cart_summary tbody tr.cart_item td.cart_total { grid-area: total; align-self: center; text-align: right; }
	body.cg #order-detail-content #cart_summary .cart_product img { width: 72px; height: 72px; }
	body.cg #order-detail-content #cart_summary tfoot tr { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--cg-line); overflow: visible; }
	body.cg #order-detail-content #cart_summary tfoot tr.unvisible, body.cg #order-detail-content #cart_summary tfoot tr[style*="none"] { display: none; }
	body.cg #order-detail-content #cart_summary tfoot tr td { display: block; float: none; width: auto !important; border: 0; padding: 0; background: none; }
	body.cg #order-detail-content #cart_summary tfoot tr td.cart_voucher { display: none; }
	body.cg #order-detail-content #cart_summary tfoot tr td.price, body.cg #order-detail-content #cart_summary tfoot tr td.price-discount { text-align: right; white-space: nowrap; }
	body.cg .cg-upsell { padding: 16px; margin: 0 -4px; }
	body.cg .cg-upsell ul.product_list.cg-grid { display: flex; }
	body.cg #opc_account_form { grid-template-columns: 1fr; }
	body.cg #opc_new_account .box, body.cg .order_carrier_content, body.cg #opc_payment_methods-content { padding: 16px; border-radius: 18px; }
	body.cg #submitAccount, body.cg #submitAccountDeluxe, body.cg #submitGuestAccount { width: 100%; min-width: 0; }
	body.cg h1.page-heading.step-num { font-size: 24px; }
	.cg-checkout__help { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- Páginas generales (información, contacto, cuenta, búsqueda, 404) */
body.cg #center_column > h1.page-heading, body.cg #center_column > .page-heading, body.cg .pagenotfound h1, body.cg #cms #center_column h1 {
	margin: 0 0 18px; padding: 0; border: 0; background: none; font: 800 clamp(28px, 3vw, 40px)/1.1 var(--cg-head); color: var(--cg-ink); text-transform: none;
}
body.cg .page-heading:after, body.cg .page-subheading:after { display: none; }
body.cg .page-subheading { margin: 0 0 12px; padding: 0; border: 0; font: 800 20px var(--cg-head); color: var(--cg-ink); text-transform: none; }
body.cg #center_column .box, body.cg .contact-form-box, body.cg #cms #center_column .rte, body.cg .pagenotfound, body.cg #create-account_form, body.cg #login_form {
	background: #fff; border: 1px solid var(--cg-line); border-radius: 22px; padding: 24px; box-shadow: none;
}
body.cg #center_column .box h3, body.cg #create-account_form h3, body.cg #login_form h3 { font: 800 20px var(--cg-head); text-transform: none; border: 0; padding: 0; margin: 0 0 12px; color: var(--cg-ink); }
body.cg #center_column .form-control, body.cg #center_column input[type=text], body.cg #center_column input[type=email], body.cg #center_column input[type=password], body.cg #center_column textarea, body.cg #center_column select.form-control {
	border: 2px solid var(--cg-line); border-radius: 12px; min-height: 46px; padding: 8px 14px; font: 600 16px var(--cg-body); color: var(--cg-ink); box-shadow: none; max-width: 100%; background-color: #fff;
}
body.cg #center_column textarea { min-height: 140px; }
body.cg #center_column .form-control:focus, body.cg #center_column input:focus, body.cg #center_column textarea:focus { border-color: var(--cg-red); outline: none; }
body.cg #center_column label { font-weight: 700; color: var(--cg-ink); }
body.cg #center_column .button.btn.btn-default.button-medium, body.cg #center_column .button.btn.btn-default.button-small, body.cg #center_column button.btn.btn-default, body.cg #center_column a.btn.btn-default:not(.cg-btn), body.cg .pagenotfound .button-search {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 0; border-radius: 999px;
	background: var(--cg-red); color: #fff; font: 800 15px var(--cg-body); text-transform: none; text-shadow: none; box-shadow: none;
}
body.cg #center_column .button.btn.btn-default span, body.cg #center_column button.btn.btn-default span, body.cg #center_column a.btn.btn-default span { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-transform: none; }
body.cg #center_column .button.btn.btn-default:hover, body.cg #center_column button.btn.btn-default:hover, body.cg #center_column a.btn.btn-default:not(.cg-btn):hover { background: var(--cg-red-dark); color: #fff; }
body.cg #center_column .button-exclusive, body.cg #center_column .btn.button-exclusive { background: #fff !important; color: var(--cg-ink) !important; border: 2px solid var(--cg-line) !important; }
body.cg #center_column .alert { border-radius: 14px; border: 0; }
body.cg #center_column .alert-success { background: #e8f8ee; color: #17733b; }
body.cg #center_column .alert-danger { background: #fdecec; color: #a01b1b; }
body.cg #center_column .alert-warning, body.cg #center_column .alert-info { background: var(--cg-yellow-50); color: #7a4b00; }
body.cg .rte { font-size: 16px; line-height: 1.6; color: var(--cg-ink-2); }
body.cg .rte h1, body.cg .rte h2, body.cg .rte h3 { font-family: var(--cg-head); color: var(--cg-ink); line-height: 1.15; margin: 1.2em 0 .5em; text-transform: none; }
body.cg .rte h1:first-child, body.cg .rte h2:first-child { margin-top: 0; }
body.cg .rte h2 { font-size: 26px; } body.cg .rte h3 { font-size: 20px; }
body.cg .rte table { border-collapse: collapse; width: auto; margin: 10px 0 16px; }
body.cg .rte table td, body.cg .rte table th { border: 1px solid var(--cg-line); padding: 8px 14px; }
body.cg .rte a { color: var(--cg-red); text-decoration: underline; }
body.cg #cms #center_column .rte { max-width: 900px; }
body.cg .contact-form-box { margin: 0; }
body.cg .contact-form-box fieldset { border: 0; padding: 0; }
body.cg .contact-form-box h3.page-subheading { margin-bottom: 16px; }
body.cg .contact-form-box .col-md-3, body.cg .contact-form-box .col-md-9 { padding: 0 10px; }
body.cg #contact .contact-form-box:before, body.cg .contact-form-box:after { display: none; }
body.cg .contact-form-box { background-image: none !important; }
body.cg div.uploader { width: 100%; border: 2px dashed var(--cg-line); border-radius: 12px; height: auto; padding: 6px; background: #fff; }
body.cg div.uploader span.action { border-radius: 999px; background: var(--cg-ink); color: #fff; }
body.cg div.selector { border-radius: 12px; }
body.cg .pagenotfound { text-align: center; max-width: 720px; margin: 0 auto; }
body.cg .pagenotfound h3 { font-weight: 700; color: var(--cg-ink-2); text-transform: none; font-size: 16px; }
body.cg .pagenotfound .buttons a { display: inline-flex; border-radius: 999px; }
body.cg #search .compare-form, body.cg .content_sortPagiBar .compare-form, body.cg .top-pagination-content .compare-form, body.cg .bottom-pagination-content .compare-form { display: none !important; }
body.cg #search h1.page-heading { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
body.cg #search h1.page-heading .heading-counter { float: none; font: 700 15px var(--cg-body); color: var(--cg-muted); border: 0; padding: 0; margin: 0; }
body.cg #my-account .myaccount-link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 0; list-style: none; }
body.cg #my-account .myaccount-link-list li a { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--cg-line); border-radius: 16px; background: #fff; color: var(--cg-ink); font-weight: 800; text-transform: none; }
body.cg #my-account .myaccount-link-list li a i { position: static; width: auto; height: auto; border: 0; font-size: 22px; color: var(--cg-red); background: none; }
body.cg #my-account .myaccount-link-list li a span { border: 0; padding: 0; background: none; font: inherit; color: inherit; text-transform: none; }
body.cg .table-bordered, body.cg table.table { background: #fff; border-radius: 14px; }
@media (max-width: 767px) {
	body.cg #center_column .box, body.cg .contact-form-box, body.cg #cms #center_column .rte, body.cg .pagenotfound { padding: 18px 16px; border-radius: 18px; }
}

/* Botones de cantidad del carrito (por encima de la regla general de botones) */
body.cg #center_column #cart_summary .cart_quantity_button a.btn { display: grid; place-items: center; width: 34px; height: 34px; min-height: 0; padding: 0; border: 2px solid var(--cg-line); border-radius: 50%; background: #fff; color: var(--cg-ink-2); box-shadow: none; }
body.cg #center_column #cart_summary .cart_quantity_button a.btn:hover { border-color: var(--cg-red); color: var(--cg-red); background: #fff; }

/* Avisarme cuando vuelva a haber stock (mailalerts) */
body.cg #oosHook { margin-top: 8px; }
body.cg #oosHook .form-group, body.cg #oosHook p { margin: 0 0 6px; }
body.cg #oosHook input#oos_customer_email { height: 44px; border: 2px solid var(--cg-line); border-radius: 999px; padding: 0 16px; width: 100%; max-width: 360px; font: 600 15px var(--cg-body); }
body.cg #oosHook a#mailalert_link { display: inline-flex; margin-top: 6px; font-weight: 800; }
body.cg #availability_statut #availability_value { white-space: normal; text-align: left; line-height: 1.35; }

/* Columna de filtros de ancho fijo: el resto de la pantalla, para los productos */
@media (min-width: 768px) {
	body.cg #columns > .row:has(> #left_column) { display: flex; align-items: flex-start; gap: 24px; margin-left: 0; margin-right: 0; }
	body.cg #columns > .row:has(> #left_column):before, body.cg #columns > .row:has(> #left_column):after { display: none; }
	body.cg #columns > .row > #left_column { flex: 0 0 270px; width: 270px; padding: 0; float: none; }
	body.cg #columns > .row:has(> #left_column) > #center_column { flex: 1 1 auto; width: auto; min-width: 0; padding: 0; float: none; }
	body.cg #columns > .row > #left_column .cg-filters { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; }
}

body.cg #layered_block_left ul li { display: flex; align-items: flex-start; gap: 8px; }
body.cg #layered_block_left ul li > div.checker, body.cg #layered_block_left ul li > input { flex: none; margin: 2px 0 0; }
body.cg #layered_block_left ul li label { flex: 1; margin: 0; }

/* Blog: tarjetas de artículos */
.cg-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); grid-template-rows: auto; grid-auto-rows: 0; row-gap: 0; column-gap: 16px; overflow: hidden; margin: 0; padding: 0; list-style: none; }
body.cg .cg-post { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--cg-line); border-radius: var(--cg-radius); background: #fff; color: var(--cg-ink); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
body.cg .cg-post:hover { box-shadow: var(--cg-shadow); border-color: #e5d6da; color: var(--cg-ink); }
.cg-post__img { display: block; aspect-ratio: 16 / 9; background: var(--cg-yellow-50); overflow: hidden; }
.cg-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cg-post:hover .cg-post__img img { transform: scale(1.04); }
.cg-post__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.cg-post__cat { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--cg-red-50); color: var(--cg-red); font-size: 12px; font-weight: 800; }
.cg-post__title { font: 800 19px/1.2 var(--cg-head); color: var(--cg-ink); }
.cg-post__excerpt { color: var(--cg-ink-2); font-size: 14px; line-height: 1.45; flex: 1; }
.cg-post__more { display: inline-flex; align-items: center; gap: 6px; color: var(--cg-red); font-weight: 800; font-size: 14px; }
body.cg .cg-pdp-more + .cg-blog, body.cg .cg-blog { margin-bottom: 32px; }
@media (max-width: 767px) {
	.cg-posts { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
	.cg-posts::-webkit-scrollbar { display: none; }
	.cg-posts > li { flex: 0 0 78%; scroll-snap-align: start; }
}

/* Menú: el blog, separado a la derecha */
body.cg .cg-nav__item--blog { margin-left: auto; }
body.cg .cg-nav__item--blog > a { color: var(--cg-ink-2); }

/* Snacks de la portada: 9 productos + tarjeta final = filas completas (5 + 5 en ordenador, 2 por fila en el móvil) */
@media (min-width: 1200px) { body.cg #center_column ul.product_list.cg-grid--snacks { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 1199px) {
	body.cg #center_column ul.product_list.cg-grid--snacks { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	body.cg #center_column ul.product_list.cg-grid--snacks > li { flex: 0 0 260px; scroll-snap-align: start; }
}
body.cg ul.product_list > li.cg-card-wrap--extra { display: flex; }
.cg-tile-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; width: 100%; padding: 22px; border-radius: var(--cg-radius); background: linear-gradient(160deg, #ffe48a, #ffc83d); }
.cg-tile-cta__title { margin: 0; font: 800 24px/1.1 var(--cg-head); color: var(--cg-ink); }
.cg-tile-cta__text { margin: 0; color: #5a3d1c; font-size: 15px; }
body.cg .cg-tile-cta__link { color: var(--cg-ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .cg-tile-cta { padding: 14px; } .cg-tile-cta__title { font-size: 19px; } .cg-tile-cta__text { font-size: 13px; } }

/* El aviso de envío gratis del módulo esp_free_ship_restante sobra: ya está la barra del diseño */
body.cg .efsr { display: none !important; }
