/* =========================
   ATENEA TKD – Dark Premium
   ========================= */

.atenea-tkd body{
  /* Montserrat en todo el sitio (todas las variantes) */
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--at-bk);
  color: rgba(255,255,255,.92);
}
.atenea-tkd h1,.atenea-tkd h2,.atenea-tkd h3,.atenea-tkd .entry-title{
  font-family: Montserrat, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* --------- Dark mode base --------- */
.atenea-dark body,
.atenea-dark .site,
.atenea-dark .site-container,
.atenea-dark .site-wrap,
.atenea-dark #page,
.atenea-dark #main,
.atenea-dark .content-area,
.atenea-dark .site-main{
  background: var(--at-bk);
  color: rgba(255,255,255,.92);
}
.atenea-dark a{ color: rgba(255,255,255,.92); }
.atenea-dark a:hover{ filter: brightness(.92); }

/* Header principal (Kadence): negro + blanco, consistente al hacer scroll */
.atenea-tkd .site-header,
.atenea-tkd .kadence-header,
.atenea-tkd .site-header-wrap,
.atenea-tkd .kadence-sticky-header{
  background: #000 !important;
}
.atenea-tkd .site-header a,
.atenea-tkd .kadence-header a,
.atenea-tkd .main-navigation a,
.atenea-tkd .kadence-sticky-header a{
  color: rgba(255,255,255,.92) !important;
}
.atenea-tkd .site-header a:hover,
.atenea-tkd .kadence-header a:hover,
.atenea-tkd .main-navigation a:hover,
.atenea-tkd .kadence-sticky-header a:hover{
  color: rgba(255,255,255,1) !important;
}

.atenea-dark .entry-content,
.atenea-dark .content-area{
  color: rgba(255,255,255,.92);
}

/* PÁGINAS: ocultar título/hero automático (Kadence)
   (evita el “cuadro negro” grande y limpia el layout) */
body.page .entry-header,
body.page .page-header,
body.page .entry-hero,
body.page .entry-hero-container,
body.page .kadence-page-title,
body.page .page-title,
body.page .page-title-container,
body.page .entry-title,
body.page .wp-block-kadence-page-title{ display:none !important; }

/* TIENDA (shop/archive): ocultar nombre/título superior */
body.woocommerce-shop .page-title,
body.woocommerce-shop .entry-header,
body.woocommerce-shop .entry-title,
body.woocommerce-shop .woocommerce-products-header__title,
body.post-type-archive-product .page-title,
body.post-type-archive-product .entry-header,
body.post-type-archive-product .entry-title,
body.post-type-archive-product .woocommerce-products-header__title{ display:none !important; }

/* SINGLE PRODUCT: título blanco sólido (sin máscara gris) */
body.single-product .product_title,
body.single-product h1.product_title{ color:#fff !important; opacity:1 !important; }

/* Cards */
.atenea-dark .at-card,
.atenea-dark .woocommerce ul.products li.product,
.atenea-dark .woocommerce-page ul.products li.product{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--at-radius);
  box-shadow: var(--at-shadow);
}

/* Woo product list */
.atenea-tkd .woocommerce ul.products li.product,
.atenea-tkd .woocommerce-page ul.products li.product{
  padding: 12px;
  overflow: hidden;
}
.atenea-tkd .woocommerce ul.products li.product img{
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}

.atenea-dark .woocommerce ul.products li.product .woocommerce-loop-product__title{
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  margin-top: 10px;
}
.atenea-dark .woocommerce ul.products li.product .price{
  color: rgba(255,255,255,.92);
  font-weight: 900;
}

/* --------- Topbar (alto contraste) --------- */
.at-topbar{
  position: sticky;
  top: 0;
  z-index: 99999;
  background: rgba(0,0,0,.92);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.at-topbar__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.at-topbar__left{display:flex;align-items:center;gap:12px;min-width:0;}
.at-topbar__free{
  font-weight: 900;
  font-size: 13px;
  /* v1.3.1: chip gris + texto negro (premium, sin máscara) */
  color: #000 !important;
  padding: 8px 14px !important;
  background: #D9DFEB !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
  white-space: nowrap;
}
.at-topbar__trust{
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 13px;
  opacity:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 520px;
  color: #fff;
}
.at-topbar__right{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;}
.at-topbar__link{
  font-weight: 800;
  font-size: 13px;
  opacity: 1;
  text-decoration:none;
  color: rgba(255,255,255,.92);
}
.at-topbar__wa{
  font-weight: 900;
  background: transparent;
  border: 1px solid #25D366;
  color: #25D366;
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration:none;
}
.at-topbar__wa:hover{ background: rgba(37,211,102,.12); }

/* Chips / badges */
.at-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.12);
}
.at-chip--blue{ background: rgba(0,51,102,.22); border-color: rgba(0,51,102,.42); }

/* (Seguro) si por cache aún se renderiza como chip, lo neutralizamos en topbar */
.at-topbar .at-chip--blue{ background: transparent !important; border-color: rgba(255,255,255,.18) !important; color:#fff !important; }

.at-badges{
  position: absolute;
  top: 10px;
  left: 10px;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  z-index: 3;
}
.at-badges--single{
  position: relative;
  top: 0;
  left: 0;
  margin: 8px 0 10px;
}
.at-badge{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.at-badge--red{ background: rgba(216,3,28,.18); border-color: rgba(216,3,28,.34); }
.at-badge--blue{ background: rgba(0,51,102,.22); border-color: rgba(0,51,102,.42); }
.at-badge--gray{ background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); opacity:.92; }
.at-badge--gold{ background: rgba(255,199,0,.18); border-color: rgba(255,199,0,.35); }

.at-trustline{
  margin-top: 8px;
  font-weight: 900;
  opacity: .92;
}

/* Buttons */
.atenea-tkd .button,
.atenea-tkd button,
.atenea-tkd input[type="submit"],
.atenea-tkd .wp-element-button,
.atenea-tkd .woocommerce a.button,
.atenea-tkd .woocommerce button.button,
.atenea-tkd .woocommerce input.button{
  border-radius: 12px !important;
  min-height: 48px;
  font-weight: 900;
  transition: transform .12s ease, filter .12s ease;
}
/* CTA principal (Añadir al carrito / Comprar): Negro + Blanco + acento Rojo TKD */
.atenea-tkd .woocommerce a.button.alt,
.atenea-tkd .woocommerce button.button.alt,
.atenea-tkd .single_add_to_cart_button,
.atenea-tkd .add_to_cart_button{
  background: #000 !important;
  color: #fff !important;
  border: 2px solid var(--at-red) !important;
  box-shadow: 0 0 0 3px rgba(216,3,28,.18), 0 10px 24px rgba(216,3,28,.14);
}
.atenea-tkd .woocommerce a.button.alt:hover,
.atenea-tkd .woocommerce button.button.alt:hover,
.atenea-tkd .single_add_to_cart_button:hover,
.atenea-tkd .add_to_cart_button:hover{
  background: var(--at-red) !important;
  border-color: var(--at-red) !important;
  color: #fff !important;
  filter: none;
  transform: translateY(-1px);
}

/* Botones secundarios (Ver más / Leer más / links como botón): Azul TKD */
.atenea-tkd .woocommerce a.button:not(.alt),
.atenea-tkd .woocommerce button.button:not(.alt),
.atenea-tkd .wp-element-button:not(.has-background),
.atenea-tkd .button:not(.alt):not(.single_add_to_cart_button):not(.add_to_cart_button){
  background: #000 !important;
  color: #fff !important;
  border: 2px solid var(--at-blue) !important;
  box-shadow: 0 0 0 3px rgba(0,51,102,.12);
}
.atenea-tkd .woocommerce a.button:not(.alt):hover,
.atenea-tkd .woocommerce button.button:not(.alt):hover,
.atenea-tkd .wp-element-button:not(.has-background):hover,
.atenea-tkd .button:not(.alt):not(.single_add_to_cart_button):not(.add_to_cart_button):hover{
  background: #000 !important;
  border-color: var(--at-blue) !important;
  color: #fff !important;
  box-shadow: 0 0 0 3px rgba(0,51,102,.22), 0 10px 26px rgba(0,51,102,.18);
}

/* Inputs */
.atenea-tkd input[type="text"],
.atenea-tkd input[type="search"],
.atenea-tkd input[type="email"],
.atenea-tkd input[type="tel"],
.atenea-tkd input[type="number"],
.atenea-tkd select,
.atenea-tkd textarea{
  border-radius: 12px;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}
.atenea-tkd input::placeholder{ color: rgba(255,255,255,.55); }
.atenea-tkd input:focus,
.atenea-tkd select:focus,
.atenea-tkd textarea:focus{
  outline: 3px solid rgba(0,51,102,.22);
  border-color: rgba(0,51,102,.55);
}

/* Hero */
.at-hero{position:relative;border-radius: 18px;overflow:hidden;border:1px solid rgba(255,255,255,.10);background: rgba(255,255,255,.03);}
.at-hero__img{width:100%;height:auto;display:block;}
.at-hero__overlay{position:absolute;inset:0;display:flex;align-items:flex-end;}
.at-hero__content{padding:16px;}
.at-hero .at-badge{backdrop-filter: blur(6px);}

/* Category banner */
.at-catbanner{border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.10);background: rgba(255,255,255,.03);}
.at-catbanner__img{width:100%;height:auto;display:block;}

/* Search */
.at-search{position:relative;}
.at-search__input{width:100%;}
.at-search__panel{
  position:absolute;
  left:0; right:0;
  top: calc(100% + 8px);
  background: rgba(11,11,15,.98);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 8px;
  z-index: 9999;
  max-height: 420px;
  overflow:auto;
}
.at-search__item{
  display:flex;
  gap:10px;
  padding:10px;
  border-radius: 12px;
  text-decoration:none;
  border: 1px solid transparent;
}
.at-search__item:hover{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.10); }
.at-search__thumb{width:44px;height:44px;border-radius:10px;object-fit:cover;background: rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);}
.at-search__thumb--empty{display:block;}
.at-search__meta{display:flex;flex-direction:column;gap:4px;min-width:0;}
.at-search__title{font-weight:800;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.at-search__price{font-weight:900;opacity:.9;font-size:12px;}
.at-search__loading,.at-search__empty{padding:10px;font-weight:800;opacity:.85;}

/* Compra guiada (wizard ligero) */
.at-wizard{ margin: 18px 0 26px; }
.at-wizard__inner{ max-width:1200px; margin:0 auto; padding: 0 16px; }
.at-wizard__head{ margin-bottom: 12px; }
.at-wizard__kicker{ font-weight:900; color:#fff; opacity:.92; margin-bottom:8px; }
.at-wizard__title{ margin:0; font-size: 26px; line-height:1.1; color:#fff; }
.at-wizard__sub{ margin:8px 0 0; color: rgba(255,255,255,.92); font-weight:700; }
.at-wizard__form{ display:grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items:end; }
.at-wizard__row{ display:flex; flex-direction:column; gap:6px; }
.at-wizard__label{ font-weight:900; color:#fff; }
.at-wizard__select{ min-height:48px; border-radius:12px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.14); color:#fff; padding: 10px 12px; }
.at-wizard__select:focus{ outline: none; border-color: rgba(216,3,28,.65); box-shadow: 0 0 0 3px rgba(216,3,28,.18); }
.at-wizard__btn{ min-height:48px; border-radius:12px; background:#000; color:#fff; border:2px solid var(--at-red); font-weight:900; padding: 0 16px; box-shadow: 0 0 0 3px rgba(216,3,28,.18), 0 10px 24px rgba(216,3,28,.14); }
.at-wizard__btn:hover{ background: var(--at-red); transform: translateY(-1px); }

@media (max-width: 900px){
  .at-wizard__form{ grid-template-columns: 1fr; }
}

/* Kit suggestions */
.at-kit{margin-top:18px;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background: rgba(255,255,255,.04);}
.at-kit__title{margin:0 0 6px;font-weight:900;letter-spacing:-0.02em;}
.at-kit__desc{margin:0 0 12px;opacity:.9;}
.at-kit__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.at-kit__card{display:block;text-decoration:none;padding:10px;border-radius:14px;border:1px solid rgba(255,255,255,.10);background: rgba(255,255,255,.03);}
.at-kit__card:hover{filter:brightness(.96);}
.at-kit__img{width:100%;height:auto;border-radius:12px;display:block;margin-bottom:8px;}
.at-kit__name{font-weight:800;font-size:13px;line-height:1.2;margin-bottom:6px;}
.at-kit__price{font-weight:900;font-size:12px;opacity:.92;}
.at-kit__coupon{margin-top:10px;font-weight:800;opacity:.95;}

@media (max-width: 768px){
  .at-topbar__trust{display:none;}
  .at-kit__grid{grid-template-columns:repeat(2,1fr);}
}


/* Category blocks spacing + label */
.at-catblock{ margin: 26px 0; }
.at-catblock__label{ max-width:1200px; margin-left:auto; margin-right:auto; padding: 0 16px;
  margin: 0 0 10px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 16px;
  opacity: 1;
  color: rgba(17,17,17,.96);
}

/* Label en “chip” para que siempre se lea sobre fondo oscuro */
.at-catblock__label{
  display:block;
  width: fit-content;
  background:#fff;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
}

/* Carousel (full width) */
.at-carousel{
  position:relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  overflow:hidden;
  border-top:1px solid rgba(0,0,0,.10);
  border-bottom:1px solid rgba(0,0,0,.10);
  background: #fff;
}
.at-carousel__track{
  display:flex;
  gap: 0;
  overflow:auto;
  scroll-snap-type: x mandatory;
  padding: 0;
}
.at-carousel__slide{
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: 0;
  overflow:hidden;
  border: 0;
  background: #fff;
  text-decoration:none;
}
.at-carousel__slide picture{ display:block; }
.at-carousel__slide img{
  width:100% !important;
  height:auto !important;
  display:block;
  object-fit: contain !important;
}

/* Buttons */
.at-carousel__btn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(11,11,15,.72);
  color: rgba(255,255,255,.92);
  font-weight:900;
  line-height:1;
  display:none;
}
.at-carousel--overflow .at-carousel__btn{ display:block; }
.at-carousel__btn--prev{ left: 14px; }
.at-carousel__btn--next{ right: 14px; }

.at-carousel__badges{ position:absolute; top:12px; left:12px; z-index:3; display:flex; gap:8px; flex-wrap:wrap; }
.at-carousel__promo{ display:inline-flex; padding:8px 12px; border-radius:999px; font-size:12px; font-weight:900; }
.at-carousel__promo--offer{ background: rgba(225,6,0,.18); border: 1px solid rgba(225,6,0,.34); }
.at-carousel__promo--new{ background: rgba(0,51,102,.22); border: 1px solid rgba(0,51,102,.42); }

.at-carousel__cta{ position:absolute; right:12px; bottom:12px; z-index:3; }
.at-carousel__all{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding:0 14px; border-radius:12px;
  font-weight:900; text-decoration:none;
  background: #fff;
  border: 2px solid var(--at-blue);
  color: var(--at-blue);
}
.at-carousel__all:hover{ filter: brightness(.95); }

/* =========================
   HOME: quitar “cuadro negro”/título automático del tema
   (Kadence + genérico)
   ========================= */
body.home .entry-header,
body.home .page-header,
body.home .entry-hero,
body.home .entry-hero-container,
body.home .kadence-page-title,
body.home .page-title,
body.home .page-title-container,
body.home .entry-title,
body.home .wp-block-kadence-page-title{
  display:none !important;
}

/* =========================
   COMPRA GUIADA (Wizard): superficie blanca + texto negro
   ========================= */
.atenea-tkd .atenea-wizard,
.atenea-tkd .atenea-card,
.atenea-tkd .atenea-wizard .atenea-wizard__panel{
  background: #fff !important;
  color: rgba(17,17,17,.96) !important;
}
.atenea-tkd .atenea-wizard h2,
.atenea-tkd .atenea-wizard h3,
.atenea-tkd .atenea-wizard p,
.atenea-tkd .atenea-wizard li,
.atenea-tkd .atenea-wizard a{
  color: rgba(17,17,17,.96) !important;
}
.atenea-tkd .atenea-wizard .atenea-muted{ color: rgba(17,17,17,.70) !important; }
.atenea-tkd .atenea-wizard select,
.atenea-tkd .atenea-wizard input[type="text"],
.atenea-tkd .atenea-wizard input[type="search"],
.atenea-tkd .atenea-wizard input[type="email"],
.atenea-tkd .atenea-wizard input[type="tel"],
.atenea-tkd .atenea-wizard input[type="number"],
.atenea-tkd .atenea-wizard textarea{
  background:#fff !important;
  color: rgba(17,17,17,.96) !important;
  border: 1px solid rgba(0,0,0,.18) !important;
}
.atenea-tkd .atenea-wizard .atenea-chip{
  background:#fff !important;
  border: 2px solid rgba(0,0,0,.16) !important;
  color: rgba(17,17,17,.96) !important;
}
.atenea-tkd .atenea-wizard .atenea-chip.is-selected{
  border-color: var(--at-blue) !important;
  color: var(--at-blue) !important;
}
.atenea-tkd .atenea-wizard .atenea-btn--primary{
  background: var(--at-red) !important;
  border-color: var(--at-red) !important;
  color:#fff !important;
}
.atenea-tkd .atenea-wizard .atenea-btn--secondary{
  background: var(--at-blue) !important;
  border-color: var(--at-blue) !important;
  color:#fff !important;
}
.atenea-tkd .atenea-wizard .atenea-link{ color: var(--at-blue) !important; }


/* Carousel badges + CTA */
.at-carousel__badges{ position:absolute; top:12px; left:12px; z-index:3; display:flex; gap:8px; flex-wrap:wrap; }
.at-carousel__promo{ position:relative; top:auto; left:auto; }
.at-carousel__promo--offer{
  background: rgba(225,6,0,.18);
  border: 1px solid rgba(225,6,0,.34);
}
.at-carousel__promo--new{
  background: rgba(0,51,102,.22);
  border: 1px solid rgba(0,51,102,.42);
}

.at-carousel__cta{ padding: 0 10px 12px; }
.at-carousel__all{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration:none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.at-carousel__all:hover{ filter: brightness(.95); }

@media (max-width: 768px){
  .at-carousel__slide{ flex-basis: 100%; }
}


/* Tag filter chips */
.at-chips{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0;}
.at-chips__label{font-weight:900;opacity:.9;}
.at-chip--filter{background: rgba(255,255,255,.06);border-color: rgba(255,255,255,.12);text-decoration:none;}
.at-chip--filter.is-active{background: rgba(0,51,102,.22);border-color: rgba(0,51,102,.42);}
.at-chip--clear{background: rgba(255,255,255,.08);}


/* Admin bar offset */
body.admin-bar .at-topbar{ top: 32px; }
@media (max-width:782px){ body.admin-bar .at-topbar{ top: 46px; } }

/* Footer Atenea (estilo MiMoto) */
.at-footer{
  background: #000;
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 40px;
}
.at-footer__inner{max-width:1200px;margin:0 auto;padding:26px 16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;}
.at-footer__title{font-weight:900;margin-bottom:10px;letter-spacing:-0.02em;}
.at-footer__text{opacity:1;margin:6px 0;color: rgba(255,255,255,.92);}
.at-footer__list{list-style:none;padding:0;margin:0;display:grid;gap:3px;}
.at-footer__list a{text-decoration:none;opacity:1; color: rgba(255,255,255,.92);}
.at-footer__list a:hover{opacity:1;}
.at-footer__chips{display:flex;flex-wrap:wrap;gap:8px;}
.at-footer__chips span{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);font-weight:800;font-size:12px;}
.at-footer__muted{opacity:1;margin-top:10px;color:#fff;}
.at-footer__bottom{max-width:1200px;margin:0 auto;padding:14px 16px;border-top:1px solid rgba(255,255,255,.10);opacity:1;color:#fff;text-align:center;}


/* ===== v1.2.5 Carousel: vuelve al look premium (contenedor) ===== */
.atenea-tkd .at-catblock{ margin: 30px 0; }

.atenea-tkd .at-carousel{
  width: 100%;
  margin-left: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.atenea-tkd .at-carousel__track{
  gap: 0;
  padding: 0;
}

.atenea-tkd .at-carousel__slide{
  flex: 0 0 100%;
  border-radius: 0;
}

.atenea-tkd .at-carousel__slide img{
  width: 100%;
  height: 360px;          /* desktop */
  object-fit: cover;      /* se ve premium aunque la imagen no sea exacta */
  display:block;
}

@media (max-width: 768px){
  .atenea-tkd .at-carousel__slide img{ height: 220px; }
}

/* etiquetas antes de cada carrusel, alineadas */
.atenea-tkd .at-catblock__label{
  max-width: 1200px;
  margin: 0 auto 12px;
  padding: 0 16px;
  font-size: 18px;
}

/* No encimar topbar sobre carrusel */
.atenea-tkd .at-topbar{ position: sticky; top: 0; z-index: 99999; }

/* ===== v1.2.5 Footer: prevalece negro premium ===== */
.at-footer{
  background: #0B0B0F;
  border-top:1px solid rgba(255,255,255,.10);
}
.at-footer__list a{ 
  color: #fff;
  display:inline-flex;
  /* v1.3.1: más junto sin amontonar */
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.55);
}
/* Inversión elegante (hover): fondo blanco + texto negro + borde negro */
.at-footer__list a:hover{ 
  color: #000;
  background: #fff;
  border-color: #000;
}
.at-footer__chips span,
.at-footer__chip{
  /* base chip (se sobreescribe por marca abajo) */
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
}
.at-footer__title{ color: #fff; }

/* Chips por marca (v1.3.1: color sólido para que se vean a simple vista) */
.at-footer__chip--dhl{       background:#FFCC00 !important; color:#111 !important; border-color:#FFCC00 !important; box-shadow: 0 0 0 3px rgba(255,204,0,.18); } /* DHL yellow */
.at-footer__chip--fedex{     background:#4D148C !important; color:#fff !important; border-color:#4D148C !important; box-shadow: 0 0 0 3px rgba(77,20,140,.16); } /* FedEx purple */
.at-footer__chip--estafeta{  background:#E10600 !important; color:#fff !important; border-color:#E10600 !important; box-shadow: 0 0 0 3px rgba(225,6,0,.14); } /* Estafeta red */
.at-footer__chip--99{        background:#FF6A00 !important; color:#111 !important; border-color:#FF6A00 !important; box-shadow: 0 0 0 3px rgba(255,106,0,.14); } /* 99minutos orange */
.at-footer__chip--ampm{      background:#00A651 !important; color:#fff !important; border-color:#00A651 !important; box-shadow: 0 0 0 3px rgba(0,166,81,.14); } /* AMPM green */
.at-footer__chip--px{        background:#007A3D !important; color:#fff !important; border-color:#007A3D !important; box-shadow: 0 0 0 3px rgba(0,122,61,.14); } /* PaqueteExpress green */

.at-footer__chip--mp{        background:#009EE3 !important; color:#fff !important; border-color:#009EE3 !important; box-shadow: 0 0 0 3px rgba(0,158,227,.14); } /* Mercado Pago */
.at-footer__chip--paypal{    background:#003087 !important; color:#fff !important; border-color:#003087 !important; box-shadow: 0 0 0 3px rgba(0,48,135,.14); } /* PayPal */
.at-footer__chip--oxxo{      background:#E10600 !important; color:#fff !important; border-color:#E10600 !important; box-shadow: 0 0 0 3px rgba(225,6,0,.14); } /* OXXO */
.at-footer__chip--aplazo{    background:#6C2BD9 !important; color:#fff !important; border-color:#6C2BD9 !important; box-shadow: 0 0 0 3px rgba(108,43,217,.14); } /* Aplazo */


/* ===== v1.2.6 Contraste global (manual de imagen) ===== */
.atenea-dark .entry-content, 
.atenea-dark .entry-content p,
.atenea-dark .entry-content li,
.atenea-dark .entry-content a{
  color: rgba(255,255,255,.92);
}
.atenea-dark .entry-content h1,
.atenea-dark .entry-content h2,
.atenea-dark .entry-content h3,
.atenea-dark .entry-content h4{
  color: rgba(255,255,255,.96);
}

/* Etiqueta entre categorías: alterna Rojo/Azul (y sigue funcionando si agregas más categorías) */
.atenea-tkd .at-catblock__label{
  /* v1.3.1: look más vendedor/pro (icono + alineado izquierda) */
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 10px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align:left;

  padding: 10px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(0,0,0,.32);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.atenea-tkd .at-catblock:nth-of-type(odd) .at-catblock__label{ color: var(--at-red) !important; }
.atenea-tkd .at-catblock:nth-of-type(even) .at-catblock__label{ color: var(--at-blue) !important; }
.atenea-tkd .at-catblock__label:before{
  /* “barra/ícono” con el color de la categoría (rojo/azul por alternancia) */
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  flex: 0 0 auto;
}
.atenea-tkd .at-catblock__label:after{
  /* icono neutro (medalla) para hacerlo más pro sin depender de librerías */
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-left: 4px;
  opacity: .92;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2l2.1 4.6 5 .7-3.6 3.5.9 5-4.4-2.4-4.4 2.4.9-5L4.9 7.3l5-.7L12 2z' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E");
}

@media (max-width: 768px){
  .atenea-tkd .at-catblock__label{ padding: 9px 12px; border-radius: 14px; }
}

/* Header: mejorar contraste y quitar bloque negro enorme */
.atenea-dark .site-header,
.atenea-dark .kadence-header-wrap,
.atenea-dark .kadence-header-row{
  background: var(--at-bk) !important;
}
.atenea-dark .site-header-inner-wrap,
.atenea-dark .kadence-header-row-inner{
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.atenea-dark .site-header .site-title,
.atenea-dark .site-header a,
.atenea-dark .kadence-header a{
  color: rgba(255,255,255,.92) !important;
}
.atenea-dark .site-header a:hover,
.atenea-dark .kadence-header a:hover{
  color: rgba(0,51,102,.95) !important;
}

/* Menú: más legible */
.atenea-dark .main-navigation a,
.atenea-dark .primary-menu-container a,
.atenea-dark .header-navigation a{
  font-weight: 800;
  opacity: 1 !important;
}
.atenea-dark .main-navigation a{ text-decoration:none; }

/* Topbar: texto más legible */
.at-topbar__trust{ color: #fff; }
.at-topbar__link{ color: rgba(255,255,255,.92); }

/* Kadence: reduce paddings de hero/entry header si existe */
.atenea-dark .entry-hero-container,
.atenea-dark .entry-hero,
.atenea-dark .page-title,
.atenea-dark .entry-header{
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}


/* ===== v1.2.7 Fix convivencia con functions.php (Kadence Child) ===== */
/* Si existe la topbar del tema hijo, nuestra at-topbar se oculta (fallback CSS) */
.atenea-topbar + .at-topbar{ display:none !important; }

/* Ocultar footerplus del tema hijo cuando usamos footer Atenea */
.atenea-footerplus{ display:none; }

/* Mejor contraste badges del wizard (atenea-global.css) */
.atenea-badge--blue{
  background: rgba(0,51,102,.18) !important;
  border: 1px solid rgba(0,51,102,.34) !important;
  color: var(--at-blue) !important;
}
.atenea-step h3{ color:#111827 !important; }
.atenea-muted{ color:#4B5563 !important; }

/* Kadence: reduce “bloque negro” superior (wrappers de hero/título) */
.atenea-dark .site-main,
.atenea-dark .content-wrap,
.atenea-dark .content-area{
  padding-top: 0 !important;
}
.atenea-dark .kadence-woo-archive-hero,
.atenea-dark .kadence-hero-page-title,
.atenea-dark .entry-hero-container{
  min-height: 0 !important;
}


/* --------- Kits TKD (grid) --------- */
.at-kits-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
  margin: 10px 0 18px;
}
@media (max-width: 980px){
  .at-kits-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px){
  .at-kits-grid{ grid-template-columns: 1fr; }
}
.at-kit-card{ overflow:hidden; }
.at-kit-card__img img{ width:100%; height:auto; display:block; }
.at-kit-card__body{ padding:12px; }
.at-kit-card__meta{ color: rgba(255,255,255,.72); font-size:12px; font-weight:800; letter-spacing:.02em; }
.at-kit-card__title{ margin:6px 0 6px; font-size:16px; line-height:1.2; }
.at-kit-card__title a{ color: rgba(255,255,255,.94); text-decoration:none; }
.at-kit-card__title a:hover{ text-decoration:underline; }
.at-kit-card__note{ color: rgba(255,255,255,.78); font-size:13px; margin-bottom:10px; }
.at-kit-card__actions{ display:flex; gap:10px; flex-wrap:wrap; }
