@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

:root {
  --white: #ffffff;
  --black: #000000;
  --red: #bb0018;

  --nunito: "Nunito", sans-serif;

  /* Fontes (shorthand) */
  --title: 36px/42px var(--nunito);
  --body: 16px/24px var(--nunito);
  --body-max: 24px/36px var(--nunito) !important;
  --body-min: 12px/18px var(--nunito) !important;
  --button: 18px/27px var(--nunito) !important;

  --space-p: 20px;
  --space-m: 40px;
  --space-g: 60px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html,
body {
  min-height: 100dvh;
  line-height: 1.5em;
  font: var(--body);
  background-color: var(--red) !important;
  color: var(--white) !important;
  scroll-behavior: smooth;
}

body {
  background-image: url("../assets/background-mobile.png");
  background-repeat: no-repeat;
}

.js-form-item h4 {
  color: var(--white) !important;
  font-weight: normal;
}

.contact_us {
  display: none !important;
}

.container {
  width: 100%;
  padding: 0px var(--space-p);
}

.bbb26-header {
  height: 80px;
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 11;
}

.bbb26-header.page-scrolled {
  background-color: var(--red);
}

.bbb26-header figure {
  height: 100%;
}

.bbb26-header figure img {
  height: 65%;
  width: 100%;
  margin: 15px auto;
}

.bbb26-main,
.bbb26-unavailable {
  padding-bottom: 80px;
  padding-top: 80px;
}

.container-robot-home {
  position: relative;
  padding-top: 30px;
}

.container-robot-home .robot-bbb26 {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 110%;
}

.container-robot-home .robot-bbb26 img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bbb26-home-message {
  padding: 10px 20px 20px 20px;
}

.bbb26-home-message figure {
  width: 100%;
  height: 0;
  padding-top: 30%;
  position: relative;
}
.bbb26-home-message figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bbb26-success h1,
.bbb26-unavailable h1 {
  font: var(--title);
  font-weight: 700;
  padding: var(--space-p);
  text-align: center;
}

.bbb26-main p,
.bbb26-success p,
.bbb26-unavailable p {
  font: var(--body);
  padding: 0px var(--space-p);
  margin-bottom: var(--space-p);
  text-align: center;
}

.bbb26-unavailable p {
  padding-bottom: 40px;
}

.bbb26-success p {
  padding-bottom: 10px;
  margin-bottom: 0px;
}

.bbb26-button,
#cepForm button {
  text-transform: uppercase;
  text-align: center;
  background-color: var(--white);
  border-radius: 10px;
  border: none;
  color: var(--black);
  font: var(--button);
  font-weight: 700;
  width: 100%;
  height: 60px;
}

.bbb26-button,
button#stOpenCepModal {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  width: calc(100% - 40px);
}

body:has(.cep-modal.show) {
  overflow: hidden;
}

div.messages.messages--status ul.messages__list li.messages__item {
  border-radius: 0px !important;
}
#ajax-message {
  margin-top: 0px !important;
}
._guest-campaign_success #block-titulodapagina {
  display: none !important;
}

.cep-modal {
  position: fixed;
  background-color: #000000dd;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(100%);
  transition:
  opacity 0.3s ease,
  transform 0.3s ease-out;
  z-index: 11;
}

.cep-modal.show {
  opacity: 1;
  transform: translateY(0);
}

.container-cep-form .close-modal {
  overflow: hidden;
}

.container-cep-form .close-modal:after {
  display: block;
  width: 12px;
  height: 12px;
  content: "";
  background-image: url(../assets/fechar.svg);
  background-size: 12px;
  background-repeat: no-repeat;
  float: right;
}

.container-cep-form > h2 {
  font: var(--body-max);
  font-weight: 700;
  padding-bottom: var(--space-p);
  text-align: center;
}

.container-cep-form > p {
  padding-bottom: var(--space-p);
  text-align: center;
  font: var(--body);
}

.container-cep-form {
  background-color: var(--red);
  border: none;
  padding: var(--space-p);
  margin: 0px auto;
  width: calc(100% - 2 * var(--space-p));
  border-radius: 20px;
}

.container-cep-form #cepForm label {
  display: block;
  margin-bottom: 10px;
  font: var(--body);
  font-weight: 700;
}

#cepForm input {
  width: 100%;
  background-color: var(--red);
  border: 2px solid #fb3502;
  padding: 15px var(--space-p);
  margin-bottom: var(--space-p);
  color: var(--white);
  font: var(--body);
  height: 60px;
  border-radius: 10px;
  outline: none;
  transition: 0.3s all ease;
}

#cepForm input::placeholder {
  font: var(--body);
  color: white;
  opacity: 0.4;
}

#cepForm input:hover {
  border: 2px solid var(--black);
  outline: none;
}

#cepForm input:focus {
  border: 2px solid #f6f5f4;
  outline: none;
}

.bbb26-register-form {
  padding-bottom: 40px;
  padding-top: 80px;
  max-width: 600px;
  margin: 0px auto;
}

body._estoque-esgotado,
body._guest-campaign_success:has(.bbb26-success) {
  background-image: url("../assets/background-mobile.png");
  background-repeat: no-repeat;
  background-size: 100%;
}
/* body._estoque-esgotado,
body._guest-campaign_success{
	background-position: 0px 130%;
} */

.container-products-group {
  padding-top: 30px;
  background-image: url("../assets/coracoes.png");
  background-repeat: no-repeat;
  background-position: top 0px right 20px;
  background-size: 100px;
}

.container-chocolates-lottie {
  background-image: url("../assets/coracoes.png");
  background-repeat: no-repeat;
  background-position: right 20px bottom 0px;
  background-size: 100px;
  padding-bottom: 20px;
  padding-top: 60px;
}

.container-chocolates-lottie figure,
.container-products-group figure {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 40%;
}

.container-chocolates-lottie figure dotlottie-wc,
.container-products-group figure dotlottie-wc {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-products-group > p {
  margin-top: 10px;
  font: var(--body-min);
  text-align: center;
}

.container-products-group h1 {
  font: var(--title);
  text-align: center;
  padding: 40px 20px 20px 20px;
  font-weight: 700;
}

.container-form > p {
  padding-bottom: var(--space-m);
  text-align: center;
  font: var(--body);
}

.bbb26-form-container form h4 {
  font-weight: 700;
  text-transform: inherit !important;
}

.bbb26-form-container form select,
.bbb26-form-container form input:not([type="checkbox"]) {
  width: 100% !important;
  border: 2px solid #fb3502 !important;
  border-radius: 10px;
  background-color: var(--red);
  padding: 15px var(--space-p) !important;
  margin-bottom: 0px !important;
  margin-top: 0px !important;
  color: var(--white) !important;
  font: var(--body) !important;
  height: 60px !important;
  box-sizing: border-box !important;
  transition: 0.3s all ease;
}

.bbb26-form-container form select::placeholder,
.bbb26-form-container form input:not([type="checkbox"])::placeholder {
  font: var(--body);
  color: white;
  opacity: 0.4;
}

.bbb26-form-container form select:hover,
.bbb26-form-container form input:not([type="checkbox"]):hover {
  border: 2px solid var(--black) !important;
  outline: none;
}

.bbb26-form-container form select:focus,
.bbb26-form-container form input:not([type="checkbox"]):focus {
  border: 2px solid #f6f5f4 !important;
  outline: none;
}

.bbb26-form-container form select {
  --webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.bbb26-form-container form select {
  background-image: url("../arrow_white.svg") !important;
  background-repeat: no-repeat;
  background-position: right 20px center !important;
}

.bbb26-form-container form #address-fieldset {
  border: none;
}

.bbb26-form-container form input[type="submit"] {
  text-transform: uppercase;
  text-align: center;
  background-color: var(--white) !important;
  border: 2px solid var(--white) !important;
  margin: 0px !important;
  color: var(--black) !important;
  font: var(--button) !important;
  font-weight: 700;
  width: 100% !important;
  height: 60px !important;
  padding: 0px !important;
  border-radius: 10px !important;
  opacity: 0.5 !important;
  pointer-events: none !important;
}
.bbb26-form-container form input[type="submit"].showed {
  opacity: 1 !important;
  pointer-events: inherit !important;
}

.bbb26-form-container form .qual_cep {
  font: var(--body-min);
  padding-bottom: var(--space-p);
  margin-top: -10px;
}

.bbb26-form-container form .qual_cep a {
  color: var(--white);
}

.bbb26-form-container form label {
  font: var(--body-min);
  display: flex;
  gap: 10px;
  align-items: start;
  padding-bottom: var(--space-p);
  width: 100%;
}

.bbb26-form-container form label input[type="checkbox"] {
  margin-top: 2px;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid #fb3502;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.bbb26-form-container form label input[type="checkbox"]:checked {
  background-color: #fdcd38;
}

.bbb26-form-container form label input[type="checkbox"]:checked::before {
  display: block;
  width: 8px;
  height: 8px;
  content: "";
  background-image: url(../assets/icone-check.svg);
  background-size: 8px;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bbb26-success {
  padding-top: 80px;
  padding-bottom: 80px;
}

.bbb26-success figure {
  width: 100%;
  height: 0px;
  padding-top: 110%;
  position: relative;
}

.bbb26-success figure img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bbb26-unavailable > figure {
  width: 260px;
  height: 240px;
  margin: 0px auto;
  margin-top: var(--space-g);
}

.bbb26-unavailable > figure img {
  width: 100%;
  height: 100%;
}

.container-e-commerce {
  position: relative;
  background: linear-gradient(240deg, #fb3502 0%, #bb0419 100%);
  border: 2px solid #fb3502;
  box-shadow: inset 10px 43px 56px #fb3502;
  border-radius: 10px;

  padding: 20px; /* espaço interno */
  padding-bottom: 40px; /* espaço pro botão não “cortar” conteúdo */
}

.container-e-commerce figure {
  width: 100%;
  height: 54px;
}

.container-e-commerce img {
  width: 100%;
  height: 100%;
}

.container-e-commerce a {
  position: absolute;
  left: -2px;
  right: 0px;
  bottom: -40px;

  display: flex;
  justify-content: center;
  align-items: center;

  text-transform: uppercase;
  text-align: center;

  background-color: var(--white);
  border-radius: 10px;
  color: var(--black);
  font: var(--button);
  font-weight: 700;
  width: calc(100% + 4px);
  height: 60px;
  text-decoration: none;
  z-index: 2;
}

.region.region-highlighted .messages__wrapper.layout-container {
  padding: 0px !important;
}

div.messages.messages--error ul.messages__list li.messages__item {
  border-radius: 0px !important;
}

body._guest-campaign_success:has(.messages__wrapper):has(.bbb26-success) {
  background-position: center 50px !important;
}

body._guest-campaign_success:has(.messages__wrapper) .bbb26-header {
  top: 38px !important;
}

body._guest-campaign_success:has(.messages__wrapper)
  .bbb26-header.page-scrolled {
  top: 0px !important;
}

body._guest-campaign_success:has(.messages__wrapper) .bbb26-success {
  padding-top: 125px;
}

@media (min-width: 1024px) {
  body,
  body._guest-campaign_success:has(.bbb26-success),
  body._como-comprar:has(.bb26-unavailable) {
    background-image: url("../assets/background.png");
    background-repeat: no-repeat;
    background-size: 100%;
  }

  .bbb26-unavailable,
  .bbb26-success,
  .bbb26-main {
    max-width: 600px;
    margin: 0px auto;
  }

  .bbb26-success figure,
  .container-robot-home .robot-bbb26 {
    padding-top: 90%;
  }

  .bbb26-success figure img,
  .container-robot-home .robot-bbb26 img {
    width: 80%;
  }

  .bbb26-button {
    max-width: 600px;
    margin: 0 auto;
  }

  .container-cep-form {
    max-width: 600px;
  }

  body._guest-campaign_success:has(.messages__wrapper):has(.bbb26-success)
    .messages__wrapper {
    max-width: 600px;
    margin: 0 auto;
  }

  body._guest-campaign_success:has(.messages__wrapper):has(.bbb26-success) {
    background-position: center 0px !important;
  }
}
