:root {
  --bg: #050608;
  --bg-soft: #111827;
  --accent: #f97316;      /* naranja marketing */
  --accent-soft: #fed7aa;
  --text: #f9fafb;
  --muted: #9ca3af;
  --card: #020617;
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1e293b 0, #020617 55%);
  color: var(--text);
}

/* HEADER */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 7vw;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(2, 6, 23, 0.8);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: .04em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, .6);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.main-nav a:hover {
  color: var(--accent);
}

/* CONTENIDO */

.page-content {
  padding: 24px 7vw 60px;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: var(--accent-soft);
  margin-bottom: 10px;
}

.hero-text p {
  color: var(--muted);
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #0b0f19;
  font-weight: 600;
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text);
  background: rgba(15, 23, 42, 0.7);
}

/* TARJETAS CATÁLOGOS / PRODUCTOS */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: radial-gradient(circle at top left, #111827 0, #020617 55%);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.card img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  max-height: 190px;
}

.card-title {
  margin: 10px 0 4px;
  font-weight: 600;
}

.card-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 4px;
}

.badge-minorista { color: #a5b4fc; }
.badge-mayorista { color: #bbf7d0; }

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 24px 7vw 16px;
  background: #020617;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.copy {
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
  color: #6b7280;
}

/* WhatsApp flotante */

.whatsapp-float {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #22c55e;
  color: #052e16;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.9);
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    margin-top: 8px;
  }
  .main-nav a {
    margin-left: 0;
    margin-right: 12px;
  }
}

/* ======== Fichas de producto en catálogos ======== */

.product-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}

.product-card {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  background: radial-gradient(circle at top left,#111827 0,#020617 55%);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(148,163,184,.25);
  box-shadow: 0 18px 40px rgba(15,23,42,.9);
  align-items: flex-start;
}

.product-card-img-wrap {
  flex: 0 0 220px;
  max-width: 260px;
}

.product-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;   /* formato foto producto */
  object-fit: cover;     /* recorta sin deformar */
  border-radius: 14px;
  display: block;
}

.product-card-body {
  flex: 1 1 240px;
  min-width: 220px;
}

.product-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Responsive: en celu la imagen queda arriba y texto abajo */
@media (max-width: 768px) {
  .product-card {
    flex-direction: column;
  }
  .product-card-img-wrap {
    flex: 1 1 auto;
    max-width: 100%;
  }
}

/* ====== Layout de fichas de producto (ya venía pero por las dudas) ====== */
.product-list {
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:18px;
}
.product-card {
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  background:radial-gradient(circle at top left,#111827 0,#020617 55%);
  border-radius:var(--radius);
  padding:16px;
  border:1px solid rgba(148,163,184,.25);
  box-shadow:0 18px 40px rgba(15,23,42,.9);
  align-items:flex-start;
}
.product-card-body {
  flex:1 1 260px;
  min-width:220px;
}
.product-desc {
  font-size:13px;
  color:var(--muted);
  margin-top:4px;
}

/* ====== Galería premium ====== */
.product-gallery {
  flex:0 0 260px;
  max-width:320px;
}
.product-gallery-main {
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:#020617;
}
.product-gallery-main-img {
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  display:none;
}
.product-gallery-main-img.is-active {
  display:block;
}
.gallery-nav {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(15,23,42,.7);
  border:none;
  color:#e5e7eb;
  width:32px;height:32px;
  border-radius:999px;
  display:grid;
  place-items:center;
  cursor:pointer;
  font-size:20px;
}
.gallery-nav.prev{left:10px;}
.gallery-nav.next{right:10px;}

.product-gallery-thumbs {
  display:flex;
  gap:6px;
  margin-top:6px;
}
.product-thumb {
  border:none;
  padding:0;
  background:none;
  border-radius:8px;
  overflow:hidden;
  opacity:.6;
  cursor:pointer;
}
.product-thumb.is-active {
  opacity:1;
  outline:2px solid var(--accent);
}
.product-thumb img {
  width:56px;
  height:56px;
  object-fit:cover;
  display:block;
}

@media(max-width:768px){
  .product-card{flex-direction:column;}
  .product-gallery{max-width:100%;flex:1 1 auto;}
}

/* ====== FOOTER KOVAL ====== */
.site-footer {
  margin-top: 40px;
  padding: 28px 16px 18px;
  border-top: 1px solid rgba(148,163,184,.3);
  background: radial-gradient(circle at top left, #020617 0, #020617 55%);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-col {
  min-width: 200px;
  flex: 1 1 0;
}

.site-footer h4 {
  margin: 0 0 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #e5e7eb;
}

.site-footer p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  color: #f97316;
  text-decoration: underline;
}

.copy {
  margin-top: 14px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 16px;
  }
}

/* ====== BOTÓN FLOTANTE WHATSAPP ====== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #f9fafb;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(0,0,0,.6);
  border: 2px solid #22c55e;
  z-index: 999;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

