/* Independent controls fitted to the original Wix component dimensions. */
.local-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.local-menu { position: relative; }
.local-menu > .local-menu-panel {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  right: auto !important;
  width: max-content;
  min-width: 290px;
  max-width: min(400px, 90vw);
  margin: 0 !important;
  transform: translateX(-50%);
  z-index: 1000;
}
.local-menu > .local-menu-panel[hidden] { display: none !important; }
.local-menu[data-local-open="true"] > .local-menu-panel {
  display: block !important;
  visibility: visible !important;
}
.local-menu-panel > div {
  opacity: 1 !important;
  animation: none !important;
  max-height: min(660px, calc(100dvh - 110px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.local-menu [aria-label="Abrir ou fechar produtos"] {
  clip: auto;
  clip-path: none;
  width: 22px;
  height: 22px;
  padding: 3px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.local-menu [aria-label="Abrir ou fechar produtos"] svg { width: 14px; height: 14px; }
.local-menu [aria-label="Abrir ou fechar produtos"][aria-expanded="true"] svg { transform: rotate(180deg); }
.local-menu [class*="accessibilityIconWrapper"] { width: auto; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); }
.local-menu a:focus-visible,
.local-menu button:focus-visible,
.local-gallery button:focus-visible,
.local-gallery-dialog button:focus-visible,
.local-contact-actions a:focus-visible,
.local-product-viewport:focus-visible,
.pro-gallery .thumbnailItem:focus-visible,
.pro-gallery .nav-arrows-container:focus-visible {
  outline: 3px solid #1d67cd !important;
  outline-offset: -3px;
}

.local-gallery {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 18px;
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
}
.local-gallery-viewport {
  display: flex;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.local-gallery-viewport::-webkit-scrollbar,
.local-product-viewport::-webkit-scrollbar { display: none; }
.local-gallery-item {
  display: block;
  flex: 0 0 424px;
  width: 424px;
  height: 424px;
  max-height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  scroll-snap-align: start;
}
.local-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.local-gallery-prev,
.local-gallery-next {
  align-self: center;
  display: grid;
  place-items: center;
  width: 44px;
  height: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f7e196;
  font: 64px/1 Arial, sans-serif;
  cursor: pointer;
  text-shadow: 0 1px 3px #0004;
}
.local-gallery-prev:disabled,
.local-gallery-next:disabled { visibility: hidden; }
.local-gallery-dialog {
  width: max-content;
  max-width: min(94vw, 1200px);
  max-height: 92dvh;
  padding: 60px 24px 20px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #222;
  overflow: auto;
  box-sizing: border-box;
  box-shadow: 0 16px 60px #0005;
}
.local-gallery-dialog::backdrop { background: #000b; }
.local-gallery-dialog > img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: calc(92dvh - 120px);
  margin: 0 auto;
  object-fit: contain;
}
.local-gallery-close {
  position: absolute;
  top: 12px;
  right: 16px;
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid #c7c7c7;
  border-radius: 5px;
  background: #fff;
  color: #222;
  font: 15px/1.3 Arial, sans-serif;
  cursor: pointer;
}
.local-gallery-caption {
  margin: 12px 0 0;
  text-align: center;
  font: 14px/1.5 Arial, sans-serif;
}

/* The final form row grows naturally with the explanatory text and status. */
form.local-contact-form #comp-lzvej4b3 { margin-bottom: 16px !important; }
#comp-lzvej4bt.local-contact-actions {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 0;
  overflow: visible;
  text-align: center;
  color: #164516;
  font: 14px/1.45 Arial, sans-serif;
}
.local-contact-notice { margin: 0; }
.local-contact-status { margin: 12px 0 0; font-size: 13px; }
.local-contact-status:empty { display: none; }
.local-contact-whatsapp {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 0;
  color: #164516;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.local-product-viewport {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.local-product-viewport .gallery-horizontal-scroll-inner { height: 100%; }
.local-product-viewport [data-hook="item-container"] { scroll-snap-align: start; }
.local-product-viewport img { object-fit: contain; }
.pro-gallery .nav-arrows-container:disabled { visibility: hidden; }
.pro-gallery .thumbnailItem[role="button"] { cursor: pointer; }
.pro-gallery [data-hook="gallery-thumbnails"] { overflow-x: auto !important; }

@media (max-width: 980px) {
  .local-gallery {
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    gap: 6px;
  }
  .local-gallery-prev,
  .local-gallery-next { width: 26px; height: 48px; font-size: 48px; }
  .local-gallery-dialog { padding-right: 12px; padding-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .local-gallery-viewport,
  .local-product-viewport { scroll-behavior: auto; }
}
