/* ============================================================
   BELASHOP — Popup promo v2.2 (layout com foto de fundo)
   Arquivo standalone e independente: salvar como
   static/css/belashop-popup.css (arquivo NOVO, não mexe
   no belashop-custom-v49.css existente).
   Carregado via um <link> próprio no layout.tpl, depois
   do link do belashop-custom-v49.css.
   ============================================================ */

:root {
  --bs-promo-bg: url('https://d2az8otjr0j19j.cloudfront.net/templates/007/510/147/twig/static/images/popup-cozinha.jpg');
}

.bs-promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 33, 71, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.bs-promo-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background-image: var(--bs-promo-bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  animation: bs-promo-pop .35s ease;
}

@keyframes bs-promo-pop {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}

.bs-promo-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2C2C2A;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  z-index: 2;
  transition: transform .15s ease;
}
.bs-promo-close:hover { transform: scale(1.08); }

.bs-promo-content {
  position: relative;
  z-index: 1;
  max-width: 58%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px 40px 44px;
}

.bs-promo-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.2;
  color: #2C2C2A;
  margin: 0 0 16px;
}
.bs-promo-title strong { font-weight: 700; }

.bs-promo-divider {
  width: 46px;
  height: 3px;
  background: #C97B3A;
  border-radius: 2px;
  margin-bottom: 20px;
}

.bs-promo-lead {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #2C2C2A;
  margin: 0;
  line-height: 1.4;
}

.bs-promo-percent {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.1;
  color: #C97B3A;
  margin: 2px 0;
}

.bs-promo-cupom-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px dashed #C97B3A;
  border-radius: 12px;
  padding: 12px 22px;
  margin: 22px 0 18px;
  background: rgba(255,255,255,.6);
  width: fit-content;
}

.bs-promo-scissors {
  color: #5a6a88;
  font-size: 16px;
  transform: rotate(90deg);
}

.bs-promo-cupom {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .5px;
  color: #C97B3A;
}

.bs-promo-cta {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: #C97B3A;
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  width: fit-content;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(249,115,22,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bs-promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(249,115,22,.45);
}

/* Mobile: empilha texto sobre a foto com scrim mais forte */
@media (max-width: 640px) {
  .bs-promo-box {
    aspect-ratio: 3 / 4;
    background-position: top center;
  }
  .bs-promo-content {
    max-width: 100%;
    justify-content: flex-end;
    padding: 32px 28px 36px;
  }
  .bs-promo-title { font-size: 26px; }
  .bs-promo-percent { font-size: 46px; }
}
