/* SmetoList P5.1 — fast search and room groups for large shopping lists. */
.smet-shop-finder{display:grid;gap:12px;padding-top:3px}
.smet-shopping .smet-shop-search{
 width:100%;min-height:50px;border:1px solid #d9c9b8;border-radius:11px;
 padding:12px 15px;background:#fff;font-size:16px;color:#343732;
}
.smet-shopping .smet-shop-search:focus{border-color:#a65d29;outline:2px solid rgba(166,93,41,.19);outline-offset:1px}
.smet-shop-advanced{border:1px solid #e6dacf;border-radius:10px;background:#fff;min-width:0}
.smet-shop-advanced>summary{cursor:pointer;font-size:14px;font-weight:650;color:#84512f;padding:11px 13px;line-height:1.4}
.smet-shop-advanced-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:0 12px 15px}
.smet-shop-advanced-fields>label{display:grid;gap:6px;min-width:0;font-size:13px;color:#5e554a;font-weight:650}
.smet-shop-advanced-fields select{width:100%;min-width:0;min-height:43px;border:1px solid #d9cec0;border-radius:9px;padding:8px;font:inherit;font-size:14px;background:#fff;color:#342d25}
.smet-shop-advanced-fields .smet-shop-group-check{display:flex;align-items:center;gap:9px;grid-column:1/-1;cursor:pointer;min-height:33px}
.smet-shop-group-check input{width:18px;height:18px;accent-color:#a55f29;flex:none}
.smet-shop-matches{font-size:12px;color:#716354;margin:0;line-height:1.4}
.smet-shopping .smet-shop-group{min-width:0;margin:2px 0 16px}
.smet-shopping .smet-shop-group[hidden]{display:none!important}
.smet-shop-group-title{font-size:17px;line-height:1.4;font-weight:680;margin:0 0 11px;color:#35322e}
.smet-shop-group-hint{font-size:12px;color:#72685f;line-height:1.5;margin:-5px 0 13px}
.smet-shop-group-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.smet-shopping.is-store-mode .smet-shop-group-list{grid-template-columns:1fr}
.smet-shopping .smet-shopping-list:has(>.smet-shop-group){display:block}
.smet-shopping .smet-shopping-list:has(>.smet-shop-group)>.smet-shop-group>.smet-shop-group-list>.smet-shopping-item{min-width:0}
@media(max-width:720px){
 .smet-shopping .smet-shop-search{min-height:52px}
 .smet-shop-advanced-fields{grid-template-columns:1fr;gap:12px}
 .smet-shop-group-list{grid-template-columns:1fr}
 .smet-shop-group-title{font-size:16px}
}
@media print{
 .smet-shop-finder,.smet-shop-matches{display:none!important}
 .smet-shopping .smet-shop-group[hidden]{display:block!important}
 .smet-shopping .smet-shopping-list:has(>.smet-shop-group){display:block!important}
 .smet-shop-group-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
