/* One readable listing language across catalogue, inventory and moderation. */
.listing-row{--listing-line:#e8e0e3;position:relative;display:grid;grid-template-columns:160px minmax(0,1fr) 132px;gap:20px;padding:18px;background:#fff;border:1px solid var(--listing-line);border-radius:13px;align-items:start;color:#30262d;font-family:inherit;margin:0;min-width:0}.listing-row-media{position:relative;width:160px;min-width:0}.listing-row-media img,.listing-no-photo{display:block;width:160px;height:120px;object-fit:contain;background:#f6f2f3;border-radius:8px}.listing-no-photo{display:grid;place-items:center;font-size:12px;color:#8c7d86}.listing-row-main{min-width:0}.listing-row-head{display:flex;flex-wrap:wrap;align-items:start;gap:8px 12px;justify-content:space-between}.listing-row .listing-row-head h3{margin:0;font-size:17px;line-height:1.35;overflow-wrap:anywhere;color:#30262d}.listing-row-head h3 a,.listing-row-head h3 button{font:inherit;font-weight:650;color:inherit}.listing-modules{display:grid;gap:9px;min-width:0}.listing-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:#76656f;font-size:11px;line-height:1.5;margin-top:6px}.listing-tags>span+span:before{content:"·";margin-right:10px;color:#bcaab4}.listing-intent{font-weight:650;color:#7b294b}.listing-facts{display:flex;flex-wrap:wrap;gap:7px 18px;margin:1px 0;font-size:12px;line-height:1.45}.listing-facts>div{display:flex;gap:5px;min-width:0;max-width:100%;align-items:baseline}.listing-facts dt{color:#887782;font-size:11px;margin:0}.listing-facts dd{margin:0;font-weight:600;color:#40303a;overflow-wrap:anywhere}.listing-description{margin:0;font-size:13px;line-height:1.5;color:#64535d;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.listing-logistics{display:flex;flex-wrap:wrap;gap:5px 16px;font-size:12px;color:#705b68;line-height:1.45}.listing-logistics>span:first-child{color:#39694d;font-weight:550}.listing-timeline{display:flex;flex-wrap:wrap;gap:12px;font-size:10px;color:#9c8894;line-height:1.4}.listing-variant-summary{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;font-size:11px}.listing-variant-summary li{display:flex;gap:6px;padding:4px 7px;border:1px solid #eee5ea;border-radius:5px;flex-wrap:wrap}.listing-variant-summary strong{font-weight:550}.listing-row-bottom{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:12px;color:#8e7886}.listing-row-price{font-size:18px;font-weight:700;letter-spacing:-.4px;color:#6d2546}.listing-row-actions{display:flex;flex-direction:column;gap:7px;align-items:stretch;min-width:0}.listing-row-actions button,.listing-row-actions a{margin:0;text-align:center;white-space:normal;font-size:12px;padding:8px 10px;min-height:34px;border-radius:7px;text-decoration:none}.listing-row-actions .listing-action-danger{color:#a52d42;border-color:#e8bac3;background:#fff}.listing-row-actions small{font-size:10px;line-height:1.5;color:#9a8390}.listing-row-pick{position:absolute;top:7px;left:7px;background:white;border-radius:5px;padding:3px;display:flex;z-index:1}.listing-row-pick input{margin:0;width:18px;height:18px}.listing-row .review-warning{margin:7px 0;font-size:12px}.listing-row .owner-variants{margin-top:12px;font-size:12px;color:#76616e}.listing-row .owner-variants summary{cursor:pointer;padding:6px 0}.listing-row .owner-variants .vlist{font-size:12px}.listing-row .owner-variants button{font-size:11px;padding:5px 8px}.listing-row.sel{border-color:#96607c;box-shadow:0 0 0 1px #96607c}.inventory-category{display:grid;gap:10px;margin:0 0 24px}.inventory-category h2{margin:5px 0;font-size:15px;font-weight:600;color:#6c5362;display:flex;justify-content:space-between;gap:12px}.inventory-category h2 small{font-size:12px;color:#9a8492;font-weight:400}.items .item.listing-row{grid-template-columns:160px minmax(0,1fr) 132px;gap:20px;padding:18px}.items .item.listing-row .listing-row-actions{grid-column:3;grid-row:1}.shop-value#shop-value{margin:24px 0 0;padding:16px 18px;background:transparent}.shop-value#shop-value h2{font-size:13px;margin:0 0 10px;color:#7d6674}.shop-value#shop-value .sv-grid{gap:20px}.shop-value#shop-value .sv-box{padding:0;border:0;background:none;gap:3px}.shop-value#shop-value .sv-sum{font-size:16px;font-weight:600}.shop-value#shop-value .sv-label,.shop-value#shop-value .sv-meta,.shop-value#shop-value .sv-notes,.shop-value#shop-value .sv-split,.shop-value#shop-value .sv-how{font-size:11px}.listing-row .status{white-space:normal}
/* Public tiles keep their accepted design. The richer modules appear only in list view. */
.future-card .listing-modules{display:none}
html body.future[data-gallery-view=list] .gallery-layout [data-gallery-columns]{display:none}
html body.future .store-blueprint .gallery-layout{visibility:visible;pointer-events:auto;position:relative;margin:12px 0;justify-content:flex-end}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-body h3{display:block;height:auto;max-height:none;max-width:100%;text-overflow:clip;overflow-wrap:anywhere;-webkit-line-clamp:unset;line-clamp:unset;line-height:1.35}
.command-help{margin-top:10px;font-size:12px;color:#7d6674}.command-help>summary{cursor:pointer;display:list-item}.command-help .examples{margin-top:10px}
@media(max-width:767px){#filters.panel.row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#filters.panel.row .field{min-width:0}#filters.panel.row .field:first-child{grid-column:1/-1}.cmd-box input{min-width:0}}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card{height:auto;min-height:0;aspect-ratio:auto}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-link[class]{position:relative;inset:auto;height:auto;aspect-ratio:auto;grid-template-rows:auto}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img[class]{position:relative;inset:auto;aspect-ratio:auto}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-location{position:static;inset:auto;background:transparent;padding:0;box-shadow:none;text-shadow:none}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img :is(.intent-badge,.cond){display:none}
body.future[data-gallery-view=list] .grid:not(.related-row):not(.store-directory-grid) .future-card .listing-modules{display:grid}
body.future[data-gallery-view=list] .grid-home:not(.store-directory-grid) .future-card .listing-modules{display:grid}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card{border:1px solid #e8e0e3;border-radius:13px;background:#fff;overflow:hidden}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-link[class]{display:grid;grid-template-columns:160px minmax(0,1fr);gap:0;align-items:start;min-height:156px;text-decoration:none}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img[class]{margin:18px 0 18px 18px;width:160px;height:120px;min-height:0;border-radius:8px;grid-column:1;grid-row:1;background:#f6f2f3}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img img{object-fit:contain}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-body[class]{position:relative;inset:auto;grid-column:2;grid-row:1;display:grid;gap:9px;padding:18px 48px 18px 38px;background:none;color:#30262d;text-shadow:none;min-width:0}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-body h3{font-size:17px;font-weight:650;color:#30262d;margin:0;white-space:normal;-webkit-line-clamp:2;line-clamp:2}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-foot{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin-top:3px}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-price strong{font-size:18px;color:#6d2546;font-weight:700}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-location{font-size:11px;color:#8e7886}
@media(max-width:767px){.listing-row,.items .item.listing-row{grid-template-columns:110px minmax(0,1fr);gap:12px;padding:12px}.listing-row-media,.listing-row-media img,.listing-no-photo{width:110px}.listing-row-media img,.listing-no-photo{height:90px}.listing-row-actions,.items .item.listing-row .listing-row-actions{grid-column:1/-1;grid-row:auto;flex-direction:row;flex-wrap:wrap;border-top:1px solid #eee5ea;padding-top:10px}.listing-row-actions>*{flex:1 1 100px}.listing-row-actions small{flex-basis:100%}.listing-row .listing-row-head h3{font-size:15px}.listing-description{font-size:12px;-webkit-line-clamp:4;line-clamp:4}.listing-facts{gap:5px 10px;font-size:11px}.listing-facts dt{font-size:10px}.listing-row-price{font-size:16px}.listing-row-bottom{margin-top:10px}.listing-timeline{gap:7px;font-size:9px}.listing-logistics{font-size:11px}.listing-tags{font-size:10px;gap:4px 7px}.listing-tags>span+span:before{margin-right:7px}.shop-value#shop-value .sv-grid{grid-template-columns:1fr;gap:14px}
html body.future .gallery-layout [data-gallery-view]{display:inline-flex}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)){display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-link[class]{grid-template-columns:110px minmax(0,1fr);min-height:120px}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img[class]{width:110px;height:90px;margin:12px 0 12px 12px}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-body[class]{padding:12px 30px 12px 24px;gap:8px}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-body h3{font-size:14px}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-price strong{font-size:16px}
}
@media(max-width:420px){.listing-row .listing-row-media{width:100px}.listing-row,.items .item.listing-row{grid-template-columns:100px minmax(0,1fr);gap:10px}.listing-row-media img,.listing-no-photo{width:100px;height:82px}.listing-facts>div{flex-wrap:wrap;gap:1px 5px}.listing-tags{line-height:1.4}}

/* Category chips share the established dimensional SVG artwork. */
.subcategory-chip .category-icon{width:22px;height:22px;flex:0 0 22px;vertical-align:middle;margin-right:5px}

/* Owner 2026-11-05: seller's own list — bigger photo; price, location, stock and delivery sit under it. */
.listing-row.listing-row-owner,.items .item.listing-row.listing-row-owner{grid-template-columns:240px minmax(0,1fr) 132px}
.listing-row-owner .listing-row-media{width:240px}
.listing-row-owner .listing-row-media img,.listing-row-owner .listing-no-photo{width:240px;height:190px;object-fit:contain}
.listing-row-aside{display:grid;gap:4px;margin-top:10px;font-size:12px;line-height:1.4;color:#705b68;overflow-wrap:anywhere}
.listing-row-aside .listing-row-price{font-size:18px}
.listing-row-aside .listing-row-stock{color:#39694d;font-weight:550}
@media(max-width:767px){.listing-row.listing-row-owner,.items .item.listing-row.listing-row-owner{grid-template-columns:150px minmax(0,1fr)}.listing-row-owner .listing-row-media,.listing-row-owner .listing-row-media img,.listing-row-owner .listing-no-photo{width:150px}.listing-row-owner .listing-row-media img,.listing-row-owner .listing-no-photo{height:130px}.listing-row-aside .listing-row-price{font-size:16px}}
@media(max-width:420px){.listing-row.listing-row-owner,.items .item.listing-row.listing-row-owner{grid-template-columns:128px minmax(0,1fr)}.listing-row-owner .listing-row-media,.listing-row-owner .listing-row-media img,.listing-row-owner .listing-no-photo{width:128px}.listing-row-owner .listing-row-media img,.listing-row-owner .listing-no-photo{height:110px}}

/* Owner 2026-11-05: public list view = the cabinet layout — bigger photo; price, place, stock and delivery under the photo;
   title, tags, facts and description beside it. The grid view never shows this block. */
.card-list-aside{display:none}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-link[class]{grid-template-columns:240px minmax(0,1fr);grid-template-rows:min-content 1fr;min-height:0;align-items:start}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img[class]{width:240px;height:190px;grid-column:1;grid-row:1;margin-bottom:0;align-self:start}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-list-aside{display:grid;gap:4px;grid-column:1;grid-row:2;align-self:start;margin:10px 0 18px 18px;font-size:12px;line-height:1.4;color:#705b68;overflow-wrap:anywhere}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-list-price{font-size:18px;font-weight:700;letter-spacing:-.4px;color:#6d2546}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-list-price small{font-size:11px;font-weight:500;color:#8e7886}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-list-stock{color:#39694d;font-weight:550}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-body[class]{grid-row:1/3}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-body .card-foot,html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-body .card-availability,html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-body .listing-logistics{display:none!important}
@media(max-width:767px){
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-link[class]{grid-template-columns:150px minmax(0,1fr)}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img[class]{width:150px;height:130px;margin-bottom:0}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-list-aside{margin:8px 0 12px 12px}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-list-price{font-size:16px}
}
@media(max-width:420px){
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-link[class]{grid-template-columns:128px minmax(0,1fr)}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img[class]{width:128px;height:110px}
}
/* Owner 2026-11-07: sort choice on the right above the cabinet listings */
.items-sort{display:flex;justify-content:flex-end;margin:0 0 10px}.items-sort label{display:flex;align-items:center;gap:8px;font-size:14px;color:#6c5362}.items-sort select{min-height:40px;padding:6px 10px;border:1px solid #e3d7dc;border-radius:10px;background:#fff;font:inherit;color:#251e22}
/* Owner 2026-11-11: phone list view — the whole photo is visible (never cropped) and fills its frame: the frame takes the
   photo's shape but never grows beyond the earlier design size (150 × 190, small phones 128 × 165). */
@media(max-width:767px){
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img[class]{width:auto;height:auto;min-height:0;aspect-ratio:auto;background:none;justify-self:start}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img img{display:block;width:auto;height:auto;max-width:150px;max-height:190px;object-fit:contain}
}
@media(max-width:420px){
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img img{max-width:128px;max-height:165px}
}
/* Owner 2026-11-11 (2): the whole photo must be visible, not cropped — the frame takes the photo's own shape
   (up to the column width and 320 px high; a very tall photo makes the frame narrower instead of being cut). */
@media(min-width:768px){
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img[class]{width:auto;max-width:240px;height:auto;min-height:0;aspect-ratio:auto;background:none;justify-self:start}
html body.future[data-gallery-view=list] :is(.grid:not(.related-row):not(.store-directory-grid),.grid-home:not(.store-directory-grid)) .future-card .card-img img{display:block;width:auto;height:auto;max-width:240px;max-height:320px;object-fit:contain}
html body#marketplace-home[data-gallery-view=list] .future-card .card-img{width:auto!important;max-width:160px;height:auto!important;aspect-ratio:auto!important;background:none!important;justify-self:start}
html body#marketplace-home[data-gallery-view=list] .future-card .card-img img{display:block!important;width:auto!important;height:auto!important;max-width:160px!important;max-height:240px!important;object-fit:contain!important;position:static!important}
}

/* Owner 2026-11-15: in grid view the card photo was cropped (object-fit:cover on a square tile) — the whole product must be
   visible. Show the full photo on a light neutral background; store-directory covers keep their crop. */
html body.future:not([data-gallery-view=list]) .future-card:not(.store-directory-card) .card-img{background:#f3efec}
html body.future:not([data-gallery-view=list]) .future-card:not(.store-directory-card) .card-img img{width:100%;height:100%;object-fit:contain;object-position:center!important}
/* Blurred copy of the same photo behind it fills the bands (like Instagram); hidden in list view. */
html body.future .future-card .card-img{isolation:isolate}
html body.future .future-card .card-img img.card-img-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover!important;filter:blur(18px) saturate(1.15);transform:scale(1.25);opacity:.9;z-index:-1;pointer-events:none}
html body.future[data-gallery-view=list] .future-card .card-img img.card-img-bg,html body#marketplace-home[data-gallery-view=list] .future-card .card-img img.card-img-bg{display:none!important}

/* Owner 2026-11-15: "Pirkt" box on the listing page (stores with the shop switched on). */
html body.future .buy-box{margin:12px 0}
html body.future .buy-box .buy-open{display:flex;justify-content:center;align-items:center;width:100%;min-height:52px;font-size:18px;font-weight:700;box-sizing:border-box}
html body.future .buy-box p{margin:6px 0 0;text-align:center}
/* Owner 2026-11-15: cart — add-to-cart + buy-now on the listing page, cart count in the header. */
html body.future .buy-box .buy-actions{display:grid;grid-template-columns:3fr 2fr;gap:8px}
html body.future .buy-box .buy-now{display:flex;justify-content:center;align-items:center;min-height:52px;font-weight:700;box-sizing:border-box}
html body.future .buy-box .buy-variant{display:grid;gap:4px;margin:0 0 8px;font-weight:600}
html body.future .buy-box .buy-variant select{min-height:44px;font:inherit}
html body.future .buy-box .shop-ok{padding:10px 14px;border-radius:10px;background:#e8f6ee;color:#17663a;text-align:left;margin:0 0 10px}
html body.future .cart-link{position:relative}
html body.future .cart-link .cart-count{position:absolute;top:-4px;right:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#b3261e;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center;box-sizing:border-box}
