:root{
  --black:#000;
  --white:#fff;

  --skinny:#38d430;
  --sk-skinny:#ff0000;
  --slim:#00b2e3;
  --recto:#001871;
  --gabardina:#ff6c37;
  --otros:#EDE8D0;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family: 'Inter', Arial, sans-serif;
  background:var(--white);
  color:var(--black);
  line-height:1.4;
}


.header{
  background:#000;
  padding:5px 16px;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo img{
  height:56px;
}

.carrito{
  color:#fff;
  font-size:18px;
  text-decoration:none;
}


.container {
  padding: 14px;
  max-width: 1100px;
  margin: auto;
}

.menu {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}

.menu a {
  padding: 8px 14px;
  border: 1px solid #000;
  white-space: nowrap;
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.carousel {
  margin: 15px 0;
  border: 1px solid #000;
}

.carousel img {
  width: 100%;
  display: none;
}

.carousel img.active {
  display: block;
}

.section {
  margin-top: 30px;
}

.section h2 {
  margin-bottom: 10px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}

.product-card{
  border:1px solid #000;
  padding:10px;
  background:#fff;
  transition:transform .15s ease, box-shadow .15s ease;
}

.product-card:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,.08);
}

.product-card img{
  width:100%;
  height:200px;
  object-fit:cover;
  margin-bottom:8px;
}





table {
  width:100%;
  border-collapse:collapse;
}

th {
  background:#000;
  color:#fff;
}

td, th {
  padding:8px;
}

a {
  text-decoration:none;
  color:#000;
  font-weight:bold;
}






.menu{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:12px 0;
}

.menu a{
  padding:8px 14px;
  border:1px solid #000;
  border-radius:20px;
  white-space:nowrap;
  font-size:13px;
  text-decoration:none;
  color:#000;
}





button{
  padding:10px 14px;
  background:#000;
  color:#fff;
  border:none;
  cursor:pointer;
  font-weight:600;
}

button.secondary{
  background:#fff;
  color:#000;
  border:1px solid #000;
}

button:disabled{
  opacity:.4;
  cursor:not-allowed;
}





.admin-container{
  max-width:1100px;
  margin:auto;
  padding:20px;
}

nav a{
  margin-right:10px;
}






.estado{
  padding:4px 8px;
  font-size:12px;
  border-radius:12px;
  display:inline-block;
}

.estado.pendiente{ background:#fff3cd; }
.estado.confirmado{ background:#d4edda; }
.estado.cancelado{ background:#f8d7da; }





.fit-badge{
  display:inline-block;
  padding:4px 10px;
  font-size:12px;
  font-weight:700;
  border-radius:20px;
  color:#000;
  margin-bottom:6px;
}

.fit-skinny{ background:var(--skinny); }
.fit-sk-skinny{ background:var(--sk-skinny); color:#fff; }
.fit-slim{ background:var(--slim); }
.fit-recto{ background:var(--recto); color:#fff; }
.fit-gabardina{ background:var(--gabardina); }
.fit-otros{ background:var(--otros); }


.horizontal-scroll{
  display:flex;
  gap:14px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:10px;
}

.scroll-card{
  min-width:160px;
  border:1px solid #000;
  background:#fff;
  padding:8px;
  scroll-snap-align:start;
}

.scroll-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  margin-bottom:6px;
}

.category-products{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}




/* ============================= */
/* HERO RESPONSIVE PRO VERSION   */
/* ============================= */

.hero{
  position:relative;
  width:100%;
  height:420px; /* Altura fija controlada */
  max-height:70vh;
  overflow:hidden;
  background:#000;
}

.hero img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  opacity:0;
  transition:opacity 1s ease-in-out;
}

.hero img.active{
  opacity:1;
}

/* Overlay elegante */
.hero::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.2),
    rgba(0,0,0,.6)
  );
}

/* -------- MÓVIL -------- */
@media (max-width:768px){

  .hero{
    height:260px;  /* MUCHO más limpio */
  }

}


.precio-normal{
  margin-top:8px;
  font-size:20px;
}

.zoom-container{
  overflow:hidden;
  position:relative;
  cursor:zoom-in;
}

.zoom-container img{
  width:100%;
  height:450px;
  object-fit:cover;
  transition:transform .3s ease;
}

.zoom-container:hover img{
  transform:scale(1.2);
}




#piezaBox{
  margin-top:25px;
}

.cantidad-box{
  margin-top:20px;
  margin-bottom:20px;
}

.cantidad-box input{
  width:80px;
  padding:8px;
  margin-top:5px;
}

button[onclick="activarPaquete()"]{
  margin-top:25px;
}


