/**
 * Logged-in PLP promo slider (category_banner.twig) — FoodMart routes skip hk-category-plp.css.
 */
.hk-plp-promo-banner {
  --hk-plp-banner-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --hk-plp-banner-brand: #2d4438;
  --hk-plp-banner-ink: #141414;
}

.hk-plp-page-shell.hk-catalog-plp > .hk-plp-promo-banner {
  box-sizing: border-box;
  margin: 0;
  max-width: none;
  padding: clamp(16px, 2.5vw, 24px) 0 0;
  width: 100%;
}

.hk-plp-promo-banner.banner--module-images {
  padding-top: clamp(16px, 2.5vw, 24px);
}

.hk-plp-promo-banner .banner__frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  min-height: clamp(240px, 28vw, 340px);
  background: #14201c;
}

.hk-plp-promo-banner .banner__track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x pinch-zoom;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hk-plp-promo-banner .banner__track::-webkit-scrollbar {
  display: none;
}

.hk-plp-promo-banner .slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 48px);
  min-height: clamp(240px, 28vw, 340px);
  padding: clamp(28px, 4vw, 52px) clamp(28px, 4.5vw, 56px);
  color: #fff;
  position: relative;
  isolation: isolate;
}

.hk-plp-promo-banner .slide--1 {
  background: linear-gradient(135deg, #3d5b4f 0%, #2d4438 100%);
}

.hk-plp-promo-banner .slide--2 {
  background: linear-gradient(135deg, #78bca1 0%, #5a9b82 100%);
}

.hk-plp-promo-banner .slide--3 {
  background: linear-gradient(135deg, #1f2c27 0%, #14201c 100%);
}

.hk-plp-promo-banner .slide--4 {
  background: linear-gradient(135deg, #4a6b5c 0%, #3d5b4f 100%);
}

.hk-plp-promo-banner .slide::after {
  content: "";
  position: absolute;
  right: -18%;
  top: -55%;
  width: 55%;
  height: 210%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 0;
}

.hk-plp-promo-banner .slide__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hk-plp-promo-banner .slide__tag {
  display: inline-block;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.14);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hk-plp-promo-banner .slide__title {
  font-family: var(--hk-plp-banner-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.8vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 18px;
}

.hk-plp-promo-banner .slide__title em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.65);
}

.hk-plp-promo-banner .slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 22px;
  background: #fff;
  color: var(--hk-plp-banner-brand);
  border-radius: 999px;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hk-plp-promo-banner .slide__cta:hover {
  transform: translateX(3px);
  color: var(--hk-plp-banner-brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hk-plp-promo-banner .slide--2 .slide__cta {
  color: #1f3229;
}

.hk-plp-promo-banner .slide--2 .slide__cta-arrow {
  background: #1f3229;
}

.hk-plp-promo-banner .slide__cta-arrow {
  width: 30px;
  height: 30px;
  background: var(--hk-plp-banner-brand);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hk-plp-promo-banner .slide__cta-arrow svg {
  width: 12px;
  height: 12px;
}

.hk-plp-promo-banner .slide__art {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: clamp(160px, 22vw, 240px);
  height: 100%;
  pointer-events: none;
}

.hk-plp-promo-banner .slide__art img {
  position: absolute;
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.35));
}

.hk-plp-promo-banner .slide__art img:nth-child(1) {
  width: 46%;
  left: 4%;
  top: 22%;
  transform: rotate(-8deg);
  z-index: 2;
}

.hk-plp-promo-banner .slide__art img:nth-child(2) {
  width: 52%;
  left: 32%;
  top: 0;
  transform: rotate(6deg);
  z-index: 3;
}

.hk-plp-promo-banner .slide__art img:nth-child(3) {
  width: 40%;
  left: 58%;
  top: 42%;
  transform: rotate(-4deg);
  z-index: 2;
}

.hk-plp-promo-banner .banner__nav {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hk-plp-promo-banner .banner__btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hk-plp-banner-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}

.hk-plp-promo-banner .banner__btn:hover {
  background: #fff;
  color: var(--hk-plp-banner-brand);
}

.hk-plp-promo-banner .banner__btn svg {
  width: 16px;
  height: 16px;
}

.hk-plp-promo-banner .banner__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.hk-plp-promo-banner .banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: background 0.2s, width 0.2s;
  cursor: pointer;
}

.hk-plp-promo-banner .banner__dot.is-active {
  background: #fff;
  width: 22px;
}

.hk-plp-promo-banner.banner--module-images .banner__images {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hk-plp-promo-banner.banner--module-images .banner__image-link {
  display: block;
  width: 100%;
  line-height: 0;
  border-radius: 20px;
  overflow: hidden;
}

.hk-plp-promo-banner.banner--module-images picture {
  display: block;
  width: 100%;
}

.hk-plp-promo-banner.banner--module-images .banner__image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .hk-plp-promo-banner .slide {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 24px 32px;
  }

  .hk-plp-promo-banner .slide__art {
    display: none;
  }

  .hk-plp-promo-banner .banner__frame {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .hk-plp-promo-banner .banner__dots {
    display: none;
  }
}
