/* ============================================
   ModConsole — Checkout Styles
   ============================================ */

.checkout-body { background: var(--bg); min-height: 100vh; }

/* HEADER */
.checkout-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
  background: rgba(10,10,15,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.co-back-link {
  display: flex; align-items: center; gap: .4rem;
  color: var(--text-muted); font-size: .82rem;
  transition: var(--transition);
}
.co-back-link:hover { color: var(--text); }

/* STEPS INDICATOR */
.checkout-steps {
  display: flex; align-items: center; gap: 0;
}
.co-step {
  display: flex; align-items: center; gap: .5rem;
  color: var(--text-dim); font-size: .82rem; font-weight: 600;
}
.co-step.active { color: var(--gold); }
.co-step.done { color: #22c55e; }
.co-step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; transition: var(--transition);
}
.co-step.active .co-step-num { background: var(--gold); border-color: var(--gold); color: #000; }
.co-step.done .co-step-num { background: #22c55e; border-color: #22c55e; color: #fff; }
.co-step-line { width: 40px; height: 1px; background: var(--border); margin: 0 .5rem; }
@media (max-width: 600px) {
  .co-step-label { display: none; }
  .co-back-link span { display: none; }
}

/* LAYOUT */
.checkout-layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 0; max-width: 1200px; margin: 0 auto;
  padding: 2.5rem 2rem; align-items: start;
  gap: 2.5rem;
}

/* FORM COLUMN */
.checkout-form-col { min-width: 0; }
.co-panel { display: none; }
.co-panel.active { display: block; }

.co-panel-title {
  display: flex; align-items: center; gap: .75rem;
  font-size: 1.2rem; font-weight: 800; margin-bottom: 1.75rem;
}
.co-panel-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000; font-size: .85rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.co-section-label {
  font-size: .75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-dim); margin-bottom: .75rem; display: block;
}
.co-divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.co-form-check { margin: 1.25rem 0; }

/* SHIPPING OPTIONS */
.shipping-options { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.25rem; }
.shipping-option {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); cursor: pointer; transition: var(--transition);
  background: var(--surface);
}
.shipping-option input[type="radio"] { display: none; }
.shipping-option.selected { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.shipping-option:hover { border-color: rgba(255,255,255,0.15); }
.so-icon { font-size: 1.4rem; flex-shrink: 0; }
.so-info { flex: 1; }
.so-info strong { display: block; font-size: .9rem; font-weight: 700; }
.so-info span { font-size: .78rem; color: var(--text-muted); }
.so-price { font-size: .9rem; font-weight: 800; color: var(--text); white-space: nowrap; }
.so-price.free { color: #22c55e; }

/* PAYMENT METHODS */
.payment-methods { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.75rem; }
.pm-option {
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden; cursor: pointer;
  transition: var(--transition);
}
.pm-option:hover { border-color: rgba(255,255,255,0.15); }
.pm-option.active { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.pm-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
}
.pm-radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border); flex-shrink: 0; transition: var(--transition);
  position: relative;
}
.pm-radio::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); transition: .2s;
}
.pm-option.active .pm-radio { border-color: var(--gold); }
.pm-option.active .pm-radio::after { transform: translate(-50%,-50%) scale(1); }
.pm-label { flex: 1; }
.pm-label strong { display: block; font-size: .9rem; font-weight: 700; }
.pm-label span { font-size: .77rem; color: var(--text-muted); }
.pm-logos { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; flex-wrap: wrap; }
.card-logo {
  height: 24px; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03);
  display: flex; align-items: center; padding: 0 4px;
}
.card-logo svg { height: 18px; width: auto; }
.card-logo.visa { min-width: 44px; }
.card-logo.mc { min-width: 36px; }
.card-logo.amex { min-width: 44px; }
.card-logo.paypal-logo { min-width: 64px; padding: 0 6px; }
.card-logo.klarna-logo { min-width: 64px; padding: 0; }
.card-logo.transfer-logo { font-size: 1.1rem; padding: 0 6px; border: none; background: none; }
.installment-badge {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000; font-size: .68rem; font-weight: 900;
  padding: .2rem .55rem; border-radius: 100px;
}

/* PM BODY */
.pm-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(0.4,0,0.2,1);
}
.pm-option.active .pm-body { max-height: 800px; }

/* CARD PREVIEW */
.card-form { padding: 0 1.25rem 1.25rem; }
.card-preview-wrap { padding: 1.25rem 1.25rem .5rem; display: flex; justify-content: center; }
.card-preview {
  width: 100%; max-width: 340px; height: 190px;
  border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a1a3e, #0d0d20);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: .4s ease;
}
.card-preview.visa-style { background: linear-gradient(135deg, #1a237e, #283593); }
.card-preview.mc-style { background: linear-gradient(135deg, #b71c1c, #7f0000); }
.card-preview.amex-style { background: linear-gradient(135deg, #0D47A1, #1565C0); }
.card-preview-bg {
  position: absolute; inset: 0; opacity: .08;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,.3) 20px, rgba(255,255,255,.3) 21px);
}
.card-chip {
  width: 42px; height: 32px; border-radius: 6px;
  background: linear-gradient(135deg, #c9a84c, #8B6914);
  position: absolute; top: 1.4rem; left: 1.5rem;
}
.card-chip::after {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: rgba(0,0,0,0.3);
}
.card-chip::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: rgba(0,0,0,0.3);
}
.card-network {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: .7rem; font-weight: 900; letter-spacing: .1em;
  color: rgba(255,255,255,0.7);
}
.card-number-display {
  position: absolute; bottom: 3.2rem; left: 1.5rem; right: 1.5rem;
  font-size: 1.1rem; font-weight: 600; letter-spacing: .18em;
  color: rgba(255,255,255,0.9); font-family: 'Courier New', monospace;
}
.card-bottom {
  position: absolute; bottom: 1.25rem; left: 1.5rem; right: 1.5rem;
  display: flex; justify-content: space-between;
}
.card-label { font-size: .55rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,0.5); margin-bottom: .2rem; }
.card-holder-display, .card-exp-display {
  font-size: .75rem; font-weight: 700; color: rgba(255,255,255,0.9);
  letter-spacing: .08em; text-transform: uppercase;
}
.card-type-icon { position: absolute; right: .75rem; font-size: 1.1rem; }

/* PAYPAL INFO */
.paypal-info { padding: 0 1.25rem 1.25rem; }
.paypal-banner {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; background: rgba(0,48,135,0.08);
  border: 1px solid rgba(0,48,135,0.2); border-radius: var(--radius);
  margin-bottom: 1rem;
}
.paypal-banner strong { display: block; font-size: .9rem; margin-bottom: .25rem; }
.paypal-banner p { color: var(--text-muted); font-size: .82rem; line-height: 1.5; margin: 0; }
.paypal-features {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.paypal-features span { font-size: .8rem; color: var(--text-muted); }

/* INSTALLMENT PLAN */
.installment-plan { padding: 0 1.25rem 1.25rem; }
.ip-header {
  display: flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 700; margin-bottom: 1rem;
}
.ip-schedule {
  display: flex; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.ip-item {
  flex: 1; min-width: 90px; padding: .85rem 1rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); text-align: center;
}
.ip-item.first { border-color: var(--border-gold); background: rgba(201,168,76,0.05); }
.ip-num { font-size: .68rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.ip-amount { font-size: 1.1rem; font-weight: 800; }
.ip-date { font-size: .72rem; color: var(--text-muted); margin-top: .2rem; }
.ip-note { font-size: .75rem; color: var(--text-dim); line-height: 1.5; }
.paypal3-plan { }

/* KLARNA */
.klarna-options { padding: 0 1.25rem; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.klarna-opt {
  display: block; cursor: pointer;
}
.klarna-opt input[type="radio"] { display: none; }
.ko-content {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); transition: var(--transition);
  background: var(--bg);
}
.klarna-opt input:checked + .ko-content { border-color: #FFB3C7; background: rgba(255,179,199,0.05); }
.ko-icon { font-size: 1.3rem; flex-shrink: 0; }
.ko-content strong { display: block; font-size: .88rem; font-weight: 700; }
.ko-content p { font-size: .75rem; color: var(--text-muted); margin: 0; }
.ko-badge {
  margin-left: auto; font-size: .68rem; font-weight: 800;
  padding: .2rem .55rem; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); white-space: nowrap;
}
.ko-badge.free { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #4ade80; }
.klarna-schedule-wrap { padding: 0 1.25rem; margin-bottom: .75rem; }
.klarna-banner {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem 1.25rem; margin: 0 1.25rem 1.25rem;
  background: rgba(255,179,199,0.05); border: 1px solid rgba(255,179,199,0.2);
  border-radius: var(--radius);
}
.klarna-banner p { font-size: .78rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* TRANSFER */
.transfer-info { padding: 0 1.25rem 1.25rem; }
.transfer-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 0; border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.transfer-row span { color: var(--text-muted); }
.transfer-row strong { font-weight: 700; }
.iban { font-family: 'Courier New', monospace; font-size: .82rem; }
.transfer-note {
  margin-top: .85rem; font-size: .78rem; color: #f59e0b;
  background: rgba(245,158,11,0.08); padding: .65rem; border-radius: 8px;
  border: 1px solid rgba(245,158,11,0.2);
}

/* COUPON */
.coupon-section { margin-bottom: 1.5rem; }
.coupon-form { display: flex; gap: .75rem; }
.coupon-result { margin-top: .5rem; font-size: .82rem; }
.coupon-result.success { color: #4ade80; }
.coupon-result.error { color: #f87171; }

/* CO ACTIONS */
.co-actions {
  display: flex; gap: 1rem; margin-bottom: 1.25rem;
  justify-content: space-between; align-items: center;
}
.co-next-btn { padding: .85rem 2rem; }
.security-badges {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding: 1rem; background: rgba(255,255,255,0.02);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .75rem; color: var(--text-dim);
}

/* SUMMARY */
.checkout-summary-col { position: sticky; top: 90px; }
.co-summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.co-summary-title {
  padding: 1.25rem 1.5rem; font-size: .85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 1px solid var(--border); color: var(--text-muted);
}
.co-summary-items { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: .85rem; }
.co-sum-item { display: flex; align-items: center; gap: .85rem; }
.co-sum-img {
  width: 56px; height: 46px; border-radius: 8px;
  background: var(--surface-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.co-sum-img svg { width: 100%; height: 100%; }
.co-sum-qty {
  position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: #000;
  font-size: .6rem; font-weight: 900;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.co-sum-info { flex: 1; min-width: 0; }
.co-sum-name { font-size: .84rem; font-weight: 600; line-height: 1.3; }
.co-sum-cat { font-size: .7rem; color: var(--gold); font-weight: 600; text-transform: uppercase; }
.co-sum-price { font-size: .9rem; font-weight: 800; white-space: nowrap; }
.co-summary-totals {
  padding: 1rem 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .5rem;
}
.co-total-row {
  display: flex; justify-content: space-between;
  font-size: .85rem; color: var(--text-muted);
}
.co-total-row.discount { color: #4ade80; }
.co-total-row.grand {
  font-size: 1.1rem; font-weight: 800; color: var(--text);
  padding-top: .5rem; border-top: 1px solid var(--border); margin-top: .25rem;
}
.co-summary-guarantee {
  padding: 1rem 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .6rem;
}
.guarantee-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .78rem; color: var(--text-dim);
}
.guarantee-item svg { color: var(--gold); flex-shrink: 0; }

/* SHIPPING SUMMARY PILL */
.co-summary-pill {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.1rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 1.5rem; font-size: .82rem; color: var(--text-muted);
}
.co-summary-pill strong { color: var(--text); }
.co-summary-pill .edit-link { margin-left: auto; }

/* CONFIRM */
.confirm-success {
  text-align: center; padding: 2.5rem 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 1.5rem;
}
.confirm-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(34,197,94,0.1); border: 2px solid rgba(34,197,94,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  animation: pop-in .5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes pop-in { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confirm-success h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: .5rem; }
.confirm-success p { color: var(--text-muted); max-width: 380px; margin: 0 auto .75rem; }
.confirm-order-id {
  display: inline-block; padding: .35rem 1rem;
  background: rgba(201,168,76,0.1); border: 1px solid var(--border-gold);
  border-radius: 100px; font-size: .82rem; color: var(--gold);
}
.confirm-details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem;
}
.confirm-details h3 { font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.confirm-row {
  display: flex; justify-content: space-between;
  padding: .5rem 0; border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.confirm-row:last-child { border-bottom: none; }
.confirm-row span { color: var(--text-muted); }

/* TIMELINE */
.confirm-timeline {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.confirm-timeline h3 { font-size: .9rem; font-weight: 700; margin-bottom: 1.25rem; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 1rem; padding-bottom: 1.25rem; position: relative; }
.tl-item:not(:last-child)::before {
  content: ''; position: absolute; left: 13px; top: 28px; bottom: 0;
  width: 1.5px; background: var(--border);
}
.tl-item.done::before { background: var(--gold); }
.tl-dot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--border); background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800; color: var(--text-dim);
}
.tl-item.done .tl-dot { background: var(--gold); border-color: var(--gold); color: #000; font-size: .8rem; }
.tl-content strong { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .2rem; }
.tl-content p { font-size: .78rem; color: var(--text-muted); margin: 0; }

/* PROCESSING OVERLAY */
.processing-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,10,15,0.92); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .3s;
}
.processing-overlay.active { opacity: 1; visibility: visible; }
.processing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 3rem 2.5rem;
  text-align: center; max-width: 380px; width: 90%;
}
.processing-spinner {
  width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.processing-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.processing-card p { color: var(--text-muted); font-size: .85rem; margin-bottom: 1.5rem; }
.processing-logos { display: flex; align-items: center; justify-content: center; gap: .75rem; }

/* CVV MODAL */
.cvv-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  z-index: 1201; width: 90%; max-width: 420px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  opacity: 0; visibility: hidden; transition: .3s cubic-bezier(0.4,0,0.2,1);
}
.cvv-modal.active { transform: translate(-50%,-50%); opacity: 1; visibility: visible; }
.cvv-modal h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.cvv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: .5rem; }
.cvv-cards p { font-size: .78rem; color: var(--text-muted); text-align: center; margin-top: .5rem; }
.cvv-img {
  background: linear-gradient(135deg, #1a1a3e, #0d0d20);
  border-radius: 8px; padding: .75rem; min-height: 80px;
  display: flex; flex-direction: column; gap: .35rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.cvv-stripe { height: 20px; background: #222; border-radius: 2px; margin: .25rem 0; }
.cvv-number-box {
  align-self: flex-end; background: rgba(255,255,255,0.9); color: #000;
  padding: .2rem .5rem; border-radius: 3px;
  font-size: .8rem; font-weight: 700; font-family: monospace;
}
.cvv-number-box.amex { align-self: flex-start; margin-top: auto; }
.cvv-help {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .68rem; color: var(--text-muted); cursor: pointer;
  margin-left: .3rem; transition: var(--transition);
}
.cvv-help:hover { border-color: var(--gold); color: var(--gold); }

/* SAVED ADDRESSES */
.saved-addr-item {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); cursor: pointer; margin-bottom: .5rem;
  transition: var(--transition); background: var(--surface);
}
.saved-addr-item.selected { border-color: var(--gold); background: rgba(201,168,76,0.05); }
.saved-addr-item:hover { border-color: rgba(255,255,255,0.15); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-col { position: static; order: -1; }
  .co-summary-items { max-height: 180px; overflow-y: auto; }
}
@media (max-width: 600px) {
  .checkout-layout { padding: 1.5rem 1rem; }
  .checkout-header { padding: 0 1rem; }
  .ip-schedule { flex-direction: column; }
  .co-actions { flex-direction: column-reverse; }
  .co-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================
   LOCKER FINDER
   ============================================ */

.btn--locker-find {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold); border-radius: 8px;
  font-size: .72rem; font-weight: 700; padding: .3rem .7rem;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn--locker-find:hover { background: rgba(201,168,76,0.2); }

/* MODAL */
.locker-modal-overlay {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: .3s;
}
.locker-modal-overlay.active { opacity: 1; visibility: visible; }

.locker-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(0.97);
  z-index: 1301;
  width: min(96vw, 1000px);
  max-height: 92vh;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: .3s cubic-bezier(0.34,1.2,0.64,1);
  overflow: hidden;
}
.locker-modal.active { transform: translate(-50%,-50%) scale(1); opacity: 1; visibility: visible; }

/* HEADER */
.locker-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.locker-modal-title { display: flex; align-items: center; gap: .85rem; }
.locker-modal-title svg { color: var(--gold); }
.locker-modal-title h3 { font-size: 1rem; font-weight: 800; margin-bottom: .1rem; }
.locker-modal-title p { font-size: .75rem; color: var(--text-muted); }
.locker-modal-close {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); cursor: pointer; font-size: .9rem;
  transition: var(--transition);
}
.locker-modal-close:hover { color: var(--text); }

/* SEARCH BAR */
.locker-search-bar {
  display: flex; gap: .65rem; padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.locker-search-input-wrap { flex: 1; position: relative; }
.locker-search-input-wrap input {
  width: 100%; padding: .7rem 1rem .7rem 2.8rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: .9rem;
  font-family: inherit; outline: none; transition: var(--transition);
}
.locker-search-input-wrap input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.locker-gps-btn { padding: .7rem 1rem; font-size: .82rem; display: flex; align-items: center; gap: .4rem; }
.btn-spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2); border-top-color: currentColor;
  animation: spin 0.7s linear infinite; display: inline-block;
}

/* FILTERS */
.locker-filters {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: .75rem 1.5rem; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.locker-chip {
  display: flex; align-items: center; gap: .4rem;
  padding: .35rem .85rem; border-radius: 100px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-muted); font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.locker-chip:hover { border-color: rgba(255,255,255,.2); color: var(--text); }
.locker-chip.active { background: rgba(201,168,76,.1); border-color: var(--border-gold); color: var(--gold); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; }
.chip-dot.amazon { background: #FF9900; }
.chip-dot.inpost  { background: #f0b400; }
.chip-dot.other   { background: #6366f1; }
.locker-count { margin-left: auto; font-size: .75rem; color: var(--text-dim); }

/* BODY */
.locker-body {
  display: grid; grid-template-columns: 1fr 340px;
  flex: 1; min-height: 0; overflow: hidden;
}

/* MAP */
.locker-map-wrap { position: relative; }
#lockerMap { width: 100%; height: 100%; min-height: 380px; }
.map-loading {
  position: absolute; inset: 0; z-index: 400;
  background: rgba(10,10,15,0.85); display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; backdrop-filter: blur(4px);
}
.map-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(201,168,76,.2); border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}
.map-loading p { color: var(--text-muted); font-size: .85rem; }

/* LIST */
.locker-list-wrap {
  display: flex; flex-direction: column;
  border-left: 1px solid var(--border); min-height: 0;
}
.locker-list-header {
  padding: .75rem 1rem; border-bottom: 1px solid var(--border);
  font-size: .78rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em;
  flex-shrink: 0;
}
.locker-list { flex: 1; overflow-y: auto; }
.locker-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: .75rem; padding: 2.5rem 1rem; text-align: center;
  color: var(--text-dim); font-size: .82rem; line-height: 1.5;
}

/* LOCKER ITEM */
.locker-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .9rem 1rem; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: var(--transition); position: relative;
}
.locker-item:hover { background: rgba(255,255,255,.03); }
.locker-item.selected { background: rgba(201,168,76,.06); }
.li-brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0; margin-top: .35rem;
}
.li-body { flex: 1; min-width: 0; }
.li-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .2rem; }
.li-brand { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.li-dist { font-size: .7rem; color: var(--text-dim); font-weight: 600; }
.li-name { font-size: .88rem; font-weight: 700; margin-bottom: .2rem; }
.li-address { font-size: .75rem; color: var(--text-muted); margin-bottom: .35rem; line-height: 1.4; }
.li-meta { display: flex; gap: .75rem; flex-wrap: wrap; }
.li-meta-item {
  display: flex; align-items: center; gap: .3rem;
  font-size: .7rem; color: var(--text-dim);
}
.li-check {
  position: absolute; top: .75rem; right: .75rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 900;
}

/* FOOTER */
.locker-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-gold);
  background: rgba(201,168,76,.04);
  flex-shrink: 0; flex-wrap: wrap;
}
.locker-selected-info { display: flex; align-items: center; gap: .85rem; flex: 1; min-width: 0; }
.lf-icon {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

/* MAP MARKERS */
.lmap-marker {
  width: 36px; height: 36px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--mc, #c9a84c);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.3);
  transition: transform .2s;
}
.lmap-marker:hover { transform: rotate(-45deg) scale(1.1); }
.lmap-marker.selected { border-color: #fff; box-shadow: 0 0 0 3px var(--mc, #c9a84c), 0 4px 16px rgba(0,0,0,0.5); }
.lmap-marker span { transform: rotate(45deg); font-size: .9rem; }
.lmap-pulse {
  position: absolute; width: 50px; height: 50px; border-radius: 50%;
  border: 2px solid var(--mc, #c9a84c); top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotate(45deg);
  animation: pulse-ring 1.5s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring { from { opacity:.8; transform:translate(-50%,-50%) rotate(45deg) scale(0.8); } to { opacity:0; transform:translate(-50%,-50%) rotate(45deg) scale(1.8); } }

/* USER PIN */
.user-pin { position: relative; width: 20px; height: 20px; }
.user-pin-inner {
  width: 12px; height: 12px; border-radius: 50%;
  background: #4b7bec; border: 2px solid #fff;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 2px 8px rgba(75,123,236,0.6);
}
.user-pin-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(75,123,236,.2);
  animation: pulse-ring2 2s ease-out infinite;
}
@keyframes pulse-ring2 { from { transform: scale(1); opacity:.8; } to { transform: scale(3); opacity:0; } }

/* LEAFLET POPUP OVERRIDE */
.locker-popup .leaflet-popup-content-wrapper {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  color: var(--text);
}
.locker-popup .leaflet-popup-tip { background: var(--surface); }
.lpopup { font-family: Inter, sans-serif; min-width: 180px; }
.lpopup-brand { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.lpopup-name { font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.lpopup-addr { font-size: .78rem; color: #888; margin-bottom: .25rem; }
.lpopup-hours { font-size: .75rem; color: #666; margin-bottom: .75rem; }
.lpopup-btn {
  width: 100%; padding: .45rem; border-radius: 8px;
  background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.3);
  color: #c9a84c; font-size: .8rem; font-weight: 700; cursor: pointer;
}
.lpopup-btn:hover { background: rgba(201,168,76,.25); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .locker-body { grid-template-columns: 1fr; grid-template-rows: 280px 280px; }
  .locker-list-wrap { border-left: none; border-top: 1px solid var(--border); }
  .locker-footer { flex-direction: column; align-items: stretch; }
  .locker-footer .btn { width: 100%; justify-content: center; }
}

