@charset "UTF-8";
/* COLORES */
/* SOMBRAS */
/* RADIOS */
/* BREAKPOINTS */
/* ESPACIADOS */
/* MAPA DE REDES */
/* FLEX */
/* CARDS */
/* IMÁGENES */
/* RESPONSIVE */
/* CARD BASE */
.producto, .item-Index {
  background: #2b2b2b;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* BOTONES */
.cart-icon {
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

/* RESET */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: #232323;
  color: whitesmoke;
}

/* CONTENIDO PRINCIPAL */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 18px;
}

/* IMÁGENES DE CARDS */
.card-img-top {
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* MINITOAST */
.mini-toast {
  z-index: 2000;
}

/* HEADER */
header {
  background: whitesmoke;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
header .logo-rks {
  width: 140px;
  height: auto;
}
header nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
  list-style: none;
}
header nav a {
  color: #232323;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  transition: 0.2s ease;
}
header nav a:hover {
  background: rgba(255, 102, 0, 0.15);
  color: #ff6600;
}
header nav a.active {
  color: #ff6600;
  background: rgba(255, 102, 0, 0.18);
  font-weight: 800;
}

/* CARRITO ICONO */
.nav-item-cart {
  display: flex;
  align-items: center;
}

.cart-icon {
  position: relative;
  background: transparent;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  color: white;
}
.cart-icon .cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #ff3b30;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 50px;
}

/* ANIMACION CONTADOR CARRITO */
.cart-badge.bump {
  animation: cart-bump 0.3s ease;
}

@keyframes cart-bump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}
/* CARRITO ITEMS (MODAL) */
.cart-item {
  gap: 10px;
}

.cart-item-info {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
}

.cart-item-text {
  min-width: 0;
}

.cart-item-name {
  white-space: normal;
  word-break: break-word;
  line-height: 1.2;
}

.cart-item-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* BOTONES DE CANTIDAD */
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cart-item-qty {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

/* PRECIO */
.cart-item-subtotal {
  min-width: 78px;
  text-align: right;
  font-weight: 700;
  color: #ffc107;
  margin-left: 8px;
  flex-shrink: 0;
}

/* BOTÓN ELIMINAR */
.cart-item-remove {
  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  header {
    padding: 12px 16px;
  }
}
@media (max-width: 520px) {
  header nav ul {
    gap: 10px;
  }
  header nav a {
    padding: 8px 10px;
  }
  .nav-item-cart {
    justify-content: center;
    margin-top: 10px;
  }
  /* Ajustes carrito */
  .cart-item-img {
    width: 44px;
    height: 44px;
  }
  .cart-item-actions {
    gap: 4px;
  }
  .cart-item-subtotal {
    min-width: 64px;
    font-size: 14px;
    margin-left: 6px;
  }
}
/* FOOTER */
#footer {
  background: whitesmoke;
  color: #232323;
  padding: 18px 14px;
  text-align: center;
}

/* BOTONES REDES */
.btn-whatsapp {
  background-color: #25d366;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  margin: 4px;
  transition: 0.2s ease;
}
.btn-whatsapp:hover {
  opacity: 0.85;
}

.btn-instagram {
  background-color: #e1306c;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  margin: 4px;
  transition: 0.2s ease;
}
.btn-instagram:hover {
  opacity: 0.85;
}

.btn-facebook {
  background-color: #1877f2;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  margin: 4px;
  transition: 0.2s ease;
}
.btn-facebook:hover {
  opacity: 0.85;
}

/* BOTON FLOTANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

.whatsapp-float {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.textos-Index {
  padding: 36px 16px;
  text-align: center;
}
.textos-Index h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}
.textos-Index p {
  font-size: 16px;
  color: #cfcfcf;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.lista-Index {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.item-Index {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.item-Index:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}
.item-Index a {
  display: block;
  padding: 14px;
}
.item-Index img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
}
.item-Index p {
  margin-top: 10px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .lista-Index {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .lista-Index {
    grid-template-columns: 1fr;
  }
}
.lista-productos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.producto {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.producto:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}
.producto img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.precio {
  color: #ff6600;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 10px;
}

.stock {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.stock-ok {
  color: #28a745;
}
.stock-low {
  color: #ffc107;
}
.stock-out {
  color: #dc3545;
}

.btn-cart {
  font-weight: 700;
  border-radius: 12px;
  transition: 0.2s ease;
}
.btn-cart:hover {
  transform: translateY(-2px);
}

/* BUSCADOR */
.search-input {
  padding-left: 38px;
}

/* icono lupa */
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  pointer-events: none;
}

/* boton limpiar */
.clear-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: white;
  opacity: 0.6;
  cursor: pointer;
}

.clear-search:hover {
  opacity: 1;
}

@media (min-width: 1200px) {
  .lista-productos {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 900px) {
  .lista-productos {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .lista-productos {
    grid-template-columns: 1fr;
  }
}
.contactos-Main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.imagen-Contacto {
  text-align: center;
}
.imagen-Contacto img {
  width: 100%;
  max-width: 700px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/*# sourceMappingURL=style.css.map */
