/* RRR category Gallery Cards. Scoped to product-list categories. */
body:has(#rrr-gallery-layout) #mainWrapper { max-width:1600px; padding:24px; }
body:has(#rrr-gallery-layout) #navBreadCrumb { background:transparent; padding:0; margin-bottom:22px; font-size:14px; }
#indexProductList:has(#rrr-gallery-layout) { color:#292622; }
#indexProductList:has(#rrr-gallery-layout) > h1 { font:600 clamp(30px,3vw,44px)/1.2 Georgia,serif; margin:0 0 18px; }
#indexProductList:has(#rrr-gallery-layout) #indexProductList-filterRow { margin:0 0 22px; gap:12px; align-items:center; }
#indexProductList:has(#rrr-gallery-layout) #indexProductList-filterRow > form { display:flex; flex-wrap:wrap; gap:8px; }
#indexProductList:has(#rrr-gallery-layout) #indexProductList-filterRow > form > div { flex:1; width:auto; max-width:none; padding:0; }
#indexProductList:has(#rrr-gallery-layout) #indexProductList-filterRow > div { width:auto; max-width:none; flex:0 1 auto; padding:0; margin-left:auto; }
#rrr-gallery-layout { display:grid; grid-template-columns:210px minmax(0,1fr); gap:28px; font-family:Arial,Helvetica,sans-serif; }
#rrr-gallery-layout * { box-sizing:border-box; }
#rrr-gallery-layout a { text-decoration:none; }
#rrr-gallery-layout a:hover { text-decoration:underline; }
#rrr-gallery-layout a:focus-visible,#rrr-gallery-layout summary:focus-visible { outline:3px solid #977941; outline-offset:3px; }
.rrr-gallery-departments { border-right:1px solid #ddceba; padding-right:18px; }
.rrr-gallery-menu > summary { font-weight:600; font-size:18px; margin-bottom:16px; cursor:pointer; }
#rrr-gallery-layout .rrr-tree-list { list-style:none; margin:0; padding:0; }
#rrr-gallery-layout .rrr-tree-list a { display:block; color:#292622; padding:12px 8px; min-height:44px; overflow-wrap:anywhere; }
#rrr-gallery-layout .rrr-department > ul { padding-left:12px; }
#rrr-gallery-layout .rrr-department > summary { padding:12px 22px 12px 8px; min-height:44px; }
#rrr-gallery { min-width:0; }
.rrr-gallery-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; margin-bottom:20px; font-size:14px; color:#62594e; }
.rrr-gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.rrr-product-card { display:flex; flex-direction:column; min-width:0; background:#fff; border:1px solid #ddceba; border-radius:10px; overflow:hidden; }
.rrr-product-image { display:flex; align-items:center; justify-content:center; padding:14px; aspect-ratio:5/4; background:#fff; }
.rrr-product-image img { display:block; max-width:100%; width:100%; height:100%; object-fit:contain; }
.rrr-product-body { display:flex; flex-direction:column; flex:1; padding:16px; }
.rrr-product-body h2 { font:600 18px/1.35 Arial,sans-serif; margin:0 0 10px; overflow-wrap:anywhere; }
.rrr-product-body h2 a { color:#292622; }
.rrr-product-model,.rrr-product-dimensions { font-size:13px; line-height:1.5; margin:0 0 8px; color:#62594e; overflow-wrap:anywhere; }
.rrr-product-actions { margin-top:auto; padding-top:12px; display:grid; gap:10px; }
#rrr-gallery .rrr-price-login,#rrr-gallery .rrr-product-details { display:flex; align-items:center; justify-content:center; min-height:46px; padding:10px 8px; border:1px solid #913f35; border-radius:4px; font-size:14px; line-height:1.3; font-weight:600; text-align:center; }
#rrr-gallery .rrr-price-login { color:#913f35; background:white; }
#rrr-gallery .rrr-product-details { color:white; background:#913f35; }
#rrr-gallery .rrr-product-details:hover { background:#78332c; text-decoration:none; }
.rrr-product-price { font-size:20px; font-weight:600; color:#913f35; min-height:46px; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px; }
.rrr-gallery-pagination { margin-top:24px; }
.rrr-gallery-empty { padding:24px; border:1px solid #ddceba; }
@media(max-width:1399px) { .rrr-gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:991px) { #rrr-gallery-layout { display:block; } .rrr-gallery-departments { border:0; padding:0; margin-bottom:20px; } .rrr-gallery-menu > summary { padding:14px; background:#e9dfd0; border-radius:5px; } }
@media(max-width:767px) { body:has(#rrr-gallery-layout) #mainWrapper { padding:18px 14px; } .rrr-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .rrr-product-body { padding:12px; } .rrr-product-body h2 { font-size:16px; } .rrr-product-image { padding:8px; } #indexProductList:has(#rrr-gallery-layout) #indexProductList-filterRow > div { margin-left:0; } }
@media(max-width:359px) { .rrr-gallery-grid { grid-template-columns:1fr; } }
