:root {
    --orange: #ff6f00;
    --black: #121212;
    --white: #ffffff;
    --gray: #f4f4f4;
  }

  

  body {
    color: var(--black);
  }
  .segment{
    margin-top:0px;
    padding-bottom: 0px;
    padding-right: 5px;
    padding-left: 5px;
    background:var(--white);
  }



  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  .category-carousel {
    margin: 20 auto;
    max-width: 1200px;
    padding: 15px 10px;
    padding-bottom: 5px !important;
  }

  .cat-img-wrapper {
    width: 85px;
    height: 85px;
    padding: 2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--orange), #ffffff, #000000);
    background-size: 200% 200%;
    animation: borderMove 4s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  @keyframes borderMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  .cat-img-wrapper:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
  }

  .cat-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .swiper-slide:hover .cat-img {
    transform: scale(1.1);
  }

  .cat-name {
    color: #000;
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    font-size: 14px;
  }

  @media (max-width: 768px) {
    .cat-img {
      width: 80px;
      height: 80px;
    }
  }

 
.banner-carousel {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw; /* Full screen width */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: 1;
}

.banner-carousel .swiper-slide {
  width: 100%;
  position: relative;
  padding-top: 33.3%; /* 5:2 aspect ratio (height = 40% of width) */
  overflow: hidden;
}

.banner-carousel .banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}



  .trending-products h3,
  .category-section h3 {
    font-size: 1.2rem;
    font-weight: 550;
    margin-bottom: 1.5rem;
    color: #1e1e1e;
    border-left: 4px solid var(--orange);
    padding-left: 12px;
    padding-top: 0px !important;
    margin-top: 5px;
  }

  .product-card {
    position: relative;
    
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensures card content fits properly */
    transition: box-shadow 0.3s ease;
  }

  .discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #FF4B33;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 2;
  }

  .product-img {
    width: 100%;
    
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
  }

  .product-card:hover .product-img {
    transform: scale(1.05);
  }

  .product-card h4 {
    font-size: 0.9rem;
    font-weight: 400;
    color: #333;
    margin: 0.3rem 0 0.6rem;
    text-align: center;
    margin-top: 0px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .price-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    font-size: 0.9rem;
    padding-bottom: 5px;
  }

  .original-price {
    text-decoration: line-through;
    color: #999;
    font-weight: 300;
  }

  .discounted-price {
    color:#FF4B33;
    font-weight: 600;
  }

  .swiper-button-next,
  .swiper-button-prev {
    color: #222;
    background: #f5f5f5;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background: #222;
    color: #fff;
  }

  .view-all-btn {
    background-color: var(--gray);
    color: black;
    height: 30px;
    margin-top: 5px;
    margin-right: 5px;
    padding: 0 8px; /* Adjust for better inner spacing */
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 400;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;      /* Prevent text spill */
    white-space: nowrap;   /* Prevent wrapping */
  }


  .view-all-btn:hover {
    background-color: var(--orange);
  }
  .cattitle{
    display: flex;
    justify-content: space-between;
  }


  a {
    text-decoration: none;
    color: inherit; /* Optional: keeps link color same as surrounding text */
  }
  
  a:hover {
    text-decoration: none;
    color: inherit; /* Optional: keeps link color same as surrounding text */

  }


  .mySwipercategory{
    margin-bottom: 15px;
  }