.hot-deal-section-1 {
    background: url('.././img/hotdeal.png') no-repeat center center/cover; /* Full section background image */
    padding: 40px 0;
    position: relative; /* Positioning context for child elements */
    color: #fff; /* Text color for better contrast on the dark image */
    text-align: center;
    height: 500px; /* Adjust height as needed */
}

.hot-deal-content-1 {
    position: absolute; /* Position on top of the image */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center horizontally and vertically */
    z-index: 2; /* Ensure content is above the image */
    background: rgba(0, 0, 0, 0.5); /* Optional: background to enhance readability */
    padding: 20px;
    border-radius: 10px;
}

.countdown-timer-1 {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.time-section-1 {
    margin: 0 10px;
    font-size: 24px;
}

.time-unit-1 {
    display: block;
    font-size: 36px;
    font-weight: bold;
}

.time-label-1 {
    display: block;
    font-size: 14px;
}

.btn-primary-1 {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 20px;
    display: inline-block;
}

.btn-primary-1:hover {
    background-color: #c0392b;
}
/* Product Name Responsive Styling */
/* Product Grid Container */
.product-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Adds spacing between items */
    gap: 16px; /* Spacing between products */
  }
  
  /* Default: 4 products in a row */
  .product {
    flex: 0 0 24%; /* Each product takes 24% of the row */
    box-sizing: border-box; /* Includes padding and border in width */
    margin-bottom: 20px; /* Spacing between rows */
    text-align: center; /* Centers text content */
  }
  
  /* Product Name Styling */
  .product-name-1 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.8em;
    line-height: 1.4em;
    max-height: 2.8em;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
  }
  
  /* Responsive Product Name */
  @media (max-width: 768px) {
    .product-name-1 {
      font-size: 14px;
      line-height: 1.3em;
      height: 2.6em;
      max-height: 2.6em;
    }
  }
  
  @media (max-width: 480px) {
    .product-name-1 {
      font-size: 12px;
      line-height: 1.2em;
      height: 2.4em;
      max-height: 2.4em;
    }
  }
  
  /* Product Image Container */
  .product-img-1 {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding-bottom: 100%; /* Keeps aspect ratio square */
    border-radius: 8px;
    background-color: #f5f5f5;
  }
  
  /* Product Image */
  .product-img-1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease-in-out;
  }
  
  /* Hover Effect */
  @media (min-width: 768px) {
    .product-img-1 img:hover {
      transform: scale(1.05);
    }
  }
  
  /* Responsive Layout: Tablet - 3 products in a row */
  @media (max-width: 991px) {
    .product {
      flex: 0 0 32%; /* Each product takes 32% of the row */
    }
  }
  
  /* Responsive Layout: Small devices - 2 products in a row */
  @media (max-width: 768px) {
    .product {
      flex: 0 0 48%; /* Each product takes 48% of the row */
    }
  }
  
  /* Extra Small Devices - 2 products in a row */
  @media (max-width: 480px) {
    .product {
      flex: 0 0 48%;
    }
  }
  
  /* Very Small Devices - 1 product in a row */
  @media (max-width: 320px) {
    .product {
      flex: 0 0 100%; /* Full width for one product per row */
    }
  }
  
 /* Basic Styling */
.custom-section-1 {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: #f3f3f3;
    padding: 20px; /* Add padding for smaller screens */
    box-sizing: border-box;
}

/* Slideshow Container */
.custom-slideshow-container {
    position: relative;
    width: 100%; /* Make it flexible */
    max-width: 1263px; /* Limit max width for large screens */
    height: auto; /* Allow height to scale proportionally */
    aspect-ratio: 1263 / 407; /* Maintain aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Individual Slides */
.custom-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Ensure images fill the container while maintaining aspect ratio */
.custom-slide img {
    width: 100%; /* Stretch to the container's width */
    height: 100%; /* Stretch to the container's height */
    object-fit: cover; /* Ensures no distortion */
    object-position: center; /* Centers the image within the container */
    transition: transform 0.5s ease; /* Smooth scaling for hover effect */
}
/* Optional: Add hover effect for images */
.custom-slide img:hover {
    transform: scale(1.05); /* Slight zoom-in effect */
}

/* Active Slide */
.custom-slide.show {
    animation: customSlideInEffect 0.8s forwards;
}

/* Slide-in Animation */
@keyframes customSlideInEffect {
    from { transform: translateX(100%); } /* Start off-screen to the right */
    to { transform: translateX(0); } /* End at its original position */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .custom-slideshow-container {
        max-width: 90%; /* Use most of the screen width */
    }
}

@media (max-width: 768px) {
    .custom-slideshow-container {
        max-width: 100%; /* Use full width */
        border-radius: 5px; /* Reduce border radius */
    }
}

@media (max-width: 480px) {
    .custom-slideshow-container {
        max-width: 100%;
        border-radius: 3px; /* Minimal border radius */
    }
}

/* Text Overlay */
.custom-text-overlay {
    position: absolute;
    bottom: 20px;
    left: 30px;
    color: white;
    font-size: 24px;
    padding: 8px 16px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

/* Navigation Arrows */
.custom-prev, .custom-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 0 3px 3px 0;
    background-color: rgba(0, 0, 0, 0.5);
    user-select: none;
}

.custom-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Dots */
.custom-dot-container {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.custom-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.custom-active, .custom-dot:hover {
    background-color: #717171;
} 
/* popup form for name or number */
