.rms-dp-cod-disabled-product{border:1px solid #f0b9b9;background:#fff5f5;color:#8a1f1f;border-radius:10px;padding:12px 14px;margin:12px 0;font-size:14px;line-height:1.45;font-weight:600}.rms-dp-savebox,.rms-dp-live-message{border:1px solid #b6d7ff;background:#eef7ff;border-radius:10px;padding:12px 14px;margin:12px 0;font-size:14px;line-height:1.45}.rms-dp-savebox.success,.rms-dp-live-message.success{border-color:#9ad0a3;background:#effaf1;color:#155724}.rms-dp-savebox.notice,.rms-dp-live-message.notice{border-color:#b6d7ff;background:#eef7ff;color:#173b57}

/* Promotion page - compact responsive layout */
.rms-dp-promos{max-width:1240px;margin:0 auto;padding:24px 12px;box-sizing:border-box}.rms-dp-promos *{box-sizing:border-box}.rms-dp-promo-head{text-align:center;margin-bottom:20px}.rms-dp-promo-head h2{margin:0 0 7px;color:#1e73be;font-size:24px;line-height:1.22;font-weight:700}.rms-dp-promo-head p{margin:0 auto;color:#555;max-width:680px;font-size:13px;line-height:1.45}.rms-dp-grid{display:grid;grid-template-columns:repeat(var(--rms-dp-columns,4),minmax(0,1fr));gap:14px;align-items:stretch}.rms-dp-card{background:#fff;border:1px solid #e8e8e8;border-radius:14px;overflow:hidden;box-shadow:0 3px 10px rgba(0,0,0,.07);display:flex;flex-direction:column;min-width:0;height:100%;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.rms-dp-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.1);border-color:#1e73be}.rms-dp-img{display:block;position:relative;background:#f8f8f8;aspect-ratio:1/1;text-align:center;overflow:hidden}.rms-dp-img img{width:100%;height:100%;object-fit:contain;padding:12px;display:block}.rms-dp-img span{position:absolute;top:8px;right:8px;background:#1e73be;color:#fff;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:700;line-height:1;white-space:nowrap;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis}.rms-dp-card-body{padding:12px;display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}.rms-dp-card h3{font-size:14px!important;line-height:1.32!important;margin:0!important;min-height:38px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.rms-dp-card h3 a{text-decoration:none;color:#222}.rms-dp-price{font-weight:700;color:#1e73be;line-height:1.3;word-break:break-word;font-size:13px}.rms-dp-price .amount,.rms-dp-price ins,.rms-dp-price del{font-size:13px!important;line-height:1.25!important}.rms-dp-price del{opacity:.72;font-weight:500}.rms-dp-min{background:#f0f7ff;border-radius:9px;padding:7px 8px;margin:0;font-size:12px;line-height:1.3;color:#334}.rms-dp-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:auto}.rms-dp-actions .button,.rms-dp-actions button{width:100%;min-height:34px;text-align:center;display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;box-sizing:border-box;font-size:12px!important;line-height:1.1!important;padding:7px 8px!important;border-radius:8px}.rms-dp-notice{position:fixed;right:18px;top:18px;background:#1e73be;color:#fff;border-radius:12px;padding:12px 15px;box-shadow:0 8px 26px rgba(0,0,0,.22);z-index:999999;opacity:0;transform:translateY(-8px);transition:all .25s ease;max-width:340px;font-size:13px;line-height:1.4}.rms-dp-notice.show{opacity:1;transform:translateY(0)}.rms-dp-notice.success{background:#198754}.rms-dp-notice.error{background:#b32d2e}

@media(max-width:1100px){.rms-dp-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.rms-dp-promo-head h2{font-size:22px}.rms-dp-card h3{font-size:13px!important;min-height:35px}.rms-dp-price,.rms-dp-price .amount,.rms-dp-price ins,.rms-dp-price del{font-size:12.5px!important}}
@media(max-width:760px){.rms-dp-promos{padding:18px 9px}.rms-dp-promo-head{margin-bottom:15px}.rms-dp-promo-head h2{font-size:19px;line-height:1.25}.rms-dp-promo-head p{font-size:12px;line-height:1.4}.rms-dp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rms-dp-card{border-radius:12px}.rms-dp-img img{padding:9px}.rms-dp-img span{top:6px;right:6px;padding:4px 6px;font-size:8px;max-width:calc(100% - 12px)}.rms-dp-card-body{padding:9px;gap:6px}.rms-dp-card h3{font-size:12px!important;min-height:32px;line-height:1.3!important}.rms-dp-price,.rms-dp-price .amount,.rms-dp-price ins,.rms-dp-price del{font-size:11.5px!important}.rms-dp-min{font-size:10.5px;padding:6px}.rms-dp-actions{gap:5px}.rms-dp-actions .button,.rms-dp-actions button{min-height:30px;font-size:10.5px!important;padding:6px 5px!important;border-radius:7px}.rms-dp-notice{left:10px;right:10px;top:10px;max-width:none}}
@media(max-width:480px){.rms-dp-promos{padding:15px 8px}.rms-dp-promo-head h2{font-size:18px}.rms-dp-grid{grid-template-columns:1fr;gap:12px}.rms-dp-card{display:grid;grid-template-columns:112px minmax(0,1fr);border-radius:12px}.rms-dp-img{height:100%;min-height:112px;aspect-ratio:auto}.rms-dp-img img{padding:8px}.rms-dp-card-body{padding:9px;gap:6px}.rms-dp-card h3{font-size:12.5px!important;min-height:auto;-webkit-line-clamp:2}.rms-dp-price,.rms-dp-price .amount,.rms-dp-price ins,.rms-dp-price del{font-size:11.5px!important}.rms-dp-min{font-size:10.5px;padding:5px 6px}.rms-dp-actions{grid-template-columns:1fr 1fr;gap:5px}.rms-dp-actions .button,.rms-dp-actions button{min-height:29px;font-size:10px!important;padding:5px 4px!important}.rms-dp-img span{font-size:7px;padding:3px 5px}}
@media(max-width:340px){.rms-dp-card{grid-template-columns:96px minmax(0,1fr)}.rms-dp-img{min-height:96px}.rms-dp-actions{grid-template-columns:1fr}.rms-dp-card h3{font-size:12px!important}.rms-dp-promo-head h2{font-size:17px}}


/* v1.0.7: Strong mobile highlight for COD disabled product checkout notice */
.rms-dp-cod-disabled-product{display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;box-sizing:border-box!important;border:1px solid #f0b9b9!important;border-left:5px solid #dc3545!important;background:#fff5f5!important;color:#8a1f1f!important;border-radius:10px!important;padding:12px 14px!important;margin:12px 0 16px!important;font-size:14px!important;line-height:1.45!important;font-weight:600!important;box-shadow:0 4px 12px rgba(220,53,69,.08)!important;clear:both!important}.rms-dp-cod-disabled-product:before{display:none!important}.rms-dp-cod-disabled-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 22px!important;width:22px!important;height:22px!important;border-radius:50%!important;background:#dc3545!important;color:#fff!important;font-size:14px!important;font-weight:800!important;line-height:1!important;margin-top:0!important}@media(max-width:768px){.woocommerce-checkout .rms-dp-cod-disabled-product,.woocommerce .rms-dp-cod-disabled-product{display:flex!important;float:none!important;position:relative!important;width:100%!important;max-width:100%!important;min-height:0!important;margin:10px 0 14px!important;padding:11px 12px!important;border:1px solid #f0b9b9!important;border-left:5px solid #dc3545!important;background:#fff5f5!important;color:#8a1f1f!important;border-radius:9px!important;font-size:13px!important;line-height:1.45!important;text-align:left!important;box-shadow:0 3px 10px rgba(220,53,69,.10)!important}.woocommerce-checkout .rms-dp-cod-disabled-product span:last-child{display:block!important;flex:1!important}}

/* v1.0.8: Quantity based free delivery progress notice for cart and mini-cart popup */
.rms-dp-free-progress{display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;box-sizing:border-box!important;margin:12px 0 16px!important;padding:12px 14px!important;border-radius:10px!important;border:1px solid #b9def0!important;border-left:5px solid #1e73be!important;background:#f0f8ff!important;color:#17456b!important;font-size:14px!important;line-height:1.45!important;font-weight:600!important;box-shadow:0 4px 12px rgba(30,115,190,.08)!important;clear:both!important}.rms-dp-free-progress.success{border-color:#bfe6cc!important;border-left-color:#28a745!important;background:#f4fff7!important;color:#155724!important}.rms-dp-progress-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 22px!important;width:22px!important;height:22px!important;border-radius:50%!important;background:#1e73be!important;color:#fff!important;font-size:13px!important;font-weight:800!important;line-height:1!important;margin-top:0!important}.rms-dp-free-progress.success .rms-dp-progress-icon{background:#28a745!important}.rms-dp-mini-progress{margin:8px 10px 12px!important;padding:10px 11px!important;font-size:13px!important;border-radius:9px!important}.widget_shopping_cart_content .rms-dp-mini-progress,.woocommerce-mini-cart__empty-message+.rms-dp-mini-progress{max-width:calc(100% - 20px)!important}@media(max-width:768px){.rms-dp-free-progress{margin:10px 0 14px!important;padding:11px 12px!important;font-size:13px!important;line-height:1.45!important;border-radius:9px!important}.rms-dp-mini-progress{margin:8px 8px 10px!important;padding:10px!important;font-size:12.5px!important;box-shadow:0 3px 10px rgba(30,115,190,.10)!important}.rms-dp-progress-icon{flex-basis:20px!important;width:20px!important;height:20px!important;font-size:12px!important}.rms-dp-free-progress span:last-child{display:block!important;flex:1!important}}


/* v1.0.9: Strong responsive free-delivery progress notice for cart drawer, cart page and checkout top */
.rms-dp-free-progress,
.woocommerce .rms-dp-free-progress,
.widget_shopping_cart_content .rms-dp-free-progress,
.elementor-menu-cart__main .rms-dp-free-progress,
.elementor-menu-cart__products .rms-dp-free-progress,
.ast-site-header-cart .rms-dp-free-progress,
.xoo-wsc-container .rms-dp-free-progress,
.cart-drawer .rms-dp-free-progress,
.side-cart .rms-dp-free-progress,
.shopping-cart .rms-dp-free-progress{
  display:flex!important;align-items:flex-start!important;gap:9px!important;width:auto!important;max-width:100%!important;box-sizing:border-box!important;
  margin:10px 12px 14px!important;padding:11px 12px!important;border-radius:10px!important;border:1px solid #b9def0!important;border-left:5px solid #1e73be!important;
  background:#f0f8ff!important;color:#17456b!important;font-size:13px!important;line-height:1.42!important;font-weight:600!important;text-align:left!important;
  box-shadow:0 4px 12px rgba(30,115,190,.10)!important;clear:both!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;float:none!important;
}
.rms-dp-free-progress.success{border-color:#bfe6cc!important;border-left-color:#28a745!important;background:#f4fff7!important;color:#155724!important}
.rms-dp-free-progress .rms-dp-progress-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 21px!important;width:21px!important;height:21px!important;border-radius:50%!important;background:#1e73be!important;color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:1!important;margin-top:0!important}
.rms-dp-free-progress.success .rms-dp-progress-icon{background:#28a745!important}
.rms-dp-free-progress span:last-child{display:block!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important}
.rms-dp-notice.progress{background:#1e73be!important;border-left:5px solid #0d4f8b!important;padding-left:14px!important;font-weight:600!important}
.woocommerce-checkout .rms-dp-free-progress{margin:10px 0 14px!important}
@media(min-width:769px){
  .widget_shopping_cart_content .rms-dp-free-progress,.elementor-menu-cart__main .rms-dp-free-progress,.cart-drawer .rms-dp-free-progress,.side-cart .rms-dp-free-progress,.shopping-cart .rms-dp-free-progress{font-size:13px!important;line-height:1.4!important;margin:10px 16px 14px!important;max-width:calc(100% - 32px)!important}
}
@media(max-width:768px){
  .rms-dp-free-progress,.woocommerce .rms-dp-free-progress,.widget_shopping_cart_content .rms-dp-free-progress,.elementor-menu-cart__main .rms-dp-free-progress,.cart-drawer .rms-dp-free-progress,.side-cart .rms-dp-free-progress,.shopping-cart .rms-dp-free-progress{font-size:12.5px!important;line-height:1.42!important;margin:8px 8px 12px!important;padding:10px 10px!important;border-radius:9px!important;max-width:calc(100% - 16px)!important}
  .woocommerce-checkout .rms-dp-free-progress{margin:8px 0 12px!important;max-width:100%!important}
  .rms-dp-free-progress .rms-dp-progress-icon{flex-basis:20px!important;width:20px!important;height:20px!important;font-size:11px!important}
}

/* v1.0.14 delivery estimate and checkout notice cleanup */
.rms-dp-delivery-estimate{border:1px solid #d6e6f7;background:#f7fbff;color:#173b57;border-radius:9px;padding:10px 12px;margin:10px 0 14px;font-size:13px;line-height:1.45;box-sizing:border-box}.woocommerce-checkout .rms-dp-checkout-progress{margin:12px 0 16px!important}.woocommerce-checkout [data-rms-dp-savebox="1"].success{display:none!important}@media(max-width:768px){.rms-dp-delivery-estimate{font-size:12.5px;padding:9px 10px;margin:8px 0 12px}}

/* v1.0.15: Built-in WooCommerce city restrictions */
.rms-dp-city-restriction-notice,.rms-dp-city-restriction-error{clear:both!important;box-sizing:border-box!important;border-radius:10px!important;line-height:1.45!important;overflow-wrap:anywhere!important}.rms-dp-city-restriction-notice{border-left:5px solid #1e73be!important}.rms-dp-city-restriction-error{border-left:5px solid #dc3545!important}.rms-dp-city-products{margin:8px 0 0 20px!important;padding:0!important}.rms-dp-city-products li{margin:2px 0!important}@media(max-width:768px){.rms-dp-city-restriction-notice,.rms-dp-city-restriction-error{font-size:13px!important;margin:9px 0 12px!important;padding:10px 12px!important}}

/* v1.0.16: keep checkout offer/congratulations box below login/coupon row as a full-width row */
.woocommerce-checkout .rms-dp-checkout-progress,
.woocommerce-checkout [data-rms-dp-progress="1"].rms-dp-checkout-progress{
  display:flex!important;
  clear:both!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  grid-column:1 / -1!important;
  flex-basis:100%!important;
  box-sizing:border-box!important;
  margin:12px 0 18px!important;
}
.woocommerce-checkout .woocommerce-form-login-toggle + .rms-dp-checkout-progress,
.woocommerce-checkout .woocommerce-form-coupon-toggle + .rms-dp-checkout-progress,
.woocommerce-checkout form.checkout_coupon + .rms-dp-checkout-progress{
  margin-top:12px!important;
}


/* v1.0.17: checkout offer slot does not affect WooCommerce login/coupon toggles */
.woocommerce-checkout #rms-dp-checkout-offer-slot.rms-dp-checkout-offer-slot{
  display:block!important;
  clear:both!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  grid-column:1 / -1!important;
  box-sizing:border-box!important;
  margin:0 0 10px!important;
}
.woocommerce-checkout #rms-dp-checkout-offer-slot:empty{display:none!important}
.woocommerce-checkout #rms-dp-checkout-offer-slot .rms-dp-checkout-progress{margin:10px 0 14px!important;width:100%!important;max-width:100%!important}
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}


/* State/region restriction popup modal and checkout error notice */
.rms-dp-state-restriction-error{clear:both!important;box-sizing:border-box!important;border-radius:10px!important;line-height:1.45!important;overflow-wrap:anywhere!important;border-left:5px solid #dc3545!important;margin:12px 0!important;padding:12px 14px!important;font-size:14px!important}
.rms-dp-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:999999;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s ease;padding:16px;box-sizing:border-box}
.rms-dp-modal-overlay.show{opacity:1}
.rms-dp-modal-box{background:#fff;border-radius:12px;max-width:420px;width:100%;padding:20px 22px;box-shadow:0 12px 40px rgba(0,0,0,.28);transform:translateY(-10px);transition:transform .2s ease;box-sizing:border-box}
.rms-dp-modal-overlay.show .rms-dp-modal-box{transform:translateY(0)}
.rms-dp-modal-header{font-size:16px;font-weight:700;color:#b32d2e;margin-bottom:10px}
.rms-dp-modal-body{font-size:14px;line-height:1.5;color:#333;margin-bottom:18px}
.rms-dp-modal-close{width:100%;background:#1e73be;color:#fff;border:none;padding:10px 14px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer}
.rms-dp-modal-close:hover{background:#175a94}
@media(max-width:480px){.rms-dp-modal-box{padding:16px 18px}.rms-dp-modal-header{font-size:15px}.rms-dp-modal-body{font-size:13px}}
