/* Latin (English) digits: used only for 0-9 and number punctuation, ahead of the theme font,
   in case the theme's Arabic font draws 1 2 3 as ١ ٢ ٣. Applied by frontend.js when enabled. */
@font-face { font-family: "wrc-digits"; font-weight: 100 599; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("HelveticaNeue"), local("Helvetica"), local("Roboto"), local("Roboto-Regular"), local("Segoe UI"), local("SegoeUI"), local("Noto Sans"), local("NotoSans-Regular"), local("DejaVu Sans"), local("Liberation Sans"); unicode-range: U+0030-0039, U+002B-002E, U+0025; }
@font-face { font-family: "wrc-digits"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Segoe UI Bold"), local("SegoeUI-Bold"), local("Noto Sans Bold"), local("NotoSans-Bold"), local("DejaVu Sans Bold"), local("Liberation Sans Bold"); unicode-range: U+0030-0039, U+002B-002E, U+0025; }

/* Wallpaper Roll Calculator — Texa identity. All selectors are prefixed (.wrc / .wrc-) to avoid clashes with WoodMart. */

.wrc {
	--wrc-dark: #1D1C1A;
	--wrc-accent: #A07A4B;
	--wrc-accent-dark: #7E5E37;
	--wrc-soft: #EEE9E3;
	--wrc-error: #B4433A;
	--wrc-radius: 20px;
	--wrc-font: inherit;
	--wrc-line: color-mix(in srgb, var(--wrc-soft) 55%, #cfc6ba);
	--wrc-muted: #7A736A;
	--wrc-soft-2: color-mix(in srgb, var(--wrc-soft) 45%, #fff);
	--wrc-r-sm: calc(var(--wrc-radius) * .7);
	box-sizing: border-box;
	width: 100%;
	flex: 1 1 100%;
	container: wrc / inline-size;
	margin: 0 0 18px;
	padding: 24px 26px;
	background: #fff;
	border: 1px solid var(--wrc-line);
	border-radius: var(--wrc-radius);
	color: var(--wrc-dark);
	font-family: var(--wrc-font);
	direction: rtl;
	text-align: right;
	line-height: 1.5;
}
.wrc *, .wrc *::before, .wrc *::after { box-sizing: border-box; }
.wrc [hidden] { display: none !important; }
.wrc .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Head */
.wrc__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.wrc__icon { flex: none; width: 46px; height: 46px; border-radius: var(--wrc-r-sm); background: var(--wrc-soft); display: grid; place-items: center; }
.wrc-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrc__icon .wrc-ico { width: 24px; height: 24px; color: var(--wrc-accent-dark); }
.wrc-ico--calc circle { fill: currentColor; stroke: none; }
.wrc .wrc__title { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.3; color: var(--wrc-dark); font-family: inherit; text-transform: none; letter-spacing: 0; }
.wrc__desc { margin: 4px 0 0; font-size: 14px; color: var(--wrc-muted); }

/* Area field */
.wrc__label { display: block; margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 700; color: var(--wrc-dark); }
.wrc__req { color: var(--wrc-error); }
.wrc__input { display: flex; align-items: stretch; height: 54px; border: 1.5px solid var(--wrc-line); border-radius: var(--wrc-r-sm); overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.wrc__input:focus-within { border-color: var(--wrc-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wrc-accent) 15%, transparent); }
.wrc.has-error-area .wrc__input { border-color: var(--wrc-error); }
.wrc .wrc__input input { font-family: inherit; flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0 16px; border: 0 !important; border-radius: 0; box-shadow: none !important; background: transparent; font-size: 20px; font-weight: 700; color: var(--wrc-dark); text-align: right; outline: none; }
.wrc__unit { display: grid; place-items: center; padding: 0 18px; background: var(--wrc-soft); color: var(--wrc-accent-dark); font-weight: 700; font-size: 15px; border-inline-end: 0; border-inline-start: 1px solid var(--wrc-line); }
.wrc__hint { margin: 8px 0 0; font-size: 12.5px; color: var(--wrc-muted); }
.wrc__error { margin: 8px 0 0; font-size: 13px; font-weight: 500; color: var(--wrc-error); }
.wrc__error::before { content: "⚠ "; }
.wrc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.wrc .wrc__chip { height: 34px; min-height: 34px; padding: 0 14px; border: 1px solid var(--wrc-line); border-radius: 999px; background: #fff; color: var(--wrc-dark); font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer; text-transform: none; }
.wrc .wrc__chip:hover, .wrc .wrc__chip:focus-visible { border-color: var(--wrc-dark); }

/* Length × width */
.wrc__modes { display: flex; gap: 4px; margin: 0 0 14px; padding: 4px; border-radius: 999px; background: var(--wrc-soft); }
.wrc__mode { position: relative; flex: 1; margin: 0; cursor: pointer; }
.wrc__mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wrc__mode span { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #57514a; text-align: center; line-height: 1.3; transition: background .15s, box-shadow .15s; }
.wrc__mode input:checked + span { background: #fff; color: var(--wrc-dark); font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.wrc__mode input:focus-visible + span { outline: 2px solid var(--wrc-dark); outline-offset: 2px; }
.wrc--tiles .wrc__modes { background: #fff; }
.wrc--tiles .wrc__mode input:checked + span { background: var(--wrc-dark); color: #fff; }
.wrc__dims { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 10px; margin-bottom: 14px; }
.wrc__dim { min-width: 0; }
.wrc__times { padding-bottom: 14px; font-size: 20px; font-weight: 700; color: var(--wrc-accent); }
.wrc__input--dim { height: 50px; }
.wrc .wrc__input--dim input { font-size: 18px; padding: 0 12px; }
.wrc__input--dim .wrc__unit { padding: 0 14px; }
.wrc.has-error-area .wrc__input--dim input[aria-invalid="true"] { color: var(--wrc-error); }
.wrc.has-error-area .wrc__input--dim:has(input[aria-invalid="true"]) { border-color: var(--wrc-error); }
.wrc--mode-dims.has-error-area .wrc__input--area { border-color: var(--wrc-line); }
.wrc--mode-dims .wrc__input--area { background: color-mix(in srgb, var(--wrc-soft) 35%, #fff); border-style: dashed; }
.wrc--mode-dims .wrc__input--area:focus-within { box-shadow: none; border-color: var(--wrc-line); }
.wrc--mode-dims .wrc__input--area input { color: var(--wrc-accent-dark); cursor: default; }
.wrc--mode-dims .wrc__input--area input::placeholder { font-size: 14px; font-weight: 500; }
.wrc .wrc__input input::placeholder { color: #a39a8e; opacity: 1; }
@container wrc (max-width: 340px) {
	.wrc__dims { grid-template-columns: 1fr; }
	.wrc__times { display: none; }
}

/* Result rows (card) */
.wrc__rows { margin-top: 18px; border-top: 1px dashed var(--wrc-line); }
.wrc__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--wrc-line); font-size: 15px; }
.wrc__row > span { color: #57514a; }
.wrc__row b { font-weight: 700; white-space: nowrap; }
.wrc__row--plain { border-bottom: 0; padding-bottom: 0; }
.wrc__formula { margin-inline-start: 6px; font-size: 12.5px; color: var(--wrc-muted); font-weight: 400; }
.wrc__pill { padding: 4px 12px; border-radius: 999px; background: var(--wrc-soft); color: var(--wrc-accent-dark); font-weight: 800; }

/* Locked installation hint */
.wrc__locked { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px; border: 1.5px dashed var(--wrc-line); border-radius: var(--wrc-r-sm); background: var(--wrc-soft-2); color: var(--wrc-muted); font-size: 13.5px; }
.wrc__locked .wrc-ico { flex: none; width: 18px; height: 18px; }

/* Installation block (card) */
.wrc__install { margin-top: 16px; padding: 16px 18px; border: 1.5px solid var(--wrc-accent); border-radius: var(--wrc-r-sm); background: color-mix(in srgb, var(--wrc-soft) 35%, #fff); }
.wrc__check { display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; font-weight: 700; font-size: 15.5px; }
.wrc__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wrc__box { flex: none; width: 24px; height: 24px; border: 2px solid var(--wrc-accent); border-radius: 7px; display: grid; place-items: center; background: #fff; transition: background .15s; }
.wrc__check input:checked + .wrc__box { background: var(--wrc-accent); }
.wrc__check input:checked + .wrc__box::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.wrc__check input:focus-visible + .wrc__box { outline: 2px solid var(--wrc-dark); outline-offset: 2px; }
.wrc__check-text b { display: block; }
.wrc__check-text small { display: block; margin-top: 2px; font-weight: 400; font-size: 12.5px; color: var(--wrc-muted); }
.wrc__badge { margin-inline-start: auto; padding: 4px 10px; border-radius: 999px; background: var(--wrc-dark); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }

/* City */
.wrc__city { margin-top: 14px; }
.wrc .wrc__cities { margin: 0; padding: 0; border: 0; min-width: 0; background: transparent; }
.wrc .wrc__cities legend { float: none; width: auto; margin: 0 0 8px; padding: 0; border: 0; background: transparent; font-size: 14px; font-weight: 700; }
.wrc__select { position: relative; }
.wrc .wrc__select select { width: 100%; height: 50px; margin: 0; padding: 0 16px 0 40px; border: 1.5px solid var(--wrc-line); border-radius: calc(var(--wrc-radius) * .6); background: #fff; color: var(--wrc-dark); font-size: 15px; font-weight: 500; font-family: inherit; appearance: none; -webkit-appearance: none; background-image: none; }
.wrc__select::after { content: ""; position: absolute; left: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid var(--wrc-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.wrc .wrc__select select:focus { border-color: var(--wrc-accent); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--wrc-accent) 15%, transparent); }
.wrc.has-error-city .wrc__select select, .wrc.has-error-city .wrc__sheet-trigger { border-color: var(--wrc-error); }
.wrc__city-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.wrc__city-btn { position: relative; margin: 0; cursor: pointer; }
.wrc__city-btn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wrc__city-btn span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1.5px solid var(--wrc-line); border-radius: calc(var(--wrc-radius) * .5); background: #fff; font-size: 14px; }
.wrc__city-btn input:checked + span { border-color: var(--wrc-accent); color: var(--wrc-accent-dark); font-weight: 700; }
.wrc__city-btn input:checked + span::before { content: "✓"; margin-inline-end: 6px; }
.wrc__city-btn input:focus-visible + span { outline: 2px solid var(--wrc-dark); outline-offset: 2px; }
.wrc.has-error-city .wrc__city-btn span { border-color: color-mix(in srgb, var(--wrc-error) 60%, var(--wrc-line)); }

/* Mobile sheet trigger (replaces the select on small screens) */
.wrc__sheet-trigger { display: none; }
.wrc--sheet .wrc__select select { display: none; }
.wrc--sheet .wrc__select::after { display: none; }
.wrc--sheet .wrc__sheet-trigger { display: flex; width: 100%; height: 50px; align-items: center; justify-content: space-between; padding: 0 16px; border: 1.5px solid var(--wrc-line); border-radius: calc(var(--wrc-radius) * .6); background: #fff; color: var(--wrc-dark); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; text-transform: none; }
.wrc__sheet-trigger i { width: 8px; height: 8px; border: solid var(--wrc-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -4px; }

/* Total */
.wrc__total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding: 16px 20px; border-radius: var(--wrc-r-sm); background: var(--wrc-dark); color: #fff; }
.wrc__total > span { font-size: 14px; color: #cbc3b8; }
.wrc__total small { display: block; margin-top: 3px; font-size: 11.5px; color: #9a9186; }
.wrc__total b { font-size: 26px; font-weight: 800; color: #fff; white-space: nowrap; }
.wrc__note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 12.5px; color: var(--wrc-muted); }
.wrc__note span { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--wrc-accent); }
.wrc__error--stock { padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--wrc-error) 8%, #fff); }

/* ---------- Tiles design ---------- */
.wrc--tiles { padding: 28px; border: 0; background: var(--wrc-soft); }
.wrc__grid { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.7fr); gap: 28px; align-items: start; }
.wrc__grid > *, .wrc__field, .wrc__input, .wrc__tiles, .wrc__bar > * { min-width: 0; }
.wrc--tiles .wrc__icon { background: #fff; }
.wrc--tiles .wrc .wrc__title, .wrc--tiles .wrc__title { font-size: 23px; }
.wrc__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wrc__tile { min-width: 0; padding: 16px; border: 1px solid var(--wrc-line); border-radius: calc(var(--wrc-radius) * .9); background: #fff; }
.wrc__tile-label { display: block; font-size: 13px; color: var(--wrc-muted); }
.wrc__tile-value { display: block; margin-top: 6px; font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--wrc-dark); white-space: nowrap; }
.wrc__tile-value i { font-style: normal; font-size: 14px; font-weight: 700; color: var(--wrc-accent-dark); }
.wrc__tile .wrc__formula { display: block; margin: 4px 0 0; }
.wrc__tile--install { border: 1.5px solid var(--wrc-accent); background: color-mix(in srgb, var(--wrc-soft) 30%, #fff); }
.wrc__tile--install .wrc__locked--tile { margin-top: 8px; padding: 0; border: 0; background: transparent; font-size: 12.5px; }
.wrc:not(.is-eligible) .wrc__tile--install { border: 1.5px dashed var(--wrc-line); background: #fff; }
.wrc__switch { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; cursor: pointer; }
.wrc__switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wrc__switch-ui { flex: none; position: relative; width: 50px; height: 28px; border-radius: 999px; background: #d6cdc1; transition: background .15s; }
.wrc__switch-ui::after { content: ""; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.15); transition: right .15s; }
.wrc__switch input:checked + .wrc__switch-ui { background: var(--wrc-accent); }
.wrc__switch input:checked + .wrc__switch-ui::after { right: 25px; }
.wrc__switch input:focus-visible + .wrc__switch-ui { outline: 2px solid var(--wrc-dark); outline-offset: 2px; }
.wrc__switch .wrc__tile-value { margin: 0; font-size: 20px; }
.wrc__switch .wrc__tile-value.is-off { color: #a39a8e; }
.wrc--tiles .wrc__city { margin-top: 14px; }
.wrc__bar { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 12px; border-radius: calc(var(--wrc-radius) * .9); background: var(--wrc-dark); color: #cbc3b8; flex-wrap: wrap; }
.wrc__bar-total { padding: 0 10px; font-size: 13px; }
.wrc__bar-total b { display: block; font-size: 24px; font-weight: 800; color: #fff; white-space: nowrap; overflow-wrap: normal; }
.wrc__bar-total small { display: block; font-size: 11px; color: #9a9186; }
.wrc__bar-qty { padding-inline-start: 16px; border-inline-start: 1px solid #3a3835; font-size: 13px; }
.wrc__bar-qty b { display: block; font-size: 17px; color: #fff; }
.wrc__bar-actions { display: flex; gap: 10px; align-items: center; margin-inline-start: auto; }
.wrc__bar-actions .wrc-qty--hidden { display: none !important; }
.wrc__bar-actions .single_add_to_cart_button, .wrc__bar-actions .wd-buy-now-btn { margin: 0 !important; }

/* Demo controls in the admin preview */
.wrc__demo-actions { display: flex; gap: 12px; margin-top: 16px; }
.wrc__demo-qty { min-width: 110px; height: 54px; border: 1.5px solid var(--wrc-line); border-radius: var(--wrc-r-sm); background: var(--wrc-soft-2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; color: var(--wrc-muted); }
.wrc__demo-qty b { font-size: 18px; color: var(--wrc-dark); }
.wrc .wrc__demo-btn { flex: 1; height: 54px; padding: 0 26px; border: 0; border-radius: var(--wrc-r-sm); background: var(--wrc-accent); color: #fff; font: inherit; font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: default; }
.wrc__demo-btn .wrc-ico { stroke: #fff; width: 20px; height: 20px; }

/* ---------- WooCommerce form integration ---------- */
form.cart.wrc-form { flex-wrap: wrap; }
form.cart.wrc-form > .wrc { order: -1; }
.wrc-form .wrc-qty { position: relative; }
.wrc-form .wrc-qty:not(.wrc-qty--manual) input.qty { pointer-events: none; background: color-mix(in srgb, var(--wrc-soft, #EEE9E3) 45%, #fff); font-weight: 700; }
.wrc-form .wrc-qty:not(.wrc-qty--manual) .plus, .wrc-form .wrc-qty:not(.wrc-qty--manual) .minus, .wrc-form .wrc-qty:not(.wrc-qty--manual) input[type="button"] { display: none !important; }
.wrc-form .wrc-qty input.qty { font-variant-numeric: lining-nums tabular-nums; }
/* "الكمية" label sits inside the box so themes that clip the quantity wrapper (WoodMart) do not cut it. */
.wrc-form--styled .wrc-qty[data-wrc-label]::before { content: attr(data-wrc-label); position: absolute; top: 5px; right: 0; left: 0; text-align: center; font-size: 10.5px; line-height: 1.2; color: #7A736A; z-index: 2; pointer-events: none; }
.wrc-form--styled .wrc-qty[data-wrc-label] input.qty { padding-top: 14px !important; }
.wrc-form--styled .wrc-qty.wrc-qty--manual[data-wrc-label]::before { top: 4px; }
.wrc-form .single_add_to_cart_button.wrc-blocked { opacity: .55; }
/* Manual quantity (calculator left empty) */
.wrc__note--manual { display: none; }
.wrc.is-manual .wrc__note--manual { display: flex; }
.wrc.is-manual .wrc__note--auto { display: none; }
.wrc.is-manual .wrc__bar-qty { display: none; }
.wrc.is-manual .wrc__bar-actions .wrc-qty--hidden { display: flex !important; }

/* Optional: quantity + buttons in the calculator colours */
.wrc-form--styled .wrc-qty input.qty { height: 54px; min-width: 96px; border: 1.5px solid #E2DBD2; border-radius: calc(var(--wrc-radius, 20px) * .7); font-size: 18px; text-align: center; }
form.cart.wrc-form--styled .single_add_to_cart_button, .wrc__bar-actions .single_add_to_cart_button { min-height: 54px; padding: 0 28px !important; border: 0 !important; border-radius: calc(var(--wrc-radius, 20px) * .7) !important; background: var(--wrc-accent, #A07A4B) !important; color: #fff !important; font-weight: 800 !important; font-size: 16px; line-height: 54px; }
form.cart.wrc-form--styled .single_add_to_cart_button:hover, .wrc__bar-actions .single_add_to_cart_button:hover { background: var(--wrc-accent-dark, #7E5E37) !important; }

/* Cart quantity (locked) */
.wrc-cart-qty { display: inline-block; line-height: 1.35; text-align: center; }
.wrc-cart-qty strong { white-space: nowrap; }
.wrc-cart-qty small { display: block; font-size: 11px; color: #7A736A; white-space: nowrap; }

/* ---------- Mobile bar ---------- */
.wrc-mbar { display: none; }
/* Layout adapts to the width the calculator actually gets (narrow product summary columns, admin preview, phones). */
@container wrc (max-width: 760px) {
	.wrc__grid { grid-template-columns: 1fr; gap: 18px; }
}
@container wrc (max-width: 560px) {
	.wrc__tiles { grid-template-columns: 1fr 1fr; }
	.wrc__tile--install { grid-column: 1 / -1; }
	.wrc__tile-value { font-size: 19px; }
	.wrc__bar-total { flex: 1 1 auto; }
	.wrc__bar-actions { width: 100%; margin: 0; }
	.wrc__bar-actions .single_add_to_cart_button, .wrc__bar-actions .wd-buy-now-btn { flex: 1; }
}
@container wrc (max-width: 420px) {
	.wrc__head { gap: 10px; }
	.wrc__icon { width: 40px; height: 40px; }
	.wrc__title { font-size: 18px !important; }
	.wrc__total b { font-size: 22px; }
	.wrc__badge { display: none; }
	.wrc__row { flex-wrap: wrap; }
}
@media (max-width: 768px) {
	.wrc { padding: 16px; }
	.wrc--tiles { padding: 16px; }

	.wrc-mbar {
		--wrc-dark: #1D1C1A; --wrc-accent: #A07A4B; --wrc-radius: 20px;
		display: flex; align-items: center; gap: 12px;
		position: fixed; right: 0; left: 0; bottom: 0; z-index: 99990;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: #fff; border-top: 1px solid #E2DBD2; box-shadow: 0 -10px 30px rgba(0,0,0,.08);
		font-family: var(--wrc-font, inherit); direction: rtl;
		transition: transform .2s ease;
	}
	.wrc-mbar.is-hidden { transform: translateY(110%); }
	.wrc-mbar__total { font-size: 12px; color: #7A736A; }
	.wrc-mbar__total b { display: block; font-size: 19px; font-weight: 800; color: var(--wrc-dark); white-space: nowrap; }
	.wrc-mbar__btn { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px; border: 0; border-radius: calc(var(--wrc-radius) * .7); background: var(--wrc-accent); color: #fff; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
	.wrc-mbar__btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; }
	body.wrc-has-mbar { padding-bottom: calc(80px + var(--wrc-mbar-offset, 0px)); }
	body.wrc-hide-theme-sticky .wd-sticky-btn, body.wrc-hide-theme-sticky .wd-sticky-add-to-cart { display: none !important; }
}

/* ---------- City bottom sheet ---------- */
.wrc-sheet { position: fixed; inset: 0; z-index: 99999; direction: rtl; font-family: var(--wrc-font, inherit); }
.wrc-sheet__backdrop { position: absolute; inset: 0; background: rgba(29, 28, 26, .45); }
.wrc-sheet__panel { position: absolute; right: 0; left: 0; bottom: 0; padding: 14px 18px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #fff; color: var(--wrc-dark, #1D1C1A); animation: wrc-up .2s ease; }
.wrc-sheet__grab { width: 44px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: #E2DBD2; }
.wrc-sheet__title { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.wrc-sheet__opt { display: flex; align-items: center; justify-content: space-between; height: 52px; border-bottom: 1px solid #E2DBD2; font-size: 15px; cursor: pointer; }
.wrc-sheet__opt input { position: absolute; opacity: 0; }
.wrc-sheet__opt i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #E2DBD2; }
.wrc-sheet__opt input:checked ~ span { color: var(--wrc-accent-dark, #7E5E37); font-weight: 700; }
.wrc-sheet__opt input:checked ~ i { border: 7px solid var(--wrc-accent, #A07A4B); }
.wrc-sheet__opt input:focus-visible ~ span { text-decoration: underline; }
.wrc-sheet__ok { width: 100%; height: 52px; margin-top: 16px; border: 0; border-radius: 14px; background: var(--wrc-accent, #A07A4B); color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
.wrc-sheet__x { position: absolute; top: 10px; left: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F6F3EF; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; }
html.wrc-sheet-open { overflow: hidden; }
@keyframes wrc-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .wrc-sheet__panel { animation: none; } .wrc-mbar { transition: none; } }

/* Currency symbol (text or SVG) */
.wrc .wrc-money { display: inline-flex; align-items: baseline; white-space: nowrap; unicode-bidi: isolate; }
.wrc-cur svg { height: .85em; width: auto; display: inline-block; vertical-align: -.06em; fill: currentColor; }
.wrc-cur svg * { fill: currentColor; }
