
.hero-slim { padding: 8px 0 22px; }
.hero-inner-slim { grid-template-columns: 1fr; padding-top: 22px; }
.hero .muted { font-size: .98rem; }

.checkout-grid{
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 420px;
  gap: 22px;
  align-items: start;              /* ✅ prevent cross-axis stretch */
}
@media (max-width: 1100px){
  .checkout-grid{ grid-template-columns: 1fr; }
}

.left-col{ display:grid; gap:14px; align-content:start; }
.right-col{ display:grid; gap:14px; align-content:start; }

.panel{
  border:1px solid var(--line);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  padding:14px;
  align-self:auto;                 /* ✅ ensure not forced to fill row */
}
.panel-hd{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; }

.form-grid{ display:grid; gap:12px; margin-top:6px; }
.form-row{ display:grid; gap:12px; }
.form-row.two{ grid-template-columns:1fr 1fr; }
@media (max-width: 720px){ .form-row.two{ grid-template-columns:1fr; } }

.field{ display:grid; gap:6px; }
.field span{ color:#c3d5f9; font-size:.82rem; letter-spacing:.2px; text-transform:uppercase; font-weight:700; }
.field input, .field select{
  appearance:none;
  width:100%; padding:12px 12px; border-radius:10px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:#e9f4ff; font-weight:600;
  outline:none;
  color-scheme: dark;
}
.field input::placeholder{ color:#a6b8d4; }

.select-wrap{ position:relative; }
.select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  width:100%; padding:12px 40px 12px 12px; border-radius:10px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:#e9f4ff; font-weight:600;
  outline:none; line-height:1.2; color-scheme: dark;
}
.select-wrap::after{
  content:"";
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  width:12px; height:12px; pointer-events:none; opacity:.9;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23E9F4FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center/12px 12px;
}
.select:focus{
  border-color: rgba(0,214,200,.7);
  box-shadow: 0 0 0 3px rgba(0,214,200,.16), 0 8px 24px rgba(0,214,200,.12);
}
.select:hover{ border-color:rgba(255,255,255,.22) }
.select::-ms-expand{ display:none; }
.select option{ background-color:#0f1834; color:#e9f4ff; }
.select optgroup{ background-color:#0f1834; color:#cfe2ff; font-weight:700; }
@-moz-document url-prefix(){ .select option:checked{ background-color:#12214a; } }

.coupon-panel{ border-style:dashed; }
.coupon-row{ display:flex; gap:8px; }
.coupon-row input{
  flex:1 1 auto; padding:12px; border-radius:10px; border:1px solid var(--line);
  background:rgba(255,255,255,.04); color:#e9f4ff; font-weight:600;
  outline:none; transition:border-color .15s ease, box-shadow .15s ease;
  color-scheme: dark;
}
.coupon-row input:focus{
  border-color: rgba(0,214,200,.65);
  box-shadow: 0 0 0 3px rgba(0,214,200,.16), 0 8px 24px rgba(0,214,200,.12);
}
.btn-apply{
  padding:12px 14px; border-radius:10px; font-weight:800;
  border:1px solid rgba(102,255,230,.4); color:#76ffea; background:rgba(0,214,200,.12);
}
.btn-apply:hover{ box-shadow:0 8px 22px rgba(0,214,200,.15); transform:translateY(-1px); }

.alerts{ display:grid; gap:8px; margin-top:10px; }
.alert{
  display:grid; grid-template-columns:28px 1fr; gap:10px; align-items:flex-start;
  border:1px solid var(--line); border-radius:10px; padding:10px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.alert i{ display:grid; place-items:center; width:28px; height:28px; border-radius:8px; font-size:18px; }
.alert-success i{ background:rgba(0,214,200,.18); border:1px solid rgba(0,214,200,.35); color:#9af6e6; }
.alert-error i{ background:rgba(254,83,83,.18); border:1px solid rgba(254,83,83,.35); color:#ffc2c2; }

.summary{ align-self:auto; }
.item{
  display:flex; justify-content:space-between; align-items:flex-start; gap:10px;
  padding:10px; border:1px solid var(--line); border-radius:12px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.item-left{ display:flex; gap:10px; align-items:center; }
.badge-mini{ width:44px; height:44px; border-radius:10px; border:1px solid rgba(255,255,255,.12); object-fit:contain; background:rgba(255,255,255,.04); }
.item-title{ font-weight:800; }
.item-meta{ color:#a6b8d4; font-size:.92rem; }
.item-price .usd{ font-weight:800; color:#9af6e6; }

.split{ display:flex; justify-content:space-between; align-items:center; margin-top:10px; }
.total{ border-top:1px dashed var(--line); padding-top:10px; font-size:1.06rem; }

.payments{ display:grid; gap:14px; }
.pay-card, .pay-bkash{
  border:1px solid var(--line); border-radius:14px; padding:12px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
}
.pay-hd{ display:flex; align-items:center; gap:10px; }
.pay-title{ font-weight:800; display:flex; align-items:center; gap:8px; }

.pay-subline{
  display:flex; align-items:center; justify-content:space-between;
  margin-top:6px; gap:10px; flex-wrap:wrap;
}
.cards{ display:flex; align-items:center; gap:10px; color:#e9f4ff; font-size:1.4rem; }
.cards .more{ font-size:.9rem; color:#a6b8d4; }
.pay-sub{ color:#a6b8d4; font-size:.92rem; white-space:nowrap; }

.btn-wide{ width:100%; justify-content:center; }
.btn-gap{ margin-top:12px; }
.btn-primary{
  background:rgba(83,109,254,.22); border:1px solid rgba(83,109,254,.45); color:#eaf4ff;
}
.btn-primary:hover{ box-shadow:0 8px 22px rgba(83,109,254,.25); transform:translateY(-1px); }

.bkash-logo{ width:18px; height:18px; object-fit:contain; vertical-align:middle; }
.btn-bkash{
  background:rgba(233,30,99,.18); border:1px solid rgba(233,30,99,.45); color:#ffe9f1;
}
.btn-bkash:hover{ box-shadow:0 8px 22px rgba(233,30,99,.22); transform:translateY(-1px); }

.tiny.legal{ color:#cfe2ff; margin:6px 2px 0; }
.tiny.legal .link{ color:#9af6e6; text-decoration:underline; }

.tiny{ font-size:.9rem; }

.reveal{ opacity:1 !important; transform:none !important; }

#year::after{ content:""; }
