/* Shared marketplace controls: inherit the theme's typography and palette. */
.vm-panel { margin:12px 0; padding:14px 16px; border:1px solid #d8e6df; border-radius:16px; background:#f6faf8; color:#173d31; }
.vm-panel summary { cursor:pointer; font-weight:700; font-size:15px; }
.vm-panel p { margin:10px 0; font-size:13px; line-height:1.5; }
.vm-form { display:flex; flex-wrap:wrap; align-items:end; gap:10px; margin-top:12px; }
.vm-form label { display:grid; gap:6px; flex:1 1 150px; font-size:13px; }
.vm-form input:not([type=hidden]),.vm-form select { width:100%; min-width:0; min-height:44px; padding:9px 12px; border:1px solid #bacfc5; border-radius:10px; background:#fff; color:#173d31; font:inherit; font-size:16px; }
.vm-status { display:inline-flex; padding:5px 10px; border-radius:8px; background:#fff0ca; color:#634200; font-size:12px; font-weight:700; }
.vm-status--sold { background:#e8ebee; color:#46515c; }
.vistore-card > .vm-status { position:absolute; top:10px; left:10px; z-index:4; }
.vm-quality { margin:12px 0; padding:14px; border-radius:12px; background:#fff7e2; color:#664619; font-size:14px; line-height:1.5; }
.vm-quality ul { padding-left:20px; margin:8px 0; }
.vm-quality[hidden] { display:none; }
.vistore-main-menu .vistore-main-menu__links > li > a { min-height:40px; border-radius:10px; padding:9px 14px; font-size:13px; font-weight:650; background:#f5f8f6; color:#173d31; border:1px solid #dbe5df; box-shadow:none; }
.vistore-main-menu .vistore-main-menu__links > li > a:hover { background:#e6f2eb; border-color:#9bbbaa; }
.vistore-main-menu .vistore-main-menu__links > li > a svg { width:18px; height:18px; flex-shrink:0; }
.vistore-card .vistore-card__title { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.35; }
.vistore-item-header .vistore-item-header__identity h1 { font-size:clamp(20px,2.2vw,28px); line-height:1.25; }
.vistore-nuru__followups { gap:7px; }
.vistore-dark .vm-panel { background:#142820; border-color:#345246; color:#e5f2ea; }
.vistore-dark .vistore-main-menu .vistore-main-menu__links > li > a { background:#182c24; color:#e5f2ea; border-color:#345246; }

/* Listing cards keep the real seller visible without competing with the item. */
.vistore-card__image .vistore-card__price { right:auto; bottom:10px; left:10px; width:auto; max-width:calc(100% - 64px); min-height:0; display:inline-flex; align-items:baseline; gap:6px; border:1px solid rgba(15,75,50,.14); border-radius:10px; padding:7px 10px; color:#123d2e; background:rgba(255,253,247,.96); box-shadow:0 8px 20px rgba(9,34,24,.18); font-size:14px; font-weight:800; line-height:1.15; letter-spacing:-.02em; text-shadow:none; backdrop-filter:blur(12px); }
.vistore-card__price-current,.vistore-card__price-before { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.vistore-card__price-before { max-width:11.5ch; color:#8b978f; font-size:10px; font-weight:650; text-decoration-thickness:1px; }
.vistore-card__seller { min-width:0; margin-top:10px; display:flex; align-items:center; gap:8px; color:#1d3e33; text-decoration:none; }
.vistore-card__seller:hover { color:var(--vs-primary); }
.vistore-card__seller .vistore-card__seller-avatar { width:30px; height:30px; flex:0 0 30px; overflow:hidden; border:1px solid rgba(15,75,50,.14); border-radius:50%; color:#176b4b; background:#e7f2eb; font-size:10px; font-weight:800; }
.vistore-card__seller .vistore-card__seller-avatar img,.vistore-card__seller .vistore-card__seller-avatar > span { width:100%; height:100%; display:grid; place-items:center; object-fit:cover; }
.vistore-card__seller-copy { min-width:0; flex:1 1 auto; display:grid; gap:1px; line-height:1.15; }
.vistore-card__seller-name { min-width:0; display:flex; align-items:center; gap:4px; }
.vistore-card__seller-copy strong,.vistore-card__seller-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.vistore-card__seller-copy strong { color:inherit; font-size:11.5px; font-weight:760; }
.vistore-card__seller-copy small { color:#738278; font-size:10px; }
.vistore-card__seller-badge { width:15px; height:15px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; color:#fff; background:#16754e; font-size:0; font-style:normal; }
.vistore-card__seller-badge .vistore-icon { width:10px; height:10px; }
.vistore-card__seller-badge--pro { width:auto; height:15px; border-radius:5px; padding:0 4px; color:#176b4b; background:#e0f4e8; font-size:8px; font-weight:850; letter-spacing:.04em; }
.vistore-card__delivery { flex:0 0 auto; display:inline-flex; align-items:center; gap:3px; border-radius:999px; padding:4px 6px; color:#176b4b; background:#eaf6ef; font-size:9px; font-weight:760; white-space:nowrap; }
.vistore-card__delivery .vistore-icon { width:11px; height:11px; }
.vistore-card__seller > .vistore-icon { width:14px; height:14px; margin-left:auto; color:#8ba197; }
.vistore-dark .vistore-card__image .vistore-card__price { border-color:rgba(255,255,255,.18); color:#173d31; background:rgba(255,253,247,.94); }
.vistore-dark .vistore-card__seller { color:#e7f4ec; }
.vistore-dark .vistore-card__seller-copy small { color:#abc1b4; }
.vistore-dark .vistore-card__seller .vistore-card__seller-avatar { border-color:#426757; color:#dff3e7; background:#244536; }

/* Public conversation: color supports the action meaning and never replaces its label. */
.vistore-item-engagement { border-color:#c9e5d6; background:linear-gradient(135deg,#f6fcf8 0%,#f8fbff 100%); box-shadow:0 8px 20px rgba(14,77,53,.05); }
.vistore-item-engagement button { border-color:transparent; box-shadow:inset 0 0 0 1px currentColor; transition:transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease; }
.vistore-item-engagement button:hover { transform:translateY(-1px); box-shadow:inset 0 0 0 1px currentColor,0 5px 12px rgba(15,44,35,.1); }
.vistore-item-engagement form:nth-child(1) button { color:#b4234d; background:#fff1f4; }
.vistore-item-engagement form:nth-child(2) button { color:#9a6700; background:#fff8e5; }
.vistore-item-engagement form:nth-child(3) button { color:#126fa5; background:#ebf7ff; }
.vistore-item-engagement form:nth-child(1) button.is-active { color:#fff; background:#c62e5a; }
.vistore-item-engagement form:nth-child(2) button.is-active { color:#fff; background:#ad7200; }
.vistore-item-engagement form:nth-child(3) button.is-active { color:#fff; background:#1479b2; }
.vistore-item-engagement button:focus-visible,.vistore-comment-compose-toggle:focus-visible,.vistore-comment__actions button:focus-visible { outline:3px solid rgba(20,121,178,.35); outline-offset:2px; }
.vistore-comments { border:1px solid #cfe4da; border-radius:18px; padding:16px; background:linear-gradient(145deg,#fff 0%,#f7fcf9 100%); box-shadow:0 10px 26px rgba(15,66,47,.055); }
.vistore-comments .vistore-item-section__heading > span { width:42px; height:42px; flex:0 0 42px; border-radius:13px; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,#0d6b4b,#13986b); box-shadow:0 8px 16px rgba(13,107,75,.2); }
.vistore-comments .vistore-item-section__heading > span .vistore-icon { width:20px; height:20px; }
.vistore-comments .vistore-item-section__heading h2 { color:#123b2d; }
.vistore-comments .vistore-comment { border:1px solid #dbece3; border-left:3px solid #55af82; border-radius:14px; padding:12px; background:#fff; box-shadow:0 4px 12px rgba(15,66,47,.035); }
.vistore-comments .vistore-comment header > div span { color:#0c7651; }
.vistore-comments .vistore-comment__actions button { color:#096947; background:#eaf7ef; }
.vistore-comments .vistore-comment__actions button:hover { color:#fff; background:#0f7a54; }
.vistore-comments .vistore-comments__empty { border-color:#9fcfb6; color:#145b42; background:#effaf3; }
.vistore-comments .vistore-comments__empty > .vistore-icon { width:22px; height:22px; color:#0f7a54; }
.vistore-comments .vistore-comment-compose-toggle { border-color:#9bcfb1; background:#effaf4; }
.vistore-comments .vistore-comment-compose-toggle:hover,.vistore-comments .vistore-comment-compose-toggle.is-open { border-color:#3d9d70; background:#e1f5e9; }
.vistore-comments .vistore-comment-compose-toggle > span:first-child { background:#0f7a54; }
.vistore-dark .vistore-item-engagement { border-color:#365d4d; background:linear-gradient(135deg,#142a22,#162538); }
.vistore-dark .vistore-comments { border-color:#365d4d; background:linear-gradient(145deg,#12251e,#152238); }
.vistore-dark .vistore-comments .vistore-item-section__heading h2 { color:#e7f5ec; }
.vistore-dark .vistore-comments .vistore-comment { border-color:#315342; border-left-color:#59b782; background:#182f26; }
.vistore-dark .vistore-comments .vistore-comments__empty,.vistore-dark .vistore-comments .vistore-comment-compose-toggle { border-color:#3e795d; color:#def1e5; background:#193329; }
@media(min-width:1024px) {
  .vistore-promo-slider .vistore-promo-slider__viewport { height:clamp(260px,27vw,370px); min-height:0; }
  .vistore-promo-slider .vistore-promo-slider__slide { min-height:0; height:100%; }
}
@media(max-width:600px) {
  .vm-panel { padding:12px; border-radius:12px; }
  .vm-form .vistore-button { flex:1 1 auto; min-height:44px; }
  .vistore-card__image .vistore-card__price { bottom:7px; left:7px; max-width:calc(100% - 52px); border-radius:8px; padding:5px 7px; font-size:11.5px; }
  .vistore-card__price-before { display:none; }
  .vistore-card__seller { margin-top:8px; gap:7px; }
  .vistore-card__seller .vistore-card__seller-avatar { width:26px; height:26px; flex-basis:26px; font-size:9px; }
  .vistore-card__seller-copy strong { font-size:10.5px; }
  .vistore-card__seller-copy small { font-size:9px; }
  .vistore-card__seller-badge { width:13px; height:13px; }
  .vistore-card__seller-badge .vistore-icon { width:9px; height:9px; }
  .vistore-card__seller-badge--pro { height:13px; padding:0 3px; font-size:7px; }
  .vistore-card__delivery { padding:4px; }
  .vistore-card__delivery > span { display:none; }
  .vistore-item-engagement { padding:8px; }
  .vistore-item-engagement > div { gap:5px; }
  .vistore-item-engagement button { min-height:38px; gap:4px; padding:5px; font-size:10px; }
  .vistore-item-engagement button span { display:inline; }
  .vistore-item-engagement button svg { width:15px; height:15px; }
  .vistore-comments { border-radius:15px; padding:12px; }
  .vistore-comments .vistore-item-section__heading > span { width:38px; height:38px; flex-basis:38px; border-radius:11px; }
  .vistore-comments .vistore-comment { padding:10px; border-radius:12px; }
}

/* Listing conversation: low-friction questions, visible seller answers and contained moderation. */
.vistore-item-engagement__inner { display:flex; align-items:center; gap:12px; }
.vistore-item-engagement__summary { flex:0 0 auto; display:grid; gap:1px; margin:0; color:#587067; line-height:1.1; }
.vistore-item-engagement__summary strong { color:#123d2e; font-size:18px; font-variant-numeric:tabular-nums; }
.vistore-item-engagement__summary span { font-size:10px; font-weight:720; white-space:nowrap; }
.vistore-item-engagement__actions { min-width:0; flex:1 1 auto; display:flex; gap:7px; }
.vistore-item-engagement__actions form { flex:1 1 0; min-width:0; margin:0; }
.vistore-item-engagement__actions button { width:100%; }
.vistore-item-engagement__actions form:nth-child(2) button { color:#126fa5; background:#ebf7ff; }
.vistore-item-engagement__actions form:nth-child(2) button.is-active { color:#fff; background:#1479b2; }
.vistore-item-engagement__share { flex:0 1 108px; color:#6550a6 !important; background:#f4f0ff !important; }
.vistore-comments .vistore-comment.is-seller-reply { border-left-color:#06744c; background:linear-gradient(90deg,#f0fbf4 0%,#fff 35%); }
.vistore-comments .vistore-comment__seller-badge { padding:3px 6px; border-radius:999px; color:#fff; background:#08784f; }
.vistore-comments .vistore-comment__seller-badge svg { color:inherit; }
.vistore-comments .vistore-comment__actions button.is-active { color:#fff; background:#0f7a54; }
.vistore-comment__report { position:relative; }
.vistore-comment__report summary { cursor:pointer; color:#738278; font-size:11px; font-weight:750; list-style:none; }
.vistore-comment__report summary::-webkit-details-marker { display:none; }
.vistore-comment__report summary::before { content:'!'; width:17px; height:17px; margin-right:4px; display:inline-grid; place-items:center; border:1px solid currentColor; border-radius:50%; font-size:10px; }
.vistore-comment__report form { position:absolute; z-index:3; right:0; bottom:calc(100% + 7px); width:min(280px,70vw); padding:9px; display:grid; gap:6px; border:1px solid #e4d5cf; border-radius:10px; background:#fffdfa; box-shadow:0 10px 24px rgba(53,35,25,.14); }
.vistore-comment__report select,.vistore-comment__report input { width:100%; min-height:32px; padding:6px 8px; border:1px solid #d9d9d4; border-radius:7px; color:#27352f; background:#fff; font:inherit; font-size:11px; }
.vistore-comment__report form button { justify-self:end; color:#fff !important; background:#a74333 !important; }
.vistore-comments__empty > div { display:grid; gap:8px; }
.vistore-comments__empty button { width:max-content; min-height:32px; border:0; border-radius:8px; padding:6px 9px; color:#fff; background:#0d744e; font:inherit; font-size:11px; font-weight:760; }
.vistore-comment-prompts { margin:16px 0 10px; display:grid; gap:7px; }
.vistore-comment-prompts > strong { color:#355447; font-size:12px; }
.vistore-comment-prompts > div { display:flex; flex-wrap:wrap; gap:6px; }
.vistore-comment-prompts button { min-height:30px; border:1px solid #9ccfb7; border-radius:999px; padding:5px 9px; color:#126143; background:#fff; font:inherit; font-size:11px; font-weight:720; text-align:left; }
.vistore-comment-prompts button:hover { color:#fff; border-color:#0e754f; background:#0e754f; }
.vistore-dark .vistore-item-engagement__summary strong { color:#e7f5ec; }
.vistore-dark .vistore-item-engagement__summary { color:#a9c1b3; }
.vistore-dark .vistore-comments .vistore-comment.is-seller-reply { background:linear-gradient(90deg,#173e2c 0%,#182f26 38%); }
.vistore-dark .vistore-comment__report form { border-color:#4b5b53; background:#203128; }
.vistore-dark .vistore-comment__report select,.vistore-dark .vistore-comment__report input { border-color:#4b5b53; color:#e7f5ec; background:#17271f; }
.vistore-dark .vistore-comment-prompts > strong { color:#d9eee1; }
.vistore-dark .vistore-comment-prompts button { border-color:#4b8c69; color:#dff4e7; background:#183128; }
@media(max-width:600px) {
  .vistore-item-engagement__inner { align-items:stretch; gap:8px; }
  .vistore-item-engagement__summary { min-width:48px; justify-content:center; }
  .vistore-item-engagement__summary strong { font-size:16px; }
  .vistore-item-engagement__summary span { max-width:52px; white-space:normal; font-size:8.5px; }
  .vistore-item-engagement__actions { gap:5px; }
  .vistore-item-engagement__actions button { min-height:38px; padding:5px; font-size:10px; }
  .vistore-item-engagement__share { flex:0 0 38px; }
  .vistore-item-engagement__share span { display:none; }
  .vistore-comment-prompts { margin-top:13px; }
  .vistore-comment-prompts > div { flex-wrap:nowrap; overflow-x:auto; padding-bottom:2px; scrollbar-width:none; }
  .vistore-comment-prompts button { flex:0 0 auto; }
  .vistore-comment__report form { width:min(248px,calc(100vw - 64px)); }
}
