:root{
  --red:#d90000;
  --red2:#b80000;
  --white:#ffffff;
  --bg:#f6f6f7;
  --text:#111;
  --muted:#6b6b6b;
  --card:#fff;
  --shadow:0 10px 25px rgba(0,0,0,.08);
  --radius:14px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--text);
}

.topbar{
  background:#111;
  color:#fff;
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:8px 18px;
  font-size:13px;
}

.header{
  background:var(--white);
  border-bottom:1px solid rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 18px;
  position:sticky;
  top:0;
  z-index:30;
}

.brand__logo{
  font-weight:900;
  letter-spacing:.5px;
  color:var(--red);
  font-size:20px;
}
.brand__tag{color:var(--muted); font-size:12px}

.nav a{
  text-decoration:none;
  color:#222;
  font-weight:700;
  margin:0 10px;
}
.nav a:hover{color:var(--red)}

.header__actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.search{
  display:flex;
  align-items:center;
  background:#f1f1f1;
  border-radius:999px;
  padding:6px 10px;
  gap:8px;
  min-width:260px;
}
.search input{
  border:none;
  outline:none;
  background:transparent;
  width:100%;
}
.search button{
  border:none;
  background:transparent;
  cursor:pointer;
  color:#666;
}
.cartBtn{
  border:none;
  background:var(--red);
  color:#fff;
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:800;
}

.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  padding:22px 18px;
  align-items:stretch;
}
.hero__left{
  background:linear-gradient(135deg, #fff, #fff);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}
.badge{
  display:inline-block;
  background:rgba(217,0,0,.10);
  color:var(--red);
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
}
.hero h1{margin:12px 0 10px; font-size:34px; line-height:1.05}
.hero p{margin:0 0 14px; color:var(--muted)}

.hero__cta{display:flex; gap:10px; flex-wrap:wrap}
.btnPrimary, .btnOutline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:10px;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  border:none;
}
.btnPrimary{background:var(--red); color:#fff}
.btnPrimary:hover{background:var(--red2)}
.btnOutline{background:#fff; border:2px solid var(--red); color:var(--red)}

.hero__benefits{display:flex; gap:8px; margin-top:14px; flex-wrap:wrap}
.pill{
  background:#f2f2f2;
  padding:8px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
}

.hero__right{
  background:linear-gradient(135deg, rgba(217,0,0,.12), rgba(217,0,0,.02));
  border-radius:var(--radius);
  padding:14px;
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
}
.slider{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:12px;
  background:#fff;
}
.slider img{
  width:100%;
  height:320px;
  object-fit:contain;   /* 👈 CAMBIAR ESTO */
  background:#fff;      /* opcional para que no quede gris */
}
.slider__controls{
  position:absolute;
  left:50%;
  bottom:10px;
  transform:translateX(-50%);
  display:flex;
  gap:12px;
}

.slider__dots{
  position:absolute;
  bottom:12px;
  left:12px;
  display:flex;
  gap:6px;
}
.dot{
  width:9px; height:9px;
  border-radius:50%;
  background:rgba(255,255,255,.6);
}
.dot.is-active{background:#fff}

.categories{
  display:flex;
  gap:10px;
  padding:10px 18px 18px;
  overflow:auto;
}
.cat{
  border:none;
  background:#fff;
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:800;
  box-shadow:0 6px 15px rgba(0,0,0,.06);
  white-space:nowrap;
}
.cat.is-active{
  background:var(--red);
  color:#fff;
}

.wrap{padding:0 18px 40px}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:16px;
}
.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.card img{
  width:100%;
  height:170px;
  object-fit:cover;
}
.card__body{padding:12px}
.card__title{font-weight:900; margin:0 0 6px}
.card__meta{color:var(--muted); font-size:13px; margin:0 0 10px}
.row{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.select, .qty{
  padding:10px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:10px;
  background:#fff;
  flex:1;
}
.qty{max-width:90px}
.addBtn{
  width:100%;
  margin-top:10px;
  border:none;
  background:var(--red);
  color:#fff;
  padding:12px;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
}
.addBtn:hover{background:var(--red2)}

.cart{
  position:fixed;
  top:0;
  right:-420px;
  width:380px;
  max-width:92vw;
  height:100vh;
  background:#fff;
  box-shadow:-12px 0 30px rgba(0,0,0,.15);
  z-index:50;
  display:flex;
  flex-direction:column;
  transition:.25s;
}
.cart.active{right:0}
.cart__header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.iconBtn{
  border:none;
  background:#f1f1f1;
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
}
.cart__body{padding:14px; overflow:auto; flex:1}
.cart__list{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px}
.item{
  border:1px solid rgba(0,0,0,.10);
  border-radius:12px;
  padding:10px;
}
.item b{display:block}
.item small{color:var(--muted)}
.item__actions{
  display:flex;
  justify-content:space-between;
  margin-top:8px;
  align-items:center;
}
.item__actions button{
  border:none;
  background:#ffe2e2;
  color:var(--red);
  padding:8px 10px;
  border-radius:10px;
  font-weight:900;
  cursor:pointer;
}

.cart__footer{
  padding:14px;
  border-top:1px solid rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.btnDanger{
  border:none;
  background:#111;
  color:#fff;
  padding:12px;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
}
.btnWhats{
  border:none;
  background:#25D366;
  color:#fff;
  padding:12px;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
}
.muted{color:var(--muted)}
.tiny{font-size:12px}

.waFloat{
  position:fixed;
  right:18px;
  bottom:18px;
  background:var(--red);
  color:#fff;
  width:56px;
  height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  text-decoration:none;
  box-shadow:0 12px 25px rgba(0,0,0,.18);
}

.footer{
  background:#fff;
  border-top:1px solid rgba(0,0,0,.08);
  padding:20px 18px;
  color:#222;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

@media (max-width: 980px){
  .hero{grid-template-columns:1fr; }
  .search{min-width:180px;}
}

.topbar__link{
  color:#fff;
  text-decoration:none;
  font-weight:800;
}
.topbar__link:hover{
  text-decoration:underline;
}
.contactSection{
  padding: 28px 18px 40px;
}

.contactGrid{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
}

.contactCard,
.mapCard{
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  padding: 18px;
  border: 1px solid rgba(0,0,0,.06);
}

.contactCard h2,
.mapCard h2{
  margin: 0 0 12px;
  font-size: 22px;
}

.infoList{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.infoRow{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f7f7;
}

.infoLabel{
  font-weight: 900;
  color: #111;
}

.link{
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}
.link:hover{ text-decoration: underline; }

.btnRow{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btnLight,
.btnPrimary2{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btnLight{
  background: #f1f1f1;
  color: #111;
}

.btnPrimary2{
  background: var(--red);
  color: #fff;
}
.btnPrimary2:hover{ background: var(--red2); }

.mapWrap{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.mapWrap iframe{
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Responsive */
@media (max-width: 980px){
  .contactGrid{ grid-template-columns: 1fr; }
  .mapWrap iframe{ height: 320px; }
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand__img{
  height:52px; /* tamaño del logo */
  width:auto;
}

.brand__text{
  display:flex;
  flex-direction:column;
}

.brand__logo{
  font-size:28px;
  font-weight:900;
  letter-spacing:1px;
  color:var(--red);
  line-height:1;
  text-transform:uppercase;
}

.brand__tag{
  font-size:14px;
  color:#555;
  font-weight:600;
}
.siteFooter{
  background:#0f0f0f;
  color:#fff;
  margin-top:40px;
}

.siteFooter__wrap{
  max-width:1180px;
  margin:0 auto;
  padding:34px 18px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:26px;
}

.footerCol h3{
  margin:0 0 12px;
  font-size:20px;
  font-weight:900;
}

.footerMuted{
  color:rgba(255,255,255,.72);
  margin:0 0 14px;
  line-height:1.5;
}

.footerInfo{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:14px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}

.footerInfo a{
  color:#fff;
  font-weight:800;
  text-decoration:none;
}
.footerInfo a:hover{ text-decoration:underline; }

.footerBtns{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.footerBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  border:1px solid rgba(255,255,255,.14);
}

.footerBtn--light{
  background:rgba(255,255,255,.08);
  color:#fff;
}

.footerBtn--red{
  background:var(--red);
  color:#fff;
  border-color:transparent;
}
.footerBtn--red:hover{ background:var(--red2); }

.newsletter{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.newsletter input{
  flex:1;
  min-width:220px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  outline:none;
}

.newsletter input::placeholder{
  color:rgba(255,255,255,.55);
}

.newsletter button{
  padding:12px 16px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  font-weight:900;
  background:var(--red);
  color:#fff;
}
.newsletter button:hover{ background:var(--red2); }

.footerTiny{
  font-size:12px;
  margin-top:12px;
}

.siteFooter__bottom{
  border-top:1px solid rgba(255,255,255,.10);
  padding:14px 18px;
  color:rgba(255,255,255,.72);
}

.siteFooter__bottom > div{
  max-width:1180px;
  margin:0 auto;
}

/* Responsive */
@media (max-width: 980px){
  .siteFooter__wrap{
    grid-template-columns:1fr;
  }
}
.card__price{
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 18px;
  color: var(--red);
}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:20px;
  align-items:stretch;
}

.card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  height:100%;
  background:#fff;
  border-radius:14px;
  padding:16px;
}
.card__img{
  width:100%;
  height:220px;      /* todas iguales */
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f9f9f9;
  border-radius:10px;
  overflow:hidden;
}

.card__img img{
  width:110%;
  height:110%;
  object-fit:contain;
}
.card__title{
  min-height:48px;
  font-weight:700;
}

.card__meta{
  min-height:40px;
  color:#666;
}
.categories{
  display:flex;
  gap:10px;
  padding:10px 18px 18px;
  overflow-x:auto;
  white-space:nowrap;
}

.cat{
  border:none;
  padding:10px 14px;
  border-radius:20px;
  background:#f2f2f2;
  font-weight:600;
  cursor:pointer;
  transition:0.2s;
}

.cat:hover{
  background:#ddd;
}

.cat.is-active{
  background:var(--red);
  color:#fff;
}
/* Fondo con imagen solo en la tarjeta de Contacto (izquierda) */
.contactCard{
  position: relative;
  background: url("img/local.jpg") center/cover no-repeat; /* 👈 tu foto */
}


/* Asegura que el contenido quede arriba de la capa */
.contactCard::before{
  background: rgba(255,255,255,.88);
}
.contactCard{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;  /* manda todo abajo */
  padding: 20px;
}

.cartTotal{
  margin-top:15px;
  font-size:18px;
  font-weight:700;
  text-align:right;
  padding-top:10px;
  border-top:1px solid #ddd;
  color:var(--red);
}

 .floatingCart{
  position: relative;
}

.cartBadge{
  position:absolute;
  top:-8px;
  right:-8px;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background: var(--red);
  color:#fff;
  font-size:12px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #fff;
}

.cartBadge.is-hidden{
  display:none;
}
/* ===== Responsive móvil ===== */
@media (max-width: 520px){
  .topbar{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .header{
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand__logo{ font-size: 22px; }
  .brand__img{ height: 44px; }

  .search{
    min-width: 100%;
    width: 100%;
  }

  .nav{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero{
    grid-template-columns: 1fr;
    padding: 14px 12px;
  }

  .slider img{
    height: 220px;
  }

  .wrap{ padding: 0 12px 30px; }

  .grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card__img{
    height: 180px;
  }

  .row{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .select, .qty{
    width: 100%;
    max-width: none;
  }

  .cart{
    width: 92vw;
  }

  .siteFooter__wrap{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
/* fila medida + cantidad siempre alineada */
.row{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:nowrap;     /* 👈 evita que baje */
}

.select{
  flex: 1 1 auto;       /* ocupa lo que haya */
  min-width: 0;         /* 👈 clave para que el select pueda achicarse */
}

.qty{
  flex: 0 0 90px;       /* ancho fijo */
  max-width: 90px;
}

@media (max-width: 520px){
  .row{ flex-wrap:wrap; }
  .qty{ flex:1 1 120px; max-width:none; }
}
.subcategories{
  display:flex;
  gap:10px;
  padding:0 18px 18px;
  overflow-x:auto;
  white-space:nowrap;
}

.subcat{
  border:none;
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  font-weight:700;
  color:#444;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
}

.subcat.is-active{
  background:var(--red);
  color:#fff;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav > a,
.navDropdown {
  display: inline-flex;
  align-items: center;
}
.heroBox {
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.heroBadge {
  background: #ffe5e5;
  color: #d60000;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  width: fit-content;
  font-size: 13px;
}

.heroTitle {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #112;
}

.heroDesc {
  font-size: 17px;
  color: #555;
  max-width: 480px;
}

.heroBenefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.heroBenefits span {
  background: #f5f5f5;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.heroActions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.btnPrimary {
  background: #e10600;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.btnPrimary:hover {
  background: #c80000;
}

.btnSecondary {
  background: #fff;
  border: 2px solid #e10600;
  color: #e10600;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.slider img {
  width: 100%;
  border-radius: 14px;
}
.heroBadge {
  width: 100%;
  background: #fff3f3;
  color: #e10600;
  font-weight: 900;
  font-size: 18px;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  border: 2px dashed #e10600;
  animation: softPulse 2.5s ease-in-out infinite;
}

@keyframes softPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 18px rgba(225, 6, 0, 0.2);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 10px 28px rgba(225, 6, 0, 0.35);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 18px rgba(225, 6, 0, 0.2);
  }
}
.btnPrimary {
  background: #e10600;
  color: #fff;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(225, 6, 0, 0.25);
  transition: all 0.2s ease;
}

.btnPrimary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(225, 6, 0, 0.35);
}

.btnSecondary {
  background: #fff;
  border: 2px solid #e10600;
  color: #e10600;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btnSecondary:hover {
  background: #fff3f3;
}

/* CATEGORÍAS PRINCIPALES */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.categories .cat {
  background: #f2f2f2;
  color: #111;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.categories .cat:hover {
  transform: translateY(-1px);
}

.categories .cat.is-active {
  background: #e10600;
  color: #fff;
}

/* CAJA DE SUBCATEGORÍAS */
.subcategory-box {
  background: #fff;
  border: 1px solid #ececec;
  border-left: 4px solid #e10600;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

/* TEXTO "SUBCATEGORÍAS DE..." */
.subcategory-label {
  font-size: 12px;
  font-weight: 700;
  color: #777;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* BOTONES DE SUBCATEGORÍAS */
.subcategories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subcategories button {
  background: #e10600;   /* ROJO SIEMPRE */
  color: #fff;           /* TEXTO BLANCO */
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subcategories button:hover {
  background: #b80000; /* rojo más oscuro */
}

.subcategories button.is-active {
  background: #b80000;
  color: #fff;
  transform: scale(1.05);
}
