.vfr-selector{--vfr-ink:var(--vfr-brand-primary,#112f52);--vfr-muted:#66758a;--vfr-line:#dbe4ee;--vfr-soft:#f7f9fc;--vfr-accent:var(--vfr-brand-accent,#cc0101);--vfr-accent2:#e20b16;--vfr-warning:var(--vfr-brand-warning,#f4b63a);--vfr-danger:var(--vfr-brand-danger,#cc0101);margin:28px 0;padding:24px;border:1px solid #dde5ee;border-radius:24px;background:#fff;box-shadow:0 16px 44px rgba(17,47,82,.08);color:var(--vfr-ink);position:relative;overflow:hidden}.vfr-selector:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--vfr-ink) 0 72%,var(--vfr-accent) 72% 100%)}.vfr-selector *{box-sizing:border-box}.vfr-selector-head{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;margin-bottom:16px;position:relative}.vfr-selector h3{margin:3px 0 5px;font-size:27px;line-height:1.1;letter-spacing:-.02em;color:var(--vfr-ink);font-weight:850}.vfr-selector-head p{margin:0;max-width:570px;color:var(--vfr-muted);font-size:13px}.vfr-kicker{font-size:9px;font-weight:850;letter-spacing:.16em;color:var(--vfr-accent)}.vfr-availability{text-align:right;min-width:128px;padding:12px 14px;border:1px solid #e1e8f0;border-radius:15px;background:#f8fafc}.vfr-availability strong{display:block;font-size:25px;line-height:1;color:var(--vfr-ink);font-variant-numeric:tabular-nums}.vfr-availability span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--vfr-muted);margin-top:5px}.vfr-sales-progress{margin:0 0 17px}.vfr-progress-copy{display:flex;justify-content:space-between;gap:12px;color:var(--vfr-muted);font-size:10px;margin-bottom:7px}.vfr-progress-copy strong{color:var(--vfr-ink)}.vfr-progress-track{height:7px;border-radius:999px;overflow:hidden;background:#e7edf4}.vfr-progress-track i{height:100%;display:block;border-radius:999px;background:linear-gradient(90deg,var(--vfr-ink),#255b88 70%,var(--vfr-accent));box-shadow:none}.vfr-promos{padding:13px 14px;border:1px solid #e4eaf1;border-left:3px solid var(--vfr-accent);border-radius:14px;background:#fbfcfe;margin-bottom:15px}.vfr-promos>strong{font-size:11px;color:var(--vfr-ink)}.vfr-promo-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.vfr-promo-chips span{padding:6px 9px;border:1px solid #e0e7ef;border-radius:999px;background:#fff;font-size:10px;color:#526175}.vfr-promo-chips strong{color:var(--vfr-accent)}.vfr-tools{display:grid;grid-template-columns:1fr 1.1fr;gap:12px;margin-bottom:15px}.vfr-tools>div{padding:13px;border:1px solid #e1e8f0;border-radius:14px;background:#fafbfd}.vfr-tools label{display:block;font-size:10px;font-weight:800;color:#40516a;margin-bottom:6px;text-transform:uppercase;letter-spacing:.055em}.vfr-tools>div>div{display:flex;gap:6px}.vfr-tools input{min-width:0;border:1px solid #cad5e1!important;border-radius:9px!important;padding:9px 10px!important;background:#fff!important;box-shadow:none!important;outline:none;font-size:12px!important}.vfr-tools input:focus{border-color:#6d89a6!important;box-shadow:0 0 0 3px rgba(17,47,82,.08)!important}.vfr-tools button,.vfr-pagination button{appearance:none;border:1px solid #cad5e1;background:#fff;color:var(--vfr-ink);border-radius:9px;padding:9px 11px;cursor:pointer;font-size:11px;font-weight:780;transition:.16s ease;box-shadow:none}.vfr-tools button:hover,.vfr-pagination button:hover:not(:disabled){border-color:#94a6ba;background:#f8fafc}.vfr-tools button:disabled,.vfr-pagination button:disabled{opacity:.4;cursor:not-allowed}.vfr-search>div input{flex:1}.vfr-search small{display:block;min-height:17px;margin-top:6px;font-size:10px;color:var(--vfr-muted)}.vfr-search small.is-available{cursor:pointer;color:#15703d;font-weight:700}.vfr-search small.is-unavailable{color:#a71919}.vfr-search small.is-warning{color:#8a620f}.vfr-auto input{width:64px;text-align:center}.vfr-step{width:36px;padding-left:0!important;padding-right:0!important}#vfr-search-btn,#vfr-auto-btn{background:var(--vfr-ink);color:#fff;border-color:var(--vfr-ink)}#vfr-search-btn:hover,#vfr-auto-btn:hover{background:#173f6b;border-color:#173f6b}.vfr-legend{display:flex;gap:12px;flex-wrap:wrap;margin:1px 0 12px;font-size:10px;color:#5f6f83}.vfr-legend span{display:flex;align-items:center;gap:5px}.vfr-legend i{display:block;width:8px;height:8px;border-radius:50%;border:1px solid #bdc9d5}.vfr-legend .available{background:#fff}.vfr-legend .reserved{background:#f4b63a;border-color:#f4b63a}.vfr-legend .sold{background:#cc0101;border-color:#cc0101}.vfr-legend .selected{background:#112f52;border-color:#112f52}.vfr-grid-status{padding:18px;text-align:center;font-size:11px;color:var(--vfr-muted)}
/* Grade de números v0.8.4 — visual compacto, premium e com somente o número. */
.vfr-number-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:9px;padding:4px 1px;min-height:95px}
.vfr-number-grid.is-loading{opacity:.42;pointer-events:none}
.vfr-number{
 appearance:none;position:relative;overflow:hidden;
 border:1px solid #d6e0ea;background:linear-gradient(180deg,#fff 0%,#f9fbfd 100%);
 color:#112f52;border-radius:12px;min-height:46px;padding:8px 5px;cursor:pointer;
 font-size:12px;font-weight:850;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:.035em;
 transition:transform .15s ease,border-color .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease;
 box-shadow:0 3px 9px rgba(17,47,82,.055)
}
.vfr-number:after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;border-radius:2px 2px 0 0;background:#dce6ef;transition:.15s ease}
.vfr-number:hover:not(:disabled){transform:translateY(-2px);border-color:#8ba2b9;background:#fff;box-shadow:0 8px 18px rgba(17,47,82,.12)}
.vfr-number:hover:not(:disabled):after{background:#cc0101}
.vfr-number.selected{background:linear-gradient(145deg,#112f52,#1d527f)!important;color:#fff!important;border-color:#112f52!important;transform:translateY(-1px);box-shadow:0 8px 18px rgba(17,47,82,.22)!important}
.vfr-number.selected:after{left:0;right:0;height:3px;background:#cc0101}
.vfr-number.reserved,.vfr-number.reserved_mine{background:#fffaf0;border-color:#ead8a4;color:#8a6815;cursor:not-allowed;box-shadow:none}
.vfr-number.reserved:after,.vfr-number.reserved_mine:after{background:#e7bd50}
.vfr-number.reserved_mine{background:#fff5d9}
.vfr-number.sold,.vfr-number.blocked{background:#f4f6f8;border-color:#e4e8ed;color:#a8b0ba;cursor:not-allowed;box-shadow:none;text-decoration:line-through;text-decoration-color:#cc0101;text-decoration-thickness:1.5px}
.vfr-number.sold:after,.vfr-number.blocked:after{background:#d9dee4}
@media(max-width:900px){.vfr-number-grid{grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:8px}}
@media(max-width:600px){.vfr-number-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.vfr-number{min-height:43px;border-radius:10px;font-size:11px;padding:7px 3px}}
@media(max-width:360px){.vfr-number-grid{gap:5px}.vfr-number{min-height:40px;font-size:10px}}
.vfr-pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin:15px 0 5px}.vfr-pagination span{font-size:10px;color:var(--vfr-muted);min-width:82px;text-align:center}.vfr-selection-summary{margin-top:17px;padding:15px;border:1px solid #dce5ee;border-radius:16px;background:#f8fafc}.vfr-selection-summary>div:first-child,.vfr-total-row{display:flex;justify-content:space-between;gap:14px;align-items:center}.vfr-selection-summary>div:first-child>span{font-size:11px;font-weight:750;color:#526175}.vfr-selected-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;line-height:1.5;font-size:11px;color:var(--vfr-muted)}.vfr-selected-list span{background:#fff;border:1px solid #cfd9e4;border-radius:8px;padding:5px 8px;color:#173754;font-weight:800}.vfr-total-row{border-top:1px solid #dbe3eb;margin-top:12px;padding-top:12px}.vfr-total-row span{font-size:11px;color:#526175}.vfr-total-row strong{font-size:21px;color:var(--vfr-ink)}.vfr-note{font-size:10px;color:var(--vfr-muted);margin:10px 0 0;line-height:1.55}.vfr-raffle-product form.cart .single_add_to_cart_button{width:100%!important;min-height:50px!important;border:0!important;border-radius:11px!important;background:linear-gradient(90deg,#112f52,#173f6b)!important;color:#fff!important;font-size:13px!important;font-weight:850!important;letter-spacing:.015em!important;box-shadow:0 9px 22px rgba(17,47,82,.16)!important;transition:.17s ease!important}.vfr-raffle-product form.cart .single_add_to_cart_button:hover{background:linear-gradient(90deg,#173f6b,#cc0101)!important;transform:translateY(-1px)!important}.vfr-raffle-product form.cart .quantity{display:none!important}.vfr-finished,.vfr-result-card{padding:22px;border:1px solid #dde5ee;border-radius:20px;background:#fff;box-shadow:0 14px 38px rgba(17,47,82,.07);margin:18px 0}.vfr-result-card h3{margin:5px 0 10px;color:#112f52}.vfr-draw-date{margin-top:15px;padding:12px 14px;border-radius:11px;background:#f4f7fa}.vfr-draw-date small,.vfr-draw-date strong{display:block}.vfr-draw-date strong{margin-top:3px}.vfr-winner-public{margin-top:17px;text-align:center;padding:23px;border-radius:15px;background:#112f52;color:#fff;border-bottom:4px solid #cc0101}.vfr-winner-public small,.vfr-winner-public strong,.vfr-winner-public span{display:block}.vfr-winner-public strong{font-size:40px;line-height:1.1;margin:7px 0}.vfr-winner-public span{font-weight:700}.vfr-result-waiting{margin-top:13px;font-size:11px;color:#66758a}@media(max-width:900px){.vfr-number-grid{grid-template-columns:repeat(8,minmax(42px,1fr))}}@media(max-width:700px){.vfr-selector{margin:20px 0;padding:18px 13px;border-radius:18px}.vfr-selector-head{align-items:flex-start;gap:10px}.vfr-selector h3{font-size:23px}.vfr-selector-head p{font-size:11px}.vfr-availability{min-width:92px;padding:10px}.vfr-availability strong{font-size:21px}.vfr-progress-copy span:last-child{display:none}.vfr-number-grid{grid-template-columns:repeat(5,minmax(43px,1fr));gap:6px}.vfr-number{min-height:42px;border-radius:8px;font-size:10.5px}.vfr-tools{grid-template-columns:1fr}.vfr-auto>div{flex-wrap:wrap}.vfr-auto #vfr-auto-btn{flex:1;min-width:145px}.vfr-pagination{justify-content:space-between}.vfr-pagination button{padding:8px 9px}.vfr-selection-summary{padding:13px}.vfr-total-row strong{font-size:19px}}@media(max-width:390px){.vfr-number-grid{grid-template-columns:repeat(4,minmax(43px,1fr))}.vfr-selector-head{display:block}.vfr-availability{text-align:left;margin-top:10px;width:max-content}.vfr-availability strong,.vfr-availability span{display:inline-block}.vfr-availability span{margin:0 0 0 5px}}

.vfr-standalone-cart{margin:0!important;padding:0!important}
.vfr-standalone-cart .vfr-proceed-button{display:block;width:100%;margin-top:12px!important;min-height:52px!important;border:0!important;border-radius:12px!important;background:linear-gradient(90deg,#112f52,#173f6b)!important;color:#fff!important;font-size:13px!important;font-weight:850!important;letter-spacing:.015em!important;box-shadow:0 9px 22px rgba(17,47,82,.16)!important;cursor:pointer;transition:.17s ease!important}
.vfr-standalone-cart .vfr-proceed-button:hover{background:linear-gradient(90deg,#173f6b,#cc0101)!important;transform:translateY(-1px)}
.vfr-elementor-placeholder,.vfr-elementor-preview-note{padding:12px 14px;border:1px dashed #b9c7d5;border-radius:10px;background:#f8fafc;color:#53657a;font-size:12px}
.vfr-elementor-preview-note{margin-top:10px;text-align:center}
.vfr-selector.is-elementor-preview .vfr-number:disabled{opacity:1}

/* Estados transacionais v0.9.1 */
.vfr-number.reserved,.vfr-number.reserved_mine{
 background:#fff1b8!important;border-color:#e6b932!important;color:#735500!important;
 cursor:not-allowed!important;box-shadow:inset 0 0 0 1px rgba(230,185,50,.15)!important
}
.vfr-number.reserved:after,.vfr-number.reserved_mine:after{background:#e0a900!important}
.vfr-number.sold{
 background:#cc0101!important;border-color:#cc0101!important;color:#fff!important;
 cursor:not-allowed!important;text-decoration:none!important;box-shadow:none!important
}
.vfr-number.sold:after{background:#8f0000!important}
.vfr-number.blocked{
 background:#eef1f4!important;border-color:#d5dce3!important;color:#9aa5b1!important;
 cursor:not-allowed!important;text-decoration:line-through!important;text-decoration-color:#cc0101!important
}

/* Correção v0.9.2 — números sempre inteiros dentro do quadrado */
.vfr-number-grid{
  align-items:stretch!important;
}
.vfr-number{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:48px!important;
  overflow:visible!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
  line-height:1.2!important;
  padding:10px 4px!important;
  font-variant-numeric:tabular-nums!important;
}
.vfr-number::after{
  pointer-events:none!important;
}
@media (max-width:600px){
  .vfr-number{
    min-height:44px!important;
    padding:9px 2px!important;
    font-size:clamp(9px,2.8vw,12px)!important;
    letter-spacing:0!important;
  }
}
@media (max-width:360px){
  .vfr-number{
    min-height:42px!important;
    padding-left:1px!important;
    padding-right:1px!important;
    font-size:9px!important;
  }
}

/* v0.9.3 — caixa do número íntegra em qualquer template Elementor */
.vfr-selector,
.vfr-selector *{
  box-sizing:border-box;
}
.vfr-number-grid{
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
  padding:7px 3px!important;
  grid-template-columns:repeat(auto-fit,minmax(64px,1fr))!important;
  gap:8px!important;
}
.vfr-number{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:48px!important;
  min-height:48px!important;
  max-height:none!important;
  margin:0!important;
  padding:0 6px!important;
  overflow:visible!important;
  white-space:nowrap!important;
  line-height:1!important;
  font-size:12px!important;
  letter-spacing:.02em!important;
  border-style:solid!important;
  border-width:1px!important;
  border-radius:11px!important;
  transform:none;
}
.vfr-number:hover:not(:disabled){
  transform:translateY(-1px)!important;
}
.vfr-number::after{
  bottom:-1px!important;
}
@media(max-width:700px){
  .vfr-number-grid{
    grid-template-columns:repeat(auto-fit,minmax(56px,1fr))!important;
    gap:7px!important;
  }
  .vfr-number{
    height:44px!important;
    min-height:44px!important;
    padding:0 3px!important;
    font-size:11px!important;
  }
}
@media(max-width:380px){
  .vfr-number-grid{
    grid-template-columns:repeat(auto-fit,minmax(52px,1fr))!important;
    gap:6px!important;
  }
  .vfr-number{
    height:42px!important;
    min-height:42px!important;
    font-size:10px!important;
  }
}

/* v0.9.5 — escolha automática responsiva e filtro de disponíveis */
.vfr-auto{display:flex!important;flex-direction:column!important;gap:10px!important}
.vfr-auto-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.vfr-auto-head label{margin:0!important}
.vfr-auto-head small{margin:0!important;color:#7a8899!important;font-size:10px!important;white-space:nowrap!important}
.vfr-auto-controls{display:grid!important;grid-template-columns:auto minmax(150px,1fr)!important;align-items:center!important;gap:10px!important}
.vfr-auto-counter{display:grid!important;grid-template-columns:40px 64px 40px!important;align-items:center!important;gap:6px!important}
.vfr-auto-counter .vfr-step{width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:19px!important;line-height:1!important;border-radius:10px!important}
.vfr-auto-counter input{width:64px!important;height:40px!important;min-height:40px!important;padding:0 5px!important;text-align:center!important;font-size:14px!important;font-weight:800!important;border-radius:10px!important;appearance:textfield!important;-moz-appearance:textfield!important}
.vfr-auto-counter input::-webkit-inner-spin-button,.vfr-auto-counter input::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
.vfr-auto-action{width:100%!important;min-height:40px!important;border-radius:10px!important;padding:10px 14px!important;white-space:nowrap!important}
.vfr-number-bar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;margin:2px 0 12px!important}
.vfr-number-bar .vfr-legend{margin:0!important}
.vfr-filter-available{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:34px!important;padding:7px 11px!important;border:1px solid #cad5e1!important;border-radius:999px!important;background:#fff!important;color:#112f52!important;font-size:10px!important;font-weight:800!important;cursor:pointer!important;transition:.16s ease!important;box-shadow:none!important}
.vfr-filter-available:hover{border-color:#879bb0!important;background:#f8fafc!important}
.vfr-filter-available.is-active{background:#112f52!important;border-color:#112f52!important;color:#fff!important}
.vfr-filter-dot{width:8px!important;height:8px!important;border-radius:50%!important;background:#fff!important;border:1px solid #7d93aa!important;flex:0 0 auto!important}
.vfr-filter-available.is-active .vfr-filter-dot{background:#fff!important;border-color:#fff!important}
.vfr-filter-empty{grid-column:1/-1!important;padding:18px!important;border:1px dashed #d6e0ea!important;border-radius:12px!important;text-align:center!important;color:#68788b!important;background:#fafbfd!important;font-size:11px!important}

@media(max-width:700px){
  .vfr-tools{grid-template-columns:1fr!important;gap:10px!important}
  .vfr-tools>div{padding:12px!important}
  .vfr-auto-head{align-items:flex-end!important}
  .vfr-auto-controls{grid-template-columns:1fr!important;gap:8px!important}
  .vfr-auto-counter{grid-template-columns:44px 1fr 44px!important;width:100%!important}
  .vfr-auto-counter .vfr-step{width:44px!important;height:44px!important;min-height:44px!important}
  .vfr-auto-counter input{width:100%!important;height:44px!important;min-height:44px!important;font-size:15px!important}
  .vfr-auto-action{min-height:44px!important;font-size:12px!important}
  .vfr-search-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important}
  .vfr-search-row input{width:100%!important;min-width:0!important}
  .vfr-number-bar{display:block!important}
  .vfr-number-bar .vfr-legend{margin-bottom:9px!important;gap:9px!important}
  .vfr-filter-available{width:100%!important;min-height:40px!important;border-radius:10px!important;font-size:11px!important}
}

.vfr-grid-status[hidden]{display:none!important}
.vfr-number-grid:empty + .vfr-pagination{margin-top:0}

/* v1.1.0 — contadores AJAX em tempo real */
.vfr-live-stats{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-2px 0 12px;padding:8px 10px;border:1px solid #e1e8ef;border-radius:12px;background:#f8fafc}
.vfr-live-stats span{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#66758a;white-space:nowrap}
.vfr-live-stats strong{font-size:11px;color:#112f52}
.vfr-live-stats i{width:7px;height:7px;border-radius:50%;display:inline-block}
.vfr-live-stats i.available{background:#fff;border:1px solid #8ca2b8}
.vfr-live-stats i.reserved{background:#e7b83f}
.vfr-live-stats i.sold{background:#cc0101}
@media(max-width:600px){.vfr-live-stats{justify-content:space-between;gap:7px}.vfr-live-stats span{font-size:9px}}

/* v1.1.3 — rifa encerrada/pausada sem ação de pagamento */
.vfr-purchase-closed{
  display:flex;
  align-items:flex-start;
  gap:14px;
  width:100%;
  margin:14px 0;
  padding:20px;
  border:1px solid #dbe4ed;
  border-radius:18px;
  background:#f8fafc;
  box-shadow:0 8px 24px rgba(17,47,82,.06);
  box-sizing:border-box;
}
.vfr-purchase-closed__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#112f52;
  color:#fff;
  font-size:20px;
  font-weight:900;
}
.vfr-purchase-closed.is-finished{
  border-color:#e7caca;
  background:#fff8f8;
}
.vfr-purchase-closed.is-finished .vfr-purchase-closed__icon{
  background:#cc0101;
}
.vfr-purchase-closed__content>span{
  display:block;
  margin-bottom:4px;
  color:#cc0101;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}
.vfr-purchase-closed__content h3{
  margin:0 0 6px;
  color:#112f52;
  font-size:20px;
  line-height:1.2;
}
.vfr-purchase-closed__content p{
  margin:0;
  color:#64748b;
  font-size:13px;
  line-height:1.55;
}
.vfr-purchase-closed__date{
  display:inline-flex;
  flex-direction:column;
  gap:2px;
  margin-top:12px;
  padding:9px 11px;
  border-radius:10px;
  background:#fff;
  border:1px solid #e2e8f0;
}
.vfr-purchase-closed__date small{
  color:#7a8899;
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
}
.vfr-purchase-closed__date strong{
  color:#112f52;
  font-size:12px;
}
@media(max-width:600px){
  .vfr-purchase-closed{
    padding:16px;
    gap:11px;
    border-radius:14px;
  }
  .vfr-purchase-closed__icon{
    width:36px;
    height:36px;
    flex-basis:36px;
    font-size:16px;
  }
  .vfr-purchase-closed__content h3{
    font-size:17px;
  }
}
