a {
  text-decoration: none !important;
}

.category-slider-section {
  padding: 20px;
}

.category-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.category-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}

.category-item {
  min-width: 120px;
  flex-shrink: 0;
}

.category-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.category-name {
  font-size: 14px;
  font-weight: 500;
}

.carousel-control-btn {
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 4px 8px;
}



/* ========== Container Styles ========== */
.container1 {
  background: lightgray url('/skin/front/assets/img/bg/bg01.webp') no-repeat center center;
  background-size: cover;
  padding: 60px 30px;
  border-radius: 10px;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
  /* important for mobile */
}

.container1 .left,
.container1 .right {
  flex: 1;
  min-width: 280px;
}

.container1 h1 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #000;
}

.container1 p {
  font-size: 16px;
  color: #000;
}

.container1 .form-container {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container1 input[type="text"],
.container1 input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.container1 button[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #28a745;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

/* ✅ Responsive Mobile Styles */
@media (max-width: 768px) {
  .container1 {
    flex-direction: column;
    padding: 30px 15px;
    text-align: center;
  }

  .container1 h1 {
    font-size: 22px;
  }

  .container1 p {
    font-size: 14px;
  }

  .container1 .form-container {
    padding: 20px;
  }
}


/* Parent Section Styling */
.product-section1 {
  padding: 40px 20px;
  background-color: #f8f9fa;
  /* Background color for the parent */
  color: #333;
  /* Text color for the parent */
}

/* Container */
.product-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Title */
.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: #000;
  /* Text color for the section title */
}

/* Slider Wrapper */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Slider Content Area */
.product-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 10px 0;
  transition: transform 0.3s ease;
  /* Added smooth sliding transition */
}

.product-slider::-webkit-scrollbar {
  display: none;
}

/* Product Card Styling */
.product-card {
  flex: 0 0 auto;
  width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: scale(1.05);
  /* Slightly enlarges the card on hover */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  /* Darker shadow on hover */
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}

.product-card h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.product-card p {
  font-size: 0.9rem;
  color: #28a745;
  /* Green color for the price */
  font-weight: 600;
}

/* Arrow Buttons */
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 50%;
  padding: 10px 12px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.slider-button:hover {
  background-color: #e9ecef;
  transform: scale(1.1);
  /* Enlarges the arrow button on hover */
}

.slider-button.left {
  left: -10px;
}

.slider-button.right {
  right: -10px;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {

  /* Display only one product at a time in the mobile view */
  .product-slider {
    display: flex;
    justify-content: flex-start;
    /* Aligning the products to the left */
  }

  .product-card {
    width: 90%;
    /* Make product card larger to fit on mobile */
    margin: 0 auto;
    /* Center align product cards */
  }

  /* Show slider buttons on mobile */
  .slider-button.left,
  .slider-button.right {
    display: block;
    /* Keep the arrows visible for navigation */
  }

  /* For smaller screen size, slide through each product */
  .product-slider {
    scroll-snap-type: x mandatory;
  }

  .product-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.4rem;
  }

  /* Product card takes up more width */
  .product-card {
    width: 95%;
    /* Take more width on smaller screens */
  }

  /* Hide slider arrows for a clean mobile layout */
  .slider-button.left,
  .slider-button.right {
    display: none;
  }
}






/* bottom navigation bar */
@media (min-width: 768px) {
  .bottom-nav {
    display: none !important;
  }
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #ccc;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  z-index: 999;
}

.bottom-nav a {
  text-decoration: none;
  color: #333;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-nav svg {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  fill: currentColor;
}

.bottom-nav a.active {
  color: #b9008d;
}


.slide-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: right 0.3s ease-in-out;
  z-index: 1100;
  overflow-y: auto;
  padding: 15px;
}

.slide-panel.open {
  right: 0;
}

.close-icon {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  transition: transform 0.2s ease;
}

.close-icon:hover {
  transform: rotate(90deg);
  color: #b9008d;
}

.account-panel {
  padding: 20px;
}

.account-panel h4 {
  font-weight: bold;
  margin-bottom: 20px;
}

.account-panel .account-option {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.account-panel .account-option:last-child {
  border-bottom: none;
}

.category-nav {
  display: flex;
  gap: 10px;
}

.category-sidebar {
  min-width: 120px;
  border-right: 1px solid #eee;
}

.category-sidebar ul {
  list-style: none;
  padding-left: 0;
}

.category-sidebar li {
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
}

.subcategory-content {
  flex-grow: 1;
  padding-left: 15px;
}

.subcategory-block h5 {
  font-size: 14px;
  margin-top: 15px;
  color: #b9008d;
}

.subcategory-block ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
}

.subcategory-block li {
  width: 45%;
  margin: 5px;
  text-align: center;
  font-size: 13px;
}

.subcategory-block img {
  width: 100%;
  height: auto;
  max-width: 80px;
  margin-bottom: 5px;
}