/* Shared refinements; retain each destination's original visual identity. */
html {
  scroll-padding-top: 96px;
  overflow-x: clip;
}
body {
  overflow-x: clip;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
.grid > * {
  min-width: 0;
}
img,
video,
iframe {
  max-width: 100%;
}
a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #cba66b !important;
  outline-offset: 4px;
}
button,
[role='tab'] {
  touch-action: manipulation;
}
[role='tab'] {
  min-height: 44px;
}
.mirror-skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 2147483647;
  transform: translateY(-200%);
  padding: 12px 18px;
  background: #fff;
  color: #161616;
  border-radius: 8px;
  font: 600 15px/1.4 system-ui;
}
.mirror-skip-link:focus {
  transform: translateY(0);
}
.mirror-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.singular-home > section:first-of-type {
  height: clamp(300px, 52svh, 640px) !important;
  min-height: 0;
}
.singular-home > section:nth-of-type(2) {
  margin-top: 0 !important;
  padding-top: 28px !important;
}
.singular-home > section:nth-of-type(2) [role='tablist'] {
  scroll-padding: 12px;
}
.mirror-video-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  padding: 10px 16px;
  border: 1px solid #cba66b;
  border-radius: 999px;
  background: #10100fe0;
  color: #f5e8d1;
  font: 500 13px/1.5 system-ui;
  min-height: 44px;
  cursor: pointer;
}
[data-mirror-notice] {
  position: relative;
  max-width: 900px;
  margin: 16px auto;
  padding: 10px 14px;
  border: 1px solid #ac8c52;
  border-radius: 12px;
  background: #10100ff2;
  color: #e6d3b0;
  font: 12px/1.5 system-ui;
  box-shadow: 0 4px 24px #0004;
}
[data-mirror-notice] a {
  color: #e6d3b0;
  text-decoration: underline;
}
[data-mirror-notice] .mirror-demo-link {
  display: block;
  margin-top: 8px;
  background: #c6a264;
  color: #10100f;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
@media (max-width: 767px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
  .singular-home > section:first-of-type {
    height: clamp(220px, 35svh, 330px) !important;
  }
  .singular-home > section:nth-of-type(2) {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 56px !important;
  }
  .singular-home > section:nth-of-type(2) h1 {
    font-size: clamp(30px, 8.3vw, 46px) !important;
    line-height: 1.1 !important;
    margin-top: 28px !important;
  }
  .mirror-video-toggle {
    right: 16px;
    bottom: 16px;
    font-size: 12px;
  }
  [data-mirror-notice] {
    margin: 16px;
    max-width: calc(100% - 32px);
  }
  .singular-home [role='tablist'] {
    mask-image: none !important;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #a88b55 transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Preserve positioning transforms when motion is reduced. */
.animate-slide-up-btn {
  transform: translateX(-50%) !important;
}
@media (max-width: 767px) {
  html[data-mirror-path$='/checkout'] a[aria-label='Falar com atendente no WhatsApp'] {
    bottom: 96px !important;
    right: 16px !important;
    width: 48px !important;
    height: 48px !important;
  }
  html[data-mirror-path$='/checkout']
    a[aria-label='Falar com atendente no WhatsApp'][style*='top:'] {
    display: none !important;
  }
}
