/* ============================================================================
   Sitio Yamato — Custom Theme Overrides
   ============================================================================ */

:root, .sw-root {
  --sw-bg: #FFF8E7;
  --sw-ink: #2D1F14;
  --sw-ink-soft: #7A6B5D;
  --sw-accent: #D4A843;
  --sw-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sw-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* Global resets */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sw-bg); }
::-webkit-scrollbar-thumb { background: var(--sw-accent); border-radius: 3px; }

/* Selection color */
::selection {
  background: color-mix(in srgb, var(--sw-accent) 30%, transparent);
  color: var(--sw-ink);
}

/* Preloader */
.sw-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--sw-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.sw-preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.sw-preloader__ring {
  width: 140px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sw-preloader__ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.sw-preloader__ring-track {
  fill: none;
  stroke: color-mix(in srgb, var(--sw-accent) 20%, transparent);
  stroke-width: 4;
}
.sw-preloader__ring-spinner {
  fill: none;
  stroke: var(--sw-accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  animation: spinRing 1.4s ease-in-out infinite;
}
@keyframes spinRing {
  0% { stroke-dashoffset: 339.292; transform: rotate(-90deg); }
  50% { stroke-dashoffset: 84.823; }
  100% { stroke-dashoffset: 339.292; transform: rotate(270deg); }
}
.sw-preloader__logo {
  width: 100px;
  height: auto;
  animation: logoPulse 1.4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}
.sw-preloader__text {
  font-family: var(--sw-font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: linear-gradient(
    90deg,
    var(--sw-ink) 0%,
    var(--sw-ink) 40%,
    var(--sw-accent) 50%,
    var(--sw-ink) 60%,
    var(--sw-ink) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-text 2s ease-in-out infinite;
}
@keyframes shimmer-text {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.sw-preloader__dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 2px;
}
.sw-preloader__dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sw-ink);
  animation: worm-dot 1.2s ease-in-out infinite;
}
.sw-preloader__dots span:nth-child(2) { animation-delay: 0.15s; }
.sw-preloader__dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes worm-dot {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

/* Enhanced brand mark */
.sw-brand__mark {
  background: linear-gradient(160deg, #E8B84B, #D4A843, #C49A38);
  box-shadow:
    0 6px 14px color-mix(in srgb, #E8B84B 40%, transparent),
    inset 0 1px 2px rgba(255,255,255,0.3);
}

/* CTA in topbar */
.sw-topcta {
  background: linear-gradient(135deg, #2D1F14, #3D2E22) !important;
  box-shadow: 0 4px 12px rgba(45,31,20,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sw-topcta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(45,31,20,0.35);
}

/* Enhanced copy styling */
.sw-copy__title {
  font-family: var(--sw-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sw-copy__eyebrow {
  color: #D4A843;
  text-shadow: 0 0 20px color-mix(in srgb, #E8B84B 30%, transparent);
}

/* Tags */
.sw-copy__tags li {
  background: color-mix(in srgb, #E8B84B 12%, #fff);
  border-color: color-mix(in srgb, #E8B84B 25%, transparent);
  color: #8B6914;
}

/* Primary button */
.sw-btn--primary {
  background: linear-gradient(135deg, #D94F4F, #C44040) !important;
  box-shadow: 0 4px 16px color-mix(in srgb, #D94F4F 35%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sw-btn--primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 28px color-mix(in srgb, #D94F4F 45%, transparent);
}

/* Ghost button */
.sw-btn--ghost {
  border-color: color-mix(in srgb, var(--sw-ink) 20%, transparent);
}
.sw-btn--ghost:hover {
  background: color-mix(in srgb, var(--sw-ink) 5%, transparent);
}

/* Route dots enhanced */
.sw-route__dot.is-active i {
  box-shadow: 0 0 0 5px color-mix(in srgb, #fff 22%, transparent);
}

/* Scrollbar fill */
.sw-scrollbar span {
  background: linear-gradient(90deg, #E8B84B, #D4A843);
}

/* Particles - floral feel */
.sw-pt--dot::before {
  background: radial-gradient(circle at 34% 30%, #E8B84B, #D4A843 82%);
}
.sw-pt--ring::before {
  border-color: color-mix(in srgb, #D94F4F 45%, transparent);
}

/* Extra petal particles */
.sw-petal {
  position: absolute;
  width: 8px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  opacity: 0;
  animation: petal-fall linear infinite;
  pointer-events: none;
}
@keyframes petal-fall {
  0% { opacity: 0; transform: translateY(0) rotate(0deg) scale(0.8); }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-30vh) rotate(360deg) scale(0.5) translateX(3vw); }
}

/* Footer / bottom section */
.sw-footer {
  position: relative;
  z-index: 30;
  background: linear-gradient(0deg, var(--sw-bg) 0%, color-mix(in srgb, var(--sw-bg) 80%, transparent) 100%);
  padding: 80px clamp(18px, 5vw, 64px) 0;
  text-align: center;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.sw-footer.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.sw-footer__brand {
  margin-bottom: 12px;
}
.sw-footer__brand img {
  height: 100px !important;
  width: auto !important;
  max-width: 100%;
  display: inline-block;
}
.sw-footer__tagline {
  font-size: 1rem;
  color: var(--sw-ink-soft);
  margin-bottom: 24px;
}
.sw-footer__contacts-row {
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sw-footer__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.sw-footer__links a {
  color: var(--sw-ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s;
}
.sw-footer__links a:hover { color: var(--sw-accent); }
.sw-footer__images {
  display: flex;
  align-items: flex-end;
  margin-top: 20px;
  margin-bottom: -30px;
  padding: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  z-index: 31;
}
.sw-footer__vaso {
  height: 140px;
  width: auto;
  flex-shrink: 0;
}
.sw-footer__flowers {
  flex: 1;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.sw-footer__flowers img {
  height: 60px;
  width: auto;
  flex-shrink: 0;
}
.sw-footer__copy {
  margin-top: 0;
  padding: 35px 0 25px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #436834;
  color: #fcf1dd;
  font-size: 0.78rem;
}

/* Real photo enhancements */
.sw-scene {
  background: var(--sw-bg);
}
.sw-scene__still {
  object-fit: cover;
  object-position: center 40%;
  transition: opacity 0.4s ease;
}
/* Sobre Nós - capa deslocada para a direita */
.sw-scene:nth-child(2) .sw-scene__still {
  object-position: 100% center !important;
}
@media (max-width:860px) {
  .sw-scene:nth-child(2) .sw-scene__still {
    object-position: 80% center !important;
  }
}
/* Vignette overlay for depth */
.sw-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.12) 100%);
  pointer-events: none;
  z-index: 2;
}
/* Bottom gradient for copy readability */
.sw-copylayer::before {
  background: linear-gradient(90deg,
    var(--sw-bg) 0%,
    color-mix(in srgb, var(--sw-bg) 82%, transparent) 34%,
    color-mix(in srgb, var(--sw-bg) 40%, transparent) 62%,
    transparent 100%) !important;
  width: min(58vw, 780px) !important;
  top: 0 !important;
  bottom: auto !important;
  height: 100% !important;
}

/* Ambient glow spots */
.sw-glow-spot {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  transition: background 1.5s ease;
}
.sw-glow-spot--1 {
  width: 400px; height: 400px;
  top: 10%; right: 15%;
  background: #E8B84B;
}
.sw-glow-spot--2 {
  width: 300px; height: 300px;
  bottom: 20%; left: 10%;
  background: #D94F4F;
}

/* Gallery thumbs inside copy */
.gallery-thumbs{display:flex;gap:10px;margin-top:18px}
.gallery-thumbs__item{
  width:50px;height:50px;border-radius:50%;overflow:hidden;cursor:pointer;
  border:2px solid var(--sw-accent);transition:transform .3s,box-shadow .3s;flex-shrink:0;
}
.gallery-thumbs__item:hover{transform:scale(1.15);box-shadow:0 4px 14px color-mix(in srgb,var(--sw-accent) 45%,transparent)}
.gallery-thumbs__item img{width:100%;height:100%;object-fit:cover;display:block}

.sw-hint, .sw-hint span { color: #FFFFFF !important; }
.sw-hint i { border-color: rgba(255,255,255,0.6) !important; }
.sw-hint i::after { background: #FFFFFF !important; }

/* Ocultar seção Entrega */
.sw-copy.is-hidden,
.sw-nav__item.is-hidden,
.sw-route__dot.is-hidden { display: none !important; }

/* Numeração "01 / 07" das seções — oculta (nada excluído do engine) */
.sw-copy__num { display: none !important; }

/* Bolinhas de rota laterais — ocultas (navegação apenas pelo menu principal).
   Nada foi excluído do projeto; para reativar, basta remover o display:none abaixo. */
/*
.sw-route { display: flex !important; }
*/
.sw-route { display: none !important; }

/* Rodapé — Contate-nos (e-mails) + parceiro */
.sw-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  text-align: center;
}
.sw-footer__contacts-row a[href="mailto:financeiro@sitioyamato.com.br"] { margin-top: -1.2em; }
.sw-footer__contacts-row a[href="mailto:comercial@sitioyamato.com.br"] { margin-top: -1.2em; }
.sw-footer__contacts .sw-footer__links { margin-bottom: 0; }
.sw-footer__contacts-title {
  font-weight: 700;
  color: var(--sw-ink);
  letter-spacing: 0.04em;
}
.sw-footer__contacts a {
  color: var(--sw-ink-soft);
  text-decoration: none;
}
.sw-footer__partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.sw-footer__partner-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-top: 4px;
}
.sw-footer__partner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.sw-footer__partner-contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.sw-footer__partner-contacts a {
  color: var(--sw-ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s;
}
.sw-footer__partner-contacts a:hover { color: var(--sw-accent); }
.sw-footer__partner-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sw-ink-soft);
  text-decoration: underline;
  transition: color 0.25s;
}
.sw-footer__partner-link:hover { color: var(--sw-accent); }
.sw-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sw-ink);
  margin: 4px 0;
  transition: color 0.25s, transform 0.25s;
}
.sw-footer__social:hover { color: var(--sw-accent); transform: scale(1.1); }
.sw-footer__partner-title { margin-top: 2em; }
.sw-footer__social-title { margin-top: 2.4em; }
@media (max-width: 860px) {
  .sw-footer__contacts-row {
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
  }
  /* Mobile: 1 linha de espaço após "Contate-nos" e 1 linha entre os e-mails */
  .sw-footer__contacts-row > .sw-footer__contacts-title {
    margin-bottom: 1em;
  }
  .sw-footer__contacts-row a[href="mailto:comercial@sitioyamato.com.br"] {
    margin-top: 0;
  }
  .sw-footer__contacts-row a[href="mailto:financeiro@sitioyamato.com.br"] {
    margin-top: 1em;
  }
}

/* Popup Sobre Nós mobile - 75% */
@media (max-width: 860px) {
  .sw-popup { width: 75% !important; }
}

/* ============================================================================
   Seção "Meus Produtos" — layout largo + carrossel 3D (identidade Yamato)
   ============================================================================ */

.sw-copy--products {
  width: min(86vw, 1340px);
  top: clamp(150px, 19vh, 210px);
}
.sw-copy--products .sw-copy__title {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}
.sw-copy--products .sw-copy__body {
  max-width: 62ch;
  margin-top: 12px;
}

/* ============================================================================
   Seção Galeria — mensagem ao lado do carrossel de 2 fotos
   ============================================================================ */

.sw-copy--gallery {
  width: min(86vw, 1340px);
  top: clamp(150px, 19vh, 210px);
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  grid-template-rows: auto auto auto auto auto;
  column-gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.sw-copy--gallery > .sw-copy__num { grid-area: 1 / 1 / 2 / 2; }
.sw-copy--gallery > .sw-copy__eyebrow { grid-area: 2 / 1 / 3 / 2; }
.sw-copy--gallery > .sw-copy__title { grid-area: 3 / 1 / 4 / 2; }
.sw-copy--gallery > .sw-copy__body { grid-area: 4 / 1 / 5 / 2; }
.sw-copy--gallery > .gallery-thumbs { display: none; }
.sw-copy--gallery > .ymc {
  grid-area: 1 / 2 / 6 / 3;
  margin-top: 0;
  align-self: center;
}

/* ── Textos de apoio dos carrosséis em branco (sobre a foto) ── */
/* (regras aplicadas no fim do arquivo, para vencer as do bloco .ymc base) */

/* ── Carrossel: sem painel/fundo — só cards, setas e chips ── */
.ymc {
  margin-top: 20px;
  padding: 0;
  border-radius: 0;
  pointer-events: auto;
  background: transparent;
  border: none;
  box-shadow: none;
}
.ymc__progress { display: none; }

/* ── Chips de filtro ── */
.ymc__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ymc-chip {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--sw-accent) 35%, transparent);
  background: color-mix(in srgb, #fff 70%, transparent);
  color: var(--sw-ink-soft);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.ymc-chip:hover { transform: translateY(-1px); color: var(--sw-ink); }
.ymc-chip.is-active {
  background: var(--sw-accent);
  border-color: var(--sw-accent);
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--sw-accent) 35%, transparent);
}

/* ── Palco / viewport / track ── */
.ymc__stage {
  position: relative;
}
.ymc__viewport {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  perspective: 1400px;
  perspective-origin: 50% 50%;
}
.ymc__viewport.is-dragging { cursor: grabbing; }
.ymc__track {
  display: flex;
  gap: 16px;
  padding: 14px 4px 20px;
  width: max-content;
  will-change: transform;
  transform-style: preserve-3d;
}

/* ── Setas ── */
.ymc__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 42px;
  height: 84px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--sw-ink);
  background: color-mix(in srgb, var(--sw-bg) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--sw-accent) 30%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(45, 31, 20, 0.2);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.ymc__arrow:hover {
  background: var(--sw-accent);
  border-color: var(--sw-accent);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
.ymc__arrow--prev { left: -8px; }
.ymc__arrow--next { right: -8px; }

/* ── Cards ── */
.ymc-card {
  position: relative;
  flex-shrink: 0;
  width: 260px;
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--sw-accent) 25%, transparent);
  box-shadow: 0 16px 40px rgba(45, 31, 20, 0.16);
  transform-style: preserve-3d;
  /* sem transition no transform: o card acompanha o scroll exatamente (fluidez) */
  transition: none;
}
.ymc-card:focus-visible {
  outline: 2px solid var(--sw-accent);
  outline-offset: 3px;
}
.ymc-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: block;
}
.ymc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-user-drag: none;
}
.ymc-card:hover .ymc-card__media img { transform: scale(1.08); }
.ymc-card__shimmer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ymc-card__shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, color-mix(in srgb, var(--sw-accent) 12%, transparent) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.ymc-card:hover .ymc-card__shimmer::after { transform: translateX(100%); }
.ymc-card__overlay {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(
    to top,
    rgba(45, 31, 20, 0.92) 0%,
    rgba(45, 31, 20, 0.55) 38%,
    rgba(45, 31, 20, 0) 72%
  );
}
.ymc-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--sw-accent);
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(45, 31, 20, 0.3);
}
.ymc-card__tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: ymc-pulse 1.6s ease-in-out infinite;
}
@keyframes ymc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}
.ymc-card__plus {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--sw-ink);
  background: color-mix(in srgb, #fff 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--sw-accent) 25%, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ymc-card:hover .ymc-card__plus { opacity: 1; }
.ymc-card__cta {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.ymc-card:hover .ymc-card__cta,
.ymc-card:focus-visible .ymc-card__cta {
  opacity: 1;
  transform: scale(1);
}
.ymc-card__cta-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, #fff 92%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 34px rgba(45, 31, 20, 0.35);
}
.ymc-card__cta-bubble img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.ymc-card__cta-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff8e7;
  text-shadow: 0 1px 10px rgba(45, 31, 20, 0.65);
  white-space: nowrap;
}
.ymc-card__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px 16px;
  display: block;
}
.ymc-card__cat {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sw-accent) 65%, #fff);
  margin-bottom: 4px;
}
.ymc-card__name {
  display: block;
  font-family: var(--sw-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
  color: #fff8e7;
  text-shadow: 0 1px 12px rgba(45, 31, 20, 0.5);
}

/* ── Progresso ── */
.ymc__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}
.ymc__hint {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sw-ink-soft);
}
.ymc__bar {
  flex: 1;
  max-width: 220px;
  height: 3px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--sw-accent) 18%, transparent);
  overflow: hidden;
}
.ymc__bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--sw-accent);
  transition: width 0.3s ease;
}
.ymc__count {
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--sw-ink-soft);
}

/* ── Mobile ── */
@media (max-width: 860px) {
  .sw-copy--products {
    top: auto;
    bottom: calc(clamp(56px, 12dvh, 110px) + env(safe-area-inset-bottom));
    padding: 14px 12px 12px;
  }
  .sw-copy--products .sw-copy__body { display: block; }
  .sw-copy--products .sw-copy__tags { display: none; }
  .sw-copy--products .sw-copy__eyebrow { margin-top: 6px; }
  .sw-copy--products .sw-copy__title { font-size: clamp(1.5rem, 6vw, 2rem); margin-top: 6px; }

  .sw-copy--gallery {
    top: auto;
    bottom: calc(clamp(56px, 12dvh, 110px) + env(safe-area-inset-bottom));
    width: auto;
    max-width: 560px;
    display: block;
  }
  .sw-copy--gallery > .ymc { margin-top: 14px; }

  .ymc { margin-top: 12px; padding: 0; border-radius: 0; }
  .ymc__chips { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 10px; padding-bottom: 2px; }
  .ymc-chip { white-space: nowrap; }
  .ymc-card { width: 172px; height: 248px; }
  .ymc__track { gap: 12px; padding: 10px 2px 14px; }
  .ymc__arrow { width: 32px; height: 60px; border-radius: 10px; }
  .ymc__arrow--prev { left: -4px; }
  .ymc__arrow--next { right: -4px; }
  .ymc-card__cta { gap: 7px; }
  .ymc-card__cta-bubble { width: 46px; height: 46px; }
  .ymc-card__cta-text { font-size: 0.64rem; }
  .ymc__hint { display: none; }
}

/* ============================================================================
   Overrides finais — textos de apoio em branco sobre a foto
   (no fim do arquivo para vencer as regras base do .ymc)
   ============================================================================ */

.ymc__hint,
.ymc__count {
  color: #FFFFFF;
  text-shadow: 0 1px 10px rgba(45, 31, 20, 0.7);
}
.ymc__bar {
  background: rgba(255, 255, 255, 0.28);
}
.ymc__bar-fill {
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}
/* "ROLE PARA MAIS" — branco e legível sobre a foto */
.sw-hint {
  color: #FFFFFF;
  text-shadow: 0 1px 10px rgba(45, 31, 20, 0.7);
  display: none;
}

/* ============================================================================
   Dicas de apoio ocultadas a pedido: HUD do carrossel
   ("Arraste ou use as setas", contador "04 / 06" e barra de progresso)
   ============================================================================ */
.ymc__progress {
  display: none;
}

/* ============================================================================
   Botão flutuante do WhatsApp (canto inferior direito)
   ============================================================================ */
.sw-whatsapp {
  position: fixed;
  right: clamp(14px, 2.2vw, 26px);
  bottom: clamp(14px, 2.2vw, 26px);
  z-index: 9997;
  display: inline-flex;
  align-items: center;
  height: 58px;
  min-width: 58px;
  padding: 0 15px;
  border: none;
  border-radius: 999px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.38);
  /* animação de entrada: começa invisível, entra após 10s (classe .is-visible) */
  opacity: 0;
  translate: 0 20px;
  scale: 0.88;
  pointer-events: none;
  transition: opacity 0.7s ease,
              translate 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              scale 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease,
              background 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.sw-whatsapp.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  pointer-events: auto;
}
.sw-whatsapp__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: block;
}
.sw-whatsapp__label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: max-width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.25s ease,
              margin 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.sw-whatsapp:hover,
.sw-whatsapp:focus-visible {
  transform: translateY(-3px);
  background: #1EBE5A;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.5);
}
.sw-whatsapp:hover .sw-whatsapp__label,
.sw-whatsapp:focus-visible .sw-whatsapp__label {
  max-width: 160px;
  opacity: 1;
  margin-left: 10px;
}
/* Sobe o botão quando o rodapé aparece, para não cobrir o vaso/decoração */
body.footer-visible .sw-whatsapp {
  bottom: clamp(150px, 16vh, 200px);
}
@media (max-width: 860px) {
  .sw-whatsapp {
    height: 52px;
    min-width: 52px;
    padding: 0 12px;
  }
  .sw-whatsapp__icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
  body.footer-visible .sw-whatsapp {
    bottom: 120px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sw-whatsapp,
  .sw-whatsapp__label {
    transition: none;
  }
  .sw-whatsapp:hover,
  .sw-whatsapp:focus-visible {
    transform: none;
  }
  .sw-whatsapp.is-visible {
    translate: 0 0;
    scale: 1;
  }
}
