/* Casa de Resonancia — piezas propias de la versión WordPress (cabecera, colecciones, WooCommerce).
   El resto del diseño viene de cr-global.css y cr-neon-sitio.css, iguales a Shopify. */
*, *::before, *::after { box-sizing: border-box; }
html { background-color: #0B0A12; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: #fff; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.cr-saltar { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.cr-saltar:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Cinta de anuncios */
.cr-anuncio { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; padding: 0 12px;
  background: linear-gradient(90deg, #9B5CFF, #FF3EA5 50%, #FF8A1F); color: #fff; }
.cr-anuncio__pista { position: relative; flex: 1; max-width: 1100px; min-height: 38px; display: grid; }
.cr-anuncio__msj { grid-area: 1 / 1; margin: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: .02em;
  text-shadow: 0 1px 2px rgba(0,0,0,.35); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.cr-anuncio__msj.is-active { opacity: 1; transform: none; pointer-events: auto; transition: opacity .35s .2s, transform .35s .2s; }
.cr-anuncio__msj a { color: #fff; text-decoration: none; }
.cr-anuncio__msj a:hover { text-decoration: underline; }
.cr-anuncio__flecha { background: none; border: 0; color: #fff; cursor: pointer; width: 28px; height: 28px; display: grid; place-items: center; }
.cr-anuncio__flecha svg { width: 16px; height: 16px; }

/* Cabecera */
.cr-cab { position: relative; z-index: 50; background: rgba(11,10,18,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); font-family: 'Lexend', 'Inter', sans-serif; }
.cr-cab--fija { position: sticky; top: 0; }
.admin-bar .cr-cab--fija { top: 32px; }
.cr-cab__in { max-width: 1320px; margin: 0 auto; padding: 12px 32px; display: flex; align-items: center; gap: 28px; min-height: 92px; }
.cr-cab__logo img { display: block; width: 150px; height: auto; }
.cr-cab__nav { flex: 1; }
.cr-cab__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.cr-cab__item { position: relative; }
.cr-cab__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; border-radius: 10px; transition: color .2s; }
.cr-cab__link::-webkit-details-marker { display: none; }
.cr-cab__link svg { width: 14px; height: 14px; transition: transform .2s; }
.cr-cab__link:hover, .cr-cab__det[open] > .cr-cab__link { color: var(--neon-rosa, #FF3EA5); }
.cr-cab__det[open] > .cr-cab__link svg { transform: rotate(180deg); }
.cr-cab__sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: #13111C; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.cr-cab__sub ul { list-style: none; margin: 0; padding: 0; }
.cr-cab__sub li a { display: block; padding: 8px 12px; border-radius: 10px; color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; }
.cr-cab__sub li a:hover { background: rgba(255,62,165,.12); color: #fff; }
.cr-cab__sub li ul { padding-left: 10px; margin-bottom: 6px; }
.cr-cab__sub li ul a { font-size: 14px; color: rgba(255,255,255,.65); padding: 6px 12px; }
.cr-cab__sublink--tit { font-weight: 700; color: #fff !important; }
.cr-cab__iconos { display: flex; align-items: center; gap: 6px; }
.cr-cab__redes { display: flex; gap: 2px; padding-right: 12px; margin-right: 6px; border-right: 1px solid rgba(255,255,255,.12); }
.cr-cab__redes a, .cr-cab__icono { width: 40px; height: 40px; display: grid; place-items: center; color: rgba(255,255,255,.85); border-radius: 50%; background: none; border: 0; cursor: pointer; position: relative; text-decoration: none; }
.cr-cab__redes a:hover, .cr-cab__icono:hover { color: var(--neon-rosa, #FF3EA5); }
.cr-cab__redes svg { width: 18px; height: 18px; }
.cr-cab__icono svg { width: 22px; height: 22px; }
.cr-cab__avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--neon-grad-btn, #FF8A1F); color: #0B0A12; font-weight: 700; font-size: 14px; box-shadow: 0 0 0 2px #9B5CFF; }
.cr-cab__cuenta-num { position: absolute; right: 2px; bottom: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #FF8A1F; color: #0B0A12; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cr-cab__burger { display: none; width: 44px; height: 44px; background: none; border: 0; color: #fff; cursor: pointer; }
.cr-cab__burger svg { width: 26px; height: 26px; }

.cr-buscar { position: absolute; left: 0; right: 0; top: 100%; background: #13111C; border-bottom: 1px solid rgba(255,255,255,.1); padding: 18px 32px; }
.cr-buscar__in { max-width: 900px; margin: 0 auto; display: flex; gap: 10px; align-items: center; }
.cr-buscar__in input { flex: 1; height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 16px; }
.cr-buscar__in--pagina { margin: 10px 0 36px; max-width: 760px; }
.cr-buscar__x { width: 44px; height: 44px; background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; }

.cr-movil { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.6); }
.cr-movil__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(88vw, 380px); background: #13111C; padding: 64px 22px 30px; overflow-y: auto; }
.cr-movil__panel ul { list-style: none; margin: 0; padding: 0; }
.cr-movil__panel > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); }
.cr-movil__panel a, .cr-movil__panel summary { display: block; padding: 14px 4px; color: #fff; text-decoration: none; font-size: 17px; font-weight: 600; cursor: pointer; }
.cr-movil__panel details ul { padding: 0 0 10px 12px; }
.cr-movil__panel details ul a { font-size: 15px; font-weight: 400; padding: 9px 4px; color: rgba(255,255,255,.8); }
.cr-movil__x { position: absolute; right: 12px; top: 10px; width: 44px; height: 44px; background: none; border: 0; color: #fff; font-size: 32px; cursor: pointer; }
.cr-movil__redes { display: flex; gap: 10px; margin-top: 20px; }
.cr-movil__redes a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; padding: 0; }
.cr-movil__redes svg { width: 20px; height: 20px; }

@media (max-width: 1280px) {
  .cr-cab__redes { padding-right: 6px; margin-right: 2px; }
  .cr-cab__redes a { width: 32px; height: 32px; }
  .cr-cab__in { gap: 16px; padding-left: 20px; padding-right: 20px; }
  .cr-cab__link { padding: 10px 7px; font-size: 14px; }
  .cr-cab__logo img { width: 128px; }
}
@media (max-width: 1100px) {
  .cr-cab__redes { display: none; }
}
@media (max-width: 990px) {
  .cr-cab__nav { display: none; }
  .cr-cab__burger { display: grid; place-items: center; }
  .cr-cab__in { padding: 8px 12px; min-height: 68px; justify-content: space-between; }
  .cr-cab__logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .cr-cab__logo img { width: 112px; }
  .cr-cab__cuenta { display: none; }
  .admin-bar .cr-cab--fija { top: 46px; }
  .cr-buscar { padding: 14px 12px; }
}

/* Colecciones, búsqueda y paginación */
.cr-col-banner { padding: 56px 0 8px; }
.cr-col-banner .cr-h { font-size: clamp(36px, 6vw, 64px); }
.cr-col-banner__desc { max-width: 760px; }
.cr-col-grid { padding: 24px 0 96px; }
.cr-col-grid__barra { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.cr-col-grid__n { margin: 0; color: rgba(255,255,255,.65); font-size: 15px; }
.cr-col-grid__orden { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.75); }
.cr-col-grid__orden select { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: #13111C; color: #fff; font: inherit; }
.cr-col-grid__lista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .cr-col-grid__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 750px) { .cr-col-grid__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.cr-paginas { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.cr-paginas a, .cr-paginas span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); color: #fff; text-decoration: none; }
.cr-paginas .is-active { background: var(--neon-grad-btn, #FF3EA5); color: #0B0A12; border: 0; font-weight: 700; }

/* Páginas de texto */
.cr-pagina { padding: 64px 0 96px; }
.cr-container--angosto { max-width: 860px; }
.cr-pagina .cr-h { font-size: clamp(34px, 5vw, 56px); }
.cr-rte { color: rgba(255,255,255,.82); line-height: 1.7; }
.cr-rte a { color: var(--neon-rosa, #FF3EA5); }
.cr-rte h2, .cr-rte h3 { color: #fff; margin: 1.6em 0 .5em; }
.cr-rte table { width: 100%; border-collapse: collapse; }
.cr-rte td, .cr-rte th { border: 1px solid rgba(255,255,255,.12); padding: 8px 10px; }

/* Formularios genéricos */
.cr-contacto { padding: 24px 0 96px; }

/* Reseñas (WooCommerce) */
.cr-res__estrellas { color: rgba(255,255,255,.25); letter-spacing: 2px; }
.cr-res__e.is-on { color: #FFE14D; }
.cr-res__resumen { font-size: 17px; margin: 0 0 18px; color: #fff; }
.cr-res__lista { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.cr-res__item { background: rgba(21,19,31,.85); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 18px 20px; }
.cr-res__autor { margin: 6px 0; font-weight: 700; color: #fff; }
.cr-res__autor span { font-weight: 400; color: rgba(255,255,255,.55); font-size: 14px; margin-left: 6px; }
.cr-res__txt p { margin: 0; color: rgba(255,255,255,.82); }
.cr-res__escribir summary { list-style: none; cursor: pointer; display: inline-flex; }
.cr-res__escribir summary::-webkit-details-marker { display: none; }
.cr-res__form { margin-top: 18px; display: grid; gap: 14px; max-width: 720px; }
.cr-res__puntaje { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.cr-res__puntaje legend { width: 100%; margin-bottom: 6px; color: rgba(255,255,255,.75); }
.cr-res__puntaje input { position: absolute; opacity: 0; }
.cr-res__puntaje label { font-size: 30px; color: rgba(255,255,255,.25); cursor: pointer; }
.cr-res__puntaje input:checked ~ label, .cr-res__puntaje label:hover, .cr-res__puntaje label:hover ~ label { color: #FFE14D; }

/* WooCommerce: carrito, pago y mi cuenta en modo oscuro */
.cr-woo { padding: 48px 0 96px; }
.cr-woo .cr-rte { color: #fff; }
.woocommerce, .wc-block-cart, .wc-block-checkout { color: #fff; font-family: 'Lexend', 'Inter', sans-serif; }
.cr-woo input[type="text"], .cr-woo input[type="email"], .cr-woo input[type="tel"], .cr-woo input[type="password"], .cr-woo input[type="number"], .cr-woo select, .cr-woo textarea,
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input, .wc-blocks-components-select__select {
  background: rgba(255,255,255,.05) !important; color: #fff !important; border-color: rgba(255,255,255,.2) !important; border-radius: 12px !important; }
.wc-block-components-text-input label, .wc-block-components-combobox label, .wc-blocks-components-select__label { color: rgba(255,255,255,.7) !important; }
.wc-block-components-button:not(.is-link), .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce .button.alt {
  background: var(--neon-grad-btn, #FF3EA5) !important; color: #0B0A12 !important; border: 0 !important; border-radius: 14px !important; font-weight: 700 !important; }
.wc-block-components-totals-item, .wc-block-components-order-summary, .wc-block-cart-items, .wc-block-components-panel, .wc-block-components-checkout-step__description { color: #fff; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar, .wc-block-checkout__sidebar { background: rgba(21,19,31,.85); border: 1px solid rgba(255,255,255,.09); border-radius: 20px; padding: 20px; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: rgba(255,255,255,.15) !important; }
.wc-block-components-product-name, .wc-block-components-product-name:hover { color: #fff !important; }
.wc-block-cart-item__image img { border-radius: 12px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { background: #13111C !important; color: #fff !important; border-radius: 14px !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { background: transparent; border-color: rgba(255,255,255,.4); }
