#junaspin-crosssell {
  box-sizing: border-box;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  clear: both;
  margin-top: .85rem;
}

.jcs {
  --jcs-accent: #26374d;
  --jcs-accent-soft: #34506f;
  --jcs-border: #d7dde5;
  --jcs-muted: #5b6473;
  --jcs-ink: #1f2733;
  margin: 0;
  color: var(--jcs-ink);
  font: inherit;
  line-height: 1.45;
}

.jcs-shell {
  border: 1px solid var(--jcs-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.jcs-shell > summary {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 48px;
  padding: .7rem .9rem;
  cursor: pointer;
  list-style: none;
  color: var(--jcs-ink);
  font-weight: 700;
}

.jcs-shell > summary::-webkit-details-marker { display: none; }
.jcs-shell > summary::after {
  content: "\203A";
  margin-left: auto;
  color: var(--jcs-muted);
  font-size: 1.35rem;
  line-height: 1;
  transform: rotate(90deg);
  transition: transform .15s ease;
}
.jcs-shell[open] > summary::after { transform: rotate(-90deg); }
.jcs-shell > summary:hover { background: #f7f9fc; }
.jcs-shell > summary:focus-visible,
.jcs button:focus-visible,
.jcs select:focus-visible,
.jcs input:focus-visible,
.jcs a:focus-visible { outline: 2px solid var(--jcs-accent); outline-offset: 2px; }

.jcs-summary-copy { min-width: 0; }
.jcs-summary-title { display: block; }
.jcs-summary-sub { display: block; color: var(--jcs-muted); font-size: .78rem; font-weight: 500; }
.jcs-badge {
  margin-left: .25rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: var(--jcs-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}

.jcs-body { border-top: 1px solid var(--jcs-border); padding: .9rem; }
.jcs-intro { margin: 0 0 .9rem; color: var(--jcs-muted); font-size: .86rem; }
.jcs-group + .jcs-group { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--jcs-border); }
.jcs-group-title { margin: 0 0 .55rem; font-size: .88rem; font-weight: 800; }
.jcs-list { display: grid; gap: .55rem; }

.jcs-family {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: .75rem;
  padding: .7rem;
  border: 1px solid #e3e8ef;
  border-radius: 10px;
  background: #fbfcfe;
}
.jcs-family.is-selected { border-color: var(--jcs-accent-soft); background: #f5f8fb; }
.jcs-family-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.jcs-family-img-placeholder { display: block; background: #eef2f7; }
.jcs-family-main { min-width: 0; }
.jcs-family-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .65rem; }
.jcs-family-name { margin: 0; font-size: .94rem; font-weight: 750; line-height: 1.3; }
.jcs-family-link { flex: 0 0 auto; color: var(--jcs-accent-soft); font-size: .78rem; }
.jcs-family-meta { margin-top: .15rem; color: var(--jcs-muted); font-size: .76rem; }

.jcs-variant-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; margin-top: .6rem; }
.jcs-select {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: .45rem 2rem .45rem .55rem;
  border: 1px solid var(--jcs-border);
  border-radius: 8px;
  background: #fff;
  color: var(--jcs-ink);
  font: inherit;
  font-size: .82rem;
}
.jcs-single-variant { display: flex; align-items: center; min-height: 44px; color: var(--jcs-muted); font-size: .82rem; }
.jcs-add,
.jcs-submit {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--jcs-accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 750;
}
.jcs-add { padding: .5rem .8rem; white-space: nowrap; }
.jcs-add:hover,
.jcs-submit:hover { background: var(--jcs-accent-soft); color: #fff; }
.jcs-add.is-remove { background: #e8edf3; color: var(--jcs-ink); }

.jcs-selected-row { display: flex; align-items: center; gap: .55rem; margin-top: .55rem; }
.jcs-qty-label { color: var(--jcs-muted); font-size: .78rem; }
.jcs-qty {
  width: 4.5rem;
  min-height: 44px;
  padding: .35rem .45rem;
  border: 1px solid var(--jcs-border);
  border-radius: 8px;
  text-align: center;
  font: inherit;
}
.jcs-price { margin-left: auto; font-size: .86rem; font-weight: 800; }
.jcs-display-action { margin-top: .55rem; font-size: .82rem; }
.jcs-display-action a { color: var(--jcs-accent-soft); font-weight: 700; }

.jcs-footer { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--jcs-border); }
.jcs-submit { width: 100%; padding: .65rem .9rem; }
.jcs-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jcs-hidden { display: none !important; }

@media (max-width: 480px) {
  .jcs-family { grid-template-columns: 48px minmax(0, 1fr); padding: .65rem; }
  .jcs-family-img { width: 48px; height: 48px; }
  .jcs-variant-row { grid-template-columns: 1fr; }
  .jcs-add { width: 100%; }
  .jcs-family-head { display: block; }
  .jcs-family-link { display: inline-block; margin-top: .25rem; }
}

@media (max-width: 360px) {
  .jcs-summary-sub { display: none; }
  .jcs-badge { font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  .jcs-shell > summary::after { transition: none; }
}
