

/* Root Variables */
:root {
  
  --border-color: #252525; /*nav-section  border-bottom*/
  --text-dark: #252525;  /*nav-link*/
  
  /*--bg-light: linear-gradient(180deg, rgba(173, 70, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);*/;
  /*--bg-light:  #980ffa; nav-link hover*/
  
  --bg-light: rgba(173, 70, 255, 0.05);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  
  --primary-color: #980ffa; /*nav-link active*/    
  --btn-text-color: #ffffff;
  --btn-border-color: #980ffa;
  
  
  
}



.badge-wrapper {
  display: inline-block;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background-color: rgba(172, 70, 255, 0.1);
  border-radius: 100px;
  color: #980ffa;
  font-weight: 500;
  font-size: 14px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0f1729;
  letter-spacing: -0.02em;
}

.hero-title .text-primary {
  color: #980ffa !important;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(0, 0, 0, 0.2);
  /*max-width: 600px;*/
  margin: 0 auto;
}

/* Search Form */
.search-form {
  max-width: 800px;
}

.search-input-group {
  background-color: #ffffff;
  border: 1.5px solid rgba(172, 70, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  height: 60px;
}

.search-input-group .input-group-text {
  border: none;
  padding-left: 20px;
}

.search-input-group .form-control {
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #999999;
  height: 100%;
}

.search-input-group .form-control:focus {
  box-shadow: none;
  outline: none;
}

.btn-search {
  background-color: rgba(173, 70, 255, 0.1);
  color: #980ffa;
  font-weight: 600;
  font-size: 14px;
  padding: 20px;
  border-radius: 10px;
  border: none;
  height: 60px;
  min-width: 120px;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background-color: rgba(173, 70, 255, 0.15);
  color: #980ffa;
  transform: translateY(-2px);
}

/* ===========================
   Products Section
   =========================== */
.products-section {
  padding: 4rem 0;
}

/* Category Tabs */
.category-tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.btn-category {
  padding: 16px 0;
  min-width: 108px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  color: #252525;
  background-color: transparent;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-category:hover {
  background-color: #f9fafb;
}

.btn-category.active {
  background-color: rgba(173, 70, 255, 0.1);
  color: #980ffa;
}

/* Filter Buttons */
.btn-filter {
  padding: 12px 20px;
  min-width: 120px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
  color: #999999;
  background-color: #ffffff;
  border: 1.5px solid #e7e7e7;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-filter:hover {
  border-color: #999999;
}

/* Product Cards */
.product-card {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.product-image {
  position: relative;
  width: 100%;
  padding-top: 120%;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
}

.product-badges {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.product-badges .badge {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
}

.product-badges .bg-primary {
  background-color: #980ffa !important;
}

.btn-wishlist {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-wishlist:hover {
  transform: scale(1.1);
}

.btn-add-cart {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(3px);
  color: #980ffa;
  font-weight: 500;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 1000px;
  border: none;
  box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.12), 0px 0px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.product-card:hover .btn-add-cart {
  opacity: 1;
  visibility: visible;
  bottom: 24px;
}

.btn-add-cart:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.product-info {
  padding: 28px 0;
  flex-grow: 1;
}

.product-brand {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.2);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.rating-text strong {
  color: #155cfb;
}

.rating-text .text-muted {
  color: #64748b !important;
}

.product-title {
  font-size: 24px;
  font-weight: 700;
  color: #252525;
  line-height: 1.3;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: #252525;
  white-space: nowrap;
}

.product-delivery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background-color: #f9fafb;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  color: #6d6d6d;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
  background-color: #980ffa;
  padding: 5rem 0;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.cta-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.btn-cta {
  background-color: #f9fafb;
  color: #980ffa;
  font-weight: 600;
  font-size: 18px;
  padding: 16px 48px;
  border-radius: 10px;
  border: 1px solid #ffffff;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-cta:hover {
  background-color: #ffffff;
  color: #980ffa;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}


/* ===========================
   Responsive Adjustments
   =========================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
  }

  .hero-section {
    padding: 3rem 0 4rem;
  }

  .products-section {
    padding: 3rem 0;
  }

  .cta-section {
    padding: 4rem 0;
  }

  
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 2rem 0 3rem;
  }

  .search-form .col-12 {
    margin-bottom: 0;
  }

  .btn-search {
    width: 100%;
  }

  .category-tabs {
    width: 100%;
  }

  .product-info {
    padding: 20px 0;
  }

  .cta-section {
    padding: 3rem 0;
  }

 
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .search-input-group,
  .btn-search {
    height: 52px;
  }

  .btn-category {
    min-width: 90px;
    padding: 12px 0;
    font-size: 14px;
  }

  .btn-filter {
    min-width: 100px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .product-title,
  .product-price {
    font-size: 20px;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-text {
    font-size: 1rem;
  }

  .btn-cta {
    padding: 14px 32px;
    font-size: 16px;
  }
}

/* ===========================
   Accessibility
   =========================== */
.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #980ffa;
  outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
