/* =====================================================================
   WONDERCRIS — tema «Clara corporativa» (colores del logo: azul marino #1E3247, azul #1479C1, celeste #5EAEE1).
   Se carga DESPUÉS de ace-redesign.css. Solo cambia la apariencia: la lógica de la tienda es la misma.
   (El nombre del archivo se mantiene para no tocar todas las páginas que lo cargan.)
   ===================================================================== */
:root {
  --ace-bg: #F3F6FA; --ace-surface: #FFFFFF; --ace-hover: #F5F9FD; --ace-hover-2: #EAF3FB;
  --ace-border: #E2E8F0; --ace-border-input: #CFD9E4; --ace-border-btn: #CFD9E4; --ace-border-check: #A9B8C8;
  --ace-text: #0F1E2E; --ace-text-2: #3D4F63; --ace-text-2b: #44566A; --ace-text-2c: #4A5B6E; --ace-text-3: #5A6878; --ace-text-3b: #7A8898;
  --ace-primary: #1479C1; --ace-primary-hover: #0F639F; --ace-tint: #DCEBF7; --ace-navy: #1E3247; --ace-ok: #127A3E;
  --ace-overlay: rgba(15, 30, 46, .5);
  --ace-shadow-card: 0 12px 30px rgba(15, 30, 46, .10);
  --ace-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ace-mono: 'Plus Jakarta Sans', system-ui, sans-serif;
  --wc-navy: #1E3247; --wc-navy-2: #2C4560; --wc-ink: #0F1E2E; --wc-azul: #1479C1; --wc-celeste: #5EAEE1; --wc-tint: #DCEBF7;
  --wc-radius: 14px;
}
.ace-page { font-family: var(--ace-font); }
.ace-page a:hover { color: var(--wc-azul); }
.ace-page :focus-visible { outline-color: var(--wc-azul); }
.ace-search:focus-within, .ace-field input:focus, .ace-select:focus, .ace-input:focus { box-shadow: 0 0 0 3px rgba(20, 121, 193, .18); }
.ace-btn { border-radius: 10px; }
.ace-btn--primary { background: var(--wc-azul); }
.ace-btn--primary:hover { background: #0F639F; }
.ace-kicker { color: var(--wc-azul); }

/* ---------- Barra superior azul marino ---------- */
.ace-topbar { background: var(--wc-navy); border-bottom: 0; color: #C9D6E3; font: 500 12.5px/1.4 var(--ace-font); }
.ace-topbar strong { color: #fff; font-weight: 600; }
.ace-page .ace-topbar a { color: #C9D6E3; }
.ace-page .ace-topbar a:hover { color: #fff; }
.ace-topbar__tc b { color: var(--wc-celeste); }

/* ---------- Cabecera blanca ---------- */
.ace-header { border-bottom: 1px solid var(--ace-border); box-shadow: 0 4px 18px rgba(15, 30, 46, .05); }
.ace-header::before { background: rgba(255, 255, 255, .97); }
.ace-header__main { padding-top: 14px; padding-bottom: 14px; gap: 24px; }
.ace-logo img { height: 52px; width: auto; }
.ace-search { border: 2px solid var(--wc-azul); border-radius: 12px; height: 50px; }
.ace-search__prompt { display: none; }
.ace-search__ico { display: block; width: 20px; height: 20px; margin-left: 14px; fill: none; stroke: var(--ace-text-3); stroke-width: 2; stroke-linecap: round; flex: 0 0 20px; }
.ace-search input { font-size: 15px; }
.ace-search button { background: var(--wc-azul); padding: 0 26px; font-weight: 700; }
.ace-search button:hover { background: #0F639F; }
.ace-actions { gap: 8px; }
.ace-actions__link { color: var(--wc-navy); }
.ace-page .ace-actions__link:hover { background: var(--ace-hover-2); color: var(--wc-azul); }
.ace-favbtn { border-color: var(--ace-border); background: var(--ace-bg); color: var(--wc-navy); }
.ace-cartbtn { background: var(--wc-navy); border-color: var(--wc-navy); color: #fff; height: 46px; border-radius: 12px; }
.ace-cartbtn:hover { background: var(--wc-ink); border-color: var(--wc-ink); }
.ace-cartbtn__ico { display: block; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ace-cartbtn__count { background: var(--wc-celeste); color: var(--wc-ink); border-radius: 999px; min-width: 24px; height: 24px; font: 700 12px var(--ace-font); }
.ace-cartbtn__total { font: 700 14px var(--ace-font); }

/* ---------- Barra de menú (blanca, botón azul de categorías) ---------- */
.ace-catbar { background: #fff; border-top: 1px solid var(--ace-border); }
.ace-catbar__in { align-items: center; }
.ace-catbar__all { background: var(--wc-azul); color: #fff; font-weight: 700; padding: 0 20px; min-height: 48px; align-self: stretch; }
.ace-catbar__all:hover { background: #0F639F; }
.ace-catbar__burger i { background: #fff; }
.ace-catbar__nav { padding: 6px 8px; gap: 2px; align-items: center; }
.ace-pill, .ace-page a.ace-pill { color: var(--wc-navy); background: transparent; font-weight: 600; font-size: 13.5px; padding: 9px 10px; border-radius: 8px; }
.ace-page a.ace-pill:hover, .ace-pill:hover, .ace-pill[aria-expanded="true"] { background: var(--ace-hover-2); color: var(--wc-azul); }
.ace-pill span { opacity: .45; }
.ace-pill--new em { background: var(--wc-celeste); color: var(--wc-ink); font: 700 10px/1 var(--ace-font); font-style: normal; text-decoration: none; padding: 3px 6px; border-radius: 999px; }
.ace-catbar__marcas { font-weight: 700 !important; }
.ace-catbar__dist { margin-left: 4px; }
.ace-catbar__cta, .ace-page a.ace-catbar__cta { background: transparent; color: var(--wc-azul); border: 1.5px solid var(--wc-azul); box-shadow: none; animation: none; height: 38px; border-radius: 10px; margin-right: 0; }
.ace-page a.ace-catbar__cta:hover { background: var(--wc-azul); color: #fff; }
.ace-pop { border-radius: 0 0 14px 14px; }
.ace-pop--cats a .ace-ci { --c: var(--wc-azul); }
/* menú de marcas */
.ace-pop--marcas { left: 50%; transform: translateX(-50%); width: min(1320px, 100%); padding: 18px 24px 22px; max-height: min(70vh, 560px); overflow-y: auto; }
.ace-pop__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 4px 12px; }
.ace-pop__head b { font-size: 16px; color: var(--wc-ink); }
.ace-pop__head span { font-size: 12.5px; color: var(--ace-text-3); }
.ace-pop--marcas ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.ace-pop--marcas a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--ace-border); border-radius: 10px; font-weight: 600; font-size: 13.5px; }
.ace-page .ace-pop--marcas a:hover { border-color: var(--wc-azul); background: var(--ace-hover-2); }
.ace-pop--marcas img { width: 34px; height: 22px; object-fit: contain; flex: 0 0 34px; }
.ace-pop--marcas i { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; background: var(--ace-hover-2); color: var(--wc-azul); display: grid; place-items: center; font: 800 13px var(--ace-font); font-style: normal; }
.ace-pop--marcas span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ace-pop--marcas small { font-size: 11.5px; color: var(--ace-text-3); background: var(--ace-bg); border-radius: 999px; padding: 1px 8px; }

/* ---------- Tarjeta de producto ---------- */
.ace-card { border: 1px solid var(--ace-border); border-radius: var(--wc-radius); background: #fff; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; container-type: inline-size; }
.ace-page .ace-card:hover { box-shadow: 0 12px 28px rgba(15, 30, 46, .12); transform: translateY(-2px); border-color: #BFD6EA; }
.ace-card__media { margin: 10px 10px 0; padding: 14px; border-radius: 10px; background: #F6F9FC; }
.ace-card__media .ace-card__img2 { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.ace-card__off { top: 10px; left: 10px; background: var(--wc-azul); border-radius: 7px; font: 700 12px var(--ace-font); padding: 4px 8px; }
.ace-card__tag { display: none; }
.ace-card__cmp { top: 18px; right: 18px; height: 30px; font-size: 12px; background: #fff; border-color: var(--ace-border); }
.ace-card__fav { top: 54px; right: 18px; }
.ace-card__body { padding: 12px 14px 14px; gap: 6px; }
.ace-card__brand { font: 700 11px var(--ace-font); letter-spacing: .05em; color: var(--wc-azul); }
.ace-card__name { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--wc-ink); min-height: 2.7em; }
.ace-card__row { margin-top: auto; padding-top: 2px; }
.ace-card__prices { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.ace-card__prices strong { order: 1; font-size: 19px; font-weight: 800; color: var(--wc-ink); }
.ace-card__prices del { order: 2; font-size: 12.5px; }
.ace-card .ace-stock { font: 600 12px var(--ace-font); color: var(--ace-ok); }
.ace-card .ace-stock--out { color: #B42318; }
.ace-card__add, .ace-page a.ace-card__add { flex: none; width: 100%; height: 40px; margin-top: 6px; border: 0; border-radius: 10px; background: var(--wc-azul); color: #fff; font: 700 13px var(--ace-font); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; transition: background .15s ease; }
.ace-card__add:hover, .ace-page a.ace-card__add:hover { background: #0F639F; border-color: #0F639F; color: #fff; }
.ace-card__add svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ace-card__add--ver, .ace-page a.ace-card__add--ver { background: var(--ace-hover-2); color: var(--wc-navy); }
.ace-page a.ace-card__add--ver:hover { background: var(--wc-navy); color: #fff; }
.ace-card--sinstock .ace-card__media img { opacity: .75; }
@container (max-width: 190px) { .ace-card__add span { font-size: 12px; } .ace-card__add svg { display: none; } }

/* ---------- Componentes compartidos con otras páginas ---------- */
.ace-tabs { border-radius: 999px; }
.ace-tab { border-radius: 999px; }
.ace-tab.is-active { background: var(--wc-navy); }
.ace-cat { border-radius: var(--wc-radius); }
.ace-cat .ace-ci { --c: var(--wc-azul); }
.ace-deal { border-color: var(--wc-azul); }
.ace-countdown span { background: var(--wc-navy); }
.ace-deal__bar i, .ace-pc__pbar i, .ace-build__bar i { background: var(--wc-azul); }
.ace-hero__dot.is-active { background: var(--wc-celeste); }
.ace-news { background: var(--wc-navy); }

/* ---------- Footer azul marino ---------- */
.ace-footer { background: var(--wc-ink); border-top: 0; color: #B5C3D1; margin-top: 64px; }
.ace-footer__col p, .ace-footer__contact { color: #B5C3D1; }
.ace-page .ace-footer a { color: #DCE6F0; }
.ace-page .ace-footer a:hover { color: #fff; }
.ace-footer__label { font: 700 12px var(--ace-font); letter-spacing: .08em; color: var(--wc-celeste); }
.ace-footer__col--brand img.ace-footer__logo { height: 52px; }
.ace-footer__empresa { font-size: 13px; line-height: 1.55; }
.ace-footer .ace-mono { font-family: var(--ace-font); }
.ace-footer__empresa b { color: #fff; }
.ace-footer__social a { border-color: #2C4560; color: #fff; }
.ace-page .ace-footer__social a:hover { background: var(--wc-azul); border-color: var(--wc-azul); }
.ace-page .ace-footer .wc-libro { margin-top: 8px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--wc-ink); border-radius: 12px; padding: 12px 14px; max-width: 250px; }
.ace-page .ace-footer .wc-libro:hover { color: var(--wc-ink); box-shadow: 0 0 0 3px var(--wc-celeste); }
.wc-libro svg { width: 32px; height: 32px; flex: 0 0 32px; fill: none; stroke: var(--wc-azul); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wc-libro b { display: block; font-size: 14px; }
.wc-libro small { color: var(--ace-text-3); font-size: 11.5px; }
.ace-footer__bottom { background: #0A1622; border-top: 1px solid #22364A; }
.ace-footer__bottom .ace-container { font: 500 12.5px var(--ace-font); color: #8FA2B6; }
.ace-page .ace-footer__bottom a.wc-credito { color: var(--wc-celeste); }
.ace-page .ace-footer__bottom a.wc-credito strong { font-weight: 700; }

/* ---------- Carrito lateral ---------- */
.ace-drawer__head { background: var(--wc-navy); color: #fff; border-bottom: 3px solid var(--wc-celeste); }
.ace-drawer__title { color: #fff; }
.ace-drawer__tico { width: 22px; height: 22px; fill: none; stroke: var(--wc-celeste); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ace-drawer__title small { background: var(--wc-celeste); color: var(--wc-ink); padding: 2px 9px; border-radius: 999px; font-weight: 700; }
.ace-header .ace-drawer__close, .ace-drawer__close { color: #fff; border-color: #2C4560; background: transparent; }
.ace-drawer__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ace-drawer__linea { color: var(--wc-azul); }

/* =====================================================================
   INICIO (CYM/index.php)
   ===================================================================== */
.wc-main { padding-top: 20px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 40px; }
.wc-chip { display: inline-block; align-self: flex-start; background: var(--wc-celeste); color: var(--wc-ink); font: 700 12px var(--ace-font); letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.wc-chip--azul { background: var(--wc-tint); color: var(--wc-azul); }
.wc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 10px; border: 0; font: 700 14px var(--ace-font); cursor: pointer; text-decoration: none; white-space: nowrap; }
.ace-page a.wc-btn--azul, .wc-btn--azul { background: var(--wc-azul); color: #fff; }
.ace-page a.wc-btn--azul:hover { background: #0F639F; color: #fff; }
.ace-page a.wc-btn--claro, .wc-btn--claro { background: var(--wc-celeste); color: var(--wc-ink); }
.ace-page a.wc-btn--claro:hover { background: #fff; color: var(--wc-ink); }
.ace-page a.wc-btn--linea, .wc-btn--linea { background: #fff; color: var(--wc-navy); border: 1.5px solid #BFD0E0; }
.ace-page a.wc-btn--linea:hover, .wc-btn--linea:hover { border-color: var(--wc-azul); color: var(--wc-azul); }
.wc-btn--navy { background: var(--wc-navy); color: #fff; }
.wc-btn--navy:hover { background: var(--wc-ink); }
.wc-center { display: flex; justify-content: center; margin-top: 18px; }

/* encabezados de sección */
.wc-sec { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.wc-sec__head { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.wc-sec__title { margin: 0; font-size: clamp(21px, 2.1vw, 26px); font-weight: 800; letter-spacing: -.015em; color: var(--wc-ink); display: inline-flex; align-items: center; gap: 12px; }
.wc-sec__title::before { content: ""; width: 6px; height: 26px; border-radius: 3px; background: linear-gradient(var(--wc-azul) 0 60%, var(--wc-celeste) 60%); flex: 0 0 6px; }
.wc-sec__sub { color: var(--ace-text-3); font-size: 14px; }
.wc-nav { display: flex; align-items: center; gap: 8px; }
.ace-page a.wc-more, .wc-more { color: var(--wc-azul); font-weight: 700; font-size: 14px; margin-right: 6px; }
.wc-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #CFD9E4; background: #fff; color: var(--wc-navy); font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.wc-arrow:hover { border-color: var(--wc-azul); color: var(--wc-azul); }
.wc-arrow--on { background: var(--wc-navy); border-color: var(--wc-navy); color: #fff; }
.wc-arrow--on:hover { background: var(--wc-azul); border-color: var(--wc-azul); color: #fff; }

/* hero: principal + 2 laterales */
.wc-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.wc-hero__main { position: relative; border-radius: 18px; overflow: hidden; background: var(--wc-navy); aspect-ratio: var(--wc-ratio, 1.86); min-height: 260px; }
.wc-hero__stage { position: absolute; inset: 0; }
.wc-hero__stage .ace-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wc-hero__stage .ace-hero__slide > a { display: block; width: 100%; height: 100%; }
.wc-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--wc-navy); font-size: 22px; cursor: pointer; box-shadow: 0 6px 16px rgba(15, 30, 46, .2); }
.wc-hero__arrow:hover { background: #fff; color: var(--wc-azul); }
.wc-hero__arrow--prev { left: 16px; } .wc-hero__arrow--next { right: 16px; }
.wc-hero__dots { position: absolute; left: 24px; bottom: 18px; z-index: 3; display: flex; gap: 6px; }
.wc-hero__dots .ace-hero__dot { background: rgba(255, 255, 255, .55); box-shadow: none; }
.wc-hero__dots .ace-hero__dot.is-active { background: var(--wc-celeste); width: 26px; }
.wc-hero__vacio { position: absolute; inset: 0; padding: clamp(24px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; color: #fff; isolation: isolate; }
.wc-hero__vacio::before { content: ""; position: absolute; right: -90px; top: -80px; width: 440px; height: 440px; border-radius: 50%; border: 44px solid var(--wc-navy-2); z-index: -1; }
.wc-hero__vacio h1 { margin: 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; font-weight: 800; max-width: 560px; }
.wc-hero__vacio p { margin: 0; color: #C9D6E3; font-size: 16px; max-width: 460px; }
.wc-hero__vacio .wc-btn { align-self: flex-start; }
.wc-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 0; }
.wc-side { position: relative; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 24px; min-height: 160px; isolation: isolate; text-decoration: none; }
.wc-side--img { padding: 0; background: var(--ace-tint); }
.wc-side--img img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; transition: transform .4s ease; }
.ace-page a.wc-side--img:hover img { transform: scale(1.03); }
.wc-side small { font: 700 12px var(--ace-font); letter-spacing: .06em; text-transform: uppercase; }
.wc-side b { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.2; font-weight: 800; max-width: 280px; }
.wc-side span { font-weight: 700; font-size: 14px; }
.wc-side::after { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; border: 18px solid; opacity: .22; z-index: -1; }
.ace-page a.wc-side--claro, .wc-side--claro { background: var(--wc-tint); color: var(--wc-ink); }
.wc-side--claro small, .wc-side--claro span { color: var(--wc-azul); }
.wc-side--claro::after { border-color: var(--wc-azul); }
.ace-page a.wc-side--oscuro, .wc-side--oscuro { background: var(--wc-ink); color: #fff; }
.wc-side--oscuro small, .wc-side--oscuro span { color: var(--wc-celeste); }
.wc-side--oscuro::after { border-color: var(--wc-celeste); }
.ace-page a.wc-side--claro:hover { color: var(--wc-ink); } .ace-page a.wc-side--oscuro:hover { color: #fff; }

/* beneficios */
.wc-benef { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--ace-border); border-radius: var(--wc-radius); }
.wc-benef__i { display: flex; gap: 14px; align-items: center; padding: 18px 22px; text-decoration: none; }
.wc-benef__i + .wc-benef__i { border-left: 1px solid var(--ace-border); }
.wc-benef__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--ace-hover-2); display: grid; place-items: center; flex: 0 0 46px; }
.wc-benef__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--wc-azul); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wc-benef__i b { display: block; font-size: 14.5px; color: var(--wc-ink); }
.wc-benef__i small { display: block; color: var(--ace-text-3); font-size: 13px; }

/* categorías (círculos, carrusel horizontal) */
.wc-cats { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 9 * 12px) / 10); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px 2px 6px; }
.wc-cats::-webkit-scrollbar { display: none; }
.wc-cat { scroll-snap-align: start; background: #fff; border: 1px solid var(--ace-border); border-radius: var(--wc-radius); padding: 16px 8px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.ace-page a.wc-cat:hover { border-color: #9CC4E6; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15, 30, 46, .08); color: var(--wc-ink); }
.wc-cat__ico { width: 64px; height: 64px; border-radius: 50%; background: var(--ace-hover-2); display: grid; place-items: center; transition: background .2s ease; }
.ace-page a.wc-cat:hover .wc-cat__ico { background: var(--wc-tint); }
.wc-cat .ace-ci { --c: var(--wc-azul); width: 44px; height: 44px; flex-basis: 44px; border: 0; background: transparent; box-shadow: none; }
.wc-cat .ace-ci svg { width: 34px; height: 34px; }
.wc-cat__name { font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--wc-ink); }
.wc-cat__name::first-letter { text-transform: uppercase; }

/* pestañas y grilla de productos */
.wc-tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--ace-border); border-radius: 999px; padding: 4px; flex-wrap: wrap; }
.wc-tab { border: 0; background: transparent; color: var(--wc-navy); font: 600 13.5px var(--ace-font); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.wc-tab:hover { color: var(--wc-azul); }
.wc-tab.is-active { background: var(--wc-navy); color: #fff; }
.wc-tabpanel[hidden] { display: none; }
.wc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }

/* ofertas de la semana */
.wc-ofertas { position: relative; display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 4fr); gap: 14px; align-items: stretch; }
.wc-ofertas__panel { position: relative; overflow: hidden; isolation: isolate; background: var(--wc-navy); color: #fff; border-radius: 16px; padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.wc-ofertas__panel::after { content: ""; position: absolute; right: -90px; top: -90px; width: 220px; height: 220px; border-radius: 50%; border: 22px solid var(--wc-azul); opacity: .55; z-index: -1; }
.wc-ofertas__panel h2 { margin: 0; font-size: 26px; line-height: 1.1; font-weight: 800; }
.wc-ofertas__panel p { margin: 0; color: #C9D6E3; }
.wc-ofertas__pie { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.wc-arrow--claro { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.wc-arrow--claro:hover { background: #fff; border-color: #fff; color: var(--wc-navy); }
.wc-reloj { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.wc-reloj span { background: #fff; color: var(--wc-ink); border-radius: 10px; padding: 8px 2px 6px; display: flex; flex-direction: column; align-items: center; }
.wc-reloj b { font: 800 20px/1.1 var(--ace-font); font-variant-numeric: tabular-nums; }
.wc-reloj small { font: 600 10px var(--ace-font); text-transform: uppercase; color: var(--ace-text-3); }
.wc-reloj.is-ending span { background: #FDECEA; }
.wc-reloj.is-over { display: block; background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 10px; text-align: center; font-weight: 700; }
.wc-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; }
.wc-scroll::-webkit-scrollbar { display: none; }
.wc-scroll > * { scroll-snap-align: start; min-width: 0; }
.wc-scroll--6 { grid-auto-columns: calc((100% - 5 * 14px) / 6); }

/* banners intermedios */
.wc-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wc-promo { position: relative; overflow: hidden; isolation: isolate; border-radius: 16px; min-height: 170px; padding: 30px 34px; display: flex; flex-direction: column; justify-content: center; gap: 6px; text-decoration: none; }
.wc-promo--img { padding: 0; background: var(--ace-tint); aspect-ratio: 2.6; min-height: 0; }
.wc-promo--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wc-promo small { font: 700 12px var(--ace-font); letter-spacing: .06em; text-transform: uppercase; }
.wc-promo b { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; font-weight: 800; max-width: 420px; }
.wc-promo::after { content: ""; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 220px; height: 220px; border-radius: 50%; border: 26px solid; opacity: .2; z-index: -1; }
.ace-page a.wc-promo--azul, .wc-promo--azul { background: var(--wc-azul); color: #fff; }
.wc-promo--azul small { color: var(--wc-tint); }
.ace-page a.wc-promo--celeste, .wc-promo--celeste { background: var(--wc-tint); color: var(--wc-ink); }
.wc-promo--celeste small, .wc-promo--celeste span { color: var(--wc-azul); }
.ace-page a.wc-promo--azul:hover { color: #fff; } .ace-page a.wc-promo--celeste:hover { color: var(--wc-ink); }

/* listas compactas */
.wc-listas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.wc-lista { background: #fff; border: 1px solid var(--ace-border); border-radius: var(--wc-radius); padding: 18px 20px 8px; }
.wc-lista__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--ace-border); margin-bottom: 4px; }
.wc-lista__head h2 { margin: 0 0 -2px; font-size: 17px; font-weight: 800; padding-bottom: 10px; border-bottom: 2px solid var(--wc-azul); }
.ace-page .wc-lista__head a { font-size: 13px; font-weight: 700; color: var(--wc-azul); }
.wc-lista__i { display: flex; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; }
.wc-lista__i + .wc-lista__i { border-top: 1px solid #EEF2F6; }
.wc-lista__img { width: 66px; height: 66px; border-radius: 10px; background: #F6F9FC; flex: 0 0 66px; display: grid; place-items: center; padding: 6px; }
.wc-lista__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.wc-lista__txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wc-lista__txt small { font: 700 10.5px var(--ace-font); letter-spacing: .05em; color: var(--wc-azul); text-transform: uppercase; }
.wc-lista__txt span { font-size: 13px; font-weight: 600; color: var(--wc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-lista__txt b { font-size: 15px; color: var(--wc-ink); }
.wc-lista__txt del { font-weight: 500; font-size: 12px; color: var(--ace-text-3b); }
.ace-page a.wc-lista__i:hover span { color: var(--wc-azul); }

/* marcas */
.wc-marcas { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.wc-marcas.is-collapsed .wc-marca:nth-child(n+17) { display: none; }
.wc-marca { background: #fff; border: 1px solid var(--ace-border); border-radius: 12px; height: 92px; padding: 10px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.wc-marca img { max-height: 38px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.wc-marca__txt { font: 800 15px var(--ace-font); letter-spacing: .05em; color: var(--wc-navy); text-transform: uppercase; text-align: center; line-height: 1.1; overflow-wrap: anywhere; }
.wc-marca small { font-size: 11.5px; color: var(--ace-text-3); }
.ace-page a.wc-marca:hover { border-color: var(--wc-azul); box-shadow: 0 8px 20px rgba(20, 121, 193, .12); }
.ace-page a.wc-marca:hover img { filter: none; opacity: 1; }
.ace-page a.wc-marca:hover .wc-marca__txt { color: var(--wc-azul); }

/* tienda física */
.wc-tienda { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; }
.wc-tienda__info { background: #fff; border: 1px solid var(--ace-border); border-radius: 18px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.wc-tienda__info h2 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; color: var(--wc-ink); }
.wc-tienda__info p { margin: 0; color: var(--ace-text-2); line-height: 1.55; }
.wc-tienda__info p b { color: var(--wc-ink); }
.wc-tienda__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.wc-tienda__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; }
.ace-page .wc-tienda__links a { color: var(--wc-azul); font-weight: 600; }
.wc-tienda__mapa { min-height: 300px; border-radius: 18px; overflow: hidden; border: 1px solid var(--ace-border); background: var(--ace-hover-2); }
.wc-tienda__mapa iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* boletín */
.wc-news { background: var(--wc-tint); border-radius: 18px; padding: 28px 36px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.wc-news__txt { display: flex; gap: 16px; align-items: center; }
.wc-news__txt img { width: 56px; height: 56px; flex: 0 0 56px; }
.wc-news h2 { margin: 0; font-size: 21px; font-weight: 800; color: var(--wc-ink); }
.wc-news p { margin: 4px 0 0; color: var(--ace-text-2); }
.wc-news form { display: flex; gap: 8px; flex: 0 1 470px; margin: 0; }
.wc-news input { flex: 1; min-width: 0; height: 48px; border: 1px solid #B9CFE3; border-radius: 10px; padding: 0 16px; font: 14px var(--ace-font); background: #fff; outline: 0; }
.wc-news input:focus { border-color: var(--wc-azul); box-shadow: 0 0 0 3px rgba(20, 121, 193, .15); }
.wc-news .wc-btn { height: 48px; }

/* ---------- Responsive del inicio ---------- */
@media (max-width: 1200px) {
  .wc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wc-scroll--6 { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .wc-cats { grid-auto-columns: calc((100% - 7 * 12px) / 8); }
  .wc-marcas { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wc-ofertas { grid-template-columns: 1fr; }
  .wc-ofertas__panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .wc-ofertas__panel .wc-chip, .wc-ofertas__panel h2, .wc-ofertas__panel p { grid-column: 1; }
  .wc-ofertas__panel .wc-reloj { grid-column: 2; grid-row: 1 / span 3; min-width: 240px; }
  .wc-ofertas__panel .wc-ofertas__pie { grid-column: 1; margin-top: 4px; }
  .wc-scroll { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
}
@media (max-width: 900px) {
  .wc-main { gap: 30px; padding-top: 12px; }
  .wc-hero { grid-template-columns: 1fr; }
  .wc-hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .wc-side { min-height: 130px; padding: 18px; }
  .wc-side--img { aspect-ratio: 1.9; min-height: 0; padding: 0; }
  .wc-benef { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-benef__i:nth-child(3) { border-left: 0; }
  .wc-benef__i:nth-child(n+3) { border-top: 1px solid var(--ace-border); }
  .wc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .wc-scroll, .wc-scroll--6 { grid-auto-columns: calc((100% - 2 * 10px) / 3); gap: 10px; }
  .wc-cats { grid-auto-columns: calc((100% - 4 * 10px) / 5); gap: 10px; }
  .wc-promos, .wc-tienda { grid-template-columns: 1fr; }
  .wc-marcas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wc-ofertas__panel { display: flex; }
  .wc-ofertas__panel .wc-reloj { min-width: 0; }
  .ace-catbar__in { min-width: 0; max-width: 100vw; }
}
@media (max-width: 640px) {
  .wc-hero__main { border-radius: 14px; min-height: 0; }
  .wc-hero__side { grid-template-columns: 1fr 1fr; gap: 10px; }
  .wc-side { border-radius: 14px; min-height: 120px; padding: 14px; }
  .wc-side b { font-size: 15px; }
  .wc-side span { font-size: 12.5px; }
  .wc-benef__i { padding: 14px; gap: 10px; }
  .wc-benef__ico { width: 38px; height: 38px; flex-basis: 38px; }
  .wc-benef__i b { font-size: 13px; }
  .wc-benef__i small { font-size: 12px; }
  .wc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-scroll, .wc-scroll--6 { grid-auto-columns: 46%; }
  .wc-cats { grid-auto-columns: 27%; }
  .wc-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .wc-tab { white-space: nowrap; padding: 8px 13px; }
  .wc-nav .wc-arrow { display: none; }
  .wc-marcas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wc-marca { height: 80px; }
  .wc-news { padding: 22px; }
  .wc-news form { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; }
  .wc-news input { flex: 1 1 100%; }
  .wc-news .wc-btn { flex: 1 1 100%; }
  .wc-promo { padding: 22px; min-height: 140px; }
  .ace-logo img { height: 42px; }
}

/* ---------- Aviso importante en el detalle del producto ---------- */
.ace-avisoimp { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--ace-hover-2); border: 1px solid #C7DDF0; color: var(--ace-text-2); font-size: 13.5px; line-height: 1.5; }
.ace-avisoimp svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; fill: none; stroke: var(--wc-azul); stroke-width: 2; stroke-linecap: round; }
.ace-avisoimp p { margin: 0; }
.ace-avisoimp b { color: var(--wc-ink); }
