:root {
  --main-color: #ffe62c;
  --main-background-color: #f4f2ee;
  --block-background-color: #ffffff;
  --block-padding: 18px;
  --block-border-radius: 20px;
  --block-shadow: 0 4px 8px 0 rgba(0, 0, 0, .15);
  --button-background-color: #3483fa;
  --button-hover-background-color: #2968c8;
  --button-border-radius: 20px;
  --button-shadow: 0 7px 11px 0 rgba(103, 104, 117, .2);
}

html,
body {
  background: var(--main-background-color) !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #111;
}

img {
  max-width: 100%;
  height: auto;
}

#p_body_content {
  max-width: 640px;
  margin: 0 auto;
  background: var(--main-background-color);
}

#id1.header {
  background: #fff159 !important;
  padding: 10px 16px 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

#id1.header img {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  display: block;
}

#comments .comment {
  display: flex !important;
}

.content {
  background: var(--main-background-color) !important;
  padding: 12px 12px 28px;
}

.promo-banner {
  background: #ffe62c;
  color: #000;
  border-radius: 14px;
  padding: 12px 16px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--block-shadow);
}

.promo-banner__tag {
  display: inline-block;
  background: #fff;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.promo-banner__text {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  line-height: 1.3;
}

.promo-banner__flag {
  font-size: 18px;
  line-height: 1;
}

.main-content {
  background: var(--block-background-color);
  border-radius: var(--block-border-radius);
  box-shadow: var(--block-shadow);
  padding: var(--block-padding) !important;
  margin-bottom: 16px;
}

.main-content h2,
.hero-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 6px 0 14px !important;
  color: #111;
  letter-spacing: -0.02em;
}

.main-content p {
  font-size: 16px !important;
  line-height: 1.45 !important;
  color: #222;
  margin: 12px 0 !important;
}

.main-content p b,
.main-content p strong {
  font-weight: 700;
}

.price-accent,
.main-content p b[style*="color"],
.main-content font {
  color: #e40001 !important;
}

.stock-attention {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-transform: none;
  margin: 12px 0 8px;
  letter-spacing: 0;
  color: #333;
}

.stock-attention span {
  color: #e40001;
  font-size: 18px;
  display: inline;
  min-width: 0;
  font-weight: 800;
}

.caja_premio {
  max-width: 100% !important;
  width: 100%;
  margin: 10px auto 6px !important;
  padding: 0 4px;
}

.carousel-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto 8px !important;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #fff;
}

.lead-note {
  font-size: 14px !important;
  color: #585858 !important;
}

.carousel-container {
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .12);
}

.quiz-wrap {
  margin-top: 8px;
  padding-top: 8px;
}

.quiz-timer-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 16px;
  text-align: center;
}

.quiz-timer-bar__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7f1d1d;
}

.quiz-timer-bar__value,
.quiz-timer-bar #timerr {
  color: #fd0118 !important;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.quiz-progress {
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  color: #111;
  margin: 0 0 10px;
}

.quiz-meta {
  display: none;
}

p.question {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: center;
  margin: 8px 0 18px !important;
  color: #111;
}

.survey_button {
  display: block;
  width: 100%;
  background: var(--button-background-color) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  padding: 14px 16px !important;
  margin: 0 0 14px !important;
  border: none !important;
  border-radius: var(--button-border-radius) !important;
  box-shadow: var(--button-shadow) !important;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}

.survey_button:hover,
.survey_button:active {
  background: var(--button-hover-background-color) !important;
  transform: translateY(-1px);
}

#content2 h2 {
  text-align: center;
}

.main-content .result {
  padding-left: 8px !important;
  font-size: 16px !important;
}

.comments-section {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.comments {
  padding-bottom: 8px;
}

.comments__body {
  max-width: 100%;
}

.comments__leave,
.comments__items {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--block-shadow);
  padding: 18px;
}

.comments__leave {
  margin-bottom: 16px;
}

.comments__leave-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 16px;
}

.comments__leave-title span {
  color: #585858;
  font-weight: 400;
}

.comments__leave-form {
  margin-bottom: 16px;
  border-bottom: 1px solid #e6e6e6;
}

.comments__leave-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0;
}

.comments__leave-row:nth-child(2) {
  justify-content: space-between;
  align-items: center;
}

.comments__leave-row img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 48px;
}

.comments__leave-row textarea {
  flex: 1;
  width: 100%;
  font-size: 16px;
  resize: none;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  min-height: 82px;
  padding: 8px 16px;
  background: #fafafa;
  font-family: inherit;
}

.comments__leave-row textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #fff;
}

.comments__leave-row button {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding: 6px 22px;
  background: var(--button-background-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.comments__leave-row button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.comments__leave-share label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #585858;
}

.comments__leave-share label input {
  display: none;
}

.comments__leave-share label span {
  display: block;
  border: 1px solid #bfdbfe;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  position: relative;
  background: #fff;
}

.comments__leave-share label:has(input:checked) span {
  background: #6b7280;
  border-color: #6b7280;
}

.comments__leave-share label:has(input:checked) span::before {
  content: "";
  position: absolute;
  inset: 4px 3px 6px 6px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.comments__leave-message {
  font-size: 13px;
  color: #166534;
  background: #ecfdf3;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.comments__leave-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.comments__leave-sort {
  font-size: 12px;
  color: #585858;
}

.comments__leave-sort span {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  padding: 3px 14px;
  background: #a8a8a8;
  border-radius: 18px;
  margin-left: 8px;
}

.comments__leave-plugin {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #1e40af;
  text-decoration: none;
}

.comments__leave-plugin img {
  width: 15px;
  height: 15px;
}

.comments__items {
  padding: 20px 16px;
}

.comment {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comment.comment-answer {
  width: calc(100% - 42px);
  margin-left: auto;
}

.comment.comment-answer .comment__photo {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.comment.comment-answer .comment__photo img {
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.comment-official .comment__author {
  color: #576b95;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.comment__verified {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  display: block;
}

#comments .comment.comment-extra {
  display: none !important;
}

#comments .comments__items.is-expanded .comment.comment-extra {
  display: flex !important;
}

.comments-load-more {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  background: var(--button-background-color);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 11px 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.comments__items.is-expanded .comments-load-more {
  display: none;
}

.comments-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  margin-top: 8px;
  color: #65676b;
  font-size: 14px;
  font-weight: 600;
}

.comments-loading[hidden] {
  display: none !important;
}

.comments-loading__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e4e6eb;
  border-top-color: #ffe62c;
  border-radius: 50%;
  animation: lander-spin 0.9s linear infinite;
}

.comment__photo {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}

.comment__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment__wrapper {
  width: 100%;
  min-width: 0;
}

.comment__body {
  padding: 8px 12px 10px;
  position: relative;
  background: #ebedf0;
  border-radius: 18px;
  line-height: 16px;
  width: 100%;
}

.comment__author {
  font-size: 15px;
  line-height: 18px;
  margin-bottom: 4px;
  color: #576b95;
  font-weight: 600;
}

.comment__text {
  font-size: 16px;
  line-height: 1.45;
  color: #000;
}

.comment__text p {
  font-size: 16px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  color: #000;
}

.comment__text img {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: 12px;
  display: block;
}

.comment__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  position: absolute;
  right: -6px;
  bottom: -10px;
  box-shadow: 1px 1px 3px 0 #dadde1;
  height: 20px;
  color: #585858;
  font-size: 11px;
  background: #fff;
  z-index: 2;
  border-radius: 10px;
  padding: 2px 6px 2px 2px;
  line-height: 1;
}

.comment__label img {
  width: 16px;
  height: 16px;
}

.comment__panel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 0 10px;
}

.comment__panel > * {
  font-size: 12px;
  color: #757575;
}

.comment__like,
.comment__reply {
  font-weight: 700;
  cursor: pointer;
}

.page-footer {
  text-align: center;
  color: #585858;
  background: transparent;
  padding: 8px 16px 24px;
}

.page-footer p,
.page-footer a {
  color: #585858 !important;
  font-size: 12px;
}

.prize-button {
  background: var(--button-background-color) !important;
  color: #fff !important;
  border-radius: 16px !important;
}

.prize-button:hover {
  background: var(--button-hover-background-color) !important;
}

.p_modal_button {
  background: var(--button-background-color) !important;
  color: #fff !important;
  border-radius: 16px !important;
}

.p_modal_button:hover,
.comments__leave-row button:hover:not(:disabled),
.comments-load-more:hover {
  background: var(--button-hover-background-color) !important;
}

#content2 {
  text-align: center;
}

#content2 h2 {
  text-align: center;
  font-size: 22px !important;
  margin-bottom: 18px !important;
}

@keyframes lander-spin {
  to { transform: rotate(360deg); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.loader-spinner {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 8px auto 20px;
  border: 4px solid #f3c1c6;
  border-top-color: #ffe62c;
  animation: lander-spin .75s linear infinite;
}

#p_loading {
  justify-content: center;
}

#content2 .result {
  text-align: left;
  max-width: 420px;
  margin: 0 auto 10px !important;
  padding-left: 8px !important;
  font-size: 16px !important;
}

.game-head {
  background: #ffe62c;
  color: #000;
  padding: 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  margin: 0 0 16px;
}

.game-head h2 {
  color: #000 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 12px 0 0 !important;
}

#content3 {
  overflow: visible;
}

#game-play,
#game-play.is-visible {
  display: block !important;
}

#game-play.is-complete {
  display: none !important;
}

#boxes,
#boxes.is-visible {
  display: block !important;
  overflow: visible;
  pointer-events: none;
}

#boxes.is-playable {
  pointer-events: auto;
}

#boxes.boxes > .try {
  width: 32% !important;
}

#boxes.boxes > .try:nth-child(-n+4) {
  display: none !important;
}

#boxes.boxes > .try.abierta,
#boxes.boxes > .try:nth-child(n+5) {
  display: inline-block !important;
}

body.box-modal-open {
  overflow: hidden;
}

#p_modal1,
#p_modal2,
#p_modal3 {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10000 !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .55);
  padding: 16px;
  overflow: auto;
}

#p_modal1.is-open,
#p_modal2.is-open,
#p_modal3.is-open {
  display: flex !important;
}

#p_modal1 .modal-dialog,
#p_modal2 .modal-dialog,
#p_modal3 .modal-dialog {
  max-width: 420px;
  width: 100%;
  margin: auto;
}

#p_modal3 .modal-dialog {
  max-width: 440px;
}

#p_modal1 .modal-content,
#p_modal2 .modal-content,
#p_modal3 .modal-content {
  background: #fff !important;
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  padding: 0;
  text-align: center;
}

#p_modal1 .modal-body,
#p_modal2 .modal-body,
#p_modal3 .modal-body {
  padding: 24px 22px 22px;
}

#p_modal1 .p_modal_button,
#p_modal2 .p_modal_button {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 20px auto 4px;
  text-align: center;
  padding: 14px 16px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: #fff;
}

#p_modal1 .eligible-body {
  padding: 26px 24px 22px;
}

#p_modal1 .temblor_inf {
  max-width: 110px;
  max-height: 110px;
  margin: 0 auto 10px;
  display: block;
}

#p_modal1 h2 {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #111 !important;
  line-height: 1.3 !important;
  margin: 6px 0 16px !important;
}

#p_modal1 p,
#p_modal1 .eligible-lead,
#p_modal1 .eligible-action,
#p_modal1 .eligible-tries {
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: #222 !important;
  text-align: center !important;
  margin: 0 0 12px !important;
}

#p_modal1 .eligible-lead b {
  font-weight: 700;
}

#p_modal1 .eligible-lead b:last-of-type {
  color: #e40001;
}

#p_modal1 .eligible-instructions {
  background: #fff159;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 4px 0 14px;
}

#p_modal1 .eligible-action {
  color: #000 !important;
  font-weight: 800 !important;
  margin-bottom: 8px !important;
}

#p_modal1 .eligible-tries {
  color: #000 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  margin-bottom: 0 !important;
}

#p_modal2.is-open {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .32);
}

#p_modal2 .game__popup-body {
  width: min(100% - 40px, 398px);
  margin: auto;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--block-shadow);
}

#p_modal2 .game__popup-icon {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 15px #ccc;
  background: #fff;
}

#p_modal2 .game__popup-icon img {
  width: 60px;
  height: 60px;
}

#p_modal2 .game__popup-text {
  text-align: center;
  flex: 1;
  min-width: 0;
}

#p_modal2 .game__popup-title {
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 12px;
  color: #111;
}

#p_modal2 .game__popup-subtitle {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 16px;
  color: #222;
  text-wrap: balance;
}

#p_modal2 .p_modal_button {
  max-width: 100%;
  margin: 0;
}

#instruction {
  display: none;
  margin: 8px 0 16px;
}

#instruction.is-visible {
  display: block !important;
}

.instruction__body {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--block-shadow);
}

.instruction__head {
  background: #fff159;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  margin: 0 0 16px;
  border-radius: 20px;
  color: #000;
  box-shadow: 0 7px 11px 0 rgba(103, 104, 117, .2);
}

.instruction__head-image {
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
}

.instruction__head-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.instruction__head-title {
  margin: 0 0 10px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.21 !important;
  color: #000 !important;
}

.instruction__head-subtitle {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
  color: #000 !important;
}

.instruction__text-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  padding-left: 8px;
  margin: 0 0 15px;
}

.instruction__list {
  list-style: none;
  padding: 0 8px;
  margin: 0;
}

.instruction__list li {
  font-size: 18px !important;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 16px;
  color: #222;
}

.prize-was {
  text-decoration: line-through;
  color: #777;
  font-size: 0.92em;
  font-weight: 500;
}

.instruction-note {
  display: block;
  font-size: 16px;
  line-height: 1.45;
  color: #555;
  margin-top: 8px;
}

.notification {
  position: fixed;
  top: auto;
  bottom: 18px;
  left: max(14px, calc((100vw - 640px) / 2 + 14px));
  right: auto;
  width: 310px;
  min-height: 64px;
  padding: 4px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, .16);
  overflow: hidden;
  z-index: 10050;
  user-select: none;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: all .4s linear;
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.notification__body {
  padding: 10px 28px 10px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification__image {
  flex: 0 0 52px;
}

.notification__image img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background: #f7f7f7;
}

.notification__user {
  font-size: 13px;
  font-weight: 700;
  line-height: 140%;
  margin-bottom: 3px;
  color: #111;
}

.notification__user span {
  text-decoration: underline;
  font-weight: 400;
}

.notification__text {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 700;
  line-height: 140%;
  color: #222;
}

.notification__date {
  font-size: 13px;
  font-weight: 400;
  line-height: 140%;
  color: #666;
}

.notification__close {
  position: absolute;
  top: 6px;
  right: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 0;
}

.instruction__button {
  margin-top: 24px;
}

.prize-button {
  width: 100%;
  padding: 14px;
  background: var(--button-background-color);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  #p_modal2 .game__popup-body {
    flex-direction: column;
    text-align: center;
  }

  .promo-banner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .hero-title,
  .main-content h2 {
    font-size: 20px !important;
  }

  p.question {
    font-size: 18px !important;
  }

  .survey_button {
    font-size: 15px !important;
  }

  .notification {
    width: calc(100% - 24px);
    max-width: 360px;
    left: 12px;
    right: auto;
    top: auto;
    bottom: 12px;
  }
}
