.meadow-catalog, .meadow-home-products {
    --meadow-olive: #39491e;
    --meadow-button: #50632d;
    --meadow-border: #e2dbcf;
    --meadow-paper: #faf8f4;
    color: #201f19;
}
.meadow-catalog { background: #fdfbf9; }
.meadow-catalog .shell { width: min(1480px, 96%); }
.meadow-catalog-hero {
    padding: 20px 0 16px;
    background: linear-gradient(90deg,#fbf8f4 10%,#fbf8f4f5 38%,#fbf8f444 69%,transparent 82%),
        url('../images/product-plaster.webp') center 46% / cover no-repeat;
}
.meadow-catalog-hero > .shell { width: min(1440px, 93%); }
.meadow-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: #5e6156; font-size: 15px; }
.meadow-trail .dashicons { margin-right: 7px; vertical-align: -3px; color: #627252; }
.meadow-catalog-hero h1 { color: #293812; margin: 12px 0 4px; font: 700 clamp(37px, 4vw, 62px)/1.06 Georgia, serif; letter-spacing: -.035em; }
.meadow-catalog-intro { max-width: 880px; font: italic clamp(18px, 1.65vw, 26px)/1.35 Georgia, serif; }
.meadow-catalog-intro p { margin: 0; }
.meadow-catalog-intro::after { content: ''; display: block; width: 59px; height: 3px; margin-top: 17px; background: var(--meadow-button); }
.meadow-catalog-body { padding: 16px 0 38px; }
.meadow-catalog .category-catalog-layout { grid-template-columns: clamp(190px, 17vw, 258px) minmax(0, 1fr); gap: clamp(16px, 1.8vw, 29px); }
.meadow-catalog .category-filters { margin-top: 8px; border-radius: 14px; background: #f8f5f0; padding: 19px; }
.meadow-catalog .category-filters details { padding: 16px 0 12px; }
.meadow-catalog .category-filters summary { color: var(--meadow-olive); font-size: 15px; }
.meadow-catalog .category-filters summary::after { content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 3px 5px 0; }
.meadow-catalog .category-filters details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.meadow-catalog .category-filter-options { padding-top: 9px; }
.meadow-facet-cimmino_cat .category-filter-options { max-height: 148px; overflow-y: auto; scrollbar-width: thin; }
.meadow-catalog .category-filter-options label { align-items: flex-start; gap: 10px; margin-bottom: 7px; color: #23241d; font-size: 14px; }
.meadow-catalog .category-filter-options input { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 3px; accent-color: var(--meadow-button); }
.meadow-catalog .category-filter-options small { font-size: inherit; }
.meadow-catalog-search { display: flex; border: 1px solid var(--meadow-border); border-radius: 8px; background: #fffdfb; margin-bottom: 18px; }
.meadow-catalog-search input { min-width: 0; flex: 1; border: 0; background: transparent; padding: 10px 0 10px 12px; font-size: 13px; }
.meadow-catalog-search button { border: 0; background: transparent; padding-inline: 9px; color: var(--meadow-olive); cursor: pointer; }
.meadow-catalog .category-reset { display: flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid #81906b; border-radius: 8px; padding: 7px; color: #273319; font-size: 14px; text-transform: none; }
.category-reset span { font-size: 22px; line-height: 1; }
.meadow-catalog .category-toolbar { margin-bottom: 13px; font-size: 15px; }
.meadow-toolbar-actions, .meadow-view-options { display: flex; align-items: center; gap: 9px; }
.meadow-toolbar-actions { gap: clamp(9px,2vw,27px); }
.meadow-catalog .category-toolbar select { margin-left: 8px; border-radius: 10px; padding: 9px 12px; min-width: 135px; font-size: 14px; }
.meadow-view-options a { display: grid; place-items: center; border: 1px solid var(--meadow-border); border-radius: 8px; color: var(--meadow-olive); background: transparent; min-width: 42px; min-height: 38px; }
.meadow-view-options a[aria-current="true"] { background: var(--meadow-button); color: #fff; border-color: var(--meadow-button); }

.meadow-home-products > h2 { color: var(--meadow-olive); }
.meadow-card-grid, .meadow-catalog .meadow-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(13px,1.4vw,22px); }
.meadow-catalog .meadow-list-view { grid-template-columns: minmax(0,1fr); }
.meadow-list-view .meadow-card-top { grid-template-columns: minmax(105px,150px) minmax(0,1fr); }
.meadow-list-view .meadow-card-features { max-width: 540px; }
.meadow-card-grid .meadow-card { display: flex; flex-direction: column; min-width: 0; gap: 11px; padding: clamp(13px,1.2vw,19px); background: var(--meadow-paper); border: 1px solid var(--meadow-border); border-radius: 14px; box-shadow: 0 1px 2px #2f291309; }
.meadow-card-top { display: grid; grid-template-columns: minmax(0,.77fr) minmax(0,1fr); align-items: center; gap: clamp(10px,1.4vw,20px); }
.meadow-card-photo { display: grid; place-items: center; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 9px; background: #f1ece3; }
.meadow-card-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.meadow-card-photo .product-placeholder { min-height: 0; font-size: 12px; }
.meadow-card-copy :is(h2,h3) { margin: 0 0 8px; color: #303f18; font: 700 clamp(18px,1.63vw,25px)/1.09 Georgia,serif; letter-spacing: -.025em; overflow-wrap: anywhere; }
.meadow-card-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin: 0; font-size: 14px; line-height: 1.4; }
.meadow-card-features { display: flex; align-items: stretch; gap: 0; list-style: none; padding: 0; margin: 2px 0 auto; }
.meadow-card-features li { flex: 1; min-width: 0; text-align: center; padding: 0 5px; font-size: 12px; line-height: 1.23; overflow-wrap: anywhere; }
.meadow-card-features li + li { border-left: 1px solid var(--meadow-border); }
.meadow-card-features .dashicons { display: block; color: var(--meadow-olive); margin: 0 auto 4px; width: 30px; height: 30px; font-size: 29px; }
.meadow-card-labels { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.meadow-card-labels:empty { display: none; }
.meadow-card-labels span { border-radius: 8px; padding: 4px 9px; background: #efe9de; font-size: 12px; line-height: 1.3; }
.meadow-card-more { font-size: 12px; color: #505d39; }
.meadow-card-more summary { cursor: pointer; }
.meadow-card-more dl { margin: 5px 0; }
.meadow-card-more dl > div { display: grid; grid-template-columns: minmax(77px, .5fr) 1fr; gap: 5px; padding: 4px 0; border-bottom: 1px solid var(--meadow-border); }
.meadow-card-more dt { font-weight: 700; }
.meadow-card-more dd { margin: 0; }
.meadow-card .meadow-card-button { display: flex; justify-content: center; gap: 9px; margin-top: auto; padding: 8px 9px; border-radius: 7px; background: linear-gradient(110deg,#586b34,#485b27); color: #fff; text-transform: uppercase; text-align: center; font-size: 13px; font-weight: 700; }
.meadow-card .meadow-card-button:hover, .meadow-card .meadow-card-button:focus-visible { background: #37491b; color: #fff; }
.meadow-catalog .category-empty { grid-column: 1/-1; }

@media (max-width: 1160px) {
    .meadow-catalog .meadow-card-grid:not(.meadow-list-view) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
    .meadow-home-products .meadow-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
    .meadow-catalog .category-catalog-layout { grid-template-columns: minmax(0,1fr); }
    .meadow-catalog .category-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .meadow-catalog-search, .meadow-catalog .category-reset { grid-column: 1/-1; }
    .meadow-catalog .category-toolbar { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
    .meadow-catalog .meadow-card-grid:not(.meadow-list-view), .meadow-home-products .meadow-card-grid { grid-template-columns: minmax(0,1fr); }
    .meadow-catalog-hero { background-image: linear-gradient(90deg,#fbf8f4 15%,#fbf8f4cc 68%,#fbf8f48c),url('../images/product-plaster.webp'); }
}
