body[data-page-type="product"] {
  --kemove-pdp-media-radius: 16px;
  --kemove-pdp-control-radius: 12px;
  background: rgb(var(--kemove-page));
}

body[data-page-type="product"] .product-detail__title {
  color: rgb(var(--kemove-text));
  line-height: 1.08;
  letter-spacing: 0;
}

body[data-page-type="product"] .product-detail__price {
  color: rgb(var(--kemove-text));
  font-variant-numeric: tabular-nums;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__media,
body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail {
  overflow: hidden;
  background: rgb(var(--kemove-surface-subtle));
  border-radius: var(--kemove-pdp-media-radius);
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail::after {
  border-radius: inherit;
  transition: box-shadow 180ms ease;
}

body[data-page-type="product"] .product-detail__variant-picker .variant-picker__button {
  min-height: 40px;
  font-weight: 600;
  border-radius: var(--kemove-pdp-control-radius);
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 180ms var(--kemove-ease-out);
}

body[data-page-type="product"] .product-detail__additional {
  border-color: rgb(var(--kemove-border));
}

/* KEMOVE PDP conversion layout */
body[data-page-type="product"] .product-detail-wrapper > .page-width {
  width: min(var(--kemove-home-width, 1360px), calc(100vw - 64px));
  max-width: none;
  padding-inline: 0;
}

body[data-page-type="product"] .product-detail__main {
  gap: clamp(28px, 3vw, 48px);
  align-items: flex-start;
}

body[data-page-type="product"] .product-detail__media-group {
  min-width: 0;
}

body[data-page-type="product"] .product-detail__info {
  gap: 18px;
  padding: clamp(22px, 2.2vw, 34px);
  background: #fff;
  border: 1px solid rgb(229 231 235 / 92%);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgb(15 23 42 / 8%);
}

body[data-page-type="product"] .product-detail__sell-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-block: 2px 4px;
}

body[data-page-type="product"] .product-detail__sell-info .sell-info {
  min-height: 56px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

body[data-page-type="product"] .product-detail__sell-info .sell-info__icon {
  color: #0091ff;
}

body[data-page-type="product"] .product-detail__sell-info .sell-info__text {
  color: #111827;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

body[data-page-type="product"] .product-detail__form .form__buttons {
  gap: 12px;
}

body[data-page-type="product"] .product-detail__form .form__buttons .button {
  min-height: 52px;
  border-radius: 999px;
  font-weight: 850;
}

body[data-page-type="product"] .product-detail__form .form__buttons .button--secondary {
  color: #fff;
  background: #050b14;
  border-color: #050b14;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__media {
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 50px rgb(15 23 42 / 6%);
}

body[data-page-type="product"] :is(.kemove-a-plus-full, .kemove-a-plus-carousel) {
  background: #fafafa;
}

body[data-page-type="product"] :is(.kemove-a-plus-full__item, .kemove-a-plus-carousel__stage) {
  box-shadow: 0 18px 52px rgb(15 23 42 / 7%);
}

body[data-page-type="product"] :is(.kemove-a-plus-full__inner, .kemove-a-plus-carousel__inner) {
  width: min(var(--kemove-home-width, 1360px), calc(100vw - 64px));
  max-width: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 960px) {
  body[data-page-type="product"] .product-detail__variant-picker .variant-picker__button:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 959px) {
  body[data-page-type="product"] {
    --kemove-pdp-media-radius: 14px;
    --kemove-pdp-control-radius: 10px;
  }

  body[data-page-type="product"] .product-detail-wrapper > .page-width,
  body[data-page-type="product"] :is(.kemove-a-plus-full__inner, .kemove-a-plus-carousel__inner) {
    width: calc(100vw - 28px);
  }

  body[data-page-type="product"] .product-detail__info {
    padding: 20px;
    border-radius: 18px;
  }

  body[data-page-type="product"] .product-detail__sell-info {
    grid-template-columns: 1fr;
  }

  body[data-page-type="product"] :is(.kemove-a-plus-full__item, .kemove-a-plus-carousel__stage) {
    box-shadow: 0 12px 34px rgb(15 23 42 / 6%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page-type="product"] .product-detail__variant-picker .variant-picker__button,
  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail::after {
    transition: none;
  }
}

/* KEMOVE PDP UGREEN-style purchase area */
body[data-page-type="product"] {
  --kemove-pdp-shell-width: 1180px;
  --kemove-pdp-line: #d9dee8;
  --kemove-pdp-soft: #f5f7fa;
  --kemove-pdp-blue: #0091ff;
  --kemove-pdp-black: #111827;
}

body[data-page-type="product"] .product-detail-wrapper > .page-width {
  width: min(var(--kemove-pdp-shell-width), calc(100vw - 48px));
  max-width: none !important;
  padding-inline: 0 !important;
}

body[data-page-type="product"] .product-detail__main {
  column-gap: clamp(52px, 6vw, 92px) !important;
  row-gap: 28px !important;
}

body[data-page-type="product"] .product-detail__info {
  gap: 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body[data-page-type="product"] .product-detail__title {
  max-width: 560px;
  margin: 0 !important;
  color: var(--kemove-pdp-black) !important;
  font-size: clamp(24px, 2vw, 34px) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

body[data-page-type="product"] .product-detail__price {
  margin-block: 0 2px !important;
}

body[data-page-type="product"] .product-detail__price .price,
body[data-page-type="product"] .product-detail__price [class*="price"] {
  font-weight: 900;
}

body[data-page-type="product"] .product-detail__media-gallery {
  --gap: 10px !important;
  --thumbnail-gap: 8px !important;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__media {
  overflow: hidden !important;
  background: #f4f6f8 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__image {
  object-fit: contain !important;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnails {
  margin-block-start: 12px !important;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail {
  width: 58px !important;
  border: 1px solid var(--kemove-pdp-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail.is-select,
body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail.is-active {
  border-color: var(--kemove-pdp-blue) !important;
  box-shadow: inset 0 0 0 1px var(--kemove-pdp-blue);
}

.kemove-pdp-afterbuy {
  display: grid;
  gap: 14px;
  width: 100%;
  font-family: var(--kemove-font-stack, Inter, Arial, sans-serif);
}

/* Split offer blocks keep the original 14px visual rhythm when adjacent. */
body[data-page-type="product"] .product-detail__info > .kemove-pdp-offer-part + .kemove-pdp-offer-part {
  margin-block-start: -8px;
}

.kemove-pdp-note {
  padding: 17px 20px;
  color: var(--kemove-pdp-black);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
  background: #fff;
  border: 1px solid var(--kemove-pdp-line);
}

.kemove-pdp-note p {
  margin: 0 0 5px;
}

.kemove-pdp-note--product-description .product-expander__content {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
}

.kemove-pdp-note--product-description .product-expander__content > :first-child {
  margin-block-start: 0;
}

.kemove-pdp-note--product-description .product-expander__content > :last-child {
  margin-block-end: 0;
}

.kemove-pdp-note--product-description .product-expander__content ul,
.kemove-pdp-note--product-description .product-expander__content ol {
  padding-inline-start: 20px;
  margin-block: 0;
}

.kemove-pdp-note--product-description .product-expander__content li + li {
  margin-block-start: 7px;
}

.kemove-pdp-note a {
  display: inline-flex;
  margin-block-start: 8px;
  color: #0076d6 !important;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.kemove-pdp-note a::after {
  margin-inline-start: 6px;
  content: ">";
}

.kemove-pdp-tier {
  display: grid;
  gap: 8px;
  padding-inline: 6px;
}

.kemove-pdp-tier[hidden],
.kemove-pdp-tier [hidden] {
  display: none !important;
}

.kemove-pdp-tier p {
  margin: 0;
  color: #6b7280;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.kemove-pdp-tier__bar {
  position: relative;
  height: 18px;
}

.kemove-pdp-tier__bar::before {
  position: absolute;
  inset: 8px 18px auto;
  height: 4px;
  content: "";
  background: #dce2ee;
  border-radius: 999px;
}

.kemove-pdp-tier__bar span {
  position: absolute;
  inset: 8px auto auto 18px;
  width: 47%;
  height: 4px;
  background: var(--kemove-pdp-blue);
  border-radius: 999px;
}

.kemove-pdp-tier__bar i {
  position: absolute;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #b9c4d8;
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px #aeb9cf;
}

.kemove-pdp-tier__bar i:first-of-type {
  left: 50%;
}

.kemove-pdp-tier__bar i:last-of-type {
  right: 12px;
}

.kemove-pdp-tier__labels {
  display: flex;
  justify-content: space-between;
  padding-inline: 34%;
  color: #374151;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.kemove-pdp-advantage {
  padding: 18px 20px;
  background: #f3f4f6;
}

.kemove-pdp-advantage h3 {
  margin: 0 0 12px;
  color: var(--kemove-pdp-black);
  font-size: 16px;
  font-weight: 850;
}

.kemove-pdp-advantage h3::after {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  margin-inline-start: 6px;
  color: var(--kemove-pdp-blue);
  font-size: 9px;
  content: "i";
  border: 1px solid currentColor;
  border-radius: 999px;
}

.kemove-pdp-advantage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 22px;
}

.kemove-pdp-advantage__grid span {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #4b5563;
  font-size: 12px;
  font-weight: 750;
}

.kemove-pdp-advantage__grid span::before {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  content: "";
  background: var(--kemove-pdp-blue);
  border-radius: 3px;
  opacity: 0.72;
}

body[data-page-type="product"] .product-detail__quantity-selector {
  margin-block-start: 0 !important;
}

body[data-page-type="product"] .product-detail__quantity-selector .product-detail__row {
  align-items: center !important;
  justify-content: space-between !important;
}

body[data-page-type="product"] .product-detail__quantity-selector .title-font-bold {
  color: var(--kemove-pdp-black) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body[data-page-type="product"] .product-detail__quantity-selector .quantity-selector__input {
  max-width: 120px !important;
  min-height: 34px !important;
}

body[data-page-type="product"] .product-detail__form .form__buttons {
  gap: 10px !important;
}

body[data-page-type="product"] .product-detail__form .form__buttons > * {
  width: 100% !important;
  min-height: 40px !important;
  border-radius: 5px !important;
}

body[data-page-type="product"] .product-detail__form .form__buttons .button {
  min-height: 40px !important;
  border-radius: 5px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body[data-page-type="product"] .product-detail__form .form__buttons .button--secondary {
  color: #fff !important;
  background: var(--kemove-pdp-blue) !important;
  border-color: var(--kemove-pdp-blue) !important;
}

body[data-page-type="product"] .product-detail__form button[name="add"]::after {
  box-shadow: none !important;
}

.kemove-pdp-pay-note {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--kemove-pdp-line);
}

.kemove-pdp-pay-note strong {
  display: inline-flex;
  min-height: 22px;
  padding: 3px 8px;
  color: #111827;
  font-size: 11px;
  font-weight: 900;
  background: #ffb3d2;
  border-radius: 4px;
}

.kemove-pdp-delivery {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}

.kemove-pdp-delivery::before {
  width: 16px;
  height: 16px;
  content: "";
  background: currentColor;
  border-radius: 3px;
  opacity: 0.45;
}

.kemove-pdp-delivery a {
  color: #0066ff !important;
  text-decoration: underline;
}

.kemove-pdp-recommend {
  display: grid;
  gap: 10px;
}

.kemove-pdp-recommend h3,
.kemove-pdp-payments h3 {
  margin: 0;
  color: var(--kemove-pdp-black);
  font-size: 12px;
  font-weight: 850;
}

.kemove-pdp-recommend__list {
  display: grid;
  gap: 10px;
}

.kemove-pdp-recommend__item {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 10px 14px;
  color: var(--kemove-pdp-black) !important;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--kemove-pdp-line);
  border-radius: 5px;
}

.kemove-pdp-recommend__image {
  display: grid;
  place-items: center;
  width: 64px;
  height: 54px;
  overflow: hidden;
  background: #f4f6f8;
}

.kemove-pdp-recommend__image img,
.kemove-pdp-recommend__image svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kemove-pdp-recommend__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.kemove-pdp-recommend__title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--kemove-pdp-black);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kemove-pdp-recommend__price {
  color: var(--kemove-pdp-black);
  font-size: 11px;
  font-weight: 900;
}

.kemove-pdp-recommend__item em {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  padding: 3px 8px;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  background: var(--kemove-pdp-blue);
  border-radius: 0 4px 0 5px;
}

.kemove-pdp-payments {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  background: #f5f6f8;
}

.kemove-pdp-payments__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kemove-pdp-payments__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  color: #1f2937;
  font-size: 10px;
  font-weight: 900;
  background: #fff;
  border: 1px solid #d9dee8;
  border-radius: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .kemove-pdp-recommend__item:hover {
    border-color: rgb(0 145 255 / 55%);
    box-shadow: 0 10px 26px rgb(15 23 42 / 7%);
    transform: translateY(-1px);
  }
}

@media (max-width: 959px) {
  body[data-page-type="product"] .product-detail-wrapper > .page-width {
    width: calc(100vw - 28px);
  }

  body[data-page-type="product"] .product-detail__main {
    column-gap: 20px !important;
  }

  body[data-page-type="product"] .product-detail__title {
    font-size: 24px !important;
  }

  body[data-page-type="product"] .product-detail__media-gallery {
    width: 100% !important;
    margin-inline: 0 !important;
  }

  .kemove-pdp-tier__labels {
    padding-inline: 20%;
  }

  .kemove-pdp-advantage__grid {
    grid-template-columns: 1fr;
  }
}

/* KEMOVE PDP commerce assist polish */
.kemove-pdp-media-discount {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-start: 20px;
  z-index: 8;
  display: grid;
  place-items: center;
  align-content: center;
  width: 62px;
  min-height: 70px;
  padding: 10px 8px 16px;
  color: #fff;
  text-align: center;
  pointer-events: none !important;
  background: linear-gradient(180deg, #0091ff 0%, #006be6 100%);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  box-shadow: 0 14px 28px rgb(0 145 255 / 24%);
}

.kemove-pdp-media-discount strong {
  display: block;
  font-size: 18px;
  font-weight: 950;
  line-height: 0.95;
}

.kemove-pdp-media-discount span {
  display: block;
  margin-block-start: 3px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.kemove-pdp-note {
  border-radius: 10px;
}

.kemove-pdp-advantage {
  border-radius: 10px;
}

.kemove-pdp-recommend__item {
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 96px;
  padding: 12px 16px;
  border-radius: 10px;
}

.kemove-pdp-recommend__image {
  width: 72px;
  height: 72px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.kemove-pdp-recommend__item:first-child {
  border-color: rgb(0 145 255 / 75%);
  box-shadow: inset 0 0 0 1px rgb(0 145 255 / 12%);
}

.kemove-pdp-payments {
  border-radius: 10px;
}

.kemove-pdp-sticky-summary {
  display: none;
}

@media (min-width: 960px) {
  body[data-page-type="product"] theme-sticky-position.is-sticky {
    z-index: 10000 !important;
    isolation: isolate;
  }

  body[data-page-type="product"] theme-sticky-position.is-sticky > .product-detail__buy-buttons {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 10000 !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    min-height: 74px;
    padding: 10px max(48px, calc((100vw - 1360px) / 2));
    background: rgb(255 255 255 / 94%);
    border-block-start: 1px solid #e5e7eb;
    box-shadow: 0 -18px 48px rgb(15 23 42 / 10%);
    backdrop-filter: blur(18px);
    animation: animation-slide-in-bottom 0.26s ease;
  }

  body[data-page-type="product"] theme-sticky-position.is-sticky .kemove-pdp-sticky-summary {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
  }

  body[data-page-type="product"] .kemove-pdp-sticky-summary__image {
    display: grid;
    flex: 0 0 58px;
    place-items: center;
    width: 58px;
    height: 44px;
    overflow: hidden;
    background: #f5f7fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
  }

  body[data-page-type="product"] .kemove-pdp-sticky-summary__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body[data-page-type="product"] .kemove-pdp-sticky-summary__body {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  body[data-page-type="product"] .kemove-pdp-sticky-summary__body strong {
    overflow: hidden;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-page-type="product"] .kemove-pdp-sticky-summary__body small {
    color: #6b7280;
    font-size: 12px;
    font-weight: 650;
  }

  body[data-page-type="product"] .kemove-pdp-sticky-summary__price {
    display: grid;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
  }

  body[data-page-type="product"] .kemove-pdp-sticky-summary__save {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding-inline: 8px;
    color: #006be6;
    font-size: 12px;
    font-weight: 900;
    background: #edf7ff;
    border: 1px solid rgb(0 145 255 / 34%);
    border-radius: 6px;
  }

  body[data-page-type="product"] theme-sticky-position.is-sticky .product-detail__form {
    width: auto;
  }

  body[data-page-type="product"] theme-sticky-position.is-sticky .product-detail__form .form__buttons {
    display: flex;
    flex-direction: row;
    gap: 10px !important;
    align-items: center;
    justify-content: flex-end;
  }

  body[data-page-type="product"] theme-sticky-position.is-sticky .product-detail__form .form__buttons > * {
    width: auto !important;
  }

  body[data-page-type="product"] theme-sticky-position.is-sticky .product-detail__form .form__buttons > :not(button[name="add"]) {
    display: none !important;
  }

  body[data-page-type="product"] theme-sticky-position.is-sticky .product-detail__form .form__buttons .button {
    min-width: 188px;
    min-height: 44px !important;
    padding-inline: 28px;
    color: #fff !important;
    background: #0091ff !important;
    border-color: #0091ff !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 28px rgb(0 145 255 / 22%);
  }
}

@media (min-width: 960px) {
  body[data-page-type="product"] theme-sticky-position.is-sticky > .product-detail__buy-buttons {
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body[data-page-type="product"].kemove-pdp-footer-visible theme-sticky-position.is-sticky > .product-detail__buy-buttons {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 8px));
  }
}

@media (max-width: 959px) {
  .kemove-pdp-media-discount {
    inset-block-start: 14px;
    inset-inline-start: 14px;
    width: 54px;
    min-height: 62px;
  }
}

/* KEMOVE PDP detail refinements: expandable notes, tier progress, payment icons, sticky bar */
.kemove-pdp-note {
  overflow: hidden;
}

.kemove-pdp-note__more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-3px);
  transition:
    max-height 260ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.kemove-pdp-note.is-expanded .kemove-pdp-note__more {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
}

.kemove-pdp-note__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin-block-start: 8px;
  color: #0076d6;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.kemove-pdp-note__toggle::after {
  display: inline-block;
  content: ">";
  transition: transform 180ms ease;
}

.kemove-pdp-note.is-expanded .kemove-pdp-note__toggle::after {
  transform: rotate(-90deg);
}

.kemove-pdp-note__label-less,
.kemove-pdp-note.is-expanded .kemove-pdp-note__label-more {
  display: none;
}

.kemove-pdp-note.is-expanded .kemove-pdp-note__label-less {
  display: inline;
}

.kemove-pdp-tier {
  --kemove-pdp-tier-progress: 0%;
  gap: 9px;
  padding-inline: 0;
}

.kemove-pdp-tier__bar {
  height: 22px;
}

.kemove-pdp-tier__bar::before {
  inset: 9px 0 auto;
  height: 5px;
}

.kemove-pdp-tier__bar span {
  inset: 9px auto auto 0;
  width: var(--kemove-pdp-tier-progress);
  height: 5px;
  transition: width 220ms ease;
}

.kemove-pdp-tier__bar i {
  top: 2px;
  width: 18px;
  height: 18px;
  background: #e8edf6;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #b8c3d4;
  transform: translateX(-50%);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.kemove-pdp-tier__bar i:first-of-type {
  left: 50%;
}

.kemove-pdp-tier__bar i:last-of-type {
  left: 100%;
  right: auto;
}

.kemove-pdp-tier__bar i.is-active {
  background: var(--kemove-pdp-blue);
  box-shadow: 0 0 0 1px rgb(0 145 255 / 45%), 0 0 0 5px rgb(0 145 255 / 12%);
  transform: translateX(-50%) scale(1.04);
}

.kemove-pdp-tier__labels {
  position: relative;
  display: block;
  min-height: 16px;
  padding-inline: 0;
}

.kemove-pdp-tier__labels span {
  position: absolute;
  top: 0;
  color: #374151;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.kemove-pdp-tier__labels span:first-child {
  left: 50%;
  transform: translateX(-50%);
}

.kemove-pdp-tier__labels span:last-child {
  right: 0;
}

.kemove-pdp-payments {
  gap: 14px;
  padding: 18px 20px;
}

.kemove-pdp-payments__chips {
  gap: 8px;
}

.kemove-pdp-payments__chips span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 22px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9dee8;
  border-radius: 3px;
}

.kemove-pdp-payments__chips svg {
  display: block;
  width: 100%;
  max-width: 34px;
  height: 22px;
}

.kemove-pdp-delivery-trust {
  display: grid;
  gap: 10px;
}

.kemove-pdp-delivery-trust__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kemove-pdp-delivery-trust__chips span {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 32px;
  padding: 0 10px;
  color: #111827;
  font-size: 11px;
  font-weight: 900;
  background: #fff;
  border: 1px solid #d9dee8;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgb(15 23 42 / 5%);
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnails {
  overflow: visible !important;
  padding-inline: 42px !important;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail-list {
  overflow: hidden;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail-arrows button[name="previous"] {
  inset-inline-start: 18px !important;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail-arrows button[name="next"] {
  inset-inline-start: calc(100% - 18px) !important;
}

@media (min-width: 960px) {
  body[data-page-type="product"] theme-sticky-position.is-sticky > .product-detail__buy-buttons {
    grid-template-columns: minmax(0, 760px) minmax(220px, auto);
    justify-content: center;
    min-height: 72px;
    padding-block: 10px;
    padding-inline: max(32px, calc((100vw - 1280px) / 2));
  }

  body[data-page-type="product"] theme-sticky-position.is-sticky .kemove-pdp-sticky-summary {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    width: min(760px, 100%);
    min-width: 0;
  }

  body[data-page-type="product"] .kemove-pdp-sticky-summary__image {
    width: 56px;
    height: 48px;
    flex-basis: 56px;
  }

  body[data-page-type="product"] .kemove-pdp-sticky-summary__body strong {
    max-width: 420px;
  }

  body[data-page-type="product"] .kemove-pdp-sticky-summary__price {
    justify-self: end;
    white-space: nowrap;
  }

  body[data-page-type="product"] .kemove-pdp-sticky-summary__save {
    justify-self: start;
    white-space: nowrap;
  }
}

/* KEMOVE 0.2.5: compact PDP hero and UGREEN-style media preview. */
body[data-page-type="product"] .shopline-element-buy-now {
  display: none !important;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__preview-icon {
  display: none !important;
}

@media (min-width: 1200px) {
  body[data-page-type="product"] .product-detail__title {
    max-width: 645px !important;
    font-size: clamp(28px, 1.85vw, 36px) !important;
    font-weight: 720 !important;
    line-height: 1.14 !important;
    text-wrap: balance;
  }

  body[data-page-type="product"] .product-detail__media-gallery[data-desktop-layout="thumbnail-flatten"] .media-gallery__list,
  body[data-page-type="product"] .product-detail__media-gallery[data-desktop-layout="thumbnail-carousel"] .media-gallery__list {
    aspect-ratio: 43 / 40 !important;
  }

  body[data-page-type="product"] .product-detail__media-gallery:not([data-desktop-aspect-ratio="original"]) .media-gallery__image {
    aspect-ratio: 43 / 40 !important;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnails {
    margin-block-start: 14px !important;
  }
}

body[data-page-type="product"] .product-media-preview {
  color: #fff !important;
  background: #000 !important;
}

body[data-page-type="product"] .product-media-preview__main {
  overflow: hidden !important;
  background: #000 !important;
}

body[data-page-type="product"] .product-media-preview__content {
  max-width: none !important;
  padding: 68px 92px 142px !important;
  box-sizing: border-box;
}

body[data-page-type="product"] .product-media-preview__image {
  max-width: min(74vw, 1240px) !important;
  max-height: calc(100dvh - 220px) !important;
  object-fit: contain !important;
}

body[data-page-type="product"] .product-media-preview__tools {
  position: absolute !important;
  inset: 0 !important;
  z-index: 4;
  display: block !important;
  pointer-events: none;
  transform: none !important;
}

body[data-page-type="product"] .product-media-preview__tool-button {
  position: absolute;
  width: 48px;
  height: 48px;
  color: #fff;
  pointer-events: auto;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 24%);
  box-shadow: none;
}

body[data-page-type="product"] .product-media-preview__arrow[name="previous"] {
  inset-block-start: 50%;
  inset-inline-start: 20px;
  transform: translateY(-50%);
}

body[data-page-type="product"] .product-media-preview__arrow[name="next"] {
  inset-block-start: 50%;
  inset-inline-end: 20px;
  transform: translateY(-50%);
}

body[data-page-type="product"] .product-media-preview__tool-close-control {
  inset-block-start: 16px;
  inset-inline-end: 16px;
  width: 44px;
  height: 44px;
}

body[data-page-type="product"] .product-media-preview__thumbnails {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-end: 18px;
  z-index: 5;
  display: flex;
  gap: 8px;
  max-width: min(calc(100vw - 120px), 920px);
  padding: 8px 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  background: rgb(5 11 20 / 76%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 12px;
  transform: translateX(-50%);
}

body[data-page-type="product"] .product-media-preview__thumbnail {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #0b111b;
  border: 1px solid transparent;
  border-radius: 4px;
  opacity: .72;
}

body[data-page-type="product"] .product-media-preview__thumbnail.is-active {
  border-color: #fff;
  opacity: 1;
}

body[data-page-type="product"] .product-media-preview__thumbnail-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 959px) {
  body[data-page-type="product"] .product-media-preview__content {
    padding: 60px 54px 112px !important;
  }

  body[data-page-type="product"] .product-media-preview__image {
    max-width: 100% !important;
    max-height: calc(100dvh - 176px) !important;
  }

  body[data-page-type="product"] .product-media-preview__arrow[name="previous"] {
    inset-inline-start: 8px;
  }

  body[data-page-type="product"] .product-media-preview__arrow[name="next"] {
    inset-inline-end: 8px;
  }

  body[data-page-type="product"] .product-media-preview__thumbnails {
    inset-block-end: 10px;
    max-width: calc(100vw - 24px);
    padding: 6px;
  }

  body[data-page-type="product"] .product-media-preview__thumbnail {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }
}

@media (max-width: 959px) {
  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnails {
    padding-inline: 34px !important;
  }

  .kemove-pdp-tier__labels span {
    font-size: 9px;
  }

  .kemove-pdp-payments__chips span {
    width: 32px;
  }
}

/* KEMOVE PDP cleanup: remove unused finance/delivery notes and keep sticky buy bar tidy. */
body[data-page-type="product"] .kemove-pdp-pay-note,
body[data-page-type="product"] .kemove-pdp-delivery {
  display: none !important;
}

body[data-page-type="product"] .footer__localization-form {
  display: none !important;
}

body[data-page-type="product"] {
  scroll-behavior: smooth;
}

body[data-page-type="product"] :where(#overview, #specs, #reviews, #recommended, [data-kemove-pdp-detail-section]) {
  scroll-margin-top: 96px;
}

body[data-page-type="product"] .product-detail__share,
body[data-page-type="product"] [data-block-type="share"] {
  display: none !important;
}

.kemove-pdp-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kemove-pdp-downloads__card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 14px 16px;
  color: #111827;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dce8f8;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgb(15 23 42 / 6%);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.kemove-pdp-downloads__copy {
  min-width: 0;
}

.kemove-pdp-downloads__action {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.kemove-pdp-downloads__action svg {
  width: 16px;
  height: 16px;
}

.kemove-pdp-downloads__card:hover {
  border-color: #0091ff;
  box-shadow: 0 16px 34px rgb(0 145 255 / 12%);
  transform: translateY(-2px);
}

.kemove-pdp-downloads__card:hover .kemove-pdp-downloads__action {
  color: #0091ff;
  transform: translateX(2px);
}

.kemove-pdp-downloads__card:focus-visible {
  outline: 3px solid rgb(0 145 255 / 24%);
  outline-offset: 2px;
}

.kemove-pdp-downloads__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #0091ff;
  background: #eef8ff;
  border: 1px solid #bde4ff;
  border-radius: 12px;
}

.kemove-pdp-downloads__icon svg {
  width: 21px;
  height: 21px;
}

.kemove-pdp-downloads__card strong,
.kemove-pdp-downloads__card em {
  display: block;
}

.kemove-pdp-downloads__card strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.kemove-pdp-downloads__card em {
  margin-block-start: 4px;
  color: #6b7280;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.35;
}

@media (min-width: 960px) {
  body[data-page-type="product"] theme-sticky-position.is-sticky > .product-detail__buy-buttons {
    min-height: 66px;
    padding-block: 8px;
    background: #fff !important;
  }

  body[data-page-type="product"] theme-sticky-position.is-sticky .kemove-pdp-sticky-summary {
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    gap: 12px;
    width: min(720px, 100%);
  }

  body[data-page-type="product"] theme-sticky-position.is-sticky .kemove-pdp-sticky-summary__image {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
    border-radius: 8px;
  }

  body[data-page-type="product"] theme-sticky-position.is-sticky .kemove-pdp-sticky-summary__image img {
    width: 86% !important;
    height: 86% !important;
    object-fit: contain !important;
  }
}

@media (max-width: 767px) {
  .kemove-pdp-downloads {
    grid-template-columns: 1fr;
  }
}

/* KEMOVE PDP final: align detail width with homepage system and use real advantage icons. */
body[data-page-type="product"] {
  --kemove-pdp-shell-width: var(--kemove-home-width, 1360px);
}

body[data-page-type="product"] .product-detail-wrapper > .page-width,
body[data-page-type="product"] :is(
  .kemove-a-plus-full__inner,
  .kemove-a-plus-carousel__inner,
  .kemove-pdp-media-section__inner,
  .kemove-pdp-video-banner__inner,
  .kemove-pdp-nav-showcase__inner,
  .kemove-pdp-dot-showcase__inner,
  .kemove-pdp-specs__inner
) {
  width: min(var(--kemove-home-width, 1360px), calc(100vw - 64px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

.kemove-pdp-advantage__grid span::before {
  display: none !important;
}

.kemove-pdp-advantage__icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #0091ff;
  background: #eaf6ff;
  border: 1px solid #bfe5ff;
  border-radius: 7px;
}

.kemove-pdp-advantage__icon svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 959px) {
  body[data-page-type="product"] .product-detail-wrapper > .page-width,
  body[data-page-type="product"] :is(
    .kemove-a-plus-full__inner,
    .kemove-a-plus-carousel__inner,
    .kemove-pdp-media-section__inner,
    .kemove-pdp-video-banner__inner,
    .kemove-pdp-nav-showcase__inner,
    .kemove-pdp-dot-showcase__inner,
    .kemove-pdp-specs__inner
  ) {
    width: calc(100vw - 28px) !important;
  }
}

/* 0.2.0 PDP final layout and gallery preview. */
@media (min-width: 1200px) {
  body[data-page-type="product"] .product-detail-wrapper > .page-width {
    width: min(1360px, calc(100vw - 64px)) !important;
    max-width: none !important;
    padding-inline: 0 !important;
    margin-inline: auto !important;
  }

  body[data-page-type="product"] .product-detail__main[data-desktop-direction="row"],
  body[data-page-type="product"] .product-detail__main[data-desktop-direction="row-reverse"] {
    display: grid !important;
    grid-template-columns: minmax(0, 645px) minmax(0, 645px) !important;
    gap: 34px 70px !important;
    align-items: start !important;
  }

  body[data-page-type="product"] .product-detail__main[data-desktop-direction="row-reverse"] .product-detail__media-group {
    order: 2;
  }

  body[data-page-type="product"] .product-detail__main[data-desktop-direction="row-reverse"] .product-detail__info {
    order: 1;
  }

  body[data-page-type="product"] .product-detail__main .product-detail__col,
  body[data-page-type="product"] .product-detail__media-group,
  body[data-page-type="product"] .product-detail__info {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body[data-page-type="product"] .product-detail__info {
    gap: 22px !important;
    padding-block-start: 8px !important;
  }

  body[data-page-type="product"] .product-detail__title {
    font-size: clamp(30px, 2.15vw, 42px) !important;
    font-weight: 740 !important;
    line-height: 1.16 !important;
    letter-spacing: 0 !important;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnails {
    padding-inline: 54px !important;
    margin-block-start: 18px !important;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail-list {
    gap: 10px !important;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail {
    width: 82px !important;
    height: 82px !important;
    flex: 0 0 82px !important;
    border-radius: 0 !important;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail-arrows button[name="previous"] {
    inset-inline-start: 10px !important;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__thumbnail-arrows button[name="next"] {
    inset-inline-start: calc(100% - 10px) !important;
  }
}

/* KEMOVE 0.2.1: full-width sticky shell with a centered 1360px content frame. */
@media (min-width: 960px) {
  body[data-page-type="product"] theme-sticky-position.is-sticky > .product-detail__buy-buttons {
    width: 100% !important;
    max-width: none !important;
    min-height: 66px !important;
    grid-template-columns: minmax(0, 880px) minmax(220px, auto) !important;
    justify-content: space-between !important;
    padding-block: 8px !important;
    padding-inline: max(32px, calc((100% - 1360px) / 2)) !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
    background: #fff !important;
  }
}

/* Hide SHOPLINE's legacy app sticky bar; keep the KEMOVE blue theme bar. */
body[data-page-type="product"] #addToCartPluginContainer,
body[data-page-type="product"] #addToCartPluginPC,
body[data-page-type="product"] #addToCartPluginMobile {
  display: none !important;
}

/* Keep native video compositing layers below the KEMOVE sticky purchase bar. */
body[data-page-type="product"] :is(.kemove-pdp-video, .kemove-pdp-video-showcase) {
  position: relative !important;
  z-index: 0 !important;
  isolation: isolate;
}

body[data-page-type="product"] theme-sticky-position.is-sticky {
  z-index: 100000 !important;
}

body[data-page-type="product"] theme-sticky-position.is-sticky > .product-detail__buy-buttons {
  z-index: 100001 !important;
  isolation: isolate;
  transform: translateZ(0);
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__list-wrapper {
  position: relative;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__item,
body[data-page-type="product"] .product-detail__media-gallery .media-gallery__media,
body[data-page-type="product"] .product-detail__media-gallery .media-gallery__image {
  width: 100% !important;
  height: 100% !important;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__media {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

body[data-page-type="product"] .product-detail__media-gallery .media-gallery__image {
  object-fit: contain !important;
  object-position: center !important;
}

body[data-page-type="product"] .product-detail__media-gallery .kemove-pdp-media-discount {
  inset-block-start: 0 !important;
  inset-inline-start: 0 !important;
  margin: 0 !important;
}

/* Desktop main-media navigation: reuse the carousel's bound controls so mobile remains functional. */
@media (min-width: 960px) {
  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__content {
    position: relative;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__main-arrows {
    position: absolute;
    inset-block-start: 0;
    inset-block-end: 120px;
    inset-inline: 0;
    z-index: 7;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    padding-inline: 18px;
    pointer-events: none;
    opacity: 0;
    background: transparent !important;
    transition: opacity 180ms ease;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__content:hover .media-gallery__main-arrows,
  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__content:focus-within .media-gallery__main-arrows {
    opacity: 1;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__main-arrows .media-gallery__status {
    display: none;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__main-arrows .media-gallery__arrow {
    display: grid !important;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #101828;
    pointer-events: auto;
    cursor: pointer;
    background: rgb(255 255 255 / 92%);
    border: 1px solid #dfe5ec;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgb(16 24 40 / 14%);
    transition:
      color 160ms ease,
      background-color 160ms ease,
      border-color 160ms ease,
      transform 160ms ease;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__main-arrows .media-gallery__arrow:hover {
    color: #fff;
    background: #0091ff;
    border-color: #0091ff;
    transform: scale(1.04);
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__main-arrows .media-gallery__arrow:focus-visible {
    outline: 3px solid rgb(0 145 255 / 28%);
    outline-offset: 3px;
  }

  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__main-arrows .media-gallery__arrow:disabled {
    pointer-events: none;
    opacity: 0.28;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__main-arrows,
  body[data-page-type="product"] .product-detail__media-gallery .media-gallery__main-arrows .media-gallery__arrow {
    transition: none;
  }
}
