:root{
  --card-radius: 20px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --text-strong: #111827;
  --text-muted: #6b7280;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-hover: 0 18px 44px rgba(0,0,0,0.12);
  --whatsapp: #25D366;
  --whatsapp-dark: #1EBE57;
  --dark: #111827;
}

*,
*::before,
*::after{
  box-sizing: border-box;
}

body{
  background:#fff;
}

/* Evita desbordes raros de imágenes */
img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Banner ===== */
.banner-wrapper{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #f7f7f7;
  box-shadow: var(--shadow-soft);
}

.banner-img{
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Logo superpuesto (opcional) */
.banner-logo{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 78px;
  height: 78px;
  object-fit: contain;
  z-index: 10;
  background: rgba(255,255,255,0.92);
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.06);
}

@media (max-width: 768px){
  .banner-img{ height: 220px; }
  .banner-logo{
    width: 62px;
    height: 62px;
    top: 10px;
    right: 10px;
    padding: 5px;
  }
}

/* ===== Header (barra superior) ===== */
.site-header{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.site-header .navbar{
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-logo{
  height: 46px;
  width: auto;
  border-radius: 12px;
}

.brand-name{
  font-weight: 900;
  letter-spacing: -0.3px;
  font-size: 18px;
  color: var(--text-strong);
}

.brand-sub{
  font-size: 12px;
  color: #6c757d;
  margin-top: -2px;
}

.admin-btn{
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  transition: transform .12s ease, filter .12s ease;
}

.admin-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

@media (max-width: 768px){
  .brand-logo{ height: 40px; }
  .brand-name{ font-size: 16px; }
  .admin-btn{ padding: 9px 12px; }
}

/* ===== Cards / Productos ===== */
.product-card{
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  box-shadow: var(--shadow-soft);
}

.product-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,0,0,0.10);
}

.product-media{
  position: relative;
  background: linear-gradient(180deg, rgba(17,24,39,.05), rgba(17,24,39,0));
}

.product-img{
  width: 100%;
  height: 210px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .22s ease;
}

.product-card:hover .product-img{
  transform: scale(1.06);
}

/* Chips */
.badge-chip{
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 26px rgba(0,0,0,0.16);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.badge-promo{ background: rgba(111,44,255,.95); }
.badge-oferta{ background: rgba(0,168,107,.95); }
.badge-descuento{ background: rgba(255,106,0,.95); }
.badge-nuevo{ background: rgba(11,92,255,.95); }
.badge-hot{ background: rgba(255,45,85,.95); }

.discount-tag{
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(17,24,39,.92);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 11px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

.product-body{
  padding: 14px 14px 12px 14px;
}

.product-title{
  font-weight: 900;
  font-size: 15px;
  line-height: 1.25;
  min-height: 40px;
  margin-bottom: 6px;
  color: var(--text-strong);
}

.product-desc{
  color: #6c757d;
  font-size: 13px;
  margin-bottom: 10px;
  min-height: 18px;
}

.price-row{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.price{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--text-strong);
}

.old-price{
  text-decoration: line-through;
  color: #8b8b8b;
  font-size: 13px;
  font-weight: 800;
}

.card-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-card{
  border-radius: 14px;
  padding: 11px 10px;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  transition: transform .12s ease, filter .12s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-card:active{ transform: scale(.98); }

.btn-view{
  background: #111;
  color: #fff;
  border-color: #111;
}

.btn-view:hover{ filter: brightness(1.05); }

.btn-wa{
  background: var(--whatsapp);
  color: #fff;
  border-color: rgba(0,0,0,0.06);
}

.btn-wa:hover{ filter: brightness(1.03); }

@media (max-width: 768px){
  .product-img{ height: 190px; }
  .card-actions{ grid-template-columns: 1fr; }
}

/* =================================================================
   SUSCRIPCIÓN – FORMULARIO PREMIUM REAL (con íconos + sombras fuertes)
   Esto pisa lo "simple". Si no cambia, es cache: Ctrl+F5.
================================================================== */

.subscribe-wrap{
  margin-top: 46px;
  margin-bottom: 14px;
}

.subscribe-card{
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 30px 80px rgba(0,0,0,.16);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
}

.subscribe-left{
  padding: 38px;
  background:
    radial-gradient(1200px 500px at 0% 0%, rgba(37,211,102,.18), rgba(37,211,102,0) 55%),
    radial-gradient(900px 450px at 100% 100%, rgba(111,44,255,.16), rgba(111,44,255,0) 55%),
    linear-gradient(135deg, rgba(17,24,39,.08), rgba(17,24,39,0));
}

.subscribe-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .35px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17,24,39,.92);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}

.subscribe-kicker::before{
  content: "★";
  font-size: 12px;
  opacity: .95;
}

.subscribe-title{
  margin: 18px 0 12px;
  font-weight: 950;
  font-size: 26px;
  line-height: 1.12;
  color: var(--text-strong);
}

.subscribe-subtitle{
  font-size: 15px;
  color: #4b5563;
  line-height: 1.5;
  max-width: 560px;
}

.subscribe-bullets{
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.subscribe-bullets li{
  font-weight: 900;
  color: var(--text-strong);
  background: rgba(255,255,255,.78);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow:
    0 18px 34px rgba(0,0,0,.10),
    inset 0 0 0 1px rgba(0,0,0,.06);
  backdrop-filter: blur(10px);
}

/* Lado formulario */
.subscribe-right{
  padding: 34px;
  background:
    radial-gradient(900px 380px at 50% -10%, rgba(0,0,0,.04), rgba(0,0,0,0) 60%),
    #ffffff;
}

/* Alerts */
.subscribe-alert{
  border-radius: 18px;
  padding: 14px 14px;
  font-weight: 900;
  margin-bottom: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.06);
}

.subscribe-alert.ok{ background: rgba(16,185,129,.12); color: #065f46; }
.subscribe-alert.warn{ background: rgba(245,158,11,.14); color: #92400e; }
.subscribe-alert.err{ background: rgba(239,68,68,.14); color: #7f1d1d; }

/* Form */
.subscribe-form{
  display: grid;
  gap: 16px;
}

.subscribe-field{
  position: relative;
}

.subscribe-field label{
  display: block;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .28px;
  margin-bottom: 8px;
  color: var(--text-strong);
}

/* Inputs: más "app/ecommerce" */
.subscribe-field input{
  width: 100% !important;
  border: 0 !important;
  outline: none !important;

  border-radius: 18px !important;
  padding: 16px 16px 16px 46px !important;
  background: rgba(249,250,251,1) !important;

  font-size: 15px !important;
  font-weight: 900 !important;
  color: var(--text-strong) !important;

  box-shadow:
    0 20px 40px rgba(0,0,0,.10),
    inset 0 0 0 1px rgba(0,0,0,.10) !important;

  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.subscribe-field input::placeholder{
  color: #9ca3af !important;
  font-weight: 700 !important;
}

.subscribe-field input:focus{
  background: #ffffff !important;
  transform: translateY(-1px);
  box-shadow:
    0 26px 60px rgba(37,211,102,.22),
    inset 0 0 0 2px rgba(37,211,102,.55) !important;
}

/* Iconos dentro (por id, sin tocar HTML) */
#sub_name{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px 50%;
  background-size: 18px 18px;
}

#sub_whatsapp{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92V20a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 3 5.18 2 2 0 0 1 5 3h3.09a2 2 0 0 1 2 1.72c.12.81.3 1.6.54 2.36a2 2 0 0 1-.45 2.11L9 10a16 16 0 0 0 5 5l.81-1.18a2 2 0 0 1 2.11-.45c.76.24 1.55.42 2.36.54A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px 50%;
  background-size: 18px 18px;
}

#sub_email{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px 50%;
  background-size: 18px 18px;
}

.subscribe-hint{
  margin-top: 7px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

/* Botón premium */
.subscribe-btn{
  margin-top: 4px;
  width: 100%;
  border-radius: 20px;
  padding: 16px 16px;
  border: none;
  cursor: pointer;

  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: #ffffff;
  font-weight: 950;
  font-size: 16px;
  letter-spacing: .2px;

  box-shadow:
    0 26px 54px rgba(37,211,102,.38),
    inset 0 -2px 0 rgba(0,0,0,.14);

  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
}

.subscribe-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.subscribe-btn:active{
  transform: translateY(0);
  box-shadow: 0 14px 28px rgba(37,211,102,.30);
}

.subscribe-legal{
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 992px){
  .subscribe-card{ grid-template-columns: 1fr; }
  .subscribe-left{ padding: 28px; }
  .subscribe-right{ padding: 26px; }
}
