/* Sagrada Bruxaria v52 — continuidade entre a Home e a Loja.
   A Loja conserva o mecanismo de filtros, catálogo e carrinho existente. */
body.sb-v30-store .sagrada-breadcrumb { display: none; }

body.sb-v30-store .sb52-store-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .98fr);
  align-items: center;
  gap: 30px;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 408px;
  margin: 8px 0 0;
  padding: 36px clamp(24px, 4.4vw, 58px);
  background: linear-gradient(135deg, #221b14, #172418 77%, #211810);
  border: 1px solid #886a42;
  border-radius: 4px;
  color: #f8ebd4;
}
body.sb-v30-store .sb52-store-hero .sb52-hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}
body.sb-v30-store .sb52-store-hero .eyebrow {
  color: #c5a06a;
  font: 700 11px/1.6 Georgia, serif;
  letter-spacing: .13em;
}
body.sb-v30-store .sb52-store-hero h1 {
  color: #f8ebd4;
  font: 700 clamp(32px, 3.7vw, 55px)/1.09 Georgia, 'Times New Roman', serif;
  letter-spacing: -.023em;
  margin: 14px 0;
  max-width: 540px;
}
body.sb-v30-store .sb52-store-hero .lead {
  max-width: 510px;
  color: #f4dfbd;
  font: 400 clamp(15px,1.3vw,18px)/1.55 Georgia, 'Times New Roman', serif;
  margin: 0 0 17px;
}
body.sb-v30-store .sb52-store-hero .store-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
}
body.sb-v30-store .sb52-store-hero .store-contact .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 44px;
  padding: 10px 14px;
  font: 700 14px/1.2 Georgia, 'Times New Roman', serif;
  white-space: nowrap;
}
body.sb-v30-store .sb52-store-hero .store-contact .gold {
  background: transparent;
  color: #f8ebd4;
  border: 1px solid #c5a06a;
}
body.sb-v30-store .sb52-store-hero .store-hero-media {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  height: 285px;
  min-height: 0;
  max-height: none;
  margin: 0;
  overflow: hidden;
  border: 1px solid #94764f;
  border-radius: 5px;
}
body.sb-v30-store .sb52-store-hero .store-hero-media picture,
body.sb-v30-store .sb52-store-hero .store-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

/* Coleções compactas, com as fotos reais e filtros originais. */
body.sb-v30-store .sb52-shop-collections {
  display: block;
  margin: 0;
  padding: 18px clamp(18px, 3vw, 30px) 22px;
  border: 1px solid #9d774b;
  border-radius: 3px;
  background: #e8c69a;
  color: #382116;
}
body.sb-v30-store .sb52-collection-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  align-items: baseline;
  margin-bottom: 14px;
}
body.sb-v30-store .sb52-collection-heading > span {
  color: #59432d;
  font: 700 10px/1.5 Georgia, serif;
  letter-spacing: .1em;
}
body.sb-v30-store .sb52-collection-heading h2 {
  flex: 1;
  margin: 0;
  font: 700 clamp(22px, 2.5vw, 32px)/1.13 Georgia, serif;
  color: #382116;
}
body.sb-v30-store .sb52-collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
body.sb-v30-store .sb52-collection-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 106px;
  padding: 10px 12px;
  border: 1px solid #b28f63;
  border-radius: 4px;
  background: #f8ebd4;
  color: #382116;
  text-decoration: none;
  box-shadow: 0 3px 8px rgb(44 30 17 / 7%);
}
body.sb-v30-store .sb52-collection-card:is(:focus-visible,:hover) {
  outline: 2px solid #46572d;
  outline-offset: 2px;
  background: #fff0d7;
}
body.sb-v30-store .sb52-collection-card img {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 82px;
  object-fit: contain;
}
body.sb-v30-store .sb52-collection-card > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}
body.sb-v30-store .sb52-collection-card strong {
  font: 700 clamp(16px, 1.7vw, 22px)/1.13 Georgia, serif;
  color: #382116;
}
body.sb-v30-store .sb52-collection-card small {
  font: 500 13px/1.35 Georgia, serif;
  color: #46572d;
}
body.sb-v30-store .store-grid {display: none !important;}
body.sb-v30-store .demo-catalog {
  scroll-margin-top: 12px;
  margin-top: 16px;
}
body.sb-v30-store .shop-faq { margin-top: 20px; }
body.sb-v30-store .public-footer { margin-top: 24px; }

@media (max-width: 900px) {
  body.sb-v30-store .sb52-store-hero {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 365px !important;
    height: 365px !important;
    padding: 25px 20px;
    gap: 0;
    margin-top: 8px;
  }
  body.sb-v30-store .sb52-store-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(17,19,14,.94), rgba(17,20,15,.81) 65%, rgba(22,18,15,.68));
  }
  body.sb-v30-store .sb52-store-hero .sb52-hero-content {width: 100%; max-width: 335px;}
  body.sb-v30-store .sb52-store-hero h1 {font-size: clamp(30px, 8vw, 35px); line-height: 1.1; margin: 11px 0 13px;}
  body.sb-v30-store .sb52-store-hero .lead {font-size: 15px; line-height: 1.44; margin-bottom: 13px;}
  body.sb-v30-store .sb52-store-hero .store-contact .btn {
    min-height: 44px;
    padding: 9px 11px;
    font-size: 13px;
  }
  body.sb-v30-store .sb52-store-hero .store-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    pointer-events: none;
  }
  body.sb-v30-store .sb52-store-hero .store-hero-media picture,
  body.sb-v30-store .sb52-store-hero .store-hero-media img {
    width: 100%;height:100%;object-fit:cover;object-position:center;
  }
  body.sb-v30-store .sb52-shop-collections { padding: 13px 10px 15px; }
  body.sb-v30-store .sb52-collection-heading {display:block; margin-bottom: 12px;}
  body.sb-v30-store .sb52-collection-heading h2 {margin: 3px 0 0;font-size: 24px;}
  body.sb-v30-store .sb52-collection-grid {gap: 8px;}
  body.sb-v30-store .sb52-collection-card {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 144px;
    padding: 8px 5px;
    text-align: center;
  }
  body.sb-v30-store .sb52-collection-card img {flex: 0 0 70px;width: 60px;height:70px;}
  body.sb-v30-store .sb52-collection-card strong {font-size: 15px;}
  body.sb-v30-store .sb52-collection-card small {font-size: 11px;line-height:1.35;}
  body.sb-v30-store .demo-catalog {margin-top: 12px;}
}
@media (max-width: 350px) {
  body.sb-v30-store .sb52-store-hero .store-contact .btn {font-size: 12px;padding:8px 9px;}
  body.sb-v30-store .sb52-store-hero {min-height:380px!important;height:380px!important;}
  body.sb-v30-store .sb52-store-hero h1 {font-size:29px;}
  body.sb-v30-store .sb52-collection-card small {font-size: 10px;}
}