.rwbg{margin:0 0 28px;font:inherit;color:inherit}

.rwbg-logo{display:block;object-fit:contain;max-width:200px;max-height:150px;margin:0 0 16px auto}

.rwbg-price{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0;padding:18px 0 0}

.rwbg-price label{display:flex;align-items:center;gap:8px;margin:0}

.rwbg-price input{box-sizing:border-box;width:120px;height:38px;padding:6px 10px;border:1px solid #d3d8dd;border-radius:4px;font:inherit;background:#fff}

.rwbg-price button{height:38px;border:1px solid #a52534;border-radius:4px;padding:6px 18px;background:#a52534;color:#fff;font:inherit;cursor:pointer}

.rwbg-price button:hover{background:#8c1c2a}

.rwbg-brands{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-bottom:24px}

.rwbg-brands>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:80px;padding:12px;border:1px solid #dce1e6;border-radius:5px;color:inherit;text-decoration:none}

.rwbg-brands img{max-width:100%;height:80px;object-fit:contain}



.rwbg-category-directory{margin:8px 0 0}

.rwbg-category-section{margin:0 0 26px;padding:0}

.rwbg-category-heading{display:table;margin:0 0 18px;padding:0 0 7px;border-bottom:2px solid currentColor;font-size:28px;font-weight:700;line-height:1.25;text-transform:uppercase}

.rwbg-category-heading a{color:inherit;text-decoration:none}

.rwbg-category-subheading{font-size:20px;margin-top:18px;margin-bottom:12px;border-bottom:0;padding-bottom:0}

.rwbg-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:1fr;gap:12px;margin:0 0 18px}

.rwbg-category-directory a.rwbg-category-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:42px;padding:8px 12px;border:1px solid #d5dbe1;border-radius:5px;background:transparent;color:#303942;font:inherit;font-size:15px;font-weight:500;line-height:1.3;text-align:center;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s;overflow-wrap:anywhere}

.rwbg-category-directory a.rwbg-category-button:hover,.rwbg-category-directory a.rwbg-category-button[aria-current]{background:#f7f3f4;border-color:#b65b68;color:#922233}

.rwbg-category-directory a:focus-visible{outline:2px solid #a52534;outline-offset:3px}

@media(max-width:1199px){.rwbg-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

@media(max-width:991px){.rwbg-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media(max-width:600px){.rwbg-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rwbg-category-heading{font-size:24px}.rwbg-category-subheading{font-size:18px}.rwbg-price{gap:10px}.rwbg-price input{width:95px}}


/* One brand introduction, followed by the real category hierarchy. */
.rwbg-brand-header{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:0 0 26px;margin:0 0 28px;border-bottom:0}
.rwbg-brand-copy{min-width:0;max-width:1050px}
.rwbg .rwbg-brand-title{display:table;margin:0 0 16px;padding:0 0 7px;border-bottom:2px solid currentColor;font:inherit;font-size:32px;line-height:1.2;font-weight:700;text-transform:uppercase}
.rwbg-brand-description{font:inherit;line-height:1.6}
.rwbg-brand-description p{margin:0 0 10px}
.rwbg-brand-description p:last-child{margin-bottom:0}
.rwbg-brand-header .rwbg-logo{flex:0 0 auto;width:180px;max-width:180px;max-height:90px;margin:0;object-fit:contain}
.rwbg-category-heading{font-size:24px;margin-bottom:18px}
.rwbg-category-group{margin:24px 0 0;padding:22px 0 0;border-top:1px solid #e1e5e9}
.rwbg-category-group>.rwbg-category-subheading{display:block;margin:0 0 14px;padding:0;border:0;font-size:21px;text-transform:none}
.rwbg-category-group .rwbg-category-group{margin-top:18px;padding:16px 0 0 20px;border-left:2px solid #e6e9ec;border-top:0}
.rwbg-category-group>.rwbg-category-nested-heading{font-size:18px}
.rwbg-category-grid{margin-bottom:0}
@media(max-width:600px){
 .rwbg-brand-header{align-items:flex-start;gap:18px;padding-bottom:20px;margin-bottom:22px}
 .rwbg .rwbg-brand-title{font-size:27px}
 .rwbg-brand-header .rwbg-logo{width:90px;max-width:90px;max-height:60px}
 .rwbg-brand-description{line-height:1.5}
 .rwbg-category-group .rwbg-category-group{padding-left:12px}
}
@media(max-width:420px){.rwbg-brand-header{display:block;position:relative}.rwbg-brand-header:has(.rwbg-logo) .rwbg-brand-title{max-width:calc(100% - 110px);min-height:35px}.rwbg-brand-header .rwbg-logo{position:absolute;right:0;top:0}}

/* Brand-scoped product totals, attached to the category corner. */
.rwbg-category-directory a.rwbg-category-button{position:relative;padding-right:28px;overflow:visible}
.rwbg-category-directory a.rwbg-category-button>.rwbg-category-count{position:absolute;top:-9px;right:7px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:22px;height:22px;padding:0 4px;border:1px solid #171717;border-radius:50%;background:#fff;color:#171717;font:inherit;font-size:12px;font-weight:500;line-height:1;white-space:nowrap;pointer-events:none}

/* One equally tall card per root category, up to three cards per row. */
.rwbg-root-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:18px;align-items:stretch}
.rwbg-root-cards--1{grid-template-columns:minmax(0,1fr)}
.rwbg-root-cards--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.rwbg-root-cards .rwbg-root-card{box-sizing:border-box;min-width:0;margin:0;padding:18px;border:1px solid #dce2e8;border-radius:6px;background:#fff}
.rwbg-root-cards .rwbg-category-heading{display:block;margin:0 0 20px;padding:0;border:0;font-size:21px;line-height:1.35;text-transform:none}
.rwbg-root-cards .rwbg-category-grid{grid-template-columns:minmax(0,1fr);gap:14px;margin:0}
.rwbg-root-cards .rwbg-category-button{min-width:0;overflow-wrap:anywhere}
@media(max-width:991px){.rwbg-root-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.rwbg-root-cards--1{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.rwbg-root-cards{grid-template-columns:minmax(0,1fr);gap:14px}.rwbg-root-cards .rwbg-root-card{padding:16px}.rwbg-root-cards .rwbg-category-heading{font-size:20px}}

/* All brand category cards span the row and flow horizontally. */
.rwbg-root-cards .rwbg-root-card--wide{grid-column:1/-1}
.rwbg-root-cards .rwbg-root-card--wide .rwbg-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1199px){.rwbg-root-cards .rwbg-root-card--wide .rwbg-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991px){.rwbg-root-cards .rwbg-root-card--wide .rwbg-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.rwbg-root-cards .rwbg-root-card--wide .rwbg-category-grid{grid-template-columns:minmax(0,1fr)}}
