/* ========================================
   BASE
======================================== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(
    180deg,
    #6ec1ff 0%,
    #3da9fc 15%,
    #8fcfff 35%,
    #eaf5ff 65%,
    #ffffff 100%
  );
}

header {
  background: transparent;
  color: white;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}


.brand-text h1 {
  margin: 0;
  font-size: 22px;
}

.brand-text span {
  font-size: 12px;
  opacity: 0.9;
}

header a {
  color: white;
  font-weight: 500;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 30px;
  background: #3da9fc;
  color: white;
  margin-top: 60px;
}

/* ========================================
   FILTROS
======================================== */

.filters {
  display: flex;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

select {
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

select:hover {
  transform: translateY(-2px);
}

select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(61,169,252,0.3);
}


/* ========================================
   GRID PRODUCTOS
======================================== */

.container {
   padding: 40px 20px 80px 20px;
  max-width: 1200px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: 0.25s ease;
  border: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}


.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.price {
  font-weight: bold;
  margin-top: 10px;
}

/* ========================================
   DESTACADOS
======================================== */

.featured-section {
  background: transparent;
}




.featured-section h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.featured-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}


.subtitle {
  color: #666;
  margin-bottom: 25px;
}

.featured-container {
  position: relative;
  overflow: visible;
}


.featured-track {
  display: flex;
  gap: 25px;
  overflow-x: auto;
scrollbar-width: none;
  scroll-behavior: smooth;
  width: 100%;
  padding: 20px 0;
}
.featured-track::-webkit-scrollbar {
  display: none;
}

.featured-card {
  min-width: 280px;
  max-width: 280px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0,0,0,0.15);
  transition: 0.3s ease;
  flex-shrink: 0;
}

.featured-card:hover {
  transform: scale(1.05);
}


.featured-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.featured-info {
  padding: 15px;
}

.featured-info h3 {
  margin: 0 0 8px;
}

.featured-info span {
  font-weight: bold;
}

/* Flechas destacados */

.featured-arrow {
  position: absolute;
   z-index: 20;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  color: #3da9fc;

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.featured-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.featured-arrow.left {
  left: 10px;
}

.featured-arrow.right {
  right: 10px;
}

/* =========================
   MODAL
========================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  width: 1300px;        /* más ancho */
  max-width: 95%;
  height: 60vh;         /* más alto */
  border-radius: 20px;
  padding: 40px;
  position: relative;

  display: flex;
  gap: 60px;

  overflow: hidden;
}

.modal-body {
  display: flex;
  width: 100%;
  gap: 60px;
}

/* ===== LEFT ===== */

.modal-left {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* 🔥 centra vertical */
}


.modal-gallery img {
  width: 100%;
  height: 520px;     /* imagen mucho más grande */
  object-fit: cover;
  border-radius: 14px;
}

.thumbnails {
  margin-top: 20px;
}

/* ===== RIGHT ===== */

.modal-right {
  width: 40%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-right h2 {
  font-size: 28px;
  margin-bottom: 20px;
}



/* =========================
   INFO BOX (Descripción / Características)
========================= */

.info-box {
  background: #f4f6f9;
  padding: 14px;
  border-radius: 10px;
  margin-top: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.info-box h4 {
  margin-bottom: 6px;
  font-size: 15px;
  color: #3da9fc;
}

/* =========================
   PRICE BOX
========================= */

.price-box {
  background: #eef1f5;
  padding: 14px;
  border-radius: 10px;
  margin-top: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.price-box h4 {
  margin-bottom: 10px;
  font-size: 15px;
}

.price-tier {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
}

/* ========================================
   GALERÍA MODAL
======================================== */

.modal-gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.modal-gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.modal-gallery img.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 28px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
}

.nav-btn.left { left: 10px; }
.nav-btn.right { right: 10px; }

/* ========================================
   MINIATURAS
======================================== */

.thumbnails {
  display: flex;
  gap: 10px;
  margin: 15px 0;
  overflow-x: auto;
}

.thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.thumb:hover { opacity: 1; }

.active-thumb {
  opacity: 1;
  border: 2px solid #3da9fc;
}

/* ========================================
   BOTÓN WHATSAPP
======================================== */

.btn {
  display: block;
  text-align: center;
  padding: 14px;
  background: #ffce00;
  color: black;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 15px;
  font-weight: bold;
  transition: 0.2s ease;
}

.btn:hover {
  background: #f5c400;
}



/* ============================================

        LOGO

===============================================*/
/* ========================================
   HEADER CENTRALIZADO
======================================== */

header {
  position: relative;
  padding: 30px 40px 20px 40px;
  color: white;
  min-height: 220px;
}

/* Logo centrado arriba */
.header-logo {
  position: absolute;
  margin: 20px;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
}
.header-logo img {
  width: 260px;   /* más chico y prolijo */
  height: 260px;
}

/* Texto izquierda */
.header-left {
  position: absolute;
  top: 25px;
  left: 40px;
}

.header-left h1 {
  margin: 0;
  font-size: 24px;
}

.header-left span {
  display: block;
  font-size: 14px;
  opacity: 0.9;
}

/* Texto derecha */
.header-right {
  position: absolute;
  top: 30px;
  right: 40px;
}

.header-right a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}


/* ========================================
   BOTONES REDES FLOTANTES
======================================== */

.social-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.social {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: 0.3s ease;
}

.social img {
  width: 28px;
  height: 28px;
}

.social:hover {
  transform: scale(1.1);
}

/* Colores oficiales */

.whatsapp {
  background: #25D366;
}


/* ========================================
   OPCIONES DE COMPRA MODAL
======================================== */

/* =========================
   BOTONES COMPRA MODAL
========================= */

.buy-options {
  width: 80%;
  max-width: 420px;
  margin: 20px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.buy-title {
  text-align: center;
  margin-bottom: 15px;
  width: 100%;
}

.buy-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buy-btn.whatsapp,
.buy-btn.instagram,
.buy-btn.facebook {
  border: 2px solid rgba(0,0,0,0.25);
}

.buy-btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  color: white;
  text-decoration: none;

  box-sizing: border-box;   /* 🔥 IMPORTANTE */
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(0,0,0,0.3);
}

.buy-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.3);
}

/* Colores planos */
.buy-btn.whatsapp { background: #25D366; }
.buy-btn.instagram { background: #E1306C; }
.buy-btn.facebook { background: #1877F2; }

/* ========================================
   BOTONES SOCIALES FLOTANTES
======================================== */

.social-floating {
  position: fixed;
  right: 20px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.social-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: 0.2s ease;
}

.social-btn:hover {
  transform: scale(1.1);
}

/* Colores oficiales */

.social-btn.whatsapp {
  background: #25D366;
}

.social-btn.instagram {
  background: linear-gradient(
    45deg,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4
  );
}

.social-btn.facebook {
  background: #1877F2;
}

/* ========================================
   PRODUCT INFO BOX
======================================== */

.product-info-box {
  background: rgba(255,255,255,0.9);
  padding: 18px;
  border-radius: 12px;
  margin-top: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.product-info-box p {
  margin: 8px 0;
}

.modal-price {
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
}


/* ========================================
   PRODUCT DETAIL STYLE
======================================== */

.product-description-box {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 18px;
  margin-top: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.product-description-box h4 {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: #3da9fc;
}

.product-description-box p {
  margin: 0;
  line-height: 1.5;
}

.product-features {
  margin-top: 15px;
  padding: 10px 0;
}

.product-features strong {
  display: block;
  margin-bottom: 5px;
}

.product-features p {
  margin: 0;
}

.modal-price {
  font-size: 22px;
  font-weight: bold;
  margin-top: 15px;
}

/* =========================
   PRICE BOX
========================= */

.price-box {
  background: #f5f7fa;
  padding: 18px;
  border-radius: 12px;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.price-box h4 {
  margin-bottom: 12px;
  font-size: 16px;
}

.price-tier {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 15px;
}

/* =========================
   catalogo
========================= */
.titlecatalogo{
  display: flex;
  justify-content: center;
  text-align: center;
margin: 0 auto;
}

/* ========================================
   MOBILE FIX
======================================== */

/* ========================================
   SOCIAL FLOATING REAL (NO AFECTA LAYOUT)
======================================== */

.social-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
  pointer-events: none;
}

.social-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: 0.2s ease;
  pointer-events: auto;
}

.social-btn:hover {
  transform: scale(1.1);
}

.social-btn.whatsapp {
  background: #25D366;
}



.social-btn.facebook {
  background: #1877F2;
}


/* ========================================
   MOBILE OPTIMIZADO
======================================== */

@media (max-width: 768px) {

  body {
    padding-bottom: 120px; /* evita que botones tapen contenido */
  }

  .modal-content {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    padding: 15px;
    flex-direction: column;
    overflow-y: auto;
  }

  .modal-body {
    flex-direction: column;
    gap: 15px;
  }

  .modal-left,
  .modal-right {
    width: 100%;
  }

  .modal-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal-gallery img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 12px;
  }

  .buy-buttons {
    max-width: 100%;
  }

  .social-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
}
/* ========================================
   HEADER RESPONSIVE FIX
======================================== */

@media (max-width: 768px) {

  header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    min-height: auto;
  }

  .header-logo {
    position: static;
    transform: none;
    margin-bottom: 1px;
  }

  .header-logo img {
    width: 200px;
    height: auto;
  }

  .header-left {
    position: static;
    margin-bottom: 10px;
  }

  .header-left h1 {
    font-size: 20px;
  }

  .header-left span {
    font-size: 14px;
  }

  .header-right {
    position: static;
    margin-top: 8px;
  }

}