.chill-phl,
.chill-phl * {
  box-sizing: border-box;
}

.chill-phl-debug {
  width: min(100% - 28px, 1240px);
  margin: 14px auto !important;
  padding: 10px !important;
  background: #eef1f5 !important;
  border: 1px solid #d7dde6 !important;
  white-space: pre-wrap !important;
  color: #111 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.chill-phl {
  width: min(100% - 28px, 1240px);
  margin: 28px auto 34px;
  padding: 20px 18px 22px;
  background:
    radial-gradient(circle at 30% 0%, rgba(160, 255, 60, 0.08), transparent 34%),
    linear-gradient(180deg, #10120c 0%, #080906 100%);
  border: 1px solid rgba(164, 220, 62, 0.13);
  border-radius: 18px;
  color: #f2f6e8;
  overflow: hidden;
}

.chill-phl a {
  text-decoration: none !important;
}

.chill-phl__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 14px;
}

.chill-phl__heading {
  margin: 0 0 6px !important;
  color: #f7fbe8 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
}

.chill-phl__subtitle {
  margin: 0 !important;
  color: rgba(238, 245, 220, 0.75) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.chill-phl__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9d937 !important;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  padding-top: 3px;
  background: transparent !important;
}

.chill-phl__shell {
  position: relative;
}

.chill-phl__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  padding: 2px 2px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.chill-phl__track::-webkit-scrollbar {
  display: none;
}

.chill-phl__card {
  flex: 0 0 calc(16.6667% - 10px);
  width: calc(16.6667% - 10px);
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #171a12 0%, #0b0d08 100%);
  border: 1px solid rgba(172, 225, 55, 0.16);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
  margin: 0;
}

.chill-phl__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1.02;
  min-height: 0;
  padding: 14px 10px;
  background:
    radial-gradient(circle at 50% 48%, rgba(186, 255, 56, 0.20), transparent 50%),
    linear-gradient(145deg, rgba(110, 13, 12, 0.55), rgba(19, 19, 12, 0.98));
  text-decoration: none !important;
}

.chill-phl__card:nth-child(2n) .chill-phl__media {
  background:
    radial-gradient(circle at 50% 48%, rgba(236, 91, 255, 0.22), transparent 50%),
    linear-gradient(145deg, rgba(78, 16, 70, 0.62), rgba(19, 19, 12, 0.98));
}

.chill-phl__card:nth-child(3n) .chill-phl__media {
  background:
    radial-gradient(circle at 50% 48%, rgba(93, 178, 255, 0.20), transparent 50%),
    linear-gradient(145deg, rgba(17, 60, 76, 0.64), rgba(19, 19, 12, 0.98));
}

.chill-phl__card:nth-child(4n) .chill-phl__media {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 150, 48, 0.21), transparent 50%),
    linear-gradient(145deg, rgba(111, 42, 8, 0.65), rgba(19, 19, 12, 0.98));
}

.chill-phl__media img {
  display: block !important;
  width: auto !important;
  max-width: 96% !important;
  max-height: 164px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.45));
  margin: 0 auto !important;
  transition: transform 0.25s ease;
}

.chill-phl__card:hover .chill-phl__media img {
  transform: translateY(-3px) scale(1.02);
}

.chill-phl__badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 20px;
  padding: 0 7px;
  border-radius: 4px;
  background: #ff1744;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.chill-phl__body {
  padding: 10px 10px 11px;
}

.chill-phl__cat {
  margin: 0 0 4px !important;
  color: rgba(238, 245, 220, 0.64);
  font-size: 10px;
  line-height: 1.3;
}

.chill-phl__title {
  display: -webkit-box;
  min-height: 34px;
  margin: 0 0 6px;
  overflow: hidden;
  color: #d6ff4c !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.32;
  text-decoration: none !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.chill-phl__price {
  min-height: 35px;
  margin: 0 0 6px;
  color: #f4f7e9;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.chill-phl__price del {
  opacity: 0.6;
  font-weight: 500;
}

.chill-phl__price ins {
  text-decoration: none;
}

.chill-phl__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 16px;
  margin: 0 0 9px;
  font-size: 11px;
  line-height: 1;
}

.chill-phl__stars {
  color: #ffd84f;
  letter-spacing: 0.04em;
}

.chill-phl__score {
  color: rgba(238, 245, 220, 0.82);
  font-weight: 700;
}

.chill-phl__actions {
  display: grid;
  grid-template-columns: 1fr 34px;
  gap: 7px;
  align-items: center;
}

.chill-phl__btn,
.chill-phl__cart {
  min-height: 34px;
  border-radius: 8px;
  border: 0;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: none !important;
}

.chill-phl__btn {
  background: #a8dc32 !important;
  color: #121707 !important;
  padding: 0 10px;
}

.chill-phl__btn.is-disabled {
  background: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.62) !important;
  cursor: not-allowed;
}

.chill-phl__cart {
  background: #a8dc32 !important;
  color: #121707 !important;
  font-size: 15px;
}

.chill-phl__arrow {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 34px;
  height: 54px;
  min-height: 54px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.62) !important;
  color: #f1f4e5 !important;
  cursor: pointer;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
}

.chill-phl__arrow:hover,
.chill-phl__arrow:focus {
  background: rgba(0, 0, 0, 0.78) !important;
  color: #fff !important;
}

.chill-phl__arrow--prev {
  left: -3px;
}

.chill-phl__arrow--next {
  right: -3px;
}

.chill-phl__arrow[disabled] {
  opacity: 0.25;
  cursor: default;
}

@media (max-width: 1180px) {
  .chill-phl__card {
    flex-basis: calc(20% - 9.6px);
    width: calc(20% - 9.6px);
  }

  .chill-phl__media img {
    max-height: 150px !important;
  }
}

@media (max-width: 900px) {
  .chill-phl__card {
    flex-basis: calc(33.3333% - 8px);
    width: calc(33.3333% - 8px);
  }

  .chill-phl__media img {
    max-height: 155px !important;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  @supports (overflow-x: clip) {
    html,
    body {
      overflow-x: clip !important;
    }
  }

  .chill-phl {
    position: relative;
    left: 50%;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    margin: 10px 0 18px;
    padding: 16px 0 18px;
    transform: translateX(-50%);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    border-color: transparent;
    background:
      radial-gradient(circle at 28% 0%, rgba(168, 220, 50, 0.13), transparent 42%),
      linear-gradient(180deg, #080906 0%, #050604 100%);
    box-shadow: none;
    overflow: hidden;
  }

  @supports (width: 100dvw) {
    .chill-phl {
      width: 100dvw;
      max-width: 100dvw;
    }
  }

  .chill-phl__head {
    align-items: flex-start;
    flex-direction: row;
    gap: 10px;
    margin: 0 0 10px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .chill-phl__heading {
    font-size: 20px !important;
    line-height: 1.15 !important;
    margin-bottom: 4px !important;
  }

  .chill-phl__subtitle {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    max-width: 245px;
  }

  .chill-phl__all {
    position: relative;
    margin-left: auto;
    padding: 0 !important;
    font-size: 0;
    line-height: 0;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(168, 220, 50, 0.36);
    display: block;
    background: rgba(168, 220, 50, 0.035) !important;
  }

  .chill-phl__all span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    font-size: 17px;
    line-height: 1;
    transform: translate(-50%, -52%);
  }

  .chill-phl__shell {
    margin: 0;
    overflow: hidden;
  }

  .chill-phl__track {
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding-top: 2px;
    padding-bottom: 12px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    scroll-padding-left: max(12px, env(safe-area-inset-left));
    overflow-x: auto;
    overflow-y: hidden;
  }

  .chill-phl__card {
    flex-basis: 44%;
    width: 44%;
    min-width: 44%;
    border-radius: 15px;
    background: linear-gradient(180deg, #15190f 0%, #080a06 100%);
    border-color: rgba(172, 225, 55, 0.18);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.42);
  }

  .chill-phl__media {
    aspect-ratio: 1 / .94;
    padding: 10px 7px;
  }

  .chill-phl__media img {
    max-height: 126px !important;
    max-width: 100% !important;
  }

  .chill-phl__badge {
    top: 7px;
    left: 7px;
    min-width: 34px;
    height: 18px;
    padding: 0 6px;
    font-size: 9px;
  }

  .chill-phl__body {
    padding: 8px 8px 9px;
  }

  .chill-phl__cat {
    margin-bottom: 3px !important;
    font-size: 9px;
  }

  .chill-phl__title {
    min-height: 30px;
    margin-bottom: 5px;
    font-size: 11.5px;
    line-height: 1.3;
  }

  .chill-phl__price {
    min-height: 28px;
    margin-bottom: 5px;
    font-size: 10.5px;
    line-height: 1.32;
  }

  .chill-phl__rating {
    gap: 4px;
    min-height: 14px;
    margin-bottom: 7px;
    font-size: 10px;
  }

  .chill-phl__actions {
    grid-template-columns: 1fr 30px;
    gap: 5px;
  }

  .chill-phl__btn,
  .chill-phl__cart {
    min-height: 30px;
    border-radius: 8px;
    font-size: 10.5px;
  }

  .chill-phl__cart {
    font-size: 14px;
  }

  .chill-phl__arrow {
    display: none;
  }
}

@media (max-width: 380px) {
  .chill-phl {
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .chill-phl__head {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }

  .chill-phl__subtitle {
    max-width: 210px;
  }

  .chill-phl__track {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
    scroll-padding-left: max(10px, env(safe-area-inset-left));
  }

  .chill-phl__card {
    flex-basis: 76%;
    width: 76%;
    min-width: 76%;
  }

  .chill-phl__media {
    aspect-ratio: 1 / .78;
  }

  .chill-phl__media img {
    max-height: 142px !important;
  }

  .chill-phl__title {
    font-size: 12.5px;
  }

  .chill-phl__price {
    font-size: 11px;
  }
}
