/* Sagrada Bruxaria — fotografias reais e vitrine editorial v41 — 14/11/2026.
   Camada visual: nenhum dado, preço ou fluxo comercial alterado. */
:root {
  --sb41-ink:#321B12;
  --sb41-parchment:#E8C69A;
  --sb41-forest:#192316;
  --sb41-gold:#C5A06A;
  --sb41-moss:#46572D;
}
.sb-v30-store .demo-catalog .demo-head > a.btn.alt {
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:44px!important;border:1px solid #5c452d!important;
  background:#382116!important;color:#fff1d7!important;
  border-radius:8px!important;
  box-shadow:0 5px 13px rgba(37,24,17,.15)!important;
  text-shadow:none!important;
  font:700 12px/1.3 system-ui,-apple-system,'Segoe UI',sans-serif!important;
}
.sb-v30-store .demo-catalog .demo-head > a.btn.alt:hover {
  background:#46572D!important;color:#fff9e8!important;
}
.sb-v30-store .demo-catalog .demo-product-grid { gap:14px!important; }
.sb-v30-store .demo-catalog .demo-product-card {
  min-width:0!important;
  background:linear-gradient(148deg,#43291a,#281a12)!important;
  border:1px solid #a98555!important;
  box-shadow:0 9px 22px #32201535!important;
  transition:border-color .18s,transform .18s,box-shadow .18s;
}
.sb-v30-store .demo-catalog .demo-product-card:hover {
  transform:translateY(-2px);
  border-color:#dbb876!important;
  box-shadow:0 12px 24px #3320114a!important;
}
.sb-v30-store .demo-catalog .demo-product-media {
  display:block;
  width:100%;
  height:auto!important;
  aspect-ratio:4/5!important;
  overflow:hidden;
  padding:7px!important;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid #a98555!important;
  background:linear-gradient(148deg,#d6b48a,#f1dbb6)!important;
  border-radius:0!important;
  cursor:zoom-in;
}
.sb-v30-store .demo-catalog .demo-product-media img {
  display:block!important;
  width:100%!important;height:100%!important;
  object-fit:contain!important;
  object-position:center center;
  background:transparent!important;
  border-radius:5px!important;
  filter:saturate(.94) contrast(1.02);
}
.sb-v30-store .demo-catalog .demo-product-body {
  display:flex!important;flex:1;flex-direction:column;
  gap:7px!important;padding:14px!important;
}
.sb-v30-store .demo-catalog .demo-product-body > small:first-child {
  color:#dac197!important;
  font:700 10px/1.4 system-ui,sans-serif!important;
  text-transform:uppercase;letter-spacing:.12em;
}
.sb-v30-store .demo-catalog .demo-product-card h3 {
  margin:0!important;
  font:500 clamp(18px,1.85vw,24px)/1.19 Georgia,serif!important;
  color:#f8dcad!important;
  min-height:0!important;
  text-wrap:balance;
}
.sb-v30-store .demo-catalog .demo-product-body > p {
  margin:0!important;
  font-size:12px!important;
  line-height:1.45!important;
}
.sb-v30-store .demo-catalog .demo-product-body > p:nth-of-type(2) {
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden!important;
  color:#e0cdb1!important;
  min-height:0!important;
}
.sb-v30-store .demo-catalog .demo-product-meta {
  border-top:1px solid #886b4b!important;
  padding-top:10px!important;margin-top:auto!important;
}
.sb-v30-store .demo-catalog .demo-product-meta strong {
  color:#f5ddb3!important;font:700 16px/1.15 Georgia,serif!important;
}
.sb-v30-store .demo-catalog .demo-product-meta span {
  color:#f6e4c5!important;
  background:#46572D!important;
  border:1px solid #baa06c!important;
  border-radius:5px!important;
  padding:4px 7px!important;
  font-size:10px!important;
}
.sb-v30-store .demo-catalog .product-card-actions {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px!important;
}
.sb-v30-store .demo-catalog .product-card-actions .demo-details,
.sb-v30-store .demo-catalog .product-card-actions .demo-add {
  width:100%!important;min-width:0!important;min-height:44px!important;
  border-radius:7px!important;
  font:700 11px/1.25 system-ui,sans-serif!important;
  padding:9px 5px!important;
  box-shadow:none!important;
}
.sb-v30-store .demo-catalog .product-card-actions .demo-details {
  background:#f0d6ae!important;color:#382116!important;
  border:1px solid #b98f5f!important;
}
.sb-v30-store .demo-catalog .product-card-actions .demo-add {
  background:#46572D!important;color:#fff8e7!important;
  border:1px solid #c5a06a!important;
}
.sb-v30-store .demo-catalog .product-card-actions .sb32-product-link {
  grid-column:1/-1;
  display:flex!important;align-items:center;justify-content:center;text-align:center;
  min-height:40px!important;padding:8px!important;
  background:transparent!important;color:#e5c895!important;
  text-decoration:underline;text-underline-offset:3px;
  font:600 11px/1.35 system-ui,sans-serif!important;
}
.sb-v30-store .demo-catalog .product-card-actions .sb32-product-link:hover {
  color:#fff4df!important;
}
.sb-v30-store .demo-catalog .demo-product-media:focus-visible,
.sb-v30-store .demo-catalog .product-card-actions a:focus-visible,
.sb-v30-store .demo-catalog .product-card-actions button:focus-visible {
  outline:3px solid #E4BC78!important;outline-offset:2px!important;
}
/* Cards da Home: dar mais destaque ao produto fotografado. */
.sb-v30-home .sb40-product {
  box-shadow:0 9px 23px #090c0750!important;
}
.sb-v30-home .sb40-product img {
  aspect-ratio:4/5!important;
  height:auto!important;
  object-fit:contain!important;
  padding:8px!important;
  background:linear-gradient(125deg,#e1bf94,#f3dec0)!important;
}
.sb-v30-home .sb40-product-copy{padding:13px!important}
/* Detalhes: foto do produto e modal de ampliação. */
.sb-photo { position:relative!important; overflow:hidden!important; }
.sb-photo > img { cursor:zoom-in; }
.sb41-photo-button {
  position:absolute;right:12px;bottom:62px;z-index:1;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:9px 14px;
  border-radius:8px;border:1px solid #c5a06a;
  background:#321B12;color:#fff4e2;
  font:700 12px/1.2 system-ui,sans-serif;
  box-shadow:0 8px 18px #110e0c55;
  cursor:zoom-in;
}
.sb41-photo-button:hover {background:#46572D;}
.sb41-photo-button:focus-visible,.sb41-photo-close:focus-visible{
  outline:3px solid #f2cb88;outline-offset:3px;
}
.sb41-photo-overlay {
  position:fixed;inset:0;z-index:2147481000;
  display:grid;place-items:center;
  padding:clamp(18px,3vw,48px);
  background:rgba(12,12,9,.94);
  overscroll-behavior:contain;
}
.sb41-photo-overlay[hidden] {display:none!important;}
.sb41-photo-dialog {
  display:grid;grid-template-rows:auto minmax(0,1fr) auto;
  gap:12px;width:min(880px,100%);max-height:calc(100dvh - 34px);
  border:1px solid #b38b5c;border-radius:12px;
  background:linear-gradient(150deg,#342216,#1c1e16);
  box-shadow:0 22px 70px #0009;
  overflow:hidden;padding:12px;
}
.sb41-photo-dialog img {
  display:block;width:100%;max-height:calc(100dvh - 140px);
  min-height:0;object-fit:contain;border-radius:6px;
  background:#e9d2af;
}
.sb41-photo-close {
  justify-self:end;min-height:44px;padding:9px 16px;
  border:1px solid #c5a06a;border-radius:8px;
  background:#E8C69A;color:#321B12;
  font:750 12px system-ui,sans-serif;cursor:pointer;
}
.sb41-photo-dialog p {
  margin:0;padding:0 8px 4px;color:#f1d8b4;
  text-align:center;font:500 13px/1.45 Georgia,serif;
}
@media(min-width:621px) {
 .sb-v30-store .demo-catalog .demo-product-media {height:250px!important;aspect-ratio:auto!important;}
}
@media(min-width:761px) {
 .sb-v30-home .sb40-product img {aspect-ratio:4/3!important;}
}
@media(max-width:620px) {
 .sb-v30-store .demo-catalog .demo-product-grid {gap:10px!important;}
 .sb-v30-store .demo-catalog .demo-product-body {padding:9px!important;gap:6px!important;}
 .sb-v30-store .demo-catalog .demo-product-card h3 {font-size:16px!important;line-height:1.2!important;}
 .sb-v30-store .demo-catalog .demo-product-body > p:nth-of-type(2) {display:none!important;} /* Descrição completa preservada no modal e na página individual. */
 .sb-v30-store .demo-catalog .demo-product-body > p {font-size:11px!important;}
 .sb-v30-store .demo-catalog .demo-product-meta {gap:4px!important;flex-wrap:wrap!important;}
 .sb-v30-store .demo-catalog .demo-product-meta strong{font-size:15px!important;}
 .sb-v30-store .demo-catalog .demo-product-media {padding:4px!important;}
 .sb41-photo-button{bottom:53px;right:8px;}
}
@media(prefers-reduced-motion:reduce){
 .sb-v30-store .demo-catalog .demo-product-card{transition:none!important;}
 .sb-v30-store .demo-catalog .demo-product-card:hover{transform:none!important;}
}
