/* hero section  */
.clearance-hero-section {
  position: relative;
  height: 50vh;   /* ✅ same height everywhere */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.clearance-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.clearance-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.clearance-slide.active {
  opacity: 1;
  z-index: 1;
}

.clearance-hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 800px;
}

.clearance-hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.clearance-hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.clearance-hero-buttons .clearance-btn {
  display: inline-block;
  margin: 0 10px;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.clearance-btn-primary {
  background: #ffc107;
  color: #000;
  border: 2px solid transparent;
}

.clearance-btn-primary:hover {
  background: #fff;
  color: #000;
  border-color: #ffc107;
}

.clearance-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.clearance-btn-secondary:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 768px) {
  .clearance-hero-title {
    font-size: 2rem;
  }
  .clearance-hero-subtitle {
    font-size: 1rem;
  }
  .clearance-hero-buttons .clearance-btn {
    padding: 10px 20px;
    margin-top: 10px;
  }
}

/* ✅ Mobile pe bhi same 50vh height rahegi */
@media (max-width: 576px) {
  .clearance-hero-section {
    height: 50vh;
    padding: 20px;
    text-align: center;
  }
  .clearance-hero-content {
    max-width: 100%;
  }
}

/* ====================================================================== */
/* sales and clearance  */
/* Section Style */
.clearance-section {
  background-color: #f8f9fa;
  padding: 50px 0;
}

.clearance-title {
  font-weight: bold;
  text-transform: uppercase;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  letter-spacing: 2px;
}

/* Container for Cards */
.clearance-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Individual Card */
.clearance-card {
  background-color: #fff;
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  margin-bottom: 30px;
}

.clearance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Badge Styling */
.clearance-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #dc3545;
  color: white;
  padding: 6px 12px;
  font-weight: bold;
  border-radius: 5px;
  font-size: 12px;
}

/* Image Box */
.clearance-image-box {
  padding: 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.clearance-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.clearance-card:hover .clearance-image {
  transform: scale(1.05);
}

/* Product Name */
.clearance-name {
  font-weight: 600;
  color: #333;
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  text-transform: uppercase;
}

/* Button */
.clearance-button {
  display: inline-block;
  padding: 10px 20px;
background: linear-gradient(to right, #a56f48, #e0a96f);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.clearance-button:hover {
background: linear-gradient(to right,#e0a96f, #a56f48);
}

/* Mobile & Tablet Responsiveness */

/* Small Devices (Mobile) */
@media (max-width: 575px) {
  .clearance-title {
    font-size: 1.5rem;
  }

  .clearance-card {
    width: 100%;
    max-width: 100%;
  }
}

/* Medium Devices (Tablets) */
@media (min-width: 576px) and (max-width: 767px) {
  .clearance-title {
    font-size: 1.8rem;
  }


  .clearance-card {
    width: 100%;
    max-width: 48%;
  }
}

/* Large Devices (Desktop and above) */
@media (min-width: 768px) {
  .clearance-card {
    width: 100%;
    max-width: 23%;
  }
    .clearance-cards-container{
    gap: 20px;
  }
}


/* ===================================================================== */
