/* =====================================================
   HOME PRODUCT TABS
   ONLY tabs and container styles - products inherit from theme
   ===================================================== */

/* Container */
.hpt {
  padding: 40px 0;
}

/* =====================================================
   TAB SWITCHER - Apple style
   ===================================================== */

.hpt__switcher {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 0;
  margin: 0 auto 40px;
  padding: 4px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08);
  max-width: 360px;
  width: fit-content;
}

.hpt__tab {
  padding: 5px 24px;
  background: #ffffff;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.hpt__tab:hover {
  background: #f0f0f0;
}

.hpt__tab--active {
  background: #e8e8e8;
  color: #000;
}

/* =====================================================
   PANELS
   ===================================================== */

.hpt__panel {
  display: none;
}

.hpt__panel--active {
  display: block;
}

/* =====================================================
   GRID - just layout, no product card styles
   ===================================================== */

.hpt__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.hpt__grid li{
  list-style: none;
}
.hpt__grid .product,
.hpt__grid li.product {
  width: 100%;
  margin: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1200px) {
  .hpt__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hpt__switcher {
    max-width: 100%;
  }

  .hpt__tab {
    padding: 10px 16px;
    font-size: 12px;
  }

  .hpt__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Slick active */
  .hpt__grid.slick-initialized {
    display: block;
  }
}

@media (max-width: 480px) {
  .hpt {
    padding: 24px 0;
  }

  .hpt__tab {
    padding: 8px 12px;
    font-size: 11px;
  }
}

/* =====================================================
   SLICK SLIDER (container only, no card styles)
   ===================================================== */

.hpt .slick-list {
  margin: 0 -8px;
}

.hpt .slick-slide {
  padding: 0 8px;
}

.hpt .slick-prev,
.hpt .slick-next {
  position: absolute;
  top: 50%;
  padding: 0;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  font-size: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hpt .slick-prev {
  left: -8px;
}

.hpt .slick-next {
  right: -8px;
}

.hpt .slick-prev:before,
.hpt .slick-next:before {
  font-family: FontAwesome;
  font-size: 16px;
  color: #333;
  display: block;
  line-height: 34px;
  text-align: center;
}

.hpt .slick-prev:before {
  content: "\f104";
}

.hpt .slick-next:before {
  content: "\f105";
}

.hpt .slick-dots {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hpt .slick-dots li {
  margin: 0;
  padding: 0;
}

.hpt .slick-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  font-size: 0;
  cursor: pointer;
  padding: 0;
}

.hpt .slick-dots li.slick-active button {
  background: #243741;
}
