/* skeleton */
.trendingWidget .recs:not(.loaded) .swiper-controls, .recommendationWidget .recs:not(.loaded) .swiper-controls {
  display: none !important;
}

.trendingWidget .recs .recsWidget-skeleton, .recommendationWidget .recs .recsWidget-skeleton {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 180px 16px 180px 16px 180px 16px 180px 16px 180px;
  grid-template-columns: repeat(5, 180px);
  gap: 16px;
  margin: 0 0 32px 28px;
  width: 100%;
}

.trendingWidget .recs .recsWidget-skeleton:hover, .recommendationWidget .recs .recsWidget-skeleton:hover {
  -webkit-filter: none;
          filter: none;
  -webkit-transform: none;
          transform: none;
}

.trendingWidget .recs .recsWidget-skeleton > *, .recommendationWidget .recs .recsWidget-skeleton > * {
  border-radius: 10px;
  background-color: #cdcdcd;
  background-color: color-mix(in srgb, var(--bgColor) 65%, white);
  overflow: hidden;
  -webkit-animation: monetatePulse 1500ms linear alternate 3;
          animation: monetatePulse 1500ms linear alternate 3;
}

.trendingWidget:has(.recsWidget-skeleton), .recommendationWidget:has(.recsWidget-skeleton) {
  -ms-grid-columns: var(--imgWidth) 1fr;
  grid-template-columns: var(--imgWidth) 1fr;
}

.trendingWidget.reverse:has(.recsWidget-skeleton), .reverse.recommendationWidget:has(.recsWidget-skeleton) {
  -ms-grid-columns: 1fr var(--imgWidth);
  grid-template-columns: 1fr var(--imgWidth);
}

@media (max-width: 767px) {
  .trendingWidget .recs .recsWidget-skeleton, .recommendationWidget .recs .recsWidget-skeleton {
    height: 84.8vw;
    -ms-grid-columns: (40vw)[5];
    grid-template-columns: repeat(5, 40vw);
    margin: 0 8px;
  }
}
@-webkit-keyframes monetatePulse {
  0% {
    -webkit-filter: brightness(1);
            filter: brightness(1);
  }
  100% {
    -webkit-filter: brightness(0.85);
            filter: brightness(0.85);
  }
}
@keyframes monetatePulse {
  0% {
    -webkit-filter: brightness(1);
            filter: brightness(1);
  }
  100% {
    -webkit-filter: brightness(0.85);
            filter: brightness(0.85);
  }
}
/* widget */
.editorOverlay {
  background-color: transparent !important;
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}

.editorOverlay:before {
  position: absolute;
  inset: -5%;
  content: "placeholder for " attr(data-reczone);
  background-color: rgba(221, 221, 221, 0.631372549);
  z-index: 2;
  backdrop-filter: blur(2px);
  border-radius: 10px;
  place-content: center;
  text-align: center;
  font-weight: 800;
}

.trendingWidget, .recommendationWidget {
  --imgWidth: var(--image-width, 622px);
  container-type: inline-size;
  display: -ms-grid;
  display: grid;
  /* grid-template-columns: minmax(min-content, 2fr) minmax(auto, 3fr); */
  -ms-grid-columns: minmax(0, -webkit-min-content) minmax(430px, 1fr);
  -ms-grid-columns: minmax(0, min-content) minmax(430px, 1fr);
  grid-template-columns: minmax(0, -webkit-min-content) minmax(430px, 1fr);
  grid-template-columns: minmax(0, min-content) minmax(430px, 1fr);
      grid-template-areas: "trending recs";
  background-color: var(--bgColor);
  border-radius: 10px;
  overflow: clip;
}

.trendingWidget.reverse, .reverse.recommendationWidget {
      grid-template-areas: "recs trending";
  /* grid-template-columns: minmax(auto, 3fr) minmax(min-content, 2fr); */
  -ms-grid-columns: minmax(430px, 1fr) minmax(0, -webkit-min-content);
  -ms-grid-columns: minmax(430px, 1fr) minmax(0, min-content);
  grid-template-columns: minmax(430px, 1fr) minmax(0, -webkit-min-content);
  grid-template-columns: minmax(430px, 1fr) minmax(0, min-content);
}

.trendingWidget.col, .col.recommendationWidget {
      grid-template-areas: "trending" "recs";
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  -ms-grid-rows: min-content 1fr;
  grid-template-rows: -webkit-min-content 1fr;
  grid-template-rows: min-content 1fr;
}

/* @media(min-width: 768px) and (max-width: 1024px) {
	.trendingWidget {
		grid-template-columns: minmax(0, min-content) minmax(430px, 1fr);
	}
	.trendingWidget.reverse {
		grid-template-columns: minmax(430px, 1fr) minmax(0, min-content);
	}
} */
.trendingWidget .trending, .recommendationWidget .trending {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: trending;
  aspect-ratio: var(--aspect-ratio, 622/370);
  border-radius: 10px;
  display: block;
  position: relative;
}

.trendingWidget.col .trending, .col.recommendationWidget .trending {
  aspect-ratio: unset;
  border: 5px solid var(--bgColor, #333);
  overflow: clip;
}

.trendingWidget .trending img, .recommendationWidget .trending img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.trendingWidget .mobileTitle, .recommendationWidget .mobileTitle {
  display: none;
}

.trendingWidget .recs, .recommendationWidget .recs {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: recs;
  container-type: inline-size;
  container-name: recs-column;
}

.trendingWidget .recs a, .recommendationWidget .recs a {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  overflow: clip;
  padding: 8px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  border: 1px solid #efefef;
}

.trendingWidget .sku-image, .recommendationWidget .sku-image {
  width: 100%;
  aspect-ratio: 1;
  display: block;
}

.trendingWidget .sku-badges, .recommendationWidget .sku-badges {
  position: absolute;
  inset: 8px 8px auto 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  gap: 4px;
}

.trendingWidget .sku-badges > div, .recommendationWidget .sku-badges > div {
  width: 25%;
  max-width: 45px;
}

.trendingWidget .sku-badges img, .recommendationWidget .sku-badges img {
  width: 100%;
}

.trendingWidget .sku-title, .recommendationWidget .sku-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: clip;
}

.trendingWidget .p-w-r, .recommendationWidget .p-w-r {
  margin-top: 0;
}

.trendingWidget .sku-price, .recommendationWidget .sku-price {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  gap: 0.5rem;
}

.trendingWidget .sku-price:has(.sku-map), .recommendationWidget .sku-price:has(.sku-map) {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.trendingWidget .sku-map, .recommendationWidget .sku-map {
  display: block;
  line-height: 1.15;
  text-wrap: balance;
  color: #d40029;
  font-weight: 300;
}

.trendingWidget .sku-map span, .recommendationWidget .sku-map span {
  font-weight: 700;
}

.trendingWidget .sku-price-current, .recommendationWidget .sku-price-current {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}

.trendingWidget .sku-price-former, .recommendationWidget .sku-price-former {
  font-size: 0.75rem;
  line-height: 1;
  margin-bottom: 1px;
}

.trendingWidget .pr-star-v4, .recommendationWidget .pr-star-v4 {
  background-size: cover;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  height: 13px;
  width: 13px;
  padding: 3px;
  border-radius: 3px;
  margin-right: 2px;
  margin-left: 0;
}

/* swiper */
.trendingWidget .swiper .swiper-wrapper, .recommendationWidget .swiper .swiper-wrapper {
  -webkit-padding-after: 0 !important;
          padding-block-end: 0 !important;
}

.trendingWidget .swiper, .recommendationWidget .swiper {
  height: 100%;
  padding-block: 16px 32px;
}

.trendingWidget .item, .recommendationWidget .item {
  position: relative;
  width: 180px;
  /* height: calc(100% - 32px); */
}

.trendingWidget .swiper .swiper-controls, .recommendationWidget .swiper .swiper-controls {
  -ms-grid-rows: auto 32px;
  grid-template-rows: auto 32px;
}

.trendingWidget .swiper .swiper-pagination, .recommendationWidget .swiper .swiper-pagination {
  -ms-grid-row-align: center;
  -ms-grid-column-align: center;
  place-self: center;
}

.trendingWidget.inverted .swiper-pagination-bullet, .inverted.recommendationWidget .swiper-pagination-bullet,
.trendingWidget[style*="#d40029"] .swiper-pagination-bullet,
[style*="#d40029"].recommendationWidget .swiper-pagination-bullet {
  background-color: var(--pagination, #fff) !important;
}

.trendingWidget.inverted .swiper-pagination-bullet:hover, .inverted.recommendationWidget .swiper-pagination-bullet:hover,
.trendingWidget.inverted .swiper-pagination-bullet-active,
.inverted.recommendationWidget .swiper-pagination-bullet-active {
  background-color: #d40029 !important;
}

.trendingWidget[style*="#d40029"] .swiper-pagination-bullet:hover, [style*="#d40029"].recommendationWidget .swiper-pagination-bullet:hover,
.trendingWidget[style*="#d40029"] .swiper-pagination-bullet-active,
[style*="#d40029"].recommendationWidget .swiper-pagination-bullet-active {
  background-color: #333 !important;
}

.trendingWidget.acs .swiper-controls .swiper-navigation button, .acs.recommendationWidget .swiper-controls .swiper-navigation button {
  /* --width: clamp(16px, 1.97cqw, 24px); */
  width: 24px;
  --radius: 10px;
}

@media (min-width: 767px) and (max-width: 1299px) {
  .trendingWidget .swiper, .recommendationWidget .swiper {
    padding-block: 16px;
  }
}
@media (max-width: 767px) {
  .trendingWidget .swiper, .recommendationWidget .swiper {
    -webkit-padding-before: 8px;
            padding-block-start: 8px;
  }
  .trendingWidget .swiper .swiper-wrapper, .recommendationWidget .swiper .swiper-wrapper {
    -webkit-padding-after: 32px !important;
            padding-block-end: 32px !important;
  }
  .trendingWidget .swiper .swiper-controls, .recommendationWidget .swiper .swiper-controls {
    -ms-grid-rows: auto 32px;
    grid-template-rows: auto 32px;
  }
}
@media (max-width: 767px) {
  .trendingWidget, .recommendationWidget {
    display: block;
    border-radius: 0;
  }
  .trendingWidget .item, .recommendationWidget .item {
    border-radius: 6px;
    border: none;
    height: auto;
  }
  .trendingWidget .trending, .recommendationWidget .trending {
    border-radius: 0;
    width: 100%;
    aspect-ratio: unset;
  }
  .trendingWidget.col .trending, .col.recommendationWidget .trending {
    border: 4px solid var(--bgColor);
    display: block;
  }
  .trendingWidget .mobileTitle, .recommendationWidget .mobileTitle {
    display: block;
    font-weight: 700;
    margin: 8px 8px 0;
    font-size: var(--mz-14);
    color: var(--color, #333);
  }
  .trendingWidget.inverted .mobileTitle, .inverted.recommendationWidget .mobileTitle {
    color: var(--color, #fff);
  }
  .trendingWidget .recs, .recommendationWidget .recs {
    width: 100%;
  }
}
@container recs-column (max-width: 450px) {
  .trendingWidget .swiper, .recommendationWidget .swiper {
    padding-block: 16px;
  }
  .trendingWidget .swiper-controls, .recommendationWidget .swiper-controls {
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
  }
  .trendingWidget .swiper-pagination, .recommendationWidget .swiper-pagination {
    display: none !important;
  }
  .trendingWidget .item, .recommendationWidget .item {
    /* height: calc(100% - 16px); */
  }
}
.recommendationWidget {
  -ms-grid-rows: auto auto;
  grid-template-rows: auto auto;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
      grid-template-areas: "header" "recs" ".";
  padding-block: 10px 0;
}
.recommendationWidget h2 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: header;
  padding: 0;
}
.recommendationWidget[style*="#d40029"] h2 {
  color: #fff;
}
@media (min-width: 768px) {
  .recommendationWidget .swiper {
    padding-bottom: 32px;
  }
}
@media (max-width: 767px) {
  .recommendationWidget .swiper {
    padding-block: 10px 0;
  }
  .recommendationWidget .swiper-pagination {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
}