.commerce {
  --trade-gold: #d9b76d;
  --trade-panel: #15191e;
  --trade-edge: rgba(222, 195, 134, 0.18);
  max-width: 1320px;
  margin: auto;
  min-height: 70vh;
  color: var(--text, #ece7db);
}
.commerce-loading {
  min-height: 350px;
  border: 1px solid var(--trade-edge);
  border-radius: 18px;
  background: linear-gradient(110deg, #14181c 25%, #242a30 40%, #14181c 60%);
  background-size: 200% 100%;
  animation: trade-load 1.8s infinite;
}
@keyframes trade-load {
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .commerce-loading {
    animation: none;
  }
}
.commerce-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.commerce h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin: 0 0 12px;
}
.commerce h2 {
  margin: 0 0 16px;
  font-size: 1.45rem;
}
.commerce p {
  line-height: 1.6;
}
.commerce-hero p {
  max-width: 700px;
  color: #b9b9b3;
  margin: 0;
}
.commerce-actions,
.commerce-tabs,
.commerce-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.commerce button,
.commerce .button {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--trade-edge);
  border-radius: 9px;
  background: #20252b;
  color: #eee5d4;
  padding: 10px 15px;
  text-decoration: none;
}
.commerce button.primary {
  background: var(--trade-gold);
  color: #201b12;
  border-color: var(--trade-gold);
  font-weight: 650;
}
.commerce button:disabled {
  opacity: 0.4;
  cursor: default;
}
.commerce-tabs {
  margin: 22px 0;
}
.commerce-tabs [aria-pressed='true'] {
  border-color: var(--trade-gold);
  color: var(--trade-gold);
}
.commerce-filters,
.commerce-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.commerce-filters {
  padding: 20px;
  border: 1px solid var(--trade-edge);
  border-radius: 14px;
  margin-bottom: 20px;
  background: var(--trade-panel);
}
.commerce label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.9rem;
  color: #c9c6bd;
}
.commerce input,
.commerce select,
.commerce textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #3b4148;
  border-radius: 8px;
  background: #101418;
  color: #f1eadf;
  padding: 11px;
  font: inherit;
}
.commerce input:focus,
.commerce select:focus,
.commerce textarea:focus {
  outline: 2px solid var(--trade-gold);
  outline-offset: 2px;
}
.commerce textarea {
  resize: vertical;
  min-height: 85px;
}
.commerce input[type='checkbox'] {
  width: auto;
}
.commerce .commerce-check {
  flex-direction: row;
  align-items: center;
  margin: 15px 0;
}
.commerce-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.commerce-card {
  background: var(--trade-panel);
  border: 1px solid var(--trade-edge);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.commerce-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 18px;
  color: var(--trade-gold);
  font-size: 0.9rem;
}
.commerce-intent {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: var(--trade-gold);
  background: #292316;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.commerce-card[data-side='WTB'] .commerce-intent,
.commerce-preview[data-side='WTB'] .commerce-intent {
  color: #a1d5fb;
  background: #162734;
}
.commerce-item-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: radial-gradient(ellipse at center, #33302a, #15191e 75%);
  padding: 14px;
  min-height: 130px;
  align-items: center;
}
.commerce-item-images img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}
.commerce-card:has(.commerce-item-images img:only-child) img {
  width: 135px;
  height: 135px;
}
.commerce-card-body {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
}
.commerce-card h3 {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.4;
}
.commerce-card p {
  margin: 0;
  color: #b5b7b5;
  font-size: 0.92rem;
}
.commerce-card-price {
  font-size: 1.35rem;
  color: #f1d9a5;
}
.commerce-card button {
  margin-top: auto;
}
.commerce-notice {
  min-height: 24px;
  margin: 10px 0;
  color: #dfc285;
}
.commerce-empty {
  padding: 42px;
  text-align: center;
  border: 1px dashed var(--trade-edge);
  border-radius: 14px;
  color: #c3beb3;
}
.commerce-dialog {
  box-sizing: border-box;
  max-width: min(900px, 94vw);
  width: 900px;
  max-height: 90vh;
  overflow: auto;
  background: #14181d;
  color: #eee7db;
  border: 1px solid #5c5039;
  border-radius: 16px;
  padding: 26px;
}
.commerce-dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(4px);
}
.commerce-editor-feedback {
  padding: 12px 14px;
  border: 1px solid #c9a45c;
  border-radius: 8px;
  background: #292318;
  color: #fff0c9;
  overflow-wrap: anywhere;
}
.commerce-editor-feedback[hidden] { display: none; }
.commerce-editor-field-error { color: #ffd58c; overflow-wrap: anywhere; }
.commerce-dialog [aria-invalid='true'] { outline: 2px solid #ffd58c; outline-offset: 2px; }
.commerce-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.commerce-dialog table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.commerce-dialog th,
.commerce-dialog td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid #32373d;
}
.commerce-dialog td input {
  min-width: 65px;
}
.commerce-table-wrap {
  overflow-x: auto;
}
.commerce-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.commerce-detail-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.commerce-editor-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #30353b;
}
.commerce-editor-line img {
  width: 38px;
  height: 38px;
}
.commerce-editor-line > label:first-child {
  grid-column: 1 / -1;
}
.commerce-editor-line select,
.commerce-editor-line input {
  min-width: 0;
  width: 100%;
}
.commerce-rmt {
  padding: 12px 15px;
  border-left: 3px solid #d58b79;
  background: rgba(213, 139, 121, 0.07);
}
.commerce-item-search {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}
.commerce-candidates {
  margin-bottom: 18px;
}
.commerce-candidate-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.commerce-candidate-list button {
  min-width: 0;
  overflow-wrap: anywhere;
}
.commerce-candidates button {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}
.commerce-candidates img {
  width: 45px;
  height: 45px;
}
.commerce-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
  max-height: 320px;
  overflow: auto;
}
.commerce-chat-message {
  max-width: 85%;
  padding: 13px 16px;
  border-radius: 12px;
  background: #262d35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.commerce-chat-message.mine {
  align-self: flex-end;
  background: #3c3527;
}
.commerce-chat-message time {
  display: block;
  font-size: 0.75rem;
  color: #b1aa9e;
  margin-bottom: 6px;
}
.commerce-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--trade-edge);
  border-radius: 12px;
}
.commerce small {
  color: #b2aea5;
}
.commerce-preview {
  padding: 18px;
  border: 1px solid var(--trade-gold);
  border-radius: 12px;
  margin: 18px 0;
}
.commerce-pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 24px 0;
}
.commerce-copy {
  white-space: pre-line;
}
.commerce-offer-row {
  border: 1px solid var(--trade-edge);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 12px 0;
}
@media (max-width: 700px) {
  .commerce {
    padding-left: 16px;
    padding-right: 16px;
  }
  .commerce-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .commerce-filters {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }
  .commerce-grid {
    grid-template-columns: 1fr;
  }
  .commerce-dialog {
    padding: 17px;
  }
  .commerce-editor-line {
    grid-template-columns: 1fr 1fr;
  }
  .commerce-editor-line > label:first-child {
    grid-column: 1/-1;
  }
  .commerce-editor-line > button {
    align-self: end;
  }
  .commerce-profile {
    grid-template-columns: 1fr;
  }
  .commerce-offer-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .commerce-dialog td,
  .commerce-dialog th {
    padding: 9px 5px;
    font-size: 0.85rem;
  }
  .commerce-tabs button {
    flex: 1 1 auto;
  }
}
.commerce-market-reference {
  grid-column: 1 / -1;
  min-width: 0;
  max-width: 100%;
  margin-top: 8px;
  padding: 20px;
  border: 1px solid var(--trade-edge);
  border-radius: 14px;
  background: linear-gradient(145deg, #1b2027, #11161c);
}
.commerce-market-reference:empty { display: none; }
.commerce-market-reference[aria-busy='true']:empty { display: block; min-height: 135px; }
.commerce-market-reference[aria-busy='true']:empty::before,
.commerce-market-reference[aria-busy='true']:empty::after {
  content: '';
  display: block;
  height: 17px;
  width: 65%;
  margin: 12px 0 20px;
  border-radius: 5px;
  background: #2a323e;
}
.commerce-market-reference[aria-busy='true']:empty::after { width: 90%; height: 32px; background: #232b35; }
.commerce-market-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.commerce-market-head > div { min-width: 0; }
.commerce-market-head h3 {
  margin: 0 0 3px;
  font-family: var(--font-body, sans-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: #f2e7d3;
}
.commerce-editor-line .commerce-market-item {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  object-fit: contain;
  border: 1px solid #3b3830;
  border-radius: 10px;
  background: #11151a;
}
.commerce-market-item-name { color: #a6afbc; font-size: 0.8rem; }
.commerce-market-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.commerce-market-meta > span {
  padding: 4px 9px;
  border: 1px solid #333b47;
  border-radius: 6px;
  color: #bcc5d2;
  font-size: 0.7rem;
  line-height: 1.5;
  background: #202731;
}
.commerce-market-cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.commerce-market-city { min-width: 0; padding: 14px; border: 1px solid #303944; border-radius: 11px; background: #191f27; }
.commerce-market-city h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #e8edf4;
  font-family: var(--font-body, sans-serif);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.4;
}
.commerce-city-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 42px; color: #b7c3d3; }
.commerce-city-icon svg { width: 32px; height: 36px; }
.commerce-city-shield { fill: currentColor; fill-opacity: 0.09; stroke-opacity: 0.45; }
.commerce-city-icon--blue { color: #8fbcf2; }
.commerce-city-icon--green { color: #92cfa2; }
.commerce-city-icon--purple { color: #c2a6e7; }
.commerce-city-icon--silver { color: #d7e2ee; }
.commerce-city-icon--amber { color: #edbb79; }
.commerce-city-icon--red { color: #eb9397; }
.commerce-city-icon--violet { color: #d2abf0; }
.commerce-market-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.commerce-market-quote { min-width: 0; padding: 10px; border: 1px solid #313943; border-radius: 8px; background: #12171e; }
.commerce-market-order { display: block; color: #dac28e; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.035em; line-height: 1.5; }
.commerce-market-quote--buy .commerce-market-order { color: #9fbfdf; }
.commerce .commerce-market-price {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  margin: 7px 0 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  text-align: left;
  color: #f0e9da;
  background: transparent;
}
.commerce-market-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; max-width: 100%; font-size: 1.25rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.3; overflow-wrap: anywhere; }
.commerce-market-price.is-long .commerce-market-value { font-size: 0.95rem; }
.commerce-market-currency { color: #a9a79e; font-size: 0.7rem; font-weight: 400; }
.commerce-market-apply { display: flex; align-items: center; gap: 4px; color: #d7bd86; font-size: 0.75rem; line-height: 1.5; }
.commerce-market-apply svg { flex: 0 0 14px; width: 14px; height: 14px; }
.commerce .commerce-market-price:hover .commerce-market-value { color: #ffdc91; }
.commerce .commerce-market-price:hover .commerce-market-apply { text-decoration: underline; text-underline-offset: 3px; }
.commerce .commerce-market-price:focus-visible { outline: 2px solid var(--trade-gold); outline-offset: 5px; }
.commerce-market-quote:has(.commerce-market-price:hover),
.commerce-market-quote:has(.commerce-market-price:focus-visible) { border-color: #8f7b51; background: #1e211f; }
.commerce-market-reference time { display: block; color: #a3aebd; font-size: 0.75rem; line-height: 1.5; }
.commerce-market-stale { display: inline-block; margin-top: 5px; padding: 2px 5px; border-radius: 4px; background: #3a2d1d; color: #dfbc82; font-size: 0.7rem; line-height: 1.5; }
.commerce-market-no-data { display: block; padding: 14px 0; color: #8993a2; font-size: 0.78rem; }
.commerce-market-quote.is-empty { border-style: dashed; background: #141920; }
.commerce-market-reference .commerce-market-help { margin: 16px 0 0; padding-top: 13px; border-top: 1px solid #303743; color: #a1abba; font-size: 0.75rem; line-height: 1.65; }
.commerce-market-no-results { color: #b4bdca; font-size: 0.87rem; }
@media (max-width: 700px) {
  .commerce-market-reference { padding: 14px; }
  .commerce-market-cities { grid-template-columns: 1fr; }
  .commerce-market-city { padding: 12px; }
  .commerce-market-value { font-size: 1.1rem; }
  .commerce-market-price.is-long .commerce-market-value { font-size: 0.85rem; }
}
@media (max-width: 360px) {
  .commerce-market-quotes { grid-template-columns: 1fr; }
}
/* Publicaciones: la galería, el precio y las acciones comparten jerarquía. */
.commerce-grid { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 22px; }
.commerce-listing-card { border-color: #353b45; box-shadow: 0 12px 32px #0002; }
.commerce-listing-card .commerce-card-head { padding: 16px 18px; border-bottom: 1px solid #ffffff08; }
.commerce-listing-card .commerce-intent { font-size: .83rem; padding: 5px 9px; }
.commerce-listing-state { font-size: .75rem; color: #a9b4c2; }
.commerce-listing-state[data-status='open'] { color: #a2cdb3; }
.commerce-listing-state[data-status='open']::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #8cbea0; margin-right: 6px; }
.commerce-listing-gallery { display: grid; grid-template-columns: repeat(var(--trade-columns), minmax(0, 1fr)); align-content: center; gap: 13px 5px; padding: 20px 12px; min-height: 200px; background: radial-gradient(ellipse at 50% 30%, #373027, #1a2029 75%); border-bottom: 1px solid #ffffff08; }
.commerce-listing-gallery figure { min-width: 0; margin: 0; text-align: center; }
.commerce-item-art { position: relative; width: min(100%, 100px); margin: auto; }
.commerce-listing-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 6px 5px #0005); }
.commerce-quantity { position: absolute; bottom: 0; right: 0; max-width: 100%; box-sizing: border-box; padding: 3px 5px; border-radius: 4px; border: 2px solid #24262c; background: #e0bf7e; color: #241d11; font-size: clamp(.55rem, 1vw, .7rem); font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }
.commerce-listing-gallery figcaption { margin-top: 8px; font-size: .74rem; line-height: 1.45; color: #d5d9df; }
.commerce-listing-gallery figcaption > strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-weight: 500; min-height: 2.8em; }
.commerce-listing-gallery figcaption small { display: block; color: #a4afbd; font-size: .72rem; margin-top: 4px; }
.commerce-listing-gallery figcaption .commerce-quality { color: #edd49c; }
.commerce-quality strong { font-weight: 650; }
.commerce-listing-gallery--single { min-height: 260px; }
.commerce-listing-gallery--single .commerce-item-art { width: 190px; }
.commerce-listing-gallery--single .commerce-quantity { font-size: 1rem; padding: 5px 10px; }
.commerce-item-picture { display: inline-block; position: relative; width: 45px; flex: 0 0 45px; aspect-ratio: 1; vertical-align: middle; }
.commerce-item-picture img { display: block; width: 100%; height: 100%; object-fit: contain; }
.commerce-editor-line .commerce-item-picture { width: 38px; flex-basis: 38px; }
.commerce-detail-item .commerce-item-picture { width: 45px; flex-basis: 45px; }
.commerce-listing-gallery .commerce-item-picture { display: block; width: 100%; }
.commerce-item-picture [data-image-reference-label] { position: absolute; top: 0; left: 0; right: 0; background: #24262cef; color: #f4d79b; padding: 2px; font-size: 8px; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.commerce-item-picture [data-image-missing] { display: grid; place-items: center; width: 100%; height: 100%; background: #303741; color: #d9caa8; font-size: 1.5rem; }
.commerce-item-picture [hidden] { display: none; }
@media (max-width: 420px) {
  .commerce-listing-gallery:not(.commerce-listing-gallery--single) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.commerce-card-title p { margin-top: 7px; font-size: .78rem; color: #aab4c1; }
.commerce-listing-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; align-items: center; color: #b4becb; font-size: .78rem; }
.commerce-listing-meta > span { display: inline-flex; gap: 5px; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.commerce-listing-meta .commerce-city-icon { width: 20px; height: 22px; flex-basis: 20px; }
.commerce-listing-meta .commerce-city-icon svg { width: 19px; height: 22px; }
.commerce-mode { display: block; align-self: start; width: fit-content; max-width: 100%; box-sizing: border-box; padding: 5px 9px; border: 1px solid #46505b; border-radius: 5px; color: #bdc8d5; background: #232c37; font-size: .73rem; line-height: 1.5; }
.commerce-price-block { display: flex; flex-direction: column; align-items: start; gap: 7px; padding: 17px 0; border-top: 1px solid #353b45; border-bottom: 1px solid #353b45; }
.commerce-price-label { color: #adb7c4; font-size: .76rem; }
.commerce-price-discount { display: flex; gap: 7px 10px; flex-wrap: wrap; align-items: center; }
.commerce-price-discount s { color: #8e98a7; font-size: .78rem; }
.commerce-price-discount > span { padding: 3px 6px; border-radius: 4px; color: #b6dfbb; background: #25392d; font-size: .67rem; line-height: 1.5; }
.commerce-final-price { color: #f4d79b; font-variant-numeric: tabular-nums; font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.25; overflow-wrap: anywhere; max-width: 100%; }
.commerce-final-price small { font-size: .8rem; color: #c1b699; font-weight: 400; }
.commerce-price-block > small { color: #9ba6b4; font-size: .7rem; line-height: 1.5; }
.commerce-card-seller { display: flex; gap: 10px; align-items: center; min-width: 0; }
.commerce-seller-avatar { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid #4f4739; border-radius: 50%; color: #e6c98f; background: #302a21; font-size: .85rem; }
.commerce-card-seller > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.commerce-card-seller small { color: #9ba6b4; font-size: .67rem; }
.commerce-card-seller strong { color: #d7dee8; font-size: .82rem; }
.commerce .commerce-view-listing { width: 100%; margin-top: auto; border-color: #79633b; color: #edd49c; background: #352d20; font-weight: 600; }
.commerce .commerce-view-listing:hover { background: #483c27; border-color: #d9b76d; }
.commerce-listing-dialog { width: 1140px; max-width: min(1140px, 96vw); padding: 26px; }
.commerce-listing-dialog .commerce-dialog-head { margin-bottom: 12px; }
.commerce-listing-dialog .commerce-dialog-head h2 { margin: 0; max-width: 900px; overflow-wrap: anywhere; }
.commerce-detail-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; margin-bottom: 22px; color: #adb8c8; font-size: .8rem; }
.commerce-detail-heading p { flex-basis: 100%; margin: 0; font-size: .76rem; }
.commerce-listing-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr); border: 1px solid #343c48; border-radius: 12px; overflow: hidden; }
.commerce-listing-contents { padding: 23px; min-width: 0; background: #191f28; }
.commerce-listing-contents h3 { margin: 0 0 16px; color: #e5e9f0; font-size: .95rem; }
.commerce-listing-contents table { margin: 0; font-size: .82rem; }
.commerce-listing-contents th { color: #97a5b7; font-size: .7rem; font-weight: 500; }
.commerce-listing-contents td { padding: 14px 4px; color: #e5eaf2; }
.commerce-listing-contents .commerce-detail-item strong { font-weight: 550; font-size: .85rem; }
.commerce-listing-contents .commerce-detail-item small { color: #9daabc; font-size: .7rem; line-height: 1.6; }
.commerce-listing-contents .commerce-detail-item img { flex: 0 0 58px; width: 58px; height: 58px; }
.commerce-listing-conditions { margin-top: 24px; padding-top: 20px; border-top: 1px solid #343c48; }
.commerce-listing-conditions p { white-space: pre-wrap; overflow-wrap: anywhere; color: #bac4d2; font-size: .83rem; }
.commerce-listing-summary { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 24px; background: #202731; border-left: 1px solid #343c48; min-width: 0; }
.commerce-listing-summary .commerce-price-block { padding-top: 0; border-top: 0; }
.commerce-listing-summary .commerce-final-price { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.commerce-listing-summary .commerce-mode { margin: 0; }
.commerce-detail-location { display: flex; gap: 10px; align-items: center; color: #dfe5ed; }
.commerce-detail-location > span:last-child { display: flex; flex-direction: column; gap: 5px; overflow-wrap: anywhere; min-width: 0; }
.commerce-detail-location small { color: #9aa7b9; font-size: .7rem; }
.commerce-listing-summary .commerce-controls { align-items: stretch; }
.commerce-listing-summary .commerce-controls button.primary { width: 100%; }
.commerce-listing-summary .commerce-controls button { flex: 1; font-size: .8rem; }
.commerce-listing-edit { display: grid; gap: 12px; }
.commerce .commerce-listing-help { color: #9eabbc; font-size: .73rem; line-height: 1.7; margin: 12px 0 0; }
.commerce-listing-summary > .commerce-listing-help { margin-top: 0; }
@media (max-width: 760px) {
  .commerce-listing-layout { grid-template-columns: minmax(0, 1fr); }
  .commerce-listing-summary { border-left: 0; border-top: 1px solid #343c48; }
  .commerce-listing-dialog { padding: 18px; }
  .commerce-listing-contents, .commerce-listing-summary { padding: 18px; }
  .commerce-listing-dialog .commerce-detail-item { gap: 7px; }
  .commerce-listing-contents .commerce-detail-item img { width: 43px; height: 43px; flex-basis: 43px; }
  .commerce-listing-contents .commerce-detail-item strong { font-size: .75rem; }
}
@media (max-width: 420px) {
  .commerce-listing-dialog { max-width: 98vw; padding: 12px; }
  .commerce-listing-contents, .commerce-listing-summary { padding: 12px; }
  .commerce-listing-contents .commerce-detail-item img { width: 35px; height: 35px; flex-basis: 35px; }
  .commerce-listing-contents table { font-size: .72rem; }
  .commerce-listing-contents th { font-size: .63rem; }
}
@media (max-width: 760px) {
  .commerce-listing-summary { order: -1; border-top: 0; border-bottom: 1px solid #343c48; gap: 14px; }
}
