/* Sold Orders: measurements and type artwork from the selected Figma frames. */
@font-face { font-family: 'VS Sales Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lato/Lato-Regular.ttf') format('truetype'); }
@font-face { font-family: 'VS Sales Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lato/Lato-Bold.ttf') format('truetype'); }
.vs-sales { font-family: 'VS Sales Lato', sans-serif; }
body:has(.vs-sales:not(.vs-sale-detail)) #app.container { width: calc(100% - 48px); max-width: 1240px; padding: 0; }
/* Keep the shared header layout on sales. The sales content is narrower than
   the site container, so the header is extended to the same desktop width as
   the other pages. */
@media (min-width: 1401px) {
    body:has(.vs-sales:not(.vs-sale-detail)) .picodevs-header {
        width: calc(100% + 56px);
        margin-right: -28px;
        margin-left: -28px;
    }
}
.vs-sales { --vs-red: #ff2525; color: #b6b6b6; padding-bottom: 32px; }
.vs-sales *, .vs-sales *::before, .vs-sales *::after { box-sizing: border-box; }
.vs-sales button, .vs-sales input, .vs-sales select { font: inherit; }
.vs-sales button:focus-visible, .vs-sales a:focus-visible, .vs-sales input:focus-visible, .vs-sales select:focus-visible { outline: 2px solid #67b7f4; outline-offset: 4px; }
.vs-sales [hidden] { display: none !important; }
.vs-sales .vs-promo { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 56px; padding: 5px 8px 5px 32px; margin-bottom: 26px; border: 1px solid #454545; border-radius: 30px; background: #182026; font-size: 12px; }
.vs-sales .vs-promo > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-sales .vs-see-all { flex: 0 0 auto; display: grid; place-items: center; min-width: 136px; min-height: 42px; border-radius: 30px; background: var(--vs-red); color: #fff; font-size: 12px; font-weight: 400; }
.vs-sales .vs-see-all:hover { background: #e82e2e; }
.vs-sales .vs-notice { display: flex; align-items: center; gap: 12px; min-height: 80px; margin-bottom: 36px; padding: 16px 28px; border: 1px solid #444; border-radius: 30px; background: #0d0d0d; color: #db5341; font-size: 12px; position: relative; }
.vs-sales .vs-notice::before { position: absolute; content: ''; width: 3px; height: 26px; top: 50%; left: -1px; transform: translateY(-50%); background: #50b0f5; border-radius: 2px; }
.vs-sales .vs-notice-label { color: #aaa; }
.vs-sales .vs-notice-dot { flex: 0 0 16px; height: 16px; border: 2px solid #2c6e50; border-radius: 50%; background: #57df97; box-shadow: 0 0 6px #3fc68a66; }
.vs-sales .vs-orders { overflow: hidden; border: 1px solid transparent; border-radius: 30px; background: linear-gradient(#252525, #252525) padding-box, linear-gradient(135deg, #707070d9, #57575700) border-box; }
.vs-sales .vs-orders-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 26px 31px 34px 26px; }
.vs-sales .vs-title-line { display: flex; align-items: center; gap: 8px; color: #fff; }
.vs-sales .vs-cart { flex: 0 0 28px; }
.vs-sales h1 { margin: 0; font-size: 28px; line-height: 34px; font-weight: 700; color: #fff; }
.vs-sales .vs-results { margin: 6px 0 0; color: #aaa; font-size: 16px; line-height: 22px; }
.vs-sales .vs-head-tools { display: flex; align-items: center; gap: 24px; margin-top: -6px; }
.vs-sales .vs-control { display: flex; align-items: center; gap: 8px; width: 211px; height: 48px; margin: 0; padding: 5px 8px 5px 20px; border: 1px solid #454545; border-radius: 30px; color: #aaa; }
.vs-sales .vs-control:focus-within { border-color: #6bb6ed; }
.vs-sales .vs-control input, .vs-sales .vs-control select { min-width: 0; width: 100%; padding: 0; border: 0; background: transparent; outline: none; font-size: 12px; color: #b6b6b6; }
.vs-sales .vs-control input::placeholder { color: #a4a4a4; opacity: 1; }
.vs-sales .vs-control select { appearance: none; cursor: pointer; }
.vs-sales .vs-control select option { background: #272727; color: #fff; }
.vs-sales .vs-search-icon { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border: 1px solid #666; border-radius: 50%; box-shadow: 0 0 0 3px #ffffff08; color: #d0d0d0; font-size: 14px; pointer-events: none; }
.vs-sales .vs-tabs { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 32px; margin: 8px 31px 24px 26px; overflow-x: auto; scrollbar-width: thin; }
.vs-sales .vs-tab { flex: 0 0 auto; padding: 6px 10px; border: 1px solid transparent; border-radius: 30px; background: transparent; color: #aaa; white-space: nowrap; font-size: 12px; line-height: 18px; font-weight: 400; }
.vs-sales .vs-tab:hover { color: #fff; }
.vs-sales .vs-tab.active { border-color: var(--vs-red); background: transparent; color: var(--vs-red); }
.vs-sales #sales-results, .vs-sales #orders-results { transition: opacity .12s; }
.vs-sales #sales-results[aria-busy="true"], .vs-sales #orders-results[aria-busy="true"] { opacity: .45; pointer-events: none; }
.vs-sales .vs-load-error { margin: 0 32px 16px; color: #ff8980; font-size: 13px; }
.vs-sales .vs-retry { padding: 0 4px; background: none; color: #71baf2; text-decoration: underline; }
.vs-sales .vs-table-wrap { min-height: 354px; margin: 0 31px 0 26px; padding: 24px 24px 0; overflow-x: auto; overflow-y: hidden; border-radius: 24px; background: #0d0d0d4d; }
.vs-sales .vs-table { width: 100%; min-width: 760px; margin: 0; table-layout: fixed; border-collapse: separate; border-spacing: 0; color: #c8c8c8; }
.vs-sales .vs-date-col { width: 17%; }
.vs-sales .vs-product-col { width: 43%; }
.vs-sales .vs-type-col { width: 10%; }
.vs-sales .vs-status-col { width: 16%; }
.vs-sales .vs-price-col { width: 14%; }
.vs-sales .without-status .vs-product-col { width: 55%; }
.vs-sales .without-status .vs-price-col { width: 18%; }
.vs-sales .vs-table th { height: 46px; padding: 12px 16px; border: 0; background: #0d0d0d; color: #dedede; font-size: 14px; line-height: 20px; font-weight: 400; text-align: center; white-space: nowrap; }
.vs-sales .vs-table th:first-child { padding-left: 28px; border-radius: 30px 0 0 30px; text-align: left; }
.vs-sales .vs-table th:last-child { border-radius: 0 30px 30px 0; }
.vs-sales .vs-table td { height: 100px; padding: 16px; border: 0; border-bottom: 1px solid #ffffff0c; background: transparent; vertical-align: middle; text-align: center; font-size: 14px; line-height: 20px; }
.vs-sales .vs-table tbody tr:last-child td { border-bottom-color: transparent; }
.vs-sales .vs-order-row { cursor: pointer; }
.vs-sales .vs-order-row:hover td, .vs-sales .vs-order-row:focus-visible td { background: #323232; }
.vs-sales .vs-order-row:focus-visible { outline: 2px solid #63b6f4; outline-offset: -2px; }
.vs-sales .vs-order-row td:first-child { border-radius: 12px 0 0 12px; }
.vs-sales .vs-order-row td:last-child { border-radius: 0 12px 12px 0; }
.vs-sales .vs-table .vs-date { padding-left: 28px; text-align: left; color: #b6b6b6; font-size: 18px; line-height: 22px; white-space: nowrap; }
.vs-sales .vs-product-title { color: #3cadff; font-size: 18px; line-height: 22px; font-weight: 400; overflow-wrap: anywhere; }
.vs-sales .vs-product-title:hover { color: #9dd1f7; text-decoration: underline; }
.vs-sales .vs-product-meta { margin-top: 5px; font-size: 14px; line-height: 20px; font-weight: 500; color: #b6b6b6; overflow-wrap: anywhere; }
.vs-sales .vs-proof { margin-top: 4px; font-size: 12px; line-height: 18px; color: #d9b149; }
.vs-sales .vs-type-image { display: block; width: 44px; height: 44px; margin: auto; object-fit: cover; }
.vs-sales .vs-table .vs-price { color: #eee; font-size: 18px; line-height: 22px; white-space: nowrap; font-weight: 400; }
.vs-sales .vs-status { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 16px; border: 1px solid currentColor; border-radius: 30px; font-size: 12px; line-height: 16px; white-space: nowrap; }
.vs-sales .is-new, .vs-sales .is-pending { color: #6bb5ed; }
.vs-sales .is-preparing { color: #d4aa5d; }
.vs-sales .is-delivering { color: #b198d9; }
.vs-sales .is-delivered, .vs-sales .is-completed { color: #70bd95; }
.vs-sales .is-cancelled, .vs-sales .is-issue { color: #ca5d50; }
.vs-sales .vs-table .vs-empty-row td { padding: 0; height: auto; border: 0; }
.vs-sales .vs-empty { display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 284px; padding: 36px 20px 32px; text-align: center; }
.vs-sales .vs-empty svg { flex: 0 0 64px; margin-bottom: 30px; color: #eee; }
.vs-sales .vs-empty h2 { margin: 0 0 32px; font-size: 16px; line-height: 22px; font-weight: 700; color: #6bb7ee; }
.vs-sales .vs-empty p { margin: 0 0 6px; color: #aaa; font-size: 12px; line-height: 18px; }
.vs-sales .vs-empty > span { color: #d45344; font-size: 12px; line-height: 18px; }
.vs-sales .vs-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 24px 32px 0; }
.vs-sales .vs-pagination a { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid #444; border-radius: 20px; background: transparent; color: #b6b6b6; font-size: 20px; line-height: 20px; font-weight: 500; text-decoration: none; }
.vs-sales .vs-pagination .vs-page-arrow { width: 54px; height: 54px; border-radius: 20px; font-size: 16px; }
.vs-sales .vs-pagination .is-current, .vs-sales .vs-pagination a:hover { border-color: transparent; background: linear-gradient(var(--vs-red), var(--vs-red)) padding-box, linear-gradient(135deg, #707070d9, #57575700) border-box; color: #fff; }
.vs-sales .vs-pagination .is-disabled { opacity: .4; pointer-events: none; }
.vs-sales .vs-page-ellipsis { color: #999; }
.vs-sales .vs-social-footer { position: relative; display: flex; justify-content: center; margin: 48px 26px 55px; }
.vs-sales .vs-social-footer::before { position: absolute; top: 50%; left: 50%; width: 1078px; max-width: 100%; height: 1px; transform: translate(-50%, -50%); background: linear-gradient(90deg, #b6b6b614, #b6b6b6, #b6b6b614); content: ''; }
.vs-sales .vs-social-capsule { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; width: 608px; max-width: 100%; min-height: 58px; padding: 10px 24px 10px 18px; border: 1px solid transparent; border-radius: 30px; background: linear-gradient(#ffffff1a, #ffffff1a) padding-box, linear-gradient(135deg, #707070d9, #57575700) border-box; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.vs-sales .vs-social-links { display: flex; align-items: center; gap: 12px; }
.vs-sales .vs-social-link { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #b6b6b6; border-radius: 50%; color: #b6b6b6; font-size: 14px; }
.vs-sales .vs-social-link:hover { border-color: var(--vs-red); background: var(--vs-red); color: #fff; }
.vs-sales .vs-social-caption { color: #b6b6b6; font-size: 14px; line-height: 16.38px; letter-spacing: -0.07px; white-space: nowrap; }
@media (max-width: 1199px) {
    .vs-sales .vs-tabs { justify-content: flex-start; }
    .vs-sales .vs-tab { font-size: 11px; }
    .vs-sales .vs-head-tools { gap: 12px; }
    .vs-sales .vs-control { width: 180px; }
}
@media (max-width: 767px) {
    body:has(.vs-sales:not(.vs-sale-detail)) #app.container { width: calc(100% - 32px); }
    .vs-sales .vs-promo { padding-left: 16px; gap: 12px; font-size: 11px; margin-bottom: 20px; }
    .vs-sales .vs-see-all { min-width: 88px; min-height: 38px; font-size: 11px; }
    .vs-sales .vs-notice { min-height: 72px; padding: 16px; margin-bottom: 24px; border-radius: 24px; }
    .vs-sales .vs-orders { border-radius: 24px; }
    .vs-sales .vs-orders-head { flex-direction: column; gap: 20px; padding: 24px 16px 20px; }
    .vs-sales h1 { font-size: 24px; }
    .vs-sales .vs-results { font-size: 14px; }
    .vs-sales .vs-head-tools { width: 100%; margin-top: 0; }
    .vs-sales .vs-control { flex: 1; width: 0; height: 42px; padding-left: 12px; }
    .vs-sales .vs-search-icon { flex-basis: 24px; height: 24px; font-size: 11px; }
    .vs-sales .vs-tabs { margin: 0 16px 16px; }
    .vs-sales .vs-table-wrap { margin: 0 16px; padding: 12px 12px 0; border-radius: 16px; }
    .vs-sales .vs-table-wrap.is-empty { min-height: 0; }
    .vs-sales .is-empty .vs-table { min-width: 0; }
    .vs-sales .is-empty .vs-table th { font-size: 9px; padding: 8px 2px; }
    .vs-sales .is-empty .vs-table th:first-child { padding-left: 4px; }
    .vs-sales .vs-empty { min-height: 320px; padding: 28px 8px; }
    .vs-sales .vs-empty h2 { margin-bottom: 24px; }
    .vs-sales .vs-pagination { margin: 20px 16px 0; }
    .vs-sales .vs-social-footer { margin: 32px 16px; }
    .vs-sales .vs-social-capsule { flex-wrap: wrap; justify-content: center; gap: 12px; padding: 12px 16px; }
    .vs-sales .vs-social-caption { white-space: normal; text-align: center; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .vs-sales #sales-results, .vs-sales #orders-results { transition: none; } }
