/* Theme Update CSS - Modern & Responsive Redesign */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #4F46E5;
  --secondary-color: #8B5CF6;
  --accent-color: #EC4899;
  --background-light: #F9FAFB;
  --text-dark: #111827;
  --text-muted: #6B7280;
  --white: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.95);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

body {
  font-family: 'Inter', sans-serif !important;
  color: var(--text-dark);
  background-color: var(--background-light);
  line-height: 1.6;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-dark);
}

.section-title .title {
  font-size: 2.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.section-title .sub-title {
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Card Redesigns */
.super-deals-item, .exclusive-item, .most-popular-viewed-item, .core-features-item {
  background: var(--card-bg) !important;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md) !important;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.super-deals-item:hover, .exclusive-item:hover, .most-popular-viewed-item:hover, .core-features-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover) !important;
}

.super-deal-thumb, .exclusive-item-thumb, .most--popular--item--thumb {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.super-deal-thumb img, .exclusive-item-thumb img, .most--popular--item--thumb img {
  width: 100%;
  height: 250px; /* Fixed height for uniformity */
  object-fit: contain; /* Prevent cropping while maintaining aspect ratio */
  transition: transform 0.5s ease;
  background-color: #f8f9fa; /* Light background for transparent images */
  padding: 10px;
}

.super-deals-item:hover img, .exclusive-item:hover img, .most-popular-viewed-item:hover img {
  transform: scale(1.05);
}

.super-deal-content, .exclusive-item-content {
  padding: 1.5rem !important;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.super-deal-content h6, .exclusive-item-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.super-deal-content p {
  font-weight: 500;
  margin-bottom: 0;
}

.super-deal-content p span {
  display: block;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Button Refinements */
.btn, .shop-now, button.btn {
  background: var(--gradient-primary);
  color: var(--white) !important;
  border: none;
  border-radius: var(--radius-xl);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.btn:hover, .shop-now:hover, button.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Slider Overhaul */
.slider-bg {
  position: relative;
}
.slider-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.2) 100%);
  z-index: 1;
}
.slider-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}
.slider-content h5 {
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.slider-content h2 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 15px;
  color: var(--text-dark);
}
.slider-img {
  position: relative;
  z-index: 2;
}
.slider-img img {
  max-width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* Form and Responsive Alignments */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #E5E7EB;
  background-color: var(--white);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* Layout Utilities & Fixes */
.row.justify-content-center {
  display: flex;
  flex-wrap: wrap;
}





/* Responsive adjustments */
@media (max-width: 991px) {
  .slider-content h2 {
    font-size: 2.5rem !important;
  }
  .section-title .title {
    font-size: 1.75rem;
  }
}

@media (max-width: 767px) {
  .slider-bg::before {
    background: rgba(255,255,255,0.85); /* Stronger overlay for mobile reading */
  }
  .slider-content {
    text-align: center;
  }
  .slider-content h2 {
    font-size: 2rem !important;
  }
  .slider-img {
    margin-bottom: 2rem;
  }
  
  .super-deals-item, .exclusive-item, .most-popular-viewed-item {
    margin-bottom: 1.5rem;
  }
  
  /* Ensure images fit nicely on small screens */
  .super-deal-thumb img, .exclusive-item-thumb img, .most--popular--item--thumb img {
    height: 200px;
  }
}



/* Premium Goal Section */
.super-deal-title h3 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 2rem;
  position: relative;
}

.super-deal-title h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.premium-goal-item {
  background: linear-gradient(145deg, #ffffff, #f3f4f6) !important;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  border-radius: var(--radius-xl);
  padding: 1.5rem !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-goal-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15) !important;
  border-color: rgba(79, 70, 229, 0.3);
}

.premium-goal-item .goal-img-wrapper {
  background: var(--white);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.05), 0 4px 15px rgba(0,0,0,0.05);
  padding: 20px;
  transition: transform 0.5s ease;
}

.premium-goal-item:hover .goal-img-wrapper {
  transform: rotateY(180deg);
}

.premium-goal-item .goal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: transparent !important;
  border-radius: 0;
  padding: 0;
  transition: transform 0.5s ease;
}

.premium-goal-item:hover .goal-img-wrapper img {
  transform: rotateY(-180deg) scale(1.1);
}

.premium-goal-item .super-deal-content h6 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 1rem;
  margin-bottom: 0;
  text-transform: capitalize;
}

.premium-goal-item .super-deal-content h6 a {
  background: linear-gradient(to right, var(--text-dark) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--transition);
}

.premium-goal-item:hover .super-deal-content h6 a {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Product Cards (Most Popular / Featured) */
.premium-product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.premium-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  height: 250px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.premium-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.premium-product-card:hover .premium-image-wrapper img {
  transform: scale(1.1);
}

.premium-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(79, 70, 229, 0.2);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.premium-product-card:hover .premium-overlay {
  opacity: 1;
}

.premium-overlay span {
  background: var(--white);
  color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-product-card:hover .premium-overlay span {
  transform: translateY(0);
}

.product-title {
  margin-bottom: 1rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product-title a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.product-title a:hover {
  color: var(--primary-color);
}

.premium-price-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: auto;
  border: 1px solid #e2e8f0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.old-price {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.9rem;
}

.new-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.2rem;
}

.bv-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.1);
  color: var(--secondary-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 700;
  width: 100%;
}

/* Premium Testimonials */
.testimonial-item {
  background: var(--card-bg) !important;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md) !important;
  padding: 2.5rem 2rem !important;
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 15px; /* Spacing between slider items */
  position: relative;
  overflow: hidden;
}

.testimonial-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.1) !important;
  border-color: rgba(79, 70, 229, 0.2);
}

.testi-avatar-img img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
  transition: transform 0.5s ease;
}

.testimonial-item:hover .testi-avatar-img img {
  transform: scale(1.1);
  border-color: rgba(79, 70, 229, 0.2);
}

.testi-avatar-info h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.testi-avatar-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testi-avatar-info .rating {
  margin: 1rem 0;
  color: #fbbf24;
}

.testi-avatar-info .rating i {
  margin: 0 2px;
}

.testi-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

/* Background Quote Icon */
.testimonial-item::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 8rem;
  color: rgba(79, 70, 229, 0.05);
  font-family: serif;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  transition: color 0.4s ease;
}

.testimonial-item:hover::before {
  color: rgba(79, 70, 229, 0.1);
}

/* Premium Footer Styling (Light Theme) */
.footer-area {
  background: #ffffff !important;
  color: var(--text-muted) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.02);
}

.footer-top {
  padding-top: 80px;
  padding-bottom: 50px;
}

.fw-title h5 {
  color: var(--text-dark) !important;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.fw-title h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.fw-link ul li {
  margin-bottom: 12px;
}

.fw-link ul li a {
  color: var(--text-muted) !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.fw-link ul li a:hover {
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

.fw-link ul li a::before {
  content: '\f105'; /* FontAwesome angle-right */
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-weight: 900;
  margin-right: 10px;
  font-size: 12px;
  color: var(--primary-color);
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateX(-10px);
}

.fw-link ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact ul li {
  color: var(--text-muted) !important;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  font-weight: 500;
}

.footer-contact ul li i {
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
  font-size: 16px;
}

.footer-contact ul li a {
  color: var(--text-muted) !important;
  transition: color 0.3s ease;
}

.footer-contact ul li a:hover {
  color: var(--primary-color) !important;
}

.footer-area .footer-social ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 15px !important;
  padding: 0 !important;
  margin-top: 25px !important;
  margin-left: 0 !important;
  list-style: none !important;
}

.footer-area .footer-social ul li {
  list-style: none;
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  background: #f3f4f6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  margin-right: 15px !important;
  box-shadow: none !important;
}

.footer-area .footer-social ul li:hover {
  background: var(--white) !important;
  transform: translateY(-5px);
  border-color: #e5e7eb;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

.footer-area .footer-social ul li a {
  color: var(--text-dark) !important;
  font-size: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  transition: color 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.footer-area .footer-social ul li a i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-area .footer-social ul li:hover a, 
.footer-area .footer-social ul li:hover i {
  color: var(--primary-color) !important;
}

.copyright-wrap {
  background: #f9fafb !important;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
}

.copyright-text p {
  color: var(--text-muted) !important;
  margin: 0;
  font-weight: 500;
}

.copyright-text a {
  color: var(--text-dark) !important;
  font-weight: 600;
  transition: color 0.3s ease;
}

.copyright-text a:hover {
  color: var(--primary-color) !important;
}
