/* =========================
   Proposal VTEX
   ========================= */
.vtex-proposal {
  margin-top: 40px;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

.vtex-proposal h2.elementor-heading-title {
  font-size: 26px;
  font-weight: 800;
  color: #f37e2c !important;
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
}

.vtex-proposal p {
  font-size: 15px;
  text-align: center;
  margin: 0 0 6px;
}

.vtex-proposal p strong {
  font-weight: 700;
  color: #000;
}

.vtex-proposal .accordion {
  background: #f7f7f7;
  border-radius: 0;
  padding: 40px 20px;
  margin-top: 30px;
  width: 100%;
  box-sizing: border-box;
}

.vtex-proposal .accordion-inner {
  max-width: 900px;
  margin: 0 auto;
}

.vtex-proposal details {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.vtex-proposal summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.vtex-proposal .accordion-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vtex-proposal .accordion-title-box img {
  width: 32px;
  height: 32px;
}

.vtex-proposal .accordion-summary span {
  font-weight: 600;
  font-size: 16px;
}

.vtex-proposal .accordion-content {
  padding-left: 42px;
  padding-top: 10px;
  font-size: 14px;
  color: #444;
}

.vtex-proposal .btn-buy {
  margin: 40px auto 80px;
  display: block;
  background-color: #ffe600;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vtex-proposal .btn-buy:hover {
  background-color: #ffd800;
}

.vtex-proposal summary::-webkit-details-marker,
.vtex-proposal summary::marker {
  display: none;
}

details[open] summary ~ .accordion-content {
  animation: fadeIn 0.3s ease-in-out;
}

/* Pricing */
.vtex-proposal-pricing {
  text-align: center;
  padding: 30px 0 10px;
}

.vtex-proposal-pricing p {
  margin: 4px 0;
  font-size: 16px;
  font-weight: 600;
}

.vtex-price-discount {
  color: #f37e2c;
}

.vtex-price-installments {
  color: #db5e00;
}

/* Contract */
.vtex-proposal-accept-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  gap: 10px;
  font-size: 15px;
  color: #000;
  flex-wrap: wrap;
}

.vtex-proposal-accept-container input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  margin: 0;
  vertical-align: middle;
}

.vtex-proposal-accept-container input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background-color: #000;
  border-radius: 50%;
}

.vtex-proposal-accept-container a {
  color: #000;
  text-decoration: underline;
}

.contract-error {
  display: none;
  font-size: 15px;
  text-align: center;
  color: red;
  margin-top: 10px;
  font-weight: 500 !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   Modal VTEX
   ========================= */
.vtex-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  overflow: auto;
  font-family: 'Montserrat', sans-serif;
}

.vtex-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.7);
  z-index: 1;
}

.vtex-modal-content {
  position: relative;
  z-index: 2;
  background: #fff;
  max-width: 880px;
  width: 90%;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 30px 80px;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.vtex-modal-title-wrapper {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.vtex-modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.vtex-modal-body {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.vtex-modal-body p {
  margin-bottom: 16px;
  text-align: justify;
}

.vtex-modal-body p strong {
  color: #000;
}

.vtex-modal-close {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffe600;
  border: none;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  color: #000;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.vtex-modal-close:hover {
  color: #000;
}

.vtex-modal-footer {
  position: static;
  margin-top: 30px;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.vtex-modal-footer .btn-close,
.vtex-modal-footer .btn-agree {
  flex: 1;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vtex-modal-footer .btn-close {
  background-color: #fff;
  border-color: #f37e2c;
  color: #f37e2c;
}

.vtex-modal-footer .btn-close:hover {
  background-color: #f37e2c;
  color: #fff;
}

.vtex-modal-footer .btn-agree {
  background-color: #ffe600;
  color: #333;
}

.vtex-modal-footer .btn-agree:hover {
  background-color: #ffd800;
}

.vtex-modal-footer .btn-agree.loading {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =========================
   Modal PGC
   ========================= */
.pgc-modal-content {
  max-width: 1110px;
  max-height: 500px;
  padding: 0;
  display: flex;
  overflow: hidden;
}

.pgc-modal-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}

.pgc-modal-image {
  width: 455px;
  background-color: #ffe600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pgc-modal-image img {
  max-width: 100%;
  height: auto;
}

.pgc-modal-text {
  width: 470px;
  padding: 40px 30px;
  background: #fff;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pgc-modal-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: #000;
  margin-bottom: 15px;
}

.pgc-price {
  font-size: 26px;
  color: #db5e00;
  font-weight: bold;
  margin: 15px 0;
}

#pgc-error {
  display: none;
  color: red;
  margin-top: 10px;
  font-weight: 500;
  text-align: center;
}

.pgc-modal-text .vtex-modal-footer {
  margin-top: 30px;
}

#pgc-modal .vtex-modal-close {
  top: 200px;
}

#pgc-modal .vtex-proposal-accept-container {
  justify-content: left;
}

/* =========================
   Modal Terms and Conditions
   ========================= */
#pgc-terms-content {
  /* max-width: 680px; */
  max-height: 450px;
  margin: auto;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#pgc-terms-content h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

#pgc-terms-content h4 {
  font-size: 1rem;
}

#pgc-terms-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: justify;
}

#pgc-terms-content .vtex-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}