/* =========================================
   1. GERAIS, RESET E LAYOUT (Sincronizado c/ Global)
   ========================================= */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600&display=swap");

html {
  scroll-behavior: smooth;
}

:root {
  --brand-gold: #baa360;
  --brand-red: #7f1810;
  --text-dark: #2c2c2c;
  --white: #ffffff;
  --light-bg: #fbfbfb;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Open Sans", sans-serif;
  color: var(--text-dark);
}

ul { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 80px 0;
}

.bg-light { background-color: var(--light-bg); }
.bg-soft { background-color: #f4f7f9; }
.bg-white { background-color: var(--white); }

section { scroll-margin-top: 100px; }

.text-center { text-align: center; }

.sub-eyebrow {
  color: var(--brand-red);
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.title-xl {
  font-size: 2.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 30px;
  line-height: 1.2;
}

footer a {
  text-decoration: none !important;
  color: inherit !important;
}

footer a:hover {
  color: var(--brand-gold) !important;
}

/* =========================================
   2. HERO SECTION MYPOS
   ========================================= */
.product-hero {
  margin-top: 110px;
  padding: 80px 0 0 0;
  background:
    linear-gradient(
      135deg,
      rgba(21, 21, 21, 0.95) 0%,
      rgba(127, 24, 16, 0.9) 100%
    ),
    url("../img/capa-tech2.jpg") center/cover;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.product-hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.back-link-wrapper {
  width: 100%;
  text-align: left;
  margin-bottom: 30px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-back i { font-size: 1.1rem; }
.btn-back:hover {
  color: var(--white);
  transform: translateX(-6px);
}

.partner-badge-wrapper { margin-bottom: 25px; }

.partner-badge {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  gap: 15px;
}

.badge-text {
  color: #666;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid #e0e0e0;
  padding-right: 15px;
  font-family: "Montserrat", sans-serif;
}

.badge-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 70px;
}

.btn-main {
  background: var(--brand-red);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 2px solid var(--brand-red);
}

.btn-main:hover {
  background: #5a110b;
  border-color: #5a110b;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(127, 24, 16, 0.4);
  color: var(--white);
}

.btn-alt-hero {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-alt-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* =========================================
   3. 3 PASSOS SIMPLES
   ========================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  text-align: center;
  position: relative;
}

.step-card {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--brand-gold);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px rgba(186, 163, 96, 0.15);
}

.step-line {
  position: absolute;
  top: 45px;
  left: calc(50% + 40px);
  width: calc(100% - 30px);
  height: 3px;
  background: #e0e0e0;
  z-index: 1;
}

.step-card h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-family: "Montserrat", sans-serif;
}

.step-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn-price-step {
  display: inline-block;
  background: var(--brand-red);
  color: var(--white);
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-top: 15px;
}

.btn-price-step:hover {
  background: #5a110b;
}

/* =========================================
   4. SPLIT FEATURE (TPA PORTÁTIL)
   ========================================= */
.split-feature-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.split-image { flex: 1; }
.split-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
  background: var(--white);
}

.split-content { flex: 1; }

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  padding: 20px 25px;
  border-radius: 12px;
  border: 1px solid rgba(186, 163, 96, 0.35);
  border-left: 5px solid var(--brand-gold);
  box-shadow: 0 6px 15px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(10px);
  box-shadow: 0 12px 25px rgba(186, 163, 96, 0.15);
  border-color: var(--brand-gold);
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--brand-red);
  background: rgba(127, 24, 16, 0.05);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-item strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.benefit-item p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =========================================
   5. TAXAS DE TRANSAÇÃO (FEE CARDS)
   ========================================= */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.fee-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-color: rgba(186, 163, 96, 0.4);
}

.fee-card h3 {
  font-size: 2rem;
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.fee-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}

.fee-desc {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Layout do Cartão 1 (Lado a Lado) */
.fee-values {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-grow: 1;
}

.fee-block {
  display: flex;
  flex-direction: column;
}

.fee-block .value {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  color: var(--brand-gold);
  line-height: 1;
  margin-bottom: 5px;
}

.fee-block .label {
  font-size: 0.8rem;
  color: #555;
  font-weight: 600;
}

.fee-block .small-label {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: -5px;
}

.fee-note {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* Layout do Cartão 2 (Empilhado) */
.fee-custom-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-grow: 1;
  margin-bottom: 30px;
  padding-top: 10px;
}

.fee-custom-block .custom-title {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  color: var(--brand-red);
  line-height: 1.1;
  margin-bottom: 15px;
}

.fee-custom-block .custom-text {
  font-size: 0.95rem;
  color: #555;
  font-weight: 500;
  line-height: 1.5;
}

/* =========================================
   6. TABELA DE TERMINAIS (3 COLUNAS CENTRADAS)
   ========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; 
  align-items: stretch;
  max-width: 1050px;
  margin: 0 auto 50px auto;
}

.price-card {
  background: var(--white);
  border: 1px solid #d4d4d4;
  border-radius: 16px;
  padding: 40px 30px 30px 30px; 
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  border-color: #c0c0c0;
}

.terminal-img {
  width: 100%;
  height: 220px; /* Mais espaço vertical */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: #f9f9f9;
  border-radius: 12px;
}

.terminal-img img {
  max-height: 90%;
  max-width: 100%;
  object-fit: contain;
  transform: scale(1.15); /* Efeito Zoom na Imagem */
}

.pc-header h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 0 0 15px 0;
  text-align: center;
}

.pc-price {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.crossed-price {
  text-decoration: line-through;
  color: #888;
  font-size: 1rem;
  margin-bottom: 5px;
}

.discount-box {
  background-color: var(--brand-gold);
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
  padding: 4px 16px;
  border-radius: 8px;
  margin-bottom: 5px;
}

.discount-box .currency, .standard-price .currency {
  font-size: 1.1rem;
  font-weight: 700;
  margin-right: 2px;
}

.discount-box .amount, .standard-price .amount {
  font-size: 1.6rem; 
  font-weight: 700;
}

.standard-price {
  display: inline-flex;
  align-items: baseline;
  color: var(--text-dark);
}

.pc-price .period {
  font-size: 0.75rem;
  color: #888;
}

.divider {
  width: 100%;
  height: 1px;
  background-color: #eee;
  margin: 15px 0;
}

.pc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
  text-align: left;
}

.pc-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.4;
}

.pc-features li i {
  font-size: 1.1rem;
  color: var(--brand-gold);
  margin-top: 2px;
}

/* Alinhamento dos Botões e Texto Fixo */
.btn-price {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--brand-red);
  color: var(--white);
  padding: 12px;
  border-radius: 30px; 
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.3s ease;
  text-decoration: none;
  margin-top: auto; 
  margin-bottom: 15px;
}

.btn-price:hover {
  background: #5a110b;
  color: var(--white);
}

.btn-link {
  display: block;
  text-align: center;
  color: #444 !important;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.btn-link i {
  font-size: 0.8rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.btn-link:hover {
  color: var(--brand-gold) !important;
}

.btn-link:hover i {
  transform: translateX(4px);
}

/* Fixar a altura da descrição inferior para não empurrar botões */
.price-card > p:last-of-type {
  min-height: 80px; 
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Trust Badges */
.trust-badges-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
  padding-top: 40px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-item i {
  font-size: 2rem;
  color: #555;
  margin-bottom: 12px;
}

.trust-item strong {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.trust-item span {
  font-size: 0.85rem;
  color: #888;
}

/* =========================================
   7. COMPARAÇÃO DETALHADA (ACORDEÃO)
   ========================================= */
.compare-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.compare-item {
  background: var(--light-bg);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.compare-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  padding: 22px 30px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-red); 
  cursor: pointer;
}

.compare-header:hover {
  background: rgba(0, 0, 0, 0.02);
}

.icon-main {
  font-size: 1.3rem;
  margin-right: 15px;
  width: 30px;
  text-align: center;
}

.compare-header span {
  flex-grow: 1;
  text-align: left;
}

.icon-state {
  font-size: 0.9rem;
  color: #aaa;
  transition: transform 0.3s ease;
}

.compare-body {
  display: none;
  padding: 0 30px 30px 30px;
  background: var(--white);
  border-top: 1px solid #eee;
}

.compare-item.active .compare-body {
  display: block;
}

.compare-item.active .compare-header {
  background-color: var(--light-bg);
}

.compare-feature-list {
  list-style: none;
  padding: 10px 0 0 0;
  margin: 0;
}

.compare-feature-list li {
  font-size: 0.95rem;
  color: #555;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.compare-feature-list li:last-child {
  border-bottom: none;
}

.compare-feature-list li strong {
  color: var(--text-dark);
  margin-right: 10px;
  min-width: 250px;
}

/* Checks Dourados Branded */
.check-icon {
  color: var(--brand-gold);
  font-size: 1.2rem;
  margin-right: 15px;
}

/* =========================================
   8. CONTACTOS E FORMULÁRIO (Sincronizado)
   ========================================= */
#contactos {
  background: var(--light-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  color: var(--brand-red);
  margin-bottom: 20px;
  font-size: 2rem;
  line-height: 1.2;
}

.contact-info > p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.info-item {
  margin-top: 28px;
}

.info-item strong {
  color: var(--brand-gold);
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.info-item p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form-container {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #444;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fafafa;
  color: #222;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(186, 163, 96, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.form-check input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--brand-red);
  flex-shrink: 0;
}


.g-recaptcha {
  margin-top: 12px !important;
  margin-bottom: 16px !important;
}

.btn-submit {
  background: var(--brand-red);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 8px;
  width: 100%;
  transition:
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(127, 24, 16, 0.2);
}

.btn-submit:hover {
  background: #5a110b;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(127, 24, 16, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(127, 24, 16, 0.2);
}

/* =========================================
   9. RESPONSIVIDADE
   ========================================= */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
}

@media (max-width: 992px) {
  .split-feature-wrapper { 
    flex-direction: column; 
    text-align: center; 
  }
  .benefit-item { text-align: left; }
  .fees-grid { grid-template-columns: 1fr; max-width: 500px; }
}

@media (max-width: 768px) {
  .product-hero { margin-top: 74px; padding: 60px 0 0 0; }
  .hero-title { font-size: 2.2rem; }
  .title-xl { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1.05rem; }
  
  .hero-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto 30px auto; }
  .btn-main, .btn-alt-hero { width: 100%; }

  .steps-grid { grid-template-columns: 1fr; gap: 30px; }
  .step-line { display: none; } 

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .trust-badges-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  /* Sincronização Contactos Mobile */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }
  .contact-form-container {
    padding: 24px;
  }
  
  /* Ajustes Acordeão Mobile */
  .compare-header { padding: 18px 20px; font-size: 1rem; }
  .compare-feature-list li { flex-direction: column; align-items: flex-start; }
  .compare-feature-list li strong { min-width: 100%; margin-bottom: 5px; }
  .check-icon { margin-right: 10px; margin-left: 0; }
}

@media (max-width: 480px) {
  .section-padding { padding: 60px 0; }
}

/* =========================================
   11. NOTIFICAÇÕES (TOAST ALERTS)
   ========================================= */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  border-left: 5px solid #ccc;
  animation: slideInRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toast-notification.success { border-left-color: #2e7d32; }
.toast-notification.error { border-left-color: var(--brand-red); }

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-content i { font-size: 1.5rem; }
.toast-notification.success i { color: #2e7d32; }
.toast-notification.error i { color: var(--brand-red); }

.toast-content span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 768px) {
  .toast-notification {
    bottom: 20px;
    left: 20px;
    right: 20px;
    justify-content: space-between;
  }
}

/* =========================================
   12. MODAL POPUP E DROPDOWN COM IMAGENS
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white);
  width: 90%;
  max-width: 550px;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.modal-overlay.show .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px; right: 25px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--brand-red); }

.modal-header { margin-bottom: 25px; text-align: center; }
.modal-header h3 { font-size: 1.8rem; color: var(--text-dark); margin-bottom: 10px; font-family: "Montserrat", sans-serif; }
.modal-header p { color: #666; font-size: 0.95rem; }

/* Custom Dropdown Base */
.custom-dropdown-wrapper { position: relative; }

.custom-dropdown-btn {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  min-height: 52px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.custom-dropdown-btn:hover { border-color: var(--brand-gold); }

.selected-content {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.selected-content img { height: 40px; width: auto; }

.custom-dropdown-list {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-top: 5px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.custom-dropdown-list.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.2s;
}

.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover, .dropdown-item.selected { background: #f9f9f9; }

.dropdown-item img { height: 45px; width: 45px; object-fit: contain; }

.item-info { display: flex; flex-direction: column; }
.item-info strong { color: var(--text-dark); font-size: 0.95rem; }
.item-info span { color: var(--brand-gold); font-size: 0.85rem; font-weight: 700; }

@media (max-width: 768px) {
  .modal-container { padding: 30px 20px; width: 95%; }
  .modal-header h3 { font-size: 1.5rem; }
}