.wvi-block{margin:8px 0 10px;padding:0}.wvi-head{margin:0 0 4px;padding:0;font-size:16px;font-weight:600;line-height:1.2}.wvi-list{margin:0;padding:0}.wvi-item{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid #f1f1f1}.wvi-item:first-child{border-top:none}.wvi-thumb img{width:48px;height:48px;object-fit:cover;border-radius:10px;display:block}.wvi-name{font-size:14px;font-weight:600;line-height:1.2;margin:0 0 3px}.wvi-price{font-size:13px;line-height:1.2}.wvi-action{display:flex;align-items:center;justify-content:flex-end}.wvi-add,.wvi-plus,.wvi-minus{width:32px;height:32px;border:none;border-radius:999px;background:#111;color:#fff;font-size:20px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}.wvi-stepper{display:inline-flex;align-items:center;gap:6px}.wvi-qty{min-width:16px;text-align:center;font-size:14px;font-weight:600}.is-hidden{display:none!important}@media (max-width:640px){.wvi-item{grid-template-columns:44px 1fr auto;gap:8px}.wvi-thumb img{width:44px;height:44px}.wvi-add,.wvi-plus,.wvi-minus{width:30px;height:30px}}



/* v1.0.6 - micro UX feedback estilo apps delivery */
.wvi-item,
.wvi-card,
.wvi-suggestion-item {
    transition: box-shadow .22s ease, transform .22s ease, background-color .22s ease;
}

.wvi-item.is-added,
.wvi-card.is-added,
.wvi-suggestion-item.is-added {
    box-shadow: 0 0 0 2px rgba(34,197,94,.14);
    transform: translateY(-1px);
}

.wvi-added-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    background: #ecfdf5;
    color: #166534;
    white-space: nowrap;
    animation: wviFadeInOut 1.1s ease;
}

@keyframes wviFadeInOut {
    0% { opacity: 0; transform: translateY(4px) scale(.96); }
    12% { opacity: 1; transform: translateY(0) scale(1); }
    80% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-2px) scale(.98); }
}

.wvi-just-added {
    position: relative;
}

.wvi-just-added::after {
    content: "Agregado";
    position: absolute;
    top: -8px;
    right: 0;
    font-size: 11px;
    font-weight: 700;
    color: #166534;
    background: #ecfdf5;
    border-radius: 999px;
    padding: 3px 8px;
    animation: wviFadeInOut 1.1s ease;
    pointer-events: none;
    z-index: 2;
}


/* v1.0.7 - UX compacto estilo apps delivery */
.wvi-just-added::after {
    content: none !important;
}
.wvi-added-badge {
    min-width: auto;
    height: 22px;
    padding: 0 8px;
    font-size: 11px;
    position: absolute;
    top: -8px;
    right: 0;
    z-index: 3;
    pointer-events: none;
}
.wvi-qty-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: #14051b;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    border: 0;
}
.wvi-qty-compact.is-hidden {
    display: none !important;
}
.wvi-stepper-collapsible.is-collapsed {
    display: none !important;
}



/* v1.0.8 - badge circular minimalista solo para sugeridos */
.wvi-inline-upsells .wvi-qty-compact{
width:22px;
height:22px;
min-width:22px;
border-radius:50%;
background:#f2f2f2;
color:#333;
font-size:12px;
font-weight:600;
display:flex;
align-items:center;
justify-content:center;
border:1px solid #e5e5e5;
box-shadow:none;
}

.wvi-inline-upsells .wvi-added-badge{
display:none !important;
}


/* v1.0.9 - UI circular minimalista para sugeridos */
.wvi-inline-upsells .wvi-add-btn{
width:28px;
height:28px;
border-radius:50%;
background:#111;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:16px;
border:none;
}
.wvi-inline-upsells .wvi-qty{
width:22px;
height:22px;
border-radius:50%;
background:#f3f3f3;
color:#333;
font-size:12px;
display:flex;
align-items:center;
justify-content:center;
font-weight:600;
}


/* v1.0.10 - paso 1: ocultar badges compactos de cantidad */
.wvi-inline-upsells .wvi-qty-compact{
    display:none !important;
}


/* v1.0.11 - limpieza de intentos previos */
.wvi-qty-compact,
.wvi-added-badge{
  display:none !important;
}



/* v1.0.12 - botón + circular solo en sugeridos */
.wvi-item .wvi-add,
.wvi-item .wvi-plus,
.wvi-item .wvi-minus{
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-align: center !important;
}

.wvi-item .wvi-add{
  font-size: 18px !important;
}



/* v1.0.13 - botón borrar circular tipo PedidosYa */
.wvi-item .wvi-remove{
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  margin-right: 6px;
}


/* v1.0.14 - ocultar bien + y tachito segun cantidad */
.wvi-item .wvi-add.is-hidden,
.wvi-item .wvi-remove.is-hidden,
.wvi-item .wvi-stepper.is-hidden{
  display: none !important;
}



/* v1.0.15 - mejoras visuales y lógica de oferta */
.wvi-price del,
.wvi-price del .amount,
.wvi-price ins{
  text-decoration: none !important;
}
.wvi-sale-row{
  margin-top: 4px;
}
.wvi-sale-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  min-height: 18px;
  border-radius: 999px;
  background: #7ac943;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.wvi-item .wvi-minus.is-hidden{
  display: none !important;
}



/* v1.0.16 - precio rebajado prolijo en una sola línea */
.wvi-price-line{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.wvi-price{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

.wvi-price del,
.wvi-price del .amount{
  text-decoration: line-through !important;
  opacity: .7;
  font-size: 12px !important;
}

.wvi-price ins,
.wvi-price ins .amount{
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 700;
}

.wvi-sale-row{
  display:none !important;
}

.wvi-sale-inline{
  display:inline-flex;
  align-items:center;
}

.wvi-sale-inline .wvi-sale-pill{
  margin-top:0;
}

/* v4.0.2 - modal de variables */
.wvi-modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.36);z-index:9998}
.wvi-modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:18px;z-index:9999}
.wvi-modal-card{width:min(420px,100%);background:#fff;border-radius:20px;box-shadow:0 16px 48px rgba(0,0,0,.18);position:relative;padding:18px}
.wvi-modal-close{position:absolute;top:10px;right:10px;border:none;background:#f5f5f5;width:32px;height:32px;border-radius:999px;cursor:pointer;font-size:22px;line-height:1}
.wvi-modal-title{font-size:18px;font-weight:700;line-height:1.2;margin:0 0 8px}
.wvi-modal-price{font-size:14px;margin:0 0 12px}
.wvi-modal-field{margin:0 0 12px}
.wvi-modal-label{display:block;font-size:13px;font-weight:600;margin:0 0 6px}
.wvi-modal-select{width:100%;min-height:42px;border:1px solid #ddd;border-radius:12px;padding:0 12px;background:#fff}
.wvi-modal-submit{width:100%;margin-top:6px;border-radius:999px!important;min-height:42px}
.wvi-modal-unavailable{font-size:13px;color:#666}
