.kemove-shop-category {
  --ksc-progress-width: 100%;
  padding-block: 64px;
  font-family: var(--kemove-font-stack, var(--sort-body-font));
  color: #1a1a1a;
  background: #fafafa;
}

/* KEMOVE 2026 homepage product carousel */
body[data-page-type="index"] .kemove-shop-category {
  padding-block: 28px 42px;
  color: #111827;
  background: #f5f7fa;
}

body[data-page-type="index"] .kemove-shop-category__inner.page-width {
  max-width: var(--kemove-home-width, 1320px);
}

body[data-page-type="index"] .kemove-shop-category__title {
  margin-block-end: 18px;
  color: #111827;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
}

body[data-page-type="index"] .kemove-shop-category__title::after {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-inline-start: 10px;
  vertical-align: 45%;
  content: "";
  background: #0091ff;
  border-radius: 50%;
  box-shadow: 0 0 14px rgb(0 145 255 / 60%);
}

body[data-page-type="index"] .kemove-shop-category__subtitle {
  display: none;
}

body[data-page-type="index"] .kemove-shop-category__tabs {
  gap: clamp(18px, 3vw, 42px);
  margin-block-end: 34px;
}

body[data-page-type="index"] .kemove-shop-category__tab {
  padding-block-end: 12px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
  border-block-end-width: 3px;
}

body[data-page-type="index"] .kemove-shop-category__tab:hover,
body[data-page-type="index"] .kemove-shop-category__tab.is-active {
  color: #006be6;
  border-color: #0091ff;
}

body[data-page-type="index"] .kemove-shop-category__grid {
  grid-auto-columns: calc((100% - 72px) / 5);
  gap: 18px;
  margin-block: -14px -18px;
  padding-block: 14px 18px;
}

body[data-page-type="index"] .kemove-shop-category__card {
  padding-block-end: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgb(15 23 42 / 5%);
}

body[data-page-type="index"] .kemove-shop-category__media-wrap {
  margin: 0;
  border-block-end: 0;
}

body[data-page-type="index"] .kemove-shop-category__media {
  margin: 10px 10px 0;
  background: #f8fafc;
  border-radius: 12px;
}

body[data-page-type="index"] .kemove-shop-category__image,
body[data-page-type="index"] .kemove-shop-category__media img,
body[data-page-type="index"] .kemove-shop-category__media svg {
  padding: 8%;
}

body[data-page-type="index"] .kemove-shop-category__name {
  min-height: 2.72em;
  margin: 18px 18px 7px;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

body[data-page-type="index"] .kemove-shop-category__price {
  margin-inline: 18px;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

body[data-page-type="index"] .kemove-shop-category__swatches {
  gap: 8px;
  margin: 12px 18px 0;
}

body[data-page-type="index"] .kemove-shop-category__swatch {
  width: 14px;
  height: 14px;
}

body[data-page-type="index"] .kemove-shop-category__swatch.is-active {
  outline-color: #111827;
  outline-offset: 3px;
}

body[data-page-type="index"] .kemove-shop-category__quick-add {
  width: 44px;
  height: 44px;
  color: #fff;
  background: #0091ff;
  border-color: #0091ff;
  box-shadow: 0 16px 30px rgb(0 145 255 / 28%);
}

body[data-page-type="index"] .kemove-shop-category__footer {
  margin-block-start: 44px;
}

body[data-page-type="index"] .kemove-shop-category__rule::before {
  height: 1px;
  background: #d9dee8;
}

body[data-page-type="index"] .kemove-shop-category__rule::after {
  height: 2px;
  background: #111827;
}

body[data-page-type="index"] .kemove-shop-category__arrow {
  width: 40px;
  height: 40px;
  color: #111827;
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 10px 30px rgb(15 23 42 / 6%);
}

@media (hover: hover) and (pointer: fine) {
  body[data-page-type="index"] .kemove-shop-category .kemove-shop-category__card:hover {
    border-color: rgb(0 145 255 / 50%);
    box-shadow: 0 20px 60px rgb(15 23 42 / 12%);
    transform: translateY(-4px);
  }

  body[data-page-type="index"] .kemove-shop-category__card:hover .kemove-shop-category__media img {
    transform: scale(1.035);
  }

  body[data-page-type="index"] .kemove-shop-category__arrow:hover {
    color: #fff;
    background: #0091ff;
    border-color: #0091ff;
  }
}

@media (max-width: 1180px) {
  body[data-page-type="index"] .kemove-shop-category__grid {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

@media (min-width: 1200px) {
  body[data-page-type="index"] .kemove-shop-category {
    overflow-x: clip !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-main-visible {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-edge-preview {
    opacity: 0.3 !important;
    filter: saturate(0.55) !important;
    transform: scale(0.8) !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-preview-before {
    transform-origin: right center !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-preview-after {
    transform-origin: left center !important;
  }
}

@media (max-width: 749px) {
  body[data-page-type="index"] .kemove-shop-category {
    padding-block: 18px 30px;
  }

  body[data-page-type="index"] .kemove-shop-category__grid {
    grid-auto-columns: 72%;
  }
}

.kemove-shop-category__title {
  margin: 0 0 24px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.kemove-shop-category__subtitle {
  margin: 0 0 28px;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1.5;
}

.kemove-shop-category__tabs {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-block-end: 58px;
  overflow-x: auto;
  text-align: center;
  scrollbar-width: none;
}

.kemove-shop-category__tabs::-webkit-scrollbar {
  display: none;
}

.kemove-shop-category__tab {
  padding: 0 0 10px;
  padding-block-end: 10px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-block-end: 2px solid transparent;
}

.kemove-shop-category__tab.is-active {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.kemove-shop-category__panel {
  display: none;
}

.kemove-shop-category__panel.is-active {
  display: block;
}

.kemove-shop-category__grid {
  display: grid;
  align-items: stretch;
  grid-auto-columns: calc((100% - 72px) / 5);
  grid-auto-flow: column;
  grid-auto-rows: 1fr;
  gap: 18px;
  margin-block: -12px -30px;
  padding-block: 12px 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.kemove-shop-category__grid::-webkit-scrollbar {
  display: none;
}

.kemove-shop-category__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding-block-end: 18px;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  transform: translateZ(0);
  transform-origin: center bottom;
  transition:
    transform 240ms var(--kemove-ease-out),
    box-shadow 220ms var(--kemove-ease-out),
    border-color 180ms ease;
  scroll-snap-align: start;
  text-decoration: none;
}

  @media (hover: hover) and (pointer: fine) {
  .kemove-shop-category .kemove-shop-category__card:hover {
    z-index: 2;
    border-color: rgb(26 26 26 / 16%);
    box-shadow: 0 12px 26px rgb(0 0 0 / 5%);
    transform: translateY(-5px) scale(1.01);
  }

  .kemove-shop-category .kemove-shop-category__card:active {
    transform: translateY(-1px) scale(0.995);
    transition-duration: 120ms;
  }

  .kemove-shop-category__card:hover::after {
    border-color: rgb(26 26 26 / 14%);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 24%);
  }
}

.kemove-shop-category__card::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  border: 1px solid transparent;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0%);
  transition:
    border-color 200ms ease,
    box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.kemove-shop-category__link,
.kemove-shop-category__link:hover {
  color: inherit;
  text-decoration: none;
}

.kemove-shop-category__media-wrap {
  position: relative;
  overflow: hidden;
  border-block-end: 1px solid #f0f0f0;
}

.kemove-shop-category__media-wrap::after {
  display: none;
}

.kemove-shop-category__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}

.kemove-shop-category__image,
.kemove-shop-category__media img,
.kemove-shop-category__media svg {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.kemove-shop-category__quick-add-form {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.kemove-shop-category__quick-add-form.is-active {
  display: block;
}

.kemove-shop-category__card:hover .kemove-shop-category__quick-add-form,
.kemove-shop-category__card:focus-within .kemove-shop-category__quick-add-form {
  opacity: 1;
  transform: translateY(0);
}

.kemove-shop-category__quick-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #1a1a1a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
}

.kemove-shop-category__quick-add svg {
  width: 18px;
  height: 18px;
}

.kemove-shop-category__quick-add .icon-loading {
  display: none;
  animation: animation-button-loading linear 1.5s infinite;
}

.kemove-shop-category__quick-add.loading .icon-quick-add {
  display: none;
}

.kemove-shop-category__quick-add.loading .icon-loading {
  display: block;
}

.kemove-shop-category__quick-add:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.kemove-shop-category__name {
  display: -webkit-box;
  min-height: 2.7em;
  max-height: 2.7em;
  margin: 18px 24px 8px;
  overflow: hidden;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kemove-shop-category__price {
  margin: 0 24px;
  color: #666;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.kemove-shop-category__swatches {
  display: flex;
  gap: 10px;
  min-height: 18px;
  margin: 10px 24px 0;
}

.kemove-shop-category__swatch {
  width: 16px;
  height: 16px;
  padding: 0;
  cursor: pointer;
  border: 1px solid #d6d6d6;
  border-radius: 50%;
  background: var(--swatch-color, #111);
}

.kemove-shop-category__swatch.is-active {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
}

.kemove-shop-category__empty {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.kemove-shop-category__footer {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-block-start: 64px;
}

.kemove-shop-category__rule {
  position: relative;
  flex: 1 1 auto;
  max-width: none;
  height: 8px;
  overflow: hidden;
  background: transparent;
}

.kemove-shop-category__rule::before,
.kemove-shop-category__rule::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 50%;
  display: block;
  content: "";
  border-radius: 999px;
  transform: translateY(-50%);
}

.kemove-shop-category__rule::before {
  width: 100%;
  height: 1px;
  background: #e5e5e5;
}

.kemove-shop-category__rule::after {
  width: var(--ksc-progress-width, 100%);
  height: 2px;
  background: #1a1a1a;
  transition: width 0.12s ease-out;
}

.kemove-shop-category__controls {
  display: flex;
  gap: 10px;
  margin-inline-start: 0;
}

.kemove-shop-category__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #1a1a1a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
}

.kemove-shop-category__arrow svg {
  width: 16px;
  height: 16px;
}

.kemove-shop-category__arrow--prev svg {
  transform: rotate(180deg);
}

@media (max-width: 959px) {
  .kemove-shop-category {
    padding-block: 42px;
  }

  .kemove-shop-category__title {
    font-size: 28px;
  }

  .kemove-shop-category__tabs {
    gap: 24px;
    margin-block-end: 34px;
  }

  .kemove-shop-category__grid {
    gap: 14px;
    grid-auto-columns: 74%;
    margin-block: 0;
    padding-block: 0 8px;
  }

  .kemove-shop-category__card {
    scroll-snap-align: start;
  }

  .kemove-shop-category__quick-add-form {
    opacity: 1;
    transform: none;
  }

  .kemove-shop-category__name,
  .kemove-shop-category__price,
  .kemove-shop-category__swatches {
    margin-inline: 12px;
  }

  .kemove-shop-category__footer {
    margin-block-start: 32px;
  }

  .kemove-shop-category__rule {
    max-width: none;
  }

  .kemove-shop-category__controls {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kemove-shop-category__card {
    transition: none;
  }

  .kemove-shop-category .kemove-shop-category__card:hover,
  .kemove-shop-category .kemove-shop-category__card:active {
    transform: none;
  }
}

/* KEMOVE premium visual pass */
.kemove-shop-category {
  color: #1a1a1a;
  background: #fafafa;
}

.kemove-shop-category__title {
  max-width: 760px;
  margin-inline: auto;
  margin-block-end: 18px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
}

.kemove-shop-category__subtitle {
  max-width: 680px;
  margin-inline: auto;
  margin-block-end: 30px;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

.kemove-shop-category__tabs {
  justify-content: center;
  margin-block-end: 44px;
  text-align: center;
}

.kemove-shop-category__tab {
  color: #5f5f5f;
  font-weight: 600;
  text-align: center;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.kemove-shop-category__tab:hover,
.kemove-shop-category__tab.is-active {
  color: #111;
}

.kemove-shop-category__card {
  transition:
    transform 280ms cubic-bezier(0.22, 1.35, 0.36, 1),
    border-color 180ms ease,
    box-shadow 240ms var(--kemove-ease-out);
}

@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .kemove-shop-category .kemove-shop-category__card:hover {
    z-index: 2;
    border-color: rgb(26 26 26 / 16%);
    box-shadow: 0 12px 26px rgb(0 0 0 / 5%);
    transform: translateY(-5px) scale(1.01);
  }

  .kemove-shop-category .kemove-shop-category__card:active {
    transform: translateY(-1px) scale(0.995);
    transition-duration: 120ms;
  }

  .kemove-shop-category .kemove-shop-category__card:hover::after {
    border-color: rgb(26 26 26 / 12%);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 22%);
  }

  .kemove-shop-category__card:hover .kemove-shop-category__media-wrap {
    box-shadow: none;
  }
}

.kemove-shop-category__media {
  background: #fff;
  border: 0;
}

.kemove-shop-category__image,
.kemove-shop-category__media img,
.kemove-shop-category__media svg {
  transition: transform 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .kemove-shop-category__swatch {
    transition: transform 160ms ease, outline-color 160ms ease;
  }

  .kemove-shop-category__swatch:hover {
    transform: scale(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kemove-shop-category__card {
    transition: none;
  }
}

.kemove-shop-category__quick-add {
  color: #1a1a1a;
  background: rgb(255 255 255 / 94%);
  border-color: rgb(26 26 26 / 10%);
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
}

.kemove-shop-category__quick-add:hover {
  border-color: rgb(26 26 26 / 18%);
}

.kemove-shop-category__name {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
}

.kemove-shop-category__price,
.kemove-shop-category__empty {
  color: #666;
}

.kemove-shop-category__rule::before {
  background: #ededed;
}

.kemove-shop-category__rule::after {
  background: #1a1a1a;
  transition: width 90ms linear;
}

.kemove-shop-category__arrow {
  background: #fff;
  border-color: rgb(26 26 26 / 10%);
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.kemove-shop-category__arrow:hover {
  border-color: rgb(26 26 26 / 20%);
  transform: translateY(-1px);
}

@media (max-width: 959px) {
  .kemove-shop-category__title {
    font-size: 30px;
  }

  .kemove-shop-category__tabs {
    margin-block-end: 34px;
  }
}

/* KEMOVE 2026 final product carousel overrides */
body[data-page-type="index"] .kemove-shop-category {
  padding-block: 28px 42px;
  color: #111827;
  background: #f5f7fa;
}

body[data-page-type="index"] .kemove-shop-category__inner.page-width {
  max-width: var(--kemove-home-width, 1320px);
}

body[data-page-type="index"] .kemove-shop-category__title {
  margin-block-end: 18px;
  color: #111827;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
}

body[data-page-type="index"] .kemove-shop-category__title::after {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-inline-start: 10px;
  vertical-align: 45%;
  content: "";
  background: #0091ff;
  border-radius: 50%;
  box-shadow: 0 0 14px rgb(0 145 255 / 60%);
}

body[data-page-type="index"] .kemove-shop-category__subtitle {
  display: none;
}

body[data-page-type="index"] .kemove-shop-category__tabs {
  gap: clamp(18px, 3vw, 42px);
  margin-block-end: 34px;
}

body[data-page-type="index"] .kemove-shop-category__tab {
  padding-block-end: 12px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
  border-block-end-width: 3px;
}

body[data-page-type="index"] .kemove-shop-category__tab:hover,
body[data-page-type="index"] .kemove-shop-category__tab.is-active {
  color: #006be6;
  border-color: #0091ff;
}

body[data-page-type="index"] .kemove-shop-category__grid {
  grid-auto-columns: calc((100% - 72px) / 5);
  gap: 18px;
  margin-block: -14px -18px;
  padding-block: 14px 18px;
}

body[data-page-type="index"] .kemove-shop-category__card {
  padding-block-end: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgb(15 23 42 / 5%);
}

body[data-page-type="index"] .kemove-shop-category__media-wrap {
  border-block-end: 0;
}

body[data-page-type="index"] .kemove-shop-category__media {
  margin: 10px 10px 0;
  background: #f8fafc;
  border-radius: 12px;
}

body[data-page-type="index"] .kemove-shop-category__image,
body[data-page-type="index"] .kemove-shop-category__media img,
body[data-page-type="index"] .kemove-shop-category__media svg {
  padding: 8%;
}

body[data-page-type="index"] .kemove-shop-category__name {
  margin: 18px 18px 7px;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

body[data-page-type="index"] .kemove-shop-category__price {
  margin-inline: 18px;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

body[data-page-type="index"] .kemove-shop-category__swatches {
  gap: 8px;
  margin: 12px 18px 0;
}

body[data-page-type="index"] .kemove-shop-category__swatch {
  width: 14px;
  height: 14px;
}

body[data-page-type="index"] .kemove-shop-category__quick-add {
  width: 44px;
  height: 44px;
  color: #fff;
  background: #0091ff;
  border-color: #0091ff;
  box-shadow: 0 16px 30px rgb(0 145 255 / 28%);
}

body[data-page-type="index"] .kemove-shop-category__footer {
  margin-block-start: 44px;
}

body[data-page-type="index"] .kemove-shop-category__rule::before {
  height: 1px;
  background: #d9dee8;
}

body[data-page-type="index"] .kemove-shop-category__rule::after {
  height: 2px;
  background: #111827;
}

body[data-page-type="index"] .kemove-shop-category__arrow {
  width: 40px;
  height: 40px;
  color: #111827;
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 10px 30px rgb(15 23 42 / 6%);
}

@media (hover: hover) and (pointer: fine) {
  body[data-page-type="index"] .kemove-shop-category .kemove-shop-category__card:hover {
    border-color: rgb(0 145 255 / 50%);
    box-shadow: 0 20px 60px rgb(15 23 42 / 12%);
    transform: translateY(-4px);
  }

  body[data-page-type="index"] .kemove-shop-category__card:hover .kemove-shop-category__media img {
    transform: scale(1.035);
  }

  body[data-page-type="index"] .kemove-shop-category__arrow:hover {
    color: #fff;
    background: #0091ff;
    border-color: #0091ff;
  }
}

@media (max-width: 1180px) {
  body[data-page-type="index"] .kemove-shop-category__grid {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

@media (max-width: 749px) {
  body[data-page-type="index"] .kemove-shop-category {
    padding-block: 18px 30px;
  }

  body[data-page-type="index"] .kemove-shop-category__grid {
    grid-auto-columns: 72%;
  }
}
/* KEMOVE homepage final background parity */
body[data-page-type="index"] .kemove-shop-category,
body[data-page-type="index"] .kemove-shop-category__inner,
body[data-page-type="index"] .kemove-shop-category__head,
body[data-page-type="index"] .kemove-shop-category__tabs,
body[data-page-type="index"] .kemove-shop-category__panels,
body[data-page-type="index"] .kemove-shop-category__panel,
body[data-page-type="index"] .kemove-shop-category__footer,
body[data-page-type="index"] .kemove-shop-category__controls {
  background-color: #f5f7fa !important;
}

body[data-page-type="index"] .kemove-shop-category__grid {
  background-color: transparent !important;
}

body[data-page-type="index"] .kemove-shop-category__card {
  box-shadow: 0 8px 22px rgb(15 23 42 / 4%) !important;
}

/* KEMOVE conversion card layer inspired by premium deal carousels */
.kemove-shop-category__discount-badge {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 18px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding-block: 7px 10px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #0091ff 0%, #006be6 100%);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  box-shadow: 0 14px 28px rgb(0 145 255 / 26%);
}

.kemove-shop-category__discount-badge strong,
.kemove-shop-category__discount-badge span {
  display: block;
  line-height: 1;
}

.kemove-shop-category__discount-badge strong {
  font-size: 15px;
  font-weight: 900;
}

.kemove-shop-category__discount-badge span {
  margin-block-start: 3px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.kemove-shop-category__coupon {
  display: flex;
  gap: 5px;
  align-items: center;
  min-height: 20px;
  margin: 2px 18px 8px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.2;
}

.kemove-shop-category__coupon strong {
  color: #111827;
  font-weight: 800;
}

.kemove-shop-category__coupon button {
  padding: 0;
  color: #0091ff;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.kemove-shop-category__price--enhanced {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.kemove-shop-category__price-core.product-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.kemove-shop-category__price-core .product-price__sale {
  color: #111827;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.kemove-shop-category__price-core .product-price__origin,
.kemove-shop-category__manual-compare {
  color: #9ca3af;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
}

.kemove-shop-category__buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 14px 18px 0;
  color: #fff !important;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  background: #050b14;
  border-radius: 999px;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .kemove-shop-category__buy-now:hover {
    background: #0091ff;
    box-shadow: 0 18px 36px rgb(0 145 255 / 24%);
    transform: translateY(-1px);
  }
}

@media (max-width: 749px) {
  .kemove-shop-category__discount-badge {
    width: 52px;
    height: 52px;
    inset-inline-start: 14px;
  }

  .kemove-shop-category__price-core .product-price__sale {
    font-size: 21px;
  }

  .kemove-shop-category__buy-now {
    min-height: 40px;
  }
}

/* KEMOVE homepage product carousel copy feedback */
.kemove-shop-category__coupon button.is-copied {
  color: #0076d6;
}

.kemove-shop-category__coupon button.is-error {
  color: #ff3b3b;
}

.kemove-shop-category__copy-toast {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 80;
  min-width: 132px;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  pointer-events: none;
  background: #050b14;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgb(15 23 42 / 24%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.kemove-shop-category__copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.kemove-shop-category__copy-toast.is-error {
  background: #ff3b3b;
}

@media (max-width: 749px) {
  .kemove-shop-category__copy-toast {
    right: 14px;
    bottom: 78px;
    max-width: calc(100vw - 28px);
  }
}

/* 1360px desktop carousel: four complete cards plus a softly faded preview. */
@media (min-width: 1200px) {
  body[data-page-type="index"] .kemove-shop-category__panels {
    width: calc(100% + min(180px, max(0px, (100vw - 1360px) / 2)));
    max-width: none;
  }

  body[data-page-type="index"] .kemove-shop-category__grid {
    grid-auto-columns: calc((min(1280px, calc(100vw - 144px)) - 54px) / 4) !important;
    width: 100%;
    padding-inline-end: 0;
    scroll-padding-inline: 0;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 138px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 138px), transparent 100%);
  }
}

/* 0.2.2: keep four full cards centered and fit both preview cards inside the viewport. */
@media (min-width: 1200px) {
  body[data-page-type="index"] .kemove-shop-category {
    overflow-x: clip;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-main-visible {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-edge-preview {
    opacity: 0.3 !important;
    filter: saturate(0.55) !important;
    transform: scale(0.8) !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-preview-before {
    transform-origin: right center !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-preview-after {
    transform-origin: left center !important;
  }
}

/* 0.2.0 carousel parity: four full cards in the 1360px frame, real dim previews outside it. */
@media (min-width: 1200px) {
  body[data-page-type="index"] .kemove-shop-category__inner.page-width {
    width: min(1440px, calc(100vw - 64px)) !important;
    padding-inline: 40px !important;
    overflow: visible !important;
  }

  body[data-page-type="index"] .kemove-shop-category__panels {
    width: calc(100% + min(260px, max(0px, (100vw - 1360px) / 2))) !important;
    overflow: visible !important;
  }

  body[data-page-type="index"] .kemove-shop-category__grid {
    grid-auto-columns: calc((1360px - 54px) / 4) !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card {
    transition:
      opacity 180ms ease,
      filter 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      transform 180ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-edge-preview {
    opacity: 0.34;
    filter: saturate(0.65);
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-outside-preview {
    opacity: 0.18;
    filter: saturate(0.45);
  }
}

@media (max-width: 1450px) and (min-width: 1200px) {
  body[data-page-type="index"] .kemove-shop-category__grid {
    grid-auto-columns: calc((100% - 54px) / 4) !important;
  }
}

@media (min-width: 1200px) {
  body[data-page-type="index"] .kemove-shop-category {
    --kemove-rail-content: min(1360px, calc(100vw - 144px));
    --kemove-rail-peek: clamp(56px, calc((100vw - var(--kemove-rail-content)) / 2 - 20px), 180px);
  }

  body[data-page-type="index"] .kemove-shop-category__inner.page-width {
    width: min(1440px, calc(100vw - 64px)) !important;
    max-width: none !important;
    padding-inline: 40px !important;
    margin-inline: auto !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body[data-page-type="index"] .kemove-shop-category__grid {
    grid-auto-columns: calc((var(--kemove-rail-content) - 54px) / 4) !important;
    width: calc(100% + var(--kemove-rail-peek) + var(--kemove-rail-peek)) !important;
    max-width: none !important;
    margin-inline: calc(0px - var(--kemove-rail-peek)) !important;
    padding-inline: var(--kemove-rail-peek) !important;
    box-sizing: border-box !important;
    scroll-padding-inline: var(--kemove-rail-peek) !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}

/* 0.2.2 final preview state. */
@media (min-width: 1200px) {
  body[data-page-type="index"] .kemove-shop-category {
    overflow-x: clip !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-main-visible {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-edge-preview {
    opacity: 0.3 !important;
    filter: saturate(0.55) !important;
    transform: scale(0.8) !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-preview-before {
    transform-origin: right center !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-preview-after {
    transform-origin: left center !important;
  }
}

/* 0.2.3 deterministic desktop rail: four main cards and one preview per side. */
@media (min-width: 1200px) {
  body[data-page-type="index"] .kemove-shop-category {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  body[data-page-type="index"] .kemove-shop-category__inner,
  body[data-page-type="index"] .kemove-shop-category__panels,
  body[data-page-type="index"] .kemove-shop-category__panel.is-active {
    overflow: visible !important;
  }

  body[data-page-type="index"] .kemove-shop-category__panels,
  body[data-page-type="index"] .kemove-shop-category__panel.is-active {
    width: 100% !important;
    max-width: none !important;
  }

  body[data-page-type="index"] .kemove-shop-category__grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-columns: none !important;
    grid-auto-columns: calc((var(--kemove-rail-content) - 54px) / 4) !important;
    gap: 18px !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    scroll-padding: 0 !important;
    transform: translate3d(var(--ksc-track-offset, 0px), 0, 0) !important;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: transform;
  }

  body[data-page-type="index"] .kemove-shop-category__card {
    scroll-snap-align: none !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-main-visible {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-edge-preview {
    opacity: 0.3 !important;
    filter: saturate(0.55) !important;
    transform: scale(var(--ksc-preview-scale, 0.8)) !important;
  }

  body[data-page-type="index"] .kemove-shop-category__card.is-outside-preview {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1200px) {
  body[data-page-type="index"] .kemove-shop-category__grid {
    transition: none !important;
  }
}

/* 0.3.11 final geometry: one 1360px frame, four equal cards, fixed 18px steps. */
@media (min-width: 1200px) {
  body[data-page-type="index"] .kemove-shop-category {
    --kemove-rail-content: min(1360px, calc(100vw - 64px));
  }

  body[data-page-type="index"] .kemove-shop-category__inner.page-width {
    width: var(--kemove-rail-content) !important;
    max-width: none !important;
    padding-inline: 0 !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body[data-page-type="index"] .kemove-shop-category__panels,
  body[data-page-type="index"] .kemove-shop-category__panel.is-active {
    width: var(--kemove-rail-content) !important;
    max-width: var(--kemove-rail-content) !important;
    margin-inline: 0 !important;
    overflow: visible !important;
  }

  body[data-page-type="index"] .kemove-shop-category__grid {
    grid-auto-columns: calc((var(--kemove-rail-content) - 54px) / 4) !important;
    gap: 18px !important;
    width: max-content !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }
}
