/* Retain original layout while choosing a smaller hero transfer on narrow screens. */
.bf-hero.bf-hero-products{background-image:url('optimized/hero-1920.webp')}
@media(max-width:1280px){.bf-hero.bf-hero-products{background-image:url('optimized/hero-1280.webp')}}
@media(max-width:850px){.bf-hero.bf-hero-products{background-image:url('optimized/hero-960.webp')}}
/* Small informational copy must remain readable against the cream background. */
.bp-page .bp-muted,.bp-page .bp-preview-note,.bp-page .bakalin-test-price,.bp-page .bp-delivery small{color:#706056!important}
.bp-page .bp-gallery-note{color:#62564c}
.bd-page .bd-address-note,.bd-page .bd-dev-note,.bd-page .bd-calendar-note,.bd-page .bd-intro>p:not(.bd-eyebrow),.bd-page .bd-result-label{color:#706056}
.bf-bottom{color:#e7d7cb}
.bd-page .bd-method p:not(.bd-method-lead),.bd-page .bd-week-day:not(.is-delivery) strong,.bd-page .bd-week-day:not(.is-delivery)>span{color:#706056}
.bakalin-shared-design .wd-product-cats a,.bakalin-shared-design .wd-breadcrumbs a{color:#706056}
.bakalin-shared-design .woocommerce-result-count,.bakalin-shared-design .wd-products-per-page .per-page-variation{color:#62564c}
.bakalin-shared-design .widget_price_filter .price_slider_amount .button{background-color:#075b32;color:#fff}
.bakalin-shared-design .widget_price_filter .price_slider_amount .button:hover{background-color:#044421;color:#fff}
.bk-landing-page .bk-hero-photo{background-image:url('optimized/legacy-hero-1280.webp')}
.bk-landing-page .bk-tile{background-image:url('optimized/legacy-categories-1000.webp')}
@media(max-width:700px){.bk-landing-page .bk-hero-photo{background-image:url('optimized/legacy-hero-640.webp')}.bk-landing-page .bk-tile{background-image:url('optimized/legacy-categories-600.webp')}}
/* Keep adjacent catalog links comfortable to select without changing their text. */
.bakalin-shared-design .product-grid-item .wd-entities-title>a{display:inline-flex;align-items:center;min-height:44px}
.bakalin-shared-design .product-grid-item .wd-product-cats a{display:inline-flex;align-items:center;min-height:24px}
.bakalin-shared-design .wd-cats .wd-entities-title>a{display:inline-flex;align-items:center;min-height:44px}
/* WoodMart's title-line clamp clips a 44px link to one text line. Keep the
   complete link hit area in the normal card flow, with the category below it. */
.bakalin-shared-design .product-grid-item .product-element-bottom>.wd-product-header>.wd-entities-title{max-height:none;overflow:visible;margin-block:0}
.bakalin-shared-design .product-grid-item .product-element-bottom>.wd-product-header>.wd-entities-title>a{display:flex;min-height:44px;width:100%;box-sizing:border-box;justify-content:var(--text-align,center)}
.bakalin-shared-design .product-grid-item .product-element-bottom>.wd-product-cats{margin-block:0}
/* A compact category card leaves the first products visible sooner on phones. */
@media(max-width:767px){
 .bakalin-shared-design .wd-cats .cat-design-side .wd-cat-inner{min-height:112px;padding:10px 16px;gap:16px;align-items:center}
 .bakalin-shared-design .wd-cats .cat-design-side .wd-cat-thumb{width:76px;min-width:76px;max-width:76px;flex:0 0 76px}
 .bakalin-shared-design .wd-cats .cat-design-side .wd-cat-image img{display:block;width:76px;height:92px;object-fit:contain}
 .bakalin-shared-design .wd-cats .cat-design-side .wd-cat-content{min-width:0;flex:1}
 .bakalin-shared-design .wd-cats .cat-design-side .wd-entities-title{font-size:17px;line-height:1.3;margin-bottom:0}
}
