/* =========================
   HERO SLIDE (DESKTOP)
========================= */
.hero-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0f172a;
    color: white;
    padding: 90px 60px;
    border-radius: 12px;
    gap: 30px;
}

/* TEXT */
.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 40px;
    font-weight: bold;
}

.hero-text p {
    font-size: 18px;
    margin: 15px 0;
    color: #cbd5e1;
}

/* IMAGE */
.hero-img {
    width: 600px;
    border-radius: 10px;
    object-fit: contain;
}

/* =========================
   CAROUSEL
========================= */
.carousel-item {
    padding: 20px;
}

/* =========================
   ARROWS
========================= */
#heroCarousel {
    position: relative;
}

/* LEFT/RIGHT BUTTONS */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 80px;
}

/* LEFT */
#heroCarousel .carousel-control-prev {
    left: 5px;
}

/* RIGHT */
#heroCarousel .carousel-control-next {
    right: 5px;
}

/* ICON STYLE */
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    background-color: black;
    border-radius: 50%;
    padding: 15px;
    background-size: 50% 50%;
}

/* =========================
   TABLET RESPONSIVE
========================= */
@media (max-width: 992px) {

    .hero-slide {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-img {
        width: 300px;
        margin-top: 20px;
    }
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 576px) {

    .hero-slide {
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-img {
        width: 220px;
    }

    /* hide arrows on mobile */
    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        display: none;
    }
}
.top-brands {
  padding: 40px 0;
  background: #f9fafb;
}

.top-brands .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.top-brands h2 {
  font-size: 22px;
  font-weight: 600;
}

.top-brands .brands-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
}

.brand-card {
  min-width: 140px;
  background: white;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  border: 1px solid #eee;
  transition: 0.3s;
}

.brand-card:hover {
  transform: translateY(-5px);
}

.brand-card img {
  max-width: 80px;
  margin-bottom: 10px;
}

.brand-card p {
  font-size: 14px;
  font-weight: 500;
}
/* =========================
   BRANDS ARROWS (ADD THIS)
========================= */

.brands-container {
  position: relative;
}

.brands-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 50px; /* space for arrows */
}

.brands-wrapper::-webkit-scrollbar {
  display: none;
}

/* ARROW BUTTONS */
.scroll-btn {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  z-index: 10;
  cursor: pointer;
}

/* LEFT */
.scroll-btn.left {
  left: 0;
}

/* RIGHT */
.scroll-btn.right {
  right: 0;
}

.scroll-btn:hover {
  background: #f1f1f1;
}
.brand-item {
  text-align: center;
  min-width: 140px;
}

.brand-name {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
}
/* HEADER */
/* WRAPPER */
.category-slider {
  position: relative;
}

/* SCROLL AREA */
.category-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 40px;
}

.category-wrapper::-webkit-scrollbar {
  display: none;
}

/* ITEM */
.category-item {
  text-align: center;
  min-width: 110px;
  text-decoration: none;
  color: #000;
}

/* CIRCLE CARD */
.category-card {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: auto;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ARROWS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slider-btn.left {
  left: 0;
}

.slider-btn.right {
  right: 0;
}

.slider-btn:hover {
  background: #f0f0f0;
}
.category-header {
  display: flex;
  justify-content: space-between;  /* 🔥 key line */
  align-items: center;
  margin-bottom: 20px;
}

.category-header h3 {
  margin: 0;
  font-weight: 600;
}

/* HEADER */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-header h3 {
  font-weight: 600;
}

/* SLIDER */
.product-slider {
  position: relative;
}

/* WRAPPER */
.product-wrapper {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 40px;
}

.product-wrapper::-webkit-scrollbar {
  display: none;
}

/* CARD */
.product-card {
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* IMAGE */
.product-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
}

.product-img img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

/* INFO */
.product-info {
  padding: 10px;
  text-align: center;
}

.product-info h6 {
  font-size: 16px;
  height: 50px;
  overflow: hidden;
}

.price {
  font-weight: bold;
  color: #0d6efd;
}

/* ARROWS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
}

.slider-btn.left { left: 0; }
.slider-btn.right { right: 0; }

.slider-btn:hover {
  background: #f1f1f1;
}
/* CARD */
.product-card {
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eee;
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

/* IMAGE AREA */
.product-img-wrapper {
  position: relative;
  background: #f8fafc;
  padding: 20px;
  text-align: center;
}

.product-img {
  max-height: 140px;
  object-fit: contain;
  transition: 0.3s;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

/* ADD BUTTON */
.add-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.add-btn:hover {
  background: #0d6efd;
  color: #fff;
}

/* RATING */
.rating-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #16a34a;
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
}

/* DISCOUNT BADGE */
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 5px;
}

/* INFO */
.product-info {
  padding: 12px;
}

/* TITLE */
.product-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  height: 38px;
  overflow: hidden;
}

/* SUBTEXT */
.product-sub {
  font-size: 14px;
  color: #777;
  margin-bottom: 6px;
  text-align: start;
}

/* PRICE */
.price-box {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 4px;
}

.new-price {
  font-weight: bold;
  font-size: 15px;
  color: #000;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 12px;
}

.discount-text {
  color: #16a34a;
  font-size: 12px;
  font-weight: 500;
}

/* STOCK */
.stock {
  font-size: 12px;
  /* color: #16a34a; */
  margin: 4px 0;  
  text-align: start;
}
.in-stock {
  color: #16a34a;
}

.out-stock {
  color: #ef4444;
}

/* VIEW BUTTON */
.view-btn {
  width: 100%;
  background: #e6f4ea;
  border: none;
  padding: 7px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.view-btn:hover {
  background: #cde8d3;
}
.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-slider{
  position: relative;
}

/* ARROWS */
.slider-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.slider-arrow.left{
  left: 0;
}

.slider-arrow.right{
  right: 0;
}

.slider-arrow:hover{
  background: #f1f1f1;
  color: #000000;
}
.promo-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.large-card {
  height: 250px;
}

.small-card {
  height: 120px;
}

.promo-content {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: #000000;
}

.price-tag {
  background: red;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  margin-top: 5px;
}