/* ============================================
   ASTAA STORE - GLOBAL CUSTOM CSS
   ============================================ */

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #2563EB;
  border-radius: 4px;
}

/* ============================================
   GADGETS PRODUCT CARDS
   ============================================ */
.gadget-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.gadget-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: #0EA5E9;
}

/* Gadget Add to Cart Button */
.gadget-card .add_to_cart_button {
  background: #1F2937 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}
.gadget-card .add_to_cart_button:hover {
  background: #0EA5E9 !important;
  transform: scale(1.02);
}

/* Gadget Badges */
.gadget-card .onsale,
.gadget-card .badge-new {
  background: #0EA5E9 !important;
  color: #fff !important;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
}

/* ============================================
   BEAUTY PRODUCT CARDS
   ============================================ */
.beauty-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.08);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.beauty-card:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(236, 72, 153, 0.15);
  border-color: #EC4899;
}

/* Beauty Add to Cart Button (Pill Shape) */
.beauty-card .add_to_cart_button {
  background: #EC4899 !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}
.beauty-card .add_to_cart_button:hover {
  background: #DB2777 !important;
  transform: scale(1.05);
}

/* Beauty Badges */
.beauty-card .onsale,
.beauty-card .badge-bestseller {
  background: #EC4899 !important;
  color: #fff !important;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
}

/* ============================================
   HERO SECTION BUTTONS
   ============================================ */
.btn-gadgets {
  background: #0EA5E9;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-gadgets:hover {
  background: #0284C7;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.btn-beauty {
  background: #EC4899;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-beauty:hover {
  background: #DB2777;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

/* ============================================
   TRUST BAR ICONS
   ============================================ */
.trust-icon-box {
  text-align: center;
  padding: 20px;
}
.trust-icon-box .icon-wrapper {
  background: #EFF6FF;
  padding: 16px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 12px;
  color: #2563EB;
  font-size: 28px;
}

/* ============================================
   CATEGORY CARDS OVERLAY
   ============================================ */
.category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.category-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  border-radius: 0 0 16px 16px;
}
.category-card:hover {
  transform: scale(1.05);
}
.category-card .cat-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  z-index: 2;
}

/* ============================================
   COUNTDOWN TIMER PULSE
   ============================================ */
.countdown-box {
  background: #0EA5E9;
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  animation: pulse_664dd491 2s infinite;
}
@keyframes pulse_664dd491 {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonial-card {
  background: #F9FAFB;
  border-radius: 16px;
  padding: 32px;
  border-left: 4px solid #0EA5E9;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  padding: 80px 0;
}
.newsletter-btn {
  background: #F59E0B;
  color: #1F2937;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
}
.newsletter-btn:hover {
  background: #ffffff;
  transform: scale(1.02);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
  .gadget-card,
  .beauty-card {
    margin-bottom: 20px;
  }
  
  .btn-gadgets,
  .btn-beauty {
    width: 100%;
    text-align: center;
  }
  
  .countdown-box {
    font-size: 20px;
    padding: 8px 12px;
  }
}

/* ============================================
   STICKY ADD TO CART (Product Page)
   ============================================ */
.single-product .sticky-add-to-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.admin-bar .single-product .sticky-add-to-cart {
  top: auto; /* remains fixed bottom but we account for other layouts if needed */
}
