/* Homepage photo rail; the original grid remains available without JavaScript. */
.home-gallery-carousel { position: relative; min-width: 0; }
body.att-home-template-page .att-restored-home .stock-home-gallery-grid.site-carousel-ready {
  --gallery-count: 4;
  --gallery-gap: 30px;
  display: flex; flex-wrap: nowrap; align-items: flex-start;
  gap: var(--gallery-gap); margin: 0; padding: 0 0 8px;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  touch-action: pan-x pan-y; cursor: grab;
}
.stock-home-gallery-grid.site-carousel-ready::-webkit-scrollbar { display: none; }
body.att-home-template-page .att-restored-home .stock-home-gallery-grid.site-carousel-ready > [data-site-slide] {
  flex: 0 0 calc((100% - (var(--gallery-count) - 1) * var(--gallery-gap)) / var(--gallery-count));
  width: calc((100% - (var(--gallery-count) - 1) * var(--gallery-gap)) / var(--gallery-count));
  max-width: none; min-width: 0; margin: 0; padding: 0;
  scroll-snap-align: start;
}
body.att-home-template-page .att-restored-home .stock-home-gallery-grid.site-carousel-ready > [data-site-slide]:nth-child(even) { padding-top: 40px; }
body.att-home-template-page .att-restored-home .stock-home-gallery-grid.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.stock-home-gallery-grid.is-dragging a { cursor: grabbing; }
.home-gallery-carousel .site-carousel-controls { display: flex; justify-content: center; align-items: center; margin-top: 14px; min-height: 36px; }
.home-gallery-carousel .site-carousel-controls[hidden] { display: none; }
.home-gallery-carousel .site-carousel-arrow {
  position: absolute; top: calc(50% - 22px); z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; min-height: 48px; margin: 0; padding: 0;
  border: 1px solid #136c41; border-radius: 50%;
  background: #fff; color: #136c41; font-size: 25px; line-height: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,.12); cursor: pointer;
}
.home-gallery-carousel .site-carousel-arrow:first-child { left: -24px; }
.home-gallery-carousel .site-carousel-arrow:nth-of-type(2) { right: -24px; }
.home-gallery-carousel .site-carousel-arrow svg { display: block; flex: none; width: 24px; height: 24px; }
.home-gallery-carousel .site-carousel-arrow:hover { background: #136c41; color: #fff; }
body.att-home-template-page .att-whatsapp .wa-fab > .trails-icon { display: block; flex: none; width: 26px; height: 26px; margin: 0; transform: translateY(-2px); }
.home-gallery-carousel .site-carousel-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
.home-gallery-carousel .site-carousel-dot { display: flex; align-items: center; justify-content: center; min-width: 28px; min-height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.home-gallery-carousel .site-carousel-dot::before { content: ''; width: 8px; height: 8px; border-radius: 6px; background: #136c41; opacity: .35; }
.home-gallery-carousel .site-carousel-dot.is-active::before { width: 20px; opacity: 1; }
.home-gallery-carousel .site-carousel-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-gallery-carousel :is(.site-carousel-arrow,.site-carousel-dot,.stock-home-gallery-grid):focus-visible { outline: 3px solid #136c41; outline-offset: 3px; }
@media (max-width: 1199px) {
  body.att-home-template-page .att-restored-home .stock-home-gallery-grid.site-carousel-ready { --gallery-count: 2; --gallery-gap: 24px; }
  .home-gallery-carousel .site-carousel-arrow:first-child { left: 8px; }
  .home-gallery-carousel .site-carousel-arrow:nth-of-type(2) { right: 8px; }
}
@media (max-width: 767px) {
  body.att-home-template-page .att-restored-home .stock-home-gallery-grid.site-carousel-ready { --gallery-count: 1; --gallery-gap: 16px; }
  body.att-home-template-page .att-restored-home .stock-home-gallery-grid.site-carousel-ready > [data-site-slide]:nth-child(even) { padding-top: 0; }
}
