.auth-layout > .benefit-strip { grid-column: 1 / -1; margin-top: 2px; }
.shop-art::before { background: #f5efdf; }
.auth-art img { mix-blend-mode: multiply; }
.back-home { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #7a8797; }
.back-home .icon { width: 15px; height: 15px; }
.back-home:hover { color: var(--blue); }
#who { font-size: 12px; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
#who:empty { display: none; }
.header-account:has(#who:not(:empty)) .back-home { display: none; }
.store-welcome { margin-top: 40px; padding: 36px 54px; display: grid; grid-template-columns: 1fr 310px; align-items: center; border-radius: 25px; background: #eef2fc; min-height: 290px; overflow: hidden; }
.store-welcome h1 { font-size: 39px; margin: 16px 0; }
.store-welcome p { font-size: 13px; margin: 0; }
.store-art { position: relative; height: 230px; }
.store-art img { width: 270px; height: 270px; object-fit: contain; margin-top: -18px; mix-blend-mode: multiply; }
.store-art > span { position: absolute; right: 0; top: 0; color: #d2b576; font-size: 44px; transform: rotate(15deg); }
.store-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin: 42px 0 26px; }
.store-toolbar h2 { font-size: 27px; margin: 10px 0 0; }
.workspace-nav { display: flex; gap: 4px; padding: 5px; background: #ecf0f6; border-radius: 12px; }
.workspace-nav button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 9px 15px; min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: #8794a4; font-size: 12px; white-space: nowrap; }
.workspace-nav .icon { width: 16px; height: 16px; }
.workspace-nav button.active { color: var(--blue); background: white; box-shadow: 0 2px 7px #394c710a; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; padding: 29px; border: 1px solid #e0e6ed; background: white; border-radius: 21px; box-shadow: var(--shadow); }
.card > span { display: inline-flex; align-items: center; gap: 7px; align-self: start; color: #8093b1; background: #f1f5fc; padding: 4px 10px; border-radius: 6px; font-size: 11px; }
.card > span .icon { width: 14px; height: 14px; }
.card:nth-child(3n+2) > span { background: #edf5ee; color: #7e9a85; }
.card:nth-child(3n+3) > span { background: #fbf3e4; color: #b59a6d; }
.card h2 { font-size: 23px; margin: 22px 0 12px; }
.card p { font-size: 13px; min-height: 43px; overflow-wrap: anywhere; }
.price { font-size: 34px; font-weight: 700; letter-spacing: -.035em; padding-top: 15px; margin-top: auto; }
.price small { display: block; color: #9aa5b2; font-weight: 400; letter-spacing: 0; font-size: 11px; min-height: 22px; }
.buy { width: 100%; margin-top: 23px; min-height: 46px; font-size: 13px; }
.list { display: grid; gap: 12px; }
.order { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 26px; padding: 24px 28px; background: white; border: 1px solid #e2e8ef; border-radius: 16px; }
.order b { font-size: 14px; }
.order small { color: #909ba8; font-size: 11px; overflow-wrap: anywhere; }
.order > span { padding: 4px 10px; border-radius: 6px; background: #f0f5ef; color: #7b9474; font-size: 11px; }
.order button { min-height: 40px; padding: 9px 15px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); border: 1px solid #dce5f6; font-size: 12px; font-weight: 600; }
.store-help { display: flex; align-items: center; justify-content: center; gap: 7px; padding-top: 35px; color: #99a1ae; font-size: 12px; }
.store-help a { display: inline-flex; align-items: center; gap: 3px; color: var(--blue); }
.store-help .icon { width: 15px; height: 15px; }
@media (max-width: 1000px) { .card { padding: 23px; } .store-welcome { padding: 32px; } .store-toolbar h2 { font-size: 24px; } }
@media (max-width: 760px) {
  .back-home { font-size: 11px; }
  .header-account { gap: 12px; }
  #who { max-width: 116px; font-size: 11px; }
  #logout { font-size: 11px; padding: 8px 10px; }
  .auth-layout > .benefit-strip { margin-top: 0; }
  .store-welcome { margin-top: 28px; padding: 28px 24px; grid-template-columns: 1fr; min-height: 0; position: relative; }
  .store-welcome > div:first-child { position: relative; z-index: 1; padding-right: 72px; }
  .store-welcome h1 { font-size: 29px; }
  .store-welcome .eyebrow { font-size: 9px; }
  .store-welcome p { font-size: 11px; max-width: 190px; }
  .store-art { position: absolute; width: 132px; height: 150px; right: -7px; bottom: 12px; }
  .store-art img { width: 148px; height: 148px; margin: 0; }
  .store-art > span { font-size: 24px; right: 8px; top: 0; }
  .store-toolbar { align-items: stretch; flex-direction: column; gap: 20px; margin-top: 30px; }
  .store-toolbar h2 { font-size: 24px; }
  .workspace-nav button { flex: 1; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 28px; }
  .card p { min-height: 0; }
  .card h2 { margin-top: 16px; }
  .price { padding-top: 4px; }
  .order { padding: 21px; grid-template-columns: 1fr auto; gap: 14px; }
  .order div { grid-column: 1 / -1; }
  .order > span { justify-self: start; }
  .order > button, .order > b { justify-self: end; }
}

.store-art img { border-radius: 44%; }
:root .coupon-bar { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.checkout-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; color: #eaf5ff; background: #101725; border: 1px solid #26c6da; border-radius: 20px; padding: 24px; }
.checkout-dialog::backdrop { background: #000a; backdrop-filter: blur(5px); }
.checkout-dialog select { width: 100%; margin-top: 12px; padding: 12px; background: #192436; color: #eaf5ff; }
.checkout-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

#usdt-checkout[open] { display: grid; gap: .75rem; }
#usdt-checkout :is(h2,p) { margin: 0; }
#usdt-checkout code { overflow-wrap: anywhere; user-select: all; }
#usdt-checkout strong { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
