/* EstarWeb Elementor Extras — estilos de los widgets */

.estarweb-ee-category-banner {
  --a: #181818;
  --b: #333333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(120deg, var(--a) 0 55%, var(--b) 55% 100%);
  border-radius: 8px;
  padding: 36px 44px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.estarweb-ee-category-banner-title {
  display: block;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}
.estarweb-ee-category-banner-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
  text-transform: uppercase;
  opacity: 0.95;
}
.estarweb-ee-category-banner-photos { display: flex; flex-shrink: 0; }
.estarweb-ee-category-banner-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.85);
  overflow: hidden;
  background: #fff;
  margin-left: -22px;
  flex-shrink: 0;
}
.estarweb-ee-category-banner-photo:first-child { margin-left: 0; }
.estarweb-ee-category-banner-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) {
  .estarweb-ee-category-banner { flex-direction: column; text-align: center; padding: 28px 24px; }
  .estarweb-ee-category-banner-photos { margin-top: 16px; }
}

.estarweb-ee-carousel-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
}
.estarweb-ee-carousel-track ul.products {
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-bottom: 10px;
  list-style: none;
  margin: 0;
}
.estarweb-ee-carousel-track ul.products li.product {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

.estarweb-ee-feature-box {
  text-align: center;
  padding: 24px;
}
.estarweb-ee-feature-box-icon {
  display: inline-flex;
  font-size: 28px;
  color: #FB7631;
  margin-bottom: 12px;
}
.estarweb-ee-feature-box h3 { font-size: 16px; margin: 0 0 8px; }
.estarweb-ee-feature-box p { font-size: 13.5px; color: #666; margin: 0; }

.estarweb-ee-payment-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.estarweb-ee-payment-badges li {
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 700;
}
.estarweb-ee-payment-badges li img { height: 24px; display: block; }

/* ==========================================================
   Banner hero (imagen de fondo + botón)
   ========================================================== */
.estarweb-ee-hero {
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
}
.estarweb-ee-hero-overlay {
  position: absolute;
  inset: 0;
}
.estarweb-ee-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 40px 56px;
  max-width: 560px;
}
.estarweb-ee-align-center { margin: 0 auto; text-align: center; }
.estarweb-ee-align-right { margin-left: auto; text-align: right; }
.estarweb-ee-align-left { text-align: left; }
.estarweb-ee-hero-eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.9;
}
.estarweb-ee-hero-title { font-size: 34px; font-weight: 800; margin: 0 0 10px; line-height: 1.2; }
.estarweb-ee-hero-subtitle { font-size: 15px; margin: 0 0 20px; opacity: 0.95; }
.estarweb-ee-hero-button {
  display: inline-block;
  background: #FB7631;
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

/* Variante con video de fondo */
.estarweb-ee-hero-video-wrap { background: #000; }
.estarweb-ee-hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none; /* el clic pasa de largo: no aparece "Guardar video como" al hacer clic derecho encima */
}

/* ==========================================================
   Carrusel de banners
   ========================================================== */
.estarweb-ee-slider {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.estarweb-ee-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease;
}
.estarweb-ee-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.estarweb-ee-slide-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 40px 56px;
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.estarweb-ee-slide-content h3 { font-size: 30px; font-weight: 800; margin: 0 0 10px; }
.estarweb-ee-slide-content p { font-size: 14.5px; margin: 0 0 18px; }
.estarweb-ee-slider-prev, .estarweb-ee-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}
.estarweb-ee-slider-prev { left: 16px; }
.estarweb-ee-slider-next { right: 16px; }
.estarweb-ee-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.estarweb-ee-slider-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.estarweb-ee-slider-dot.is-active { background: #fff; }

/* ==========================================================
   Grilla de categorías
   ========================================================== */
.estarweb-ee-cat-grid {
  display: grid;
  gap: 20px;
}
.estarweb-ee-cat-card {
  display: block;
  text-decoration: none;
  color: #181818;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E4E0D8;
}
.estarweb-ee-cat-card-image {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: #f4f1ea;
}
.estarweb-ee-cat-card-name {
  display: block;
  text-align: center;
  padding: 12px 8px;
  font-weight: 700;
  font-size: 14px;
}
.estarweb-ee-cat-card-count { color: #888; font-weight: 400; }

/* ==========================================================
   Producto destacado grande
   ========================================================== */
.estarweb-ee-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.estarweb-ee-spotlight-image {
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  background-color: #f4f1ea;
}
.estarweb-ee-spotlight-text h2 { font-size: 26px; margin: 0 0 10px; }
.estarweb-ee-spotlight-price { font-size: 22px; font-weight: 800; color: #F2462E; margin-bottom: 14px; }
.estarweb-ee-spotlight-desc { font-size: 14px; color: #555; margin-bottom: 20px; }
.estarweb-ee-spotlight-cta .button {
  background: #181818 !important;
  color: #fff !important;
  padding: 12px 24px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}
@media (max-width: 640px) {
  .estarweb-ee-spotlight { grid-template-columns: 1fr; }
}

/* ==========================================================
   Barra de anuncio
   ========================================================== */
.estarweb-ee-announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  position: relative;
}
.estarweb-ee-announcement-text a { color: inherit; text-decoration: underline; }
.estarweb-ee-announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}

/* ==========================================================
   Botón flotante de WhatsApp
   ========================================================== */
.estarweb-ee-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  text-decoration: none;
}
.estarweb-ee-whatsapp-right { right: 24px; }
.estarweb-ee-whatsapp-left { left: 24px; }

/* ==========================================================
   Cuenta regresiva
   ========================================================== */
.estarweb-ee-countdown { text-align: center; }
.estarweb-ee-countdown-label { display: block; font-weight: 700; margin-bottom: 12px; font-size: 14px; }
.estarweb-ee-countdown-timer { display: flex; justify-content: center; gap: 12px; }
.estarweb-ee-countdown-unit {
  background: var(--ee-cd-bg, #181818);
  color: var(--ee-cd-color, #fff);
  border-radius: 6px;
  padding: 10px 14px;
  min-width: 58px;
}
.estarweb-ee-countdown-unit span { display: block; font-size: 22px; font-weight: 800; line-height: 1; }
.estarweb-ee-countdown-unit small { font-size: 10.5px; opacity: 0.8; }

/* ==========================================================
   Formulario de contacto
   ========================================================== */
.estarweb-ee-contact-form { max-width: 480px; }
.estarweb-ee-form-row { margin-bottom: 14px; }
.estarweb-ee-form-row label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.estarweb-ee-form-row input, .estarweb-ee-form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
}
.estarweb-ee-form-honeypot { position: absolute; left: -9999px; top: -9999px; }
.estarweb-ee-form-feedback { margin-top: 12px; font-size: 13.5px; }
.estarweb-ee-form-feedback.is-success { color: #1e7e34; }
.estarweb-ee-form-feedback.is-error { color: #c0392b; }

/* ==========================================================
   Galería con link
   ========================================================== */
.estarweb-ee-link-gallery { display: grid; gap: 14px; }
.estarweb-ee-link-gallery-item {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}
.estarweb-ee-link-gallery-caption {
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 10px;
  width: 100%;
}

/* ==========================================================
   Popup de bienvenida
   ========================================================== */
.estarweb-ee-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.estarweb-ee-popup-box {
  background: #fff;
  border-radius: 10px;
  padding: 36px 32px;
  max-width: 380px;
  text-align: center;
  position: relative;
}
.estarweb-ee-popup-close {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #999;
}
.estarweb-ee-popup-box h3 { font-size: 20px; margin: 0 0 10px; }
.estarweb-ee-popup-box p { font-size: 13.5px; color: #555; margin-bottom: 16px; }
.estarweb-ee-popup-code {
  border: 2px dashed #FB7631;
  border-radius: 6px;
  padding: 8px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #181818;
}

/* ==========================================================
   Barra de envío gratis
   ========================================================== */
.estarweb-ee-shipping-bar { text-align: center; padding: 14px 20px; }
.estarweb-ee-shipping-bar-text { font-size: 13.5px; font-weight: 700; margin: 0 0 8px; }
.estarweb-ee-shipping-bar-track {
  background: #eee;
  border-radius: 20px;
  height: 8px;
  max-width: 320px;
  margin: 0 auto;
  overflow: hidden;
}
.estarweb-ee-shipping-bar-fill {
  background: #6FBE44;
  height: 100%;
  transition: width .4s ease;
}

/* ==========================================================
   Testimonios
   ========================================================== */
.estarweb-ee-slider-testimonials { background: #FAF7F2; border-radius: 8px; min-height: 240px; }
.estarweb-ee-slider-testimonials .estarweb-ee-slide { justify-content: center; }
.estarweb-ee-testimonial { max-width: 480px; text-align: center; padding: 40px 60px; }
.estarweb-ee-testimonial-stars { color: #FB7631; font-size: 16px; margin-bottom: 10px; }
.estarweb-ee-testimonial-quote { font-size: 16px; font-style: italic; color: #333; margin-bottom: 18px; }
.estarweb-ee-testimonial-author { display: flex; align-items: center; justify-content: center; gap: 10px; }
.estarweb-ee-testimonial-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.estarweb-ee-testimonial-author strong { display: block; font-size: 13.5px; }
.estarweb-ee-testimonial-author span { display: block; font-size: 12px; color: #888; }
