/* Tema exclusivo da vitrine, produto, carrinho e entrega da loja independente.
   Login, vendedor e administração continuam com os estilos existentes. */
.marketplace-nav, .marketplace-footer-links { display: none; }
.header-search-submit { display: grid; flex: 0 0 32px; width: 32px; height: 36px; place-items: center; padding: 0; border: 0; border-radius: 5px; background: transparent; color: inherit; }
.header-search-submit:hover { color: var(--green); }

body.marketplace-screen {
  min-width: 0;
  color-scheme: light;
  --ink: #f2f4f3;
  --surface: #fff;
  --surface-raised: #fff;
  --surface-soft: #edf4f0;
  --line: #d8e2dd;
  --line-soft: #e5eae7;
  --text: #172c25;
  --muted: #62716a;
  --green: #007a50;
  --green-deep: #006b47;
  --green-wash: #eaf7f0;
  --danger: #a62d3e;
  --danger-bg: #fff1f3;
  --info: #214e77;
  --info-bg: #edf5ff;
  background: var(--ink);
  color: var(--text);
}
body.marketplace-screen .site-shell { width: min(1280px, calc(100% - 48px)); }
body.marketplace-screen :is(h1, h2, h3) { letter-spacing: -.025em; }
body.marketplace-screen :is(button, a, input, select, textarea):focus-visible { outline: 3px solid #009b64; outline-offset: 4px; }
body.marketplace-screen .button { min-height: 44px; border-radius: 7px; font-weight: 700; }
body.marketplace-screen .primary { background: #00df88; color: #053426; }
body.marketplace-screen .primary:hover { background: #00cf7e; }
body.marketplace-screen .outline { border-color: #087c54; background: #fff; color: #006b47; }
body.marketplace-screen .outline:hover { background: #eaf7f0; }
body.marketplace-screen .secondary { color: #365246; background: #edf4f0; }

/* Two-row marketplace header; the original logo bitmap is preserved. */
body.marketplace-screen .site-header { position: relative; isolation: isolate; grid-template-columns: 245px minmax(220px, 1fr) auto; gap: 0 28px; min-height: 132px; padding: 12px 0 0; border: 0; color: #fff; }
body.marketplace-screen .site-header::before { position: absolute; z-index: -1; inset: 0; background: #063d2e; box-shadow: 0 0 0 100vmax #063d2e; clip-path: inset(0 -100vmax); content: ''; }
body.marketplace-screen .brand-logo { width: 234px; height: 57px; object-fit: cover; }
body.marketplace-screen .brand-subtitle { margin: 0 0 4px 5px; color: #b3d4c6; font-size: .55rem; letter-spacing: .15em; }
body.marketplace-screen .header-search { max-width: none; height: 48px; gap: 8px; padding: 0 10px; border: 1px solid #d7e2db; border-radius: 7px; background: #fff; color: #5b6e64; box-shadow: 0 2px 6px #001f191a; }
body.marketplace-screen .header-search:focus-within { border-color: #00df88; box-shadow: 0 0 0 3px #00df8840; }
body.marketplace-screen .header-search input { min-width: 0; height: 100%; padding: 0 4px; border: 0; border-radius: 0; background: transparent; color: #20372e; font-weight: 400; box-shadow: none; outline: 0; }
body.marketplace-screen .header-search input::placeholder { color: #64736b; }
body.marketplace-screen .header-actions { gap: 19px; }
body.marketplace-screen .header-actions .seller-nav { display: none; }
body.marketplace-screen :is(.account-nav, .cart-nav) { min-height: 44px; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: #fff; font-size: .9rem; font-weight: 600; }
body.marketplace-screen .cart-nav { padding-left: 20px; border-left: 1px solid #3c6654; }
body.marketplace-screen .header-actions svg { width: 24px; height: 24px; }
body.marketplace-screen .cart-count { background: #00df88; color: #053426; }
body.marketplace-screen .marketplace-nav { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 16px; min-height: 45px; margin-top: 9px; border-top: 1px solid #315c4a; font-size: .85rem; }
body.marketplace-screen .marketplace-nav-links { display: flex; align-items: center; gap: 32px; }
body.marketplace-screen .marketplace-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; color: #eaf4ef; text-decoration: none; }
body.marketplace-screen .marketplace-nav a:hover { color: #00ef92; }
body.marketplace-screen .marketplace-delivery-link svg { width: 25px; height: 25px; }

/* Compact editorial banner and useful links, with no simulated offers. */
body.marketplace-screen #storefront-view { padding-top: 18px; }
body.marketplace-screen .store-hero { position: relative; grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr); min-height: 286px; margin: 0 0 16px; padding: 26px 56px; border: 0; border-radius: 11px; background: linear-gradient(115deg, #053b2d, #095b41); color: #fff; box-shadow: none; }
body.marketplace-screen .store-hero > div:first-child { z-index: 1; }
body.marketplace-screen .store-hero h1 { margin-bottom: 14px; font-size: clamp(2.15rem, 3.4vw, 3.05rem); line-height: 1.07; font-weight: 750; }
body.marketplace-screen .store-hero p { max-width: 670px; margin-bottom: 20px; color: #deeee5; font-size: 1.05rem; }
body.marketplace-screen .store-hero .button { min-width: 186px; }
body.marketplace-screen .hero-art { width: min(310px, 100%); height: 242px; aspect-ratio: auto; justify-self: center; }
body.marketplace-screen .hero-art::before { position: absolute; inset: -70px -50px; border-radius: 50%; background: radial-gradient(circle, #27c08438, #00ad6a0d 65%, transparent 66%); content: ''; }
body.marketplace-screen .hero-art img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
body.marketplace-screen .marketplace-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 28px; padding: 18px 0; border: 1px solid var(--line-soft); border-radius: 10px; background: #fff; box-shadow: 0 2px 6px #102c1903; }
body.marketplace-screen .marketplace-shortcuts > :is(a, button) { display: flex; align-items: center; gap: 18px; min-width: 0; padding: 3px 27px; border: 0; background: transparent; color: var(--text); text-align: left; text-decoration: none; }
body.marketplace-screen .marketplace-shortcuts > :is(a, button) + * { border-left: 1px solid var(--line-soft); }
body.marketplace-screen .marketplace-shortcuts svg { flex: 0 0 34px; width: 34px; height: 34px; color: #006b47; }
body.marketplace-screen .marketplace-shortcuts span { min-width: 0; }
body.marketplace-screen .marketplace-shortcuts strong { display: block; margin-bottom: 5px; font-size: .96rem; font-weight: 650; }
body.marketplace-screen .marketplace-shortcuts small { display: block; color: var(--muted); font-size: .83rem; line-height: 1.4; }
body.marketplace-screen .marketplace-shortcuts > :is(a, button):hover strong { color: #007a50; text-decoration: underline; text-underline-offset: 3px; }

/* A fixed-density grid grows from the actual catalog, including the empty state. */
body.marketplace-screen .catalog-section { margin-bottom: 28px; scroll-margin-top: 20px; }
body.marketplace-screen .section-heading { align-items: center; margin-bottom: 18px; }
body.marketplace-screen .section-heading h2 { font-size: 1.7rem; font-weight: 700; }
body.marketplace-screen .section-heading p { font-size: .94rem; }
body.marketplace-screen .text-button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; color: #006b47; font-size: .88rem; font-weight: 600; }
body.marketplace-screen .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
body.marketplace-screen .catalog-card { border: 1px solid #e0e6e2; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px #233a2f05; }
body.marketplace-screen .catalog-card:hover { transform: translateY(-3px); border-color: #b5c9be; background: #fff; box-shadow: 0 8px 20px #233a2f12; }
body.marketplace-screen .catalog-card-link { display: flex; flex-direction: column; height: 100%; color: #172c25; text-decoration: none; }
body.marketplace-screen .catalog-image { width: 100%; aspect-ratio: 1.36; padding: 16px; object-fit: contain; background: #fff; }
body.marketplace-screen :is(.catalog-image-placeholder, .product-image-placeholder) { background: #edf4f0; color: #007a50; }
body.marketplace-screen .catalog-card-body { display: flex; flex: 1; flex-direction: column; padding: 5px 18px 14px; }
body.marketplace-screen .catalog-card-body h3 { margin: 0 0 6px; font-size: .96rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; overflow-wrap: anywhere; }
body.marketplace-screen .catalog-card-body p { min-height: 0; margin: 0 0 10px; font-size: .79rem; line-height: 1.4; }
body.marketplace-screen .catalog-card-body > strong { margin-top: auto; color: #112820; font-size: 1.65rem; line-height: 1.3; font-weight: 650; letter-spacing: -.025em; }
body.marketplace-screen .availability { align-self: flex-start; gap: 6px; padding: 0; border: 0; border-radius: 0; color: #697770; font-size: .76rem; font-weight: 500; letter-spacing: 0; }
body.marketplace-screen .availability-ready { color: #007447; }
body.marketplace-screen .availability-ready::before { width: 7px; height: 7px; margin-top: .38em; border-radius: 50%; background: currentColor; content: ''; }
body.marketplace-screen .catalog-card-body .availability { margin-top: 6px; }
body.marketplace-screen .catalog-card-action { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--line-soft); color: #006b47; font-size: .85rem; font-weight: 600; }
body.marketplace-screen .catalog-empty { min-height: 250px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
body.marketplace-screen .account-callout { gap: 20px; margin-bottom: 16px; padding: 20px 26px; border: 1px solid var(--line-soft); border-radius: 10px; background: #fff; }
body.marketplace-screen .account-callout h2 { font-size: 1.05rem; font-weight: 650; }
body.marketplace-screen .account-callout p { font-size: .87rem; }
body.marketplace-screen .account-callout .button { min-width: 185px; }
body.marketplace-screen .account-icon { width: 40px; height: 40px; border: 0; border-radius: 0; color: #006b47; }
body.marketplace-screen .account-icon svg { width: 35px; height: 35px; }
body.marketplace-screen .site-footer { min-height: 66px; font-size: .8rem; }
body.marketplace-screen .marketplace-footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
body.marketplace-screen .marketplace-footer-links a { padding: 10px 0; text-decoration: none; }
body.marketplace-screen .marketplace-footer-links a:hover { color: #006b47; text-decoration: underline; }

/* Product detail: same actions, quantity controls and gallery structure. */
body.marketplace-screen .back-link { margin-bottom: 22px; color: #006b47; font-size: .88rem; font-weight: 600; text-decoration: none; }
body.marketplace-screen .product-page-grid { grid-template-columns: minmax(0, 1.4fr) minmax(350px, .9fr); gap: 18px; align-items: stretch; }
body.marketplace-screen .product-gallery { grid-template-columns: 72px minmax(0, 1fr); padding: 22px; border: 1px solid var(--line-soft); border-radius: 10px; background: #fff; }
body.marketplace-screen .product-thumb { width: 72px; border-radius: 6px; background: #fff; }
body.marketplace-screen .product-thumb-image { padding: 4px; object-fit: contain; background: #fff; }
body.marketplace-screen .product-main-media { display: grid; align-items: center; min-height: 420px; border: 0; border-radius: 0; background: #fff; }
body.marketplace-screen .product-main-image { min-height: 0; height: 480px; max-height: 100%; object-fit: contain; background: #fff; }
body.marketplace-screen .product-purchase-panel { max-width: none; padding: 28px; border: 1px solid var(--line-soft); border-radius: 10px; background: #fff; }
body.marketplace-screen .product-purchase-panel h1 { margin: 17px 0 9px; font-size: 1.7rem; line-height: 1.2; font-weight: 650; overflow-wrap: anywhere; }
body.marketplace-screen .product-lead { margin-bottom: 14px; font-size: .97rem; overflow-wrap: anywhere; }
body.marketplace-screen .product-price { padding: 10px 0 20px; border-top: 0; font-size: 2.2rem; font-weight: 650; }
body.marketplace-screen .quantity-control { padding: 18px 0; font-weight: 600; }
body.marketplace-screen .product-delivery-note { margin-bottom: 17px; padding: 16px; border: 0; border-radius: 8px; background: #eaf7f0; }
body.marketplace-screen .product-actions .outline { border-color: transparent; background: #cff6e4; }
body.marketplace-screen .product-security { font-size: .78rem; }
body.marketplace-screen .product-description { max-width: none; margin: 18px 0; padding: 26px 30px; border: 1px solid var(--line-soft); border-radius: 10px; background: #fff; }
body.marketplace-screen .product-description h2 { font-size: 1.45rem; }
body.marketplace-screen .product-description p { max-width: 850px; font-size: .94rem; overflow-wrap: anywhere; }

/* Existing cart/address contracts remain intact; only surface and type change. */
body.marketplace-screen :is(.cart-page-heading, .checkout-page-heading) h1 { font-size: 2rem; }
body.marketplace-screen :is(.cart-items-list, .cart-summary, .checkout-address-panel, .checkout-summary, .cart-access-state, .cart-empty-state) { border-color: var(--line-soft); border-radius: 10px; background: #fff; }
body.marketplace-screen :is(.cart-access-state, .cart-empty-state) h1 { font-size: 1.8rem; }
body.marketplace-screen :is(.summary-delivery, .summary-pending) { background: #f5f8f6; }
body.marketplace-screen .address-card { background: #fff; }
body.marketplace-screen .address-card.is-selected { border-color: #008a58; background: #eefaf4; }
body.marketplace-screen .quote-item { background: #fff; }
body.marketplace-screen .quote-item--selected { border-color: #008a58; background: #eaf7f0; }
body.marketplace-screen .cart-item-image { object-fit: contain; background: #fff; }
body.marketplace-screen .address-form label { color: #29483a; }
body.marketplace-screen .address-form :is(input, textarea, select) { border-color: #c6d4cc; background: #fff; color: var(--text); }
body.marketplace-screen .status-success { background: #e9f8ef; color: #006b47; }

@media (max-width: 1100px) {
  body.marketplace-screen .site-header { grid-template-columns: 210px minmax(180px, 1fr) auto; gap: 0 20px; }
  body.marketplace-screen .brand-logo { width: 200px; height: 51px; }
  body.marketplace-screen .header-actions { gap: 14px; }
  body.marketplace-screen .cart-nav { padding-left: 15px; }
  body.marketplace-screen .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.marketplace-screen .marketplace-shortcuts > :is(a, button) { gap: 12px; padding-inline: 18px; }
  body.marketplace-screen .marketplace-shortcuts small { font-size: .78rem; }
  body.marketplace-screen .store-hero { padding-inline: 32px; }
  body.marketplace-screen .product-page-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); }
  body.marketplace-screen .product-gallery { grid-template-columns: 1fr; padding: 15px; }
  body.marketplace-screen .product-gallery-thumbs { display: flex; grid-row: 2; }
  body.marketplace-screen .product-main-image { height: 420px; }
}
@media (max-width: 780px) {
  body.marketplace-screen .site-shell { width: calc(100% - 32px); }
  body.marketplace-screen .site-header { grid-template-columns: 1fr auto; min-height: 0; gap: 9px 16px; padding-top: 8px; }
  body.marketplace-screen .brand-logo { width: 190px; height: 48px; }
  body.marketplace-screen .brand-subtitle { margin-top: -2px; font-size: .49rem; }
  body.marketplace-screen .header-search { grid-column: 1 / -1; grid-row: 2; height: 46px; }
  body.marketplace-screen .marketplace-nav { gap: 0; min-height: 42px; margin-top: 0; }
  body.marketplace-screen .marketplace-nav-links { justify-content: space-between; gap: 22px; width: 100%; }
  body.marketplace-screen .marketplace-nav a { font-size: .8rem; }
  body.marketplace-screen .marketplace-nav .marketplace-delivery-link { display: none; }
  body.marketplace-screen .header-actions :is(.account-nav, .cart-nav) > span { display: none; }
  body.marketplace-screen .cart-nav { padding-left: 14px; }
  body.marketplace-screen .store-hero { grid-template-columns: minmax(0, 1.5fr) minmax(130px, 1fr); min-height: 250px; gap: 12px; padding: 25px; }
  body.marketplace-screen .store-hero h1 { font-size: 2rem; }
  body.marketplace-screen .store-hero p { font-size: .88rem; }
  body.marketplace-screen .hero-art { height: 210px; }
  body.marketplace-screen .marketplace-shortcuts { grid-template-columns: 1fr; gap: 0; padding: 0 20px; margin-bottom: 24px; }
  body.marketplace-screen .marketplace-shortcuts > :is(a, button) { gap: 16px; padding: 16px 0; }
  body.marketplace-screen .marketplace-shortcuts > :is(a, button) + * { border-left: 0; border-top: 1px solid var(--line-soft); }
  body.marketplace-screen .marketplace-shortcuts svg { flex-basis: 28px; width: 28px; height: 28px; }
  body.marketplace-screen .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.marketplace-screen .section-heading { flex-direction: row; align-items: center; gap: 12px; }
  body.marketplace-screen .section-heading h2 { font-size: 1.32rem; }
  body.marketplace-screen .section-heading p { font-size: .8rem; }
  body.marketplace-screen .account-callout { grid-template-columns: auto 1fr; padding: 20px; }
  body.marketplace-screen .account-callout .button { grid-column: 1 / -1; width: 100%; }
  body.marketplace-screen .product-page-grid { grid-template-columns: 1fr; }
  body.marketplace-screen .product-main-media { min-height: 280px; }
  body.marketplace-screen .product-main-image { height: 340px; }
  body.marketplace-screen .product-purchase-panel { padding: 24px; }
  body.marketplace-screen .product-description { padding: 24px; }
  body.marketplace-screen .site-footer { flex-direction: column; align-items: flex-start; gap: 5px; padding: 20px 0; }
}
@media (max-width: 480px) {
  body.marketplace-screen #storefront-view { padding-top: 14px; }
  body.marketplace-screen .store-hero { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 24px; }
  body.marketplace-screen .store-hero h1 { font-size: 1.95rem; }
  body.marketplace-screen .store-hero p { max-width: 280px; }
  body.marketplace-screen .hero-art { position: absolute; right: -20px; bottom: -18px; width: 130px; height: 130px; opacity: .85; }
  body.marketplace-screen .store-hero .button { min-width: 0; padding-inline: 16px; font-size: .85rem; }
  body.marketplace-screen .catalog-card-body { padding: 5px 12px 12px; }
  body.marketplace-screen .catalog-card-body > strong { font-size: 1.32rem; }
  body.marketplace-screen .catalog-card-body h3 { font-size: .86rem; }
  body.marketplace-screen .catalog-image { padding: 10px; aspect-ratio: 1; }
  body.marketplace-screen .catalog-card-body p { font-size: .74rem; }
  body.marketplace-screen .account-callout { grid-template-columns: 1fr; gap: 12px; }
  body.marketplace-screen .account-icon { display: none; }
  body.marketplace-screen .quantity-control { flex-direction: row; align-items: center; }
}
@media (max-width: 360px) {
  body.marketplace-screen .brand-logo { width: 160px; height: 44px; }
  body.marketplace-screen .header-actions { gap: 10px; }
  body.marketplace-screen .cart-nav { padding-left: 10px; }
  body.marketplace-screen .marketplace-nav-links { gap: 10px; }
  body.marketplace-screen .marketplace-nav a { font-size: .73rem; }
}

/* Controles da primeira entrega funcional; sem alterar os formulários existentes. */
body.marketplace-screen .catalog-filters { display: grid; grid-template-columns: minmax(220px, 1.1fr) minmax(160px, 1fr) minmax(145px, .8fr) auto; align-items: end; gap: 16px; margin: 0 0 20px; padding: 20px; border: 1px solid var(--line-soft); border-radius: 12px; background: #fff; }
body.marketplace-screen .catalog-filters :is(label, fieldset) { min-width: 0; margin: 0; }
body.marketplace-screen .catalog-filters label { display: grid; gap: 7px; color: #29483a; font-size: .8rem; font-weight: 600; }
body.marketplace-screen .catalog-price-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; border: 0; }
body.marketplace-screen .catalog-price-range legend { margin-bottom: 9px; color: #172c25; font-size: .84rem; font-weight: 700; }
body.marketplace-screen .catalog-filters :is(input, select) { width: 100%; min-width: 0; height: 42px; margin: 0; padding: 9px 10px; border: 1px solid #cbd7d0; border-radius: 7px; background: #fff; color: #172c25; font: inherit; }
body.marketplace-screen .catalog-filters input::placeholder { color: #67776e; opacity: 1; }
body.marketplace-screen .catalog-filters :is(input, select):focus-visible { outline: 2px solid #008452; outline-offset: 2px; }
body.marketplace-screen .catalog-filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }
body.marketplace-screen .catalog-filter-actions .button { min-height: 42px; padding: 10px 14px; font-size: .82rem; white-space: nowrap; }
body.marketplace-screen .catalog-filters .catalog-filter-error { grid-column: 1 / -1; margin: 0; color: #9d2525; font-size: .85rem; }
body.marketplace-screen .catalog-filters input[aria-invalid="true"] { border-color: #b32626; }
#seller-view .seller-inventory-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 24px; }
#seller-view .seller-inventory-summary > div { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 24, 20, .82); }
#seller-view .seller-inventory-summary span { display: block; color: var(--muted); font-size: .84rem; }
#seller-view .seller-inventory-summary strong { display: block; margin-top: 8px; color: var(--text); font-size: 1.65rem; overflow-wrap: anywhere; }
#seller-view .seller-product-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 14px; margin: 18px 0; }
#seller-view .seller-product-filters label { display: grid; min-width: 0; gap: 7px; margin: 0; font-size: .82rem; }
#seller-view .seller-search-field { grid-column: 1 / -1; }
#seller-view .seller-product-filters :is(input, select) { width: 100%; min-width: 0; height: 42px; margin: 0; font-size: .86rem; }
#seller-view .seller-product-filters .button { justify-self: start; min-height: 40px; padding: 9px 14px; font-size: .82rem; }
#seller-view .seller-results-summary { margin: 14px 0; color: var(--muted); font-size: .82rem; }
#seller-view #seller-product-results { min-width: 0; }
#seller-view .seller-product-row h3 { overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  body.marketplace-screen .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1050px) {
  body:has(#seller-view:not(.hidden)) .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  body:has(#seller-view:not(.hidden)) .header-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  body:has(#seller-view:not(.hidden)) .header-search input { min-width: 0; }
}
@media (max-width: 600px) {
  body.marketplace-screen .catalog-filters { gap: 14px; padding: 16px; }
  body.marketplace-screen .catalog-price-range, body.marketplace-screen .catalog-filter-actions { grid-column: 1 / -1; }
  body.marketplace-screen .catalog-filter-actions .button { flex: 1; }
  body.marketplace-screen .catalog-filters > label { grid-column: 1 / -1; }
  #seller-view .seller-inventory-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #seller-view .seller-inventory-summary > div { padding: 16px; }
  #seller-view .seller-inventory-summary strong { font-size: 1.4rem; }
  #seller-view .seller-product-filters { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body:has(#seller-view:not(.hidden)) { min-width: 0; }
  body:has(#seller-view:not(.hidden)) .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  body:has(#seller-view:not(.hidden)) .header-search input { min-width: 0; }
  body:has(#seller-view:not(.hidden)) .header-actions { gap: 6px; }
  body:has(#seller-view:not(.hidden)) .header-actions :is(.account-nav, .seller-nav, .cart-nav) { width: 36px; min-width: 36px; justify-content: center; padding: 8px; }
}
