.hn-main-container h3 {
  text-align: center;
}

.back-to-school-banner-inner {
  margin-bottom: 20px;
}

.back-to-school-carousel .slick-slide {
  width: 250px !important;
}

.separator {
  height: 3px;
  width: 100%;
  background: linear-gradient(to left, transparent 0%, #000 40%, #ffe202 60%, transparent 100%);
  margin: 10px 0;
}

.back-to-school-container {
  padding: 20px;
  position: relative;
}

.back-to-school-container h2 {
  color: #00447a;
  font-size: 1.857em;
  line-height: 1em;
  font-weight: normal;
  margin-bottom: 15px;
  display: inline-block;
}

.back-to-school-categories-carousel {
  margin: 30px 0;
}

.back-to-school-categories-carousel h3 {
  margin-bottom: 20px;
  font-size: 24px;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* .carousel-container .slick-track, .carousel-track, .carousel-track .slick-list, .carousel-track .slick-track {
    width: 100% !important;
  } */

.carousel-container .slick-slide > div {
  margin: 0 10px;
}

.carousel-container .slick-list {
  padding: 12px 0;
}

.carousel-container .slick-slider .slick-next,
.carousel-container .slick-slider .slick-prev {
  background-color: rgba(255, 255, 255, 1);
  opacity: 1;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 20px 0;
  user-select: none;
  /* Prevent text selection during drag */
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track.dragging {
  scroll-behavior: auto;
  /* Disable smooth scrolling during drag */
}

.carousel-item {
  height: 210px;
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.carousel-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.carousel-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
}

.carousel-item h4 {
  padding: 0 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.3em;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-item-2 {
  background-color: #ffe202;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.carousel-item-banner img {
  height: 210px;
  width: auto;
}

.carousel-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.carousel-item a:hover {
  text-decoration: none;
}

.carousel-nav {
  position: absolute;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  font-size: 26px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  border: 1px solid #ddd;
  color: #333;
  transition: all 0.3s ease;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #00447a;
}

.carousel-nav:hover,
.carousel-nav:active {
  text-decoration: none;
}

.carousel-nav:focus {
  text-decoration: none;
  outline: none;
}

.carousel-nav::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}

.carousel-nav.prev::before {
  border-width: 8px 12px 8px 0;
  border-color: transparent currentColor transparent transparent;
  margin-left: -2px;
}

.carousel-nav.next::before {
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.terms-button-container {
  text-align: center;
  margin: 40px 0 20px 0;
  padding: 20px 0;
}

.terms-button {
  display: inline-block;
  background: #e91a1a;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #e91a1a;
}

.terms-button:hover {
  background: white;
  color: #e91a1a;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 68, 122, 0.2);
}
