/* Vestella Returns 3.0.4 — native WoodMart color tokens */
.vr-my-returns{
  --vr-primary:var(--wd-primary-color);
  --vr-title:var(--wd-title-color, #242424);
  --vr-text:var(--wd-text-color, #555);
  --vr-muted:color-mix(in srgb, var(--wd-text-color, #555) 70%, transparent);
  --vr-line:var(--wd-divider-color, var(--wd-brdcolor-gray-200, #e5e5e5));
  --vr-line-strong:var(--wd-form-brd-color, var(--wd-brdcolor-gray-300, #d9d9d9));
  --vr-soft:var(--bgcolor-gray-100, #f7f7f7);
  --vr-surface:var(--bgcolor-white, #fff);
  --vr-accent-bg:var(--btn-accented-bgcolor, var(--wd-primary-color));
  --vr-accent-bg-hover:var(--btn-accented-bgcolor-hover, var(--wd-primary-color));
  --vr-accent-color:var(--btn-accented-color, #fff);
  --vr-accent-color-hover:var(--btn-accented-color-hover, #fff);
}

.vr-wrap{max-width:700px;margin:30px auto}.vr-card{padding:30px;border:1px solid var(--vr-line);background:var(--vr-surface);box-sizing:border-box}.vr-wrap h2{margin-top:0}.vr-wrap label{display:block;margin:17px 0 7px;font-weight:600}.vr-wrap input[type=text],.vr-wrap input[type=email],.vr-wrap input[type=number],.vr-wrap select,.vr-wrap textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--vr-line-strong)}.vr-wrap button{margin-top:20px;padding:13px 24px;border:0;cursor:pointer}.vr-item{display:flex;gap:18px;padding:18px 0;border-bottom:1px solid var(--vr-line)}.vr-img img{width:80px;height:80px;object-fit:cover}.vr-item-info{flex:1}.vr-product-label{margin:0!important}.vr-item-info span{display:block;margin:6px 0;color:var(--vr-text)}.vr-item-info input[type=number]{max-width:110px}.vr-check{font-weight:400!important}.vr-error,.vr-success{padding:16px;margin:20px 0;border:1px solid var(--vr-line)}.vr-success{background:var(--vr-soft)}.vr-history ul{padding-left:20px}
.vr-history-note{display:inline-block;margin-top:5px;color:var(--vr-text)}

.vr-window{margin:16px 0;padding:14px 16px;border:1px solid var(--vr-line);border-radius:8px;background:var(--vr-soft)}
.vr-window p{margin:7px 0 0}
.vr-window-count{font-size:15px}
.vr-window-closed{border-style:solid}

.vr-welcome{margin:0 0 18px}.vr-welcome h2{margin-bottom:8px}.vr-welcome p{margin:4px 0}.vr-item-price{margin-top:4px}

.vr-item-reason{width:100%;box-sizing:border-box;margin-top:6px}

/* v1.3.4 return form refresh */
.vr-item{border:1px solid var(--vr-line);border-radius:10px;margin:14px 0;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.vr-item.is-selected{border-color:var(--vr-line-strong);box-shadow:0 2px 12px rgba(0,0,0,.06);background:var(--vr-surface)}
.vr-product-card{display:flex;align-items:center;gap:14px;padding:16px;cursor:pointer;margin:0!important;position:relative}
.vr-product-checkbox{position:absolute;opacity:0;pointer-events:none}
.vr-checkmark{width:24px;height:24px;min-width:24px;border:1.5px solid var(--vr-line-strong);border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1;color:transparent;transition:.18s ease}
.vr-item.is-selected .vr-checkmark{background:var(--vr-title);border-color:var(--vr-title);color:var(--vr-surface)}
.vr-product-card .vr-img{width:82px;min-width:82px}.vr-product-card .vr-img img{width:82px;height:96px;object-fit:cover;border-radius:8px;display:block}
.vr-item-info{display:flex;flex-direction:column;gap:5px;min-width:0}.vr-product-name{font-size:16px}.vr-product-meta{font-size:14px;color:var(--vr-text)}.vr-product-price{font-size:15px;font-weight:600}
.vr-item-options{display:none;padding:0 16px 16px 54px}.vr-item-options.is-open{display:block}
.vr-item-options label{display:block;margin:12px 0 6px}.vr-static-qty{margin:4px 0 12px}
.vr-item-options select,.vr-extra textarea{width:100%;border:1px solid var(--vr-line);border-radius:8px;padding:11px 12px;background:var(--vr-surface);box-sizing:border-box}
.vr-item-options select:focus,.vr-extra textarea:focus{outline:none;border-color:var(--vr-muted)}
.vr-extra{margin-top:20px}.vr-extra label{display:block;margin-bottom:4px}.vr-help{font-size:13px;color:var(--vr-muted);margin:0 0 8px}.vr-extra textarea{min-height:82px;resize:vertical}
.vr-submit-summary{display:flex;justify-content:space-between;gap:16px;margin:20px 0 14px;padding:14px 16px;border:1px solid var(--vr-line);border-radius:8px;background:var(--vr-soft)}
.vr-submit-btn{width:100%;border-radius:8px!important;padding:14px 18px!important;font-weight:600;transition:opacity .18s ease,transform .18s ease}
.vr-submit-btn:disabled{opacity:.45;cursor:not-allowed}.vr-submit-btn:not(:disabled){cursor:pointer}.vr-btn-loading{display:none}.vr-submit-btn.is-loading .vr-btn-label{display:none}.vr-submit-btn.is-loading .vr-btn-loading{display:inline}
.vr-success-card{text-align:center;padding:34px 24px}.vr-success-icon{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;background:var(--vr-title);color:var(--vr-surface);font-size:26px}.vr-success-card h2{margin-bottom:10px}.vr-next{text-align:left;margin-top:22px;padding:16px;border-radius:8px;background:var(--vr-soft);border:1px solid var(--vr-line)}.vr-next p{margin:6px 0 0}
@media(max-width:600px){.vr-product-card{padding:13px;gap:10px}.vr-product-card .vr-img{width:68px;min-width:68px}.vr-product-card .vr-img img{width:68px;height:82px}.vr-item-options{padding:0 13px 14px}.vr-submit-summary{flex-direction:column;gap:5px}.vr-submit-btn{width:100%}}

/* v1.3.5 lookup + compact card refinements */
.vr-lookup-wrap{max-width:620px}
.vr-lookup-card{padding:28px 30px}
.vr-lookup-head{text-align:left;margin-bottom:18px}
.vr-lookup-head h2{margin:0 0 7px;font-size:28px;line-height:1.2}
.vr-lookup-head p{margin:0;color:var(--vr-muted)}
.vr-lookup-form label{display:block;margin:14px 0 7px;font-weight:600}
.vr-lookup-form input[type=text],
.vr-lookup-form input[type=email]{width:100%;height:46px;border:1px solid var(--vr-line);border-radius:8px;padding:0 13px;box-sizing:border-box;background:var(--vr-surface)}
.vr-lookup-form input:focus{outline:none;border-color:var(--vr-muted);box-shadow:0 0 0 2px rgba(0,0,0,.03)}
.vr-order-input-wrap{position:relative}
.vr-order-prefix{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--vr-muted);font-weight:600}
.vr-order-input-wrap input{padding-left:28px!important}
.vr-lookup-btn{width:100%;margin-top:18px!important;border-radius:8px!important;padding:14px 18px!important;font-weight:600;transition:opacity .18s ease,transform .18s ease}
.vr-lookup-btn:disabled{opacity:.45;cursor:not-allowed}
.vr-lookup-btn:not(:disabled){cursor:pointer;background:var(--vr-title)!important;color:var(--vr-surface)!important}
.vr-lookup-loading{display:none}
.vr-lookup-btn.is-loading .vr-lookup-label{display:none}
.vr-lookup-btn.is-loading .vr-lookup-loading{display:inline}
.vr-privacy-note{font-size:12px;color:var(--vr-muted);margin:10px 0 0;text-align:center}

/* make product cards more compact */
.vr-product-card{min-height:0!important;align-items:center!important}
.vr-item{min-height:0!important}
.vr-product-card .vr-img{width:96px!important;min-width:96px!important}
.vr-product-card .vr-img img{width:96px!important;height:112px!important;object-fit:cover!important}
.vr-item-info{justify-content:center}
.vr-product-price{white-space:nowrap!important;display:inline-block}
.vr-item-options{padding-top:2px!important}
.vr-item:not(.is-selected) .vr-item-options{display:none!important}
.vr-item:not(.is-selected){padding-bottom:0!important}
.vr-item.is-selected .vr-item-options{display:block!important}

/* stronger primary submit */
.vr-submit-btn:not(:disabled){background:var(--vr-title)!important;color:var(--vr-surface)!important;border-color:var(--vr-title)!important}
.vr-submit-btn:not(:disabled):hover{opacity:.92}

/* friendlier error box */
.vr-error{border-radius:8px!important;background:#faf7f7;padding:12px 14px!important}

@media(max-width:600px){
  .vr-lookup-card{padding:22px 18px}
  .vr-lookup-head h2{font-size:24px}
  .vr-product-card .vr-img{width:76px!important;min-width:76px!important}
  .vr-product-card .vr-img img{width:76px!important;height:90px!important}
}

/* v1.3.7 lookup loading state */
.vr-lookup-loading{align-items:center;justify-content:center;gap:9px}
.vr-lookup-btn.is-loading .vr-lookup-loading{display:inline-flex}
.vr-spinner{
  width:15px;height:15px;display:inline-block;box-sizing:border-box;
  border:2px solid rgba(255,255,255,.45);border-top-color:var(--vr-surface);
  border-radius:50%;animation:vr-spin .7s linear infinite
}
.vr-lookup-form input[readonly]{opacity:.72;cursor:wait;background:var(--vr-soft)}
.vr-lookup-btn.is-loading{cursor:wait!important}
@keyframes vr-spin{to{transform:rotate(360deg)}}

/* v1.3.8 product-card layout fix */
.vr-item{
  display:block!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  margin:12px 0!important;
  border:1px solid var(--vr-line)!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:var(--vr-surface)!important;
}

.vr-product-card{
  display:grid!important;
  grid-template-columns:26px 92px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  min-height:0!important;
  height:auto!important;
  padding:14px!important;
  margin:0!important;
  cursor:pointer!important;
}

.vr-checkmark{
  grid-column:1!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  margin:0!important;
  align-self:start!important;
  margin-top:3px!important;
}

.vr-product-card .vr-img{
  grid-column:2!important;
  width:92px!important;
  min-width:92px!important;
  margin:0!important;
}

.vr-product-card .vr-img img{
  width:92px!important;
  height:110px!important;
  object-fit:cover!important;
  border-radius:8px!important;
  display:block!important;
}

.vr-item-info{
  grid-column:3!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

.vr-product-name{
  display:block!important;
  font-size:16px!important;
  line-height:1.35!important;
  margin:0!important;
}

.vr-product-meta{
  display:block!important;
  font-size:14px!important;
  color:var(--vr-text)!important;
  line-height:1.35!important;
  margin:0!important;
}

.vr-product-price{
  display:inline-flex!important;
  align-items:center!important;
  gap:3px!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:600!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  margin:2px 0 0!important;
}

.vr-product-price .woocommerce-Price-amount,
.vr-product-price .woocommerce-Price-currencySymbol{
  white-space:nowrap!important;
  display:inline!important;
}

.vr-item-options{
  display:none!important;
  padding:14px 14px 16px 132px!important;
  margin:0!important;
  border-top:1px solid var(--vr-line)!important;
  background:var(--vr-soft)!important;
}

.vr-item.is-selected .vr-item-options{
  display:block!important;
}

.vr-item-options label{
  margin:0 0 6px!important;
}

.vr-item-options .vr-static-qty{
  margin:0 0 12px!important;
}

.vr-item-options select{
  max-width:420px!important;
}

.vr-item.is-selected{
  border-color:var(--vr-muted)!important;
  box-shadow:0 2px 10px rgba(0,0,0,.05)!important;
}

@media(max-width:600px){
  .vr-product-card{
    grid-template-columns:24px 72px minmax(0,1fr)!important;
    gap:10px!important;
    padding:12px!important;
  }
  .vr-product-card .vr-img{
    width:72px!important;
    min-width:72px!important;
  }
  .vr-product-card .vr-img img{
    width:72px!important;
    height:88px!important;
  }
  .vr-product-name{
    font-size:15px!important;
  }
  .vr-product-meta,
  .vr-product-price{
    font-size:13px!important;
  }
  .vr-item-options{
    padding:12px!important;
  }
}

/* v1.3.9 small UX refinements */
.vr-lookup-btn.is-loading .vr-lookup-loading{
  display:inline!important;
}

/* Selected product: subtle, elegant confirmation */
.vr-item.is-selected{
  border-color:var(--vr-line-strong)!important;
  background:var(--vr-soft)!important;
  box-shadow:0 2px 8px rgba(0,0,0,.035)!important;
}
.vr-item.is-selected .vr-product-card{
  background:var(--vr-soft)!important;
}

.vr-spinner{display:none!important}

/* v1.3.10 validation + confirmation refinements */
.vr-inline-error{
  min-height:18px;
  margin-top:5px;
  font-size:12px;
  line-height:1.4;
  color:#b42318;
}
.vr-lookup-form input.vr-field-error{
  border-color:#b42318!important;
}
.vr-lookup-form input.vr-field-error:focus{
  border-color:#b42318!important;
  box-shadow:0 0 0 2px rgba(180,35,24,.08)!important;
}

.vr-success-status{
  display:inline-block;
  margin:0 auto 10px;
  padding:6px 11px;
  border-radius:999px;
  background:#f1f1f1;
  font-size:12px;
  font-weight:600;
  letter-spacing:.02em;
}
.vr-success-lead{
  margin:0 auto;
  max-width:520px;
  font-size:16px;
  line-height:1.55;
}
.vr-success-card .vr-next{
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
}

/* v1.4.0 — online withdrawal function */
.vr-withdraw-confirm{margin:18px 0 12px;padding:14px 16px;border:1px solid var(--vr-line);border-radius:10px;background:var(--vr-soft)}
.vr-withdraw-confirm p{margin:6px 0 0;line-height:1.55}
.vr-withdraw-entry{display:inline-block}
.vr-success-status{background:var(--vr-line)!important;color:var(--vr-title)!important;font-weight:700!important;padding:7px 13px!important}


/* v1.4.1 — krótsza ścieżka z Moje konto + spójny panel końcowy */
.woocommerce-orders-table__cell-order-actions .button.vestella_withdraw,
.woocommerce-orders-table__cell-order-actions .woocommerce-button.vestella_withdraw{
  background:transparent!important;
  color:var(--vr-text)!important;
  border:1px solid var(--vr-line-strong)!important;
  box-shadow:none!important;
}
.woocommerce-orders-table__cell-order-actions .button.vestella_withdraw:hover,
.woocommerce-orders-table__cell-order-actions .woocommerce-button.vestella_withdraw:hover{
  background:var(--vr-soft)!important;
  color:var(--vr-title)!important;
  border-color:var(--vr-muted)!important;
}
.vr-final-panel{
  margin-top:20px;
  padding:18px;
  border:1px solid var(--vr-line);
  border-radius:12px;
  background:var(--vr-soft);
}
.vr-final-heading{font-weight:700;font-size:16px;margin-bottom:12px}
.vr-final-panel .vr-submit-summary{margin:0 0 14px;background:var(--vr-surface)}
.vr-final-legal{margin:0 0 15px;line-height:1.55;color:var(--vr-text)}
.vr-final-check{display:flex!important;align-items:flex-start;gap:9px;margin:0 0 16px!important;line-height:1.45}
.vr-final-check input{margin-top:3px!important;flex:0 0 auto}
.vr-final-panel .vr-submit-btn{margin:0!important;width:100%}
@media(max-width:600px){.vr-final-panel{padding:14px}.vr-final-panel .vr-submit-summary{padding:12px}}

.vr-empty-return{text-align:center;padding:30px 24px}.vr-empty-return h2{margin-bottom:10px}

/* v1.6.0 — Moje zwroty */
.vr-my-returns{max-width:850px}
.vr-my-returns-head{margin-bottom:20px}.vr-my-returns-head h2{margin-bottom:6px}
.vr-my-returns-head p{margin:0;color:var(--vr-text)}
.vr-account-empty,.vr-account-return-card,.vr-account-return-detail{
  border:1px solid var(--vr-line);border-radius:10px;background:var(--vr-surface);padding:18px;margin-bottom:14px
}
.vr-account-return-top,.vr-account-detail-head{
  display:flex;justify-content:space-between;gap:16px;align-items:flex-start
}
.vr-account-return-top>div,.vr-account-detail-head>div{display:flex;flex-direction:column;gap:4px}
.vr-account-kicker{font-size:11px;letter-spacing:.06em;color:var(--vr-muted)}
.vr-account-status{display:inline-block;padding:6px 10px;border-radius:999px;background:var(--vr-line);font-size:12px;font-weight:700;white-space:nowrap}
.vr-account-return-meta{display:flex;gap:18px;flex-wrap:wrap;margin:14px 0;color:var(--vr-text);font-size:14px}
.vr-account-details{border-radius:8px!important}
.vr-account-back{display:inline-block;margin-bottom:18px;text-decoration:none}
.vr-account-detail-head h3{margin:0}
.vr-account-products{margin-top:18px}
.vr-account-product{display:flex;gap:14px;align-items:center;padding:12px 0;border-top:1px solid var(--vr-line)}
.vr-account-product:first-child{border-top:0}
.vr-account-thumb img{width:72px;height:82px;object-fit:cover;border-radius:8px}
.vr-account-product-main{display:flex;flex-direction:column;gap:4px}
.vr-account-product-main span{font-size:13px;color:var(--vr-text)}
.vr-account-settlement{margin-top:18px;padding:14px;border-radius:8px;background:var(--vr-soft);border:1px solid var(--vr-line)}
.vr-account-settlement p{margin:6px 0 0}
.vr-account-history{margin-top:22px}.vr-account-history h4{margin-bottom:10px}
.vr-account-history-row{position:relative;padding:0 0 16px 16px;border-left:2px solid var(--vr-line)}
.vr-account-history-row strong{display:block}.vr-account-history-row span{font-size:12px;color:var(--vr-muted)}
.vr-account-history-row p{margin:5px 0 0;color:var(--vr-text)}
@media(max-width:600px){
  .vr-account-return-top,.vr-account-detail-head{align-items:flex-start}
  .vr-account-return-meta{flex-direction:column;gap:6px}
}

/* v1.7.0 — grouped returns + semantic status badges */
.vr-account-order-card{
  border:1px solid var(--vr-line);border-radius:10px;background:var(--vr-surface);padding:18px;margin-bottom:14px
}
.vr-account-status{
  display:inline-flex!important;align-items:center;gap:6px!important;
  border:1px solid transparent!important;
}
.vr-status-icon{
  width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:50%;font-size:12px;font-weight:800;line-height:1
}
.vr-status-new{background:var(--vr-soft)!important;color:var(--vr-text)!important;border-color:var(--vr-line)!important}
.vr-status-new .vr-status-icon{background:var(--vr-line);color:var(--vr-text)}
.vr-status-approved{background:#eef8f0!important;color:#2f6d3d!important;border-color:#d7ebdc!important}
.vr-status-approved .vr-status-icon{background:#dcefe1;color:#2f6d3d}
.vr-status-rejected{background:var(--vr-surface)0f0!important;color:#9a2d2d!important;border-color:#f2d3d3!important}
.vr-status-rejected .vr-status-icon{background:#f6dede;color:#9a2d2d}
.vr-status-received{background:#eef5fb!important;color:#315f86!important;border-color:#d7e6f2!important}
.vr-status-received .vr-status-icon{background:#dceaf5;color:#315f86}
.vr-status-completed{background:#edf7f5!important;color:#22665b!important;border-color:#d3e8e4!important}
.vr-status-completed .vr-status-icon{background:#d9ece8;color:#22665b}

.vr-order-return-heading{
  display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px
}
.vr-order-return-heading h3{margin:3px 0 0}
.vr-order-return-count{
  background:var(--vr-soft);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700
}
.vr-account-return-child{margin-bottom:12px}
.vr-account-history-row strong{display:flex;align-items:center;gap:7px}
.vr-history-dot{
  width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:50%;background:var(--vr-line);font-size:11px
}
.vr-history-approved .vr-history-dot,.vr-history-completed .vr-history-dot{background:#dcefe1;color:#2f6d3d}
.vr-history-rejected .vr-history-dot{background:#f6dede;color:#9a2d2d}
.vr-history-received .vr-history-dot{background:#dceaf5;color:#315f86}

.woocommerce-orders-table__cell-order-actions .vestella_show_returns,
.woocommerce-orders-table__cell-order-actions .vestella_withdraw{
  margin-left:4px!important;
}
.woocommerce-orders-table__cell-order-actions .vestella_show_returns{
  background:var(--vr-surface)!important;color:var(--vr-title)!important;border:1px solid var(--vr-line-strong)!important;
}
.woocommerce-orders-table__cell-order-actions .vestella_withdraw{
  background:var(--vr-title)!important;color:var(--vr-surface)!important;border-color:var(--vr-title)!important;
}
@media(max-width:600px){
  .vr-order-return-heading{flex-direction:column}
}

/* v1.8.0 — aggregate status + filters */
.vr-aggregate-status{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:360px}
.vr-aggregate-part{
  display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;
  font-size:12px;border:1px solid transparent;white-space:nowrap
}
.vr-aggregate-new{background:var(--vr-soft);color:var(--vr-text);border-color:var(--vr-line)}
.vr-aggregate-approved{background:#eef8f0;color:#2f6d3d;border-color:#d7ebdc}
.vr-aggregate-rejected{background:var(--vr-surface)0f0;color:#9a2d2d;border-color:#f2d3d3}
.vr-aggregate-received{background:#eef5fb;color:#315f86;border-color:#d7e6f2}
.vr-aggregate-completed{background:#edf7f5;color:#22665b;border-color:#d3e8e4}

.vr-returns-filter{
  margin:0 0 18px;padding:14px;border:1px solid var(--vr-line);border-radius:10px;background:var(--vr-soft)
}
.vr-filter-row{display:grid;grid-template-columns:minmax(220px,1fr) 210px auto;gap:12px;align-items:end}
.vr-filter-row label{display:block;margin-bottom:5px;font-size:12px;font-weight:700}
.vr-filter-row input,.vr-filter-row select{width:100%;min-height:42px;border-radius:8px}
.vr-filter-actions{display:flex;gap:8px}
.vr-filter-actions .button{min-height:42px;display:inline-flex;align-items:center}
.vr-filter-reset{background:var(--vr-surface)!important}
@media(max-width:760px){
  .vr-filter-row{grid-template-columns:1fr}
  .vr-filter-actions{width:100%}
  .vr-filter-actions .button{flex:1;justify-content:center}
  .vr-aggregate-status{justify-content:flex-start;max-width:none}
}

/* v1.9.1 — client filter polish */
.vr-returns-filter{
  margin:18px 0 22px!important;
  padding:16px!important;
  border:1px solid var(--vr-line)!important;
  border-radius:12px!important;
  background:var(--vr-surface)!important;
  box-shadow:0 1px 2px rgba(0,0,0,.02)!important;
}
.vr-filter-row{
  display:grid!important;
  grid-template-columns:minmax(280px,1fr) 220px auto!important;
  gap:12px!important;
  align-items:end!important;
}
.vr-filter-row label{
  display:block!important;
  margin:0 0 7px!important;
  font-size:13px!important;
  font-weight:600!important;
  color:var(--vr-title)!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.vr-filter-row input[type=search],
.vr-filter-row select{
  width:100%!important;
  height:46px!important;
  min-height:46px!important;
  padding:0 14px!important;
  border:1px solid var(--vr-line)!important;
  border-radius:10px!important;
  background:var(--vr-surface)!important;
  box-shadow:none!important;
  font-size:14px!important;
  line-height:46px!important;
  color:var(--vr-title)!important;
}
.vr-filter-row input[type=search]:focus,
.vr-filter-row select:focus{
  outline:none!important;
  border-color:var(--vr-muted)!important;
  box-shadow:0 0 0 2px rgba(157,139,127,.12)!important;
}
.vr-select-wrap{
  position:relative!important;
  display:block!important;
}
.vr-select-wrap select{
  appearance:none!important;
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  padding-right:42px!important;
  background-image:none!important;
}
.vr-select-wrap:before,
.vr-select-wrap:after{
  display:none!important;
  content:none!important;
}
.vr-select-chevron{
  position:absolute!important;
  right:14px!important;
  top:50%!important;
  transform:translateY(-54%)!important;
  pointer-events:none!important;
  color:var(--vr-muted)!important;
  font-size:17px!important;
  line-height:1!important;
}
.vr-filter-actions{
  display:flex!important;
  gap:8px!important;
  align-items:center!important;
}
.vr-filter-actions .button{
  height:46px!important;
  min-height:46px!important;
  padding:0 18px!important;
  border-radius:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:13px!important;
  font-weight:600!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.vr-filter-submit{
  background:var(--vr-title)!important;
  border:1px solid var(--vr-title)!important;
  color:var(--vr-surface)!important;
}
.vr-filter-submit:hover{
  background:var(--vr-title)!important;
  border-color:var(--vr-title)!important;
  color:var(--vr-surface)!important;
}
.vr-filter-reset{
  background:var(--vr-surface)!important;
  border:1px solid var(--vr-line)!important;
  color:var(--vr-title)!important;
}
@media(max-width:760px){
  .vr-filter-row{grid-template-columns:1fr!important}
  .vr-filter-actions{width:100%!important}
  .vr-filter-actions .button{flex:1!important}
}

/* v2.0.0 — final filter polish + return progress tracker */
.vr-returns-filter{
  padding:13px 14px!important;
  margin:16px 0 20px!important;
}
.vr-filter-row{gap:10px!important}
.vr-filter-actions .button{min-width:92px!important;padding-left:20px!important;padding-right:20px!important}

/* Progress tracker */
.vr-progress{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:20px 0 22px;
  padding:16px 14px;
  border:1px solid var(--vr-line);
  border-radius:12px;
  background:var(--vr-soft);
}
.vr-progress-step{
  position:relative;
  display:flex;
  gap:9px;
  align-items:flex-start;
  min-width:0;
  padding-right:12px;
}
.vr-progress-step:not(:last-child):after{
  content:"";
  position:absolute;
  top:14px;
  left:30px;
  right:0;
  height:1px;
  background:var(--vr-line);
}
.vr-progress-marker{
  position:relative;
  z-index:2;
  flex:0 0 28px;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid var(--vr-line);
  background:var(--vr-surface);
  color:var(--vr-muted);
  font-size:12px;
  font-weight:700;
}
.vr-progress-copy{
  position:relative;
  z-index:2;
  min-width:0;
  background:var(--vr-soft);
  padding-right:6px;
}
.vr-progress-copy strong,
.vr-progress-copy span{display:block}
.vr-progress-copy strong{font-size:13px;margin-top:1px}
.vr-progress-copy span{font-size:11px;color:var(--vr-muted);margin-top:3px;line-height:1.35}
.vr-progress-step.is-done .vr-progress-marker{
  background:#e7f3ea;
  border-color:#cfe4d4;
  color:#2f6d3d;
}
.vr-progress-step.is-current .vr-progress-marker{
  background:var(--vr-title);
  border-color:var(--vr-title);
  color:var(--vr-surface);
}
.vr-progress-step.is-current .vr-progress-copy strong{font-weight:700}
.vr-progress-step.is-future{opacity:.58}

.vr-progress-rejected{
  grid-template-columns:auto 1fr!important;
  align-items:center!important;
  gap:11px!important;
  padding:14px 16px!important;
  background:var(--vr-surface)4f4!important;
  border-color:#efd3d3!important;
}
.vr-progress-rejected-icon{
  width:30px;height:30px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:#f3dddd;color:#982f2f;font-weight:800;font-size:18px;
}
.vr-progress-rejected strong,.vr-progress-rejected span{display:block}
.vr-progress-rejected strong{color:#8e2d2d}
.vr-progress-rejected span{font-size:12px;color:#775b5b;margin-top:3px}

@media(max-width:760px){
  .vr-progress{grid-template-columns:1fr;gap:12px}
  .vr-progress-step{padding-right:0}
  .vr-progress-step:not(:last-child):after{
    top:28px;left:14px;right:auto;width:1px;height:calc(100% + 12px)
  }
}

/* v2.1.0 — subtler detailed history */
.vr-account-history{
  margin-top:22px!important;
  padding-top:18px!important;
  border-top:1px solid var(--vr-line)!important;
}
.vr-account-history h4{
  font-size:14px!important;
  font-weight:600!important;
  color:var(--vr-text)!important;
  margin:0 0 14px!important;
}
.vr-account-history-row{
  opacity:.82!important;
  padding-bottom:13px!important;
}
.vr-account-history-row strong{font-size:13px!important}
.vr-account-history-row>span{font-size:11px!important;color:var(--vr-muted)!important}
.vr-account-history-row p{
  font-size:12px!important;
  color:var(--vr-muted)!important;
  line-height:1.45!important;
}

/* v2.8.0 — attachments + per-item decisions */
.vr-attachments-box input[type=file]{
  width:100%;padding:12px;border:1px dashed var(--vr-line);border-radius:10px;background:var(--vr-soft)
}
.vr-file-privacy{font-size:11px;color:var(--vr-muted);margin:8px 0 0}
.vr-client-item-decision{
  display:inline-flex!important;width:max-content;padding:4px 7px;border-radius:999px;
  font-size:11px!important;font-weight:700;margin-top:4px
}
.vr-client-item-decision.is-approved{background:#edf8ef;color:#286c38}
.vr-client-item-decision.is-rejected{background:var(--vr-surface)0f0;color:#952e2e}
.vr-client-item-decision-reason{font-size:12px!important;color:#8b4a4a!important}
.vr-client-attachments-note{
  margin:14px 0;padding:10px 12px;border:1px solid var(--vr-line);border-radius:8px;background:var(--vr-soft);font-size:13px
}

/* v2.9.0 — order actions cleanup */
.woocommerce-orders-table__cell-order-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:7px!important;
}
.woocommerce-orders-table__cell-order-actions .button{
  margin:0!important;
  min-width:126px!important;
  text-align:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
.woocommerce-orders-table__cell-order-actions .vestella_show_returns,
.woocommerce-orders-table__cell-order-actions .vestella_withdraw{
  margin:0!important;
}
@media(max-width:768px){
  .woocommerce-orders-table__cell-order-actions{justify-content:flex-start!important}
  .woocommerce-orders-table__cell-order-actions .button{min-width:0!important}
}


/* v3.0.2 — My Returns aligned with Vestella Orders */
.vr-my-returns{
  width:100%;
  max-width:none;
}
.vr-my-returns-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin:0 0 24px;
}
.vr-my-returns-head__copy{min-width:0}
.vr-my-returns-eyebrow{
  display:block;
  margin:0 0 7px;
  color:var(--vr-muted);
  font-size:9px;
  font-weight:600;
  line-height:1.3;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.vr-my-returns-head h1{
  margin:0;
  color:var(--vr-title);
  font-family:Georgia,"Times New Roman",serif;
  font-size:36px;
  font-weight:400;
  line-height:1.08;
  letter-spacing:0;
}
.vr-my-returns-head p{
  margin:8px 0 0;
  color:var(--vr-muted);
  font-size:12px;
  line-height:1.6;
}
.vr-account-empty--returns{
  border:1px solid var(--vr-line);
  border-radius:14px;
  background:var(--vr-surface);
  padding:20px 30px;
  box-shadow:none;
}
.vr-account-empty--returns strong{
  display:block;
  margin:0;
  color:var(--vr-title);
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  font-weight:600;
  line-height:1.35;
}
.vr-account-empty--returns p{
  margin:8px 0 0;
  color:var(--vr-muted);
  font-size:14px;
  line-height:1.6;
}
.vr-account-empty-action{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin-top:16px!important;
  padding:0 22px!important;
  border:1px solid var(--vr-accent-bg)!important;
  border-radius:var(--btn-accented-brd-radius, 999px)!important;
  background:var(--vr-accent-bg)!important;
  color:var(--vr-accent-color)!important;
  font-weight:var(--btn-accented-font-weight, 600)!important;
  text-transform:var(--btn-accented-transform, uppercase);
}
@media(max-width:767px){
  .vr-my-returns-head{
    display:block;
    margin-bottom:24px;
  }
  .vr-my-returns-eyebrow{
    margin-bottom:8px;
    font-size:10px;
  }
  .vr-my-returns-head h1{
    font-size:40px;
    line-height:1.06;
  }
  .vr-my-returns-head p{
    margin-top:12px;
    font-size:15px;
    line-height:1.55;
  }
    .vr-account-empty--returns{
    padding:20px 18px;
    margin-bottom:18px;
  }
  .vr-account-empty--returns strong{font-size:18px}
  .vr-account-empty--returns p{font-size:14px}
  .vr-account-empty-action{
    width:auto;
    min-height:44px;
  }
}

.vr-my-returns .vr-account-empty-action:hover{
  border-color:var(--vr-accent-bg-hover)!important;
  background:var(--vr-accent-bg-hover)!important;
  color:var(--vr-accent-color-hover)!important;
}
