/* Rapid Mind Extras — WooCommerce Extras: add-ons, checkout order list, offers.
   Colours come from the settings as CSS variables (inline style); the values below are fallbacks. */

.rme-addons, .rme-ol, .rme-ol-top, .rme-offer, .rme-offers, .rme-gift-controls {
	--rme-ink: #1F1A14; --rme-mut: #756B5C; --rme-line: #EAE3D9; --rme-line2: #F3EEE6;
	font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
}

/* ---------- Quantity buttons ---------- */
.rme-step { display: inline-flex; align-items: center; flex: 0 0 auto; height: 30px; border: 1px solid #D9CFC2; border-radius: 6px; overflow: hidden; background: #fff; }
.rme-step .rme-step__btn { width: 28px; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; color: #4A4339; font: 600 16px/1 system-ui, sans-serif; cursor: pointer; box-shadow: none; }
.rme-step .rme-step__btn:hover { background: #F6F1EA; }
.rme-step .rme-step__btn:disabled { color: #C9C0B4; cursor: default; background: #fff; }
.rme-step .rme-step__btn:focus-visible { outline: 2px solid var(--rme-ac, #D63384); outline-offset: -2px; }
.rme-step .rme-step__val { min-width: 30px; text-align: center; font-size: 14px; font-weight: 700; color: var(--rme-ink); border-left: 1px solid var(--rme-line); border-right: 1px solid var(--rme-line); line-height: 28px; }

/* ---------- Add-ons (product page) ---------- */
.rme-addons { flex: 0 0 100%; width: 100%; box-sizing: border-box; margin: 4px 0 16px; padding: 14px; border: 1px solid var(--rme-line); border-radius: 10px; background: #fff; clear: both; }
.rme-addons.is-waiting { display: none; }
.rme-addons__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.rme-addons__title { font-size: 17px; font-weight: 700; color: var(--rme-ink); }
.rme-addons__title::before { content: "✦ "; color: var(--rme-ac, #D63384); }
.rme-addons__sub { font-size: 13px; color: var(--rme-mut); }
.rme-addon { position: relative; box-sizing: border-box; }
.rme-addon input.rme-addon__on, .rme-addon input[type="checkbox"] { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--rme-ac, #D63384); cursor: pointer; }
.rme-addon__pic { display: block; margin: 0; cursor: pointer; line-height: 0; }
.rme-addon__img { width: 52px !important; height: 52px !important; max-width: none; object-fit: cover; object-position: top; border-radius: 6px; }
.rme-addon__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.rme-addon__name { display: block; margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--rme-ink); cursor: pointer; }
.rme-addon__sub { font-size: 12px; color: var(--rme-mut); line-height: 1.3; }
.rme-addon__var { width: 100%; max-width: 220px; height: 30px; min-height: 0; margin: 0; padding: 0 28px 0 8px; border: 1px solid #D9CFC2; border-radius: 5px; background-color: #fff; font-size: 12.5px; line-height: 28px; color: #4A4339; }
.rme-addon__line { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.rme-addon__price { font-size: 13px; font-weight: 700; color: var(--rme-ac, #D63384); }
.rme-addon__price del { color: #9a8f80; font-weight: 400; margin-right: 4px; }
.rme-addon__free, .rme-chip { display: inline-block; padding: 1px 7px; border-radius: 4px; background: var(--rme-ok, #2E7D32); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.5; vertical-align: 1px; }
.rme-addon__free[hidden], .rme-addon__note[hidden], .rme-addon__err[hidden] { display: none; }
.rme-addon__note { font-size: 12px; line-height: 1.35; color: #8C8274; }
.rme-addon__note a { color: var(--rme-ac, #D63384); text-decoration: underline; font-weight: 600; }
.rme-addon__err { font-size: 12.5px; font-weight: 600; color: #B3261E; }
.rme-addon:not(.is-on) .rme-step { opacity: .45; }
.rme-addon.is-error .rme-addon__var { border-color: #B3261E; box-shadow: 0 0 0 1px #B3261E; }

/* Tiles */
.rme-addons--tiles .rme-addons__items { display: grid; grid-template-columns: repeat(var(--rme-cols, 2), minmax(0, 1fr)); gap: 8px; }
.rme-addons--tiles .rme-addon { display: grid; grid-template-columns: 18px 52px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px; border: 1px solid var(--rme-line); border-radius: 8px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.rme-addons--tiles .rme-addon.is-on { border-color: var(--rme-ac, #D63384); box-shadow: 0 0 0 1px var(--rme-ac, #D63384); background: var(--rme-ac-soft, #FBEAF1); }

/* List */
.rme-addons--list .rme-addon { display: grid; grid-template-columns: 20px 52px minmax(0, 1fr) auto; grid-template-areas: "chk pic name line" "chk pic body line"; column-gap: 10px; row-gap: 3px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--rme-line2); }
.rme-addons--list .rme-addon > input { grid-area: chk; margin: 0; }
.rme-addons--list .rme-addon__pic { grid-area: pic; grid-row: 1 / span 2; }
.rme-addons--list .rme-addon__body { display: contents; }
.rme-addons--list .rme-addon__name { grid-area: name; align-self: end; }
.rme-addons--list .rme-addon__var, .rme-addons--list .rme-addon__sub, .rme-addons--list .rme-addon__note, .rme-addons--list .rme-addon__err { grid-column: 3; }
.rme-addons--list .rme-addon__line { grid-area: line; grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; justify-content: center; }
.rme-addons--list .rme-addon__price { color: var(--rme-ink); white-space: nowrap; }
.rme-addons--list .rme-addon:not(.is-on):not(.rme-addon--main) .rme-addon__name, .rme-addons--list .rme-addon:not(.is-on):not(.rme-addon--main) .rme-addon__img { opacity: .6; }
.rme-addons--list .rme-addon--main input { opacity: .5; cursor: default; }
.rme-addons__btn { display: block; width: 100%; margin: 12px 0 0; padding: 13px 16px; border: 0; border-radius: 4px; background: var(--rme-ac, #D63384); color: #fff; font: 700 17px/1.2 "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; cursor: pointer; }
.rme-addons__btn:hover { filter: brightness(.92); }

.rme-addons__total { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--rme-line); font-size: 14px; color: #4A4339; }
.rme-addons__amount { font-size: 17px; color: var(--rme-ink); white-space: nowrap; }
.rme-addons__amount-wrap { white-space: nowrap; }

@media (max-width: 600px) {
	.rme-addons--tiles .rme-addons__items { grid-template-columns: 1fr; }
	.rme-addons__total { flex-wrap: wrap; }
}

/* ---------- Offer bar ---------- */
.rme-offer-wrap { flex: 0 0 100%; width: 100%; clear: both; }
.rme-offer { box-sizing: border-box; margin: 0 0 14px; padding: 12px 14px; border: 1px dashed var(--rme-of, #D63384); border-radius: 10px; background: var(--rme-of-soft, #FBEAF1); color: var(--rme-ink); }
.rme-offer__h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; line-height: 1.35; }
.rme-offer__ico { flex: 0 0 auto; color: var(--rme-of, #D63384); }
.rme-offer__d { margin: 4px 0 8px; font-size: 13.5px; line-height: 1.5; color: #4A4339; }
.rme-offer__prog { height: 9px; border-radius: 99px; overflow: hidden; background: rgba(0, 0, 0, .08); }
.rme-offer__prog i { display: block; height: 100%; border-radius: 99px; background: var(--rme-of, #D63384); transition: width .3s ease; }
.rme-offer__steps { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 11.5px; color: var(--rme-mut); }
.rme-offer.is-done { border-style: solid; border-color: var(--rme-ok, #2E7D32); background: var(--rme-ok-soft, #EAF5EC); }
.rme-offer.is-done .rme-offer__ico { color: var(--rme-ok, #2E7D32); }
.rme-offer.is-done .rme-offer__prog i { background: var(--rme-ok, #2E7D32); }
.rme-offer__topup { display: inline-block; margin: 10px 0 0; padding: 7px 12px; min-height: 0; border: 1.5px solid var(--rme-of, #D63384); border-radius: 6px; background: #fff; color: var(--rme-of, #D63384); font: 700 13.5px/1.3 "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; cursor: pointer; }
.rme-offer__topup:hover { background: var(--rme-of-soft, #FBEAF1); }
.rme-offers--cart { margin: 0 0 18px; }

/* ---------- Checkout order list ---------- */
.rme-ol-row > td { padding: 0 0 12px !important; border: 0 !important; }
.rme-ol-top { margin: 0 0 18px; }
.rme-ol-top__h { margin: 4px 0 10px; font-size: 19px; font-weight: 700; color: var(--rme-ink); }
.rme-ol.is-busy, .rme-ol-top.is-busy, .rme-offers.is-busy { opacity: .55; pointer-events: none; transition: opacity .15s ease; }
.rme-ol__list { border: 1px solid var(--rme-line); border-radius: 10px; background: #fff; padding: 2px 12px; }
.rme-ol__item { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto 24px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rme-line2); }
.rme-ol__item:last-child { border-bottom: 0; }
.rme-ol__pic { line-height: 0; }
.rme-ol__pic img, .rme-ol__img { width: 46px !important; height: 46px !important; max-width: none; border-radius: 6px; object-fit: cover; object-position: top; }
.rme-ol__name { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--rme-ink); overflow-wrap: anywhere; }
.rme-ol__name small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 400; color: #8C8274; }
.rme-ol__price { font-size: 13.5px; font-weight: 700; color: var(--rme-ink); white-space: nowrap; text-align: right; }
.rme-ol__price del, .rme-cart-free del { display: block; font-size: 11.5px; font-weight: 400; color: #9a8f80; }
.rme-ol__qty { font-size: 13px; color: var(--rme-mut); white-space: nowrap; }
.rme-ol__x { width: 24px; height: 24px; min-height: 0; margin: 0; padding: 0; border: 1px solid #E3DCCF; border-radius: 50%; background: #fff; color: #9a8f80; font: 12px/1 system-ui, sans-serif; cursor: pointer; }
.rme-ol__x:hover { color: #B3261E; border-color: #B3261E; }
.rme-ol__item.is-gift { margin: 0 -12px; padding: 10px 12px; background: var(--rme-ok-soft, #F2F9F3); }
.rme-ol__item.is-gift .rme-ol__price, .rme-free { color: var(--rme-ok, #2E7D32); font-weight: 700; }
.rme-ol__undo { padding: 9px 0; font-size: 12.5px; color: var(--rme-mut); border-bottom: 1px solid var(--rme-line2); }
.rme-ol__undo s { color: #9a8f80; }
.rme-ol__undo-btn { margin: 0; padding: 0; min-height: 0; border: 0; background: none; color: var(--rme-ac, #D63384); font: 600 12.5px/1.4 inherit; text-decoration: underline; cursor: pointer; }
.rme-ol .rme-offer { margin: 0 0 12px; }

.rme-gift-note { font-size: 12px; color: #4A4339; }
.rme-gift-change { display: inline; margin: 0; font-size: 12px; font-weight: 600; color: var(--rme-ac, #D63384); }
.rme-gift-change select { display: inline-block; width: auto; min-width: 130px; height: 28px; min-height: 0; margin: 2px 0 0 4px; padding: 0 28px 0 8px; border: 1px solid #D9CFC2; border-radius: 4px; font-size: 12px; line-height: 24px; background-color: #fff; }
.rme-gift-controls { margin-top: 4px; }

.rme-ol-add { margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--rme-line); border-radius: 10px; background: #fff; }
.rme-ol-add__t { margin-bottom: 4px; font-size: 15px; font-weight: 700; color: var(--rme-ink); }
.rme-ol-add__t::before { content: "✦ "; color: var(--rme-ac, #D63384); }
.rme-ol-add__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--rme-line2); }
.rme-ol-add__row:first-of-type { border-top: 0; }
.rme-ol-add__img { width: 40px !important; height: 40px !important; max-width: none; border-radius: 6px; object-fit: cover; object-position: top; }
.rme-ol-add__name { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--rme-ink); }
.rme-ol-add__name small { display: block; font-size: 12px; font-weight: 700; color: var(--rme-ac, #D63384); }
.rme-ol-add__var { display: block; width: auto; min-width: 150px; max-width: 100%; height: 30px; min-height: 0; margin: 4px 0 0; padding: 0 28px 0 8px; border: 1px solid #D9CFC2; border-radius: 4px; font-size: 12px; line-height: 26px; background-color: #fff; }
.rme-ol-add__var.is-error { border-color: #B3261E; box-shadow: 0 0 0 1px #B3261E; }
.rme-ol-add__btn { margin: 0; padding: 6px 12px; min-height: 0; border: 1.5px solid var(--rme-ac, #D63384); border-radius: 6px; background: #fff; color: var(--rme-ac, #D63384); font: 700 13px/1.3 "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; white-space: nowrap; cursor: pointer; }
.rme-ol-add__btn:hover { background: var(--rme-ac-soft, #FBEAF1); }

@media (max-width: 600px) {
	.rme-ol__item { grid-template-columns: 46px minmax(0, 1fr) auto 24px; row-gap: 6px; }
	.rme-ol__item .rme-step, .rme-ol__item .rme-ol__qty { grid-column: 2; grid-row: 2; justify-self: start; }
	.rme-ol__item .rme-ol__price { grid-column: 3; grid-row: 1 / span 2; }
	.rme-ol__item .rme-ol__x, .rme-ol__item .rme-ol__x-none { grid-column: 4; grid-row: 1 / span 2; }
	.rme-ol__item .rme-ol__pic { grid-row: 1 / span 2; }
}

/* Our selects are shorter than the theme's (Shoptimizer puts the arrow 12px from the top of a 40px box):
   keep the arrow centred whatever the height. */
.rme-addon__var, .rme-ol-add__var, .rme-gift-change select { background-position: right 9px center; background-size: 12px 12px; background-repeat: no-repeat; }

/* Gift lines in the cart table */
.rme-gift-qty { display: inline-block; min-width: 2em; font-weight: 700; text-align: center; }

/* ---------- Checkout: courier choice in the form, summary line, coupon box ---------- */
form.checkout .rme-ship-choice { margin: 0 0 1em; }
form.checkout .rme-ship-choice .rme-ship-choice__label { display: block; }
form.checkout .rme-ship-choice .rme-ship-choice__opts { display: flex; flex-direction: column; gap: 8px; }
form.checkout .rme-ship-choice .rme-ship-opt { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border: 1px solid #e3e0da; border-radius: 8px; background: #fff; cursor: pointer; font-weight: 600; line-height: 1.3; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
form.checkout .rme-ship-choice .rme-ship-opt:hover { border-color: var(--rme-ac, #D63384); }
form.checkout .rme-ship-choice .rme-ship-opt input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--rme-ac, #D63384); }
form.checkout .rme-ship-choice .rme-ship-opt__name { flex: 1 1 auto; }
form.checkout .rme-ship-choice .rme-ship-opt__cost { flex: 0 0 auto; font-weight: 700; color: var(--rme-ac, #D63384); white-space: nowrap; }
form.checkout .rme-ship-choice .rme-ship-opt.is-on, form.checkout .rme-ship-choice .rme-ship-opt:has(input:checked) { border-color: var(--rme-ac, #D63384); box-shadow: 0 0 0 1px var(--rme-ac, #D63384); background: var(--rme-ac-soft, #FBEAF1); }
form.checkout .rme-ship-choice .rme-ship-opt:has(input:focus-visible) { outline: 2px solid var(--rme-ac, #D63384); outline-offset: 2px; }
.rme-ship-line td { white-space: nowrap; text-align: right; }
.rme-coupon-row > td { padding: 4px 0 10px !important; border: 0 !important; }
.rme-coupon .rme-coupon__toggle { display: inline; min-height: 0; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.rme-coupon .rme-coupon__toggle span { color: var(--rme-ac, #D63384); font-weight: 600; text-decoration: underline; }
.rme-coupon .rme-coupon__box { display: flex; gap: 8px; margin-top: 8px; }
.rme-coupon .rme-coupon__box[hidden] { display: none; }
.rme-coupon .rme-coupon__code { flex: 1 1 auto; min-width: 0; height: 40px; margin: 0; }
.rme-coupon .rme-coupon__apply { flex: 0 0 auto; height: 40px; min-height: 0; margin: 0; padding: 0 14px; white-space: nowrap; }
.rme-coupon.is-busy { opacity: .6; pointer-events: none; }
.rme-coupon .rme-coupon-notice { margin: 8px 0 0; font-size: 14px; }
.rme-coupon .rme-coupon-notice ul, .rme-coupon .rme-coupon-notice .woocommerce-error, .rme-coupon .rme-coupon-notice .woocommerce-message { margin: 0; }

/* ---------- Popup checkout (product page) ---------- */
html.rme-pop-open, html.rme-pop-open body { overflow: hidden !important; }
.rme-pop { --rme-ink: #1F1A14; --rme-line: #E3DCCF; position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(20, 16, 12, .55); font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; color: var(--rme-ink); }
.rme-pop[hidden] { display: none; }
.rme-pop__panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain; background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.rme-pop.is-busy .rme-pop__form { opacity: .6; pointer-events: none; transition: opacity .15s ease; }
.rme-pop__head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: #fff; border-bottom: 1px solid #F0EBE3; }
.rme-pop__title { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: .01em; color: var(--rme-ink); }
.rme-pop .rme-pop__x { width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #F4F0EA; color: var(--rme-ink); font: 400 24px/36px system-ui, sans-serif; text-align: center; cursor: pointer; }
.rme-pop__wait { display: flex; align-items: center; justify-content: center; min-height: 220px; }
.rme-pop__spin { width: 36px; height: 36px; border: 3px solid #EEE7DD; border-top-color: var(--rme-ac, #D63384); border-radius: 50%; animation: rme-spin .8s linear infinite; }
@keyframes rme-spin { to { transform: rotate(360deg); } }
.rme-pop__form { padding: 16px 20px 20px; }
.rme-pop__notices:empty, .rme-pop__cmsg:empty { display: none; }
/* Themes float WooCommerce messages as toasts; in the popup they stay in place. */
.rme-pop .woocommerce-NoticeGroup, .rme-pop .woocommerce-error, .rme-pop .woocommerce-message, .rme-pop .woocommerce-info { position: static !important; inset: auto !important; transform: none !important; width: auto !important; max-width: none !important; min-width: 0 !important; margin: 0 0 12px !important; box-shadow: none !important; animation: none !important; opacity: 1 !important; visibility: visible !important; font-size: 14px; line-height: 1.5; border-radius: 8px; }
.rme-pop .woocommerce-error li, .rme-pop .woocommerce-message li { margin: 0; }
.rme-pop__notices ul, .rme-pop__cmsg ul, .rme-pop__cmsg .woocommerce-message, .rme-pop__cmsg .woocommerce-error { margin: 0 0 12px; }
.rme-pop .form-row { float: none; width: 100%; margin: 0 0 14px; padding: 0; }
.rme-pop .form-row label { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.rme-pop .form-row .required { color: #D2322D; text-decoration: none; border: 0; }
.rme-pop .woocommerce-input-wrapper { display: flex; align-items: stretch; width: 100%; }
.rme-pop .form-row .input-text, .rme-pop .form-row textarea, .rme-pop .form-row select { flex: 1 1 auto; width: 100%; min-width: 0; height: 46px; margin: 0; padding: 0 12px; border: 1px solid #D9D4CC; border-radius: 8px; background: #fff; font-size: 16px; box-shadow: none; }
.rme-pop .form-row textarea { height: 80px; padding: 10px 12px; }
.rme-pop .form-row .input-text:focus, .rme-pop .form-row textarea:focus { border-color: var(--rme-ac, #D63384); outline: 0; box-shadow: 0 0 0 1px var(--rme-ac, #D63384); }
.rme-pop .woocommerce-invalid .input-text { border-color: #D2322D; }
.rme-pop .has-icons .rme-pop__field--name .woocommerce-input-wrapper::before,
.rme-pop .has-icons .rme-pop__field--phone .woocommerce-input-wrapper::before,
.rme-pop .has-icons .rme-pop__field--email .woocommerce-input-wrapper::before,
.rme-pop .has-icons .rme-pop__field--place .woocommerce-input-wrapper::before,
.rme-pop .has-icons .rme-pop__field--note .woocommerce-input-wrapper::before { content: ""; flex: 0 0 46px; border: 1px solid #D9D4CC; border-right: 0; border-radius: 8px 0 0 8px; background: #EFEBE5 center / 18px 18px no-repeat; }
.rme-pop .has-icons .rme-pop__field--name .input-text, .rme-pop .has-icons .rme-pop__field--phone .input-text, .rme-pop .has-icons .rme-pop__field--email .input-text, .rme-pop .has-icons .rme-pop__field--place .input-text, .rme-pop .has-icons .rme-pop__field--note textarea { border-radius: 0 8px 8px 0; }
.rme-pop .has-icons .rme-pop__field--name .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231F1A14'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E"); }
.rme-pop .has-icons .rme-pop__field--phone .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231F1A14'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.rme-pop .has-icons .rme-pop__field--email .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1A14' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8'/%3E%3C/svg%3E"); }
.rme-pop .has-icons .rme-pop__field--place .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231F1A14'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.rme-pop .has-icons .rme-pop__field--note .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1A14' stroke-width='2'%3E%3Cpath d='M4 4h16v12H8l-4 4z'/%3E%3C/svg%3E"); }
@media (min-width: 600px) {
	.rme-pop .labels-side .rme-pop__field .form-row, .rme-pop .labels-side .rme-ship-choice { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; column-gap: 12px; }
	.rme-pop .labels-side .rme-pop__field .form-row label, .rme-pop .labels-side .rme-ship-choice .rme-ship-choice__label { margin: 0; }
}
.rme-pop .rme-ship-choice { margin: 0 0 14px; }
.rme-pop .rme-ship-choice .rme-ship-choice__label { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.rme-pop .rme-ship-choice__opts, .rme-pop__pay { display: flex; flex-direction: column; gap: 8px; }
.rme-pop__pay { margin: 0 0 14px; }
.rme-pop .rme-pop__form label.rme-ship-opt { display: flex; width: auto; float: none; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border: 1px solid #E3E0DA; border-radius: 8px; background: #fff; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.3; }
.rme-pop .rme-pop__form label.rme-ship-opt input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--rme-ac, #D63384); }
.rme-pop .rme-pop__form .rme-ship-opt__name { flex: 1 1 auto; }
.rme-pop .rme-pop__form .rme-ship-opt__cost { flex: 0 0 auto; font-weight: 700; color: var(--rme-ac, #D63384); white-space: nowrap; }
.rme-pop .rme-pop__form label.rme-ship-opt.is-on, .rme-pop .rme-pop__form label.rme-ship-opt:has(input:checked) { border-color: var(--rme-ac, #D63384); box-shadow: 0 0 0 1px var(--rme-ac, #D63384); background: var(--rme-ac-soft, #FBEAF1); }
.rme-pop__coupon { display: flex; gap: 8px; margin: 4px 0 12px; }
.rme-pop .rme-pop__code { flex: 1 1 auto; min-width: 0; height: 46px; margin: 0; padding: 0 12px; border: 1px solid #D9D4CC; border-radius: 8px; font-size: 15px; }
.rme-pop .rme-pop__apply { flex: 0 0 auto; height: 46px; min-height: 0; margin: 0; padding: 0 18px; border: 0; border-radius: 8px; background: var(--rme-ink); color: #fff; font: 700 15px/1 inherit; cursor: pointer; white-space: nowrap; }
.rme-pop .rme-offer { margin: 0 0 12px; }
.rme-pop__items { border-top: 1px solid #EEE7DD; border-bottom: 1px solid #EEE7DD; padding: 4px 0; margin: 0 0 12px; }
.rme-pop__item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto 26px; gap: 10px; align-items: center; padding: 8px 0; }
.rme-pop__item + .rme-pop__item { border-top: 1px solid #F3EEE6; }
.rme-pop__pic { position: relative; line-height: 0; }
.rme-pop__pic img { width: 58px !important; height: 58px !important; max-width: none; border-radius: 8px; object-fit: cover; object-position: top; }
.rme-pop__badge { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #5F5A55; color: #fff; font: 700 12px/22px system-ui, sans-serif; text-align: center; }
.rme-pop__name { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.rme-pop__name small { font-weight: 400; font-size: 12px; }
.rme-pop__name .rme-step { align-self: flex-start; height: 28px; }
.rme-pop__price { font-size: 14px; font-weight: 700; white-space: nowrap; text-align: right; }
.rme-pop__price del { display: block; font-size: 11.5px; font-weight: 400; color: #9a8f80; }
.rme-pop__item.is-gift .rme-pop__price { color: var(--rme-ok, #2E7D32); }
.rme-pop .rme-pop__rm { width: 26px; height: 26px; min-height: 0; margin: 0; padding: 0; border: 1px solid #E3DCCF; border-radius: 50%; background: #fff; color: #9a8f80; font: 12px/1 system-ui, sans-serif; cursor: pointer; }
.rme-pop__totals { margin: 0 0 14px; padding: 10px 14px; border-radius: 8px; background: #F3F0EB; }
.rme-pop__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; }
.rme-pop__row span:last-child { font-weight: 700; text-align: right; white-space: nowrap; }
.rme-pop__row--total { margin-top: 4px; padding-top: 9px; border-top: 1px solid #DDD6CB; font-size: 17px; font-weight: 800; }
.rme-pop .rme-pop__uncoupon { min-height: 0; margin: 0 0 0 4px; padding: 0; border: 0; background: none; color: var(--rme-ac, #D63384); font: 400 12px/1 inherit; text-decoration: underline; cursor: pointer; }
.rme-pop__terms { margin: 0 0 12px; font-size: 13px; }
.rme-pop__foot { position: sticky; bottom: -20px; z-index: 2; margin: 0 -20px -20px; padding: 12px 20px 16px; background: #fff; box-shadow: 0 -8px 16px rgba(255, 255, 255, .9); }
.rme-pop .rme-pop__submit { display: block; width: 100%; min-height: 52px; margin: 0; padding: 12px 16px; border: 0; border-radius: 8px; background: var(--rme-pop-btn, #1F1A14); color: #fff; font: 800 18px/1.25 "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; cursor: pointer; }
.rme-pop .rme-pop__submit:hover { filter: brightness(.92); }
.rme-pop__form.is-sending .rme-pop__submit { opacity: .7; }
.rme-pop__note { margin: 8px 0 0; font-size: 13px; color: #5a5248; text-align: center; }
@media (max-width: 600px) {
	.rme-pop { padding: 0; align-items: stretch; }
	.rme-pop__panel { max-width: none; max-height: none; height: 100vh; height: 100dvh; border-radius: 0; }
	.rme-pop__form { padding: 14px 16px 16px; }
	.rme-pop__foot { bottom: -16px; margin: 0 -16px -16px; padding: 12px 16px 14px; }
}
