.server-notice[hidden], [hidden] { display: none !important; }
.orders.admin-center { display:block; padding-top:48px; padding-bottom:64px; background:#fff; }
.admin-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:24px; }
.admin-heading h2 { margin:8px 0; font-size:28px; }
.admin-center p { color:#787080; font-size:13px; line-height:1.7; }
.admin-center button { border:1px solid #ddd6e7; background:#fff; border-radius:7px; padding:10px 14px; color:#534364; cursor:pointer; font:inherit; font-size:12px; }
.admin-center button:disabled { opacity:.4; cursor:default; }
.admin-center button:hover:not(:disabled) { border-color:var(--purple); color:var(--purple); }
.admin-metrics { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
.admin-metrics > div { border:1px solid #ebe5f0; border-radius:10px; padding:20px 16px; background:#faf8fd; }
.admin-metrics small { display:block; color:#82748f; font-size:12px; }
.admin-metrics b { display:block; margin-top:10px; font-size:25px; }
.admin-metrics b span { margin-left:4px; font-size:12px; font-weight:400; }
.admin-notice { padding:14px 18px; border-left:3px solid #bba5d5; background:#faf8fc; margin:22px 0; }
.admin-tabs { display:flex; gap:8px; border-bottom:1px solid #e7e0ed; padding-bottom:16px; }
.admin-tabs button[aria-pressed="true"] { background:var(--purple); color:#fff; border-color:var(--purple); }
.admin-search { display:flex; align-items:center; gap:12px; margin-top:24px; }
.admin-search label { font-size:13px; font-weight:700; }
.admin-search input { width:min(380px,60%); padding:11px 12px; border:1px solid #dfd8e8; border-radius:7px; font:inherit; font-size:13px; }
.admin-table-wrap { overflow-x:auto; border:1px solid #e7e0ed; border-radius:9px; }
.admin-table-wrap table { width:100%; min-width:740px; border-collapse:collapse; text-align:left; font-size:12px; }
.admin-table-wrap th { background:#f7f4fa; color:#766880; font-weight:600; white-space:nowrap; }
.admin-table-wrap th,.admin-table-wrap td { padding:16px; vertical-align:top; border-bottom:1px solid #ede8f2; line-height:1.7; overflow-wrap:anywhere; }
.admin-table-wrap tbody tr:last-child td { border-bottom:0; }
.admin-table-wrap small { display:block; color:#918699; font-size:11px; margin-top:4px; }
.admin-pagination { display:flex; align-items:center; justify-content:center; gap:20px; margin:22px 0; font-size:12px; color:#82768d; }
.admin-benefits { padding:24px; background:#fcfbfe; border:1px solid #d9cee7; border-radius:12px; margin-top:28px; scroll-margin-top:24px; }
.admin-benefits h4 { margin:24px 0 12px; font-size:14px; }
.admin-empty { padding:24px; text-align:center; }
@media(max-width:800px) { .admin-metrics { grid-template-columns:repeat(3,1fr); } .admin-benefits { padding:14px; } }
@media(max-width:480px) { .admin-metrics { grid-template-columns:repeat(2,1fr); } .admin-tabs { gap:5px; } .admin-tabs button { padding:10px; } }
.auth-form label[hidden] { display: none; }
.demo-user { color: #777; }
.my-page { border: 1px solid #dcdce2; background: #fff; border-radius: 6px; padding: 8px 11px; font-size: 11px; cursor: pointer; }
.my-page:hover { border-color: var(--purple); color: var(--purple); }
.auth-button, .logout-button { border: 0; background: transparent; color: #555; cursor: pointer; font-size: 11px; }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 7px; font-size: 11px; font-weight: 700; }
.auth-form input, .auth-form select { width: 100%; border: 1px solid #dedee4; border-radius: 5px; padding: 11px; outline: none; background: #fff; }
.auth-form input:focus, .auth-form select:focus { border-color: var(--purple); }
.auth-switch { border: 0; background: transparent; color: var(--purple); cursor: pointer; font-size: 11px; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.buyer-quick-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.buyer-list-button { border: 1px solid #dedde5; background: #fff; color: #696671; border-radius: 5px; padding: 8px 4px; font-size: 10px; font-weight: 700; cursor: pointer; }
.buyer-list-button.active { border-color: #6a42bd; color: #6a42bd; background: #f5f1ff; }
.prepurchase-button { border: 1px solid #d8d5ef; background: #f4f2ff; color: var(--purple); border-radius: 5px; padding: 9px 4px; font-size: 10px; font-weight: 700; cursor: pointer; }
.prepurchase-button:hover { background: #e9e5ff; }
.product-preview { display: flex; align-items: center; gap: 12px; padding: 12px 0 7px; }
.preview-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: #e7e3ff; color: var(--purple); font-weight: 800; }
.product-preview b, .product-preview small { display: block; }
.product-preview b { font-size: 13px; }
.product-preview small { margin-top: 4px; color: #85858e; font-size: 10px; }
.purchase-info { display: grid; gap: 5px; font-size: 11px; }
.purchase-info span { color: #7d7d85; }
.checkout-result.error { background: #fff0f0; border-color: #f0caca; color: #a83b3b; }
.account-section { background: #fff; border-top: 1px solid var(--line); }
.account-list { display: grid; gap: 9px; }
.voucher-card span { color: var(--purple); }
.account-actions { grid-column: 1 / -1; display: flex; gap: 7px; margin-top: 5px; }
.account-actions button, .secondary-action { border: 1px solid #d9d7e8; background: #fff; color: #55515f; border-radius: 5px; padding: 8px 11px; font-size: 10px; font-weight: 700; cursor: pointer; }
.account-actions button:hover, .secondary-action:hover { border-color: var(--purple); color: var(--purple); }
.order-fulfillment-list { grid-column: 1 / -1; display: grid; gap: 7px; padding-top: 8px; border-top: 1px solid #eceaf1; }
.order-fulfillment-list > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #625c6d; font-size: 11px; }
.order-fulfillment-list button { border: 1px solid #d9d2ea; background: #f8f6ff; color: #6247a9; border-radius: 6px; padding: 8px 10px; cursor: pointer; font-size: 10px; font-weight: 800; }
.order-chat-guide { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 0 0 18px; padding: 16px 18px; border: 1px solid #ded6ed; border-radius: 9px; background: #f7f3fc; }
.order-chat-guide[hidden] { display: none !important; }
.order-chat-guide b { color: #46356c; font-size: 13px; }
.order-chat-guide p { margin: 5px 0 0; color: #6f667b; font-size: 11px; line-height: 1.6; }
.order-chat-guide a { color: #6045a9; font-size: 11px; font-weight: 800; text-decoration: none; }
.order-thread-box { width: min(560px, 100%); }
.order-thread-body { display: grid; gap: 12px; }
.order-thread-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.order-thread-toolbar b { color: #6045a9; font-size: 12px; }
.order-thread-toolbar button { border: 1px solid #ded9e9; background: #fff; border-radius: 6px; padding: 7px 10px; cursor: pointer; }
.order-thread-messages { display: grid; align-content: start; gap: 9px; min-height: 150px; max-height: 290px; overflow-y: auto; border: 1px solid #e6e2ee; border-radius: 9px; background: #faf9fc; padding: 12px; }
.order-thread-message { max-width: 88%; justify-self: start; border: 1px solid #e2dfeb; border-radius: 9px; background: #fff; padding: 9px 11px; }
.order-thread-message.mine { justify-self: end; border-color: #d7cdef; background: #f1edff; }
.order-thread-message small { color: #8b8495; font-size: 10px; }
.order-thread-message p { margin: 5px 0 0; color: #34303c; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.order-thread-body form { display: grid; gap: 8px; }
.order-thread-body [hidden] { display: none !important; }
.order-thread-body label { display: grid; gap: 6px; font-size: 11px; font-weight: 800; }
.order-thread-body textarea { min-height: 72px; width: 100%; resize: vertical; border: 1px solid #ded9e9; border-radius: 7px; padding: 10px; font: inherit; }
.order-thread-body form button, #order-thread-confirm { border: 0; border-radius: 7px; background: #654bc0; color: #fff; padding: 11px; cursor: pointer; font-size: 12px; font-weight: 800; }
.order-thread-note { margin: 0; color: #88808e; font-size: 10px; line-height: 1.6; }
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; border: 1px solid #dedee6; border-radius: 6px; overflow: hidden; }
.mode-tabs button { border: 0; background: #fff; padding: 10px; color: #77727f; cursor: pointer; font-size: 11px; }
.mode-tabs button.active { background: var(--purple); color: #fff; font-weight: 700; }
.amount-field { display: grid; gap: 8px; margin-top: 16px; }
.amount-field select, .amount-field input { width: 100%; border: 1px solid #dedee4; background: #fff; border-radius: 5px; padding: 11px; outline: none; }
#voucher-field { margin-top: 16px; font-size: 11px; }
.voucher-options { display: grid; gap: 7px; margin-top: 9px; }
.voucher-options label { display: flex; align-items: center; gap: 8px; border: 1px solid #e4e3e9; border-radius: 5px; padding: 10px; cursor: pointer; }
.voucher-options label:has(input:checked) { border-color: var(--purple); background: #f5f3ff; }
.empty-inline { color: #999; background: #f7f7f9; border-radius: 5px; padding: 11px; margin: 0; }
.secondary-action { width: 100%; margin-top: 8px; padding: 11px; }
#game-result { margin-top: 14px; }
.game-box { width: min(520px, 100%); }
.game-policy-copy { display: grid; gap: 4px; margin-top: 10px; padding: 12px 13px; border-left: 3px solid var(--purple); border-radius: 0 7px 7px 0; background: #f7f5ff; }
.game-policy-copy b { font-size: 13px; }
.game-policy-copy span { color: #6843b7; font-size: 10px; font-weight: 800; }
.game-policy-copy small { color: #777181; font-size: 9px; line-height: 1.5; }
.chance-game { margin-top: 14px; padding: 15px; border: 1px solid #e0dcef; border-radius: 9px; background: #fff; overflow: hidden; }
.chance-game > b { display: block; margin-bottom: 11px; font-size: 12px; }
.choice-grid { display: grid; gap: 8px; }
.rps-choices { grid-template-columns: repeat(3, 1fr); }
.odd-even-choices { grid-template-columns: repeat(2, 1fr); }
.choice-grid button { display: grid; place-items: center; gap: 5px; min-height: 72px; border: 1px solid #ddd9e8; border-radius: 8px; background: #fff; color: #5a5562; cursor: pointer; font-size: 10px; font-weight: 800; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.choice-grid button span { color: #473b69; font-size: 22px; }
.odd-even-choices button span { font-size: 15px; }
.choice-grid button:hover { border-color: #8b73d0; transform: translateY(-1px); }
.choice-grid button.selected { border-color: #6b45bf; background: #f0ebff; color: #5e37ad; box-shadow: 0 0 0 2px #e7dfff inset; }
.game-visual-result { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 8px; background: #f7f5fb; text-align: center; }
.game-visual-result span { display: grid; gap: 2px; justify-items: center; }
.game-visual-result small { color: #8a8490; font-size: 8px; }
.game-visual-result b { font-size: 24px; }
.game-visual-result em { color: #665f70; font-size: 9px; font-style: normal; }
.game-visual-result i { color: #aaa4b0; font-size: 9px; font-style: normal; font-weight: 800; }
.game-visual-result strong { grid-column: 1 / -1; color: #6842ba; font-size: 12px; }
.chance-game.drawing .choice-grid, .chance-game.drawing .marble-bag { animation: game-draw .55s ease-in-out infinite alternate; pointer-events: none; }
.marble-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.marble-head b, .marble-head small { display: block; }
.marble-head b { font-size: 12px; }
.marble-head small { margin-top: 4px; color: #777181; font-size: 9px; }
.marble-head output { min-width: 56px; border-radius: 7px; background: #6842ba; padding: 9px; color: #fff; font-size: 14px; font-weight: 900; text-align: center; }
.marble-rate-control { display: grid; grid-template-columns: auto auto; justify-content: space-between; margin-top: 14px; color: #8b8492; font-size: 8px; }
.marble-rate-control input { grid-column: 1 / -1; width: 100%; accent-color: #6842ba; }
.marble-bag { display: flex; justify-content: center; gap: 6px; margin: 13px auto 3px; padding: 18px 12px 9px; border: 2px solid #d5ccef; border-top: 0; border-radius: 6px 6px 45% 45%; background: linear-gradient(180deg, #f6f2ff, #e9e1ff); }
.marble-bag span, .picked-marble { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(145deg, #9f82e8, #5d37b4); box-shadow: inset -3px -3px 5px #0002, inset 3px 3px 5px #fff6; }
.marble-bag span:nth-child(2n) { background: linear-gradient(145deg, #f5a8ba, #ce5475); }
.marble-bag span:nth-child(3n) { background: linear-gradient(145deg, #79d2c1, #29927d); }
.picked-marble { display: grid !important; place-items: center; width: 44px; height: 44px; color: #fff; font-size: 12px; font-weight: 900; }
.picked-marble.winning { background: linear-gradient(145deg, #ffdb72, #ef9c2e); color: #60400b; }
.candidate-badge { margin-bottom: 11px; border-radius: 999px; background: #efeaf8; padding: 6px 9px; color: #695d79; font-size: 8px; font-weight: 800; text-align: center; }
@keyframes game-draw { from { transform: translateX(-3px); } to { transform: translateX(3px); } }
.memory-game { margin-top: 14px; padding: 14px; border: 1px solid #ded9f4; border-radius: 9px; background: #f7f5ff; }
.memory-game-head, .memory-stats { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.memory-game-head b, .memory-game-head small { display: block; }
.memory-game-head b { font-size: 13px; }
.memory-game-head small { margin-top: 4px; color: #777181; font-size: 9px; }
.memory-game-head button { border: 1px solid #d2cbea; border-radius: 5px; background: #fff; padding: 7px 9px; color: #5c4d83; cursor: pointer; font-size: 9px; font-weight: 700; }
.memory-stats { margin: 12px 0 8px; color: #756d80; font-size: 10px; }
.memory-stats b { color: #40364d; }
.memory-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.memory-card { position: relative; aspect-ratio: 1; border: 0; border-radius: 7px; padding: 0; background: transparent; cursor: pointer; perspective: 500px; }
.memory-card-inner { position: absolute; inset: 0; display: grid; transform-style: preserve-3d; transition: transform .22s ease; }
.memory-card-face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 7px; backface-visibility: hidden; }
.memory-card-back { border: 1px solid #5942aa; background: #6556e8; color: #dcd7ff; font-size: 20px; }
.memory-card-front { border: 1px solid #cfc9e8; background: #fff; color: #554293; transform: rotateY(180deg); font-size: 25px; font-weight: 800; }
.memory-card.revealed .memory-card-inner, .memory-card.matched .memory-card-inner { transform: rotateY(180deg); }
.memory-card.matched .memory-card-front { border-color: #9bcbb9; background: #e7f6ef; color: #257454; }
.memory-card:focus-visible { outline: 3px solid #b8aff6; outline-offset: 2px; }
.memory-card:disabled { cursor: default; }
.memory-status { min-height: 16px; margin: 9px 0 0; color: #5f5869; font-size: 10px; text-align: center; }
.open-source-note { display: block; margin-top: 8px; color: #9993a2; font-size: 8px; text-align: center; }
.skill-game { margin-top: 14px; padding: 14px; border: 1px solid #ded9f4; border-radius: 9px; background: #f8f6ff; }
.skill-game-head, .skill-stats { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.skill-game-head b, .skill-game-head small { display: block; }
.skill-game-head b { font-size: 13px; }
.skill-game-head small { margin-top: 4px; color: #777181; font-size: 9px; }
.skill-game-head button { border: 1px solid #6a52bd; border-radius: 5px; background: #6855c7; padding: 7px 10px; color: #fff; cursor: pointer; font-size: 9px; font-weight: 800; }
.skill-game-head button:disabled { border-color: #cbc7d6; background: #d5d1df; cursor: default; }
.skill-stats { margin: 11px 0 8px; color: #756d80; font-size: 10px; }
.skill-stats b { color: #40364d; }
.skill-status { min-height: 16px; margin: 9px 0 0; color: #5f5869; font-size: 10px; text-align: center; }
.whack-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; border-radius: 10px; padding: 10px; background: linear-gradient(180deg, #d9efd0, #b6d69f); }
.whack-board button { position: relative; min-height: 72px; overflow: hidden; border: 0; border-radius: 50% 50% 43% 43%; background: radial-gradient(ellipse at center, #4d352d 0 44%, #755243 46% 55%, transparent 57%); cursor: crosshair; }
.whack-board button span { position: absolute; inset: 2px 0 0; background: url('/assets/games/whack-a-mole/mole.png') center 125% / 68px 68px no-repeat; opacity: 0; transform: translateY(34px); transition: opacity .08s ease, transform .12s ease; }
.whack-board button.active span { opacity: 1; transform: translateY(0); }
.whack-board button.hit span { background-image: url('/assets/games/whack-a-mole/mole-dead.png'); opacity: 1; transform: translateY(0) rotate(-5deg); }
.whack-board button:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
#platformer-canvas { display: block; width: 100%; height: auto; border: 1px solid #d4cfee; border-radius: 8px; background: #efedff; image-rendering: pixelated; }
.platformer-controls { margin-top: 8px; }
.platformer-controls button { width: 100%; min-height: 54px; border: 1px solid #6855c7; border-radius: 8px; background: #6855c7; color: #fff; cursor: pointer; font-size: 16px; font-weight: 900; touch-action: none; user-select: none; }
.platformer-controls button:active { border-color: #6855c7; background: #ece7ff; transform: translateY(1px); }
.custom-product { background: linear-gradient(145deg, #e8e3ff, #d8edff); }
.custom-product-copy { position: absolute; inset: 54px 23px 23px; display: grid; place-content: center; gap: 9px; border: 1px solid #ffffffb8; border-radius: 9px; background: #ffffffa8; color: #383348; }
.custom-product-copy small { font-size: 8px; letter-spacing: 1px; color: #77728a; }
.custom-product-copy b { font-size: 16px; line-height: 1.4; }
.seller-center { background: #f2f0ff; }
.seller-intro { display: grid; gap: 15px; align-content: start; }
.seller-intro p { color: #73717f; font-size: 11px; line-height: 1.7; margin: 0; }
.seller-open { max-width: 190px; }
.seller-product-list { grid-column: 2; margin-top: 18px; }
.seller-form { display: grid; gap: 13px; }
.seller-form h3 { margin: 8px 0 0; border-bottom: 1px solid #ece9f3; padding-bottom: 9px; font-size: 13px; }
.seller-form label { display: grid; gap: 7px; font-size: 11px; font-weight: 700; }
.seller-form label small { color: #8e8995; font-size: 9px; font-weight: 500; }
.seller-form input, .seller-form textarea, .seller-form select { width: 100%; border: 1px solid #dedee4; border-radius: 5px; padding: 11px; background: #fff; outline: none; resize: vertical; }
.seller-form input:focus, .seller-form textarea:focus, .seller-form select:focus { border-color: var(--purple); }
.seller-form input[readonly] { background: #f3f2f5; color: #77717f; }
.seller-form textarea { min-height: 75px; }
.seller-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seller-check { display: flex !important; grid-template-columns: auto 1fr; align-items: center; }
.seller-check input { width: auto; }
.seller-live-preview { display: grid; gap: 5px; border: 1px solid #dcd6ef; border-radius: 8px; background: #f7f4ff; padding: 14px; }
.seller-live-preview small { color: #7456bc; font-size: 9px; font-weight: 800; }
.seller-live-preview b { font-size: 13px; }
.seller-live-preview span { color: #77717f; font-size: 10px; }
.seller-product-list .account-actions a { border: 1px solid #d9d7e8; background: #fff; color: #55515f; border-radius: 5px; padding: 8px 11px; font-size: 10px; font-weight: 700; }
.seller-operations { grid-column: 1 / -1; border-top: 1px solid #ddd9f2; margin-top: 32px; padding-top: 28px; }
.seller-operation-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; }
.seller-operation-head h3 { font-size: 20px; margin: 7px 0 0; }
.seller-operation-head button { border: 1px solid #d4d0e9; background: #fff; border-radius: 5px; padding: 8px 11px; color: #5c566c; cursor: pointer; font-size: 10px; }
.seller-metrics { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin-bottom: 14px; }
.seller-metrics span { display: grid; gap: 7px; background: #fff; border: 1px solid #e0ddef; border-radius: 7px; padding: 14px; }
.seller-metrics small { color: #85818f; font-size: 9px; }
.seller-metrics b { font-size: 15px; }
.seller-operations > p { color: #85818f; font-size: 11px; }
.seller-order-card .settlement-detail { grid-column: 1 / -1; border-top: 1px solid #eeeef2; padding-top: 8px; color: #77727f; font-size: 10px; }
.account-role { border-radius: 999px; padding: 5px 8px; background: #f0ebff; color: #6540ae; font-size: 9px; font-weight: 800; letter-spacing: .4px; }
.buyer-center { padding: 66px max(24px, calc((100vw - 1100px) / 2)); background: #f8f7fb; border-top: 1px solid var(--line); }
.buyer-center-head { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; align-items: end; }
.buyer-center-head h2 { margin: 8px 0; font-size: 32px; }
.buyer-center-head p { color: #77747f; font-size: 11px; }
.buyer-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.buyer-metrics span { display: grid; gap: 8px; background: #fff; border: 1px solid #e3e0eb; border-radius: 8px; padding: 15px; }
.buyer-metrics small { color: #85818f; font-size: 9px; }
.buyer-metrics b { font-size: 15px; }
.buyer-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.buyer-columns > div { background: #fff; border: 1px solid #e5e2ec; border-radius: 9px; padding: 20px; }
.buyer-columns > div > p { color: #9995a1; font-size: 11px; }
.list-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.list-heading h3 { margin: 0; font-size: 17px; }
.list-heading a { color: var(--purple); font-size: 10px; }
.list-heading span { color: #4f4958; font-size: 11px; font-weight: 800; }
.buyer-item { grid-template-columns: 1fr auto; }
.buyer-item .buyer-item-meta { grid-column: 1 / -1; color: #85818f; font-size: 10px; }
.buyer-item .account-actions a { border: 1px solid #d9d7e8; background: #fff; color: #55515f; border-radius: 5px; padding: 8px 11px; font-size: 10px; font-weight: 700; }
.cart-quantity { display: inline-flex; align-items: center; border: 1px solid #dedce7; border-radius: 5px; overflow: hidden; }
.cart-quantity button { border: 0; border-radius: 0; padding: 8px 10px; }
.cart-quantity b { min-width: 30px; text-align: center; font-size: 10px; }
.cart-checkout-bar { display: grid; grid-template-columns: auto 1fr; gap: 9px; margin-top: 16px; border-top: 1px solid #ece9f1; padding-top: 15px; }
.cart-checkout-bar > button { border-radius: 6px; padding: 11px 14px; cursor: pointer; font-size: 10px; font-weight: 800; }
#cart-clear { border: 1px solid #ddd9e5; background: #fff; color: #6c6673; }
#cart-checkout { border: 1px solid var(--purple); background: var(--purple); color: #fff; }
#cart-checkout span { float: right; margin-left: 9px; }
.seller-status-active { color: #25865d; }
.seller-status-inactive { color: #9a5d32; }
@media (max-width: 800px) { .demo-user { display: none; } .orders > p, #order-list { margin-top: 25px; } }
@media (max-width: 800px) { .seller-product-list { margin-top: 24px; } .seller-open { max-width: none; } .seller-metrics, .buyer-metrics { grid-template-columns: repeat(2, 1fr); } .buyer-center-head { grid-template-columns: 1fr; } .buyer-columns { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .product-actions { grid-template-columns: 1fr; } .account-list { margin-top: 24px; } .seller-form-row { grid-template-columns: 1fr; } .buyer-center { padding: 48px 20px; } }

.legal-box { width: min(760px, 100%); }
.legal-content { padding: 25px 31px 34px; color: #4e4b55; font-size: 12px; line-height: 1.8; outline: none; }
.legal-content section + section { margin-top: 26px; padding-top: 22px; border-top: 1px solid #eceaf1; }
.legal-content h3 { margin: 0 0 9px; color: #222027; font-size: 14px; letter-spacing: -.3px; }
.legal-content p { margin: 0; }
.legal-content ol, .legal-content ul { margin: 0; padding-left: 20px; }
.legal-content li + li { margin-top: 5px; }
.legal-notice { margin-bottom: 25px; border: 1px solid #ddd8f7; border-radius: 7px; background: #f6f4ff; padding: 14px 16px; color: #5d5670; }
.legal-notice b { display: block; margin-bottom: 4px; color: var(--purple); }
@media (max-width: 520px) { .legal-content { padding: 21px 22px 28px; } }

/* Storefront routing */
.header { position: sticky; top: 0; z-index: 8; }
.header nav a { position: relative; padding: 27px 0 25px; color: #5f5d66; }
.header nav a::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; }
.header nav a.active { color: var(--purple); }
.header nav a.active::after { background: var(--purple); }
.page-banner { min-height: 210px; display: grid; align-items: end; padding: 58px max(8vw, 50px) 43px; background: linear-gradient(120deg, #f6f4ff, #f8fafc); border-bottom: 1px solid var(--line); }
.page-banner > div { width: min(1100px, 100%); margin: 0 auto; }
.page-banner h1 { margin: 10px 0 9px; font-size: 34px; letter-spacing: -2px; }
.page-banner p { margin: 0; color: #77737f; font-size: 12px; }
.account-tabs { display: flex; gap: 4px; padding: 0 max(8vw, 50px); border-bottom: 1px solid var(--line); background: #fff; }
.account-tabs a { padding: 17px 19px 15px; border-bottom: 2px solid transparent; color: #76727c; font-size: 11px; font-weight: 800; }
.account-tabs a.active { border-color: var(--purple); color: var(--purple); }
.service-guide { padding: 72px max(8vw, 50px) 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: #fff; }
.guide-card { min-height: 190px; border: 1px solid #e5e2ed; border-radius: 12px; padding: 25px; background: #fff; box-shadow: 0 15px 35px #3f39530b; }
.guide-card span { color: var(--purple); font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.guide-card h3 { margin: 24px 0 10px; font-size: 18px; }
.guide-card p { margin: 0; color: #77737f; font-size: 11px; line-height: 1.8; }
.guide-policy { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; gap: 30px; border-radius: 10px; padding: 23px 25px; background: #f3f0ff; color: #50465f; }
.guide-policy b { color: #5538a0; font-size: 13px; }
.guide-policy p { margin: 0; font-size: 11px; line-height: 1.7; }
.route-access { min-height: 430px; display: grid; place-content: center; justify-items: center; padding: 80px 24px; text-align: center; }
.route-access h2 { margin: 12px 0 8px; font-size: 27px; letter-spacing: -1.4px; }
.route-access p { margin: 0 0 22px; color: #7c7882; font-size: 11px; }
.route-access button { display: flex; gap: 60px; border: 0; border-radius: 6px; padding: 13px 16px; background: var(--ink); color: #fff; cursor: pointer; font-size: 11px; font-weight: 800; }
body:not([data-route="home"]) .products { padding-top: 65px; }

@media (max-width: 800px) {
  .header { height: auto; min-height: 62px; flex-wrap: wrap; gap: 0; padding: 0 18px; }
  .header .brand { padding: 17px 0; }
  .header nav { order: 3; display: flex; width: calc(100% + 36px); margin: 0 -18px; padding: 0 18px; gap: 23px; overflow-x: auto; border-top: 1px solid var(--line); white-space: nowrap; }
  .header nav a { flex: 0 0 auto; padding: 13px 0 12px; }
  .page-banner { min-height: 180px; padding: 45px 22px 34px; }
  .page-banner h1 { font-size: 28px; }
  .account-tabs { padding: 0 12px; overflow-x: auto; white-space: nowrap; }
  .service-guide { grid-template-columns: 1fr; padding: 45px 20px 65px; }
  .guide-card { min-height: 155px; }
  .guide-policy { grid-column: auto; grid-template-columns: 1fr; gap: 10px; }
}

/* Storefront v2: commerce-first UI, Plusback as an optional benefit module */
.storefront-v2 { background: #fff; color: #17151c; }
.storefront-v2 .utility-bar { display: flex; justify-content: space-between; align-items: center; min-height: 32px; padding: 0 max(5vw, 28px); background: #27222d; color: #ddd9e3; font-size: 10px; letter-spacing: .1px; }
.storefront-v2 .utility-bar > div { display: flex; gap: 22px; color: #aaa4b1; }
.storefront-v2 .header { display: block; height: auto; padding: 0; border-bottom: 1px solid #e9e6ed; box-shadow: 0 5px 18px #2d243008; }
.storefront-v2 .header-main { width: min(1240px, calc(100% - 56px)); min-height: 82px; margin: 0 auto; display: grid; grid-template-columns: 185px minmax(320px, 600px) 1fr; align-items: center; gap: 34px; }
.storefront-v2 .header .brand { display: inline-flex; align-items: baseline; width: max-content; font-size: 25px; }
.storefront-v2 .header .brand small { display: block; margin-left: 8px; color: #aaa5ae; font-size: 7px; font-weight: 800; letter-spacing: .9px; }
.storefront-v2 .global-search { height: 44px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; padding: 0 5px 0 14px; border: 1px solid #dcd7e2; border-radius: 9px; background: #fff; box-shadow: 0 4px 16px #463e4e0a; }
.storefront-v2 .global-search > span { color: #77717e; font-size: 22px; transform: rotate(-15deg); }
.storefront-v2 .global-search input { min-width: 0; border: 0; outline: 0; color: #28242d; font-size: 12px; }
.storefront-v2 .global-search input::placeholder { color: #aaa5ae; }
.storefront-v2 .global-search button { height: 34px; min-width: 58px; border: 0; border-radius: 7px; background: #6556e8; color: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
.storefront-v2 .header-actions { justify-content: flex-end; gap: 9px; }
.storefront-v2 .header-actions { min-width: 0; white-space: nowrap; }
.storefront-v2 .header-actions button { flex-shrink: 0; min-height: 42px; border-radius: 7px; padding: 9px 10px; font-size: 12px; }
.storefront-v2 .header-actions .register-button { color: var(--purple); font-weight: 700; }
.storefront-v2 .demo-user { min-width: 0; max-width: 110px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.storefront-v2 .account-role { flex-shrink: 0; }
.store-notice { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 40; width: max-content; max-width: calc(100% - 32px); border-radius: 10px; padding: 14px 20px; background: #292230; color: #fff; box-shadow: 0 8px 30px #211a2933; font-size: 13px; line-height: 1.6; }
.checkout-orders { width: 100%; margin-top: 12px; padding: 13px; cursor: pointer; }
.storefront-v2 .nav-row { min-height: 45px; border-top: 1px solid #f0edf2; display: flex; align-items: center; justify-content: space-between; padding: 0 max(calc((100% - 1240px) / 2), 28px); }
.storefront-v2 .nav-row nav { flex: 0 1 auto; gap: 34px; }
.storefront-v2 .header nav a { padding: 15px 0 13px; font-size: 11px; font-weight: 750; }
.storefront-v2 .nav-promise { color: #77717e; font-size: 9px; font-weight: 700; letter-spacing: .3px; }
.storefront-v2 .hero { width: 100%; min-height: 590px; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: 8vw; padding: 82px max(calc((100% - 1240px) / 2), 50px); background: radial-gradient(circle at 78% 22%, #eeeaff 0, transparent 26%), linear-gradient(126deg, #fbfaff 0%, #f5f3fb 55%, #efecfa 100%); }
.storefront-v2 .hero-copy { max-width: 650px; }
.storefront-v2 .hero h1 { margin: 18px 0 20px; font-size: clamp(43px, 4.4vw, 64px); line-height: 1.16; letter-spacing: -4.6px; }
.storefront-v2 .hero-copy > p { margin-bottom: 30px; color: #6f6875; font-size: 14px; line-height: 1.85; }
.storefront-v2 .hero-actions { display: flex; align-items: center; gap: 10px; }
.storefront-v2 .hero-actions a { display: inline-flex; justify-content: space-between; align-items: center; min-width: 170px; border: 1px solid #211d26; border-radius: 8px; padding: 14px 16px; background: #211d26; color: #fff; font-size: 11px; font-weight: 800; }
.storefront-v2 .hero-actions .hero-secondary { min-width: 150px; border-color: #d6d0dc; background: #fff9; color: #514a57; }
.storefront-v2 .hero-trust { display: flex; gap: 25px; margin-top: 35px; padding-top: 22px; border-top: 1px solid #dcd6e4; color: #7b7481; font-size: 10px; }
.storefront-v2 .hero-trust b { margin-right: 4px; color: #26212c; font-size: 13px; }
.storefront-v2 .hero-showcase { position: relative; border: 1px solid #ded8e8; border-radius: 22px; padding: 32px; background: #fff; box-shadow: 0 34px 75px #40344f24; transform: rotate(1.25deg); }
.storefront-v2 .showcase-label, .storefront-v2 .showcase-footer { display: flex; justify-content: space-between; align-items: center; }
.storefront-v2 .showcase-label span { color: #6556e8; font-size: 9px; font-weight: 900; letter-spacing: 1.2px; }
.storefront-v2 .showcase-label small { color: #aaa4ae; font-size: 9px; }
.storefront-v2 .showcase-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 37px 0 29px; }
.storefront-v2 .showcase-apps i { aspect-ratio: 1; display: grid; place-items: center; border-radius: 17px; background: #eeeaff; color: #6556e8; font-size: 24px; font-style: normal; font-weight: 900; }
.storefront-v2 .showcase-apps i:nth-child(2) { background: #fff0e5; color: #dc7441; }
.storefront-v2 .showcase-apps i:nth-child(3) { background: #e5f7ef; color: #278666; }
.storefront-v2 .showcase-apps i:nth-child(4) { background: #e8f3fd; color: #477fa8; }
.storefront-v2 .hero-showcase h2 { margin: 0 0 9px; font-size: 24px; letter-spacing: -1.5px; }
.storefront-v2 .hero-showcase > p { min-height: 42px; margin: 0 0 27px; color: #7d7682; font-size: 11px; line-height: 1.8; }
.storefront-v2 .showcase-footer { border-top: 1px solid #eeeaf1; padding-top: 19px; color: #665f6b; font-size: 10px; }
.storefront-v2 .showcase-footer a { color: #6556e8; font-weight: 800; }
.storefront-v2 .engine-chip { position: absolute; right: 22px; bottom: -15px; border-radius: 999px; padding: 9px 13px; background: #2c2731; color: #fff; font-size: 8px; font-weight: 800; box-shadow: 0 7px 17px #2c273140; }
.storefront-v2 .points { padding: 31px max(calc((100% - 1240px) / 2), 50px); background: #fff; }
.storefront-v2 .points > div { gap: 17px; padding: 4px 8% 4px 10%; }
.storefront-v2 .points > div:first-child { padding-left: 0; }
.storefront-v2 .points > div > b { font-size: 12px; }
.storefront-v2 .points span { font-size: 11px; }
.storefront-v2 .points strong { margin-bottom: 3px; font-size: 13px; }
.storefront-v2 .engine-connector { width: min(1240px, calc(100% - 80px)); margin: 80px auto 0; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 65px; border-radius: 22px; padding: 46px 52px; background: linear-gradient(120deg, #2b2631, #403451); color: #fff; box-shadow: 0 24px 54px #2d233426; }
.storefront-v2 .engine-connector .eyebrow { color: #c1b5ff; }
.storefront-v2 .engine-connector h2 { margin: 13px 0 12px; font-size: 30px; line-height: 1.35; letter-spacing: -2px; }
.storefront-v2 .engine-connector p { margin: 0; color: #c3bdc9; font-size: 11px; line-height: 1.8; }
.storefront-v2 .engine-connector ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 0; padding: 0; list-style: none; }
.storefront-v2 .engine-connector li { min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #ffffff25; border-radius: 12px; padding: 15px; background: #ffffff0a; }
.storefront-v2 .engine-connector li > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #7767f2; font-size: 9px; font-weight: 900; }
.storefront-v2 .engine-connector li b, .storefront-v2 .engine-connector li small { display: block; }
.storefront-v2 .engine-connector li b { margin-bottom: 5px; font-size: 11px; }
.storefront-v2 .engine-connector li small { color: #a9a2af; font-size: 8px; line-height: 1.5; }
.storefront-v2 .products { padding: 90px max(calc((100% - 1240px) / 2), 40px) 110px; background: #faf9fb; }
.storefront-v2 .section-title { margin-bottom: 28px; }
.storefront-v2 .section-title h2 { font-size: 34px; }
.storefront-v2 .section-title > p { font-size: 12px; }
.storefront-v2 .catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 16px; }
.storefront-v2 .category-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.storefront-v2 .category-chips button { border: 1px solid #ded9e2; border-radius: 999px; padding: 9px 14px; background: #fff; color: #6b646f; font-size: 10px; font-weight: 750; cursor: pointer; }
.storefront-v2 .category-chips button.active { border-color: #28232d; background: #28232d; color: #fff; }
.storefront-v2 .catalog-toolbar > label { display: flex; align-items: center; gap: 7px; color: #8d8791; font-size: 9px; }
.storefront-v2 .catalog-toolbar select { border: 1px solid #ded9e2; border-radius: 7px; padding: 8px 27px 8px 10px; background: #fff; color: #4e4853; font-size: 10px; }
.storefront-v2 .catalog-result { margin: 0 0 17px; color: #98929c; font-size: 10px; }
.storefront-v2 .product-grid { gap: 20px; }
.storefront-v2 .product-card { border: 1px solid #e6e1e9; border-radius: 13px; box-shadow: 0 8px 25px #3d334709; transition: transform .2s ease, box-shadow .2s ease; }
.storefront-v2 .product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 38px #3d334717; }
.storefront-v2 .product-image { height: auto; aspect-ratio: 1.32; }
.storefront-v2 .benefit-badge { position: absolute; right: 12px; bottom: 12px; border-radius: 999px; padding: 7px 9px; background: #2c2731e8; color: #fff; font-size: 8px; font-weight: 800; box-shadow: 0 5px 12px #2c27312b; }
.storefront-v2 .product-info { padding: 19px 18px 18px; }
.storefront-v2 .product-info h3 { margin: 8px 0; font-size: 15px; letter-spacing: -.5px; }
.storefront-v2 .product-info p { height: 36px; margin-bottom: 15px; font-size: 10px; line-height: 1.65; }
.storefront-v2 .product-price { display: flex; justify-content: space-between; align-items: end; min-height: 31px; margin-bottom: 14px; }
.storefront-v2 .product-price b { font-size: 16px; }
.storefront-v2 .product-price small { color: #aaa4ae; font-size: 8px; }
.storefront-v2 .product-actions { display: grid; grid-template-columns: 1.15fr .85fr; gap: 7px; }
.storefront-v2 .product-actions > button { min-height: 38px; border-radius: 7px; font-size: 10px; font-weight: 800; }
.storefront-v2 .buy-button { border-color: #5e4ee4; background: #6556e8; color: #fff; }
.storefront-v2 .buy-button:hover { background: #4f41ce; }
.storefront-v2 .prepurchase-button { border: 1px solid #dad5de; background: #fff; color: #625b67; }
.storefront-v2 .buyer-quick-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.storefront-v2 .page-banner { min-height: 235px; padding-top: 70px; background: radial-gradient(circle at 80% 5%, #e8e2ff, transparent 24%), linear-gradient(120deg, #f7f5fc, #fafafa); }
.storefront-v2 .page-banner h1 { font-size: 40px; }
.storefront-v2 .page-banner p { font-size: 13px; }
.storefront-v2 .checkout-box { width: min(550px, 100%); border-radius: 14px; box-shadow: 0 25px 80px #18131f4d; }
.storefront-v2 .checkout-header { padding: 34px 36px 25px; }
.storefront-v2 .checkout-header h2 { font-size: 24px; }
.storefront-v2 .checkout-body { padding: 25px 36px 34px; }
.storefront-v2 .mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border-radius: 9px; background: #f1eef4; }
.storefront-v2 .mode-tabs button { min-height: 38px; border: 0; border-radius: 7px; background: transparent; color: #807984; font-size: 10px; font-weight: 800; cursor: pointer; }
.storefront-v2 .mode-tabs button.active { background: #fff; color: #4336b3; box-shadow: 0 3px 9px #42354b14; }
.storefront-v2 .purchase-info { margin-top: 17px; border-radius: 9px; padding: 15px; background: #f8f7fa; }
.storefront-v2 .purchase-info b, .storefront-v2 .purchase-info span, .storefront-v2 .purchase-info small { display: block; }
.storefront-v2 .purchase-info span { margin-top: 5px; color: #77707b; font-size: 10px; line-height: 1.6; }
.storefront-v2 .purchase-info small { margin-top: 7px; color: #8a7fc2; font-size: 8px; }
.storefront-v2 .seller-form h3 small { margin-left: 5px; border-radius: 999px; padding: 4px 7px; background: #eeeafe; color: #6556e8; font-size: 8px; vertical-align: middle; }

@media (max-width: 1100px) {
  .storefront-v2 .header-main { grid-template-columns: auto 1fr; gap: 18px; min-height: 76px; }
  .storefront-v2 .global-search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 13px; }
  .storefront-v2 .header-actions { grid-column: 2; grid-row: 1; }
  .storefront-v2 .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .storefront-v2 .hero-showcase { max-width: 620px; transform: none; }
  .storefront-v2 .product-grid { grid-template-columns: repeat(2, 1fr); }
  .storefront-v2 .engine-connector { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 620px) {
  .storefront-v2 .utility-bar { justify-content: center; padding: 7px 15px; }
  .storefront-v2 .utility-bar > div, .storefront-v2 .nav-promise, .storefront-v2 .demo-user { display: none; }
  .storefront-v2 .header-main { width: calc(100% - 32px); }
  .storefront-v2 .header .brand small { display: none; }
  .storefront-v2 .header-actions { gap: 5px; }
  .storefront-v2 .header-actions button { padding: 8px; font-size: 11px; }
  .storefront-v2 .account-role { display: none; }
  .storefront-v2 .nav-row { padding: 0 16px; overflow: auto; }
  .storefront-v2 .nav-row nav { width: max-content; gap: 24px; }
  .storefront-v2 .hero { min-height: auto; padding: 55px 22px 65px; }
  .storefront-v2 .hero h1 { font-size: 39px; letter-spacing: -3px; }
  .storefront-v2 .hero-copy > p br { display: none; }
  .storefront-v2 .hero-actions { align-items: stretch; flex-direction: column; }
  .storefront-v2 .hero-actions a { width: 100%; }
  .storefront-v2 .hero-trust { gap: 13px; flex-wrap: wrap; }
  .storefront-v2 .hero-showcase { padding: 24px; }
  .storefront-v2 .showcase-apps { margin: 28px 0 22px; }
  .storefront-v2 .points { padding: 10px 22px; }
  .storefront-v2 .engine-connector { width: calc(100% - 36px); margin-top: 48px; padding: 32px 24px; }
  .storefront-v2 .engine-connector ol { grid-template-columns: 1fr; }
  .storefront-v2 .engine-connector li { min-height: 82px; }
  .storefront-v2 .products { padding: 58px 18px 75px; }
  .storefront-v2 .section-title h2 { font-size: 29px; }
  .storefront-v2 .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .storefront-v2 .product-grid { grid-template-columns: 1fr; }
  .storefront-v2 .product-info p { display: block; }
  .storefront-v2 .page-banner { min-height: 200px; padding: 48px 22px 34px; }
  .storefront-v2 .page-banner h1 { font-size: 32px; }
}

/* Shared finishing pass for catalog, account, seller and guide screens */
.storefront-v2 { --store-ink: #211a29; --store-muted: #716a78; --store-border: #e9e4ed; --store-soft: #f8f6fa; --store-accent: #5d3aa5; }
.storefront-v2 :is(button, a, input, select, textarea):focus-visible { outline: 3px solid #ad9bf4; outline-offset: 3px; }
.storefront-v2 .header { box-shadow: 0 8px 25px #23162e09; }
.storefront-v2 .nav-row nav { width: auto; margin: 0; padding: 0; border: 0; overflow-x: auto; scrollbar-width: none; }
.storefront-v2 .nav-row nav::-webkit-scrollbar { display: none; }
.storefront-v2 .page-banner { min-height: 194px; align-items: center; padding: 37px max(calc((100% - 1240px) / 2), 40px); border-bottom: 0; }
.storefront-v2 .page-banner > div { width: min(1240px, 100%); }
.storefront-v2 .page-banner h1 { margin: 10px 0 8px; font-size: clamp(30px, 3.1vw, 42px); letter-spacing: -2.6px; }
.storefront-v2 .page-banner p { max-width: 660px; color: #716978; font-size: 13px; line-height: 1.65; }
.storefront-v2 .account-tabs { gap: 24px; padding: 0 max(calc((100% - 1240px) / 2), 40px); overflow-x: auto; white-space: nowrap; scrollbar-width: none; box-shadow: 0 1px 0 #e8e2eb; }
.storefront-v2 .account-tabs::-webkit-scrollbar { display: none; }
.storefront-v2 .account-tabs a { padding: 18px 4px 16px; font-size: 12px; }
.storefront-v2 .account-tabs a:hover { color: var(--store-accent); }
.storefront-v2 .section-title > p { color: #756e7a; }
.storefront-v2 .product-card { display: flex; flex-direction: column; }
.storefront-v2 .product-info { flex: 1; display: flex; flex-direction: column; }
.storefront-v2 .product-info > small { color: #7d6d93; font-size: 9px; font-weight: 800; letter-spacing: .6px; }
.storefront-v2 .product-info h3 { min-height: 42px; font-size: 16px; line-height: 1.35; }
.storefront-v2 .product-info p { display: block; height: auto; min-height: 38px; color: #716c77; font-size: 11px; }
.storefront-v2 .product-price { margin-top: auto; border-top: 1px solid #f0edf1; padding-top: 14px; }
.storefront-v2 .product-price b { font-size: 19px; letter-spacing: -.6px; }
.storefront-v2 .product-actions { grid-template-columns: 1fr 1fr; }
.storefront-v2 .product-actions > button { min-height: 42px; }
.storefront-v2 .buyer-list-button { min-height: 35px; border-radius: 7px; font-size: 10px; }
.storefront-v2 .catalog-toolbar { border-bottom: 1px solid #e7e1e9; padding-bottom: 19px; }
.storefront-v2 .catalog-result { margin: 0 0 20px; font-size: 11px; }
.storefront-v2 .product-image .app-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 17px; }
.storefront-v2 .custom-product-copy { inset: 54px 24px 23px; border-radius: 14px; }
.storefront-v2 .custom-product-copy b { font-size: 19px; }
.storefront-v2 .service-guide { width: min(1240px, calc(100% - 80px)); margin: 0 auto; padding: 65px 0 85px; gap: 18px; }
.storefront-v2 .guide-card { position: relative; min-height: 225px; border-radius: 15px; padding: 28px; box-shadow: 0 10px 25px #2d21390c; }
.storefront-v2 .guide-card::after { content: '→'; position: absolute; right: 25px; top: 22px; color: #b4a8c8; font-size: 19px; }
.storefront-v2 .guide-card span { font-size: 10px; }
.storefront-v2 .guide-card h3 { margin-top: 40px; font-size: 23px; letter-spacing: -1px; }
.storefront-v2 .guide-card p { color: #716a78; font-size: 12px; line-height: 1.7; }
.storefront-v2 .guide-policy { gap: 20px; align-items: center; margin-top: 7px; border: 1px solid #dfd7ef; border-radius: 13px; padding: 24px 29px; background: #f6f2ff; }
.storefront-v2 .guide-policy b { font-size: 17px; }
.storefront-v2 .guide-policy p { color: #655d6e; font-size: 12px; }
.storefront-v2 .guide-help { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; border-top: 1px solid var(--store-border); padding: 32px 0 0; }
.storefront-v2 .guide-help h3 { margin: 8px 0; font-size: 23px; letter-spacing: -1px; }
.storefront-v2 .guide-help p { margin: 0; color: var(--store-muted); font-size: 12px; }
.storefront-v2 .guide-help a { display: flex; justify-content: space-between; gap: 35px; min-width: 185px; border-radius: 8px; padding: 14px 16px; background: var(--store-ink); color: #fff; font-size: 11px; font-weight: 800; }
.storefront-v2 .guide-help a:hover { background: var(--store-accent); }
.storefront-v2 .buyer-center { min-height: 520px; padding: 62px max(calc((100% - 1240px) / 2), 40px) 95px; background: #faf9fb; border: 0; }
.storefront-v2 .buyer-center-head { display: block; }
.storefront-v2 .buyer-center-head h2 { margin: 7px 0 4px; font-size: 27px; letter-spacing: -1.5px; }
.storefront-v2 .buyer-center-head p { margin: 0; color: var(--store-muted); font-size: 12px; }
.storefront-v2 .buyer-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.storefront-v2 .buyer-metrics span, .storefront-v2 .seller-metrics span { min-height: 103px; align-content: space-between; border: 1px solid var(--store-border); border-radius: 12px; padding: 18px 20px; background: #fff; box-shadow: 0 6px 16px #2e233307; }
.storefront-v2 .buyer-metrics small, .storefront-v2 .seller-metrics small { color: #817987; font-size: 11px; }
.storefront-v2 .buyer-metrics b, .storefront-v2 .seller-metrics b { color: var(--store-ink); font-size: 23px; letter-spacing: -.8px; }
.storefront-v2 .buyer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 35px; }
.storefront-v2 .buyer-columns > .shopping-panel { min-height: 315px; border: 1px solid var(--store-border); border-radius: 15px; padding: 26px; box-shadow: 0 8px 24px #2e233309; }
.storefront-v2 .list-heading { margin-bottom: 20px; }
.storefront-v2 .list-heading h3 { margin-top: 5px; font-size: 21px; letter-spacing: -1px; }
.storefront-v2 .list-heading > a { color: var(--store-accent); font-size: 11px; font-weight: 800; }
.storefront-v2 .list-heading > span { font-size: 12px; }
.storefront-v2 .empty-state { min-height: 215px; display: grid; align-content: center; justify-items: center; border: 1px dashed #e2dbe8; border-radius: 12px; padding: 24px; background: #fbfafc; text-align: center; }
.storefront-v2 .empty-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 14px; background: #ede7f6; color: #7858aa; font-size: 25px; line-height: 1; }
.storefront-v2 .empty-state b { color: #332b39; font-size: 14px; }
.storefront-v2 .empty-state p { max-width: 350px; margin: 8px 0 15px; color: #857c89; font-size: 11px; line-height: 1.6; }
.storefront-v2 .empty-state a { border: 1px solid #d6c7e8; border-radius: 7px; padding: 9px 13px; background: #fff; color: var(--store-accent); font-size: 10px; font-weight: 800; }
.storefront-v2 .empty-state a:hover { border-color: var(--store-accent); }
.storefront-v2 .catalog-empty { margin: 0 0 22px; background: #fff; }
.storefront-v2 .catalog-empty button { border: 1px solid #d6c7e8; border-radius: 7px; padding: 9px 13px; background: #fff; color: var(--store-accent); font-size: 10px; font-weight: 800; cursor: pointer; }
.storefront-v2 .catalog-empty button:hover { border-color: var(--store-accent); background: #faf7ff; }
body.storefront-v2[data-route="products"] .products { padding-top: 30px; }
body.storefront-v2[data-route="products"] .section-title { margin-bottom: 18px; }
body.storefront-v2[data-route="products"] .catalog-toolbar { margin-bottom: 10px; padding-bottom: 13px; }
body.storefront-v2[data-route="products"] .catalog-result { margin-bottom: 15px; }
@media (max-width: 620px) {
  body.storefront-v2[data-route="products"] .products { padding-top: 25px; }
}
.storefront-v2 .account-list { gap: 12px; }
.storefront-v2 .order-card { border: 1px solid var(--store-border); border-radius: 12px; padding: 20px 22px; gap: 9px; box-shadow: 0 7px 20px #2e233309; }
.storefront-v2 .order-card b { color: var(--store-ink); font-size: 15px; }
.storefront-v2 .order-card small { color: #817986; font-size: 11px; line-height: 1.55; }
.storefront-v2 .order-card em { color: var(--store-ink); font-size: 17px; }
.storefront-v2 .order-card > span { justify-self: end; border-radius: 999px; padding: 5px 9px; background: #eaf6ef; color: #23815c; font-size: 10px; }
.storefront-v2 .voucher-card > span { background: #f0ebfa; color: #6a49a3; }
.storefront-v2 .buyer-item .account-actions { flex-wrap: wrap; margin-top: 9px; }
.storefront-v2 .account-actions button, .storefront-v2 .buyer-item .account-actions a { border-radius: 7px; padding: 9px 12px; font-size: 10px; }
.storefront-v2 .cart-checkout-bar { margin-top: 22px; }
.storefront-v2 .cart-checkout-bar > button { min-height: 43px; }
.storefront-v2 .account-page { display: block; min-height: 550px; padding: 63px max(calc((100% - 1240px) / 2), 40px) 100px; background: #faf9fb; border: 0; }
.storefront-v2 .account-page-head { margin-bottom: 26px; }
.storefront-v2 .account-page-head h2 { margin: 8px 0 6px; font-size: 27px; letter-spacing: -1.4px; }
.storefront-v2 .account-page-head p { margin: 0; color: var(--store-muted); font-size: 12px; }
.storefront-v2 .account-page > .empty-state { min-height: 280px; background: #fff; }
.storefront-v2 .account-page > .account-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.storefront-v2 .seller-page { display: block; background: #faf9fb; }
.storefront-v2 .seller-page-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.storefront-v2 .seller-page-head h2 { margin: 7px 0 5px; font-size: 28px; letter-spacing: -1.4px; }
.storefront-v2 .seller-page-head p { margin: 0; color: var(--store-muted); font-size: 12px; }
.storefront-v2 .seller-open { width: auto; min-width: 156px; justify-content: center; border-radius: 8px; padding: 13px 18px; font-size: 11px; }
.storefront-v2 .seller-intro { margin-top: 20px; border: 1px solid #e6dfec; border-radius: 11px; padding: 15px 18px; background: #f6f2fa; }
.storefront-v2 .seller-intro p { color: #625a6a; font-size: 12px; }
.storefront-v2 .seller-product-list { margin-top: 20px; }
.storefront-v2 .seller-operations { margin-top: 45px; border-top-color: var(--store-border); padding-top: 30px; }
.storefront-v2 .seller-operation-head h3 { font-size: 24px; letter-spacing: -1px; }
.storefront-v2 .seller-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.storefront-v2 .seller-operations > .empty-state { min-height: 225px; background: #fff; }
.storefront-v2 .seller-form h3 { margin: 18px 0 2px; padding-bottom: 12px; font-size: 15px; }
.storefront-v2 .seller-form label, .storefront-v2 .auth-form label, .storefront-v2 .amount-field { color: #4d4455; font-size: 12px; }
.storefront-v2 .seller-form input, .storefront-v2 .seller-form select, .storefront-v2 .seller-form textarea, .storefront-v2 .auth-form input, .storefront-v2 .auth-form select, .storefront-v2 .amount-field input, .storefront-v2 .amount-field select { min-height: 43px; border-radius: 8px; padding: 11px 12px; font-size: 12px; }
.storefront-v2 .seller-check { border: 1px solid #e3dced; border-radius: 9px; padding: 13px; background: #f8f5fb; }
.storefront-v2 .seller-check input { width: 17px; height: 17px; min-height: 0; accent-color: var(--store-accent); }
.storefront-v2 .seller-live-preview { padding: 18px; }
.storefront-v2 .seller-live-preview b { font-size: 15px; }
.storefront-v2 .seller-live-preview span { font-size: 11px; }
.storefront-v2 .checkout-box { width: min(590px, 100%); }
.storefront-v2 .checkout-header p { font-size: 12px; line-height: 1.7; }
.storefront-v2 .mode-tabs { margin-bottom: 18px; }
.storefront-v2 .mode-tabs button { font-size: 11px; }
.storefront-v2 .checkout-button { min-height: 46px; align-items: center; border-radius: 8px; padding: 13px 17px; font-size: 12px; }
.storefront-v2 .payment-summary { border-radius: 9px; padding: 15px 18px; }
.storefront-v2 .payment-summary p { font-size: 12px; }
.storefront-v2 .payment-summary .total b { font-size: 20px; }
.storefront-v2 .route-access { min-height: 470px; }
.storefront-v2 .route-access p { font-size: 12px; }
.storefront-v2 footer { border-top: 1px solid var(--store-border); background: #fff; }

@media (max-width: 900px) {
  .storefront-v2 .buyer-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storefront-v2 .buyer-columns { grid-template-columns: 1fr; }
  .storefront-v2 .account-page > .account-list { grid-template-columns: 1fr; }
  .storefront-v2 .service-guide { width: calc(100% - 44px); grid-template-columns: 1fr; padding: 44px 0 65px; }
  .storefront-v2 .guide-card { min-height: 165px; }
  .storefront-v2 .guide-card h3 { margin-top: 24px; }
  .storefront-v2 .guide-policy { grid-column: auto; grid-template-columns: 1fr; }
  .storefront-v2 .guide-help { grid-column: auto; }
}

@media (max-width: 620px) {
  .storefront-v2 .nav-row nav { gap: 18px; }
  .storefront-v2 .header nav a { font-size: 10px; }
  .storefront-v2 .page-banner { min-height: 160px; padding: 30px 22px; }
  .storefront-v2 .page-banner h1 { font-size: 30px; }
  .storefront-v2 .page-banner p { font-size: 11px; }
  .storefront-v2 .account-tabs { gap: 19px; padding: 0 20px; }
  .storefront-v2 .account-tabs a { padding: 15px 2px 13px; font-size: 11px; }
  .storefront-v2 .buyer-center, .storefront-v2 .account-page { min-height: 0; padding: 39px 20px 68px; }
  .storefront-v2 .buyer-center-head h2, .storefront-v2 .account-page-head h2 { font-size: 24px; }
  .storefront-v2 .buyer-metrics { gap: 9px; margin-top: 20px; }
  .storefront-v2 .buyer-metrics span { min-height: 85px; padding: 13px; }
  .storefront-v2 .buyer-metrics small { font-size: 10px; }
  .storefront-v2 .buyer-metrics b { font-size: 18px; }
  .storefront-v2 .buyer-columns { gap: 14px; margin-top: 23px; }
  .storefront-v2 .buyer-columns > .shopping-panel { min-height: 0; padding: 19px; }
  .storefront-v2 .empty-state { min-height: 200px; }
  .storefront-v2 .seller-page-head { align-items: flex-start; flex-direction: column; }
  .storefront-v2 .seller-open { width: 100%; }
  .storefront-v2 .seller-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storefront-v2 .seller-metrics span { min-height: 85px; padding: 13px; }
  .storefront-v2 .seller-metrics b { font-size: 17px; }
  .storefront-v2 .guide-help { align-items: stretch; flex-direction: column; }
  .storefront-v2 .guide-help a { width: 100%; }
  .storefront-v2 .product-info h3 { min-height: 0; }
  .storefront-v2 .product-info p { min-height: 0; }
}

.storefront-v2 .product-detail-box { width: min(900px, 100%); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); overflow: auto; }
.storefront-v2 .product-detail-box .checkout-header { display: flex; flex-direction: column; justify-content: center; border: 0; border-right: 1px solid #e8e1ee; padding: 36px; background: #f8f5fc; }
.storefront-v2 .detail-art { aspect-ratio: 1.18; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; border: 1px solid #e4dbf1; border-radius: 17px; padding: 22px; background: radial-gradient(circle at 85% 15%, #eee8ff, transparent 30%), linear-gradient(140deg, #e9e4fb, #f6f1ff); }
.storefront-v2 .detail-art > span { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 18px; background: #fff; color: #5743b1; font-size: 30px; font-weight: 900; box-shadow: 0 12px 23px #3d2f5e24; }
.storefront-v2 .detail-art small { color: #796994; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; }
.storefront-v2 .product-detail-box .checkout-header h2 { margin: 13px 0 9px; font-size: 26px; line-height: 1.35; letter-spacing: -1.4px; }
.storefront-v2 .product-detail-box .checkout-header p { color: #69616f; font-size: 13px; }
.storefront-v2 .detail-assurance { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.storefront-v2 .detail-assurance span { border: 1px solid #dcd2e9; border-radius: 999px; padding: 7px 9px; background: #fff9; color: #685977; font-size: 9px; font-weight: 750; }
.storefront-v2 .product-detail-box .checkout-body { align-self: center; padding: 39px 34px; }
.storefront-v2 .seller-box { width: min(690px, 100%); }
.storefront-v2 .seller-policy-fields { display: grid; gap: 13px; border: 1px solid #e5dfee; border-radius: 10px; padding: 16px; background: #fbf9fd; }
.storefront-v2 .seller-policy-fields[hidden] { display: none !important; }

@media (max-width: 760px) {
  .storefront-v2 .product-detail-box { width: min(590px, 100%); grid-template-columns: 1fr; }
  .storefront-v2 .product-detail-box .checkout-header { padding: 23px 25px 20px; border-right: 0; border-bottom: 1px solid #e8e1ee; }
  .storefront-v2 .detail-art { aspect-ratio: auto; height: 102px; flex-direction: row; align-items: end; margin-bottom: 15px; padding: 15px; }
  .storefront-v2 .detail-art > span { width: 51px; height: 51px; border-radius: 13px; font-size: 23px; }
  .storefront-v2 .product-detail-box .checkout-header h2 { margin: 8px 0 5px; font-size: 22px; }
  .storefront-v2 .detail-assurance { margin-top: 12px; }
  .storefront-v2 .product-detail-box .checkout-body { padding: 22px 25px 28px; }
}
