.cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-item {
  display: contents;
}

.cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-after-image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: var(--ba-image-fit, cover);
  object-position: center center;
  background: var(--ba-stage-bg, #fff);
  opacity: 0;
  clip-path: inset(0 0 0 var(--ba-split));
  border-radius: var(--ba-stage-radius);
  transition: opacity 200ms ease;
  user-select: none;
  pointer-events: none;
}

.cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-item.is-active .chokku-ba-after-image { opacity: 1; }

.cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-option {
  width: 100%;
  min-width: 0;
  display: block;
  margin: 0;
  padding: 0;
  color: var(--ba-text, #111);
  background: transparent;
  border: 0;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-square {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 14px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-square img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  transform: scale(3);
  transform-origin: center;
  transition: transform 350ms ease;
}

.cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #aaa;
  font-size: 1.4rem;
}

.cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-name {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: var(--ba-design-name, #222);
  font-size: var(--ba-design-name-size, 11px);
  font-weight: var(--ba-design-name-weight, 600);
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-item.is-active .chokku-ba-design-square {
  border-color: var(--ba-selection, #111);
  box-shadow: 0 0 0 1px var(--ba-selection, #111);
}

.cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-item.is-active .chokku-ba-design-square::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 5;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ba-selection, #111);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

.cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-option:focus-visible { outline: 2px solid var(--ba-selection, #111); outline-offset: 4px; }

@media (hover: hover) {
  .cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-option:hover .chokku-ba-design-square {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
  }
  .cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-option:hover .chokku-ba-design-square img { transform: scale(3.135); }
}

@media (max-width: 767px) {
  .cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-square { border-radius: 10px; }
  .cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-square img { border-radius: 8px; }
  .cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-name {
    margin-top: 5px;
    font-size: var(--ba-design-name-size-mobile, 8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-after-image, .cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-square, .cc_Z6ZOJ8rgEP_BaItemV1Q8 .chokku-ba-design-square img { transition: none; }
}
