.catalog-search-page{padding-block:34px 76px}
.search-page-head{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:25px 28px;border:1px solid #eee5e3;border-radius:18px;background:#fbfaf9}
.search-page-head>div>span{color:#082c5d;font-size:12px;font-weight:800}
.search-page-head h1{margin:6px 0;color:#292426;font-size:clamp(22px,2.5vw,32px);line-height:1.45}
.search-page-head p{margin:0;color:#766e6c;font-size:13px}.search-page-head p strong{color:#082c5d}
.result-sort{flex:0 0 220px}.result-sort label{display:grid;gap:7px;color:#514b4a;font-size:12px;font-weight:800}
.catalog-search-page .search-layout{grid-template-columns:240px minmax(0,1fr);gap:22px;margin-top:22px}
.catalog-search-page .search-filters,.category-products-page .filters{border:1px solid #eae4e1;border-radius:15px;background:#fff;box-shadow:0 7px 24px rgba(40,25,25,.035)}
.catalog-search-page .search-filter-title,.category-products-page .filters-title{min-height:56px;padding:14px 16px;border-color:#eee9e7;font-size:13px}
.catalog-search-page .search-filter-title a,.category-products-page .filters-title a{font-size:11px}
.catalog-search-page .search-filters>form{gap:16px}.catalog-search-page .search-filters label{font-size:12px!important}
.catalog-search-page .search-filters select,.catalog-search-page .search-filters input,.category-products-page .filters select,.category-products-page .price-inputs input{min-height:44px;border-color:#e3dcda;border-radius:9px;background:#fff;font-size:12px!important}
.catalog-search-page .search-filters select:focus,.catalog-search-page .search-filters input:focus,.category-products-page .filters select:focus,.category-products-page .filters input:focus{outline:2px solid #e8f1f9;outline-offset:1px}
.catalog-search-results,.category-products-page .shop-results{min-width:0}
.catalog-product-grid,.category-products-page #shop-products-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:stretch}
.catalog-category-heading{grid-column:1/-1;margin:10px 0 0;padding:0 0 10px;border-bottom:1px solid #eee9e7;color:#322c2b;font-size:16px;line-height:1.5}
.catalog-product-grid .product-card-simple,.category-products-page #shop-products-grid .product-card-simple{min-width:0;height:100%;display:flex!important;flex-direction:column!important}
.catalog-product-grid .product-card-media,.category-products-page #shop-products-grid .product-card-media{min-width:0}
.catalog-product-grid .product-card-copy,.category-products-page #shop-products-grid .product-card-copy{flex:1}
.catalog-product-grid .product-card-tv,.category-products-page #shop-products-grid .product-card-tv{height:auto;align-self:start}
.catalog-product-grid .product-card-tv .product-card-copy,.category-products-page #shop-products-grid .product-card-tv .product-card-copy{flex:none}
.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:28px}.catalog-pagination a,.catalog-pagination span{padding:9px 14px;border:1px solid #e8dfdc;border-radius:9px;font-size:12px}.catalog-pagination a:hover{border-color:#082c5d;color:#082c5d}
.catalog-empty{min-height:310px;display:grid;place-content:center;justify-items:center;gap:10px;padding:28px;border:1px solid #eee8e6;border-radius:16px;text-align:center}.catalog-empty>i{color:#082c5d;font-size:31px}.catalog-empty h2{margin:2px 0;font-size:20px}.catalog-empty p{margin:0;color:#756d6b;font-size:13px}.catalog-empty a{margin-top:9px;padding:10px 17px;border-radius:9px;background:#082c5d;color:#fff;font-size:12px;font-weight:800}
.category-products-page .shop-layout{grid-template-columns:240px minmax(0,1fr);gap:22px}
.category-products-page .filters{overflow:visible}
.category-products-page .filters form{padding:16px}
.category-products-page .filters fieldset{gap:7px;margin-top:15px;padding-top:14px}
.category-products-page .filters legend{font-size:12px}
.category-products-page .filters fieldset label,.category-products-page .check-row{font-size:12px;line-height:1.5}
.category-products-page .filter-search{height:44px;border-color:#e3dcda}.category-products-page .filter-search input{font-size:12px}
.catalog-more-filters{margin-top:17px;border-top:1px solid #eee8e5}.catalog-more-filters summary{display:flex;justify-content:space-between;align-items:center;padding:15px 2px;cursor:pointer;color:#514547;font-size:12px;font-weight:800;list-style:none}.catalog-more-filters summary::-webkit-details-marker{display:none}.catalog-more-filters[open] summary i{transform:rotate(180deg)}.catalog-more-filters>div{padding-bottom:4px}
.catalog-search-page .search-result-list{display:grid!important}
@media(max-width:900px){.catalog-search-page .search-layout,.category-products-page .shop-layout{grid-template-columns:minmax(0,1fr)}.catalog-search-page .search-filters{position:fixed;z-index:215;top:0;right:0;bottom:0;width:min(390px,92%);overflow-y:auto;border-radius:0;transform:translateX(100%)}.catalog-search-page .search-filters.open{transform:none}.category-products-page .filters{position:fixed;z-index:1200;top:0;right:0;bottom:0;width:min(390px,92%);overflow-y:auto;border-radius:0;transform:translateX(100%)}.category-products-page .filters.open{transform:none}.catalog-product-grid,.category-products-page #shop-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:670px){.search-page-head{display:block;padding:20px}.result-sort{margin-top:16px}.catalog-product-grid,.category-products-page #shop-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.catalog-category-heading{font-size:14px}.catalog-search-page{padding-top:22px}}
@media(max-width:370px){.catalog-product-grid,.category-products-page #shop-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:900px){html[dir="ltr"] .catalog-search-page .search-filters{left:0;right:auto;transform:translateX(-100%)}html[dir="ltr"] .catalog-search-page .search-filters.open{transform:none}}

/* Product listing: compact controls and language-aware mobile filter drawer. */
.category-products-page .shop-heading{gap:18px;padding:22px 24px;border:1px solid #eee4e3;border-radius:22px;background:#fff;box-shadow:0 12px 35px rgba(36,26,26,.045)}
.category-products-page .shop-heading h1{font-size:clamp(23px,2.4vw,34px);line-height:1.4}
.category-products-page .sort-form{flex-shrink:0;padding:6px 7px 6px 13px;border:1px solid #e7dfde;border-radius:13px;background:#faf8f7}
.category-products-page .sort-form select{height:40px;border:0;background:#fff;border-radius:9px;outline-color:var(--red)}
.category-products-page .filters{box-shadow:0 12px 36px rgba(42,24,24,.06)}
.category-products-page .filters-title{background:#fcf9f8}.category-products-page .filters fieldset{border-color:#eee8e6}
.category-products-page .filters fieldset label:hover{background:#fff4f3}.category-products-page .filters input[type=checkbox],.category-products-page .filters input[type=radio]{width:18px;height:18px;flex:none}
.category-products-page .filters .filter-results-button{width:100%;min-height:48px;margin-top:18px;border:0;border-radius:12px;background:var(--red);color:#fff;font-weight:900;cursor:pointer}
@media(max-width:900px){
  .category-products-page .shop-heading{padding:17px;flex-wrap:wrap}
  .category-products-page .mobile-filter{width:auto;min-width:150px;min-height:48px;justify-content:space-between;padding:0 14px;margin:0 0 14px;border-color:#ecd7d6;border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(30,20,20,.05);color:#2e3b4b;font-size:13px;cursor:pointer}
  .category-products-page .mobile-filter b{margin-inline-start:12px;margin-inline-end:0}
  .category-products-page .filters{left:auto!important;right:0!important;inset-inline-start:0!important;inset-inline-end:auto!important;display:flex;flex-direction:column;width:min(400px,92vw)!important;max-width:none;height:100dvh;overflow:hidden!important;border:0!important;border-radius:24px 0 0 24px!important;background:#fff;box-shadow:-18px 0 50px rgba(17,12,12,.18);transform:translateX(105%)!important;visibility:hidden;transition:transform .3s ease,visibility .3s!important}
  html[dir=ltr] .category-products-page .filters{left:0!important;right:auto!important;inset-inline-start:0!important;inset-inline-end:auto!important;border-radius:0 24px 24px 0!important;box-shadow:18px 0 50px rgba(17,12,12,.18);transform:translateX(-105%)!important}
  .category-products-page .filters.open,html[dir=ltr] .category-products-page .filters.open{transform:translateX(0)!important;visibility:visible}
  .category-products-page .filters-title{position:relative;flex:none;display:flex;align-items:center;min-height:74px;gap:10px;padding:15px 18px!important;background:#fff;border-bottom:1px solid #f0e8e6;box-shadow:0 5px 18px rgba(36,24,24,.035)}
  .category-products-page .filters-title span{font-size:16px;font-weight:900;align-items:center;flex:1}.category-products-page .filters-title a{font-size:11px!important;white-space:nowrap}
  .category-products-page .filter-close{order:3;width:38px;height:38px;border-radius:12px;background:#f6f2f1}
  .category-products-page .filters form{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 18px calc(22px + env(safe-area-inset-bottom))!important;scrollbar-width:thin}
  .category-products-page .filters fieldset{margin-top:19px;padding-top:16px}.category-products-page .filters legend{font-size:14px}.category-products-page .filters fieldset label{font-size:13px;min-height:42px}.category-products-page .filter-search{height:48px;border-radius:12px}.category-products-page .filter-search input{font-size:13px!important}
  .category-products-page .filter-results-button{position:sticky;bottom:0;z-index:1;flex:none;box-shadow:0 8px 25px rgba(0,0,0,.14)}
  .filter-overlay.open{z-index:1199}
}
@media(max-width:620px){.category-products-page .shop-heading{margin-bottom:14px}.category-products-page .sort-form{width:100%;padding:5px}.category-products-page .sort-form select{width:100%}}

/* Flat-edged mobile filter panel in both language directions. */
@media(max-width:900px){
  .category-products-page .filters,
  html[dir=ltr] .category-products-page .filters{border-radius:0!important}
}

/* Keep the sorting control and its options readable at every width. */
.category-products-page .shop-heading .sort-form{min-width:270px;max-width:100%;flex:0 0 auto}
.category-products-page .shop-heading .sort-form .custom-select{min-width:195px;flex:1}
.category-products-page .shop-heading .sort-form .custom-select-trigger{white-space:nowrap}
.category-products-page .shop-heading .sort-form .custom-select-menu{min-width:max(100%,210px);width:max-content;max-width:min(320px,calc(100vw - 36px));right:0;left:auto;overflow-x:hidden}
.category-products-page .shop-heading .sort-form .custom-select-menu>button{white-space:nowrap;min-width:190px;text-align:start!important}
html[dir=ltr] .category-products-page .shop-heading .sort-form .custom-select-menu{left:0;right:auto}
@media(max-width:900px){
  .category-products-page .shop-heading .sort-form{width:100%;min-width:0;flex:1 1 100%}
  .category-products-page .shop-heading .sort-form .custom-select{min-width:0}
  .category-products-page .shop-heading .sort-form .custom-select-menu{width:100%;min-width:0;max-width:100%}
  .category-products-page .shop-heading .sort-form .custom-select-menu>button{min-width:0}
}
