/* constant */
.bg-danger {
  background-color: orangered !important;
}

.text-danger{
  color: orangered !important;
}
.btn-danger{
  background-color: orangered !important;
}
.btn-danger:hover{
  background-color: rgba(255, 68, 0, 0.51) !important;
  color: #333;
}

a {
  text-decoration: none;
  color: #333;
}

body {
  background-color: #f8f9fa;
}

/* navscroll */
.nav-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nav-container {
  position: relative;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.scroll-btn.left {
  left: -15px;
}

.scroll-btn.right {
  right: -15px;
}

.nav-scroll {
  scroll-behavior: smooth;
}

.rounded-4 {
  border-radius: 1rem;
}

.overflow-auto {
  -ms-overflow-style: none;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }
}

/* Weekly Offers Carousel */
#weeklyOffersCarousel {
  height: 300px;
  /* Adjust this value to match your desired height */
}

#weeklyOffersCarousel .carousel-item {
  height: 300px;
  /* Same as parent height */
}

#weeklyOffersCarousel .carousel-item img {
  height: 100%;
  object-fit: cover;
}

/* Carousel responsive height */
@media (max-width: 768px) {
  #weeklyOffersCarousel {
    height: 160px;
  }

  #weeklyOffersCarousel .carousel-item img {
    height: 160px;
    object-fit: cover;
  }
}

/* Horizontal scroll styling */
.row.flex-nowrap.overflow-auto {
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 1rem;
}

.row.flex-nowrap.overflow-auto::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .row.flex-nowrap.overflow-auto .col-12 {
    width: 85%;
    flex-shrink: 0;
  }
}


.trending-items {
  img {
    width: 40px;
    height: 40px;
    object-fit: cover;
  }

  span:last-child {
    font-size: 0.875rem;
    color: #666;
  }
}

.price {
  font-weight: 600;
  font-size: 1.125rem;
  color: #333;
}

.product-image {
  aspect-ratio: 1;
  background-color: #f8f9fa;
  border-radius: 1rem;
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* Trending scroll container */

.trending-container .scroll-btn,
.featured-stores-container .scroll-btn,
.team-picks-container .scroll-btn,
.latest-products-container .scroll-btn,
.clothes-type .scroll-btn,
.trend-sudia .scroll-btn  {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.trending-container .scroll-btn.left,
.featured-stores-container .scroll-btn.left,
.team-picks-container .scroll-btn.left,
.latest-products-container .scroll-btn.left {
  left: 2px;
}

.trending-container .scroll-btn.right,
.featured-stores-container .scroll-btn.right,
.team-picks-container .scroll-btn.right,
.latest-products-container .scroll-btn.right {
  right: 2px;
}

#trendingScroll {
  scroll-behavior: smooth;
  padding: 0.5rem .5rem;
}

/* Hide scrollbar but keep functionality */
#trendingScroll::-webkit-scrollbar {
  display: none;
}

#trendingScroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


#featuredStoresScroll {
  scroll-behavior: smooth;
  padding: 0.5rem .5rem;
}

#featuredStoresScroll::-webkit-scrollbar {
  display: none;
}

#featuredStoresScroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#teamPicksScroll {
  scroll-behavior: smooth;
  padding: 0.5rem .5rem;
}

#teamPicksScroll::-webkit-scrollbar {
  display: none;
}

#teamPicksScroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#latestProductsScroll {
  scroll-behavior: smooth;
  padding: 0.5rem .5rem;
}

#latestProductsScroll::-webkit-scrollbar {
  display: none;
}

#latestProductsScroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

footer {
  font-size: 14px;
}

footer h4 {
  font-size: 16px;
  margin-bottom: 1rem;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer .social-links a {
  font-size: 20px;
}

footer .btn-outline-dark {
  padding: 0.5rem 1.5rem;
}

/* =====================
end main-home section
====================== */


.clothes-type .product-card {
  transition: transform 0.2s;
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.clothes-type .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.clothes-type .badge-discount {
  top: 10px;
  right: 10px;
  z-index: 1;
  background: #ff4444 !important;
  font-size: 14px;
}

.clothes-type .price {
  color: #2c3e50;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.clothes-type .price .original-price {
  color: #999;
  text-decoration: line-through;
  font-size: 14px;
}

.clothes-type .product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.clothes-type .product-rating .rating-value {
  color: #ffc107;
  font-weight: bold;
}

.clothes-type .product-rating .rating-count {
  color: #666;
  font-size: 12px;
}

.clothes-type .product-title {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.clothes-type .wishlist-btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
}

.clothes-type .wishlist-btn:hover {
  color: #ff4444;
  transform: translateY(-50%) scale(1.1);
}

.clothes-type .wishlist-btn i {
  font-size: 20px;
}

.clothes-type .card-img-top {
  padding: 1rem;
  object-fit: contain;
  height: 200px;
}

.clothes-type .sidebar {
  background-color: #fafafa;
  padding: 20px;
  border-radius: 12px;
}

.clothes-type .filter-section {
  margin-bottom: 20px;
}

.clothes-type.sort-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clothes-type .sort-btn,
.clothes-type .rating-btn {
  background-color: #f0f0f0;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  color: #666;
  font-size: 14px;
  transition: all 0.2s;
}

.clothes-type .sort-btn:hover,
.clothes-type .rating-btn:hover {
  background-color: #e0e0e0;
}

.clothes-type .sort-btn.active,
.clothes-type .rating-btn.active {
  background-color: #333;
  color: white;
}

.clothes-type .section-header {
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.clothes-type .section-header i {
  transition: transform 0.3s;
}

.clothes-type .section-header[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.clothes-type .sidebar-container {
  height: calc(100vh - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #888 #f0f0f0;
  position: relative;
}

@media (max-width: 991px) {
  .clothes-type .sidebar-container {
    height: auto;
    max-height: none;
    overflow-y: visible;
  }

  .clothes-type .sticky-top {
    position: relative !important;
    top: 0 !important;
  }
}

@media (min-width: 992px) {
  .clothes-type .sidebar-container {
    position: sticky;
    top: 20px;
  }
}

.clothes-type .sidebar-container::-webkit-scrollbar {
  width: 2px;
}

.clothes-type .sidebar-container::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.clothes-type .sidebar-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 3px;
}

.clothes-type .pagination-container {
  width: 100%;
  max-width: fit-content;
  margin: 0 auto;
  padding: 0.5rem 0;
}

.clothes-type .pagination-nav {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 6px;
}

.clothes-type .pagination {
  display: flex;
  align-items: center;
}

.clothes-type .pagination .page-link {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  min-width: 42px;
  text-align: center;
  background-color: transparent;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.clothes-type .pagination .page-link:hover {
  background-color: #f8f9fa;
}

@media (max-width: 576px) {
  .clothes-type .pagination {
    gap: 4px !important;
    align-items: center;
  }

  .clothes-type .pagination .page-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    min-width: 36px;
  }
}

@media (max-width: 400px) {
  .clothes-type .pagination .page-link {
    padding: 0.3rem 0.2rem;
    font-size: 0.85rem;
    min-width: 32px;
  }
}

/* Responsive Product Card Styles */
@media (max-width: 576px) {
  .clothes-type .product-card {
    font-size: 14px;
  }

  .clothes-type .product-title {
    font-size: 14px;
    height: 36px;
  }

  .clothes-type .price {
    font-size: 14px;
  }

  .clothes-type .price .original-price {
    font-size: 12px;
  }

  .clothes-type .card-img-top {
    height: 140px;
    padding: 0.5rem;
  }

  .clothes-type .product-rating {
    font-size: 12px;
  }

  .clothes-type .badge-discount {
    font-size: 12px;
    padding: 3px 8px;
  }

  .clothes-type .wishlist-btn {
    width: 28px;
    height: 28px;
  }

  .clothes-type .wishlist-btn i {
    font-size: 16px;
  }
}

.clothes-type .category-scroll-container {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.clothes-type .categories-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.clothes-type .categories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
  padding-left: 40px;
  padding-right: 40px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.clothes-type .categories::-webkit-scrollbar {
  display: none;
}

.clothes-type .category-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  color: #666;
  font-size: 14px;
  transition: all 0.2s;
  white-space: nowrap;
}

.clothes-type .category-btn:hover {
  background-color: #e0e0e0;
}

.clothes-type .category-btn.active {
  background-color: #333;
  color: white;
}

.clothes-type .scroll-btn:hover {
  color: #ff4444;
  transform: translateY(-50%) scale(1.1);
}

.clothes-type .scroll-left {
  left: 0;
}

.clothes-type .scroll-right {
  right: 0;
}
/* ====================
end clothes-type section
==================== */


.featured-stores .store-card {
  border-radius: 16px;
  height: 100%;
}
.featured-stores .store-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.featured-stores .product-thumb {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 8px;
}
@media (max-width: 991.98px) {
  .featured-stores .store-logo {
      height: 35px;
  }
  .featured-stores .product-thumb {
      width: 35px;
      height: 35px;
  }
  .featured-stores .card-body {
      padding: 0.75rem;
  }
}
/* ====================
end featured-stores section
==================== */


.trend-sudia .nav-pills .nav-link {
  color: #6c757d;
  background-color: #e9ecef;
  margin: 0 0.25rem;
  border-radius: 20px;
}

.trend-sudia .nav-pills .nav-link.active {
  background-color: #495057;
}

.trend-sudia .product-card {
  background: white;
  border-radius: 15px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  transition: transform 0.2s;
  gap: 1rem;
  position: relative;
}

.trend-sudia .product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.trend-sudia .product-number {
  font-size: 2rem;
  font-weight: 700;
  color: #6c757d;
}

.trend-sudia .bookmark-wrapper {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.trend-sudia .product-image {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.trend-sudia .product-info {
  flex: 1;
}

.trend-sudia .product-title {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.trend-sudia .product-price {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.trend-sudia .product-price .old-price {
  color: #6c757d;
  text-decoration: line-through;
  font-size: 0.8rem;
  margin-right: 0.5rem;
}

.trend-sudia .product-rating {
  color: #ffc107;
  font-size: 0.8rem;
}

.trend-sudia .product-rating .rating-count {
  color: #6c757d;
  font-size: 0.8rem;
}

.trend-sudia .category-scroll-container {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.trend-sudia .categories-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.trend-sudia .categories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
  padding-left: 40px;
  padding-right: 40px;
}

/* Hide scrollbar*/
.trend-sudia .categories::-webkit-scrollbar {
  display: none;
}

.trend-sudia .category-btn {
  background: #f8f9fa;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  color: #6c757d;
  font-size: 14px;
  transition: all 0.2s;
  white-space: nowrap;
}

.trend-sudia .category-btn:hover {
  background-color: #e9ecef;
}

.trend-sudia .category-btn.active {
  background-color: #ff4444;
  color: white;
}


.trend-sudia .scroll-left {
  left: 0;
}

.trend-sudia .scroll-right {
  right: 0;
}
/* ====================
end trend-sudia section
==================== */

/* Add these styles for the brand header section */
.brand-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.brand-logo {
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-tabs-wrapper .btn {
    border-radius: 20px;
    margin-right: 8px;
}

.brand-details h1 {
    color: #333;
    font-weight: 600;
}

.brand-details p {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 800px;
}

.rating {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-logo {
        width: 60px;
        height: 60px;
    }
    
    .brand-details h1 {
        font-size: 1.2rem;
    }
    
    .brand-details p {
        font-size: 0.8rem;
    }
}

/* Brand info tabs styling */
.brand-header .nav-tabs {
    gap: 1rem;
}

.brand-header .nav-tabs .nav-link {
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: #6c757d;
    background: transparent;
}

.brand-header .nav-tabs .nav-link.active {
    color: #ff4444;
    background: transparent;
    position: relative;
}

.brand-header .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ff4444;
}


