#sub .sj-bundle-board,
.sj-bundle-board {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 50px 0 48px;
  box-sizing: border-box;
  color: #333;
  font-family: 's-core-dream-regular';
}
.sj-bundle-calc {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  column-gap: 28px;
  row-gap: 15px;
  align-items: start;
}
.sj-bundle-main,
.sj-bundle-cols {
  display: contents;
}
.sj-bundle-title {
  grid-column: 1 / 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  min-height: 32px;
}
.sj-bundle-title h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
  font-family: 's-core-dream-bold';
  color: #333;
  word-break: keep-all;
}
.sj-bundle-title .sj-chip {
  flex: 0 0 auto;
  font-family: 's-core-dream-regular';
  font-size: 12px;
  font-weight: 500;
  line-height: 27px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #333;
}
.sj-bundle-photo {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.sj-bundle-photo-img {
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.sj-bundle-options {
  grid-column: 2;
  grid-row: 2;
}
.sj-bundle-options table {
  width: 100%;
  border-collapse: collapse;
}
.sj-bundle-options th {
  width: 88px;
  padding: 10px 8px 10px 0;
  font-size: 12px;
  font-weight: 400;
  font-family: 's-core-dream-regular';
  color: #555;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
.sj-bundle-options td {
  padding: 8px 0;
  position: relative;
}
.sj-bundle-options input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sj-bundle-options td label {
  position: relative;
  display: block;
  float: left;
  box-sizing: border-box;
  margin: 0 0 8px 4%;
  padding: 10px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #555;
  font-family: 's-core-dream-regular';
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  word-break: keep-all;
}
.sj-bundle-options td input:first-child + label,
.sj-bundle-options td.sj-set input:first-of-type + label {
  margin-left: 0;
}
.sj-bundle-options td.can3 label { width: 30.66%; }
.sj-bundle-options td.sj-set label {
  width: 48%;
  min-height: 46px;
  padding: 12px 8px;
}
.sj-bundle-options td input[type="radio"]:checked + label {
  border-color: #0057ff;
  color: #0057ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.12);
  font-weight: 700;
}
.sj-bundle-options tr.sj-tong td label {
  height: 46px;
  padding: 0;
  line-height: 44px;
}
.sj-bundle-options tr.sj-tong td label img {
  height: 22px;
  vertical-align: middle;
}
.sj-bundle-options label .best {
  position: absolute;
  top: -10px;
  left: 8px;
  min-width: 28px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #0057ff;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 20px;
}
.sj-bundle-options .sj-clear {
  clear: both;
  height: 0;
}
.sj-bundle-options td > p {
  clear: both;
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #444;
}
.sj-bundle-options td > p b {
  display: inline-block;
  margin: 0 6px 0 0;
  padding: 1px 5px;
  border-radius: 3px;
  background: #323232;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}
.sj-bundle-model {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  -webkit-appearance: none;
  font-size: 14px;
  color: #333;
}
.sj-bundle-side {
  grid-column: 3;
  grid-row: 2;
  position: sticky;
  top: 88px;
}
.sj-bundle-bill {
  border: 1px solid #d7e3ff;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}
.sj-bundle-bill-head,
.sj-bundle-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #0057ff;
  color: #fff;
  padding: 12px 14px;
}
.sj-bundle-bill-head span,
.sj-bundle-total span {
  font-family: 's-core-dream-bold';
  font-size: 14px;
  font-weight: 400;
}
.sj-bundle-bill-head strong,
.sj-bundle-total strong {
  font-family: 's-core-dream-bold';
  font-weight: 400;
  letter-spacing: -0.4px;
  white-space: nowrap;
  font-size: 18px;
}
.sj-bundle-bill-head strong b,
.sj-bundle-total strong b {
  font-size: 18px;
  font-weight: 800;
}
.sj-bundle-bill-head strong i,
.sj-bundle-total strong i {
  margin-left: 1px;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}
.sj-bundle-lines {
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
}
.sj-bundle-lines li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px dotted #e2e8f0;
  font-size: 13px;
  color: #333;
}
.sj-bundle-lines li:last-child { border-bottom: 0; }
.sj-bundle-lines span {
  flex: 0 0 auto;
  color: #666;
}
.sj-bundle-lines em {
  flex: 1 1 auto;
  min-width: 0;
  font-style: normal;
  text-align: right;
  font-weight: 700;
  word-break: keep-all;
}
.sj-bundle-total {
  min-height: 72px;
  margin: 0;
  border-top: 1px solid #d7e3ff;
}
.sj-bundle-total strong { font-size: 22px; }
.sj-bundle-actions { display: none; }
.sj-bundle-self {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #ff2d55 0%, #ff5a1f 100%);
  color: #fff;
  font-family: 's-core-dream-bold';
  font-size: 16px;
  font-weight: 400;
  line-height: 52px;
  letter-spacing: -0.4px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 45, 85, 0.24);
}
@media (max-width: 980px) {
  .sj-bundle-options td.sj-set label {
    width: 100%;
    margin-left: 0;
    margin-top: 16px;
  }
  .sj-bundle-options td.sj-set input:first-of-type + label {
    margin-top: 0;
  }
}
@media (max-width: 1160px) {
  .sj-bundle-board { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 980px) {
  .sj-bundle-calc {
    grid-template-columns: 240px minmax(0, 1fr) 260px;
    column-gap: 16px;
  }
}
@media (max-width: 860px) {
  #sub .sj-bundle-board,
  .sj-bundle-board { padding: 0 0 calc(72px + env(safe-area-inset-bottom)); }
  #sub .sj-bundle-calc,
  .sj-bundle-calc {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .sj-bundle-title,
  .sj-bundle-photo,
  .sj-bundle-options,
  .sj-bundle-side {
    grid-column: 1;
    grid-row: auto;
  }
  #sub .sj-bundle-photo,
  .sj-bundle-photo {
    order: -1;
    max-width: none;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 1;
    border-radius: 0;
  }
  #sub .sj-bundle-photo-img,
  .sj-bundle-photo-img {
    background-size: contain;
    background-position: center center;
  }
  .sj-bundle-bill { display: none; }
  .sj-bundle-actions {
    display: block;
    padding: 12px 12px 4px;
  }
  .sj-bundle-cta-row {
    display: flex;
    align-items: stretch;
    gap: 7px;
    margin: 0 0 6px;
  }
  .sj-bundle-heart {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 1px solid #d3d3d3;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
  }
  .sj-bundle-heart img { height: 18px; width: auto; }
  .sj-bundle-heart img.on { display: none; }
  .sj-bundle-heart.on img.default { display: none; }
  .sj-bundle-heart.on img.on { display: inline; }
  .sj-bundle-apply-main {
    flex: 1 1 auto;
    height: 50px;
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #ff2d55 0%, #ff5a1f 100%);
    color: #fff;
    font-family: 's-core-dream-bold';
    font-size: 15px;
    letter-spacing: -0.6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 45, 85, 0.24);
  }
  .sj-bundle-call {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0 0 6px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #163a8a;
    border-radius: 6px;
    background: #fff;
    color: #163a8a;
    font-family: 's-core-dream-bold';
    font-size: 15px;
    letter-spacing: -0.4px;
    cursor: pointer;
  }
  .sj-bundle-open-note {
    margin: 0 0 6px;
    padding: 10px 8px;
    background: #fff;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    word-break: keep-all;
  }
  .sj-bundle-tel {
    display: block;
    width: 100%;
    height: 40px;
    margin: 0 0 6px;
    box-sizing: border-box;
    border-radius: 6px;
    background: #03c75a;
    color: #fff;
    font-family: 's-core-dream-medium';
    font-size: 14px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
  }
  #sub .sj-bundle-title,
  .sj-bundle-title {
    min-height: 0;
    gap: 6px;
    padding: 10px 0 8px 14px;
  }
  #sub .sj-bundle-title h1,
  .sj-bundle-title h1 { font-size: 18px; }
  #sub .sj-bundle-options,
  .sj-bundle-options { padding: 0 5px; }
  .sj-bundle-options colgroup col:first-child { width: 72px !important; }
  #sub .sj-bundle-options th,
  .sj-bundle-options th {
    width: 72px;
    padding: 0 4px 0 0;
  }
  #sub .sj-bundle-options td,
  .sj-bundle-options td { padding: 10px 0; }
  #sub .sj-bundle-options td label,
  .sj-bundle-options td label {
    margin: 2%;
    padding: 11px 0 9px;
    font-size: 12px;
    line-height: 18px;
  }
  #sub .sj-bundle-options td.can3 label,
  .sj-bundle-options td.can3 label { width: 29.33%; }
  #sub .sj-bundle-options td.sj-set,
  .sj-bundle-options td.sj-set { padding-top: 10px; }
  #sub .sj-bundle-options td.sj-set label,
  .sj-bundle-options td.sj-set label {
    width: 46%;
    margin: 2%;
    min-height: 0;
    padding: 11px 4px 9px;
    font-size: 12px;
  }
  #sub .sj-bundle-options tr.sj-tong td label,
  .sj-bundle-options tr.sj-tong td label {
    height: auto;
    line-height: 18px;
    padding: 9px 0 7px;
  }
  .sj-bundle-model { height: 44px; }
  .sj-bundle-side { position: static; }
  .sj-bundle-self {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 480;
    width: 100%;
    height: calc(56px + env(safe-area-inset-bottom));
    margin: 0;
    padding: 0 12px env(safe-area-inset-bottom);
    border-radius: 0;
    background: #0057ff;
    box-shadow: none;
    line-height: 56px;
    font-size: 16px;
  }
  #ch-plugin { bottom: 72px !important; }
}
.sj-bundle-modal[hidden] { display: none !important; }
.sj-bundle-modal { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; }
.sj-bundle-modal-dim { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.sj-bundle-modal-panel { position: relative; z-index: 1; width: 100%; max-width: 380px; background: #fff; border-radius: 18px; padding: 22px 18px 16px; box-sizing: border-box; }
.sj-bundle-modal-x { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: #888; cursor: pointer; }
.sj-bundle-modal-panel h3 { margin: 0 0 8px; font-size: 18px; text-align: center; }
.sj-bundle-modal-guide { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: #666; text-align: center; }
.sj-bundle-modal-panel label { display: block; margin: 0 0 6px; font-size: 13px; }
.sj-bundle-modal-panel input[type="text"],
.sj-bundle-modal-panel input[type="tel"] { width: 100%; height: 44px; margin: 0 0 12px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0 12px; box-sizing: border-box; font-size: 14px; }
.sj-bundle-modal-agree { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; font-size: 13px; }
.sj-bundle-modal-agree label { display: flex; align-items: center; gap: 6px; margin: 0; }
.sj-bundle-modal-agree a { color: #0057ff; text-decoration: none; }
#sj_bundle_submit { width: 100%; height: 48px; border: 0; border-radius: 12px; background: #0057ff; color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; }
#sj_bundle_submit:disabled { opacity: .6; }
