.zdp-dual-price{display:flex;flex-direction:column;gap:6px;line-height:1.8}
.zdp-offer-list{clear:both;width:100%;box-sizing:border-box;margin:34px 0 30px;display:flex;flex-direction:column;gap:24px}
.zdp-offer-heading{font-weight:800;font-size:20px;color:#1f2d3d;margin:0 0 12px;text-align:right;line-height:1.6}

.zdp-offer-group{width:100%;box-sizing:border-box}
.zdp-offer-group + .zdp-offer-group{padding-top:4px}
.zdp-offer-group-cash .zdp-offer-heading{color:#1f2d3d}
.zdp-offer-group-installment .zdp-offer-heading{color:#253a78}
.zdp-offer-card{display:grid;grid-template-columns:160px 220px minmax(220px,1fr) 220px;grid-template-areas:"action price middle meta";align-items:center;gap:14px;width:100%;box-sizing:border-box;background:#fff;border:1px solid #e6ebf2;border-radius:16px;padding:18px 16px;box-shadow:0 2px 8px rgba(16,24,40,.04);direction:ltr}
.zdp-offer-action{grid-area:action;text-align:center;direction:rtl}
.zdp-offer-price-wrap{grid-area:price;line-height:1.5;direction:rtl;text-align:right}
.zdp-offer-middle{grid-area:middle;font-size:14px;color:#475467;direction:rtl;text-align:right}
.zdp-offer-meta{grid-area:meta;justify-self:stretch;text-align:right;direction:rtl}
.zdp-offer-button.button.alt{width:100%;min-height:46px;border-radius:12px;background:#1f5ed6;border-color:#1f5ed6;color:#fff;font-weight:700;padding:10px 14px}
.zdp-offer-button.button.alt:hover{background:#184fb5;border-color:#184fb5;color:#fff}
.zdp-offer-old-price{font-size:13px;color:#727b8a;text-decoration:line-through;margin-bottom:4px}
.zdp-offer-price{font-size:25px;font-weight:800;color:#0f172a}
.zdp-offer-price .woocommerce-Price-currencySymbol{font-size:.85em}
.zdp-offer-stock{color:#16a34a;font-weight:700;margin-bottom:6px}
.zdp-offer-note{color:#667085;line-height:1.8}
.zdp-offer-seller{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:10px;font-size:15px;color:#0f172a}
.zdp-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1}
.zdp-badge-cash{background:#e8f1ff;color:#1f5ed6}
.zdp-badge-installment{background:#eef2ff;color:#4338ca}
.zdp-offer-performance{font-size:14px;color:#667085}
.zdp-performance-good{display:inline-block;margin-right:6px;padding:2px 10px;border:1px solid #43c07c;border-radius:8px;color:#16a34a;font-weight:700;background:#f3fff8}
.zdp-offer-card.zdp-active{border-color:#1f5ed6;box-shadow:0 0 0 3px rgba(31,94,214,.12)}
@media (max-width: 900px){
  .zdp-offer-list{margin:26px 0 24px}
  .zdp-offer-card{grid-template-columns:1fr;grid-template-areas:"meta" "middle" "price" "action";gap:12px;padding:16px}
  .zdp-offer-meta{justify-self:stretch}
  .zdp-offer-button.button.alt{width:100%}
}

.zdp-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:99999;padding:24px;overflow:auto}
.zdp-modal-dialog{max-width:880px;margin:4vh auto;background:#fff;border-radius:18px;padding:28px 34px 22px;position:relative;box-shadow:0 24px 60px rgba(15,23,42,.18)}
.zdp-modal-close{position:absolute;top:12px;left:14px;border:0;background:transparent;font-size:42px;line-height:1;color:#98a2b3;cursor:pointer}
.zdp-modal-head h3{margin:0 0 10px;font-size:34px;line-height:1.3;color:#0f2b57;font-weight:800;text-align:right}
.zdp-modal-head p{margin:0 0 18px;color:#334155;line-height:2;font-size:16px;text-align:right}
.zdp-modal-items{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}
.zdp-modal-item{display:flex;align-items:center;gap:16px;border:1px solid #e5e7eb;border-radius:12px;padding:14px 16px;background:#fff}
.zdp-modal-item-image img{width:54px;height:54px;object-fit:contain}
.zdp-modal-item-content{flex:1;display:flex;align-items:center;justify-content:space-between;gap:16px}
.zdp-modal-item-name{font-size:15px;font-weight:700;color:#111827;line-height:1.9}
.zdp-modal-item-qty{font-size:13px;color:#667085;font-weight:600}
.zdp-modal-item-price{font-size:18px;font-weight:800;color:#0f2b57;white-space:nowrap}
.zdp-modal-terms{border-top:1px solid #e5e7eb;padding-top:18px;margin-top:4px}
.zdp-modal-terms-title{font-size:23px;color:#0f2b57;font-weight:800;margin-bottom:10px;text-align:right}
.zdp-modal-terms ul{margin:0;padding:0 18px 0 0;list-style:disc}
.zdp-modal-terms li{margin:8px 0;color:#111827;font-size:16px;line-height:1.9}
.zdp-modal-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:18px;border-top:1px solid #e5e7eb;margin-top:18px}
.zdp-modal-guide.button,.zdp-modal-ok.button.alt{min-width:150px;min-height:42px;border-radius:12px;font-weight:700;padding:9px 18px}
.zdp-modal-guide.button{background:#fff;color:#1f5ed6;border:1px solid #1f5ed6}
.zdp-modal-ok.button.alt{background:#1f5ed6;border-color:#1f5ed6;color:#fff}
body.zdp-modal-open{overflow:hidden}
@media (max-width: 767px){
  .zdp-modal-dialog{padding:22px 18px 18px}
  .zdp-modal-head h3{font-size:24px;padding-left:28px}
  .zdp-modal-head p,.zdp-modal-terms li{font-size:14px}
  .zdp-modal-item-content{flex-direction:column;align-items:flex-start}
  .zdp-modal-item-price{font-size:16px}
  .zdp-modal-actions{flex-direction:column}
  .zdp-modal-guide.button,.zdp-modal-ok.button.alt{width:100%}
}

.zdp-main-cash-price{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px}
.zdp-main-cash-label{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;background:#e8f1ff;color:#1f5ed6;font-size:12px;font-weight:800;line-height:1.3;white-space:nowrap}

/* Product archive / product-grid pricing (v1.7). */
.zdp-archive-cash-price{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  width:100%;
  margin:2px 0 0;
  direction:rtl;
  text-align:right;
}
.zdp-archive-cash-title{
  display:block;
  color:#667085;
  font-size:12px;
  font-weight:600;
  line-height:1.5;
}
.zdp-archive-cash-amount{
  display:block;
  width:100%;
  color:inherit;
  font-weight:800;
  line-height:1.7;
}
.zdp-archive-payment-options{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:7px;
  width:100%;
  box-sizing:border-box;
  margin:9px 0 8px;
  direction:rtl;
}
.zdp-archive-payment-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:29px;
  box-sizing:border-box;
  padding:5px 10px;
  border:1px solid #d8e4fb;
  border-radius:9px;
  background:#f8fbff;
  color:#1759bd!important;
  font-size:11px;
  font-weight:800;
  line-height:1.35;
  text-decoration:none!important;
  white-space:nowrap;
  transition:border-color .18s ease,background-color .18s ease,transform .18s ease;
}
.zdp-archive-payment-chip:hover{
  border-color:#8eb4ef;
  background:#eef5ff;
  color:#114a9e!important;
  transform:translateY(-1px);
}
.zdp-archive-count-chip{
  border-color:#d7eee4;
  background:#f2fbf7;
  color:#087b52!important;
}
.zdp-archive-count-chip:hover{
  border-color:#89d5b9;
  background:#e9f8f1;
  color:#056944!important;
}
.zdp-archive-chip-icon{
  position:relative;
  display:inline-block;
  width:16px;
  height:12px;
  flex:0 0 16px;
  border:1.6px solid currentColor;
  border-radius:3px;
  box-sizing:border-box;
}
.zdp-archive-chip-icon:before{
  content:"";
  position:absolute;
  right:1px;
  left:1px;
  top:3px;
  height:1.6px;
  background:currentColor;
  opacity:.85;
}
.zdp-archive-chip-icon:after{
  content:"";
  position:absolute;
  left:2px;
  bottom:1.5px;
  width:4px;
  height:1.5px;
  border-radius:2px;
  background:currentColor;
}
#zdp-purchase-methods{scroll-margin-top:110px}

/* Keep archive badges compact in narrow product cards. */
@media (max-width: 480px){
  .zdp-archive-payment-options{gap:5px;margin-top:7px}
  .zdp-archive-payment-chip{padding:4px 7px;font-size:10px;min-height:27px}
}

/* Default-mode price presentation (v1.8). */
.zdp-main-default-price,
.zdp-main-cash-price,
.zdp-main-installment-price{
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.zdp-main-default-amount{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}
.zdp-main-default-label,
.zdp-main-cash-label,
.zdp-main-installment-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  line-height:1.3;
  white-space:nowrap;
}
.zdp-main-cash-label{background:#e8f1ff;color:#1f5ed6}
.zdp-main-installment-label{background:#eef2ff;color:#4338ca}

.zdp-archive-default-price,
.zdp-archive-cash-price,
.zdp-archive-installment-price{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  width:100%;
  margin:2px 0 0;
  direction:rtl;
  text-align:right;
}
.zdp-archive-default-title,
.zdp-archive-cash-title{
  display:block;
  color:#667085;
  font-size:12px;
  font-weight:600;
  line-height:1.5;
}
.zdp-archive-installment-price .zdp-archive-default-title{color:#4338ca}
.zdp-archive-default-amount,
.zdp-archive-cash-amount{
  display:block;
  width:100%;
  color:inherit;
  font-weight:800;
  line-height:1.7;
}
