/* Sol Rara — acabamento da vitrine e galeria, 28/10/2026. */
@media (min-width: 851px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(38px, 4.2vw, 62px) clamp(26px, 4vw, 62px) !important;
  }
  .product-grid > .product-card {
    width: 100%;
    max-width: 238px;
    justify-self: center;
  }
}
@media (max-width: 850px) {
  .product-grid > .product-card { width: 100%; }
}
/* Sem ampliação excessiva que revela pixels, impressões e artefatos. */
.product-image:hover img,
.product-card:hover .product-image img,
.product-gallery img:hover,
.product-gallery img.touch-zoomed {
  transform: none !important;
  filter: none !important;
}
.product-gallery img { cursor: default !important; }
.product-gallery .product-gallery-track { scroll-behavior: smooth; scrollbar-width: none; position: relative; }
.product-gallery .product-gallery-track::-webkit-scrollbar { display: none; }
.product-gallery.solrara-gallery-ready { position: relative; }
/* Controles editoriais abaixo da foto: discretos, sem cartões sobre a peça. */
.product-gallery .sol-gallery-controls {
  display: flex; position: relative; justify-content: space-between;
  align-items: center; width: 100%; margin-top: 12px;
  padding: 2px 4px 0; border-top: 1px solid rgba(23,53,31,.18);
}
.product-gallery .sol-gallery-arrow {
  appearance: none; display: inline-flex; align-items: center;
  justify-content: center; flex: 0 0 52px;
  width: 52px; height: 44px; min-height: 44px;
  padding: 0; background: transparent !important; border: 0 !important;
  border-radius: 0 !important; box-shadow: none !important;
  color: #17351f !important; font-family: Georgia, serif;
  font-size: 27px; font-weight: 400; line-height: 1;
  transition: opacity .2s ease, transform .2s ease;
}
.product-gallery .sol-gallery-arrow:hover { opacity: .65; }
.product-gallery .sol-gallery-prev:hover { transform: translateX(-3px); }
.product-gallery .sol-gallery-next:hover { transform: translateX(3px); }
.product-gallery .sol-gallery-arrow:focus-visible { outline: 1px solid #17351f; outline-offset: 2px; }
.product-gallery .sol-gallery-count {
  color: rgba(23,53,31,.72); text-align: center;
  font: 10px Poppins,Arial,sans-serif; letter-spacing: .2em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
  .product-gallery .sol-gallery-controls { margin-top: 9px; }
  .product-gallery .sol-gallery-arrow { width: 46px; flex-basis: 46px; font-size: 25px; }
}
/* Subtítulo da abertura com leitura clara e hierarquia editorial. */
.home-original .hero .hero-details h2 {
  color: #fff; text-transform: none; font-family: Poppins, Arial, sans-serif;
  letter-spacing: -.025em; font-size: clamp(19px, 2vw, 27px);
  font-weight: 500; line-height: 1.25; margin: 0 0 16px;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.home-original .hero .hero-details h2::after {
  content: ""; display: block; width: 45px; height: 1px;
  margin-top: 13px; background: #dbc49e;
}
@media (max-width: 850px) {
  .home-original .hero .hero-details {
    display: block !important;
    margin-top: 18px !important;
  }
  .home-original .hero .hero-details h2 {
    font-size: clamp(17px, 4.8vw, 21px);
    margin-bottom: 0;
  }
  .home-original .hero .hero-details h2::after { margin-top: 11px; }
  .home-original .hero .hero-details p,
  .home-original .hero .hero-details .explore-button {
    display: none !important;
  }
}

/* Cabeçalho: transparente sobre a fotografia, claro com pequena rolagem.
   O React mantém o menu SEMPRE montado: botões e links continuam clicáveis. */
body.sol-rara-wordpress .site-shell > main > .topbar {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 220px !important;
  width: calc(100% - 220px) !important;
  z-index: 100 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
  transition: background-color .28s ease, color .28s ease, border-color .28s ease, box-shadow .28s ease !important;
}
/* O ::before herdado do tema criava uma faixa clara mesmo sem fundo no menu. */
body.sol-rara-wordpress .site-shell > main > .topbar::before {
  content: none !important;
  display: none !important;
}
body.sol-rara-wordpress .site-shell > main > .topbar.solrara-transparent {
  background: transparent !important;
  color: #fff !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.sol-rara-wordpress .site-shell > main > .topbar.dark {
  background: #f4eee6 !important;
  color: #17351f !important;
  border-bottom: 1px solid rgba(23,53,31,.12) !important;
  box-shadow: 0 2px 10px rgba(23,53,31,.04) !important;
  backdrop-filter: blur(9px) !important;
  -webkit-backdrop-filter: blur(9px) !important;
}
body.sol-rara-wordpress .site-shell > main > .topbar.solrara-transparent :is(.top-actions button:not(.ambient-button), .top-actions a, .menu-button, .mobile-logo) {
  color: #fff !important;
}
body.sol-rara-wordpress .site-shell > main > .topbar.dark :is(.top-actions button:not(.ambient-button), .top-actions a, .menu-button, .mobile-logo) {
  color: #17351f !important;
}
body.sol-rara-wordpress .site-shell > main > .topbar .ambient-button {
  color: #fff !important;
}
body.sol-rara-wordpress .site-shell > main > .topbar .top-actions svg {
  stroke: currentColor !important;
}
body.sol-rara-wordpress .site-shell > main > .topbar .mobile-logo img {
  filter: none !important;
}
@media (max-width:850px) {
  body.sol-rara-wordpress .site-shell > main > .topbar {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.sol-rara-wordpress .site-shell > main > .topbar { transition: none !important; }
}

/* A vitrine da Home deve permanecer visível, inclusive se o
   efeito de entrada por rolagem não for disparado no dispositivo. */
.home-original #home-products,
.home-original #home-products.motion-reveal {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transform: none !important;
}
.home-original #home-products .product-grid,
.home-original #home-products .product-card {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}
/* Faixa e ícones são controlados pelas classes do React, sem sobrescritas conflitantes. */

/* MENU EDITORIAL DA HOME — mesma navegação, sem painel lateral. */
.site-shell {
  padding-left: 0 !important;
}
.site-shell > .sidebar {
  display: none !important;
}
body.sol-rara-wordpress .site-shell > main > .topbar {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 78px !important;
  padding: 0 clamp(24px, 4.5vw, 78px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}
.site-shell .topbar .solrara-header-left {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  gap: clamp(26px, 5vw, 100px);
}
.site-shell .topbar .solrara-desktop-brand {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  cursor: pointer;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.site-shell .topbar .solrara-desktop-brand img {
  width: clamp(120px, 10vw, 164px) !important;
  height: auto !important;
  max-height: 54px;
  object-fit: contain;
  display: block;
}
.site-shell .topbar .solrara-desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.85vw, 36px);
  min-width: 0;
}
.site-shell .topbar .solrara-desktop-nav button {
  cursor: pointer;
  white-space: nowrap;
  border: 0 !important;
  padding: 12px 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: 500 clamp(10px, .75vw, 12px)/1.2 Poppins,Arial,sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.site-shell .topbar .solrara-desktop-nav button:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.site-shell .topbar .top-actions {
  flex: 0 0 auto;
  display: flex !important;
  align-items: center !important;
  position: relative;
  z-index: 2;
}
.site-shell .topbar.solrara-transparent .solrara-desktop-nav button {
  color: #fff !important;
}
.site-shell .topbar.dark .solrara-desktop-nav button {
  color: #17351f !important;
}
.site-shell .topbar.solrara-transparent .top-actions :is(button:not(.ambient-button), a) {
  color: #fff !important;
}
.site-shell .topbar.dark .top-actions :is(button:not(.ambient-button), a) {
  color: #17351f !important;
}
@media (max-width: 1050px) {
  .site-shell .topbar .solrara-desktop-nav {
    gap: 13px;
  }
  .site-shell .topbar .solrara-desktop-nav button {
    font-size: 9px;
    letter-spacing: .035em;
  }
}
@media (max-width: 850px) {
  body.sol-rara-wordpress .site-shell > main > .topbar {
    height: 68px !important;
    padding: 0 18px !important;
    gap: 8px !important;
  }
  .site-shell .topbar .solrara-header-left {
    display: none !important;
  }
  .site-shell .topbar .menu-button,
  .site-shell .topbar .mobile-logo {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .site-shell .topbar .top-actions {
    gap: 12px !important;
  }
  .site-shell .topbar.solrara-transparent .menu-button,
  .site-shell .topbar.solrara-transparent .top-actions :is(button:not(.ambient-button), a) {
    color: #fff !important;
  }
  .site-shell .topbar.dark .menu-button,
  .site-shell .topbar.dark .top-actions :is(button:not(.ambient-button), a) {
    color: #17351f !important;
  }
}
@media (min-width: 851px) {
  .site-shell > main > .home-original > .hero {
    width: 100% !important;
  }
}



/* Cabeçalho consistente em todas as rotas. */
body.sol-rara-wordpress .site-shell>main>.topbar,
body.sol-rara-wordpress .site-shell>main>.topbar.dark {
background:#f4eee6!important;color:#17351f!important;left:0!important;width:100%!important;position:fixed!important;top:0!important;z-index:1000!important;
}
.site-shell>main>.page{padding-top:110px}
body.sol-rara-wordpress .site-shell>main>.topbar .ambient-button{
display:inline-flex!important;align-items:center!important;justify-content:center!important;
visibility:visible!important;opacity:1!important;flex:0 0 36px!important;width:36px!important;height:36px!important;
background:transparent!important;color:#17351f!important;border:1px solid #17351f55!important;padding:7px!important;font-size:20px!important;
}
.topbar .ambient-button svg{width:20px!important;height:20px!important;display:block!important;stroke:currentColor!important;fill:none!important}
.contact-page input,.contact-page textarea,.contact-page select,.contact-form input,.contact-form textarea,.contact-form select,
.page form input,.page form textarea,.page form select{font-family:Poppins,Arial,sans-serif!important}
.page form input,.page form textarea,.page form select{font-weight:400!important;font-size:14px!important;letter-spacing:normal!important}
.page form input::placeholder,.page form textarea::placeholder{font-family:inherit!important;font-weight:400!important;font-size:14px!important;letter-spacing:normal!important}
@media(max-width:850px){.site-shell>main>.page{padding-top:90px}}
