/* PolimerPortal product sidebar cards */
.pp-sidebar-card {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #d7dde6, 0 8px 22px rgba(17, 24, 39, 0.08);
  color: var(--awb-color7, #142033);
  font-family: inherit;
}

.pp-sidebar-card,
.pp-sidebar-card * {
  box-sizing: border-box;
  font-family: inherit;
}

.pp-sidebar-card__title {
  margin-top: 0 !important;
  color: var(--awb-color7, #142033);
  font-family: inherit;
  letter-spacing: 0 !important;
}

.pp-sidebar-card__title * {
  letter-spacing: 0 !important;
}

.pp-sidebar-card--video {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 7px 14px 14px;
}

.pp-sidebar-card--selection {
  display: flex;
  max-width: 318px;
  min-height: 318px;
  flex-direction: column;
  margin: 0 0 16px;
  overflow: visible;
}

.pp-sidebar-card--see-also {
  max-width: 318px;
  margin: 0 auto 16px;
  padding: 7px 12px 12px;
}

.pp-foam-video-sidebar__list {
  display: grid;
  gap: 13px;
}

.pp-foam-video-sidebar__item {
  display: grid;
  gap: 7px;
  margin: 0;
}

.pp-foam-video-sidebar__video-title {
  margin: 0 !important;
  color: #243044;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.25 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pp-foam-video-sidebar__preview {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #111827;
  cursor: pointer;
  display: block;
}

.pp-foam-video-sidebar__preview:focus {
  outline: 2px solid #1f9fcb;
  outline-offset: 2px;
}

.pp-foam-video-sidebar__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.pp-foam-video-sidebar__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.08), rgba(5, 7, 11, 0.18));
}

.pp-foam-video-sidebar__preview:hover .pp-foam-video-sidebar__thumb,
.pp-foam-video-sidebar__preview:focus .pp-foam-video-sidebar__thumb {
  filter: brightness(0.9);
  transform: scale(1.02);
}

.pp-foam-video-sidebar__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 159, 203, 0.92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
}

.pp-foam-video-sidebar__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #ffffff;
  border-top: 10px solid transparent;
}

.pp-foam-video-sidebar__expand {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.78);
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.pp-foam-video-sidebar__expand:hover,
.pp-foam-video-sidebar__expand:focus {
  background: rgba(17, 24, 39, 0.95);
}

[data-polimerpost-selection-banner] {
  width: 100%;
}

.pp-selection-banner__body {
  display: flex;
  width: 100%;
  min-height: 318px;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  padding: 7px 22px 22px;
}

.pp-selection-banner__title {
  margin: 0 !important;
  font-size: 21px !important;
  line-height: 1.13 !important;
  text-align: center;
}

.pp-selection-banner__title span {
  display: block;
  color: var(--awb-color7, #142033);
}

.pp-selection-banner__focus {
  margin-bottom: 2px;
  font-size: 39px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
}

.pp-selection-banner__for {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.pp-selection-banner__tail {
  max-width: 245px;
  margin: 0 auto;
  font-size: 21px;
  font-weight: 850;
  line-height: 1.15;
}

.pp-selection-banner__text {
  margin: 0;
  color: var(--awb-color7, #142033);
  font-size: 14px;
  line-height: 1.45;
}

.pp-selection-banner__button {
  display: block;
  margin-top: auto;
  padding: 13px 14px;
  border: 2px solid #ff681e;
  border-radius: 10px;
  background: #fff7f2;
  box-shadow: 0 10px 24px rgba(255, 104, 30, 0.14);
  color: var(--awb-color7, #142033);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.pp-selection-banner__button:hover,
.pp-selection-banner__button:focus {
  border-color: #ff681e;
  background: #ff681e;
  color: #ffffff;
  transform: translateY(-1px);
}

.pp-see-also__title {
  margin: 0 0 9px !important;
  font-size: 25px !important;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08 !important;
  text-align: center;
}

.pp-see-also__section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pp-see-also__section + .pp-see-also__section {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(20, 32, 51, 0.1);
}

.pp-see-also__item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border: 1px solid rgba(20, 32, 51, 0.1);
  border-radius: 13px;
  background: rgba(20, 32, 51, 0.025);
  color: var(--awb-color7, #142033);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.pp-see-also__item:hover,
.pp-see-also__item:focus {
  border-color: rgba(255, 104, 30, 0.6);
  background: rgba(255, 104, 30, 0.055);
  color: var(--awb-color7, #142033);
  text-decoration: none;
  transform: translateY(-1px);
}

.pp-see-also__media {
  flex: 0 0 93px;
  width: 93px;
  height: 93px;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f6f9;
}

.pp-see-also__thumb {
  display: block;
  width: 93px;
  height: 93px;
  object-fit: cover;
}

.pp-see-also__name {
  display: block;
  min-width: 0;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.28;
}

.pp-see-also__item--category {
  padding: 6px 7px;
  border-color: rgba(255, 104, 30, 0.22);
  background: rgba(255, 104, 30, 0.045);
}

.pp-foam-video-lightbox[hidden] {
  display: none;
}

.pp-foam-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  isolation: isolate;
  display: grid;
  padding: 24px;
  place-items: center;
  pointer-events: auto;
}

.pp-foam-video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 11, 0.96);
}

.pp-foam-video-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100vw - 32px));
  background: #05070b;
  border-radius: 10px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.72);
}

.pp-foam-video-lightbox__close {
  position: absolute;
  right: -14px;
  top: -14px;
  z-index: 2;
  display: inline-grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.pp-foam-video-lightbox__frame-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #111827;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.pp-foam-video-lightbox__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #05070b;
  opacity: 1;
}

body.pp-foam-video-lightbox-open {
  overflow: hidden;
}

@media (max-width: 800px) {
  .pp-sidebar-card {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .pp-sidebar-card--video,
  .pp-sidebar-card--selection,
  .pp-sidebar-card--see-also {
    width: 100%;
    max-width: none;
    margin: 0 0 22px;
    padding-left: 0;
    padding-right: 0;
  }

  .pp-sidebar-card--video {
    padding-top: 0;
    padding-bottom: 0;
  }

  .pp-sidebar-card--selection {
    min-height: 0;
  }

  .pp-sidebar-card--see-also {
    padding-top: 0;
    padding-bottom: 0;
  }

  .pp-selection-banner__body {
    min-height: 0;
    padding: 0;
  }

  .pp-see-also__item--product {
    align-items: center;
    gap: 10px;
  }

  .pp-see-also__media {
    flex: 0 0 33%;
    width: 33%;
    max-width: 150px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .pp-see-also__thumb {
    width: 100%;
    height: 100%;
  }

  .pp-foam-video-lightbox {
    padding: 16px;
  }

  .pp-foam-video-lightbox__close {
    right: 0;
    top: -44px;
  }
}
