.commerce-store, .commerce-seller, .used-market {
  --commerce-line: #dce6de;
  --commerce-label: #52675a;
  --commerce-accent: #315e48;
}
.commerce-store > h3 { margin-top: 14px; }
:is(.commerce-store, .used-market) { margin-block: 22px 30px; }
:is(.commerce-shopping-heading, .used-market-heading) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 16px; }
:is(.commerce-shopping-heading, .used-market-heading) h1 { margin: 0; color: #243b30; font-size: clamp(1.65rem,3.5vw,2.28rem); line-height: 1.2; }
.commerce-shopping-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.commerce-shopping-actions .quiet-button[aria-current] { background: #e9f2e5; color: #325d47; }
.commerce-order-wallet { display: inline-flex; align-items: center; gap: 5px; color: var(--commerce-label); font-size: .82rem; }
.commerce-catalog-tools { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 11px; padding-bottom: 12px; }
.commerce-catalog-tools .factory-mall-filters { grid-column: 1 / -1; }
.commerce-catalog-search { display: grid; gap: 4px; width: min(100%, 420px); color: var(--commerce-label); font-size: .8rem; font-weight: 700; }
.commerce-catalog-search .commerce-search { width: 100%; font-size: .875rem; font-weight: 400; }
.commerce-catalog-query { margin: 0 0 8px; color: var(--commerce-label); font-size: .8rem; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  :is(.commerce-store, .used-market) { margin-block: 14px 20px; }
  :is(.commerce-shopping-heading, .used-market-heading) { margin-bottom: 11px; }
  .commerce-shopping-actions :is(a,button) { padding-inline: 9px; font-size: .81rem; }
  .commerce-catalog-tools { grid-template-columns: minmax(0,1fr); gap: 7px; }
  .commerce-catalog-tools .factory-mall-sort { justify-content: space-between; }
}
.commerce-search, .commerce-select { min-width: 0; min-height: 40px; padding: 6px 10px; border: 1px solid #cfdcd2; border-radius: 8px; color: #243c30; background: #fff; font: inherit; }
.commerce-store > .commerce-search { width: min(100%, 410px); }
.commerce-empty { grid-column: 1 / -1; color: #5f6d63; text-align: center; padding: 24px 12px; border-radius: 10px; border: 1px dashed #dce6dd; }
.commerce-error { color: #934e33; font-size: .84rem; margin-block: 4px; }
.commerce-card-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-block: auto 0; }
.commerce-store .factory-mall-card-body > :is(a,button) { display: flex; justify-content: center; min-height: 39px; margin-top: 5px; padding: 4px 5px; font-size: .86rem; line-height: 1.2; text-align: center; }
.commerce-store .factory-mall-card-body > :is(a,button):hover { background: #ebf3eb; color: #28543f; }
.commerce-crumb { display: flex; align-items: center; gap: 12px; color: #5a6e61; font-size: .89rem; }
.commerce-store .factory-mall-detail { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); align-items: start; gap: clamp(18px, 4vw, 42px); }
.commerce-store .factory-mall-detail-copy { gap: 16px; }
.commerce-store .commerce-product-summary h2 { margin: 5px 0 10px; font-size: clamp(23px, 3vw, 34px); line-height: 1.17; overflow-wrap: anywhere; }
.commerce-product-review-link { display: flex; align-items: center; width: fit-content; min-height: 34px; margin-top: 8px; background: #f2f6f0; color: #365b46; }
.commerce-store .factory-mall-price { letter-spacing: -.035em; }
.commerce-store .factory-mall-detail .factory-mall-price { font-size: clamp(26px, 3vw, 34px); }
.commerce-gallery { display: grid; gap: 9px; min-width: 0; }
.commerce-gallery-main { display: grid; aspect-ratio: 1; }
.commerce-gallery-main .factory-mall-photo { width: 100%; height: 100%; object-fit: contain; }
.commerce-thumbnails { display: flex; gap: 7px; flex-wrap: wrap; }
.commerce-thumbnails button { overflow: hidden; display: block; width: 63px; height: 63px; padding: 2px; }
.commerce-thumbnails button[aria-pressed='true'] { outline: 2px solid #589272; outline-offset: -2px; }
.commerce-thumbnails .factory-mall-photo { border: 0; border-radius: 4px; }
.commerce-delivery { display: grid; gap: 5px; padding: 10px 13px; border-block: 1px solid #e6ece6; color: #485c50; }
.commerce-store .factory-mall-detail-copy input[type='number'] { max-width: 92px; }
.commerce-store .factory-mall-links > :is(a,button) { flex: 1 1 126px; min-height: 45px; justify-content: center; }
.commerce-store [aria-disabled='true'] { opacity: .55; cursor: default; }
.commerce-store .factory-mall-links { margin-top: 3px; }
.commerce-product-information { display: grid; gap: 14px; }
.commerce-store .factory-mall-detail + .commerce-product-information { margin-top: clamp(24px, 4vw, 44px); }
.commerce-product-sections { display: flex; align-items: stretch; gap: 4px; padding: 5px; border: 1px solid #dce7dd; border-radius: 10px; background: #eef4ed; }
.commerce-product-sections button { flex: 1 1 0; min-width: 0; min-height: 42px; padding-inline: 5px; border: 0; color: #315744; background: #fff; font-size: .88rem; }
.commerce-product-sections button:hover { background: #ddeade; }
.commerce-product-section { align-content: start; gap: 12px; padding: clamp(13px, 2.4vw, 24px); scroll-margin-top: 18px; }
.commerce-product-section h2 { margin: 0; color: #243f33; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.commerce-product-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: 10px; margin: 0; padding: 12px; border-radius: 8px; background: #f2f6f0; }
.commerce-product-specs dt { color: #587061; font-size: .77rem; }
.commerce-product-specs dd { margin: 2px 0 0; overflow-wrap: anywhere; font-weight: 650; }
.commerce-product-section > h3 { margin-block: 8px 0; color: #354f43; font-size: .98rem; }
.commerce-product-section > a, .commerce-review-write a { width: fit-content; text-decoration: underline; text-underline-offset: 3px; }
.commerce-review-heading, .commerce-review-meta, .commerce-review-write { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; }
.commerce-review-heading { justify-content: space-between; }
.commerce-review-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; }
.commerce-review-filters .commerce-field { flex: 0 1 150px; min-width: 110px; }
.commerce-review-filters select { width: 100%; min-height: 44px; }
.commerce-product-section > .commerce-feedback:empty { display: none; }
.commerce-review-score, .commerce-review-stars { color: #765018; font-weight: 700; }
.commerce-review { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid #e1ebe3; }
.commerce-review-meta small { margin-left: auto; color: #556958; }
.commerce-review-verified { padding: 2px 7px; border-radius: 5px; color: #315a46; background: #edf4eb; font-size: .75rem; }
.commerce-review-write { justify-content: space-between; color: #4d6256; font-size: .88rem; }
.commerce-review-write p { margin: 0; }
.commerce-order-review { padding: 9px 0; border-bottom: 1px solid #e2ece3; }
.commerce-order-review summary { color: #304e40; font-weight: 700; cursor: pointer; }
.commerce-order-review form { display: grid; gap: 9px; margin-top: 9px; }
.commerce-order-review form select { max-width: 155px; }
.commerce-order-review form button { justify-self: start; }
.commerce-bar, .commerce-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.commerce-bar { padding-block: 13px; }
.commerce-bar select { min-height: 36px; border: 1px solid var(--commerce-line); border-radius: 8px; background: #fff; padding: 3px 8px; }
.commerce-status { display: inline-flex; align-items: center; background: #edf4e9; border-radius: 7px; padding: 4px 9px; color: #355b45; font-size: .81rem; font-weight: 750; }
.commerce-store .factory-mall-detail + *, .commerce-store > .commerce-panel + .commerce-panel { margin-top: 14px; }
.commerce-description, .commerce-thread p { white-space: pre-wrap; overflow-wrap: anywhere; }
.commerce-store .factory-mall-card { transition: border-color .15s ease; }
.commerce-store .factory-mall-photo-button, .commerce-gallery-main { position: relative; overflow: hidden; }
.commerce-stock-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 3px; background: #353b3c78; color: #fff; pointer-events: none; text-shadow: 0 1px 4px #2229; }
.commerce-stock-cover strong { font-size: clamp(15px, 1.7vw, 23px); font-weight: 800; letter-spacing: -.02em; }
.commerce-stock-cross { font-size: clamp(62px, 8vw, 116px); font-weight: 350; line-height: .78; }
.commerce-gallery-main .commerce-stock-cover { border-radius: 13px; }
.commerce-store .factory-mall-card .factory-mall-cap { margin-top: 3px; }
.commerce-placeholder { display: grid; place-items: center; text-align: center; color: #596b60; }
.commerce-checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 13px; }
.commerce-panel { min-width: 0; display: grid; align-content: start; gap: 9px; padding: clamp(13px, 2.2vw, 22px); border: 1px solid var(--commerce-line, #dce6de); border-radius: 13px; background: #fff; overflow-wrap: anywhere; }
.commerce-panel h2, .commerce-panel h3, .commerce-panel p { margin: 0; }
.commerce-panel h3 { font-size: 1.07rem; }
.commerce-order-product { display: flex; align-items: center; gap: 9px; padding-block: 5px; }
.commerce-order-product .factory-mall-photo { width: 47px; flex: none; border: 1px solid #e5ebe5; border-radius: 7px; font-size: 8px; }
.commerce-form, .commerce-field { display: grid; gap: 8px; min-width: 0; }
.commerce-field { gap: 3px; color: var(--commerce-label, #52675a); font-size: .84rem; font-weight: 700; }
.commerce-field :is(input, textarea) { min-width: 0; width: 100%; min-height: 39px; color: #253a30; font: inherit; font-weight: 500; background: #fcfdfc; padding: 6px 9px; border: 1px solid #cfdcd2; border-radius: 8px; }
.commerce-field textarea { resize: vertical; min-height: 76px; }
.commerce-field :is(input,textarea):focus { outline: 2px solid #7aab90; outline-offset: 1px; }
.commerce-inline:has(.commerce-field), form.commerce-bar { align-items: end; }
.commerce-inline > .commerce-field { flex: 1 1 135px; }
.commerce-totals { display: grid; gap: 3px; background: #f5f8f4; border-radius: 8px; padding: 11px; font-variant-numeric: tabular-nums; }
.commerce-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; }
.commerce-total-row:last-child { border-top: 1px solid #d8e5d7; margin-top: 4px; padding-top: 6px; color: #234c37; }
.commerce-total-row:last-child strong { font-size: 1.2rem; }
.commerce-feedback { margin: 5px 0; color: #694515; font-size: .86rem; }
.commerce-feedback:empty { display: none; }
.commerce-order-list { display: grid; gap: 8px; margin-block: 12px; }
.commerce-summary { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
.commerce-thread { background: #f6f9f5; border-radius: 8px; padding: 9px; }
.commerce-order-lines { display: grid; gap: 3px; }
.commerce-card-badges .factory-mall-cap { white-space: nowrap; }
.commerce-store [type='checkbox'], .commerce-seller [type='checkbox'] { accent-color: #397b59; }
.commerce-payment-return { padding-block: 42px; }
.commerce-seller { padding-block: 22px 40px; }
.commerce-seller .factory-muted { color: #5a6b60; font-size: .85rem; }
.commerce-seller .factory-mall-photo { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 6px; background: #f4f7f3; }
.commerce-seller .commerce-placeholder { display: grid; }
.commerce-seller-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--commerce-line); padding-bottom: 14px; margin-bottom: 13px; }
.commerce-seller-title p { color: #54695a; font-size: .83rem; font-weight: 750; }
.commerce-seller-title h1 { font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.15; }
.seller-workspace { display: grid; grid-template-columns: 172px minmax(0,1fr); gap: 17px; align-items: start; }
.seller-nav { display: grid; gap: 7px; padding: 10px; border-radius: 12px; border: 1px solid var(--commerce-line); background: #f6f8f5; }
.seller-nav :is(a,button) { justify-content: start; }
.seller-nav [aria-current='page'] { color: #fff; background: var(--commerce-accent); border-color: var(--commerce-accent); }
.seller-main { min-width: 0; }
.seller-section { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; justify-items: stretch; min-width: 0; }
.seller-section button, .seller-section .solid-button { justify-self: start; }
.seller-login { max-width: 410px; }
.seller-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.seller-filters { display: grid; grid-template-columns: minmax(140px,1fr) repeat(3,auto); gap: 9px; align-items: center; }
.seller-bulk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; background: #f4f8f4; border-radius: 9px; }
.seller-bulk-actions > strong { color: #42624e; font-size: .84rem; }
.seller-bulk-actions :is(.quiet-button, .solid-button) { min-height: 33px; padding: 3px 8px; font-size: .83rem; }
.seller-product-cell { display: flex; align-items: center; gap: 9px; min-width: 150px; }
.seller-product-cell .factory-mall-photo { width: 43px; height: 43px; border: 1px solid #e7eee7; border-radius: 6px; flex: none; font-size: 8px; }
.seller-stock-cell { min-width: 126px; }
.seller-inline-form { display: grid; grid-template-columns: 64px auto; align-items: center; justify-content: start; gap: 4px; }
.seller-inline-form input { min-height: 32px; padding: 3px 5px; }
.seller-inline-form input[type='number'] { text-align: center; font-variant-numeric: tabular-nums; }
.seller-inline-form button { min-height: 32px; padding: 3px 7px; font-size: .78rem; }
.seller-inline-form .commerce-feedback { grid-column: 1 / -1; }
.seller-sale-state { display: grid; gap: 2px; }
.seller-sale-state .commerce-select { min-height: 34px; min-width: 98px; padding: 3px 7px; border-color: #c8dacb; background: #f0f7ec; color: #2e5842; font-size: .84rem; font-weight: 750; }
.seller-sale-state .commerce-select[data-kind='sold_out'] { border-color: #dfcbbb; background: #f9eee4; color: #7e4a2e; }
.seller-sale-state .commerce-select[data-kind='paused'] { border-color: #d3d8d5; background: #f0f1f0; color: #58625e; }
.seller-sale-state .commerce-feedback { margin: 0; font-size: .75rem; text-align: start; white-space: normal; }
.seller-check { display: flex; align-items: center; gap: 5px; }
.seller-editor-form { display: grid; gap: 12px; min-width: 0; }
.seller-editor-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; gap: 10px; }
.seller-editor-section { gap: 13px; }
.seller-editor-section > .commerce-check { justify-self: start; }
.seller-option-list, .seller-import-result { display: grid; gap: 9px; }
.seller-option-row { display: grid; grid-template-columns: minmax(135px,1.25fr) minmax(90px,1fr) minmax(92px,.55fr) minmax(65px,.48fr) auto auto; align-items: end; gap: 7px; border-radius: 8px; padding: 8px; background: #f4f8f4; }
.seller-option-row :is(.commerce-check, button) { margin-bottom: 2px; min-height: 34px; font-size: .82rem; }
.seller-option-builder { padding: 8px 10px; border: 1px dashed #cdded0; border-radius: 8px; }
.seller-option-builder summary { cursor: pointer; color: #395c48; }
.seller-option-builder .seller-editor-fields { margin-top: 6px; }
.seller-photos { display: grid; grid-template-columns: repeat(auto-fill,minmax(94px,1fr)); gap: 8px; }
.seller-photo { min-width: 0; padding: 5px; border-radius: 8px; border: 1px solid #e2ebe2; }
.seller-photo :is(button, .commerce-status) { min-height: 27px; font-size: .75rem; padding: 1px 5px; }
.seller-photo .commerce-inline { justify-content: space-between; gap: 2px; margin-top: 5px; }
.seller-editor-footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; position: sticky; bottom: 0; border: 1px solid var(--commerce-line); border-radius: 10px; padding: 8px 10px; background: #f8faf7; }
.seller-product-preview { width: min(440px, calc(100% - 26px)); max-height: 88vh; padding: 17px; border: 1px solid #dce6de; border-radius: 12px; color: #274a36; }
.seller-product-preview::backdrop { background: #16362568; }
.seller-product-preview .factory-mall-photo { width: min(100%, 260px); height: auto; aspect-ratio: 1; }
.seller-section > .seller-stats:has(.seller-metric) { grid-template-columns: repeat(4,minmax(0,1fr)); }
.seller-metric:hover { border-color: #8ab496; }
.seller-low-stock { display: grid; gap: 4px; padding: 0; }
.seller-low-stock li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 5px; border-bottom: 1px solid #edf0eb; }
.seller-order-filters { display: grid; grid-template-columns: minmax(145px,1fr) minmax(120px,auto) auto auto; align-items: stretch; gap: 7px; }
.seller-order-filters :is(input,select,button) { min-height: 40px; height: 100%; }
.seller-order-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 7px; }
.seller-order-toolbar .commerce-inline { gap: 6px; }
.seller-order-toolbar :is(a,button) { min-height: 35px; }
.seller-order-count { margin: 0; color: #42614e; font-size: .9rem; font-weight: 750; }
.seller-order-list .commerce-table :is(td,th) { vertical-align: middle; }
.seller-order-list .commerce-table :is(td,th):nth-child(5) { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.seller-order-list .commerce-table :is(td,th):last-child { text-align: center; }
.seller-order-list button { min-height: 33px; padding: 3px 8px; white-space: nowrap; }
.seller-order-name { display: grid; gap: 2px; }
.seller-order-name small { font-size: .72rem; color: #536456; overflow-wrap: anywhere; }
.seller-order-dialog { width: min(720px,calc(100% - 22px)); max-height: 88vh; overflow: auto; padding: 0; border: 1px solid #cadccc; border-radius: 14px; background: #f9fbf8; color: #263e30; }
.seller-order-dialog::backdrop { background: #243d3170; }
.seller-order-dialog-heading { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid #dbe7da; background: #f5f9f1; }
.seller-order-dialog-heading h2 { margin: 0; font-size: 1.2rem; }
.seller-order-dialog-heading button { min-height: 32px; }
.seller-order-dialog-body { display: grid; gap: 10px; padding: 13px 16px 16px; }
.seller-order-detail-section { display: grid; gap: 7px; padding: 8px 11px; border: 1px solid #dae7da; border-radius: 10px; background: #fff; }
.seller-order-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px; }
.seller-order-facts { display: grid; gap: 3px; margin: 0; }
.seller-order-facts > div { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 7px; color: #385744; font-size: .87rem; }
.seller-order-facts dd { margin: 0; overflow-wrap: anywhere; color: #24392d; }
.seller-shipping-form { display: grid; grid-template-columns: minmax(80px,1fr) minmax(95px,1fr) auto; align-items: end; }
.seller-shipping-form .commerce-feedback { grid-column: 1 / -1; }
.seller-order-refund { padding: 7px 11px; border: 1px solid #e8daca; border-radius: 8px; background: #fffbf5; }
.seller-order-refund summary { cursor: pointer; color: #80543a; font-weight: 700; font-size: .88rem; }
.seller-order-refund form { margin-top: 7px; }
.seller-shipment-errors { margin: 0; padding-inline-start: 19px; color: #834631; }
.seller-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.seller-stats strong { color: var(--commerce-accent); font-size: clamp(1.03rem, 2vw, 1.45rem); }
.seller-import-steps { margin: 0 0 3px; padding-inline-start: 21px; color: #415b4b; font-size: .9rem; }
.seller-import-steps li + li { margin-top: 3px; }
.seller-settlement-breakdown { padding: 13px 16px; border: 1px solid #dfe9df; border-radius: 10px; background: #fafcf9; }
.seller-settlement-breakdown h3 { font-size: 1rem; }
.seller-settlement-breakdown dl { display: grid; gap: 5px; margin-block: 8px; }
.seller-settlement-breakdown dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.seller-settlement-breakdown dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.seller-settlement-breakdown dl > div:last-child { border-top: 1px solid #e3ebe1; padding-top: 4px; }
.commerce-table-wrap { overflow-x: auto; border: 1px solid var(--commerce-line); border-radius: 10px; }
.commerce-table { width: 100%; min-width: 580px; border-collapse: collapse; text-align: left; }
.commerce-table :is(th,td) { padding: 8px 10px; border-bottom: 1px solid #ebefec; vertical-align: top; font-size: .85rem; }
.commerce-table th { color: #375646; background: #f2f6f1; white-space: nowrap; }
.commerce-table tr:last-child td { border-bottom: 0; }
@media (min-width: 641px) {
  .seller-product-list .seller-resizable-table > :is(thead, tbody) > tr > :is(th, td):nth-child(3) { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .seller-product-list .seller-product-row td:nth-child(6) a { min-height: 34px; padding-inline: 8px; white-space: nowrap; }
  .seller-product-list .seller-resizable-table > thead th:is(:nth-child(1), :nth-child(5), :nth-child(6)),
  .seller-product-list .seller-product-row td:is(:nth-child(1), :nth-child(5), :nth-child(6)) { text-align: center; }
  .seller-product-list .commerce-check { justify-content: center; }
}
@media (min-width: 641px) and (max-width: 850px) {
  .seller-filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .seller-filters .commerce-search { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .seller-order-filters { grid-template-columns: minmax(0,1fr) auto auto; }
  .seller-order-filters input { grid-column: 1 / -1; }
  .seller-order-list .commerce-table-wrap { border: 0; }
  .seller-order-list .commerce-table, .seller-order-list tbody { display: block; min-width: 0; }
  .seller-order-list thead { display: none; }
  .seller-order-list tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 8px; padding: 9px; margin-top: 5px; border: 1px solid #dce7dc; border-radius: 9px; }
  .seller-order-list .commerce-table td { padding: 3px 4px; border: 0; }
  .seller-order-list td:first-child { grid-column: 1 / -1; }
  .seller-order-list td:nth-child(2) { grid-column: 1; grid-row: 2; }
  .seller-order-list td:nth-child(3) { grid-column: 1; grid-row: 3; }
  .seller-order-list td:nth-child(4) { grid-column: 2; grid-row: 2; }
  .seller-order-list td:nth-child(5) { grid-column: 2; grid-row: 3; }
  .seller-order-list td:nth-child(6) { grid-column: 1; grid-row: 4; }
  .seller-order-list td:nth-child(7) { grid-column: 2; grid-row: 4; }
  .seller-order-list td:last-child { grid-column: 1 / -1; grid-row: 5; justify-self: end; }
  .seller-shipping-form { grid-template-columns: minmax(0,1fr); }
  .commerce-checkout, .commerce-store .factory-mall-detail, .seller-workspace { grid-template-columns: minmax(0, 1fr); }
  .commerce-summary { grid-template-columns: minmax(0, 1fr) auto; }
  .commerce-summary a { justify-self: start; }
  .seller-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .seller-filters, .seller-option-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .seller-filters .commerce-search { grid-column: 1 / -1; }
  .seller-section > .seller-stats:has(.seller-metric) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .seller-product-list > .commerce-table-wrap { border: 0; }
  .seller-product-list .seller-resizable-table { display: block; min-width: 0; }
  .seller-product-list .seller-resizable-table > :is(thead, tbody) { display: block; }
  .seller-product-list .seller-resizable-table > thead tr { display: flex; padding: 2px; }
  .seller-product-list .seller-resizable-table > thead th:first-child::after { content: '표시 상품 전체 선택'; color: #3e634d; font-size: .8rem; }
  .seller-product-list .seller-resizable-table > thead th:first-child { display: flex; gap: 6px; align-items: center; border-radius: 6px; }
  .seller-product-list .seller-resizable-table > thead th:not(:first-child) { display: none; }
  .seller-product-list .seller-product-row { display: grid; grid-template-columns: 16px minmax(0,1fr) auto; gap: 4px 8px; padding: 9px; border: 1px solid #dfe8df; border-radius: 7px; margin-block: 6px; align-items: center; }
  .seller-product-list .seller-product-row > td { min-width: 0; padding: 4px 0; border: 0; }
  .seller-product-list .seller-product-row > td:nth-child(2) { grid-column: 2 / -1; }
  .seller-product-list .seller-product-row > td:nth-child(3) { grid-column: 2; grid-row: 2; }
  .seller-product-list .seller-product-row > td:nth-child(4) { grid-column: 2; grid-row: 3; }
  .seller-product-list .seller-product-row > td:nth-child(5) { grid-column: 3; grid-row: 2; }
  .seller-product-list .seller-product-row > td:nth-child(6) { grid-column: 3; grid-row: 3; justify-self: end; }
  .seller-product-list .seller-product-cell { min-width: 0; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .seller-option-row { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
.commerce-maker-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
  padding: 16px;
  border: 1px solid #dce5d6;
  border-radius: 13px;
  background: #f1f6ea;
}
.commerce-maker-intro h3, .commerce-maker-intro p { margin: 0; }
.commerce-maker-intro p { color: #506652; }
.commerce-maker-form, .commerce-maker-history, .seller-maker-list, .seller-maker-details { display: grid; gap: 10px; }
.commerce-maker-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.commerce-maker-form :is(input,select,textarea) { width: 100%; min-width: 0; }
.commerce-maker-form select { min-height: 39px; padding: 6px 9px; border: 1px solid #cfdcd2; border-radius: 8px; color: #243c30; background: #f9fbf8; }
.commerce-maker-form input[type='file']::file-selector-button { padding: 5px 9px; margin-inline-end: 7px; border: 1px solid #c8d8c7; border-radius: 6px; background: #edf4e8; color: #345a44; cursor: pointer; }
.commerce-maker-form .solid-button { justify-self: start; }
.commerce-maker-photo:empty { display: none; }
.commerce-maker-photo .factory-mall-photo, .seller-maker-card > .factory-mall-photo { max-height: 160px; object-fit: contain; }
.commerce-maker-photo .factory-mall-photo { max-width: 250px; }
.commerce-maker-history h3, .commerce-maker-history p, .seller-maker-details :is(h3,p) { margin: 0; }
.commerce-maker-entry { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: start; gap: 7px; padding: 10px 0; border-top: 1px solid #e3ebdf; }

.commerce-cart, .commerce-order-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(265px, .47fr); align-items: start; gap: clamp(12px, 2.4vw, 27px); }
.commerce-cart:has(.commerce-basket-empty) { grid-template-columns: minmax(0, 1fr); }
.commerce-cart-list, .commerce-order-detail-main { display: grid; gap: 10px; min-width: 0; }
.commerce-cart-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 47px; padding: 6px 14px; border: 1px solid #dce7db; border-radius: 11px; background: #f5f8f0; color: #466051; font-size: .85rem; }
.commerce-cart-select { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.commerce-cart-line { display: grid; grid-template-columns: auto clamp(62px, 8vw, 91px) minmax(0, 1fr) minmax(96px, auto); align-items: start; gap: clamp(8px, 1.5vw, 16px); padding: clamp(12px, 1.6vw, 17px); border: 1px solid #dce6dd; border-radius: 13px; background: #fff; }
.commerce-cart :is(.commerce-cart-line, .commerce-cart-toolbar) input[type='checkbox'] { width: 17px; height: 17px; margin: 0; flex: none; }
.commerce-cart-line > input[type='checkbox'] { margin-top: 5px; }
.commerce-cart-line .factory-mall-photo { width: 100%; border-radius: 9px; border: 1px solid #e8eee7; font-size: 9px; }
.commerce-cart-item { min-width: 0; overflow-wrap: anywhere; }
.commerce-cart-item .factory-mall-name, .commerce-order-item-info .factory-mall-name { display: inline; line-height: 1.4; }
.commerce-cart-brand, .commerce-cart-option { margin: 0 0 2px; color: #586b60; font-size: .79rem; }
.commerce-cart-option { margin-top: 4px; }
.commerce-cart-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 9px; }
.commerce-cart-stepper { display: grid; grid-template-columns: 31px 40px 31px; align-items: stretch; border: 1px solid #d0dbd1; border-radius: 8px; }
.commerce-cart-stepper .commerce-field { display: block; }
.commerce-cart-stepper input { min-height: 35px; appearance: textfield; padding: 0; border: 0; border-inline: 1px solid #dbe4da; border-radius: 0; text-align: center; font-variant-numeric: tabular-nums; }
.commerce-cart-stepper input::-webkit-inner-spin-button { appearance: none; }
.commerce-cart-controls .quiet-button { min-height: 35px; padding: 3px 7px; font-size: .8rem; }
.commerce-cart-stepper button { border: 0; border-radius: 7px; font-size: 1rem; }
.commerce-cart-price, .commerce-order-item-amount { display: grid; justify-items: end; gap: 2px; text-align: right; color: #254a36; font-variant-numeric: tabular-nums; }
.commerce-cart-price strong { line-height: 1.3; font-size: clamp(1rem, 1.75vw, 1.19rem); }
.commerce-cart-price small, .commerce-order-item-amount small { color: #586b60; font-size: .77rem; }
.commerce-cart-price .commerce-cart-shipping { margin-top: 6px; color: #325f48; font-weight: 700; }
.commerce-cart-summary, .commerce-payment-panel { position: sticky; top: 12px; gap: 12px; background: #fcfdf9; }
.commerce-cart-summary h2, .commerce-payment-panel h2, .commerce-delivery-panel h2 { font-size: 1.1rem; }
.commerce-cart-summary .solid-button { display: flex; justify-content: center; min-height: 47px; }
.commerce-basket-empty { display: grid; justify-items: center; gap: 12px; padding: clamp(32px, 7vw, 75px) 14px; border: 1px dashed #d7e4d6; border-radius: 15px; background: #f9fbf6; text-align: center; }
.commerce-basket-empty h2 { margin: 0; color: #42604e; font-size: 1.2rem; }
.commerce-cart-selection-note, .commerce-payment-panel .factory-muted, .commerce-cart-summary .factory-muted { color: #536a5b; font-size: .81rem; }
.commerce-order-filters { display: grid; grid-template-columns: minmax(0,1fr) minmax(127px, .42fr); align-items: end; gap: 9px; width: min(100%, 550px); margin-top: 8px; }
.commerce-order-filters select { min-width: 0; min-height: 39px; padding: 5px 9px; border: 1px solid #cfdcd2; border-radius: 8px; background: #fcfdfc; color: #315044; font: inherit; }
.commerce-order-count { margin: 12px 0 6px; color: #566b5d; font-size: .83rem; font-weight: 700; }
.commerce-store .commerce-order-list { gap: 13px; margin-block: 0 15px; }
.commerce-order-card { min-width: 0; border: 1px solid #dce6db; border-radius: 14px; overflow: hidden; background: #fff; }
.commerce-order-card-header, .commerce-order-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px clamp(12px, 2vw, 18px); background: #f5f8f0; }
.commerce-order-card-header { border-bottom: 1px solid #e6ece4; }
.commerce-order-card-footer { border-top: 1px solid #e6ece4; background: #fafcf8; }
.commerce-order-card-header > div, .commerce-order-card-footer > div { display: grid; min-width: 0; gap: 2px; color: #2d4d3d; }
.commerce-order-card-header time, .commerce-order-card-footer strong { font-weight: 800; }
.commerce-order-card-header small, .commerce-order-card-footer small { overflow-wrap: anywhere; color: #5d7062; font-size: .75rem; }
.commerce-order-status { flex: none; margin: 0; }
.commerce-order-status:is([data-status='pending'], [data-status='confirming'], [data-status='refunding']) { background: #fbefd6; color: #755020; }
.commerce-order-status:is([data-status='expired'], [data-status='cancelled']) { background: #e9eeeb; color: #526056; }
.commerce-ordered-items { display: grid; padding: 0; margin: 0; list-style: none; }
.commerce-ordered-item { display: grid; grid-template-columns: 65px minmax(0,1fr) auto; align-items: center; gap: clamp(8px, 1.8vw, 16px); min-width: 0; padding: 10px clamp(12px, 2vw, 18px); }
.commerce-ordered-item + .commerce-ordered-item { border-top: 1px solid #ecf0eb; }
.commerce-ordered-item .factory-mall-photo { width: 100%; border: 1px solid #e9eee8; border-radius: 8px; font-size: 8px; }
.commerce-order-item-info { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.commerce-order-item-info small { color: #586b60; font-size: .77rem; }
.commerce-order-tracking { margin: 0; padding: 0 clamp(12px, 2vw, 18px) 10px; color: #50675a; font-size: .83rem; }
.commerce-order-facts { display: grid; gap: 7px; margin: 0; color: #344d3e; }
.commerce-order-facts > div { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 8px; }
.commerce-order-facts dt { color: #566c5d; font-weight: 700; }
.commerce-order-facts dd { margin: 0; }
.commerce-tracking-box { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 7px 9px; border-radius: 8px; background: #f0f6ed; font-size: .84rem; }
.commerce-tracking-box button { min-height: 34px; margin-inline-start: auto; }
.commerce-delivery-progress { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; padding: 0; margin: 3px 0 8px; list-style: none; }
.commerce-delivery-progress li { padding: 7px 2px; border-radius: 7px; background: #f1f4f0; color: #637166; text-align: center; font-size: .76rem; }
.commerce-delivery-progress .is-reached { background: #e7f0e1; color: #315c45; }
.commerce-delivery-progress [aria-current] { background: #35694e; color: #fff; font-weight: 750; }
@media (max-width: 760px) {
  .commerce-cart, .commerce-order-detail-layout { grid-template-columns: minmax(0,1fr); }
  .commerce-cart-summary, .commerce-payment-panel { position: static; }
}
@media (max-width: 520px) {
  .commerce-cart-line { grid-template-columns: auto 59px minmax(0,1fr); }
  .commerce-cart-price { grid-column: 2 / -1; grid-template-columns: minmax(0,1fr) auto; border-top: 1px solid #edf0ec; padding-top: 8px; }
  .commerce-cart-price :is(strong, .commerce-cart-shipping) { justify-self: start; text-align: left; }
  .commerce-cart-price .commerce-cart-shipping { margin-top: 0; }
  .commerce-cart-stepper input, .commerce-cart-controls .quiet-button { min-height: 39px; }
  .commerce-ordered-item { grid-template-columns: 46px minmax(0,1fr) auto; }
  .commerce-order-card-header, .commerce-order-card-footer { gap: 6px; }
  .commerce-order-status { font-size: .74rem; padding-inline: 6px; }
}

.commerce-catalog-layout { display: grid; grid-template-columns: minmax(0,1fr) clamp(156px, 16vw, 210px); align-items: start; gap: clamp(15px, 2vw, 24px); }
.commerce-catalog-listing { min-width: 0; }
.commerce-catalog-layout :is(.factory-mall-grid, .market-list) { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.commerce-catalog-layout .factory-mall-grid .factory-mall-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e3e8e1; border-radius: 12px; background: #fff; }
.commerce-catalog-layout .factory-mall-grid .factory-mall-card:is(:hover,:focus-within) { border-color: #a7c1b0; }
.commerce-catalog-layout .factory-mall-photo-button { border-radius: 0; }
.commerce-catalog-layout .factory-mall-photo-button img { object-fit: contain; }
.commerce-media-tag, .commerce-list-stock { position: absolute; inset: auto auto 7px 7px; max-width: calc(100% - 14px); padding: 2px 6px; overflow: hidden; border-radius: 5px; background: #2a4639ee; color: #fff; font-size: .66rem; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }
.commerce-list-stock { inset: 7px auto auto 7px; background: #fbefed; color: #8a4238; }
.commerce-catalog-layout .factory-mall-card-body { gap: 5px; min-width: 0; padding: 10px; border-top: 0; }
.commerce-catalog-layout .factory-mall-card h3 { min-height: 2.66em; font-size: .88rem; line-height: 1.33; overflow-wrap: anywhere; }
.commerce-catalog-layout .factory-mall-card h3 a { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.commerce-catalog-layout .factory-mall-spec { padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .71rem; }
.commerce-catalog-layout .factory-mall-card .factory-mall-price { color: #253d31; font-size: 1.08rem; line-height: 1.25; }
.commerce-catalog-layout .factory-mall-card[data-sold-out] .factory-mall-price { color: #657168; }
.commerce-catalog-price { display: flex; align-items: center; justify-content: space-between; gap: 3px; margin-top: auto; min-height: 34px; }
.commerce-catalog-price .commerce-quick-cart { display: grid; flex: none; place-items: center; width: 34px; min-height: 34px; padding: 0; border: 1px solid #dfe8de; border-radius: 50%; background: #f7faf4; color: #3d6650; }
.commerce-quick-cart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.commerce-catalog-layout .commerce-card-badges { gap: 4px 6px; margin: 0; align-items: center; color: #52675a; font-size: .68rem; }
.commerce-catalog-layout .factory-mall-card .factory-mall-cap { margin: 0; padding: 0; background: transparent; color: #38654d; font-weight: 750; font-size: inherit; }
.commerce-catalog-ads { display: grid; gap: 10px; min-width: 0; padding: 0 0 12px 12px; border-inline-start: 1px solid #e1e9df; }
.commerce-catalog-ads h2 { margin: 0; color: #4d6657; font-size: .86rem; }
.commerce-catalog-ad-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; }
.commerce-catalog-ad-heading .quiet-button { min-height: 30px; padding: 3px 7px; font-size: .73rem; white-space: nowrap; }
.commerce-catalog-ad-list { display: grid; gap: 9px; }
.commerce-catalog-ad { display: grid; overflow: hidden; border: 1px solid #e5e4d7; border-radius: 11px; background: #f9f7ee; }
.commerce-catalog-ad:hover { border-color: #b7c6a7; }
.commerce-catalog-ad img { display: block; width: 100%; aspect-ratio: 1.18; object-fit: cover; }
.commerce-catalog-ad-copy { display: grid; gap: 2px; padding: 9px; color: #415b49; line-height: 1.35; }
.commerce-catalog-ad-copy small { font-size: .75rem; }
.commerce-catalog-ad-copy strong, .commerce-catalog-ad-copy small { overflow-wrap: anywhere; }
.commerce-catalog-ad-copy .commerce-catalog-ad-label { color: #665433; font-size: .68rem; font-weight: 750; }
.commerce-catalog-ad.is-text { grid-template-columns: minmax(0,1fr); min-height: 75px; background: linear-gradient(120deg,#f9f6e9,#eef5e8); }
@media (max-width: 960px) {
  .commerce-catalog-layout { grid-template-columns: minmax(0,1fr); }
  .commerce-catalog-ads { max-width: 340px; padding: 12px 0 0; border: 0; border-top: 1px solid #e1e9df; }
  .commerce-catalog-ad { grid-template-columns: 72px minmax(0,1fr); align-items: center; }
  .commerce-catalog-ad img { aspect-ratio: 1; }
}
@media (max-width: 819px) {
  .commerce-catalog-layout :is(.factory-mall-grid, .market-list) { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .commerce-catalog-layout :is(.factory-mall-grid, .market-list) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
}
.commerce-maker-entry p { color: #546758; overflow-wrap: anywhere; }
.seller-maker-card { display: grid; grid-template-columns: minmax(90px,145px) minmax(0,1fr); gap: 12px; }
.seller-maker-details > a { justify-self: start; }
.seller-maker-review summary { color: #744f35; font-weight: 700; cursor: pointer; }
.seller-maker-review form { margin-top: 8px; }
@media (max-width: 620px) {
  .commerce-maker-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .commerce-maker-entry { grid-template-columns: minmax(0,1fr) auto; }
  .commerce-maker-entry a { grid-column: 1 / -1; justify-self: start; }
  .seller-maker-card { grid-template-columns: minmax(0,1fr); }
}
.commerce-policy-footer {
  padding-block: 1rem;
  color: var(--ink, #244336);
  font-size: .9rem;
}

.commerce-policy-footer nav,
.commerce-policy-notice {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
}

.commerce-policy-footer a,
.commerce-policy-notice a {
  text-decoration: underline;
  text-underline-offset: .16rem;
}

.commerce-policy-footer p { margin-block: .45rem; }

.commerce-policy-notice {
  margin-block: .75rem;
  padding: .9rem;
  border: 1px solid #d7e2dc;
  border-radius: .75rem;
}

.commerce-policy-notice :is(p, strong, label) { flex-basis: 100%; }
.commerce-policy-notice p { margin: 0; }
