.plugin-bulk-order.lp-bo { --bo-line: rgba(18,18,18,.12); --bo-soft: rgba(18,18,18,.043); color: var(--bo-ink); box-sizing: border-box; padding: 80px 0; }
.lp-bo__wrap { max-width: var(--bo-width, 1430px); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.lp-bo__title { max-width: 760px; margin: 0 auto; text-align: center; font-size: 44px; line-height: 46px; font-weight: 800; }
.lp-bo__lead { max-width: 760px; margin: 10px auto 0; text-align: center; font-size: 17px; line-height: 26px; opacity: .75; }
.lp-bo__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; margin-top: 28px; }
.lp-bo__head { position: sticky; top: var(--lp-sticky-offset, 0px); z-index: 5; background: var(--bo-bg, #fff); padding: 2px 0 4px; }
.lp-bo__progress { display: flex; align-items: center; margin-bottom: 24px; }
.lp-bo__step { display: flex; align-items: center; gap: 10px; opacity: .45; }
.lp-bo__step.is-active, .lp-bo__step.is-done { opacity: 1; }
.lp-bo__dot { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bo-ink); font-size: 13px; font-weight: 700; }
.lp-bo__step.is-active .lp-bo__dot, .lp-bo__step.is-done .lp-bo__dot { background: var(--bo-ink); color: #fff; }
.lp-bo__step-label { font-size: 12.5px; font-weight: 600; }
.lp-bo__line { display: block; flex: 0 0 136px; width: 136px; height: 2px; margin: 0 16px; background: var(--bo-line); }
.lp-bo__back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; padding: 8px 18px 8px 14px; border: 1px solid var(--bo-line); border-radius: 999px; background: #fff; color: var(--bo-ink); font-size: 13.5px; line-height: 24px; font-weight: 600; cursor: pointer; }
.lp-bo__back[hidden] { display: none; }
.lp-bo__stage { margin-top: 0; }
.lp-bo__view { display: none; }
.lp-bo__view.is-active { display: block; }
.lp-bo__h2 { margin: 0 0 22px; font-size: 24px; line-height: 1.3; font-weight: 700; }
.lp-bo__h2 small { margin-left: 6px; font-size: 15px; font-weight: 400; opacity: .7; }
.lp-bo__categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lp-bo__category { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; box-sizing: border-box; padding: 32px 20px 26px; border: 1px solid var(--bo-line); border-radius: 18px; line-height: 1.8; background: #fff; box-shadow: 0 2px 10px rgba(18,18,18,.05); color: var(--bo-ink); text-align: center; cursor: pointer; transition: box-shadow .2s ease, border-color .2s ease; }
.lp-bo__category:hover { border-color: rgba(18,18,18,.35); box-shadow: 0 8px 24px rgba(18,18,18,.1); }
.lp-bo__category-img { display: block; width: 100%; max-width: 300px; aspect-ratio: 1; border-radius: 14px; background: var(--bo-soft); overflow: hidden; }
.lp-bo__category-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-bo__category-name { margin-top: 14px; font-size: 17px; font-weight: 700; line-height: 30.6px; }
.lp-bo__category-count { margin-top: 14px; font-size: 12px; font-weight: 500; line-height: 21.6px; opacity: .6; }
.lp-bo__check { position: absolute; top: 14px; right: 14px; box-sizing: border-box; width: 22px; height: 22px; border: 1.5px solid var(--bo-line); border-radius: 50%; background: #fff; }
.is-selected > .lp-bo__check { border-color: var(--bo-green); background: var(--bo-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.lp-bo__search { display: block; box-sizing: border-box; width: 100%; max-width: 420px; height: 45px; margin: 0 0 24px; padding: 13px 16px; border: 1px solid var(--bo-line); border-radius: 10px; background: #fff; font-size: 14px; }
.lp-bo__products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lp-bo__product { position: relative; display: flex; flex-direction: column; box-sizing: border-box; padding: 14px; border: 1px solid var(--bo-line); border-radius: 16px; background: #fff; color: var(--bo-ink); text-align: left; cursor: pointer; transition: box-shadow .2s ease, border-color .2s ease; }
.lp-bo__product:hover { border-color: rgba(18,18,18,.35); box-shadow: 0 8px 24px rgba(18,18,18,.1); }
.lp-bo__product img { display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; background: var(--bo-soft); object-fit: cover; }
.lp-bo__product-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 12px; font-size: 13.5px; font-weight: 600; line-height: 18px; }
.lp-bo__product-price { margin-top: 12px; font-size: 13px; line-height: 18px; opacity: .75; }
.lp-bo__product .lp-bo__check { top: 7px; right: 7px; }
.lp-bo__panel { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; box-sizing: border-box; padding: 32px; border: 1px solid var(--bo-line); border-radius: 20px; background: #fff; }
.lp-bo__panel-img img { display: block; width: 100%; aspect-ratio: 1; border-radius: 14px; background: var(--bo-soft); object-fit: cover; }
.lp-bo__panel-title { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 700; }
.lp-bo__piece { display: flex; align-items: baseline; gap: 8px; margin-top: 9px; font-size: 30px; line-height: 1.1; font-weight: 800; }
.lp-bo__piece small { font-size: 15px; font-weight: 600; }
.lp-bo__piece s { font-size: 16px; font-weight: 500; opacity: .5; }
.lp-bo__panel-sub { margin-top: 4px; font-size: 14px; line-height: 25px; font-weight: 500; opacity: .75; }
.lp-bo__panel-note { margin: 4px 0 0; font-size: 12.5px; line-height: 23px; opacity: .6; }
.lp-bo__group { margin-top: 21px; }
.lp-bo__group-label { display: block; margin-bottom: 10px; font-size: 14px; line-height: 25px; font-weight: 700; }
.lp-bo__options { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-bo__option { padding: 9px 16px; border: 1px solid var(--bo-line); border-radius: 999px; background: #fff; color: var(--bo-ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.lp-bo__option.is-selected { border-color: var(--bo-ink); background: var(--bo-ink); color: #fff; }
.lp-bo__pallets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-bo__pallet { position: relative; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; padding: 18px 14px; border: 1px solid var(--bo-line); border-radius: 16px; background: #fff; color: var(--bo-ink); text-align: center; cursor: pointer; }
.lp-bo__pallet.is-selected { border-color: var(--bo-green); background: rgba(62,207,142,.06); }
.lp-bo__pallet img { display: block; width: 100%; max-width: 109px; aspect-ratio: 1; border-radius: 12px; background: var(--bo-soft); object-fit: cover; }
.lp-bo__pallet-label { margin-top: 12px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.lp-bo__pallet-sub { display: block; font-size: 11.5px; font-weight: 500; opacity: .65; }
.lp-bo__pallet .lp-bo__check { top: 11px; right: 11px; }
.lp-bo__helper { margin-top: 15px; border: 1px solid var(--bo-line); border-radius: 14px; background: #fff; overflow: hidden; }
.lp-bo__helper-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 57px; padding: 14px 20px; border-top: 1px solid var(--bo-line); box-sizing: border-box; font-size: 13px; }
.lp-bo__helper-row:first-child { border-top: 0; }
.lp-bo__helper-row strong { font-size: 16px; font-weight: 700; }
.lp-bo__helper-row--total { background: var(--bo-soft); }
.lp-bo__helper-row--total strong { font-size: 22px; font-weight: 800; }
.lp-bo__helper-row .lp-bo__was { margin-right: 8px; opacity: .5; text-decoration: line-through; }
.lp-bo__badge { padding: 3px 8px; border-radius: 999px; background: var(--bo-green); color: #fff; font-size: 11.5px; font-weight: 700; }
.lp-bo__add { display: block; box-sizing: border-box; width: 100%; margin-top: 26px; padding: 15px 26px; border: 0; border-radius: 12px; background: var(--bo-green); color: #fff; font-size: 14px; line-height: 28px; font-weight: 700; cursor: pointer; }
.lp-bo__add[disabled] { opacity: .6; cursor: default; }
.lp-bo__error { margin: 10px 0 0; color: #c0392b; font-size: 13px; }
.lp-bo__side-sticky { position: sticky; top: calc(var(--lp-sticky-offset, 0px) + 12px); display: grid; gap: 20px; }
.lp-bo__cutoff { position: relative; box-sizing: border-box; padding: 18px 20px; border-radius: 16px; background: var(--bo-ink); color: #fff; font-size: 14px; line-height: 20px; }
.lp-bo__cutoff strong { color: #fff; font-size: 15px; line-height: 22.5px; font-weight: 700; }
.lp-bo__cutoff strong.is-time { color: var(--bo-green); }
.lp-bo__pulse { position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--bo-green); animation: lp-bo-pulse 1.8s ease-in-out infinite; }
@keyframes lp-bo-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(62,207,142,.55); } 50% { box-shadow: 0 0 0 6px rgba(62,207,142,0); } }
.lp-bo__summary { box-sizing: border-box; padding: 24px; border: 1px solid var(--bo-line); border-radius: 18px; background: #fff; }
.lp-bo__summary-title { margin: 0; font-size: 19px; line-height: 25px; font-weight: 800; }
.lp-bo__empty { margin: 16px 0 0; font-size: 13px; line-height: 1.8; opacity: .65; }
.lp-bo__lines { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.lp-bo__match[hidden], .lp-bo__lines[hidden], .lp-bo__empty[hidden], .lp-bo__row[hidden] { display: none; }
.lp-bo__line-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.lp-bo__line-item img { width: 48px; height: 48px; border-radius: 8px; background: var(--bo-soft); object-fit: cover; }
.lp-bo__line-name { font-size: 13px; font-weight: 600; line-height: 1.35; }
.lp-bo__line-meta { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; opacity: .65; }
.lp-bo__line-price { font-size: 13px; font-weight: 700; text-align: right; }
.lp-bo__line-remove { display: block; margin: 4px 0 0 auto; padding: 0; border: 0; background: none; color: var(--bo-ink); font-size: 12px; opacity: .55; text-decoration: underline; cursor: pointer; }
.lp-bo__totals { margin-top: 16px; padding: 18px 20px; border-radius: 14px; background: var(--bo-soft); }
.lp-bo__row { display: flex; align-items: center; justify-content: space-between; min-height: 33px; box-sizing: border-box; padding: 5px 0; font-size: 14px; }
.lp-bo__row strong { font-weight: 700; }
.lp-bo__row--saving { color: #14804a; }
.lp-bo__row--total { margin-top: 9px; min-height: 54px; padding: 14px 0 5px; border-top: 1px solid var(--bo-line); font-size: 15px; font-weight: 700; }
.lp-bo__row--total strong { font-size: 20px; font-weight: 800; }
.lp-bo__note { margin: 8px 0 0; font-size: 11px; line-height: 1.8; opacity: .6; }
.lp-bo__checkout { display: block; box-sizing: border-box; margin-top: 18px; padding: 15px 26px; border-radius: 12px; background: var(--bo-ink); color: #fff; font-size: 14px; line-height: 28px; font-weight: 700; letter-spacing: .04em; text-align: center; text-decoration: none; text-transform: uppercase; }
.lp-bo__checkout.is-disabled { background: rgba(18,18,18,.25); pointer-events: none; }
.lp-bo__match { box-sizing: border-box; padding: 28px 24px; border: 1px solid var(--bo-line); border-radius: 18px; background: #fff; }
.lp-bo__match-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(62,207,142,.14); color: #14804a; }
.lp-bo__match-title { margin: 18px 0 0; font-size: 17px; line-height: 24px; font-weight: 800; }
.lp-bo__match-text { margin: 12px 0 0; font-size: 13.5px; line-height: 1.6; opacity: .75; }
.lp-bo__match-btn { display: block; box-sizing: border-box; margin-top: 24px; padding: 17px 20px; border: 1.5px solid var(--bo-ink); border-radius: 12px; color: var(--bo-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-align: center; text-decoration: none; text-transform: uppercase; }
@media (max-width: 1199px) {
  .lp-bo__layout { grid-template-columns: minmax(0, 1fr); }
  .lp-bo__side-sticky { position: static; }
  .lp-bo__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 749px) {
  .plugin-bulk-order.lp-bo { padding: 40px 0; }
  .lp-bo__wrap { padding: 0 16px; }
  .lp-bo__title { font-size: 30px; }
  .lp-bo__lead { font-size: 15px; }
  .lp-bo__layout { margin-top: 24px; gap: 28px; }
  .lp-bo__progress { margin-bottom: 18px; }
  .lp-bo__step { gap: 6px; }
  .lp-bo__dot { width: 28px; height: 28px; font-size: 12px; }
  .lp-bo__step-label { font-size: 11.5px; }
  .lp-bo__line { flex: 1 1 12px; width: auto; min-width: 10px; margin: 0 6px; }
  .lp-bo__categories { grid-template-columns: minmax(0, 1fr); }
  .lp-bo__category { padding: 24px 16px 20px; }
  .lp-bo__products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lp-bo__panel { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 18px; }
  .lp-bo__panel-img img { max-width: 240px; margin: 0 auto; }
  .lp-bo__pallets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-bo__h2 { font-size: 20px; }
}
