:root{
  --ch-container: 1240px;
  --ch-radius: 14px;
  --ch-border: #e8e8e8;
  --ch-text: #111;
  --ch-muted: #666;
  --ch-bg: #fff;
}

*{ box-sizing:border-box; }
body{ color:var(--ch-text); background:var(--ch-bg); margin:0; padding:0; }


/* Layout containers */
.ch-container{ max-width: var(--ch-container); }
.ch-container-wide{ max-width: calc(var(--ch-container) + 80px); }
.ch-main{ padding: 18px 0 40px; }

/* Promo bar */
.ch-promo-bar{ background:#111; color:#fff; font-size:14px; }
.ch-promo-inner{ display:flex; gap:10px; align-items:center; padding: 10px 0; flex-wrap:wrap; }

/* Sticky header */
.ch-header{ position: sticky; top: 0; z-index: 50; background:#fff; border-bottom:1px solid var(--ch-border); }
.ch-header-row{ display:flex; gap:14px; align-items:center; padding: 14px 0 10px; }
.ch-brand{ font-weight: 900; text-decoration:none; color:#111; letter-spacing:.5px; }

.ch-search{ flex:1; display:flex; gap:8px; align-items:center; }
.ch-search input{
  width:100%; padding: 12px 14px;
  border:1px solid var(--ch-border); border-radius: 999px;
}
.ch-search button{
  padding: 12px 16px;
  border:1px solid #111; border-radius: 999px;
  background:#111; color:#fff; font-weight:700; cursor:pointer;
}

.ch-header-links{ display:flex; gap:12px; align-items:center; }
.ch-header-links a{ text-decoration:none; color:#111; font-weight:700; }

.ch-nav-row{ display:flex; gap:14px; padding: 10px 0 14px; overflow:auto; }
.ch-nav-link{ text-decoration:none; color:#222; font-weight:700; white-space:nowrap; }
.ch-nav-more{ color:#b00020; }

/* Page headers */
.ch-page-head{ margin: 10px 0 16px; }
.ch-h1{ font-size: 30px; font-weight: 900; margin: 0; }
.ch-h2{ font-size: 22px; font-weight: 900; margin: 0; }
.ch-muted{ color: var(--ch-muted); }
.ch-section-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin: 18px 0 12px; }

/* Hero */
.ch-hero{
  border:1px solid var(--ch-border);
  border-radius: calc(var(--ch-radius) + 8px);

  background:
    linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0.01)),
    url("../img/background-hero.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 18px;
  margin-bottom: 18px;
}


.ch-hero-inner{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.ch-hero-title{ color: white ;font-size: 38px; font-weight: 900; margin: 0 0 8px; }
.ch-hero-sub{ color: white; font-size: 16px; margin: 0 0 14px; }
.ch-hero-cta{ display:flex; gap:10px; flex-wrap:wrap; }
.ch-hero-cards{ display:grid; gap:10px; }
.ch-promo-cardold{
  display:block; text-decoration:none; color:#111;
  border:1px solid var(--ch-border);
  border-radius: var(--ch-radius);
  background:#fff;
  padding: 14px;
}
.ch-promo-card{
  display:block;
  text-decoration:none;
  color:#111;
  border:1px solid var(--ch-border);
  border-radius: var(--ch-radius);

  background: color-mix(in srgb, #fff 40%, transparent);
  padding: 14px;
  transition: background-color .25s ease, box-shadow .25s ease;
}

.ch-promo-card:hover{
  background: #fff; /* sólido */
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}



.ch-promo-kicker{ font-size:12px; color:var(--ch-muted); font-weight:800; text-transform:uppercase; letter-spacing:.5px; }

.ch-promo-title{ font-size:18px; font-weight:900; margin-top:4px; }
.ch-promo-cta{ font-size:14px; font-weight:800; margin-top:10px; }
.ch-promo-card:hover{ box-shadow: 0 10px 24px rgba(0,0,0,0.06); }

@media (max-width: 900px){
  .ch-hero-inner{ grid-template-columns: 1fr; }
  .ch-search button{ display:none; }
}

/* Product cards */
.ch-product-card{
  border:1px solid var(--ch-border);
  border-radius: var(--ch-radius);
  background:#fff;
  overflow:hidden;
  height:100%;
}
.ch-product-thumb{ display:block; background:#fff; }
.ch-product-thumb img{ width:100%; height:220px; object-fit:contain; display:block; padding: 10px; }
.ch-product-body{ padding: 12px; display:grid; gap: 8px; }
.ch-product-title{ font-weight:900; font-size:14px; line-height:1.2; min-height: 34px; }
.ch-product-price{ font-weight:900; font-size:16px; }

/* Category cards */
.ch-cat-card{
  display:block;
  border:1px solid var(--ch-border);
  border-radius: var(--ch-radius);
  padding: 14px;
  text-decoration:none;
  color:#111;
  background:#fff;
  height:100%;
}
.ch-cat-title{ font-weight:900; }
.ch-cat-sub{ color: var(--ch-muted); font-weight:700; font-size:13px; margin-top:6px; }
.ch-cat-card:hover{ box-shadow: 0 10px 24px rgba(0,0,0,0.06); }

/* PDP */
.ch-breadcrumbs{ font-size:14px; color: var(--ch-muted); margin: 6px 0 14px; }
.ch-breadcrumbs a{ color: var(--ch-muted); text-decoration:none; }
.ch-breadcrumbs span{ margin: 0 6px; }

.ch-pdp{ display:grid; grid-template-columns: 1.2fr .9fr; gap: 18px; }
@media (max-width: 900px){ .ch-pdp{ grid-template-columns: 1fr; } }

.ch-gallery{ display:grid; gap:10px; }
.ch-main-image{ border:1px solid var(--ch-border); border-radius: var(--ch-radius); padding: 14px; background:#fff; }
.ch-main-image img{ width:100%; height:auto; display:block; border-radius: 10px; }
.ch-thumbs{ display:flex; gap:10px; overflow:auto; }
.ch-thumb{ border:1px solid var(--ch-border); border-radius: 12px; background:#fff; padding: 6px; cursor:pointer; }
.ch-thumb img{ width:72px; height:72px; object-fit:contain; display:block; }

.ch-buybox{ border:1px solid var(--ch-border); border-radius: var(--ch-radius); padding: 16px; background:#fff; }
.ch-title{ font-size:26px; font-weight: 900; margin:0 0 8px; }
.ch-meta{ display:flex; align-items:center; gap:10px; color: var(--ch-muted); font-size:14px; flex-wrap:wrap; }
.ch-badge{ padding:6px 10px; border-radius: 999px; border:1px solid var(--ch-border); font-weight:800; font-size:12px; background:#fff; }
.ch-ok{ background:#f2fff6; }

.ch-price-row{ margin: 12px 0; }
.ch-price{ font-size:28px; font-weight: 900; }
.ch-price small{ font-size:12px; color: var(--ch-muted); font-weight:800; }

.ch-trust{ display:grid; grid-template-columns: 1fr 1fr; gap:8px; margin: 12px 0 14px; font-size:14px; }

.ch-atc{ display:grid; gap: 10px; }
.ch-qty-control{ display:flex; align-items:center; gap:8px; }
.ch-qty-btn{ width:42px; height:42px; border-radius: 12px; border:1px solid var(--ch-border); background:#fff; cursor:pointer; font-size:20px; }
.ch-qty input{ width:90px; height:42px; border-radius:12px; border:1px solid var(--ch-border); text-align:center; }

.ch-cta{ height:46px; border-radius: 14px; border:0; background:#111; color:#fff; font-weight:900; cursor:pointer; }
.ch-secondary{ height:46px; border-radius: 14px; border:1px solid var(--ch-border); display:flex; align-items:center; justify-content:center; text-decoration:none; color:#111; font-weight:900; }

.ch-accordion{ margin-top: 10px; border-top:1px solid var(--ch-border); padding-top: 6px; }
.ch-accordion details summary{ cursor:pointer; padding: 10px 0; font-weight:900; }
.ch-acc-content{ color:#333; padding-bottom: 10px; }


/* --- Mega menu (Old-Navy-like) --- */
.ch-nav-item{ position: relative; }
.ch-nav-btn{ background: transparent; border:0; padding:0; }
.ch-caret{ font-size: 12px; margin-left: 4px; }

.ch-mega{
  display:none;
  position:absolute;
  left:0;
  top: calc(100% + 10px);
  width: min(980px, calc(100vw - 24px));
  background:#fff;
  border:1px solid var(--ch-border);
  border-radius: calc(var(--ch-radius) + 6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  padding: 14px;
}
.ch-has-mega:hover .ch-mega,
.ch-has-mega:focus-within .ch-mega,
.ch-has-mega.is-open .ch-mega{ display:block; }

.ch-mega-inner{ display:grid; grid-template-columns: 1.4fr .9fr; gap: 14px; }
.ch-mega-col{ min-width:0; }
.ch-mega-title{ font-weight: 900; font-size: 14px; margin-bottom: 10px; }
.ch-mega-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}
.ch-mega-link{
  text-decoration:none;
  color:#111;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
}
.ch-mega-link:hover{ background: rgba(0,0,0,0.04); }
.ch-mega-all{
  display:inline-block;
  margin-top: 10px;
  font-weight: 900;
  text-decoration:none;
  color:#b00020;
}

.ch-mega-feature{ border-left:1px dashed var(--ch-border); padding-left:14px; }
.ch-mega-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border:1px solid var(--ch-border);
  border-radius: 999px;
  font-weight: 900;
  text-decoration:none;
  color:#111;
  margin: 0 10px 10px 0;
}
.ch-mega-pill:hover{ box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.ch-mega-card{
  margin-top: 6px;
  border:1px solid var(--ch-border);
  border-radius: var(--ch-radius);
  padding: 12px;
  background: linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0.01));
}
.ch-mega-kicker{ font-size: 12px; color: var(--ch-muted); font-weight: 900; text-transform:uppercase; letter-spacing:.6px; }
.ch-mega-head{ font-size: 16px; font-weight: 900; margin-top: 4px; }
.ch-mega-sub{ color: var(--ch-muted); font-weight: 700; font-size: 13px; margin-top: 6px; }
.ch-mega-cta{
  display:inline-block;
  margin-top: 10px;
  background:#111;
  color:#fff;
  text-decoration:none;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 14px;
}

/* Cart count bubble */
.ch-cart-link{ position: relative; }
.ch-cart-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background:#111;
  color:#fff;
  font-size: 12px;
  font-weight: 900;
  margin-left: 6px;
}
.ch-cart-count.is-zero{ background: #ddd; color:#333; }

/* --- Badges + Quick add --- */
.ch-card-top{ position:relative; }
.ch-badges{
  position:absolute;
  left:10px;
  top:10px;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  z-index:2;
}
.ch-badge-mini{
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background:#fff;
  border:1px solid var(--ch-border);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.ch-badge-sale{
  /* Badge de oferta en rojo para resaltar las promociones. */
  background:#dc3545;
  color:#fff;
  border-color:#dc3545;
}


.ch-quickadd{
  display:flex;
  gap:8px;
  align-items:center;
}
.ch-quickadd .btn{ font-weight: 900; }
.ch-btn-ghost{
  border:1px solid var(--ch-border) !important;
  background:#fff !important;
  color:#111 !important;
}

/* --- Carousel (simple) --- */
.ch-carousel{
  position:relative;
  border:1px solid var(--ch-border);
  border-radius: calc(var(--ch-radius) + 8px);
  background:#fff;
  padding: 12px;
}
.ch-carousel-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 10px;
}
.ch-carousel-track{
  display:flex;
  gap:12px;
  overflow:auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.ch-carousel-track > *{ scroll-snap-align: start; min-width: 210px; }
.ch-carousel-btn{
  border:1px solid var(--ch-border);
  background:#fff;
  font-weight: 900;
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
}
.ch-carousel-btn:hover{ box-shadow: 0 10px 24px rgba(0,0,0,0.06); }

/* Toast */
.ch-toast{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background:#111;
  color:#fff;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  font-weight: 800;
  opacity: 0;
  transform: translateY(10px);
  transition: all .18s ease;
  pointer-events:none;
}
.ch-toast.show{
  opacity: 1;
  transform: translateY(0);
}

.ch-account{ position:relative; display:inline-block; }
.ch-account-btn{
  background:transparent; border:0; font-weight:700; cursor:pointer;
  padding:6px 8px; border-radius:10px;
}
.ch-account-btn:hover{ background:#f3f3f3; }
.ch-account-menu{ display:none; }
.ch-account.is-open .ch-account-menu{ display:block; }

.ch-account-menu{
  display:none; position:absolute; right:0; top:40px; min-width:200px;
  background:#fff; border:1px solid #e8e8e8; border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  padding:8px; z-index:80;
}
.ch-account-link{
  display:block; padding:10px 10px; border-radius:10px;
  color:#111; text-decoration:none; font-weight:600;
}
.ch-account-link:hover{ background:#f6f6f6; }
.ch-account-sep{ height:1px; background:#eee; margin:6px 0; }
.ch-danger{ color:#b00020; }
.ch-account.open .ch-account-menu{ display:block; }

.ch-checkout-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:start;
}
@media (max-width: 992px){
  .ch-checkout-grid{ grid-template-columns: 1fr; }
}

.ch-summary{ position: sticky; top: 92px; } /* ajusta según tu header */

.ch-address-card{
  display:flex;
  gap:12px;
  border:1px solid #e8e8e8;
  border-radius:14px;
  padding:12px;
  cursor:pointer;
  background:#fff;
}
.ch-address-card:hover{ background:#fafafa; }
.ch-address-card input{ margin-top:4px; }
.ch-address-card.is-selected{ border-color:#111; box-shadow: 0 8px 24px rgba(0,0,0,.08); }

.addicional_content {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
    clear: both;
}

.addicional_content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.addicional_content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.addicional_content table {
    width: 100%;
    table-layout: auto;
    overflow-x: auto;
    display: block;
}

.addicional_content iframe,
.addicional_content embed {
    max-width: 100%;
}
/* Wrapper que separa del contenido superior y del footer */
/* Pre-footer / Más vendidos */
.ch-prefooter{
  margin-top: 48px;
  padding-top: 32px;
  padding-bottom: 40px;

  background: #fff;               /* fondo blanco */
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;

  box-shadow: none;               /* 🔥 QUITA sombra */
}

/* Por si algún shadow viene heredado */
.ch-prefooter *,
.ch-prefooter .ch-carousel,
.ch-prefooter .ch-product-card{
  box-shadow: none !important;
}

/* Mantener centrado y respirado */
.ch-prefooter-carousel{
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}


/* El carrusel no debe “pegarse” al borde del wrapper */
.ch-prefooter-carousel{
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Separación clara con el footer */
.site-footer{
  margin-top: 0;                 /* evita doble margen */
}


/* Footer general */
.site-footer {
  background: #222;
  color: #eee;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

/* Secciones internas */
.footer-section {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-section h3,
.footer-section h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
}

.footer-section a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Redes sociales simple */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #ddd;
  font-weight: bold;
}

/* Línea inferior */
.footer-bottom {
  text-align: center;
  margin-top: 24px;
  border-top: 1px solid #444;
  padding-top: 16px;
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 12px;
  }
}
  /* Quitar espacios blancos globales */
html, body{
  margin: 0;
  padding: 0;
  background: #fff;


/* Footer pegado al fondo sin línea blanca */
.site-footer{
  margin-bottom: 0;
  padding-bottom: 0;
}
.site-footer{ margin:0; }

/* Evitar que el último hijo deje espacio */
.site-footer *:last-child{
  margin-bottom: 0;
}

/* Por si algún layout usa min-height */
body{
  min-height: 100vh;
}
.site-footer::after,
.site-footer::before{
  content: none !important;
}

  
}

