/*=============================================
  Mariok's Custom CSS — Calentadores de Agua
=============================================*/

/* ---- Logo ---- */
.marioks-logo {
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: -0.5px;
}
.marioks-logo i { margin-right: 4px; }
.footer-logo { font-size: 2rem; margin-bottom: 12px; display: inline-block; }

/* ---- Hero Enhancements ---- */
.product-hero-wrapper {
  position: relative;
  max-width: 420px;
}
.product-hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(241,124,19,0.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.product-hero-img {
  position: relative;
  z-index: 1;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(241,124,19,0.25));
  transition: transform 0.4s ease;
}
.product-hero-img:hover { transform: translateY(-8px) scale(1.02); }

.badge-flotante {
  position: absolute;
  bottom: 30px; left: -20px;
  background: var(--surface-color);
  color: var(--heading-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  z-index: 2;
  animation: floatBadge 3s ease-in-out infinite;
  white-space: nowrap;
}
.badge-flotante i { color: #2ecc71; margin-right: 4px; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Hero Stats */
.hero-stats { margin-top: 1.5rem; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 1.4rem; font-weight: 700; color: var(--accent-color); line-height: 1; }
.stat-item span { font-size: 0.78rem; color: var(--default-color); opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; }

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { display: block; }

/* ---- Feature Cards ---- */
.feature-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(241,124,19,0.15);
  border-bottom-color: var(--accent-color);
}
.feature-icon {
  width: 70px; height: 70px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--accent-color);
  transition: background 0.3s;
}
.feature-card:hover .feature-icon { background: var(--accent-color); color: #fff; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.feature-card p { font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ---- Product Cards ---- */
.product-card { position: relative; overflow: visible !important; }
.product-card .book-image { position: relative; overflow: hidden; border-radius: 12px 12px 0 0; background: #f5f5f5; min-height: 220px; display: flex; align-items: center; justify-content: center; }
.product-card .book-image img { max-height: 380px; width: 100%; object-fit: contain; padding: 0px; transition: transform 0.4s ease; }
.product-card:hover .book-image img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}
.popular-badge { background: #e8f5e9; color: #2e7d32; }
.best-badge { background: #fff3e0; color: #e65100; }

.featured-product {
  box-shadow: 0 8px 40px rgba(241,124,19,0.2) !important;
  transform: scale(1.02);
  border: 2px solid var(--accent-color) !important;
}

.product-specs {
  list-style: none;
  padding: 0; margin: 10px 0;
  font-size: 0.85rem;
}
.product-specs li { padding: 3px 0; }
.product-specs li i { color: #2ecc71; margin-right: 6px; }

.product-price {
  margin: 12px 0 8px;
  display: flex; align-items: center; gap: 12px;
}
.price-old { text-decoration: line-through; color: #999; font-size: 0.9rem; }
.price-current { font-size: 1.5rem; font-weight: 700; color: var(--accent-color); }

/* WhatsApp & PayPal Buttons */
.btn-wa {
  background: #25D366 !important;
  color: #fff !important;
  border-color: #25D366 !important;
  font-size: 0.85rem !important;
}
.btn-wa:hover { background: #1da851 !important; }
.btn-pp {
  background: #003087 !important;
  color: #fff !important;
  border-color: #003087 !important;
  font-size: 0.85rem !important;
}
.btn-pp:hover { background: #002060 !important; }

/* ---- Steps (Como Usar) ---- */
.step-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.step-card:hover { transform: translateY(-5px); }
.step-number {
  font-size: 5rem;
  font-weight: 900;
  color: color-mix(in srgb, var(--accent-color), transparent 85%);
  position: absolute;
  top: -10px; right: 10px;
  line-height: 1;
  font-family: var(--heading-font);
}
.step-icon { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 16px; display: block; }
.step-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 0.88rem; line-height: 1.6; margin: 0; }

.safety-box {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-left: 4px solid var(--accent-color);
  border-radius: 12px;
  padding: 24px 28px;
  font-size: 0.9rem;
}
.safety-box h4 { margin-bottom: 16px; color: var(--heading-color); }

/* ---- Countdown ---- */
.countdown-item {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  min-width: 56px;
}
.countdown-item h3 { font-size: 1.6rem; font-weight: 800; color: var(--accent-color); margin: 0; }
.countdown-item h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; margin: 0; color: var(--default-color); }

/* ---- Testimonials Stars ---- */
.stars { color: #f5a623; font-size: 0.85rem; margin-top: 6px; }

/* ---- Contact ---- */
.contact-info-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.info-item:last-child { margin-bottom: 0; }
.info-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}
.info-item h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.info-item p { margin: 0; font-size: 0.95rem; }
.info-item small { color: var(--default-color); opacity: 0.6; font-size: 0.8rem; }

.contact-form-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.contact-input {
  background: var(--background-color) !important;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  color: var(--default-color) !important;
  font-family: var(--default-font) !important;
  transition: border-color 0.3s !important;
}
.contact-input:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 80%) !important;
  outline: none !important;
}

/* ---- WhatsApp Float Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 70px;
  right: 20px;
  z-index: 99998;
  background: #25D366;
  color: #fff !important;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none !important;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.7);
}
.wa-tooltip {
  position: absolute;
  right: 66px;
  background: #25D366;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  font-family: var(--nav-font);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #25D366;
  border-right: none;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ---- Promo Banner ---- */
.promo-banner {
  border: 2px solid var(--accent-color) !important;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .featured-product { transform: scale(1); }
  .badge-flotante { left: 0; font-size: 0.75rem; }
}
@media (max-width: 768px) {
  .hero-stats { flex-wrap: wrap; gap: 12px !important; }
  .product-hero-img { max-height: 280px; }
  .contact-form-card { padding: 20px; }
}

/* WhatsApp pulse animation */
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-pulse { animation: waPulse 1.5s ease-in-out 3; }
