/* WEB-260/261: shared category list contracts for search and special offers. */
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-toolbar { display: flex; align-items: center; gap: 12px; margin: 0; min-height: 40px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-amount { margin: 0; white-space: nowrap; font-size: 13px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-toolbar .modes { display: flex !important; visibility: visible !important; padding: 0; border: 0; width: auto; margin: 0; order: 0; gap: 4px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .modes-mode { width: 35px; height: 35px; padding: 7px; background-size: 18px; background-position: center; background-repeat: no-repeat; border: 1px solid #e3e7ed; border-radius: 4px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .modes-mode.active { background-color: #f1f3f5; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-sort-control { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 13px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .toolbar-sorter { order: 0; gap: 5px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .toolbar-sorter label { margin: 0; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .sorter-action { width: 24px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .limiter { order: 0; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .form-select { padding-top: 7px; padding-bottom: 7px; font-size: 13px; height: 36px; border-color: #e3e7ed; border-radius: 4px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card { position: relative; padding: 0 !important; border: 1px solid #e3e7ed; border-radius: 5px; background: #fff; box-shadow: none; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-item-photo { width: 100%; height: 130px; margin: 0 !important; background: #fff; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-item-photo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-info { padding: 8px !important; min-width: 0; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__name { font-size: 13px; line-height: 1.3; text-align: left; margin: 0 0 4px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__price .price { font-size: 19px; font-weight: 700; color: #111; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__price .special-price .price { color: #ed001b; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__actions { padding-top: 7px; gap: 5px; flex-wrap: nowrap; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__actions > .btn { width: 100%; min-height: 36px; padding: 7px 6px; justify-content: center; font-size: 12px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__actions > .btn span { display: inline !important; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__actions svg { width: 17px; height: 17px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__actions > div:empty { display: none; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list [data-addto=compare] { display: none; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-toolbar--bottom { justify-content: center; padding: 6px 0 20px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-catalog-grid { grid-template-columns: 1fr; gap: 0; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card { flex-direction: row; border: 0; border-bottom: 1px solid #e3e7ed; border-radius: 0; padding: 9px 0 !important; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-item-photo { width: 23%; height: 105px; flex-shrink: 0; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-info { width: auto; flex: 1; display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: 5px 16px; align-items: start; padding: 0 0 0 18px !important; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__name { grid-column: 1; grid-row: 1; font-size: 15px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-info > .py-1 { grid-column: 1; grid-row: 2; margin: 0; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list :is(.ws-sofa-description, .product-info > .mt-2.mb-1:not(.ws-product-card__name)) { grid-column: 1; grid-row: 3 / span 2; font-size: 12px; line-height: 1.4; text-align: left; max-height: 52px; overflow: hidden; margin: 0; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__price { grid-column: 2; grid-row: 1 / span 2; padding: 0; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__actions { grid-column: 2; grid-row: 3; margin: 0; padding: 0; }
@media(max-width:767px) {
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-toolbar--top { grid-column: 1 / -1 !important; grid-row: 2 !important; display: grid !important; grid-template-columns: 1fr 1fr; grid-template-rows: 43px 34px; gap: 8px 10px; align-self: start; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-sort-control { grid-column: 2; grid-row: 1; width: 100%; margin: 0; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-sort-label { display: none; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .toolbar-sorter { display: flex; width: 100%; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .toolbar-sorter label { flex: 1; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .toolbar-sorter select { width: 100%; height: 43px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .sorter-action { display: none; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-amount { grid-column: 1; grid-row: 2; font-size: 12px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-toolbar--top .modes { display: flex !important; grid-column: 2; grid-row: 2; justify-self: end; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-toolbar .limiter { display: none; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-item-photo { height: 108px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__name { font-size: 12px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__price .price { font-size: 17px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-item-photo { width: 31%; height: 85px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-info { padding-left: 10px !important; grid-template-columns: minmax(0,1fr) 105px; gap: 4px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__name { grid-column: 1 / -1; font-size: 12px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-info > .py-1 { grid-column: 1 / -1; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list :is(.ws-sofa-description, .product-info > .mt-2.mb-1:not(.ws-product-card__name)) { display: none; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__price { grid-column: 1; grid-row: 3; align-self: center; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__actions { grid-column: 2; grid-row: 3; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__actions > .btn { min-height: 30px; padding: 5px 3px; font-size: 10px; gap: 3px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__actions svg { width: 13px; height: 13px; }
}
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card { border: 1px solid #e3e7ed !important; border-radius: 5px !important; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card { border: 0 !important; border-bottom: 1px solid #e3e7ed !important; border-radius: 0 !important; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__actions .btn { background: #ffd800 !important; color: #111 !important; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-info > .py-1:not(:has(*)) { display: none; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__name, :is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__actions > .btn { font-weight: 700; }
/* Campaign resets otherwise retain grid image heights and floating actions in list mode. */
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-item-photo { height:105px !important; min-height:0 !important; max-height:105px !important; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-item-photo img { max-height:100%; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-save-controls { display:none; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .price-box { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .old-price .price { font-size:13px !important; font-weight:400 !important; color:#687080 !important; }
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-catalog-grid { padding:10px 0 16px; }
@media(max-width:767px) {
 :is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-toolbar--top { display:flex !important; flex-wrap:wrap; gap:8px; }
 :is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .ws-sofa-sort-control { flex:1; }
 :is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-item-photo { height:85px !important; min-height:0 !important; max-height:85px !important; }
}
:is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .product-info, :is(.category-sooduspakkumised .ws-offers-list, .catalogsearch-result-index .ws-search-list) .products-list .ws-product-card__name { min-height:0 !important; }

.catalogsearch-result-index .ws-search-list { padding:0 !important; }
.catalogsearch-result-index:has(.ws-search-list), .catalogsearch-result-index:has(.ws-search-list) .page-main { background:#fff !important; }

/* Give the campaign row its full label height and only one scroll axis. */
.ws-category-harmonized .ws-campaign-shortcuts {
  min-width: 0;
  overflow: clip;
}
.ws-category-harmonized .ws-campaign-shortcuts-track {
  align-items: stretch;
  padding-block: .25rem .35rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
@media (min-width: 768px) {
  .ws-category-harmonized .page-main:has(.ws-campaign-hero) .ws-campaign-shortcuts-track {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(5.75rem, 1fr);
    gap: .55rem;
  }
}
.ws-campaign-shortcuts-track::-webkit-scrollbar { display: none; }
.ws-category-harmonized .page-main:has(.ws-campaign-hero) .ws-campaign-shortcut {
  white-space: normal;
  overflow-wrap: anywhere;
}
.ws-campaign-shortcut-media { flex: none; }
.ws-campaign-shortcuts-track:focus-visible,
.ws-campaign-shortcut:focus-visible {
  outline: 2px solid #20242a;
  outline-offset: -2px;
}
