.pym-returns-new, .pym-returns-details, .pym-returns-list{background:#fff;border:1px solid #E6E6E6;border-radius:12px;padding:24px}
.pym-returns-order-head{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.pym-returns-order-row{background:#F7F7F7;border-radius:8px;padding:8px 12px;display:flex;gap:12px}
.pym-returns-items{display:flex;flex-direction:column;gap:12px}
.pym-returns-item{display:flex;gap:12px;border:1px solid #F2F2F2;border-radius:8px;padding:12px}
.pym-returns-item-left img{width:72px;height:96px;object-fit:cover;border-radius:6px}
.pym-returns-item-title{font-weight:600;color:#010D0A}
.pym-returns-item-qty select{background:#F7F7F7;border:none;border-radius:8px;padding:8px 12px}
.pym-returns-reason textarea, .pym-returns-field input{width:100%;background:#F7F7F7;border:none;border-radius:8px;padding:10px 12px}
.pym-returns-bank{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.pym-returns-field{flex:1 1 240px;display:flex;flex-direction:column;gap:6px}
.pym-returns-field label{font-size:12px;color:#828282}
.pym-returns-field input{transition:box-shadow .2s ease}
.pym-returns-field input:focus{box-shadow:0 0 0 2px #E0EBEA}
.pym-returns-total{margin-top:8px;display:flex;justify-content:flex-end}
.pym-returns-total-row{background:#F7F7F7;border-radius:8px;padding:10px 12px}
.pym-returns-actions{display:flex;gap:8px;justify-content:flex-start;margin-top:16px}
.pym-returns-submit{background:#005D52 !important;color:#fff;border:none !important;border-radius:8px;padding:10px 20px}
.pym-returns-calc{display:none}

/* مودال موفقیت */
.pym-returns-success-modal{backdrop-filter:blur(3px)}
.pym-returns-success-card h3{font-weight:600;color:#010D0A}
.pym-returns-success-card p{color:#828282}

/* جدول لیست درخواست‌ها */
.pym-returns-rows{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.pym-returns-row{display:grid;grid-template-columns:120px 120px 1fr 160px 140px 140px;align-items:center;padding:10px 12px;border-radius:10px}
.pym-returns-row--head{background:#005D52;color:#fff;font-weight:600}
.pym-returns-row--head .col{justify-content:center;font-size:13px}
.pym-returns-row:not(.pym-returns-row--head):nth-child(odd){background:#E0EBEA}
.pym-returns-row:not(.pym-returns-row--head):nth-child(even){background:#F7F7F7}
.pym-returns-row .col{display:flex;align-items:center;justify-content:center}

/* ریسپانسیو تبلت */
@media (max-width: 992px){
  .pym-returns-row{grid-template-columns:80px 90px 1fr 130px 120px 120px}
}

/* ریسپانسیو موبایل: کارت عمودی بدون اسکرول افقی */
@media (max-width: 575px){
  .pym-returns-row{grid-template-columns:1fr; grid-row-gap:6px}
  .pym-returns-row--head{display:none}
  .pym-returns-row:not(.pym-returns-row--head){padding:12px}
  .pym-returns-row .col{justify-content:space-between; font-size:13px}
  .pym-returns-row .col .woocommerce-Price-amount{font-size:13px}
  .pym-returns-badge{font-size:11px}
  .pym-returns-row .col.id::before{content:'شماره'; color:#010D0A; font-weight:600}
  .pym-returns-row .col.order::before{content:'سفارش'; color:#010D0A; font-weight:600}
  .pym-returns-row .col.date::before{content:'تاریخ'; color:#010D0A; font-weight:600}
  .pym-returns-row .col.amount::before{content:'مبلغ'; color:#010D0A; font-weight:600}
  .pym-returns-row .col.status::before{content:'وضعیت'; color:#010D0A; font-weight:600}
  .pym-returns-row .col.action{justify-content:center}
}
.pym-returns-badge{display:inline-flex;align-items:center;background:#E0EBEA;color:#005D52;border-radius:8px;padding:4px 10px;font-size:12px}

/* کارتِ جزئیات درخواست */
.pym-returns-details{display:flex;flex-direction:column;gap:16px}
.pym-returns-cards{display:flex;gap:12px;flex-wrap:wrap}
.pym-returns-card{flex:1 1 260px;background:#F7F7F7;border-radius:12px;padding:12px}
.pym-returns-items .pym-returns-item{align-items:center}
.pym-returns-item-right .pym-returns-item-title{font-size:14px}
.pym-returns-item-right .pym-returns-item-qty label{font-size:12px;color:#828282}

/* تایپوگرافی مینیمال */
.pym-returns-new h2,.pym-returns-details h2,.pym-returns-list h2{font-size:18px;font-weight:700;color:#010D0A;margin:0 0 12px}
.pym-returns-items h3{font-size:14px;font-weight:600;color:#010D0A;margin:0 0 8px}
.pym-returns-order-row{font-size:12px}
.pym-returns-total-row{font-size:14px}
.pym-returns-submit,.pym-returns-calc{font-size:14px}

/* دکمه‌های جدول */
.pym-returns-table .pymdashboard-order-action-btn{display:inline-flex;align-items:center;justify-content:center;height:36px;min-width:92px;border:none !important}

/* دکمه بستن مودال */
.pym-returns-close-x{background:#005D52 !important;border:none !important;color:#fff !important}

.button.pym-returns-close{background:#005D52 !important;border:none !important;color:#fff !important}

.pym-returns-rows p { display: none; }


