/* Popups (194:346, 205:346, 205:384), mini-cart (216:411) and cart page (196:346). Popup text is Heebo per the design. */
.l-header > .l-cart-wrap { position: absolute; left: 67.71px; top: 32px; width: 66px; height: 58px; }
.l-cart-wrap .l-cart { left: 0; top: 0; width: 100%; height: 100%; }
.l-cart-wrap:hover .l-cart, .l-cart-wrap.open .l-cart { border: 2px solid var(--gold); }

/* mini-cart 216:411 — opens on hover, sits under the cart button */
.mini-cart { position: absolute; left: -27.7px; top: 68px; width: 420px; z-index: 50; background: #fff; border: 1px solid #e6dac6; border-radius: 22px; box-shadow: 0 20px 50px rgba(77, 51, 13, .22); padding: 20px; font-family: 'Heebo', sans-serif; direction: rtl; display: flex; flex-direction: column; gap: 12px; }
.mini-cart[hidden] { display: none; }
.l-cart-wrap::after { content: ''; position: absolute; left: -30px; top: 56px; width: 130px; height: 16px; } /* hover bridge */
.mc-head { display: flex; align-items: center; justify-content: space-between; flex-direction: row-reverse; }
.mc-head b { font-size: 22px; font-weight: 700; color: #14100d; } .mc-head span { font-size: 14px; font-weight: 500; color: #8a7b6b; }
.mc-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #e6dac6; }
.mc-item img { width: 46px; height: 58px; border: 1px solid #e6dac6; border-radius: 8px; object-fit: cover; flex: none; }
.mc-item .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: right; }
.mc-item .t b { font-size: 15px; font-weight: 700; color: #14100d; line-height: 1.3; } .mc-item .t span { font-size: 12px; color: #8a7b6b; }
.mc-item .p { font-size: 17px; font-weight: 700; color: #14100d; }
.mc-item .x { width: 26px; height: 26px; border-radius: 13px; background: #f3eadb; border: 0; display: grid; place-items: center; padding: 0; flex: none; }
.mc-hint { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #b5791a; }
.mc-sub { display: flex; align-items: center; justify-content: space-between; flex-direction: row-reverse; font-weight: 700; color: #14100d; }
.mc-sub span { font-size: 16px; } .mc-sub b { font-size: 26px; }
.mc-btns { display: flex; gap: 10px; flex-direction: row-reverse; }
.mc-btns a { flex: 1; text-align: center; padding: 13px 0; border-radius: 14px; font-size: 16px; font-weight: 700; color: #14100d; }
.mc-btns .to-cart { background: #fff; border: 1.4px solid #e6dac6; } .mc-btns .to-pay { background: linear-gradient(to bottom, #f0c56e, #d8a24a); }
.mc-empty { text-align: center; color: #8a7b6b; font-size: 15px; padding: 18px 0; }

/* overlay + modal */
.l-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(20, 16, 13, .62); display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; font-family: 'Heebo', sans-serif; direction: rtl; }
.l-overlay[hidden] { display: none; }
.l-modal { background: #fbf7f0; border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; margin: auto; max-width: 100%; }
.buy-modal { width: 560px; } .free-modal { width: 520px; gap: 14px; } .thanks-modal { width: 500px; gap: 14px; align-items: center; }
.m-head { display: flex; align-items: center; justify-content: space-between; direction: ltr; }
.m-head-x { justify-content: flex-start; width: 100%; }
.m-close { width: 40px; height: 40px; border-radius: 20px; border: 1px solid #e6dac6; background: transparent; display: grid; place-items: center; padding: 0; }
.free-modal .m-close, .thanks-modal .m-close { width: 38px; height: 38px; }
.m-title { display: flex; flex-direction: column; gap: 2px; text-align: right; direction: rtl; }
.m-title b { font-size: 26px; font-weight: 700; color: #14100d; line-height: 1.3; } .m-title span { font-size: 15px; color: #8a7b6b; }
.m-h { margin: 0; font-size: 30px; line-height: 1.3; font-weight: 700; color: #14100d; text-align: right; align-self: stretch; }

.b-product { display: flex; align-items: center; gap: 14px; background: #f3eadb; border: 1px solid #e6dac6; border-radius: 16px; padding: 14px 14px 14px 16px; direction: ltr; }
.b-product .price { font-size: 26px; font-weight: 700; color: #b5791a; white-space: nowrap; }
.b-product .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; direction: rtl; }
.b-product .badge { background: #14100d; color: #f0c56e; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 8px; line-height: 1.3; }
.b-product .info b { font-size: 20px; font-weight: 700; color: #14100d; line-height: 1.3; } .b-product .info span { font-size: 13px; color: #8a7b6b; }
.b-product img { width: 72px; height: 92px; border: 1px solid #e6dac6; border-radius: 8px; object-fit: cover; }

.m-fields { display: flex; flex-direction: column; gap: 14px; }
.m-field { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.m-field > span { font-size: 14px; font-weight: 500; color: #2a211c; text-align: right; line-height: 1.3; }
.m-field small { color: #8a7b6b; font-size: 13px; font-weight: 400; }
.m-field input, .m-coupon-row input { height: 50px; background: #fff; border: 1.2px solid #e6dac6; border-radius: 12px; padding: 0 16px; font: 400 15px 'Heebo', sans-serif; color: #14100d; text-align: right; outline: none; }
.free-modal .m-field input { height: 52px; }
.m-field input:focus, .m-coupon-row input:focus { border-color: #d8a24a; box-shadow: 0 0 0 3px rgba(216, 162, 74, .18); }
.m-field input[dir=ltr], .m-coupon-row input[dir=ltr] { text-align: right; }
.m-field input::placeholder, .m-coupon-row input::placeholder { color: #8a7b6b; }

.m-coupon { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.m-label { display: flex; align-items: center; gap: 6px; justify-content: flex-start; font-size: 14px; font-weight: 500; color: #2a211c; }
.m-coupon-row { display: flex; gap: 10px; direction: ltr; justify-content: flex-end; }
.m-coupon-row input { width: 300px; max-width: 100%; }
.m-apply { height: 50px; width: 110px; border-radius: 12px; background: #14100d; color: #f0c56e; border: 0; font: 700 15px 'Heebo', sans-serif; flex: none; }
.m-coupon-msg { margin: 8px 0 0; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.4; color: #137a52; background: #e8f7ef; text-align: right; } .m-coupon-msg.bad { color: #b3262d; background: #fdecec; } .m-coupon-msg.wait { color: var(--text); background: var(--sand); }

.m-summary { border-top: 1px solid #e6dac6; padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.m-row { display: flex; align-items: center; justify-content: space-between; direction: ltr; line-height: 1.3; }
.m-row span { font-size: 15px; color: #8a7b6b; direction: rtl; } .m-row b { font-size: 16px; font-weight: 500; color: #2a211c; }
.m-row.green b { color: #1fa672; } .m-row.red b { color: #e0494f; }
.m-row.total span { font-size: 18px; font-weight: 700; color: #14100d; } .m-row.total b { font-size: 26px; font-weight: 700; color: #14100d; }

.m-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; line-height: 1.3; color: #2a211c; position: relative; }
.m-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; right: 0; top: 0; cursor: pointer; }
.m-check i { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.4px solid #d8a24a; background: #fff; display: grid; place-items: center; order: 0; }
.m-check i svg { opacity: 0; } .m-check input:checked + i { background: #d8a24a; } .m-check input:checked + i svg { opacity: 1; }
.m-check input:focus-visible + i { box-shadow: 0 0 0 3px rgba(216, 162, 74, .35); }
.m-check[hidden] { display: none; }
.m-check span { flex: 1; text-align: right; } .m-check a { color: #b5791a; text-decoration: underline; }

.m-key { display: flex; gap: 12px; align-items: flex-start; background: #fff4dc; border: 1px solid rgba(216, 162, 74, .55); border-radius: 14px; padding: 14px 16px; direction: rtl; }
.m-key div { flex: 1; display: flex; flex-direction: column; gap: 3px; line-height: 1.3; } .m-key b { font-size: 15px; font-weight: 700; color: #14100d; } .m-key span { font-size: 13px; color: #2a211c; }
.m-key i { width: 34px; height: 34px; border-radius: 17px; background: #d8a24a; display: grid; place-items: center; flex: none; }

.m-cta { height: 58px; border-radius: 14px; border: 0; background: linear-gradient(to bottom, #f0c56e, #d8a24a); box-shadow: 0 8px 20px rgba(216, 162, 74, .45); font: 700 18px 'Heebo', sans-serif; color: #14100d; white-space: pre; }
.free-modal .m-cta { height: 56px; } .m-cta:disabled { opacity: .6; cursor: wait; }
.m-error { margin: 0; color: #e0494f; font-size: 14px; font-weight: 500; text-align: right; } .m-error[hidden], .m-coupon-msg[hidden] { display: none; }
.m-fine { margin: 0; text-align: center; font-size: 12px; color: #8a7b6b; line-height: 1.3; }

.f-preview { display: flex; align-items: center; gap: 12px; background: #f3eadb; border-radius: 16px; padding: 12px 14px; direction: ltr; }
.f-preview div { flex: 1; display: flex; flex-direction: column; gap: 2px; text-align: right; direction: rtl; } .f-preview b { font-size: 16px; color: #14100d; } .f-preview span { font-size: 13px; color: #8a7b6b; }
.f-preview img { width: 46px; height: 60px; border: 1px solid #e6dac6; border-radius: 6px; object-fit: cover; }
.m-opt small { margin-inline-start: 6px; }

.t-ok { width: 76px; height: 76px; border-radius: 38px; background: #e4f5ec; display: grid; place-items: center; }
.t-ok i { width: 52px; height: 52px; border-radius: 26px; background: #1fa672; display: grid; place-items: center; }
.t-h { text-align: center; font-size: 32px; } .t-p { margin: 0; text-align: center; font-size: 16px; line-height: 1.3; color: #8a7b6b; }
.t-wa { position: relative; align-self: stretch; background: #14100d; border-radius: 20px; padding: 20px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.t-wa-glow { position: absolute; left: -60px; top: -90px; width: 400px; height: 400px; max-width: none; pointer-events: none; }
.t-wa > * { position: relative; }
.t-wa-head { display: flex; align-items: center; gap: 12px; direction: ltr; }
.t-wa-head img { width: 48px; height: 48px; } .t-wa-head div { flex: 1; text-align: right; direction: rtl; display: flex; flex-direction: column; gap: 2px; }
.t-wa-head b { font-size: 20px; color: #fff; } .t-wa-head span { font-size: 14px; color: #cfc4b4; }
.t-wa ul { list-style: none; margin: 8px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.t-wa li { font-size: 15px; font-weight: 500; color: #efe6d8; text-align: right; padding-right: 28px; position: relative; }
.t-wa li::before { content: '✓'; position: absolute; right: 0; color: #25d366; font-size: 13px; }
.t-join { margin: 0 auto; width: 344px; max-width: 100%; height: 44px; border-radius: 11.5px; background: #25d366; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 20px; font-weight: 700; flex-direction: row-reverse; }
.t-join img { width: 29px; height: 29px; }
.t-skip { background: none; border: 0; font: 700 15px 'Heebo', sans-serif; color: #8a7b6b; cursor: pointer; }

/* cart page 196:346 */
.cart-stage { min-height: 1000px; }
.c-content { padding: 24px 89px 90px; display: flex; flex-direction: column; gap: 28px; font-family: 'Heebo', sans-serif; }
.c-title-row { display: flex; align-items: center; justify-content: space-between; direction: ltr; }
.c-steps { display: flex; align-items: center; gap: 10px; direction: rtl; flex-direction: row-reverse; }
.c-steps span { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #8a7b6b; flex-direction: row-reverse; }
.c-steps span i { width: 28px; height: 28px; border-radius: 14px; border: 1.2px solid #e6dac6; display: grid; place-items: center; font: 700 13px 'Heebo', sans-serif; font-style: normal; }
.c-steps span.on { font-weight: 700; color: #14100d; } .c-steps span.on i { background: #14100d; color: #f0c56e; border-color: #14100d; }
.c-steps u { width: 36px; height: 1px; background: #e6dac6; }
.c-title { text-align: right; direction: rtl; } .c-title h1 { margin: 0; font-size: 54px; line-height: 1.3; font-weight: 700; color: #14100d; } .c-title p { margin: 4px 0 0; font-size: 17px; color: #8a7b6b; }
.c-cols { display: flex; gap: 40px; align-items: flex-start; direction: ltr; }
.c-order { width: 520px; flex: none; background: #fff; border: 1.2px solid #d8a24a; border-radius: 24px; box-shadow: 0 12px 40px rgba(216, 162, 74, .22); padding: 26px 28px; display: flex; flex-direction: column; gap: 16px; direction: rtl; }
.c-order h2 { margin: 0; font-size: 24px; font-weight: 700; color: #14100d; } .c-order h3 { margin: 0; font-size: 18px; font-weight: 700; color: #14100d; }
.c-rows { display: flex; flex-direction: column; gap: 16px; }
.c-rows .m-row { padding: 0; } .c-rows hr { border: 0; border-top: 1px solid #e6dac6; margin: 0; width: 100%; }
.c-save { font-size: 14px; font-weight: 700; color: #1fa672; }
.c-order form { display: flex; flex-direction: column; gap: 16px; }
.c-order .m-field input { height: 48px; background: #fbf7f0; }
.c-cart { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; direction: rtl; }
#c-items { display: flex; flex-direction: column; gap: 16px; }
.c-item { background: #fff; border: 1px solid #e6dac6; border-radius: 18px; padding: 16px 16px 16px 22px; display: flex; align-items: center; gap: 18px; direction: ltr; }
.c-item .pr { width: 120px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; flex: none; }
.c-item .pr b { font-size: 30px; font-weight: 700; color: #14100d; line-height: 1.3; } .c-item .pr s { font-size: 15px; color: #8a7b6b; }
.c-item .pr em { font-style: normal; background: #e4f5ec; color: #1fa672; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 8px; }
.c-item .nf { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; direction: rtl; }
.c-item .nf .bd { background: #14100d; color: #f0c56e; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 8px; } .c-item .nf .bd.green { background: #1fa672; color: #fff; }
.c-item .nf b { font-size: 22px; font-weight: 700; color: #14100d; line-height: 1.3; } .c-item .nf span { font-size: 14px; color: #8a7b6b; }
.c-item .ac { display: flex; gap: 16px; font-size: 13px; flex-direction: row-reverse; }
.c-item .ac button { background: none; border: 0; padding: 0; font: 500 13px 'Heebo', sans-serif; color: #8a7b6b; cursor: pointer; } .c-item .ac button.pv { font-weight: 700; color: #b5791a; }
.c-item img { width: 88px; height: 112px; border: 1px solid #e6dac6; border-radius: 10px; object-fit: cover; flex: none; }
.c-coupon { background: #f3eadb; border: 1px solid #e6dac6; border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.c-coupon b { font-size: 18px; font-weight: 700; color: #14100d; text-align: right; } .c-coupon .m-apply { width: 130px; }
.c-coupon .m-coupon-row { justify-content: flex-start; }
.c-more { display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 22px 0 24px; background: #fff4dc; border: 2px solid #d8a24a; border-radius: 20px; direction: ltr; }
.c-more i { width: 46px; height: 46px; border-radius: 23px; background: linear-gradient(to bottom, #f0c56e, #d8a24a); display: grid; place-items: center; flex: none; order: 3; }
.c-more div { flex: 1; display: flex; flex-direction: column; gap: 2px; text-align: right; direction: rtl; order: 2; } .c-more b { font-size: 22px; color: #14100d; } .c-more span { font-size: 14px; color: #8a7b6b; }
.c-more em { font-style: normal; font-size: 16px; font-weight: 700; color: #b5791a; order: 1; white-space: nowrap; }
.c-more:hover { background: #ffecc2; }
.c-empty { text-align: center; padding: 60px 0; font-size: 20px; color: #8a7b6b; }

/* buy popup: pay button always visible (sticky at the bottom of the modal), bigger */
.l-modal { max-height: calc(100vh - 32px); overflow-y: auto; }
.buy-modal { gap: 14px; }
.buy-modal .m-cta, .free-modal .m-cta { position: sticky; bottom: -28px; height: 66px; font-size: 21px; width: 100%; margin-top: 4px; box-shadow: 0 -14px 18px -6px #fbf7f0, 0 8px 20px rgba(216, 162, 74, .45); z-index: 3; }

/* payment method chooser: official marks shown as-is on white tiles */
.pay-methods { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; direction: rtl; }
.pay-methods legend { font-size: 14px; font-weight: 500; color: #2a211c; margin-bottom: 8px; padding: 0; }
.pay-m { flex: 1 1 110px; cursor: pointer; }
.pay-m input { position: absolute; opacity: 0; pointer-events: none; }
.pay-m-box { display: flex; align-items: center; justify-content: center; height: 56px; background: #fff; border: 1.4px solid #e6dac6; border-radius: 12px; padding: 8px 12px; }
.pay-m-box img { max-height: 36px; max-width: 100%; width: auto; height: auto; display: block; }
.pay-m-box b { font-size: 15px; color: #14100d; }
.pay-m input:checked + .pay-m-box { border-color: #d8a24a; box-shadow: 0 0 0 2px rgba(216, 162, 74, .45); }
.pay-m input:focus-visible + .pay-m-box { outline: 2px solid #14100d; outline-offset: 2px; }

.l-modal [hidden] { display: none !important; }

/* sale pop-up (same modal system) */
.sale-modal { width: 480px; gap: 12px; align-items: center; text-align: center; }
.sp-k { font: 800 13px/1 'Heebo', sans-serif; letter-spacing: 4px; color: #b5791a; }
.sp-h { text-align: center; font-size: 38px; }
.sp-p { margin: 0; font-size: 16px; line-height: 1.45; color: #6f6358; }
.sp-code { border: 2px dashed #d8a24a; background: #fff6e2; border-radius: 14px; padding: 8px 28px; font: 800 32px/1.2 'Assistant', sans-serif; letter-spacing: 5px; color: #14100d; }
.sp-cd { font-size: 14px; color: #6f6358; } .sp-cd b { display: inline-block; direction: rtl; unicode-bidi: isolate; color: #14100d; font-variant-numeric: tabular-nums; }
.sale-modal .m-cta { width: 100%; } .sp-done { margin: 0; color: #1f7a4d; font-weight: 700; font-size: 16px; }

.sale-modal, .sale-modal *, .sale-modal .m-cta, .sale-modal .t-skip { font-family: 'Assistant', sans-serif; }
