/*
Theme Name: Storefront Child
Theme URI: https://yourdomain.com/
Description: Child theme de Storefront para personalización con Alpine HTML
Author: Tu Nombre
Template: storefront
Version: 1.0
*/
html {
  margin-top: 0 !important;
}

body{
  background-color: #f6f6f6 !important;
  font-family: 'Fredoka', sans-serif;
}

h1, h2, h3, p, a, button {
  font-family: 'Fredoka', sans-serif;
}

h2{
  margin-top: 0px !important;
}

.slider-wrapper {
  position: relative;
  width: 100%;
}

.slider-image {
  height: 50vh;
  background-size: cover;
  background-position: center;
}

.section-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0 2rem;
}

.section-titulo .linea {
  width: 15%;
  height: 1px;
  background: linear-gradient(to right, transparent, #fba6d2, transparent); /* rosado suave */
  margin: 0 10px;
}

.section-titulo .titulo {
  color: #ec008c; /* fucsia fuerte */
  font-weight: bold;
  font-size: 25px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card.card-listing {
  border: 1px solid #eee;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  background: white;
}

.card.card-listing:hover {
  transform: translateY(-3px);
}

.card-listing h5 a {
      font-family: 'Verdana', sans-serif;
    font-weight: 700;
    background: #0073b7;
    font-size: 16px;
    color: white;
    padding: 3%;
    border-radius: 5px;
}

.card-listing .woocommerce-loop-product__link {
  display: block;
  background: white;
  padding: 10px;
}

.card-listing img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background-color: white;
}

.card-listing .button {
  background-color: #f2f2f2 !important;
  color: #ec008c !important;
  font-weight: bold;
  font-size: 14px;
  border-radius: 5px;
  padding: 8px 12px;
  box-shadow: 0 2px 3px rgba(0,0,0,0.15);
  border: none;
  transition: all 0.2s;
  width: 75%;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.card-listing .button:hover {
  background-color: #e0e0e0 !important;
  color: #ec008c !important;
}



.section-titulo .linea {
  width: 15%;
  height: 1px;
  background: linear-gradient(to right, transparent, #ec008c, transparent);
  margin: 0 10px;
}



.alert-acceso-precios {
  background-color: #eaf1f7;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  padding: 15px 25px;
  margin: 20px 0;
  font-family: 'Arial', sans-serif;
  font-size: 13px;
  color: #333;
  text-align: center;
  border-radius: 3px;
}

.alert-acceso-precios a {
  color: #ec008c;
  font-weight: bold;
  text-decoration: none;
}

.alert-acceso-precios a:hover {
  text-decoration: underline;
}


.categoria-box {
  height: 100px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.categoria-box .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.categoria-nombre {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 5px rgba(0,0,0,0.8);
  padding: 5%;
}


/*.card-producto {
  border-radius: 12px;
  background-color: #ffffff;
  border: 2px solid #eeeeee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}*/

 

.boton-agregar .button {
  background-color: #1374B2; /* Azul */
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.boton-agregar .button:hover {
  background-color: #a4d748; /* Verde */
}

.badge-fuscia {
  background-color: rgb(236, 0, 140);
  color: #fff;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.badge-danger:hover {
    color: #fff;
    background-color: rgb(227, 111.8, 131);
}

.badge-verde {
  background-color: #a4d748;
  color: #1c212c!important;
}
.badge-primary {
    background-color: rgb(16.8, 36, 42.2) !important;
    color: rgb(135.3, 202.5, 224.2) !important;
}
.rounded-pill {
    border-radius: 50rem !important;
}
.badge {
    --mdb-badge-padding-x: 0.65em;
    --mdb-badge-padding-y: 0.35em;
    --mdb-badge-font-size: 0.75em;
    --mdb-badge-font-weight: 700;
    --mdb-badge-color: #fff;
    --mdb-badge-border-radius: 0.27rem;
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

.titulo-producto {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.text-precio {
  font-size: 1rem;
  color: #e91e63; /* Fucsia o usa #00bcd4 para un celeste alegre */
  white-space: nowrap;
}

.card-producto {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease-in-out;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px !important; 
}

.card-producto:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
}

.producto-img img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  border-bottom: 1px solid #eee;
}

.boton-agregar {
  margin-top: 0.75rem;
}

.sku-badge {
  font-size: 0.75rem;
  background-color: #007bff; /* azul o color de tu branding */
  color: white;
  border-radius: 0.3rem;
  padding: 4px 8px;
}

.proveedor-badge {
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  display: inline-block;
}

.proveedor-badge:hover {
  opacity: 0.85;
  transform: scale(1.04);
}

/* Colores definidos previamente */
.badge-fuscia {
  background-color: rgb(236, 0, 140);
  color: #fff;
}

.badge-fuscia:hover {
  background-color: rgb(236, 0, 140)!important;
  color: #fff!important;
}

.badge-verde {
  background-color: #a4d748;
  color: #4a642c;
}

.badge-primary {
  background-color: #1374B2 !important;
  color: #fff !important; 
}

.bg-lima {
  background-color: #a4d748;
}
.bg-olive {
  background-color: #4a642c;
}
.text-olive {
  color: #4a642c;
}
.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow-next {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
}

#liveSearchBox {
  max-height: 350px;
  overflow-y: auto;
  width: 300px;
}

#searchResults {
  max-height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

#searchResults::-webkit-scrollbar {
  width: 6px;
}
#searchResults::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
