/* ================
   ESTILO PREMIUM
   ================ */

.regalo-buscador {
  width: 90%;
  padding: 2px 0;
  background: linear-gradient(90deg, #e7e7e7, #dddddd33 40%);
  border-bottom: 2px solid rgba(0,0,0,0.04);
  border-radius: 50px;
  margin: 10px auto;
}

.regalo-buscador-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.regalo-buscador-titulo {
  font-size: 18px;
  font-weight: 600;
  color: #3C3C3B;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  white-space: nowrap;
  height: 48px;
  margin: 14px 20px;
}

.regalo-buscador-form {
  display: flex;
  width: 100%;
  justify-content: center;
}

.regalo-buscador-input {
  flex: 1;
  min-width: 0;
  padding: 10px 10px !important;
  border: none !important;
  border-radius: 50px;
  background: #fff;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #333;
  transition: all 0.25s ease;
  box-shadow: 0 5px 14px rgba(0,0,0,0.03);
  margin: 0px 10px 0px 0px;
}

.regalo-buscador-input::placeholder {
  color: #999;
  opacity: 1;
}

.regalo-buscador-input:focus {
  outline: none;
  border-color: #d7c3f7;
  box-shadow: 0 5px 20px rgba(150, 120, 200, 0.18);
}

.regalo-buscador-btn {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg, #f0f0f1, #cccccc);
  color: #3c3c3b;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
  box-shadow: 0 5px 14px rgba(150, 120, 200, 0.28);
}

.regalo-buscador-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(150, 120, 200, 0.35);
}

.regalo-buscador-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(150, 120, 200, 0.22);
}

/* ICONO */
.as-info-icon {
    font-size: 20px;
    margin-left: 10px;
    cursor: pointer;
    display: inline-block;
    transition: 0.2s;
}

.as-info-icon:hover {
    transform: scale(1.15);
}

/* MODAL */
.as-info-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.as-info-content {
    background: #fff;
    padding: 28px 26px;
    border-radius: 14px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.as-info-close {
    float: right;
    font-size: 22px;
    cursor: pointer;
}

.as-info-close:hover {
    color: #999;
}

.as-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  background: #d2c8e1;
  color: #553a6d;
  cursor: pointer;
  transition: 0.25s ease;
  margin-left: 6px;
}

.as-info-icon:hover {
  background: #c9b2f1;
  transform: translateY(-2px);
}



/* ============================================
   POPUP DE RESULTADOS DE B���SQUEDA
   ============================================ */

.as-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.as-popup-box {
    background: #fff;
    width: 95%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    font-family: 'Inter', sans-serif;
    position: relative;
    animation: popupFade 0.25s ease;
}

@keyframes popupFade {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.as-popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 24px;
    font-weight: bold;
    color: #777;
    cursor: pointer;
    transition: 0.2s;
}

.as-popup-close:hover {
    color: #000;
    transform: scale(1.15);
}

#as-popup-content h3 {
    margin-bottom: 18px;
}

/* Grid de resultados */
.as-result-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ===============================
   TARJETAS PREMIUM (integrado)
   =============================== */

.as-product-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 10px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.as-product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* Imagen refinada y m���s peque���a */
.as-product-item img {
    width: 80%;              /* Aqu��� se ajusta el tama���o */
    max-width: 300px;        /* Evita agrandarse demasiado */
    border-radius: 14px;
    display: block;
    margin: 0 auto 10px auto;
    object-fit: contain;
}

/* Nombre del producto */
.as-product-title {
    font-size: 0.8rem !important;
    font-weight: 400;
    color: #333;
    line-height: 1.3;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
}

/* Precio estilo */
.as-price,
.as-product-price {
    font-size: 1rem;
    font-weight: 400;
    color: #3C3C3B;
    margin-bottom: 6px;
    font-family: "Poppins", sans-serif;
}

/* Bot���n */
.as-btn {
    background: #3C3C3B;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 12px;
    display: inline-block;
    text-decoration: none;
    margin-top: 8px;
    font-weight: 400;
    transition: 0.2s ease;
    font-family: "Poppins", sans-serif;
	font-size: 0.8rem !important;
}

.as-btn:hover {
    background: #F0B7A3;
    color: #3C3C3B;
}




/* RESPONSIVE */
  /* ============================
   RESPONSIVE - MOBILE EDITION
   ============================ */
@media (max-width: 768px) {

  .regalo-buscador {
    width: 94%;
    padding: 12px 0;
    background: linear-gradient(90deg, #f0b7a3, #e9a48c33 40%);
    border-bottom: 2px solid rgba(0,0,0,0.04);
    border-radius: 16px;
    margin: 12px auto;
  }

  .regalo-buscador-container {
    flex-direction: column;   
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 0 10px;
  }

  .regalo-buscador-titulo {
    font-size: 14px;
    margin: 4px 0 0 0;
    height: auto;
    white-space: normal;
    display: flex;
    justify-content: center;
  }

  .regalo-buscador-input {
    width: 100%;
    padding: 12px 14px !important;
    border-radius: 16px;
    font-size: 13px;
    margin: 0;
  }

  .regalo-buscador-btn {
    width: 60%;
    padding: 12px 0;
    font-size: 14px;
    border-radius: 14px;
  }

  .as-info-icon {
    width: 18px;
    height: 18px;
    font-size: 11px;
    margin-left: 5px;
  }

  /* Popup responsivo */
  .as-info-modal {
    padding: 0 20px;
  }

  .as-info-content {
    width: 100%;
    max-width: 350px;
    padding: 22px 18px;
  }

  .as-info-close {
    font-size: 22px;
  }

}



}
