

:root{
  color-scheme: dark;

  --bg: #0B1220;
  --surface: #0F172A;
  --surface-2: #111C33;
  --surface-3: #0D1528;

  --text: #E5E7EB;
  --muted: rgba(229,231,235,.68);

  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.12);

  --accent: #3B82F6;
  --accent-2: #2563EB;

  --success: #22C55E;   
  --warn-bg: rgba(59,130,246,.12);
  --warn-bd: rgba(59,130,246,.24);

  --radius: 18px;
  --radius-sm: 14px;

  --shadow-sm: 0 10px 24px rgba(0,0,0,.35);
  --shadow: 0 18px 45px rgba(0,0,0,.50);

  --ring: 0 0 0 4px rgba(59,130,246,.28);

  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
}

*{ box-sizing: border-box; }


.delivery{
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
}

.delivery-container{
  width: min(80vw, 92vw);
  margin: 0 auto;
  padding: 0 12px;
}

.delivery-hero{
  padding: clamp(2.1rem, 5vw, 3.4rem) 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.delivery-hero__inner{
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.delivery-kicker{
  display: inline-flex;
  padding: .38rem .8rem;
  border-radius: 999px;
  font-weight: 950;
  font-size: .85rem;
  letter-spacing: .2px;

  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: rgba(229,231,235,.92);
}

.delivery-title{
  margin: .8rem 0 .4rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  text-wrap: balance;
}

.delivery-subtitle{
  margin: 0 auto;
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  text-wrap: balance;
}

.delivery-layout{
  padding: clamp(1.25rem, 3.2vw, 2.25rem) 0 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 992px){
  .delivery-layout{
    grid-template-columns: 2fr 1fr;
    gap: 1.4rem;
    align-items: start;
  }
}

.delivery-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2vw, 1.6rem);
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.delivery-card__head{ margin-bottom: 12px; }

.delivery-h2{
  margin: 0 0 .3rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  font-size: clamp(1.15rem, 1.4vw + .9rem, 1.55rem);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.delivery-h3{
  margin: 0;
  font-weight: 900;
  font-size: 1.05rem;
  color: rgba(229,231,235,.95);
}

.delivery-emoji{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(59,130,246,.14);
  border: 1px solid rgba(59,130,246,.28);
}

.delivery-muted{
  margin: 0;
  color: var(--muted);
}


.delivery-options{
  display: grid;
  gap: .9rem;
}

.delivery-option{
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: rgba(255,255,255,.03);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.delivery-option:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-2);
  background: rgba(255,255,255,.04);
}

.delivery-option__top{
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.delivery-price{
  font-weight: 950;
  white-space: nowrap;
  color: rgba(229,231,235,.96);
  background: rgba(59,130,246,.14);
  border: 1px solid rgba(59,130,246,.28);
  padding: 6px 10px;
  border-radius: 999px;
}

.delivery-meta{
  margin: .55rem 0 0;
  color: rgba(229,231,235,.86);
  font-size: .95rem;
}

.delivery-meta strong{ color: rgba(229,231,235,.95); }

.delivery-checklist{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .9rem;
}

.delivery-check{
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}

.delivery-check__icon{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #05230f;
  background: var(--success);
  flex: 0 0 auto;
  margin-top: .1rem;
  font-weight: 900;
}

.delivery-check__title{
  margin: 0;
  font-weight: 950;
  color: rgba(229,231,235,.95);
}

.delivery-payments{
  display: grid;
  gap: .7rem;
  margin-top: .25rem;
}

.delivery-payment{
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem .95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.delivery-payment:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.05);
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}

.delivery-payment__icon{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,.14);
  border: 1px solid rgba(59,130,246,.28);
}

.delivery-payment__name{
  font-weight: 950;
  color: rgba(229,231,235,.92);
}

.delivery-note{
  margin-top: 1rem;
  display: flex;
  gap: .75rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--warn-bg);
  border: 1px solid var(--warn-bd);
  color: rgba(229,231,235,.88);
}

.delivery-note p{ margin: 0; }

.delivery-note__icon{
  flex: 0 0 auto;
  margin-top: .1rem;
}


@media (min-width: 992px){
  .delivery-card--sticky{
    position: sticky;
    top: 12px;
  }
}

:where(.delivery a, .delivery button, .delivery input):focus-visible{
  outline: none;
  box-shadow: var(--ring);
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
}


.payinfo{
  display: grid;
  gap: 12px;
}

.payinfo-tabs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}



.payinfo-tab{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: rgba(229,231,235,.85);
  font-weight: 950;
  cursor: pointer;
  text-align: center;
  transition: background .14s ease, border-color .14s ease, transform .12s ease;
}

.payinfo-tab:hover{
  background: rgba(255,255,255,.05);
  border-color: var(--border-2);
  transform: translateY(-1px);
}



.payinfo-tab{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: rgba(229,231,235,.85);
  font-weight: 950;
  cursor: pointer;
  text-align: center;
  transition: background .14s ease, border-color .14s ease, transform .12s ease;
}
.payinfo-tab:hover{
  background: rgba(255,255,255,.05);
  border-color: var(--border-2);
  transform: translateY(-1px);
}
.payinfo-tab.is-active{
  background: rgba(59,130,246,.14);
  border-color: rgba(59,130,246,.32);
  color: #fff;
}


.payinfo-panel{ display: none; }
.payinfo-panel.is-active{ display: block; }


.payinfo-steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.payinfo-step{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.payinfo-step__head{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.payinfo-step__num{
  width: 28px;
  height: 28px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 950;
  border: 1px solid rgba(59,130,246,.28);
  background: rgba(59,130,246,.14);
}

.payinfo-step__title{
  font-weight: 950;
  color: rgba(229,231,235,.95);
}

.payinfo-step__text{
  margin: 0;
  color: rgba(229,231,235,.72);
}

.payinfo-label{
  display: block;
  margin-top: 10px;
  margin-bottom: 6px;
  font-weight: 950;
  color: rgba(229,231,235,.90);
}

.payinfo-note{
  margin: 8px 0 0;
  color: rgba(229,231,235,.55);
  font-size: .85rem;
}

.payinfo-select,
.payinfo-input{
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: rgba(229,231,235,.88);
}

.payinfo-inputrow{
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 8px;
  align-items: center;
}

.payinfo-prefix{
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: rgba(229,231,235,.75);
  font-weight: 950;
}

.payinfo-box{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  border-radius: 16px;
  padding: 12px;
  margin-top: 10px;
}

.payinfo-mono{
  margin-top: 6px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .92rem;
  word-break: break-all;
  color: rgba(229,231,235,.9);
}

.payinfo-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.payinfo-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12px;
  border-radius: 14px;
  font-weight: 950;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(229,231,235,.92);
  cursor: not-allowed; 
  opacity: .75;
}

.payinfo-btn--primary{
  background: rgba(59,130,246,.22);
  border-color: rgba(59,130,246,.32);
  color: #fff;
}

.payinfo-qr{
  margin-top: 10px;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}

.payinfo-mini{
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.payinfo-mini__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: 10px 12px;
}

.payinfo-mini__name{ font-weight: 950; color: rgba(229,231,235,.92); }
.payinfo-mini__muted{ color: rgba(229,231,235,.60); font-size: .9rem; }

.payinfo-chips{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.payinfo-chip{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59,130,246,.28);
  background: rgba(59,130,246,.14);
  color: rgba(229,231,235,.95);
  font-weight: 950;
  font-size: .85rem;
}




.paylist{
  display: grid;
  gap: 12px;
}

.paylist-group{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  overflow: hidden;
}

.paylist-summary{
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 12px;
  color: rgba(229,231,235,.92);
  font-weight: 950;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.paylist-summary::-webkit-details-marker{ display: none; }

.paylist-summary__icon{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(59,130,246,.14);
  border: 1px solid rgba(59,130,246,.28);
}

.paylist-summary__meta{
  font-size: .85rem;
  font-weight: 900;
  color: rgba(229,231,235,.60);
}

.paylist-body{
  padding: 12px;
  display: grid;
  gap: 10px;
}

.paylist-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 520px){
  .paylist-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.paychip{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.paychip__name{
  font-weight: 950;
  color: rgba(229,231,235,.92);
  font-size: .93rem;
}

.paychip__badge{
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 950;
  font-size: .78rem;
  color: #fff;
  background: rgba(59,130,246,.55);
  border: 1px solid rgba(59,130,246,.35);
}

.paychip.is-default{
  border-color: rgba(59,130,246,.32);
  background: rgba(59,130,246,.10);
}

.paylist-note{
  margin: 0;
  color: rgba(229,231,235,.55);
  font-size: .85rem;
}

.paylist-mini{
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: 10px;
}

.paylist-mini__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.paylist-mini__label{
  font-weight: 950;
  color: rgba(229,231,235,.78);
  font-size: .9rem;
}

.paylist-mini__chips{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.paypill{
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: .82rem;
  color: rgba(229,231,235,.92);
  background: rgba(59,130,246,.14);
  border: 1px solid rgba(59,130,246,.28);
}

.paylist-warn{
  margin: 0;
  color: rgba(229,231,235,.70);
  font-size: .85rem;
}
