/* kr-cart.css — 1onetake.com 장바구니/바로구매 UI (v27.0) */
.onetake-buy-actions{display:flex;flex-direction:column;gap:.6rem;margin-top:1rem}
.onetake-buy-actions .ot-btn{display:inline-flex;align-items:center;justify-content:center;
  padding:.85rem 1.2rem;border-radius:10px;font-weight:700;font-size:1rem;cursor:pointer;
  border:1px solid transparent;text-decoration:none;transition:filter .15s,opacity .15s;line-height:1.2}
.onetake-buy-actions .ot-btn:disabled{opacity:.5;cursor:not-allowed}
.ot-btn-primary{background:#0A1C4F;color:#fff}
.ot-btn-primary:hover{filter:brightness(1.12)}
.ot-btn-secondary{background:#fff;color:#0A1C4F;border-color:#0A1C4F}
.ot-btn-secondary:hover{background:#f3f6ff}
.ot-btn-muted{background:transparent;color:#5b6480;border-color:#d4d9e6;font-weight:600;font-size:.92rem}
.ot-btn-muted:hover{background:#f6f7fb}
@media(min-width:640px){.onetake-buy-actions{flex-direction:row;flex-wrap:wrap}
  .onetake-buy-actions .ot-btn{flex:1 1 auto;min-width:140px}
  .onetake-buy-actions .ot-btn-muted{flex:0 0 auto}}

/* toast */
.ot-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);
  background:#10183a;color:#fff;border-radius:12px;padding:1rem 1.2rem;z-index:9999;
  box-shadow:0 10px 30px rgba(0,0,0,.25);opacity:0;transition:opacity .3s,transform .3s;max-width:92vw}
.ot-toast--show{opacity:1;transform:translateX(-50%) translateY(0)}
.ot-toast__msg{font-weight:600;margin-bottom:.6rem}
.ot-toast__actions{display:flex;gap:.5rem;flex-wrap:wrap}
.ot-toast__btn{padding:.5rem .9rem;border-radius:8px;border:1px solid rgba(255,255,255,.35);
  background:transparent;color:#fff;font-weight:600;cursor:pointer;text-decoration:none;font-size:.9rem}
.ot-toast__btn--primary{background:#fff;color:#10183a;border-color:#fff}

/* header cart link badge */
.nav-cart-link{position:relative;display:inline-flex;align-items:center;gap:.35rem}
[data-cart-count]{display:inline-flex;align-items:center;justify-content:center;min-width:1.4em;height:1.4em;
  padding:0 .35em;border-radius:999px;background:#e23a3a;color:#fff;font-size:.75rem;font-weight:700;line-height:1}

/* cart page */
.ot-cart-wrap{max-width:920px;margin:0 auto}
.ot-cart-row{display:grid;grid-template-columns:1fr auto auto auto auto;gap:.75rem;align-items:center;
  padding:1rem 0;border-bottom:1px solid #e7e9f0}
.ot-cart-name{font-weight:700;color:#0A1C4F;text-decoration:none}
.ot-cart-name:hover{text-decoration:underline}
.ot-cart-meta{font-size:.85rem;color:#7a8197;margin-top:.2rem}
.ot-cart-badge{display:inline-block;background:#fff3e0;color:#b9690e;border-radius:6px;padding:.05rem .4rem;font-size:.75rem;font-weight:700;margin-left:.3rem}
.ot-cart-price,.ot-cart-line{font-variant-numeric:tabular-nums;white-space:nowrap}
.ot-cart-line{font-weight:700}
.ot-cart-qty{display:inline-flex;align-items:center;gap:.25rem}
.ot-qty-btn{width:2rem;height:2rem;border:1px solid #cfd4e2;background:#fff;border-radius:7px;cursor:pointer;font-size:1.1rem;line-height:1}
.ot-qty-input{width:3rem;height:2rem;text-align:center;border:1px solid #cfd4e2;border-radius:7px;font-size:1rem}
.ot-cart-remove{width:2rem;height:2rem;border:none;background:transparent;color:#9aa0b3;font-size:1.4rem;cursor:pointer;border-radius:7px}
.ot-cart-remove:hover{background:#f3f4f8;color:#e23a3a}
.ot-cart-empty{text-align:center;padding:3rem 1rem;color:#5b6480}
.ot-cart-empty .ot-btn{display:inline-flex;margin-top:1rem;padding:.8rem 1.4rem;border-radius:10px;background:#0A1C4F;color:#fff;text-decoration:none;font-weight:700}
.ot-cart-summary{margin-top:1.5rem;padding:1.25rem;background:#f7f8fc;border-radius:12px}
.ot-cart-summary__row{display:flex;justify-content:space-between;align-items:center;font-size:1.15rem;font-weight:800;color:#0A1C4F}
.ot-cart-bracket-note{margin-top:.75rem;font-size:.9rem;color:#b9690e;background:#fff7ec;border-radius:8px;padding:.6rem .8rem}
.ot-cart-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1.25rem}
.ot-cart-actions .ot-btn{flex:1 1 auto;min-width:150px;display:inline-flex;align-items:center;justify-content:center;
  padding:.9rem 1.2rem;border-radius:10px;font-weight:700;text-decoration:none;cursor:pointer;border:1px solid transparent}
@media(max-width:639px){
  .ot-cart-row{grid-template-columns:1fr auto;grid-template-areas:"info remove" "price price" "qty line";row-gap:.5rem}
  .ot-cart-info{grid-area:info}.ot-cart-remove{grid-area:remove}.ot-cart-price{grid-area:price}
  .ot-cart-qty{grid-area:qty}.ot-cart-line{grid-area:line;text-align:right}
}
/* checkout extras */
.ot-checkout-items{margin:0 0 1.25rem}
.ot-checkout-item{display:flex;justify-content:space-between;gap:.75rem;padding:.6rem 0;border-bottom:1px dashed #e1e4ee;font-size:.95rem}
.ot-same-as-buyer{display:flex;align-items:center;gap:.5rem;margin:.5rem 0}

/* v27.1 — 체크아웃 차량정보 자동표시 + 결제버튼 상태 */
.kr-vehicle-auto{background:#f7f8fc;border:1px solid #e3e6ef;border-radius:10px;padding:.85rem 1rem;margin:.4rem 0 1rem}
.kr-vehicle-auto__row{display:flex;justify-content:space-between;gap:1rem;padding:.3rem 0;font-size:.95rem}
.kr-vehicle-auto__row + .kr-vehicle-auto__row{border-top:1px dashed #e7e9f0}
.kr-vehicle-auto__label{color:#6b7390;font-weight:600}
.kr-vehicle-auto__value{color:#0A1C4F;font-weight:700;text-align:right}
.kr-checkout-pay[disabled],.kr-checkout-pay[aria-disabled="true"]{opacity:.55;cursor:not-allowed;filter:grayscale(.2)}
