/* ============================================
   UNITV RED THEME
   Tema vermelho UniTV
   ============================================ */

/* 1. Override CSS variables - this fixes ALL var(--u-red) references at once */
:root {
  --u-red: #D62828 !important;
  --u-red2: #A4161A !important;
  --u-orange: #E5383B !important;
}

/* 2. Header - dark blue */
.xciptv-header {
  background: #140404 !important;
  border-bottom: 1px solid rgba(229,56,59,.2) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.25) !important;
}

/* 4. Buy button - desktop (it's an <a> tag now) */
.sp-buy-section a.single_add_to_cart_button,
.sp-buy-section .single_add_to_cart_button,
.sp-buy-section button,
.sp-buy-section .cart button,
.sp-buy-section .cart .single_add_to_cart_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 16px 24px !important;
  background: #D62828 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 14px !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: .2s !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  gap: 8px !important;
}
.sp-buy-section a.single_add_to_cart_button:hover,
.sp-buy-section button:hover {
  background: #A4161A !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(214,40,40,.35) !important;
  color: #fff !important;
}

/* 5. Mobile buy button - force override final-v23 and final-v24 */
@media (max-width: 640px) {
  .single-product-wrapper .sp-buy-section a.single_add_to_cart_button,
  .single-product-wrapper .sp-buy-section .single_add_to_cart_button,
  .single-product-wrapper .sp-buy-section button,
  .single-product-wrapper .sp-buy-section .cart button,
  .single-product-wrapper .sp-buy-section .cart .single_add_to_cart_button {
    background: #D62828 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(214,40,40,.30) !important;
    border-radius: 12px !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  

  /* Mobile price */
  .single-product-wrapper .sp-price-value {
    color: #D62828 !important;
  }
}

/* 6. Home page buttons */
.hp-btn-primary {
  background: #D62828 !important;
  color: #fff !important;
}
.hp-btn-primary:hover {
  background: #A4161A !important;
  box-shadow: 0 8px 25px rgba(214,40,40,.35) !important;
  color: #fff !important;
}
.hp-btn-outline:hover {
  border-color: #D62828 !important;
  color: #D62828 !important;
}

/* 7. Product cards */
.hp-product-card:hover { border-color: #D62828 !important; }

/* 8. Related products "Ver Plano" button */
.product-loop-actions .button,
.product-loop-actions a.button {
  background: #D62828 !important;
  color: #fff !important;
}

/* 9. Footer */
.xciptv-footer { background: #160606 !important; }
.footer-bottom-bar { background: #0f0303 !important; }
.footer-legal-text { background: #080101 !important; }

/* 10. WhatsApp float - keep green */
.whatsapp-float {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
}

/* 11. Home hero */
.hp-hero { background: #fff5f5 !important; }
.hp-products { background: #fff7f7 !important; }

/* 12. Category tag */
.sp-category-tag {
  background: #ffe5e5 !important;
  color: #D62828 !important;
}
@media (max-width: 640px) {
  .single-product-wrapper .sp-category-tag {
    background: #ffe5e5 !important;
    color: #D62828 !important;
  }
}

/* 13. Email button blue */
.xciptv-btn-email { background: #D62828 !important; color: #fff !important; }
.xciptv-email-icon { background: #ffe5e5 !important; color: #D62828 !important; }

/* 14. Account & admin buttons */
.account-form button { background: #D62828 !important; }
.cart-btn { background: #D62828 !important; }

/* UniTV extras */
.xciptv-header{background:linear-gradient(90deg,#140404,#2a0707)!important;border-bottom:2px solid #D62828!important}
.xciptv-logo img{height:46px!important;width:auto!important;max-width:170px!important;border-radius:8px!important}
.hp-hero{background:linear-gradient(180deg,#fff5f5,#fff)!important}
.hp-hero-badge{background:#ffe5e5!important;color:#A4161A!important;border-color:#ffc9c9!important}
.hp-step-icon,.hp-trust-icon{background:#ffe5e5!important;color:#D62828!important}
.hp-step-number{background:#D62828!important}
.hp-product-image img{border-radius:14px}
@media(max-width:640px){.xciptv-logo img{height:38px!important}}
