/* Fireplace Gallery 8.1: precise responsive homepage layouts. */
.fg57-section .fg57-section-head{align-items:center}
.fg57-section .fg57-section-intro{display:flex;flex-direction:column;align-items:flex-start;gap:19px;min-width:0}
.fg57-section .fg57-section-description{width:100%;overflow-wrap:anywhere}
.fg57-section .fg57-section-description p{margin:0}
.fg57-section .fg81-section-action,.fg70-home-services .fg81-services-action{display:inline-flex;align-items:center;justify-content:center;gap:16px;max-width:100%;min-height:45px;padding:12px 20px;border:1px solid #a88651;border-radius:3px;color:#3d352c;text-decoration:none;font-size:13px;font-weight:750;line-height:1.4;overflow-wrap:anywhere;transition:background .15s,color .15s}
.fg57-section .fg81-section-action:hover,.fg57-section .fg81-section-action:focus-visible,.fg70-home-services .fg81-services-action:hover,.fg70-home-services .fg81-services-action:focus-visible{background:#292c29;color:#fff}
/* Six-column grid is the default and can be changed independently per section in Site Manager. */
.fg57-section.fg57-brands .fg57-brands-grid{display:grid;grid-template-columns:repeat(var(--fg81-brand-columns,6),minmax(0,1fr))}
.fg57-section.fg57-brands .fg57-brand-tile{min-width:0;padding:16px 10px;min-height:135px}
.fg57-section.fg57-brands .fg57-brand-image{min-height:70px}
.fg57-section.fg57-brands .fg57-brand-image img{max-width:100%;max-height:60px;object-fit:contain}
/* Categories: six tracks, each normal card spans two; the last two of a partial row span three each. */
@media(min-width:900px){
 .fg57-section.fg57-catalog_categories .fg57-categories-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
 .fg57-section.fg57-catalog_categories .fg57-category-card{grid-column:span 2;min-width:0;min-height:245px;padding:24px 22px}
 .fg57-section.fg57-catalog_categories .fg57-category-card:nth-last-child(2):nth-child(3n + 1),
 .fg57-section.fg57-catalog_categories .fg57-category-card:nth-last-child(2):nth-child(3n + 1) ~ .fg57-category-card{grid-column:span 3}
}
/* Category heading: inline flex makes wrapped names stay beside, rather than underneath, the icon. */
.fg57-section .fg81-category-heading{display:flex;align-items:center;gap:13px;min-width:0}
.fg57-section .fg81-category-heading .fg57-category-icon{flex:0 0 47px;width:47px;height:47px}
.fg57-section .fg81-category-heading .fg57-category-icon img{max-width:100%;max-height:100%;object-fit:contain}
.fg57-section .fg81-category-heading .fg57-category-name{flex:1;min-width:0;overflow-wrap:anywhere}
.fg57-section .fg57-category-card{display:flex;flex-direction:column;gap:13px}
.fg57-section .fg57-category-description{flex:1}
/* Services action belongs right below its introduction, before the services tiles. */
.fg70-home-services .fg81-service-intro{display:flex;flex-direction:column;align-items:flex-start;gap:18px;min-width:0}
.fg70-home-services .fg81-service-intro .richtext{width:100%}
.fg70-home-services .fg81-services-action{margin:0}
/* Collection heading: prose left, CTAs right in a dedicated column. */
.fgc-home-catalog .fg81-collection-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(215px,310px);gap:clamp(25px,5vw,85px);align-items:center;margin-bottom:38px}
.fgc-home-catalog .fg81-collection-copy{min-width:0}
.fgc-home-catalog .fg81-collection-copy>p{max-width:780px;line-height:1.7}
.fgc-home-catalog .fg81-collection-head .fgc-home-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:0;min-width:0}
.fgc-home-catalog .fg81-collection-head .fgc-home-actions a{display:block;text-align:center;padding:15px 17px;max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
@media (min-width:900px) and (max-width:1199px){.fg57-section.fg57-brands .fg57-brands-grid{grid-template-columns:repeat(min(4,var(--fg81-brand-columns,6)),minmax(0,1fr))}}
@media (min-width:600px) and (max-width:899px){
 .fg57-section.fg57-brands .fg57-brands-grid{grid-template-columns:repeat(min(3,var(--fg81-brand-columns,6)),minmax(0,1fr))}
 .fg57-section.fg57-catalog_categories .fg57-categories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fg57-section.fg57-catalog_categories .fg57-category-card{grid-column:auto}
 .fgc-home-catalog .fg81-collection-head{grid-template-columns:minmax(0,1fr) minmax(200px,34%);gap:22px}
}
@media(max-width:599px){
 .fg57-section.fg57-brands .fg57-brands-grid{grid-template-columns:repeat(min(2,var(--fg81-brand-columns,6)),minmax(0,1fr))}
 .fg57-section.fg57-catalog_categories .fg57-categories-grid{grid-template-columns:minmax(0,1fr)}
 .fg57-section.fg57-catalog_categories .fg57-category-card{min-height:unset;padding:20px;grid-column:auto}
 .fg57-section .fg81-section-action,.fg70-home-services .fg81-services-action{width:100%;text-align:center}
 .fgc-home-catalog .fg81-collection-head{grid-template-columns:1fr;gap:22px;margin-bottom:28px}
 .fgc-home-catalog .fg81-collection-head .fgc-home-actions{width:100%}
}
@media(prefers-reduced-motion:reduce){.fg57-section .fg81-section-action,.fg70-home-services .fg81-services-action{transition:none}}
/* 8.8: the featured collection intro is editable in Homepage Builder. */
.fgc-home-catalog .fg81-collection-copy .fg88-featured-intro{max-width:780px;line-height:1.7}
.fgc-home-catalog .fg81-collection-copy .fg88-featured-intro p{margin:0 0 1em;max-width:780px}
