/* =========================================
   CASHORA OVERRIDES — CLEAN + FIXED (FINAL)
   - Sticky stack (3 barras)
   - Dropdown NAV (hover real)
   - Dropdown buscador (hover real)
   - Dark mode buscador + dropdowns
   - Legacy ch-cat-* (compatibilidad)
   ========================================= */

/* =========================
   TOPBAR ROJA
   ========================= */
.chyo-topbar{
  padding: 0 !important;
}

/* container flex */
.chyo-topbar .container{
  display: flex !important;
  align-items: center !important;
}

/* Evita saltos verticales por line-height */
.chyo-topbar a{ line-height: 0 !important; }
.chyo-topbar img{ display:block !important; }

/* Buscador centrado */
.chyo-topbar .chyo-search{
  margin: 0 !important;
  align-self: center !important;
}

/* Botón buscar centrado */
.chyo-topbar .chyo-search__btn{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

header form.search-bar-container.chyo-search .chyo-search__btn{
  min-width: 140px;
  padding-inline: 28px;
  white-space: nowrap;
}

/* ==========================
   STICKY STACK (3 barras)
   ========================== */
:root{
  --chyo-topbar-h: 0px;
  --chyo-pills-h: 0px;
  --chyo-tabs-h: 0px;
}

header.chyo-header{
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* 1) Barra roja */
header .chyo-topbar{
  position: sticky;
  top: 0;
  z-index: 1003;
}

/* 2) Barra pills */
header .chyo-pills{
  position: sticky;
  top: var(--chyo-topbar-h);
  z-index: 1002;

  background: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);

  /* CLAVE: permitir dropdowns */
  overflow: visible !important;
}

header .chyo-pills > .container{
  overflow: visible !important;
  background-color: #fff !important;
  background-image: none !important;
}

/* 3) Barra tabs */
header .chyo-tabs{
  position: sticky;
  top: calc(var(--chyo-topbar-h) + var(--chyo-pills-h));
  z-index: 1001;

  background: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);

  overflow: visible !important;
}

header .chyo-tabs > .container{
  overflow: visible !important;
  background-color: #fff !important;
  background-image: none !important;
}

/* Refuerza blanco al scrollear */
html.chyo-scrolled header .chyo-pills,
html.chyo-scrolled header .chyo-tabs{
  background: #fff !important;
}

/* Quita blur/transparencias heredadas */
header .chyo-pills,
header .chyo-tabs{
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate;
}

header .chyo-pills::before,
header .chyo-tabs::before{
  content:"";
  position:absolute;
  inset:0;
  background:#fff;
  z-index:-1;
}

/* Dark sólido */
html.dark header .chyo-pills,
html.dark header .chyo-tabs{
  background: #0f1422 !important;
  border-bottom-color: rgba(255,255,255,.10);
}

html.dark header .chyo-pills,
html.dark header .chyo-tabs,
html.dark header .chyo-pills > .container,
html.dark header .chyo-tabs > .container,
html.dark header .chyo-pills::before,
html.dark header .chyo-tabs::before{
  background-color: #0f1422 !important;
  background-image: none !important;
  border-bottom-color: rgba(255,255,255,.10);
}

/* =========================
   KPI DOTS
   ========================= */
.chyo-kpiDot{ box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.chyo-kpiDot--green{ background: #16a34a; }
.chyo-kpiDot--amber{ background: #f59e0b; }
.chyo-kpiDot--red{ background: #ef4444; }

/* =========================
   (LEGACY) Dropdown ch-cat-*
   ========================= */
.ch-cat-hover{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ch-cat-hover:hover .ch-cat-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ch-cat-trigger{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
}

.ch-cat-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 280px;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 8px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;

  z-index: 9999;
}

.ch-cat-item{
  display: flex;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
}

.ch-cat-item:hover{ background: rgba(0,0,0,.05); }

.ch-cat-footer{
  border-top: 1px solid rgba(0,0,0,.08);
  margin-top: 6px;
  padding-top: 6px;
}

.ch-cat-all{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.ch-cat-all:hover{ background: rgba(0,0,0,.05); }

/* ======================================
   DROPDOWN NAV (pills) — HOVER REAL
   ====================================== */

/* nav tiene overflow-x-auto; permitir overflow-y */
header .chyo-pills nav{
  overflow-x: auto !important;
  overflow-y: visible !important;
  position: relative;
}

/* Wrapper */
.chyo-navcats{
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

/* ✅ OPEN ON HOVER (CSS NORMAL) */
.chyo-navcats:hover .chyo-navcats__menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* ✅ OPEN ON CLICK (mobile/touch) */
.chyo-navcats.is-open .chyo-navcats__menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Botón */
.chyo-navcats__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.chyo-navcats__btn:hover{
  background: #f5f6f7;
  border-color: #dfe0e4;
  color: #111827;
}

/* Menú (cerrado con opacity/visibility) */
.chyo-navcats__menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 999999;

  width: 288px;
  max-height: 360px;
  overflow: auto;

  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  box-shadow:0 14px 40px rgba(0,0,0,.12);
  padding: 8px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;

  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

/* Mantener abierto al pasar al menú */
.chyo-navcats__menu:hover{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.chyo-navcats__item{
  display:block;
  padding:10px 14px;
  border-radius: 10px;
  margin: 2px 8px;
  text-decoration:none;
  color:#111827;
  font-size:14px;
}

.chyo-navcats__item:hover{ background: rgba(0,0,0,.05); }

.chyo-navcats__divider{
  height:1px;
  background: rgba(0,0,0,.08);
  margin: 8px 12px;
}

.chyo-navcats__item--strong{ font-weight: 800; }

/* ======================================
   SEARCH BAR (LIGHT/DARK) + DROPDOWN
   ====================================== */
.chyo-search{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
}

.chyo-search__input{
  color:#111827;
}
.chyo-search__input::placeholder{ color:#6b7280; }

/* Dropdown categorías dentro del buscador */
.chyo-searchcats{
  position: relative;
  height: 100%;
  display:flex;
  align-items:center;
  padding-left: 8px;
  flex: 0 0 auto;
}

/* ✅ OPEN ON HOVER (CSS NORMAL) */
.chyo-searchcats:hover .chyo-searchcats__menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.chyo-searchcats__btn{
  height:100%;
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 800;
  font-size: 14px;
  color:#374151;
  text-decoration:none;
  border-right:1px solid rgba(0,0,0,.10);
  margin-right: 8px;
  white-space: nowrap;
}

.chyo-searchcats__label{
  max-width: 120px;
  overflow:hidden;
  text-overflow: ellipsis;
}

/* Menú buscador */
.chyo-searchcats__menu{
  position:absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 999999;

  width: 224px;
  max-height: 360px;
  overflow: auto;

  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  box-shadow:0 14px 40px rgba(0,0,0,.12);
  padding: 8px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;

  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.chyo-searchcats__menu:hover{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.chyo-searchcats__item{
  display:block;
  padding:10px 14px;
  margin: 2px 8px;
  border-radius: 10px;
  color:#111827;
  text-decoration:none;
  font-size:14px;
}

.chyo-searchcats__item:hover{ background: rgba(0,0,0,.05); }

.chyo-searchcats__divider{
  height:1px;
  background: rgba(0,0,0,.08);
  margin: 8px 12px;
}

.chyo-searchcats__item--strong{ font-weight: 800; }

/* ===== Dark mode buscador + dropdowns ===== */
html.dark .chyo-search{
  background:#0b1220;
  border:1px solid rgba(255,255,255,.12);
}

html.dark .chyo-search__input{
  color:#f9fafb;
}
html.dark .chyo-search__input::placeholder{
  color: rgba(249,250,251,.60);
}

html.dark .chyo-searchcats__btn{
  color: rgba(249,250,251,.88);
  border-right-color: rgba(255,255,255,.14);
}

html.dark .chyo-navcats__menu,
html.dark .chyo-searchcats__menu{
  background:#0f1422;
  border-color: rgba(255,255,255,.12);
}

html.dark .chyo-navcats__item,
html.dark .chyo-searchcats__item{
  color:#f9fafb;
}

html.dark .chyo-navcats__item:hover,
html.dark .chyo-searchcats__item:hover{
  background: rgba(255,255,255,.06);
}

html.dark .chyo-navcats__divider,
html.dark .chyo-searchcats__divider{
  background: rgba(255,255,255,.10);
}

html.dark .chyo-navcats__btn{
  color: rgba(249,250,251,.88);
  border-color: transparent;
}

html.dark .chyo-navcats__btn:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: #fff;
}

/* Evita recortes del menú */
header .chyo-pills,
header .chyo-pills nav{
  overflow-y: visible !important;
}
/* ===========================
   FIX: dropdown no empuja layout
   =========================== */

/* el wrapper debe ser el “anchor” del absolute */
.chyo-navcats,
.chyo-searchcats{
  position: relative !important;
}

/* fuerza overlay real (no en flujo) */
.chyo-navcats__menu,
.chyo-searchcats__menu{
  position: absolute !important;
  left: 0 !important;
  top: calc(100% + 10px) !important;
  display: block !important;      /* importante: aunque esté oculto por opacity */
}

/* si algún CSS te lo está convirtiendo en “static”, esto lo mata */
.chyo-navcats__menu * ,
.chyo-searchcats__menu *{
  position: relative;
}

/* =========================================
   HEADER NAV
   Categorías: hover tipo "pastilla" como el resto
   ========================================= */
.chyo-navcats__btn.chyo-navlink{
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  padding: 10px 14px !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease !important;
}

.chyo-navcats__btn.chyo-navlink:hover,
.chyo-navcats:hover .chyo-navcats__btn.chyo-navlink,
.chyo-navcats:focus-within .chyo-navcats__btn.chyo-navlink{
  background: rgba(0,0,0,.06) !important;
  border-color: rgba(0,0,0,.14) !important;
}

html.dark .chyo-navcats__btn.chyo-navlink:hover,
html.dark .chyo-navcats:hover .chyo-navcats__btn.chyo-navlink,
html.dark .chyo-navcats:focus-within .chyo-navcats__btn.chyo-navlink,
html[data-theme="dark"] .chyo-navcats__btn.chyo-navlink:hover,
html[data-theme="dark"] .chyo-navcats:hover .chyo-navcats__btn.chyo-navlink,
html[data-theme="dark"] .chyo-navcats:focus-within .chyo-navcats__btn.chyo-navlink{
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.16) !important;
}

/* =========================================
   FOOTER CHOLLOYA (Cashora-style)
   ========================================= */
.chyo-footer{
  margin-top: 40px;
  border-top: 1px solid rgba(0,0,0,.10);
  background:
    radial-gradient(1200px 320px at 20% -30%, rgba(200,16,40,.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.chyo-footer__inner{
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 28px;
  padding: 36px 0 28px;
}

.chyo-footer__brand{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chyo-footer__logo img{
  width: 150px;
  height: auto;
  display: block;
}

.chyo-footer__tagline{
  color: #475569;
  max-width: 360px;
  line-height: 1.55;
}

.chyo-footer__cta{
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #c81028;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
}

.chyo-footer__cta:hover{
  background: #ad1024;
}

.chyo-footer__cols{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.chyo-footer__col{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chyo-footer__col h4{
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.chyo-footer__col a,
.chyo-footer__col p{
  color: #475569;
  text-decoration: none;
  line-height: 1.5;
  margin: 0;
}

.chyo-footer__col a:hover{
  color: #c81028;
}

.chyo-footer__bottom{
  border-top: 1px solid rgba(0,0,0,.08);
}

.chyo-footer__bottomInner{
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 1024px){
  .chyo-footer__inner{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  .chyo-footer__cols{
    grid-template-columns: 1fr 1fr;
  }
  .chyo-footer__bottomInner{
    min-height: 0;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px){
  .chyo-footer__cols{
    grid-template-columns: 1fr;
  }
}

html.dark .chyo-footer,
html[data-theme="dark"] .chyo-footer{
  border-top-color: rgba(255,255,255,.10);
  background:
    radial-gradient(1200px 320px at 20% -30%, rgba(200,16,40,.22), transparent 60%),
    linear-gradient(180deg, #0f1422 0%, #0b1120 100%);
}

html.dark .chyo-footer__tagline,
html.dark .chyo-footer__col a,
html.dark .chyo-footer__col p,
html.dark .chyo-footer__bottomInner,
html[data-theme="dark"] .chyo-footer__tagline,
html[data-theme="dark"] .chyo-footer__col a,
html[data-theme="dark"] .chyo-footer__col p,
html[data-theme="dark"] .chyo-footer__bottomInner{
  color: rgba(248,250,252,.82);
}

html.dark .chyo-footer__col h4,
html[data-theme="dark"] .chyo-footer__col h4{
  color: #f8fafc;
}

html.dark .chyo-footer__col a:hover,
html[data-theme="dark"] .chyo-footer__col a:hover{
  color: #f7b133;
}

html.dark .chyo-footer__bottom,
html[data-theme="dark"] .chyo-footer__bottom{
  border-top-color: rgba(255,255,255,.10);
}

/* =========================================
   FINAL PATCH
   - Categorías ticker fallback (cuando Swiper no re-inicializa)
   - Hover Categorías tipo píldora + subrayado azul
   - Tiendas visual upgrade
   - Footer social
   ========================================= */

@keyframes chyoTickerLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes chyoTickerRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.deals-slide1:not(.swiper-initialized),
.deals-slide2:not(.swiper-initialized){
  overflow: hidden;
}

.deals-slide1:not(.swiper-initialized) .swiper-wrapper,
.deals-slide2:not(.swiper-initialized) .swiper-wrapper{
  display: flex;
  width: max-content;
  will-change: transform;
}

.deals-slide1:not(.swiper-initialized) .swiper-wrapper{
  animation: chyoTickerLeft 26s linear infinite;
}

.deals-slide2:not(.swiper-initialized) .swiper-wrapper{
  animation: chyoTickerRight 26s linear infinite;
}

@media (prefers-reduced-motion: reduce){
  .deals-slide1:not(.swiper-initialized) .swiper-wrapper,
  .deals-slide2:not(.swiper-initialized) .swiper-wrapper{
    animation: none;
  }
}

.chyo-navcats__btn-main{
  position: relative;
  z-index: 2;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.chyo-navcats__btn-main::after{
  background: #2563eb !important;
}

.chyo-navcats__btn-main:hover,
.chyo-navcats:hover .chyo-navcats__btn-main,
.chyo-navcats:focus-within .chyo-navcats__btn-main{
  background: rgba(0,0,0,.06) !important;
  border-color: rgba(0,0,0,.14) !important;
}

html.dark .chyo-navcats__btn-main:hover,
html.dark .chyo-navcats:hover .chyo-navcats__btn-main,
html.dark .chyo-navcats:focus-within .chyo-navcats__btn-main,
html[data-theme="dark"] .chyo-navcats__btn-main:hover,
html[data-theme="dark"] .chyo-navcats:hover .chyo-navcats__btn-main,
html[data-theme="dark"] .chyo-navcats:focus-within .chyo-navcats__btn-main{
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.16) !important;
}

.ch-stores-hero{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  background:
    radial-gradient(120% 140% at 90% -20%, rgba(37,99,235,.14) 0%, transparent 55%),
    radial-gradient(130% 140% at -10% 120%, rgba(200,16,40,.12) 0%, transparent 58%),
    #ffffff;
  display: grid;
  gap: 16px;
}

.ch-stores-hero__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ch-stores-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(248,250,252,.95);
  color: #334155;
  padding: 8px 12px;
  font-size: 14px;
}

.ch-stores-grid{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 768px){
  .ch-stores-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px){
  .ch-stores-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ch-store-card{
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 16px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ch-store-card:hover{
  transform: translateY(-3px);
  border-color: rgba(37,99,235,.28);
  box-shadow: 0 12px 28px rgba(15,23,42,.10);
}

.ch-store-card__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ch-store-card__brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ch-store-card__logo{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.ch-store-card__title{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-store-card__subtitle{
  margin: 3px 0 0;
  font-size: 13px;
  color: #64748b;
}

.ch-store-card__arrow{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  flex-shrink: 0;
}

.ch-store-card__foot{
  display: flex;
  justify-content: flex-start;
}

.ch-store-card__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c81028;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
}

html.dark .ch-stores-hero,
html[data-theme="dark"] .ch-stores-hero{
  border-color: rgba(255,255,255,.12);
  background:
    radial-gradient(120% 140% at 90% -20%, rgba(37,99,235,.22) 0%, transparent 55%),
    radial-gradient(130% 140% at -10% 120%, rgba(200,16,40,.22) 0%, transparent 58%),
    #111827;
}

html.dark .ch-stores-pill,
html[data-theme="dark"] .ch-stores-pill{
  border-color: rgba(255,255,255,.14);
  background: rgba(15,23,42,.8);
  color: rgba(248,250,252,.9);
}

html.dark .ch-store-card,
html[data-theme="dark"] .ch-store-card{
  border-color: rgba(255,255,255,.12);
  background: linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
}

html.dark .ch-store-card:hover,
html[data-theme="dark"] .ch-store-card:hover{
  border-color: rgba(247,177,51,.45);
  box-shadow: 0 14px 30px rgba(0,0,0,.36);
}

html.dark .ch-store-card__title,
html[data-theme="dark"] .ch-store-card__title{
  color: #f8fafc;
}

html.dark .ch-store-card__subtitle,
html[data-theme="dark"] .ch-store-card__subtitle{
  color: rgba(248,250,252,.72);
}

html.dark .ch-store-card__logo,
html[data-theme="dark"] .ch-store-card__logo,
html.dark .ch-store-card__arrow,
html[data-theme="dark"] .ch-store-card__arrow{
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: rgba(248,250,252,.9);
}

.chyo-footer__social-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chyo-footer__social-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 999px;
  padding: 8px 10px;
  line-height: 1;
  font-size: 13px;
}

.chyo-footer__social-link i{
  font-size: 16px;
}

.chyo-footer__social-link:hover{
  border-color: rgba(200,16,40,.45);
  background: rgba(200,16,40,.08);
  color: #c81028 !important;
}

html.dark .chyo-footer__social-link,
html[data-theme="dark"] .chyo-footer__social-link{
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.02);
}

html.dark .chyo-footer__social-link:hover,
html[data-theme="dark"] .chyo-footer__social-link:hover{
  border-color: rgba(247,177,51,.55);
  background: rgba(247,177,51,.12);
  color: #f7b133 !important;
}

.chyo-footer__cols{
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

@media (max-width: 1024px){
  .chyo-footer__cols{
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* =========================================
   PÁGINAS ESTÁTICAS (Empresa/Comunidad/Legal/Club)
   ========================================= */
.chyo-static-hero{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 20px;
  background:
    radial-gradient(120% 130% at 95% -25%, rgba(37,99,235,.16) 0%, transparent 56%),
    radial-gradient(120% 130% at -5% 125%, rgba(200,16,40,.12) 0%, transparent 58%),
    #ffffff;
  padding: 24px;
  margin-bottom: 18px;
}

.chyo-static-hero h1{
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  color: #0f172a;
  font-weight: 900;
}

.chyo-static-hero p{
  margin: 10px 0 0;
  color: #475569;
  max-width: 840px;
}

.chyo-static-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.chyo-static-grid--2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chyo-static-card{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
}

.chyo-static-card h3{
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
}

.chyo-static-card p{
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.chyo-static-list{
  margin: 12px 0 0;
  padding: 0 0 0 20px;
  color: #334155;
  line-height: 1.6;
}

.chyo-static-list li + li{
  margin-top: 6px;
}

.chyo-static-banner{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chyo-static-banner h3{
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
}

.chyo-static-banner p{
  margin: 8px 0 0;
  color: #475569;
}

.chyo-static-banner__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chyo-changelog-hero{
  margin-bottom: 16px;
}

.chyo-changelog-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chyo-release-pill{
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15,23,42,.14);
  background: #f8fafc;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #1f2937;
}

.chyo-release-pill--accent{
  border-color: rgba(200,16,40,.22);
  background: rgba(200,16,40,.10);
  color: #8f1223;
}

.chyo-changelog-list{
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.chyo-release{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
}

.chyo-release__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.chyo-release__head time{
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.chyo-release h3{
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
}

.btn-outline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15,23,42,.16);
  border-radius: 999px;
  padding: 10px 16px;
  color: #0f172a;
  font-weight: 700;
  background: #ffffff;
}

.btn-outline:hover{
  border-color: rgba(200,16,40,.45);
  color: #c81028;
}

.chyo-form-card{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  background: #ffffff;
  padding: 20px;
}

.chyo-form-card h3{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.chyo-form-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.chyo-form-grid__full{
  grid-column: 1 / -1;
}

.chyo-form-grid label{
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.chyo-form-grid input,
.chyo-form-grid textarea,
.chyo-form-grid select{
  width: 100%;
  border: 1px solid rgba(15,23,42,.14);
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  color: #0f172a;
}

.chyo-faq-wrap,
.chyo-rules-wrap{
  display: grid;
  gap: 14px;
}

.chyo-faq-section{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
}

.chyo-faq-section h2{
  margin: 0 0 12px;
  font-size: 24px;
  color: #0f172a;
}

.chyo-faq-items{
  display: grid;
  gap: 8px;
}

.chyo-faq-item{
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 12px;
  background: #f8fafc;
  padding: 0 12px;
}

.chyo-faq-item summary{
  list-style: none;
  cursor: pointer;
  padding: 12px 0;
  font-weight: 700;
  color: #0f172a;
}

.chyo-faq-item p{
  margin: 0 0 12px;
  color: #475569;
  line-height: 1.55;
}

.chyo-club-summary{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.chyo-club-number{
  font-size: 32px;
  font-weight: 900;
  color: #c81028 !important;
}

.chyo-table-wrap{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  overflow: auto;
  margin: 16px 0;
  background: #ffffff;
}

.chyo-club-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.chyo-club-table th,
.chyo-club-table td{
  border-bottom: 1px solid rgba(15,23,42,.10);
  text-align: left;
  padding: 10px 12px;
}

.chyo-club-table th{
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
}

.chyo-club-table td{
  color: #334155;
}

@media (max-width: 992px){
  .chyo-static-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chyo-club-summary{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  .chyo-static-grid,
  .chyo-static-grid--2,
  .chyo-form-grid{
    grid-template-columns: 1fr;
  }
}

html.dark .chyo-static-hero,
html.dark .chyo-static-card,
html.dark .chyo-form-card,
html.dark .chyo-faq-section,
html.dark .chyo-table-wrap,
html.dark .chyo-release,
html[data-theme="dark"] .chyo-static-hero,
html[data-theme="dark"] .chyo-static-card,
html[data-theme="dark"] .chyo-form-card,
html[data-theme="dark"] .chyo-faq-section,
html[data-theme="dark"] .chyo-table-wrap,
html[data-theme="dark"] .chyo-release{
  border-color: rgba(255,255,255,.12);
  background: #0f172a;
}

html.dark .chyo-static-hero h1,
html.dark .chyo-static-card h3,
html.dark .chyo-faq-section h2,
html.dark .chyo-form-card h3,
html.dark .chyo-faq-item summary,
html.dark .chyo-release h3,
html[data-theme="dark"] .chyo-static-hero h1,
html[data-theme="dark"] .chyo-static-card h3,
html[data-theme="dark"] .chyo-faq-section h2,
html[data-theme="dark"] .chyo-form-card h3,
html[data-theme="dark"] .chyo-faq-item summary,
html[data-theme="dark"] .chyo-release h3{
  color: #f8fafc;
}

html.dark .chyo-static-hero p,
html.dark .chyo-static-card p,
html.dark .chyo-static-list,
html.dark .chyo-faq-item p,
html.dark .chyo-club-table td,
html.dark .chyo-release__head time,
html[data-theme="dark"] .chyo-static-hero p,
html[data-theme="dark"] .chyo-static-card p,
html[data-theme="dark"] .chyo-static-list,
html[data-theme="dark"] .chyo-faq-item p,
html[data-theme="dark"] .chyo-club-table td,
html[data-theme="dark"] .chyo-release__head time{
  color: rgba(248,250,252,.82);
}

html.dark .chyo-release-pill,
html[data-theme="dark"] .chyo-release-pill{
  border-color: rgba(255,255,255,.20);
  background: #111827;
  color: #f8fafc;
}

html.dark .chyo-release-pill--accent,
html[data-theme="dark"] .chyo-release-pill--accent{
  border-color: rgba(247,177,51,.40);
  background: rgba(247,177,51,.14);
  color: #f7d78d;
}

html.dark .chyo-faq-item,
html.dark .chyo-club-table th,
html[data-theme="dark"] .chyo-faq-item,
html[data-theme="dark"] .chyo-club-table th{
  border-color: rgba(255,255,255,.16);
  background: #111827;
  color: #f8fafc;
}

html.dark .chyo-form-grid input,
html.dark .chyo-form-grid textarea,
html.dark .chyo-form-grid select,
html[data-theme="dark"] .chyo-form-grid input,
html[data-theme="dark"] .chyo-form-grid textarea,
html[data-theme="dark"] .chyo-form-grid select{
  background: #111827;
  border-color: rgba(255,255,255,.16);
  color: #f8fafc;
}

/* =========================================
   HOTFIX HEADER + CATEGORÍAS + LOGO FOOTER
   ========================================= */

/* Barra búsqueda: anchura estable */
header.chyo-header .chyo-topbar__left{
  flex: 0 0 auto;
}

header.chyo-header .chyo-topbar__center{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding: 0 12px;
}

header.chyo-header .chyo-topbar__right{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

header.chyo-header .chyo-topbar__center .search-bar-container.chyo-search{
  width: min(100%, 760px) !important;
  max-width: 760px !important;
}

@media (max-width: 1200px){
  header.chyo-header .chyo-topbar__center .search-bar-container.chyo-search{
    width: min(100%, 640px) !important;
    max-width: 640px !important;
  }
}

@media (max-width: 860px){
  header.chyo-header .chyo-topbar__center{
    padding: 0 10px;
  }
  header.chyo-header .chyo-topbar__center .search-bar-container.chyo-search{
    width: min(100%, 100%) !important;
  }
}

/* Header: estado claro consistente */
header.chyo-header .chyo-bar--white,
header.chyo-header .chyo-bar--white2{
  background: #ffffff !important;
  border-color: rgba(15,23,42,.12) !important;
}

header.chyo-header .chyo-navlink,
header.chyo-header .chyo-navcats__btn,
header.chyo-header .chyo-tablink,
header.chyo-header .chyo-filterbtn{
  color: #1f2937 !important;
}

/* Header: dark mode sólido y legible */
html.dark header.chyo-header .chyo-bar--white,
html.dark header.chyo-header .chyo-bar--white2,
html[data-theme="dark"] header.chyo-header .chyo-bar--white,
html[data-theme="dark"] header.chyo-header .chyo-bar--white2{
  background: #0f172a !important;
  border-color: rgba(255,255,255,.12) !important;
}

html.dark header.chyo-header .chyo-navlink,
html.dark header.chyo-header .chyo-navcats__btn,
html.dark header.chyo-header .chyo-tablink,
html.dark header.chyo-header .chyo-filterbtn,
html[data-theme="dark"] header.chyo-header .chyo-navlink,
html[data-theme="dark"] header.chyo-header .chyo-navcats__btn,
html[data-theme="dark"] header.chyo-header .chyo-tablink,
html[data-theme="dark"] header.chyo-header .chyo-filterbtn{
  color: rgba(248,250,252,.92) !important;
}

html.dark header.chyo-header .chyo-tablink,
html.dark header.chyo-header .chyo-filterbtn,
html[data-theme="dark"] header.chyo-header .chyo-tablink,
html[data-theme="dark"] header.chyo-header .chyo-filterbtn{
  background: #111827 !important;
  border-color: rgba(255,255,255,.16) !important;
}

/* Categorías: iconos homogéneos */
.chyo-category-bubble{
  display: flex;
  align-items: center;
  justify-content: center;
}

.chyo-category-icon{
  width: 58%;
  height: 58%;
  object-fit: contain;
  display: block;
}

/* Footer logo único */
.chyo-footer__logo{
  display: inline-flex;
  align-items: center;
}

.chyo-footer__logo .chyo-footer__logo-img{
  display: block;
  width: 150px;
  height: auto;
  max-width: 100%;
}

/* =========================================
   FIX FINAL: TOPBAR SEARCH (anula estilos viejos)
   ========================================= */
header.chyo-header .chyo-topbar{
  background: #c81028 !important;
  padding: 0 !important;
}

header.chyo-header .chyo-topbar__inner{
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 42px !important;
  padding: 0 !important;
}

header.chyo-header .search-bar-container.chyo-search{
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  height: 40px !important;
  padding: 3px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(15, 23, 42, 0.22) !important;
  background: #ffffff !important;
  box-shadow: 0 8px 20px rgba(2, 24, 20, 0.18) !important;
  overflow: hidden !important;
}

header.chyo-header .search-bar-container.chyo-search input[type="text"],
header.chyo-header .search-bar-container.chyo-search input[type="search"],
header.chyo-header .search-bar-container.chyo-search input{
  flex: 1 1 auto !important;
  width: auto !important;
  height: 100% !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #1f2937 !important;
  outline: none !important;
}

header.chyo-header .search-bar-container.chyo-search .chyo-search__btn{
  position: static !important;
  transform: none !important;
  right: auto !important;
  top: auto !important;
  width: auto !important;
  min-width: 112px !important;
  height: 100% !important;
  line-height: normal !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #c81028 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

header.chyo-header .chyo-topbar__logo{
  height: 32px !important;
  width: auto !important;
}

header.chyo-header .chyo-iconbtn,
header.chyo-header .chyo-alertbtn{
  width: 38px !important;
  height: 38px !important;
}

header.chyo-header .chyo-loginbtn{
  height: 38px !important;
  padding: 0 12px !important;
}

header.chyo-header .search-bar-container.chyo-search .chyo-search__btn:hover{
  background: #ad1024 !important;
}

html.dark header.chyo-header .search-bar-container.chyo-search,
html[data-theme="dark"] header.chyo-header .search-bar-container.chyo-search,
body.theme-dark header.chyo-header .search-bar-container.chyo-search{
  border-color: rgba(148, 163, 184, 0.36) !important;
  background: #0b1220 !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
}

html.dark header.chyo-header .search-bar-container.chyo-search input,
html[data-theme="dark"] header.chyo-header .search-bar-container.chyo-search input,
body.theme-dark header.chyo-header .search-bar-container.chyo-search input{
  color: #f8fafc !important;
}

@media (max-width: 860px){
  header.chyo-header .chyo-topbar__inner{
    grid-template-columns: 1fr !important;
  }

  header.chyo-header .chyo-topbar__center{
    padding: 0 !important;
  }

  header.chyo-header .search-bar-container.chyo-search{
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================
   FIX HOME / SIDEBAR / COMMENTS / NAV HOVER
   ========================================= */
section.spy[data-infinite-home="offers"]{
  padding-top: 10px !important;
  padding-bottom: 34px !important;
}

section.spy[data-infinite-home="offers"] .grid{
  align-items: start !important;
}

header.chyo-header .chyo-mainnav .chyo-navlink{
  transition: color .18s ease !important;
}

header.chyo-header .chyo-mainnav .chyo-navlink:hover,
header.chyo-header .chyo-mainnav .chyo-navlink:focus{
  color: #f59e0b !important;
  text-decoration: none !important;
}

html.dark header.chyo-header .chyo-mainnav .chyo-navlink:hover,
html.dark header.chyo-header .chyo-mainnav .chyo-navlink:focus,
html[data-theme="dark"] header.chyo-header .chyo-mainnav .chyo-navlink:hover,
html[data-theme="dark"] header.chyo-header .chyo-mainnav .chyo-navlink:focus{
  color: #f59e0b !important;
}

.ch-home-aside .ch-mostvoted-meta{
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  column-gap: 8px !important;
  row-gap: 4px !important;
}

.ch-home-aside .ch-mostvoted-price{
  font-weight: 700 !important;
  margin-right: 2px;
}

.ch-home-aside .ch-mostvoted-old{
  opacity: .85;
  text-decoration-thickness: 1px;
  margin-right: 2px;
}

.ch-home-aside .ch-mostvoted-sep{
  opacity: .65;
}

.ch-home-aside .ch-mostvoted-likes{
  white-space: nowrap;
}

.ch-comment-composer{
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  padding: 12px;
}

.ch-comment-hp{
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ch-comment-hp-input{
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ch-comment-file-input{
  display: none !important;
}

.ch-comment-editor{
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.ch-comment-toolbar{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

.ch-comment-tool{
  border: 0;
  background: transparent;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .18s ease;
}

.ch-comment-tool:hover{
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.ch-comment-upload-meta{
  min-height: 18px;
}

.ch-comment-status{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #f8fafc;
  color: #475569;
}

.ch-comment-status--pending{
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.ch-comment-status--spam,
.ch-comment-status--deleted{
  border-color: rgba(200, 16, 40, 0.40);
  background: rgba(200, 16, 40, 0.10);
  color: #8f1223;
}

.ch-comment-media{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  max-width: 560px;
}

.ch-comment-media a{
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.ch-comment-media img{
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

textarea.ch-comment-input{
  display: block;
  width: 100%;
  min-height: 170px;
  font-size: 1rem;
  resize: vertical;
  border: 0 !important;
  outline: 0 !important;
  padding: 14px 16px;
  line-height: 1.55;
  color: #1f2937;
  background: #fff !important;
}

textarea.ch-comment-input::placeholder{
  color: #94a3b8;
}

.ch-emoji-popover{
  position: absolute;
  z-index: 1600;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(2, 24, 20, 0.20);
  overflow: hidden;
}

.ch-emoji-popover emoji-picker{
  width: 100%;
  height: 360px;
}

.ch-emoji-fallback{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.ch-emoji-fallback__btn{
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #f8fafc;
  border-radius: 10px;
  font-size: 22px;
  line-height: 1;
  padding: 8px 0;
  cursor: pointer;
}

.ch-emoji-fallback__btn:hover{
  border-color: rgba(200, 16, 40, 0.35);
  background: rgba(200, 16, 40, 0.08);
}

.ch-reply-emoji-btn{
  border: 0;
  background: transparent;
  color: #475569;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .18s ease;
}

.ch-reply-emoji-btn:hover{
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

html.dark .ch-comment-composer,
html[data-theme="dark"] .ch-comment-composer{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.12);
}

html.dark .ch-comment-editor,
html[data-theme="dark"] .ch-comment-editor{
  background: #0b1220;
  border-color: rgba(255, 255, 255, 0.16);
}

html.dark .ch-comment-toolbar,
html[data-theme="dark"] .ch-comment-toolbar{
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

html.dark .ch-comment-tool,
html[data-theme="dark"] .ch-comment-tool{
  color: rgba(248, 250, 252, 0.82);
}

html.dark .ch-comment-tool:hover,
html[data-theme="dark"] .ch-comment-tool:hover{
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

html.dark .ch-comment-status,
html[data-theme="dark"] .ch-comment-status{
  border-color: rgba(255,255,255,.20);
  background: #111827;
  color: #e2e8f0;
}

html.dark .ch-comment-status--pending,
html[data-theme="dark"] .ch-comment-status--pending{
  border-color: rgba(247, 177, 51, 0.45);
  background: rgba(247, 177, 51, 0.14);
  color: #f7d78d;
}

html.dark .ch-comment-status--spam,
html.dark .ch-comment-status--deleted,
html[data-theme="dark"] .ch-comment-status--spam,
html[data-theme="dark"] .ch-comment-status--deleted{
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}

html.dark .ch-comment-media a,
html[data-theme="dark"] .ch-comment-media a{
  border-color: rgba(255,255,255,.20);
}

html.dark .ch-emoji-popover,
html[data-theme="dark"] .ch-emoji-popover{
  background: #0f172a;
  border-color: rgba(255,255,255,.20);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

html.dark .ch-emoji-fallback__btn,
html[data-theme="dark"] .ch-emoji-fallback__btn{
  border-color: rgba(255,255,255,.18);
  background: #111827;
}

html.dark .ch-reply-emoji-btn,
html[data-theme="dark"] .ch-reply-emoji-btn{
  color: rgba(248, 250, 252, 0.82);
}

html.dark .ch-reply-emoji-btn:hover,
html[data-theme="dark"] .ch-reply-emoji-btn:hover{
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

html.dark textarea.ch-comment-input,
html[data-theme="dark"] textarea.ch-comment-input{
  background: #0b1220 !important;
  color: #f8fafc;
}

html.dark textarea.ch-comment-input::placeholder,
html[data-theme="dark"] textarea.ch-comment-input::placeholder{
  color: rgba(248, 250, 252, 0.55);
}

/* =========================================
   HOTFIX v2 - Home spacing / colors / marquee
   ========================================= */

/* 1) Más separación real entre tarjetas de oferta */
.ch-deals-list .chm-card + .chm-card{
  margin-top: 24px !important;
}

/* 2) Widget “Más votados” alineado con inicio de tabla/listado */
@media (min-width: 1400px){
  .ch-home-aside{
    padding-top: 82px;
  }
}

/* 3) Precios en naranja (cards + widgets) */
.chm-price{
  color: #f59e0b !important;
}

.ch-home-aside .ch-mostvoted-price{
  color: #f59e0b !important;
}

/* 4) Hover del menú principal: sin subrayado azul */
header.chyo-header .chyo-mainnav .chyo-navlink,
header.chyo-header .chyo-mainnav .chyo-navcats__btn{
  text-decoration: none !important;
  text-decoration-line: none !important;
}

header.chyo-header .chyo-mainnav .chyo-navlink::after,
.chyo-navcats__btn-main::after{
  background: #f59e0b !important;
}

/* 5) Bandas de categorías: en movimiento y rojo corporativo */
.chyo-cats-marquee .deals-slide1{
  background: #c81028 !important;
}

.chyo-cats-marquee .deals-slide2{
  background: #f3f4f6 !important;
}

.chyo-cats-marquee .deals-slide1 .swiper-wrapper,
.chyo-cats-marquee .deals-slide2 .swiper-wrapper{
  display: flex;
  width: max-content;
  will-change: transform;
}

.chyo-cats-marquee .deals-slide1 .swiper-wrapper{
  animation: chyoTickerLeft 26s linear infinite !important;
}

.chyo-cats-marquee .deals-slide2 .swiper-wrapper{
  animation: chyoTickerRight 26s linear infinite !important;
}

/* =========================================
   HOME ALIGN + TOPBAR SCROLL FX
   ========================================= */
section.spy[data-infinite-home="offers"] .ch-home-aside{
  padding-top: 0 !important;
}

header.chyo-header .chyo-topbar{
  transition:
    opacity .26s ease,
    transform .26s ease,
    filter .26s ease,
    max-height .26s ease,
    padding .26s ease,
    margin .26s ease,
    border-color .26s ease;
  transform-origin: top center;
  will-change: opacity, transform, filter, max-height;
  max-height: 180px;
  overflow: hidden;
}

header.chyo-header.chyo-header--topbar-hidden .chyo-topbar{
  opacity: 0;
  transform: translateY(-14px);
  filter: blur(6px);
  pointer-events: none;
  max-height: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-bottom-color: transparent !important;
}

@media (max-width: 991.98px){
  header.chyo-header .chyo-topbar{
    transition: none;
    max-height: none;
    filter: none;
  }

  header.chyo-header.chyo-header--topbar-hidden .chyo-topbar{
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
    max-height: none;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
}

/* =========================================
   HOTFIX v3 - extra spacing + filter panel
   ========================================= */

.ch-deals-list .chm-card + .chm-card{
  margin-top: 24px !important;
}

@media (min-width: 1200px){
  .ch-home-aside{
    padding-top: 96px !important;
  }
}

@media (min-width: 1400px){
  .ch-home-aside{
    padding-top: 118px !important;
  }
}

.chyo-filter{
  position: relative;
}

.chyo-filter-panel{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(92vw, 360px);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.20);
  padding: 12px;
  z-index: 3000;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.chyo-filter-panel.is-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chyo-filter-form{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chyo-filter-row{
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.chyo-filter-row:last-of-type{
  border-bottom: 0;
  padding-bottom: 0;
}

.chyo-filter-check{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #334155;
  font-weight: 600;
  cursor: pointer;
}

.chyo-filter-check input{
  width: 18px;
  height: 18px;
}

.chyo-filter-label{
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.chyo-filter-input{
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
}

.chyo-filter-prices{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chyo-filter-actions{
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chyo-filter-clear{
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
}

.chyo-filter-submit{
  border: 0;
  border-radius: 999px;
  height: 38px;
  padding: 0 18px;
  background: #f97316;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.chyo-filter-empty{
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
}

html.dark .chyo-filter-panel,
html[data-theme="dark"] .chyo-filter-panel{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45);
}

html.dark .chyo-filter-row,
html[data-theme="dark"] .chyo-filter-row{
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

html.dark .chyo-filter-check,
html[data-theme="dark"] .chyo-filter-check{
  color: rgba(248, 250, 252, 0.88);
}

html.dark .chyo-filter-label,
html[data-theme="dark"] .chyo-filter-label{
  color: rgba(248, 250, 252, 0.66);
}

html.dark .chyo-filter-input,
html[data-theme="dark"] .chyo-filter-input{
  background: #0b1220;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.18);
}

html.dark .chyo-filter-clear,
html[data-theme="dark"] .chyo-filter-clear{
  color: rgba(248, 250, 252, 0.76);
}

/* =========================================
   HOTFIX AUTOSUGGEST SEARCH (UI)
   ========================================= */
header.chyo-header .chyo-topbar__center .chyo-search-wrap{
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  justify-content: center !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap > .search-bar-container.chyo-search{
  margin: 0 auto !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest{
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  z-index: 3200 !important;

  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.22) !important;
  overflow: hidden !important;
}

@media (max-width: 1200px){
  header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest{
    width: min(100%, 640px) !important;
    max-width: 640px !important;
  }
}

@media (max-width: 860px){
  header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest{
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
  }
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest[hidden]{
  display: none !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__content{
  max-height: min(72vh, 520px) !important;
  overflow-y: auto !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__section{
  padding: 8px !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__title{
  margin: 4px 8px 8px !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__empty{
  margin: 2px 8px 8px !important;
  color: #6b7280 !important;
  font-size: 13px !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__list{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__row{
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__row--full{
  gap: 0 !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__item{
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 2px !important;
  padding: 10px 10px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  color: #111827 !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__item:hover{
  background: rgba(15, 23, 42, 0.06) !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__icon{
  width: 18px !important;
  min-width: 18px !important;
  text-align: center !important;
  color: #6b7280 !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__texts{
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__main{
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__meta{
  color: #6b7280 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__remove{
  width: 30px !important;
  height: 30px !important;
  margin-right: 2px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #6b7280 !important;
  cursor: pointer !important;
}

header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__remove:hover{
  background: rgba(15, 23, 42, 0.08) !important;
  color: #111827 !important;
}

html.dark header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest,
html[data-theme="dark"] header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest{
  background: #0b1220 !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

html.dark header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__title,
html[data-theme="dark"] header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__title,
html.dark header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__meta,
html[data-theme="dark"] header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__meta,
html.dark header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__icon,
html[data-theme="dark"] header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__icon,
html.dark header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__empty,
html[data-theme="dark"] header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__empty,
html.dark header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__remove,
html[data-theme="dark"] header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__remove{
  color: rgba(226, 232, 240, 0.8) !important;
}

html.dark header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__main,
html[data-theme="dark"] header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__main,
html.dark header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__item,
html[data-theme="dark"] header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__item{
  color: #f8fafc !important;
}

html.dark header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__item:hover,
html[data-theme="dark"] header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__item:hover,
html.dark header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__remove:hover,
html[data-theme="dark"] header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__remove:hover{
  background: rgba(148, 163, 184, 0.14) !important;
  color: #f8fafc !important;
}

/* =========================================
   SEARCH RESULTS BAND
   ========================================= */
.ch-search-results-band{
  background: #eef1f5;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

.ch-search-results-band__inner{
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.ch-search-results-band__title{
  margin: 0;
  color: #0f172a;
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 1000;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ch-search-alert-form{
  margin: 0;
}

.ch-search-alert-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.8);
  color: #3f3f46;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.ch-search-alert-btn i{
  font-size: 18px;
}

.ch-search-alert-btn:hover{
  background: #ffffff;
  color: #111827;
}

@media (max-width: 768px){
  .ch-search-results-band__inner{
    align-items: flex-start;
    flex-direction: column;
  }

  .ch-search-alert-btn{
    width: 100%;
    justify-content: center;
  }
}

html.dark .ch-search-results-band,
html[data-theme="dark"] .ch-search-results-band{
  background: #0f172a;
  border-top-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

html.dark .ch-search-results-band__title,
html[data-theme="dark"] .ch-search-results-band__title{
  color: #f8fafc;
}

html.dark .ch-search-alert-btn,
html[data-theme="dark"] .ch-search-alert-btn{
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.75);
  color: rgba(241, 245, 249, 0.92);
}

html.dark .ch-search-alert-btn:hover,
html[data-theme="dark"] .ch-search-alert-btn:hover{
  background: rgba(30, 41, 59, 0.95);
  color: #ffffff;
}

/* autosuggest thumbs (stores/categories) */
header.chyo-header .chyo-search-suggest__thumb,
header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__thumb{
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  display: block;
}

html.dark header.chyo-header .chyo-search-suggest__thumb,
html[data-theme="dark"] header.chyo-header .chyo-search-suggest__thumb,
html.dark header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__thumb,
html[data-theme="dark"] header.chyo-header .chyo-topbar__center .chyo-search-wrap .chyo-search-suggest__thumb{
  background: #0b1220;
  border-color: rgba(148, 163, 184, 0.35);
}

/* =========================================
   HOTFIX CATEGORIAS HOVER MENU
   ========================================= */
header.chyo-header .chyo-mainnav,
header.chyo-header .chyo-bar__inner{
  overflow: visible !important;
}

header.chyo-header .chyo-navcats{
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

header.chyo-header .chyo-navcats::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

header.chyo-header .chyo-navcats__menu{
  top: calc(100% + 2px) !important;
}

header.chyo-header .chyo-navcats:hover .chyo-navcats__menu,
header.chyo-header .chyo-navcats:focus-within .chyo-navcats__menu,
header.chyo-header .chyo-navcats.is-open .chyo-navcats__menu{
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* =========================================
   MOBILE HEADER COMPACT (Chollometro-like)
   - Menus en una sola linea con scroll horizontal
   - Botones compactos
   - CTA grande oculto en movil para no romper la fila
   ========================================= */
@media (max-width: 768px){
  header.chyo-header .chyo-bar--white .chyo-bar__inner{
    display: block !important;
    padding: 8px 0 !important;
  }

  header.chyo-header .chyo-bar--white .chyo-mainnav{
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: 2px;
  }

  header.chyo-header .chyo-bar--white .chyo-mainnav::-webkit-scrollbar{
    display: none;
  }

  header.chyo-header .chyo-bar--white .chyo-mainnav > *{
    flex: 0 0 auto !important;
  }

  header.chyo-header .chyo-bar--white .chyo-navlink,
  header.chyo-header .chyo-bar--white .chyo-navcats__btn{
    height: 34px !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    line-height: 34px !important;
    white-space: nowrap !important;
  }

  header.chyo-header .chyo-bar--white .chyo-navlink i,
  header.chyo-header .chyo-bar--white .chyo-navcats__btn i{
    font-size: 16px !important;
  }

  header.chyo-header .chyo-bar--white .chyo-navcats{
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  header.chyo-header .chyo-bar--white .chyo-navcats::after,
  header.chyo-header .chyo-bar--white .chyo-navcats__menu{
    display: none !important;
  }

  header.chyo-header .chyo-bar--white .chyo-cta-wrap{
    display: none !important;
  }

  header.chyo-header .chyo-bar--white2 .chyo-bar__inner{
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 0 !important;
  }

  header.chyo-header .chyo-bar--white2 .chyo-tabs{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: 2px;
  }

  header.chyo-header .chyo-bar--white2 .chyo-tabs::-webkit-scrollbar{
    display: none;
  }

  header.chyo-header .chyo-bar--white2 .chyo-tablink{
    flex: 0 0 auto !important;
    height: 34px !important;
    padding: 0 11px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  header.chyo-header .chyo-bar--white2 .chyo-filter{
    flex: 0 0 auto !important;
  }

  header.chyo-header .chyo-bar--white2 .chyo-filterbtn{
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 10px !important;
    gap: 6px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  header.chyo-header .chyo-bar--white2 .chyo-filterbtn i{
    font-size: 16px !important;
  }
}

/* =========================================
   MOBILE TOPBAR LAYOUT
   - Fila 1: logo + buscador
   - Fila 2: notificaciones + tema + cuenta (+ enviar)
   ========================================= */
header.chyo-header .chyo-submitbtn-mobile{
  display: none;
}

@media (max-width: 768px){
  header.chyo-header .chyo-topbar__inner{
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    row-gap: 8px !important;
  }

  header.chyo-header .chyo-topbar__left{
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: flex-start;
  }

  header.chyo-header .chyo-topbar__center{
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    padding: 0 !important;
  }

  header.chyo-header .chyo-topbar__right{
    grid-column: 1;
    grid-row: 3;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 8px !important;
  }

  header.chyo-header .chyo-topbar__logo{
    width: 116px !important;
    height: auto !important;
  }

  header.chyo-header .search-bar-container.chyo-search{
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    padding: 3px !important;
  }

  header.chyo-header .search-bar-container.chyo-search input[type="text"],
  header.chyo-header .search-bar-container.chyo-search input[type="search"],
  header.chyo-header .search-bar-container.chyo-search input{
    padding: 0 10px !important;
    font-size: 14px !important;
  }

  header.chyo-header .search-bar-container.chyo-search .chyo-search__btn{
    min-width: 84px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }

  header.chyo-header .chyo-iconbtn,
  header.chyo-header .chyo-alertbtn{
    width: 38px !important;
    height: 38px !important;
  }

  header.chyo-header .chyo-loginbtn,
  header.chyo-header .chyo-submitbtn-mobile{
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }

  header.chyo-header .chyo-loginbtn span{
    display: none;
  }

  header.chyo-header .chyo-submitbtn-mobile{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.30);
    background: rgba(255,255,255,.14);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
  }
}

/* =========================================
   MOBILE CATEGORIES DRAWER
   ========================================= */
body.chyo-drawer-open{
  overflow: hidden;
}

.chyo-cats-drawer{
  position: fixed;
  inset: 0;
  z-index: 12050;
}

.chyo-cats-drawer__overlay{
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .42);
  opacity: 0;
  transition: opacity .2s ease;
}

.chyo-cats-drawer__panel{
  position: absolute;
  top: 0;
  left: 0;
  width: min(84vw, 320px);
  height: 100%;
  background: #ffffff;
  border-right: 1px solid rgba(15, 23, 42, .10);
  box-shadow: 0 18px 42px rgba(2, 6, 23, .26);
  transform: translateX(-100%);
  transition: transform .2s ease;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top);
}

.chyo-cats-drawer.is-open .chyo-cats-drawer__overlay{
  opacity: 1;
}

.chyo-cats-drawer.is-open .chyo-cats-drawer__panel{
  transform: translateX(0);
}

.chyo-cats-drawer__head{
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 58px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  background: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chyo-cats-drawer__head h3{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.chyo-cats-drawer__close{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #fff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chyo-cats-drawer__list{
  padding: 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chyo-cats-drawer__item{
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: #1f2937;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.chyo-cats-drawer__item:hover{
  background: rgba(15, 23, 42, .06);
}

.chyo-cats-drawer__item--strong{
  font-weight: 800;
}

html.dark .chyo-cats-drawer__panel,
html[data-theme="dark"] .chyo-cats-drawer__panel{
  background: #0f172a;
  border-right-color: rgba(255, 255, 255, .14);
}

html.dark .chyo-cats-drawer__head,
html[data-theme="dark"] .chyo-cats-drawer__head{
  border-bottom-color: rgba(255, 255, 255, .10);
}

html.dark .chyo-cats-drawer__head h3,
html[data-theme="dark"] .chyo-cats-drawer__head h3,
html.dark .chyo-cats-drawer__item,
html[data-theme="dark"] .chyo-cats-drawer__item{
  color: #f8fafc;
}

html.dark .chyo-cats-drawer__close,
html[data-theme="dark"] .chyo-cats-drawer__close{
  background: #111827;
  border-color: rgba(255, 255, 255, .16);
  color: #f8fafc;
}

html.dark .chyo-cats-drawer__item:hover,
html[data-theme="dark"] .chyo-cats-drawer__item:hover{
  background: rgba(148, 163, 184, .16);
}

@media (min-width: 769px){
  .chyo-cats-drawer{
    display: none !important;
  }
}

/* =========================================
   MOBILE BOTTOM NAV (PHOSPHOR)
   ========================================= */
.chyo-mobile-bottom-nav{
  display: none;
}

@media (max-width: 768px){
  .chyo-mobile-bottom-nav{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12000;
    padding: 6px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid rgba(15, 23, 42, .12);
    box-shadow: 0 -14px 26px rgba(2, 6, 23, .14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .chyo-mobile-bottom-nav__list{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 4px;
  }

  .chyo-mobile-bottom-nav__share{
    display: contents;
  }

  .chyo-mobile-bottom-nav__item{
    position: relative;
    min-height: 54px;
    border: 0;
    background: transparent;
    color: #475569;
    text-decoration: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
  }

  .chyo-mobile-bottom-nav__item i{
    font-size: 20px;
    line-height: 1;
  }

  .chyo-mobile-bottom-nav__item:hover,
  .chyo-mobile-bottom-nav__item:focus-visible{
    background: rgba(200, 16, 40, .10);
    color: #c81028;
    outline: none;
  }

  .chyo-mobile-bottom-nav__item.is-active{
    color: #c81028;
    background: rgba(200, 16, 40, .12);
  }

  .chyo-mobile-bottom-nav__badge{
    position: absolute;
    top: 6px;
    right: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    padding: 0 4px;
    background: #c81028;
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    font-weight: 800;
  }

  main.ch-page{
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  body.chyo-drawer-open .chyo-mobile-bottom-nav{
    opacity: 0;
    pointer-events: none;
  }
}

html.dark .chyo-mobile-bottom-nav,
html[data-theme="dark"] .chyo-mobile-bottom-nav{
  background: rgba(11, 18, 32, .96);
  border-top-color: rgba(255, 255, 255, .14);
  box-shadow: 0 -18px 28px rgba(0, 0, 0, .36);
}

html.dark .chyo-mobile-bottom-nav__item,
html[data-theme="dark"] .chyo-mobile-bottom-nav__item{
  color: rgba(248, 250, 252, .78);
}

html.dark .chyo-mobile-bottom-nav__item:hover,
html.dark .chyo-mobile-bottom-nav__item:focus-visible,
html[data-theme="dark"] .chyo-mobile-bottom-nav__item:hover,
html[data-theme="dark"] .chyo-mobile-bottom-nav__item:focus-visible{
  background: rgba(247, 177, 51, .12);
  color: #f7b133;
}

html.dark .chyo-mobile-bottom-nav__item.is-active,
html[data-theme="dark"] .chyo-mobile-bottom-nav__item.is-active{
  background: rgba(247, 177, 51, .16);
  color: #f7b133;
}
