/* Somente a seção Nossos Produtos da Home. */
.home-products {
    padding-block:48px var(--section-padding);
    background:#F7F6F2;
    color:#171717;
}
.home-hero + .home-products { margin-top:-2rem; }
.home-products__inner { width:calc(100% - 64px); max-width:1320px; margin-inline:auto; }
.home-products__heading { margin-bottom:var(--space-lg); text-align:center; }
.home-products__heading:last-child { margin-bottom:0; }
.home-products__mark { display:block; width:40px; height:2px; margin:0 auto 16px; background:var(--action-primary); }
.home-products .home-products__title { display:flex; flex-wrap:wrap; justify-content:center; gap:0 .25em; margin:0; font-size:clamp(1.625rem, 2.2vw, 2rem); line-height:1.15; font-weight:750; }
.home-products__accent { color:var(--action-primary); }
.home-products .home-products__subtitle { max-width:680px; margin:12px auto 0; color:#666A67; font-size:1rem; line-height:1.65; }
.home-products__carousel { --products-visible:5; position:relative; }
.home-products__grid { display:flex; flex-wrap:nowrap; gap:20px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:20px; scrollbar-width:none; padding:32px 20px; margin:-32px -20px; }
.home-products__grid::-webkit-scrollbar { display:none; }
.home-products__grid.is-static { justify-content:center; }
.home-products__grid.is-dragging { scroll-snap-type:none; cursor:grabbing; user-select:none; }
.home-products__card { display:flex; flex-direction:column; flex:0 0 calc((100% - (var(--products-visible) - 1) * 20px) / var(--products-visible)); scroll-snap-align:start; min-width:0; background:#FFFFFF; border-radius:10px; box-shadow:0 8px 24px rgb(23 23 23 / .13), 0 2px 6px rgb(23 23 23 / .06); overflow:hidden; transition:transform .22s ease, box-shadow .22s ease; }
.home-products__arrow { position:absolute; z-index:1; top:50%; display:flex; align-items:center; justify-content:center; width:46px; height:46px; min-width:46px; min-height:46px; box-sizing:border-box; padding:0; border:0; border-radius:50%; background:#FFFFFF; color:#171717; box-shadow:0 3px 12px rgb(23 23 23 / .14); cursor:pointer; transform:translateY(-50%); transition:color .2s ease, box-shadow .2s ease; }
.home-products__arrow[hidden] { display:none; }
.home-products__arrow--previous { left:-18px; }
.home-products__arrow--next { right:-18px; }
.home-products__arrow:disabled { opacity:.35; cursor:default; }
.home-products__arrow:not(:disabled):hover { color:var(--action-primary); box-shadow:0 4px 15px rgb(23 23 23 / .2); }
.home-products__media { position:relative; flex-shrink:0; aspect-ratio:4 / 3; overflow:hidden; background:#FFFFFF; }
.home-products__media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.home-products__body { display:grid; flex:1; grid-template-rows:calc(1.0625rem * 1.3 * 2) calc(.9rem * 1.6 * 3) minmax(var(--button-height), 1fr); align-items:start; justify-items:start; gap:var(--space-xs); padding:var(--space-md); }
.home-products .home-products__body h3 { grid-row:1; width:100%; height:100%; margin:0; font-size:1.0625rem; line-height:1.3; font-weight:700; }
.home-products__body h3 a { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; overflow:hidden; text-decoration:none; }
.home-products__body h3 a:hover { color:var(--action-primary); }
.home-products .home-products__description { grid-row:2; width:100%; height:100%; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; max-height:4.8em; overflow:hidden; margin:0; color:#666A67; font-size:.9rem; line-height:1.6; }
.home-products__more { grid-row:3; align-self:end; display:inline-flex; align-items:center; gap:8px; min-height:var(--button-height); margin-top:auto; padding-top:4px; color:var(--action-primary); font-size:.9rem; font-weight:650; text-decoration:none; }
.home-products__more:hover { text-decoration:underline; }
.home-products :focus-visible { outline:2px solid var(--action-primary); outline-offset:3px; }
@media (min-width:1001px) and (hover:hover) and (pointer:fine) {
    .home-products__card:hover { transform:translateY(-4px); box-shadow:0 12px 30px rgb(23 23 23 / .17), 0 4px 10px rgb(23 23 23 / .07); }
}
@media (prefers-reduced-motion:reduce) {
    .home-products__card,.home-products__arrow { transition:none; }
    .home-products__card:hover { transform:none; }
}
@media (min-width:1440px) {
    .home-products__arrow--previous { left:-48px; }
    .home-products__arrow--next { right:-48px; }
}
@media (max-width:1299px) {
    .home-products__carousel { --products-visible:4; }
}
@media (max-width:1000px) {
    .home-products__carousel { --products-visible:3; }
}
@media (max-width:800px) {
    .home-products { padding-block:var(--section-padding-compact); }
    .home-products__inner { width:calc(100% - 48px); }
    .home-products__carousel { --products-visible:2; }
}
@media (max-width:540px) {
    .home-products__inner { width:calc(100% - 40px); }
    .home-products__heading { margin-bottom:var(--space-lg); }
    .home-products__carousel { --products-visible:1; max-width:360px; margin-inline:auto; }
}
