body.rangak-card-product.woocommerce div.product form.rangak-configurator {
	display: block;
	width: 100%;
	margin: 28px 0 0;
	padding: 0;
	border: 0;
	background: #fffdf9;
	color: var(--ink, #171511);
}

.rangak-raw-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.rangak-stock-unavailable { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 13px; border: 1px solid #9a4b56; background: #f7e9e7; color: #733844; font-size: 17px; font-weight: 850; }
.rangak-unavailable-product { width: 100%; box-sizing: border-box; margin: 28px 0 0; padding: clamp(22px, 4vw, 34px); border: 1px solid #cfc5b8; background: #faf7f2; text-align: right; }
.rangak-unavailable-product__badge { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; background: #733844; color: #fff; font-size: 13px; font-weight: 800; }
.rangak-unavailable-product h2 { margin: 14px 0 8px; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.45; }
.rangak-unavailable-product p { max-width: 680px; margin: 0 0 20px; color: #5f5a53; font-size: 15px; line-height: 1.9; }
.rangak-unavailable-product .button { width: auto; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
html[data-rangak-theme="dark"] .rangak-stock-unavailable { border-color: #c87584; background: #301e24; color: #f2bdc7; }
html[data-rangak-theme="dark"] .rangak-unavailable-product { border-color: #3a414a; background: #191e24; color: #f3f0e9; }
html[data-rangak-theme="dark"] .rangak-unavailable-product p { color: #b4afa7; }

@media (max-width: 560px) {
	.rangak-unavailable-product { margin-top: 20px; padding: 20px 16px; }
	.rangak-unavailable-product .button { width: 100%; }
}
.rangak-raw-price small { color: #5f5a53; font-size: 13px; font-weight: 500; }
.rangak-price-pair { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.35; }
.rangak-price-current { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.rangak-price-pair del { color: #8a847c; font-size: .78em; font-weight: 600; text-decoration-color: #9a4b56; text-decoration-thickness: 1px; }
.rangak-price-pair ins { color: #733844; font-size: 1em; font-weight: 850; text-decoration: none; }
.woocommerce div.product div.summary .rangak-price-pair { flex-direction: row; flex-wrap: nowrap; align-items: baseline; gap: 8px 14px; white-space: nowrap; }
.woocommerce div.product div.summary .rangak-price-pair > del,
.woocommerce div.product div.summary .rangak-price-current { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 560px) {
	.woocommerce div.product div.summary p.price { font-size: clamp(18px, 5.7vw, 23px); }
	.woocommerce div.product div.summary .rangak-price-pair { gap: 6px 9px; }
	.woocommerce div.product div.summary .rangak-price-current { gap: 6px; }
	.woocommerce div.product div.summary .rangak-price-current small { font-size: 12px; }
}
.rangak-wizard-progress { margin:0; padding:14px 24px 15px; border:0; background:#faf7f2; color:#302c27; cursor:default; user-select:none; }
.rangak-wizard-progress__copy { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:10px; }
.rangak-wizard-progress__counter { color:#756e65; font-size:13px; font-weight:650; line-height:1.6; white-space:nowrap; }
.rangak-wizard-progress__current { color:#733844; font-size:15px; font-weight:900; }
.rangak-wizard-progress__title { min-width:0; color:#24211e; font-size:15px; font-weight:850; line-height:1.6; text-align:left; }
.rangak-wizard-progress__track { position:relative; width:100%; height:5px; overflow:hidden; border-radius:999px; background:#e5ddd3; }
.rangak-wizard-progress__track > i { position:absolute; inset-block:0; right:0; width:25%; border-radius:inherit; background:#733844; font-style:normal; transition:width .24s ease; }

.rangak-wizard-step { padding: 28px 24px 24px; }
.rangak-wizard-step[hidden] { display: none !important; }
.rangak-wizard-step[data-step="1"] { padding: 0; }
.rangak-wizard-step[data-step="1"] > .rangak-choice-group { margin: 24px 24px 0; }
.rangak-step-one-helper { margin: 18px 24px 0; color: #625d56; font-size: 14px; font-weight: 650; line-height: 1.8; text-align: right; }
.rangak-choice-group { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.rangak-choice-group legend { width: 100%; margin-bottom: 10px; color: #302c27; font-size: 16px; font-weight: 850; }
.rangak-choice-group legend small { color: #756e65; font-size: 12px; font-weight: 600; }
.rangak-choice-group legend em { display: inline-block; margin-right: 7px; padding: 2px 6px; background: #f0deda; color: #733844; font-size: 12px; font-style: normal; }
.rangak-option-grid, .rangak-print-options, .rangak-assembly-grid, .rangak-mode-grid, .rangak-shipping-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rangak-print-options, .rangak-assembly-grid, .rangak-mode-grid, .rangak-shipping-grid { grid-template-columns: 1fr; }
.rangak-radio-list label, .rangak-option-card, .rangak-color-option { position: relative; min-width: 0; display: block; }
.rangak-radio-list input[type="radio"], .rangak-option-card input[type="radio"], .rangak-color-option input[type="radio"] { position: absolute; z-index: 2; top: 50%; right: 14px; width: 20px; height: 20px; margin: 0; opacity: 1; transform: translateY(-50%); -webkit-appearance: radio; appearance: auto; accent-color: #733844; pointer-events: auto; cursor: pointer; }
.rangak-option-card > span, .rangak-radio-list label > span { min-height: 62px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 3px 12px; padding: 11px 46px 11px 13px; border: 1px solid #d9d2c7; border-radius: 9px; background: #fff; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease; }
.rangak-option-card b, .rangak-print-options b, .rangak-assembly-grid strong, .rangak-cover-intent strong { font-size: 15px; }
.rangak-option-card small, .rangak-print-options small, .rangak-assembly-grid small, .rangak-cover-intent small { color: #625d56; font-size: 13px; line-height: 1.55; }
.rangak-print-options [data-method-price], .rangak-assembly-grid [data-assembly-total] { color: #733844; font-size: 14px; font-weight: 800; white-space: nowrap; }
.rangak-print-options [data-method-price] { display:inline-flex; align-items:baseline; justify-content:flex-end; gap:5px; }
.rangak-print-options [data-method-price-amount] { color:inherit; font-size:inherit; font-weight:inherit; white-space:nowrap; }
.rangak-radio-list label > span > strong, .rangak-radio-list label > span > b { min-width: 0; }
.rangak-radio-list label > span > small { grid-column: 2; text-align: left; }
.rangak-option-card input:checked + span, .rangak-radio-list input:checked + span { border-color: #733844; box-shadow: inset 0 0 0 1px #733844; }
.rangak-option-card input:focus-visible + span, .rangak-radio-list input:focus-visible + span, .rangak-color-option input:focus-visible + span { outline: 3px solid rgba(115,56,68,.18); outline-offset: 2px; }

.rangak-color-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.rangak-color-option > span { min-width: 128px; min-height: 58px; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 1px 8px; padding: 9px 44px 9px 11px; border: 1px solid #d9d2c7; border-radius: 9px; background: #fff; cursor: pointer; }
.rangak-color-option i { grid-row: 1 / 3; width: 20px; height: 20px; border: 3px solid #fff; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px #bfb6aa; }
.rangak-color-option b { font-size: 15px; }
.rangak-color-option small { color: #625d56; font-size: 13px; }
.rangak-color-option input:checked + span { border-color: #733844; box-shadow: inset 0 0 0 1px #733844; }

.rangak-order-basics { width: 100%; box-sizing: border-box; display: grid; grid-template-columns: minmax(195px,.9fr) minmax(180px,1.1fr) minmax(112px,auto); align-items: stretch; gap: 12px; margin: 0; padding: 24px; border: 0; background: #fff; }
.rangak-floating-field { position: relative; min-width: 0; display: block; margin: 0; }
.rangak-floating-field input { box-sizing: border-box; width: 100%; height: 56px; min-height: 56px; margin: 0; padding: 17px 13px 5px; border: 1px solid #bdb5aa; border-radius: 9px; outline: 0; background: #fff; color: #28231f; font: 750 17px/1.4 Vazirmatn,sans-serif; transition: border-color .18s ease, box-shadow .18s ease; }
.rangak-floating-field--quantity input { direction: ltr; text-align: center; font-size: 19px; }
.rangak-floating-field--mobile input { direction: ltr; text-align: left; letter-spacing: .2px; }
.rangak-floating-label { position: absolute; z-index: 1; top: 50%; right: 13px; max-width: calc(100% - 26px); display: block; overflow: hidden; transform: translateY(-50%); color: #615b54; background: #fff; font-size: 14px; font-weight: 750; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; transition: top .18s ease, transform .18s ease, color .18s ease, font-size .18s ease, padding .18s ease; }
.rangak-floating-label__compact { display: none; }
.rangak-floating-field input:focus { border-color: #733844; box-shadow: 0 0 0 3px rgba(115,56,68,.1); }
.rangak-floating-field input:focus + .rangak-floating-label,
.rangak-floating-field input:not(:placeholder-shown) + .rangak-floating-label { top: 0; max-width: calc(100% - 18px); padding: 0 6px; transform: translateY(-50%); color: #733844; font-size: 12px; }
.rangak-order-basics__next { min-width: 112px; min-height: 56px; display: inline-flex !important; align-items: center; justify-content: center; gap: 7px; margin: 0 !important; padding: 10px 15px !important; border-radius: 9px !important; cursor: pointer; white-space: nowrap; }

.rangak-mode-grid label > span, .rangak-shipping-grid label > span { min-height: 88px; }
.rangak-mode-grid label > span > strong, .rangak-shipping-grid label > span > strong { grid-column: 1; font-size: 16px; }
.rangak-mode-grid label > span > small { grid-column: 1; color: #6f6961; font-size: 13px; line-height: 1.65; direction: rtl; text-align: right; }
.rangak-configurator .rangak-mode-guide-trigger { display:inline; width:auto; min-width:0; min-height:0; margin:0 4px 0 0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:#8a4453; font:inherit; font-size:13px; font-weight:700; line-height:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.rangak-configurator .rangak-mode-guide-trigger:hover { background:transparent; color:#a64e62; }
.rangak-configurator .rangak-mode-guide-trigger:focus-visible { outline:2px solid #a64e62; outline-offset:3px; }
html[data-rangak-theme="dark"] .rangak-configurator .rangak-mode-guide-trigger { color:#f0adbb; }
.rangak-shipping-grid label > span > small { color: #6f6961; font-size: 13px; line-height: 1.65; direction: rtl; text-align: left; }
.rangak-mode-grid label > span > b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #733844; font-size: 13px; white-space: nowrap; }
.rangak-shipping-grid > label:only-child { grid-column: 1 / -1; }
.rangak-shipping-grid > label:only-child > span { min-height: 82px; }
.rangak-shipping-grid .rangak-shipping-delivery { grid-column:1 / -1; width:100%; margin-top:5px; padding-top:8px; border-top:1px solid rgba(115,56,68,.18); color:#733844; font-size:12px; font-style:normal; font-weight:750; line-height:1.7; }

.rangak-check-list { display:grid; grid-template-columns:1fr; gap:8px; }
.rangak-check-list > label { position:relative; min-width:0; display:block; }
.rangak-check-list > label > input[type="checkbox"] { position:absolute; z-index:2; top:50%; right:14px; width:20px; height:20px; margin:0; transform:translateY(-50%); -webkit-appearance:checkbox; appearance:auto; accent-color:#733844; cursor:pointer; }
.rangak-check-list > label > span { min-height:62px; box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:3px 12px; padding:11px 46px 11px 13px; border:1px solid #d9d2c7; border-radius:9px; background:#fff; cursor:pointer; transition:border-color .18s ease, box-shadow .18s ease; }
.rangak-check-list > label > span > strong { grid-column:1; font-size:15px; }
.rangak-check-list > label > span > small { grid-column:2; color:#625d56; font-size:13px; line-height:1.55; }
.rangak-check-list > label > input:checked + span { border-color:#733844; box-shadow:inset 0 0 0 1px #733844; }
.rangak-check-list > label > input:focus-visible + span { outline:3px solid rgba(115,56,68,.18); outline-offset:2px; }
.rangak-check-list .rangak-optional-print-methods { grid-column:1; }
.rangak-check-list > label.rangak-optional-choice > span { color:#302c27; background:#fff; }
.rangak-check-list > label.rangak-optional-choice > span > strong > small,
.rangak-check-list > label.rangak-optional-choice > span > small.rangak-optional-badge { color:#625d56; }
.rangak-optional-print-methods { margin-top:12px; padding:14px; border:1px solid #ded6cc; border-radius:10px; background:#faf7f2; }
.rangak-optional-print-methods[hidden] { display:none !important; }
.rangak-optional-print-methods__title { display:block; margin-bottom:10px; color:#514d47; font-size:14px; }
.rangak-print-group { padding-bottom:18px; border-bottom:1px solid #e4ddd4; }
.rangak-print-group:last-of-type { border-bottom:0; }
.rangak-print-summary { min-width:0; display:flex; align-items:center; flex-wrap:wrap; gap:9px 12px; padding:11px 13px; border:1px solid #d9d2c7; border-radius:10px; background:#fff; }
.rangak-print-summary__details { display:contents; }
.rangak-print-summary__current { display:contents; }
.rangak-print-summary__label { color:#625d56; font-size:14px; font-weight:800; }
.rangak-print-summary__selection { display:inline-flex; align-items:center; gap:7px; min-width:0; }
.rangak-print-summary__selection strong { color:#29251f; font-size:15px; }
.rangak-print-summary__selection i { width:22px; height:22px; flex:0 0 22px; display:inline-block; border:2px solid #fff; border-radius:6px; background:#151515; box-shadow:0 0 0 1px #aaa095; }
.rangak-print-summary__selection i.is-color { background:var(--selected-print-color,#a9856a); }
.rangak-print-summary__selection i.is-gold { background:linear-gradient(135deg,#9b6b16,#f4d36a,#9b6b16); }
.rangak-print-summary__selection i.is-silver { background:linear-gradient(135deg,#727b84,#eef2f4,#7c858c); }
.rangak-print-summary__price { margin-right:auto; color:#733844; font-size:14px; font-weight:850; white-space:nowrap; }
.rangak-print-summary__price-label { display:block; }
.rangak-print-summary__price-amount { display:block; color:inherit; font:inherit; }
.rangak-print-summary__change { min-height:36px; margin:0 !important; padding:6px 12px !important; border-radius:8px !important; font-size:13px !important; font-weight:800 !important; }
.rangak-print-summary__change { background:transparent !important; background-image:none !important; border:1px solid #733844 !important; color:#733844 !important; box-shadow:none !important; }
.rangak-print-summary__change:hover, .rangak-print-summary__change:focus-visible { background:#f2e3df !important; border-color:#733844 !important; color:#733844 !important; }
.woocommerce div.product form.rangak-configurator button.rangak-print-summary__change { background:transparent !important; background-image:none !important; border:1px solid #733844 !important; color:#733844 !important; box-shadow:none !important; }
.woocommerce div.product form.rangak-configurator button.rangak-print-summary__change:hover, .woocommerce div.product form.rangak-configurator button.rangak-print-summary__change:focus-visible { background:#f2e3df !important; border-color:#733844 !important; color:#733844 !important; }
.rangak-print-state { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
.rangak-print-state__option { display:block; margin:0; }
.rangak-print-state__option > span { display:none !important; }
.rangak-print-state__input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.rangak-print-state__foil { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); }
.rangak-print-method-modal-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-bottom:13px; }
.rangak-print-method-choice { min-width:0; min-height:70px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:9px 7px; border:1px solid #d8cfc4; border-radius:10px; background:#fff; color:#39342f; font:inherit; cursor:pointer; transition:border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.rangak-print-method-choice strong { font-size:14px; line-height:1.45; }
.rangak-print-method-choice small { color:#733844; font-size:12px; font-weight:800; line-height:1.4; white-space:nowrap; }
.rangak-print-method-choice[aria-pressed="true"] { border-color:#733844; background:#f2e3df; box-shadow:inset 0 0 0 1px #733844; }
.rangak-print-method-choice:focus-visible { outline:3px solid rgba(115,56,68,.2); outline-offset:2px; }
.rangak-print-method-choice:disabled { opacity:.55; cursor:not-allowed; }
[data-print-color-panel][hidden] { display:none !important; }


.rangak-print-color-modal { position:fixed; z-index:100080; inset:0; display:grid; place-items:center; padding:20px; direction:rtl; opacity:0; pointer-events:none; transition:opacity .18s ease; }
.rangak-print-color-modal[hidden] { display:none !important; }
.rangak-print-color-modal.is-open { opacity:1; pointer-events:auto; }
.rangak-print-color-modal__backdrop { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; background:rgba(18,15,13,.74); cursor:pointer; }
.rangak-print-color-modal__dialog { position:relative; width:min(720px,100%); height:min(760px,calc(100dvh - 40px)); max-height:min(760px,calc(100dvh - 40px)); display:grid; grid-template-rows:auto minmax(0,1fr) auto; overflow:hidden; border:1px solid #cabfb2; border-radius:18px; background:#fffdf9; color:#29251f; box-shadow:0 30px 90px rgba(0,0,0,.34); text-align:right; transform:translateY(12px) scale(.985); transition:transform .18s ease; }
.rangak-print-color-modal.is-open .rangak-print-color-modal__dialog { transform:none; }
.rangak-print-color-modal__header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:17px 20px 15px; border-bottom:1px solid #ded5ca; background:#f4eee6; }
.rangak-print-color-modal__header > div { min-width:0; }
.rangak-print-color-modal__header h3 { margin:0; color:#211d19; font-size:20px; line-height:1.5; }
.rangak-print-color-modal__header p { margin:3px 0 0; color:#625d56; font-size:14px; line-height:1.8; }
.rangak-print-color-modal__close { width:38px; height:38px; display:grid; place-items:center; flex:0 0 38px; padding:0; border:1px solid #cfc5b9; border-radius:9px; background:#fff; color:#342e29; font:400 27px/1 Arial,sans-serif; cursor:pointer; }
.rangak-print-color-modal__body { min-height:0; overflow:hidden; padding:18px 20px 20px; }
.rangak-print-palette { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0 0 16px; }
.rangak-print-palette__swatch { min-width:0; min-height:47px; display:flex; align-items:center; gap:9px; padding:7px 11px; border:1px solid #d8cfc4; border-radius:9px; background:#faf7f2; color:#39342f; font:700 13px/1.5 Vazirmatn,sans-serif; text-align:right; cursor:pointer; }
.rangak-print-palette__swatch[hidden] { display:none !important; }
.rangak-print-palette__swatch > span { width: 23px; height: 23px; flex: 0 0 23px; border: 3px solid #fff; border-radius: 50%; background: var(--print-color); box-shadow: 0 0 0 1px #ada59a; }
.rangak-print-palette__swatch b { font-size: 13px; font-weight: 750; white-space: nowrap; }
.rangak-print-palette__swatch:hover { border-color: #9c6267; }
.rangak-print-palette__swatch.is-active { border-color: #733844; background: #f2e3df; box-shadow: inset 0 0 0 1px #733844; }
.rangak-print-palette__swatch:focus-visible { outline:3px solid rgba(115,56,68,.2); outline-offset:2px; }
.rangak-print-color-picker__custom { padding:13px; border:1px solid #d8cfc4; border-radius:11px; background:#faf7f2; }
.rangak-print-color-picker__custom-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rangak-print-color-picker__custom-title strong { font-size: 14px; }
.rangak-print-color-picker__custom-title span { color: #706960; font-size: 12px; line-height: 1.6; }
.rangak-print-color-field { position: relative; width: 100%; height: 190px; overflow: hidden; border: 1px solid #aaa095; background: linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,var(--picker-hue)); cursor: crosshair; touch-action: none; }
.rangak-print-color-modal.is-compact .rangak-print-color-field { height:145px; }
.rangak-print-color-modal.is-extra-compact .rangak-print-color-modal__body { padding-block:11px; }
.rangak-print-color-modal.is-extra-compact .rangak-print-palette { margin-bottom:10px; }
.rangak-print-color-modal.is-extra-compact .rangak-print-color-picker__custom { padding:9px; }
.rangak-print-color-modal.is-extra-compact .rangak-print-color-picker__custom-title { margin-bottom:6px; }
.rangak-print-color-modal.is-extra-compact .rangak-print-color-picker__custom-title span { display:none; }
.rangak-print-color-modal.is-extra-compact .rangak-print-color-field { height:104px; }
.rangak-print-color-field:focus-visible { outline: 3px solid rgba(115,56,68,.18); outline-offset: 2px; }
.rangak-print-color-field > i { position: absolute; top: 50%; left: 50%; width: 17px; height: 17px; transform: translate(-50%,-50%); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #151515,0 2px 6px rgba(0,0,0,.35); pointer-events: none; }
.rangak-print-hue { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; margin-top: 11px; color: #514b44; font-size: 13px; font-weight: 750; }
.rangak-print-hue input { width: 100%; height: 18px; margin: 0; padding: 0; border: 0; border-radius: 999px; outline: 0; background: linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00); appearance: none; cursor: pointer; direction: ltr; }
.rangak-print-hue input::-webkit-slider-thumb { width: 22px; height: 22px; border: 3px solid #fff; border-radius: 50%; background: #222; box-shadow: 0 0 0 1px #555; appearance: none; }
.rangak-print-hue input::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: #222; box-shadow: 0 0 0 1px #555; }
.rangak-print-color-modal__footer { display:grid; grid-template-columns:minmax(0,1fr) minmax(120px,160px); align-items:stretch; gap:10px; padding:13px 20px 16px; border-top:1px solid #ded5ca; background:#fffdf9; box-shadow:0 -10px 28px rgba(43,34,27,.07); }
.rangak-print-color-picker__selection { min-width:0; display:grid; grid-template-columns:48px minmax(0,1fr); align-items:center; gap:1px 11px; margin:0; padding:8px 10px; border:1px solid #d8cfc4; border-radius:10px; background:#fff; color:#29241f; }
.rangak-print-color-picker__selection i { grid-row:1 / 3; width:48px; height:38px; border:4px solid #fff; border-radius:7px; background:var(--selected-print-color); box-shadow:0 0 0 1px #aaa095; }
.rangak-print-color-picker__selection i.is-black { background:#151515; }
.rangak-print-color-picker__selection i.is-color { background:var(--selected-print-color,#a9856a); }
.rangak-print-color-picker__selection i.is-gold { background:linear-gradient(135deg,#9b6b16,#f4d36a,#9b6b16); }
.rangak-print-color-picker__selection i.is-silver { background:linear-gradient(135deg,#727b84,#eef2f4,#7c858c); }
.rangak-print-color-picker__selection span { color: #706960; font-size: 12px; }
.rangak-print-color-picker__selection output { grid-column:2; direction:ltr; color:#29241f; font:800 16px/1.4 Consolas,monospace; text-align:right; unicode-bidi:isolate; }
.rangak-print-color-modal__confirm { width:100%; min-width:0; min-height:58px; display:inline-flex !important; align-items:center; justify-content:center; margin:0 !important; padding:10px 15px !important; border-radius:10px !important; box-sizing:border-box; cursor:pointer; font-size:15px !important; font-weight:900 !important; }
.rangak-order-summary { margin-top: 20px; overflow: hidden; border: 1px solid #cfc4b7; border-radius: 18px; background: #fffdf9; color: #29251f; box-shadow: 0 16px 42px rgba(40,31,24,.08); }
.rangak-order-summary__summary { min-height: 64px; display: flex; align-items: center; padding: 14px 18px; background: #f5efe7; cursor: pointer; direction: rtl; text-align: right; list-style: none; }
.rangak-order-summary__summary::-webkit-details-marker { display: none; }
.rangak-order-summary__summary::marker { content: ""; }
.rangak-order-summary__summary:focus-visible { outline: 3px solid rgba(115,56,68,.2); outline-offset: -3px; }
.rangak-order-summary__toggle { width: 100%; min-width: 0; display: inline-flex; align-items: center; justify-content: space-between; flex-direction: row-reverse; gap: 12px; color: #733844; font-size: 14px; font-weight: 850; }
.rangak-order-summary__toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.rangak-order-summary[open] .rangak-order-summary__toggle svg { transform: rotate(180deg); }
.rangak-order-summary__details { border-top: 1px solid #ddd3c7; }
.rangak-summary-lines { display: grid; gap: 11px; padding: 16px 20px 18px; }
.rangak-summary-group { overflow: hidden; border: 1px solid #e1d9cf; border-radius: 12px; background: #fff; }
.rangak-summary-group > h4 { margin: 0; padding: 9px 13px; border-bottom: 1px solid #e7dfd5; background: #f8f4ee; color: #756d63; font-size: 13px; font-weight: 800; line-height: 1.7; }
.rangak-summary-row { min-height: 48px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 10px 13px; border-bottom: 1px solid #eee7df; color: #5e574f; font-size: 14px; line-height: 1.8; direction: rtl; text-align: right; }
.rangak-summary-row:last-child { border-bottom: 0; }
.rangak-summary-row > span { min-width: 0; }
.rangak-summary-row > b { color: #2e2924; font-size: 15px; font-weight: 800; white-space: nowrap; text-align: left; }
.rangak-summary-row.rangak-summary-original > b { color: #877f76; font-weight: 650; text-decoration: line-through; text-decoration-color: #a65a63; }
.rangak-summary-row.rangak-summary-discount > span,
.rangak-summary-row.rangak-summary-discount > b { color: #287454; font-weight: 850; }
.rangak-summary-row.rangak-summary-primary { background: #fffaf4; color: #332c26; font-weight: 800; }
.rangak-summary-group--shipping { border-color: #bdd4d0; background: #f4fbf9; }
.rangak-summary-group--shipping > h4 { border-color: #d0e3df; background: #eaf6f3; color: #34655d; }
.rangak-summary-row.rangak-summary-shipping > b { color: #236a5d; }
.rangak-summary-total { min-height: 96px; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 20px; border-top: 1px solid #3c3530; background: #241f1b; color: #fff; direction: rtl; text-align: right; }
.rangak-summary-total > div { min-width: 0; }
.rangak-summary-total span { display: block; font-size: 18px; font-weight: 850; }
.rangak-summary-total small { display: block; margin-top: 4px; color: #bdb5ac; font-size: 13px; font-weight: 500; line-height: 1.7; }
.rangak-summary-total strong { flex: 0 0 auto; color: #fff; font-size: 29px; line-height: 1.35; white-space: nowrap; text-align: left; }
.rangak-pay-first-options[hidden] { display: none !important; }
.rangak-pay-first-options { display: grid; gap: 12px; margin-top: 18px; }
.rangak-pay-first-options .rangak-payment-provider-picker { margin: 0; }
.rangak-terms-notice { width:100%; max-width:100%; min-width:0; margin:0; padding:10px 12px; border:1px solid #ded3c8; border-radius:11px; background:#fff; color:#4f4741; font-size:13px; line-height:1.9; white-space:normal; overflow-wrap:anywhere; box-sizing:border-box; }
.rangak-terms-notice[hidden] { display:none !important; }
.rangak-terms-notice a { display:inline; color:#733844; font-weight:800; text-decoration:underline; text-underline-offset:3px; white-space:normal; overflow-wrap:anywhere; }
.rangak-final-action { width:100%; max-width:100%; display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:9px; margin-top:18px; padding:20px; border:1px solid #ded3c8; border-radius:18px; background:#fffdf9; color:#29251f; box-shadow:0 14px 36px rgba(48,38,29,.09); direction:rtl; text-align:right; box-sizing:border-box; overflow:hidden; }
.rangak-discount-box { width:100%; max-width:100%; padding:10px 12px; border:1px solid #e3d7c9; border-radius:12px; background:#faf6f0; box-sizing:border-box; }
.rangak-discount-box[hidden] { display:none !important; }
.rangak-discount-toggle { position:relative; min-width:0; display:block; cursor:pointer; }
.rangak-discount-toggle > input[type="checkbox"] { position:absolute; z-index:2; top:50%; right:14px; width:20px; height:20px; margin:0; transform:translateY(-50%); -webkit-appearance:checkbox; appearance:auto; accent-color:#733844; cursor:pointer; }
.rangak-discount-toggle > span { min-height:52px; box-sizing:border-box; display:flex; align-items:center; padding:10px 46px 10px 13px; border:1px solid #d9d2c7; border-radius:9px; background:#fff; color:#302c27; cursor:pointer; transition:border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.rangak-discount-toggle > span > strong { font-size:15px; line-height:1.6; }
.rangak-discount-toggle > input:checked + span { border-color:#733844; box-shadow:inset 0 0 0 1px #733844; background:#fffaf8; }
.rangak-discount-toggle > input:focus-visible + span { outline:3px solid rgba(115,56,68,.18); outline-offset:2px; }
.rangak-discount-box__panel { margin-top:8px; padding-top:9px; border-top:1px solid #e0d6ca; }
.rangak-discount-box__panel[hidden] { display:none !important; }
.rangak-discount-box__row { display:flex; align-items:stretch; gap:8px; width:100%; }
.rangak-discount-box__field { flex:1 1 0; min-width:0; }
.rangak-discount-box__field input { display:block; width:100%; height:42px !important; min-height:42px !important; margin:0; padding:9px 12px; border:1px solid #cfc3b5; border-radius:9px; background:#fff; color:#302a25; font:inherit; font-size:14px; line-height:1.2; box-sizing:border-box; outline:0; }
.rangak-discount-box__field input:focus { border-color:#733844; box-shadow:0 0 0 3px rgba(115,56,68,.1); }
.rangak-discount-box__apply { flex:1 1 0; width:100%; height:42px !important; min-height:42px !important; display:flex; align-items:center; justify-content:center; box-sizing:border-box; margin:0 !important; padding:8px 15px; border-radius:9px !important; background:#733844 !important; color:#fff !important; font-size:13px; line-height:1.2 !important; white-space:nowrap; }
.rangak-discount-box__apply.is-loading { cursor:wait; opacity:.9; }
.rangak-discount-box__apply[data-discount-mode="remove"] { background:#287454 !important; color:#fff !important; }
.rangak-discount-box__result { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:7px; color:#287454; font-size:13px; font-weight:800; }
.rangak-discount-box__result[hidden] { display:none !important; }
.rangak-discount-box__result strong { white-space:nowrap; }
.rangak-discount-box[data-discount-state="applied"] { border:2px solid #2f8f5b; background:#d9f5e3; box-shadow:0 0 0 4px rgba(47,143,91,.2), inset 0 0 0 1px rgba(255,255,255,.7); }
.rangak-discount-toast { position:fixed; z-index:100000; right:24px; bottom:24px; max-width:min(360px, calc(100vw - 32px)); padding:10px 15px; border:1px solid #4d9a70; border-radius:10px; background:#e7f8ed; color:#1f6742; box-shadow:0 12px 30px rgba(34,75,53,.2); font-size:13px; font-weight:800; line-height:1.7; direction:rtl; text-align:right; opacity:0; transform:translateY(8px); transition:opacity .18s ease, transform .18s ease; }
.rangak-discount-toast:not(.is-success) { border-color:#d96b72; background:#fff0f1; color:#a12834; box-shadow:0 12px 30px rgba(142,39,48,.16); }
.rangak-discount-toast.is-visible { opacity:1; transform:translateY(0); }
@media (max-width:560px) {
	.rangak-discount-box__row { gap:7px; }
	.rangak-discount-box__field { flex:1 1 auto; }
	.rangak-discount-box__apply { flex:0 0 76px; width:76px; padding-inline:8px; }
}
.rangak-final-action > * { min-width:0; max-width:100%; }
.rangak-final-action__amount { min-width:0; display:block; }
.rangak-final-action__amount-row { min-width:0; display:flex; flex-wrap:wrap; align-items:baseline; gap:10px; white-space:nowrap; }
.rangak-final-action__amount-row > span { display:inline; color:#655d55; font-size:15px; font-weight:750; }
.rangak-final-action__amount-row > strong { display:inline; margin:0; color:#733844; font-size:clamp(23px,2.4vw,30px); font-weight:900; line-height:1.35; white-space:nowrap; }
.rangak-final-action__amount > small { display: block; margin-top: 5px; color: #746c64; font-size: 12px; line-height: 1.8; }
.rangak-final-action__amount > small[hidden] { display:none !important; }
.rangak-final-action__message { margin:0; color:#5f574f; font-size:13px; line-height:1.8; }
.rangak-final-action__message[hidden] { display:none !important; }
.rangak-final-action__controls { width:100%; max-width:100%; min-width:0; margin-top:4px; display:block; box-sizing:border-box; }
.rangak-final-action .rangak-terms-notice { padding:0; border:0; border-radius:0; background:transparent; color:#655d55; font-size:12px; line-height:1.9; }
.rangak-final-action .rangak-terms-notice a { color: #733844; }
.rangak-summary-detail-link { display:inline; flex:0 0 auto; margin-inline-start:0; margin-top:0; color:#733844; font-size:12px; font-weight:800; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.rangak-summary-detail-link:hover { color:#4f242d; }
.rangak-step-actions.rangak-step-actions--final { width:100%; max-width:340px; display:grid; grid-template-columns:minmax(82px,.36fr) minmax(0,1fr); gap:8px; margin:0; box-sizing:border-box; }
.rangak-step-actions.rangak-step-actions--final .button { width:100% !important; min-width:0 !important; max-width:100%; min-height:44px !important; margin:0 !important; padding:10px 12px !important; float:none !important; display:inline-flex !important; align-items:center; justify-content:center; gap:8px; border-radius:9px !important; box-sizing:border-box; font-size:14px !important; white-space:nowrap; overflow:hidden; }
.rangak-step-actions.rangak-step-actions--final .rangak-prev { margin-left:0; }
.rangak-step-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.rangak-step-actions .button { min-height: 46px; padding: 11px 18px; border-radius: 9px; cursor: pointer; }
.rangak-step-actions .rangak-prev { margin-left: auto; }
.rangak-step-actions .button.is-loading,
.rangak-order-basics .button.is-loading { gap: 10px; cursor: wait; opacity: .88; transform: none; }
.rangak-order-basics .button.is-loading.is-spinner-only { gap: 0; }
.rangak-loading-spinner { width: 18px; height: 18px; flex: 0 0 18px; display: inline-block; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: rangak-loading-spin .72s linear infinite; }
.rangak-summary-modal { position:fixed; z-index:100060; inset:0; display:grid; place-items:center; padding:20px; background:rgba(18,15,13,.72); direction:rtl; opacity:0; pointer-events:none; transition:opacity .18s ease; }
.rangak-summary-modal[hidden] { display:none !important; }
.rangak-summary-modal.is-open { opacity:1; pointer-events:auto; }
.rangak-summary-modal__backdrop { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; background:transparent; cursor:pointer; }
.rangak-summary-modal__dialog { position:relative; width:min(560px,100%); height:min(760px,calc(100vh - 40px)); max-height:min(760px,calc(100vh - 40px)); display:flex; flex-direction:column; overflow:hidden; border:1px solid #cabfb2; border-radius:16px; background:#fffdf9; color:#29251f; box-shadow:0 30px 90px rgba(0,0,0,.3); text-align:right; transform:translateY(12px) scale(.985); transition:transform .18s ease; }
.rangak-summary-modal.is-open .rangak-summary-modal__dialog { transform:none; }
.rangak-summary-modal__header { display:flex; align-items:center; justify-content:space-between; gap:16px; flex:0 0 auto; padding:16px 20px; border-bottom:1px solid #ded5ca; background:#f4eee6; }
.rangak-summary-modal__header h3 { margin:0; color:#211d19; font-size:20px; line-height:1.5; }
.rangak-summary-modal__close { width:38px; height:38px; display:grid; place-items:center; flex:0 0 38px; padding:0; border:1px solid #cfc5b9; background:#fff; color:#342e29; font:400 27px/1 Arial,sans-serif; cursor:pointer; }
.rangak-summary-modal__body { min-height:0; flex:1 1 auto; overflow:auto; }
.rangak-summary-modal__body .rangak-summary-lines { padding:16px 20px 12px; }
.rangak-summary-modal__total { display:flex; align-items:baseline; justify-content:space-between; gap:14px; padding:15px 20px; border-top:1px solid #ded5ca; background:#f8f3ed; }
.rangak-summary-modal__total span { color:#5f574f; font-size:14px; font-weight:800; }
.rangak-summary-modal__total strong { color:#733844; font-size:25px; font-weight:900; white-space:nowrap; }
.rangak-summary-modal__actions { position:sticky; bottom:0; z-index:2; display:grid !important; grid-template-columns:minmax(96px,.36fr) minmax(0,1fr); gap:8px; flex:0 0 auto; padding:14px 20px 18px; border-top:1px solid #ded5ca; background:#fffdf9; }
.rangak-summary-modal__actions .button { width:100%; min-width:0; min-height:46px; margin:0; padding:10px 13px; display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:9px !important; box-sizing:border-box; }
.rangak-mode-guide { position:fixed; z-index:100080; inset:0; display:grid; place-items:center; padding:16px; direction:rtl; }
.rangak-mode-guide[hidden] { display:none !important; }
.rangak-mode-guide__backdrop { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; background:rgba(18,15,13,.72); cursor:pointer; }
.rangak-mode-guide__dialog { position:relative; display:flex; flex-direction:column; width:min(600px,100%); max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); overflow:hidden; border:1px solid #d8c8bd; border-radius:16px; background:#fffdf9; color:#29251f; box-shadow:0 30px 90px rgba(0,0,0,.3); text-align:right; }
.rangak-mode-guide__header { display:flex; align-items:center; justify-content:space-between; gap:12px; flex:0 0 auto; padding:14px 20px; border-bottom:1px solid #ded5ca; background:#f4eee6; }
.rangak-mode-guide__header h2 { margin:0; color:inherit; font-size:18px; line-height:1.6; }
.rangak-mode-guide__close { display:grid; place-items:center; flex:0 0 36px; width:36px; height:36px; padding:0; border:0; background:transparent; color:inherit; font:400 27px/1 Arial,sans-serif; cursor:pointer; }
.rangak-mode-guide__body { min-height:0; overflow:auto; overscroll-behavior:contain; padding:18px 20px; font-size:14px; line-height:2; }
.rangak-mode-guide__body [hidden] { display:none !important; }
.rangak-mode-guide__body h3 { margin:0 0 12px; color:inherit; font-size:16px; line-height:1.8; }
.rangak-mode-guide__body p { margin:0 0 14px; color:inherit; }
.rangak-mode-guide__body p:last-child { margin-bottom:0; }
.rangak-mode-guide__conclusion { padding:12px 14px; border-right:3px solid #8a4453; border-radius:8px; background:#f8eff0; }
.rangak-mode-guide__footer { flex:0 0 auto; padding:12px 20px 16px; border-top:1px solid #ded5ca; background:#fffdf9; }
.rangak-mode-guide__footer .button { display:block; width:100%; min-height:44px; margin:0; border-radius:9px; }
html[data-rangak-theme="dark"] .rangak-mode-guide__dialog { border-color:#454c55; background:#15191f; color:#eee8df; }
html[data-rangak-theme="dark"] .rangak-mode-guide__header, html[data-rangak-theme="dark"] .rangak-mode-guide__footer { border-color:#3d444c; background:#1b2026; }
html[data-rangak-theme="dark"] .rangak-mode-guide__conclusion { border-color:#efa9b5; background:#38252b; }
@media(max-width:560px) { .rangak-mode-guide { padding:10px; } .rangak-mode-guide__dialog { max-height:calc(100vh - 20px); max-height:calc(100dvh - 20px); } .rangak-mode-guide__header { padding:12px 15px; } .rangak-mode-guide__body { padding:14px 15px; } .rangak-mode-guide__footer { padding:10px 15px 14px; } }
.rangak-assembly-modal { position:fixed; z-index:100070; inset:0; display:grid; place-items:center; padding:20px; direction:rtl; opacity:0; pointer-events:none; transition:opacity .18s ease; }
.rangak-assembly-modal[hidden] { display:none !important; }
.rangak-assembly-modal.is-open { opacity:1; pointer-events:auto; }
.rangak-assembly-modal__backdrop { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; background:rgba(18,15,13,.72); cursor:pointer; }
.rangak-assembly-modal__dialog { position:relative; width:min(600px,100%); max-height:min(760px,calc(100dvh - 40px)); overflow:auto; padding:30px; border:1px solid #d8c8bd; border-radius:22px; background:linear-gradient(145deg,#fffdf9 0%,#fff8f5 100%); color:#29251f; box-shadow:0 30px 90px rgba(0,0,0,.3); text-align:right; transform:translateY(12px) scale(.985); transition:transform .18s ease; box-sizing:border-box; }
.rangak-assembly-modal.is-open .rangak-assembly-modal__dialog { transform:none; }
.rangak-assembly-modal__eyebrow { display:inline-flex; align-items:center; min-height:29px; margin-bottom:8px; padding:3px 11px; border-radius:999px; background:#f1e4e6; color:#733844; font-size:12px; font-weight:900; }
.rangak-assembly-modal__dialog h2 { margin:0 0 15px; color:#2b2420; font-size:clamp(22px,3vw,28px); line-height:1.55; }
.rangak-assembly-modal__copy { display:grid; gap:11px; }
.rangak-assembly-modal__copy p { margin:0; color:#5f574f; font-size:15px; line-height:2; }
.rangak-assembly-modal__impact { padding:14px 16px; border:1px solid #cfe2d5; border-right:4px solid #4f8b65; border-radius:13px; background:#f2f8f3; color:#3f5145 !important; }
.rangak-assembly-modal__impact p { color:inherit !important; }
.rangak-assembly-modal__impact strong { color:#28573a; font-weight:850; }
.rangak-assembly-modal__source { display:inline-flex; align-items:center; gap:4px; width:fit-content; margin-top:7px; color:#3f7250 !important; font-size:12px; font-weight:800; line-height:1.8; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.rangak-assembly-modal__source:hover { color:#28573a !important; }
.rangak-assembly-modal__amount { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-top:17px; padding:15px 17px; border:1px solid #dfd0c5; border-radius:14px; background:#fff; }
.rangak-assembly-modal__amount span { color:#625950; font-size:14px; font-weight:800; }
.rangak-assembly-modal__amount strong { color:#733844; font-size:23px; font-weight:950; white-space:nowrap; }
.rangak-assembly-modal__actions { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr); gap:10px; margin-top:18px; }
.rangak-assembly-modal__actions .button { width:100%; min-height:49px; display:inline-flex !important; align-items:center; justify-content:center; margin:0 !important; padding:11px 16px !important; border-radius:12px !important; box-sizing:border-box; cursor:pointer; font-size:15px !important; font-weight:900 !important; }
.rangak-assembly-modal__confirm { border-color:#733844 !important; background:#733844 !important; color:#fff !important; }
.rangak-assembly-modal__confirm:hover { border-color:#8a4d55 !important; background:#8a4d55 !important; }
.rangak-assembly-modal__decline { border-color:#d6cac0 !important; background:#fff !important; color:#4d453e !important; }
.rangak-assembly-modal__decline:hover { border-color:#9d8f84 !important; color:#29231f !important; }
.rangak-formality-card-modal .rangak-assembly-modal__dialog { width:min(520px,100%); }
.rangak-formality-card-modal__close { position:sticky; z-index:5; top:0; width:42px; height:42px; display:grid; place-items:center; margin:0 auto -42px 0; padding:0 0 3px; border:1px solid rgba(115,56,68,.2); border-radius:50%; background:rgba(255,255,255,.94); color:#733844; box-shadow:0 7px 22px rgba(37,25,22,.18); cursor:pointer; font:400 30px/1 sans-serif; backdrop-filter:blur(8px); }
.rangak-formality-card-modal__close:hover { border-color:#733844; background:#fff; }
.rangak-formality-card-modal__close:focus-visible { outline:3px solid rgba(115,56,68,.25); outline-offset:2px; }
.rangak-formality-card-modal .rangak-assembly-modal__dialog h2 { padding-left:48px; font-size:19px; line-height:1.5; letter-spacing:-.3px; white-space:nowrap; }
.rangak-formality-slider { width:min(360px,100%); min-width:0; margin:0 auto 18px; }
.rangak-formality-slider__viewport { position:relative; width:100%; height:auto; aspect-ratio:9 / 16; overflow:hidden; touch-action:pan-y; border:1px solid #e2d8ce; border-radius:18px; background:radial-gradient(circle at 50% 35%,#fff 0%,#f3ede6 100%); box-shadow:0 12px 34px rgba(67,46,39,.13),inset 0 0 0 1px rgba(255,255,255,.72); user-select:none; }
.rangak-formality-slider__slide { position:relative; width:100%; height:100%; box-sizing:border-box; display:grid; place-items:center; margin:0; padding:5px; }
.rangak-formality-slider__slide[hidden] { display:none !important; }
.rangak-formality-slider__slide img { display:block; width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; border-radius:14px; opacity:0; filter:blur(3px); transform:scale(.99); transition:opacity .22s ease,filter .22s ease,transform .22s ease; }
.rangak-formality-slider__slide.is-loaded img { opacity:1; filter:none; transform:none; }
.rangak-formality-slider__loader { position:absolute; z-index:2; inset:0; display:none; place-items:center; color:#733844; pointer-events:none; }
.rangak-formality-slider__slide.is-loading .rangak-formality-slider__loader { display:grid; }
.rangak-formality-slider__slide.has-error::after { content:'نمایش این نمونه ممکن نشد'; color:#7d555b; font-size:13px; font-weight:800; }
.rangak-formality-slider__arrow { position:absolute; z-index:3; top:50%; width:38px; height:46px; display:grid; place-items:center; margin:0; padding:0; transform:translateY(-50%); border:1px solid rgba(115,56,68,.18); border-radius:12px; background:rgba(255,255,255,.9); color:#733844; box-shadow:0 6px 20px rgba(50,35,31,.14); cursor:pointer; font:900 30px/1 sans-serif; transition:background .18s ease,transform .18s ease; }
.rangak-formality-slider__arrow:hover { background:#fff; transform:translateY(-50%) scale(1.04); }
.rangak-formality-slider__arrow--previous { left:10px; }
.rangak-formality-slider__arrow--next { right:10px; }
.rangak-formality-slider__footer { min-height:26px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 3px 0; }
.rangak-formality-slider__dots { display:flex; align-items:center; gap:6px; direction:ltr; }
.rangak-formality-slider__dots button { width:8px; height:8px; min-width:0; margin:0; padding:0; border:0; border-radius:999px; background:#cfc2b8; cursor:pointer; transition:width .18s ease,background .18s ease; }
.rangak-formality-slider__dots button[aria-current="true"] { width:23px; background:#733844; }
.rangak-formality-slider__dots button:focus-visible,.rangak-formality-slider__arrow:focus-visible { outline:3px solid rgba(115,56,68,.22); outline-offset:2px; }
.rangak-formality-slider__counter { color:#746b63; font-size:12px; font-weight:800; white-space:nowrap; }
.rangak-wizard-error { margin: 0 24px 24px; padding: 11px 14px; border-right: 3px solid #a53e47; background: #f6dedf; color: #70232a; font-size: 14px; }

/* V2 keeps the complete information flow inside the familiar product wizard. */
.rangak-configurator--v2 .rangak-wizard-step[data-step="1"] { padding:0; }
.rangak-configurator--v2 .rangak-wizard-step[data-step="1"] > .rangak-choice-group { margin:0 0 20px; }
.rangak-v2-printed-fields[hidden], .rangak-v2-foil-choice[hidden] { display:none !important; }
.rangak-v2-printed-fields { margin-top:0; padding-top:18px; border-top:0; }
.rangak-v2-printed-fields > h3 { margin:0 0 18px; color:#302c27; font-size:17px; line-height:1.7; }
.rangak-configurator--v2 .rangak-v2-information-choice + [data-information-details] > .rangak-v2-printed-fields { padding-top:16px; }
.rangak-configurator--v2 .rangak-v2-information-helper { margin:-8px 0 18px; color:#706960; font-size:12px; line-height:1.9; }
.rangak-v2-fields { display:grid; grid-template-columns:1fr; gap:12px; }
.rangak-v2-fields--two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.rangak-v2-fields--delivery { align-items:end; }
.rangak-v2-fields--delivery .rangak-v2-floating-field--wide { grid-column:1 / -1; }
.rangak-v2-fields--delivery[data-v2-delivery-fields] > [data-v2-delivery-input][hidden],
.rangak-v2-mobile-fallback[hidden],
.rangak-choice-group[data-v2-delivery-group][hidden] { display:none !important; }
.rangak-choice-group[data-v2-delivery-group].is-v2-deferred-mobile-only .rangak-v2-fields--delivery { grid-template-columns:1fr; }
.rangak-choice-group[data-v2-delivery-group].is-v2-deferred-mobile-only .rangak-v2-mobile-fallback { grid-column:1 / -1; }
.rangak-configurator--v2 .rangak-v2-fields--quantity { width:195px; max-width:195px; margin:0 0 12px; }
.rangak-configurator--v2 .rangak-v2-fields--quantity .rangak-floating-field input { border-color:#cfc5b9; border-radius:9px; }
.rangak-v2-fields--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.rangak-v2-event-time { grid-template-columns:repeat(2,minmax(0,1fr)); }
.rangak-v2-event-time .rangak-v2-event-choice[data-rangak-event-choice="reception"] { grid-column:1 / -1; }
.rangak-configurator--v2 .rangak-wizard-step[data-step="4"] .rangak-v2-fields,
.rangak-configurator--finished .rangak-wizard-step[data-step="2"] .rangak-v2-fields { gap:14px; }
.rangak-configurator--v2 .rangak-wizard-step[data-step="4"] .rangak-v2-fields + .rangak-v2-fields,
.rangak-configurator--finished .rangak-wizard-step[data-step="2"] .rangak-v2-fields + .rangak-v2-fields { margin-top:14px; }
.rangak-configurator--v2 .rangak-wizard-step[data-step="4"] .rangak-v2-printed-fields + .rangak-choice-group,
.rangak-configurator--finished .rangak-wizard-step[data-step="2"] .rangak-v2-printed-fields + .rangak-choice-group { margin-top:6px; }
.rangak-configurator--v2 .rangak-wizard-step[data-step="4"] .rangak-v2-floating-field input,
.rangak-configurator--v2 .rangak-wizard-step[data-step="4"] .rangak-v2-floating-field textarea,
.rangak-configurator--v2 .rangak-wizard-step[data-step="4"] .rangak-v2-select-field select,
.rangak-configurator--finished .rangak-wizard-step[data-step="2"] .rangak-v2-floating-field input,
.rangak-configurator--finished .rangak-wizard-step[data-step="2"] .rangak-v2-floating-field textarea,
.rangak-configurator--finished .rangak-wizard-step[data-step="2"] .rangak-v2-select-field select { border-radius:9px; }
.rangak-v2-floating-field { position:relative; min-width:0; display:block; }
.rangak-v2-floating-field input,
.rangak-v2-floating-field textarea,
.rangak-v2-select-field select { width:100%; min-width:0; margin:0; border:1px solid #cfc5b9; border-radius:9px; background:#fff; color:#29251f; box-sizing:border-box; font:inherit; outline:0; transition:border-color .18s ease,box-shadow .18s ease; }
.rangak-v2-floating-field input { min-height:54px; padding:20px 13px 7px; }
.rangak-v2-floating-field textarea { min-height:88px; padding:23px 13px 9px; resize:vertical; }
.rangak-v2-floating-field > span { position:absolute; z-index:1; top:27px; right:13px; max-width:calc(100% - 26px); overflow:hidden; padding:0; transform:translateY(-50%); background:#fff; color:#625d56; font-size:14px; font-weight:750; line-height:1.45; text-overflow:ellipsis; white-space:nowrap; pointer-events:none; transition:top .18s ease,transform .18s ease,color .18s ease,font-size .18s ease,padding .18s ease; }
.rangak-v2-floating-field input::placeholder,
.rangak-v2-floating-field textarea::placeholder { color:transparent; opacity:0; transition:color .18s ease,opacity .18s ease; }
.rangak-v2-floating-field input:focus,
.rangak-v2-floating-field textarea:focus { border-color:#733844; box-shadow:0 0 0 3px rgba(115,56,68,.11); }
.rangak-v2-floating-field.is-active input::placeholder,
.rangak-v2-floating-field.is-active textarea::placeholder { color:#918980; opacity:1; }
.rangak-v2-floating-field.is-active > span,
.rangak-v2-floating-field.is-filled > span { top:0; max-width:calc(100% - 18px); padding:0 6px; transform:translateY(-50%); color:#733844; font-size:12px; }
/* Theme-level placeholder colors must never leak underneath an idle floating
 * label. The real example is revealed only while that exact field has focus. */
.rangak-checkout-floating-field:not(.is-active) input::placeholder,
.rangak-checkout-floating-field:not(.is-active) textarea::placeholder { color:transparent !important; opacity:0 !important; }
.rangak-checkout-floating-field.is-active input::placeholder,
.rangak-checkout-floating-field.is-active textarea::placeholder { color:#918980 !important; opacity:1 !important; }
.rangak-v2-floating-field--wide { grid-column:1 / -1; }
.rangak-v2-select-field { min-width:0; display:grid; gap:6px; }
.rangak-v2-select-field > span { color:#514b45; font-size:12px; font-weight:800; }
.rangak-v2-select-field select { min-height:54px; padding:8px 12px; }
.rangak-v2-event-custom-input[hidden] { display:none !important; }
.rangak-v2-mobile-fallback[hidden] { display:none !important; }
.rangak-v2-event-choice > input { width:100%; min-width:0; min-height:54px; margin:0; padding:8px 12px; border:1px solid #cfc5b9; border-radius:9px; background:#fff; color:#29251f; box-sizing:border-box; font:inherit; outline:0; transition:border-color .18s ease,box-shadow .18s ease; }
.rangak-v2-event-choice > input:focus { border-color:#733844; box-shadow:0 0 0 3px rgba(115,56,68,.11); }
.rangak-v2-native-choice { min-width:0; margin:15px 0; padding:14px; border:1px solid #ded5ca; border-radius:10px; background:#faf7f2; }
.rangak-v2-native-choice legend { padding:0 5px; color:#39342f; font-size:14px; font-weight:850; }
.rangak-v2-native-choice > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.rangak-v2-native-choice label { min-height:48px; display:flex; align-items:center; gap:9px; padding:8px 11px; border:1px solid #d5ccc1; border-radius:9px; background:#fff; color:#4b443d; font-size:14px; font-weight:750; cursor:pointer; box-sizing:border-box; }
.rangak-v2-native-choice input[type="radio"] { width:19px; height:19px; flex:0 0 19px; margin:0; accent-color:#733844; }
.rangak-v2-native-choice label:has(input:checked) { border-color:#733844; box-shadow:inset 0 0 0 1px #733844; color:#592b34; }
.rangak-configurator--v2 .rangak-v2-preset-field { position:relative; margin:0 0 14px; }
.rangak-configurator--v2 .rangak-v2-preset-field > label { position:absolute; z-index:3; top:25px; right:13px; max-width:calc(100% - 26px); display:block; overflow:hidden; margin:0; padding:0; transform:translateY(-50%); background:#fff; color:#615b54; font-size:14px; font-weight:750; line-height:1.45; text-overflow:ellipsis; white-space:nowrap; pointer-events:none; transition:top .18s ease,transform .18s ease,color .18s ease,font-size .18s ease,padding .18s ease; }
.rangak-configurator--v2 .rangak-v2-preset-field .woocommerce-input-wrapper { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:9px; }
.rangak-configurator--v2 .rangak-v2-preset-field .woocommerce-input-wrapper > input,
.rangak-configurator--v2 .rangak-v2-preset-field .woocommerce-input-wrapper > textarea { grid-column:1; width:100%; min-width:0; margin:0; border:1px solid #cfc5b9; border-radius:9px; background:#fff; color:#29251f; box-sizing:border-box; font:inherit; outline:0; }
.rangak-configurator--v2 .rangak-wizard-step[data-step="4"] .rangak-v2-preset-field .woocommerce-input-wrapper > input,
.rangak-configurator--v2 .rangak-wizard-step[data-step="4"] .rangak-v2-preset-field .woocommerce-input-wrapper > textarea,
.rangak-configurator--v2 .rangak-wizard-step[data-step="4"] .rangak-preset-open,
.rangak-configurator--finished .rangak-wizard-step[data-step="2"] .rangak-v2-preset-field .woocommerce-input-wrapper > input,
.rangak-configurator--finished .rangak-wizard-step[data-step="2"] .rangak-v2-preset-field .woocommerce-input-wrapper > textarea,
.rangak-configurator--finished .rangak-wizard-step[data-step="2"] .rangak-preset-open { border-radius:9px !important; }

.rangak-configurator--formality-product .rangak-wizard-progress--single { margin-bottom:18px; }
.rangak-configurator--formality-product .rangak-wizard-progress--single .rangak-wizard-progress__copy { justify-content:center; }
.rangak-configurator--formality-product .rangak-wizard-progress--single .rangak-wizard-progress__title { width:100%; text-align:center; }
.rangak-configurator--v2.rangak-configurator--formality-product .rangak-wizard-step[data-step="1"] { padding:24px; }
.rangak-configurator--formality-product .rangak-formality-product-intro { margin:0 0 22px; color:#625b55; line-height:1.9; }
.rangak-configurator--formality-product .rangak-choice-group { margin-bottom:22px; }
.rangak-configurator--formality-product .rangak-v2-fields--delivery { gap:14px 12px; }
.rangak-configurator--v2 .rangak-v2-preset-field .woocommerce-input-wrapper > input { min-height:50px; padding:17px 13px 5px; }
.rangak-configurator--v2 .rangak-v2-preset-field .woocommerce-input-wrapper > textarea { min-height:92px; padding:21px 13px 8px; resize:vertical; }
.rangak-configurator--v2 .rangak-v2-preset-field .woocommerce-input-wrapper > input::placeholder,
.rangak-configurator--v2 .rangak-v2-preset-field .woocommerce-input-wrapper > textarea::placeholder { color:transparent; opacity:0; }
.rangak-configurator--v2 .rangak-v2-preset-field .rangak-preset-open { grid-column:2; grid-row:1; min-height:49px; display:inline-flex !important; align-items:center !important; justify-content:center !important; margin:0 !important; padding:9px 14px !important; border:1px solid #733844 !important; border-radius:9px !important; background:#fff !important; color:#733844 !important; font-size:14px !important; line-height:1.4; text-align:center !important; white-space:nowrap; }
.rangak-configurator--v2 .rangak-v2-preset-field .rangak-preset-state { grid-column:1 / -1; color:#706960; font-size:13px; line-height:1.7; }
.rangak-configurator--v2 .rangak-v2-preset-helper { margin:-2px 0 13px; color:#706960; font-size:12px; line-height:1.8; }
.rangak-configurator--v2 .rangak-v2-preset-helper span { display:block; }
.rangak-configurator--v2 .rangak-v2-preset-field.is-active > label,
.rangak-configurator--v2 .rangak-v2-preset-field.is-filled > label { top:0; max-width:calc(100% - 18px); padding:0 6px; transform:translateY(-50%); color:#733844; font-size:12px; }
.rangak-configurator--v2 .rangak-v2-preset-field.is-active input::placeholder,
.rangak-configurator--v2 .rangak-v2-preset-field.is-active textarea::placeholder { color:#8b847b; opacity:1; }

/* Reversible V2 stage-3 compact preview: keep the existing fields and names,
 * but reveal the ceremony block and copy block progressively. */
.rangak-v2-stage3-compact { display:grid; gap:12px; }
.rangak-v2-stage3-intro { margin:0; }
.rangak-v2-stage3-intro h3 { margin:0 0 5px; color:#302c27; font-size:17px; line-height:1.65; }
.rangak-v2-stage3-intro p { margin:0; color:#706960; font-size:12px; line-height:1.8; }
.rangak-v2-information-choice { min-width:0; margin:0; padding:0; border:0; }
.rangak-v2-information-choice legend { width:100%; margin:0 0 10px; color:#302c27; font-size:16px; font-weight:850; }
.rangak-v2-information-choice .rangak-radio-list { display:grid; grid-template-columns:1fr; grid-auto-flow:row; gap:10px; }
.rangak-v2-information-choice .rangak-radio-list > label { width:100%; }
.rangak-v2-information-choice .rangak-radio-list label > span { min-height:76px; }
.rangak-v2-information-choice__note { margin:10px 2px 0; color:#706960; font-size:12px; line-height:1.85; }
.rangak-v2-information-choice + [data-information-details][hidden] { display:none !important; }
.rangak-v2-stage3-section { margin:0; border:1px solid #ded5ca; border-radius:12px; background:#fff; overflow:hidden; }
.rangak-v2-stage3-section > summary { position:relative; display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:57px; padding:12px 15px; color:#39342f; cursor:pointer; list-style:none; }
.rangak-v2-stage3-section > summary::-webkit-details-marker { display:none; }
.rangak-v2-stage3-section > summary::after { content:'+'; flex:0 0 auto; color:#733844; font-size:22px; font-weight:500; line-height:1; }
.rangak-v2-stage3-section[open] > summary { border-bottom:1px solid #eee7df; }
.rangak-v2-stage3-section[open] > summary::after { content:'−'; }
.rangak-v2-stage3-section > summary > span { font-size:15px; font-weight:850; }
.rangak-v2-stage3-section > summary > small { margin-right:auto; color:#7a7269; font-size:12px; line-height:1.55; text-align:left; }
.rangak-v2-stage3-section__body { padding:12px 14px 2px; }
.rangak-v2-stage3-compact .rangak-v2-printed-fields { margin:0; padding:14px; }
.rangak-v2-stage3-compact .rangak-v2-printed-fields > .rangak-v2-fields:first-child { margin-top:0; }
.rangak-v2-stage3-compact .rangak-v2-preset-helper { margin:0 0 11px; }
.rangak-v2-stage3-compact .rangak-choice-group { margin:0; padding:0; border:0; background:transparent; }
.rangak-v2-stage3-compact .rangak-choice-group > legend { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

html[data-rangak-theme="dark"] .rangak-v2-stage3-intro h3 { color:#f2eee7; }
html[data-rangak-theme="dark"] .rangak-v2-stage3-intro p { color:#bbb5ad; }
html[data-rangak-theme="dark"] .rangak-v2-information-choice legend { color:#f2eee7; }
html[data-rangak-theme="dark"] .rangak-v2-information-choice__note { color:#bbb5ad; }
html[data-rangak-theme="dark"] .rangak-v2-stage3-section { border-color:#3e454d; background:#101419; }
html[data-rangak-theme="dark"] .rangak-v2-stage3-section > summary { color:#e8e2da; }
html[data-rangak-theme="dark"] .rangak-v2-stage3-section[open] > summary { border-bottom-color:#30363d; }
html[data-rangak-theme="dark"] .rangak-v2-stage3-section > summary > small { color:#bbb5ad; }

@media (max-width: 560px) {
	.rangak-v2-stage3-compact { gap:10px; }
	.rangak-v2-stage3-intro h3 { font-size:16px; }
	.rangak-v2-information-choice legend { font-size:15px; }
	.rangak-v2-information-choice .rangak-radio-list label > span { min-height:84px; }
	.rangak-v2-stage3-section > summary { min-height:53px; padding:10px 12px; gap:8px; }
	.rangak-v2-stage3-section > summary > span { font-size:14px; }
	.rangak-v2-stage3-section > summary > small { font-size:11px; }
	.rangak-v2-stage3-compact .rangak-v2-printed-fields { padding:12px; }
	.rangak-v2-stage3-section__body { padding:11px 12px 1px; }
}

html[data-rangak-theme="dark"] .rangak-v2-printed-fields { border-color:#3e454d; }
html[data-rangak-theme="dark"] .rangak-v2-printed-fields > h3 { color:#f2eee7; }
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-information-helper { color:#bbb5ad; }
html[data-rangak-theme="dark"] .rangak-v2-floating-field input,
html[data-rangak-theme="dark"] .rangak-v2-floating-field textarea,
html[data-rangak-theme="dark"] .rangak-v2-select-field select { border-color:#454c55; background:#101419; color:#eee8df; }
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-fields--quantity .rangak-floating-field input { border-color:#454c55; background:#101419; color:#eee8df; }
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-fields--quantity .rangak-floating-label { background:#101419; color:#b8b3ab; }
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-fields--quantity .rangak-floating-field input:focus + .rangak-floating-label,
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-fields--quantity .rangak-floating-field input:not(:placeholder-shown) + .rangak-floating-label { color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-v2-floating-field > span { background:#101419; color:#b8b3ab; }
html[data-rangak-theme="dark"] .rangak-v2-floating-field.is-active > span,
html[data-rangak-theme="dark"] .rangak-v2-floating-field.is-filled > span { color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-v2-select-field > span,
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-preset-field > label,
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-preset-field .rangak-preset-state,
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-preset-helper { color:#bbb5ad; }
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-preset-field > label { background:#101419; }
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-preset-field .woocommerce-input-wrapper > input,
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-preset-field .woocommerce-input-wrapper > textarea { border-color:#454c55; background:#101419; color:#eee8df; }
html[data-rangak-theme="dark"] .rangak-v2-event-choice > input { border-color:#454c55; background:#101419; color:#eee8df; }
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-preset-field.is-active > label,
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-preset-field.is-filled > label { color:#efa9b5; background:#101419; }
html[data-rangak-theme="dark"] .rangak-configurator--v2 .rangak-v2-preset-field .rangak-preset-open { border-color:#d08b97 !important; background:#101419 !important; color:#efa9b5 !important; }
html[data-rangak-theme="dark"] .rangak-v2-native-choice { border-color:#3e454d; background:#171c22; }
html[data-rangak-theme="dark"] .rangak-v2-native-choice legend { color:#e8e2da; }
html[data-rangak-theme="dark"] .rangak-v2-native-choice label { border-color:#454c55; background:#101419; color:#d2cec6; }
html[data-rangak-theme="dark"] .rangak-v2-native-choice label:has(input:checked) { border-color:#d08b97; box-shadow:inset 0 0 0 1px #d08b97; color:#f0c0c6; }

@keyframes rangak-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.rangak-loading-spinner { animation-duration: 1.4s; }
	.rangak-floating-field input,
	.rangak-floating-label,
	.rangak-wizard-progress__track > i { transition: none; }
}

@media (max-width: 760px) {
	.rangak-wizard-step[data-step="1"] > .rangak-choice-group { margin-inline: 16px; }
	.rangak-order-basics { grid-template-columns: minmax(120px,.72fr) minmax(155px,1.28fr) minmax(92px,auto); gap: 8px; padding: 16px; }
	.rangak-order-basics__next { min-width: 92px; padding-inline: 12px !important; }
	.rangak-print-summary { display:grid; direction:ltr; grid-template-columns:minmax(104px,auto) minmax(0,1fr); grid-template-areas:"change details"; align-items:center; gap:3px 9px; padding:10px; }
	.rangak-print-summary__details { grid-area:details; direction:rtl; min-width:0; width:100%; display:flex; flex-direction:column; align-items:center; justify-self:stretch; gap:3px; transform:translateX(20px); }
	.rangak-print-summary__current { width:100%; min-width:0; display:flex; align-items:center; justify-content:center; gap:9px; }
	.rangak-print-summary__label { font-size:13px; }
	.rangak-print-summary__selection strong { font-size:14px; }
	.rangak-print-summary__price { display:flex; flex:none; min-width:0; width:100%; max-width:100%; align-items:center; justify-content:center; flex-direction:column; gap:1px; margin:0; font-size:13px; line-height:1.5; text-align:center; white-space:normal; }
	.rangak-print-summary__price-label, .rangak-print-summary__price-amount { width:100%; text-align:center; }
	.rangak-print-summary__change { grid-area:change; direction:rtl; align-self:center; justify-self:stretch; width:100%; min-width:104px; margin:0 !important; white-space:nowrap; }
	.rangak-print-method-modal-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.rangak-print-color-modal { padding:10px; }
	.rangak-print-color-modal__dialog { height:calc(100dvh - 20px); max-height:calc(100dvh - 20px); border-radius:15px; }
	.rangak-print-color-modal__header { padding:13px 14px 12px; }
	.rangak-print-color-modal__header h3 { font-size:18px; }
	.rangak-print-color-modal__header p { font-size:13px; }
	.rangak-print-color-modal__body { padding:14px; }
	.rangak-print-palette { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.rangak-print-color-modal__footer { grid-template-columns:minmax(0,1fr) 118px; padding:11px 14px 13px; }
	.rangak-print-color-modal__confirm { min-height:56px; padding-inline:9px !important; }
	.rangak-order-summary__summary { min-height: 58px; padding: 12px 15px; }
	.rangak-order-summary__toggle { min-width: 0; }
	.rangak-summary-lines { gap: 9px; padding: 12px; }
	.rangak-summary-row { gap: 12px; padding: 10px 11px; }
	.rangak-summary-total { min-height: 0; align-items: flex-start; flex-direction: column; gap: 12px; padding: 18px 15px; }
	.rangak-summary-total strong { width: 100%; font-size: 27px; text-align: right; }
	.rangak-final-action { gap:9px; padding:17px 15px; }
	.rangak-final-action__amount-row { gap:8px; }
	.rangak-final-action__amount-row > strong { font-size:25px; }
	.rangak-summary-detail-link { display:block; flex:0 0 100%; margin-top:2px; }
	.rangak-summary-modal { padding:10px; }
	.rangak-summary-modal__dialog { max-height:calc(100dvh - 20px); }
	.rangak-summary-modal__header { padding:13px 14px; }
	.rangak-summary-modal__body .rangak-summary-lines { padding:12px; }
	.rangak-summary-modal__total { padding:13px 14px; }
	.rangak-summary-modal__actions { padding:12px 14px 14px; }
	.rangak-assembly-modal { padding:10px; }
	.rangak-assembly-modal__dialog { max-height:calc(100dvh - 20px); padding:24px 18px 18px; border-radius:17px; }
	.rangak-assembly-modal__dialog h2 { font-size:21px; }
	.rangak-assembly-modal__copy p { font-size:14px; line-height:1.9; }
	.rangak-assembly-modal__impact { padding:12px 13px; }
	.rangak-assembly-modal__amount { align-items:flex-start; flex-direction:column; gap:4px; padding:13px 14px; }
	.rangak-assembly-modal__amount strong { font-size:22px; }
	.rangak-assembly-modal__actions { grid-template-columns:1fr; }
	.rangak-formality-card-modal { place-items:stretch; padding:0; }
	.rangak-formality-card-modal .rangak-assembly-modal__dialog { width:100%; min-height:100dvh; max-height:100dvh; padding:18px 16px 24px; border-radius:0; }
	.rangak-formality-card-modal .rangak-assembly-modal__dialog h2 { margin-bottom:15px; font-size:clamp(12px,3.8vw,16px); }
	.rangak-formality-slider { width:min(100%,390px); margin-bottom:18px; }
	.rangak-formality-slider__viewport { width:100%; height:auto; aspect-ratio:9 / 16; border-radius:15px; }
	.rangak-formality-slider__slide { padding:4px; }
	.rangak-formality-slider__arrow { width:36px; height:46px; border-radius:11px; font-size:28px; }
	.rangak-formality-slider__arrow--previous { left:8px; }
	.rangak-formality-slider__arrow--next { right:8px; }
	.rangak-v2-fields--two { grid-template-columns:1fr; }
	.rangak-v2-fields--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
	.rangak-v2-event-time { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.rangak-v2-fields--delivery { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.rangak-configurator--v2 .rangak-v2-fields--quantity { width:195px; max-width:195px; }
}

@media (max-width: 560px) {
	.rangak-wizard-progress { padding:11px 14px 12px; }
	.rangak-wizard-progress__copy { gap:10px; margin-bottom:8px; }
	.rangak-wizard-progress__counter { font-size:12px; }
	.rangak-wizard-progress__current { font-size:14px; }
	.rangak-wizard-progress__title { font-size:14px; }
	.rangak-wizard-progress__track { height:4px; }
	.rangak-order-basics { grid-template-columns: 112px minmax(0,1fr) 66px; gap: 6px; padding: 12px; }
	.rangak-floating-field input { padding-inline: 8px; }
	.rangak-floating-label { right: 7px; max-width: calc(100% - 14px); font-size: 12px; }
	.rangak-floating-field input:focus + .rangak-floating-label,
	.rangak-floating-field input:not(:placeholder-shown) + .rangak-floating-label { max-width: calc(100% - 8px); padding-inline: 3px; font-size: 11px; }
	.rangak-floating-label__full { display: none; }
	.rangak-floating-label__compact { display: inline; }
	.rangak-floating-field--mobile input { font-size: 15px; }
	.rangak-order-basics__next { min-width: 66px; min-height: 53px; gap: 0; padding-inline: 7px !important; font-size: 14px !important; }
	.rangak-order-basics__next:not(.is-loading) > span { display: none; }
	.rangak-mode-grid label > span, .rangak-shipping-grid label > span { min-height: 78px; }
	.rangak-mode-grid label > span { grid-template-columns: 1fr; }
	.rangak-mode-grid label > span > strong, .rangak-mode-grid label > span > small, .rangak-mode-grid label > span > b { grid-column: 1; }
	.rangak-mode-grid label > span > b { grid-column: 1 / -1; grid-row: auto; margin-top: 3px; text-align: right; white-space: normal; }
	.rangak-radio-list label > span > small { white-space: normal; }
	.rangak-print-options [data-method-price] { align-items:flex-start; flex-direction:column; gap:1px; text-align:right; }
	.rangak-print-options [data-method-price-amount] { align-self:center; }
	.rangak-optional-print-methods { padding: 11px; }
	.rangak-step-actions--final { width:100%; max-width:100%; grid-template-columns:minmax(76px,.34fr) minmax(0,1fr); }
	.rangak-configurator--v2 .rangak-wizard-step[data-step="1"] { padding:0; }
	.rangak-configurator--v2 .rangak-wizard-step[data-step="1"] > .rangak-choice-group { margin:0 0 18px; }
	.rangak-configurator--v2.rangak-configurator--formality-product .rangak-wizard-step[data-step="1"] { padding:18px 16px 20px; }
	.rangak-configurator--formality-product .rangak-formality-product-intro { margin-bottom:20px; }
	.rangak-configurator--formality-product .rangak-choice-group { margin-bottom:20px; }
	.rangak-v2-native-choice > div { grid-template-columns:1fr; }
	.rangak-configurator--v2 .rangak-v2-preset-field .woocommerce-input-wrapper { grid-template-columns:1fr; }
	.rangak-configurator--v2 .rangak-v2-preset-field .rangak-preset-open { grid-column:1; grid-row:auto; width:100%; }
	.rangak-configurator--v2 .rangak-v2-fields--quantity { width:112px; max-width:112px; margin-bottom:12px; }
}

@media (max-height: 560px) {
	.rangak-print-color-modal { padding:6px; }
	.rangak-print-color-modal__dialog { height:calc(100dvh - 12px); max-height:calc(100dvh - 12px); }
	.rangak-print-color-modal__header { padding:8px 12px; }
	.rangak-print-color-modal__header h3 { font-size:17px; }
	.rangak-print-color-modal__header p { margin-top:0; font-size:12px; line-height:1.55; }
	.rangak-print-color-modal__close { width:34px; height:34px; flex-basis:34px; }
	.rangak-print-color-modal.is-extra-compact .rangak-print-color-field { height:78px; }
	.rangak-print-color-modal.is-extra-compact .rangak-print-palette__swatch { min-height:40px; padding-block:4px; }
	.rangak-print-color-modal__footer { padding:7px 12px; }
	.rangak-print-color-modal__confirm { min-height:50px; }
}

html[data-rangak-theme="dark"] .rangak-order-summary { border-color:#3e454d;background:#101419;color:#eee8df;box-shadow:0 16px 42px rgba(0,0,0,.28); }
html[data-rangak-theme="dark"] .rangak-order-summary__summary { background:#1b2026; }
html[data-rangak-theme="dark"] .rangak-order-summary__toggle { color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-order-summary__details { border-color:#3e454d; }
html[data-rangak-theme="dark"] .rangak-order-summary .rangak-summary-group { border-color:#363d44;background:#14191e; }
html[data-rangak-theme="dark"] .rangak-order-summary .rangak-summary-group > h4 { border-color:#363d44;background:#20262c;color:#bfb8af; }
html[data-rangak-theme="dark"] .rangak-order-summary .rangak-summary-row { border-color:#30363d;color:#c8c1b8; }
html[data-rangak-theme="dark"] .rangak-order-summary .rangak-summary-row > b { color:#f4efe8; }
html[data-rangak-theme="dark"] .rangak-order-summary .rangak-summary-row.rangak-summary-primary { background:#1d2023;color:#f2ece4; }
html[data-rangak-theme="dark"] .rangak-order-summary .rangak-summary-group--shipping { border-color:#31534e;background:#13201f; }
html[data-rangak-theme="dark"] .rangak-order-summary .rangak-summary-group--shipping > h4 { border-color:#31534e;background:#1d302d;color:#9ed0c7; }
html[data-rangak-theme="dark"] .rangak-terms-notice { border-color:#3e454d;background:#101419;color:#d8d2ca; }
html[data-rangak-theme="dark"] .rangak-final-action .rangak-terms-notice { border:0;background:transparent;color:#cfc6bd; }
html[data-rangak-theme="dark"] .rangak-final-action { border-color:#3c3530;background:#241f1b;color:#fff;box-shadow:0 18px 44px rgba(0,0,0,.28); }
html[data-rangak-theme="dark"] .rangak-final-action__amount-row > span { color:#c9c0b7; }
html[data-rangak-theme="dark"] .rangak-final-action__amount-row > strong { color:#fff; }
html[data-rangak-theme="dark"] .rangak-final-action__amount > small { color:#d4cbc2; }
html[data-rangak-theme="dark"] .rangak-final-action__message { color:#eee7df; }
html[data-rangak-theme="dark"] .rangak-discount-box { border-color:#4a4038; background:#1d1916; }
html[data-rangak-theme="dark"] .rangak-discount-toggle > span { border-color:#4a4038; background:#29231f; color:#f5eee6; }
html[data-rangak-theme="dark"] .rangak-discount-toggle > input:checked + span { border-color:#9b6370; background:#302329; box-shadow:inset 0 0 0 1px #9b6370; }
html[data-rangak-theme="dark"] .rangak-discount-box__panel { border-top-color:#4a4038; }
html[data-rangak-theme="dark"] .rangak-discount-box__field input { border-color:#5d5148; background:#29231f; color:#f5eee6; }
html[data-rangak-theme="dark"] .rangak-discount-box__field input::placeholder { color:#bdb1a7; }
html[data-rangak-theme="dark"] .rangak-discount-box__result { color:#8fd0ae; }
html[data-rangak-theme="dark"] .rangak-discount-box[data-discount-state="applied"] { border:2px solid #62b887; background:#173526; box-shadow:0 0 0 4px rgba(98,184,135,.24), inset 0 0 0 1px rgba(255,255,255,.08); }
html[data-rangak-theme="dark"] .rangak-discount-box__apply[data-discount-mode="remove"] { background:#3c9b6c !important; color:#fff !important; }
html[data-rangak-theme="dark"] .rangak-discount-toast { border-color:#62b887; background:#173526; color:#b6edcb; }
html[data-rangak-theme="dark"] .rangak-discount-toast:not(.is-success) { border-color:#c86972; background:#3a1c21; color:#ffc1c6; box-shadow:0 12px 30px rgba(0,0,0,.32); }
@media(max-width:560px){.rangak-discount-toast{right:16px;bottom:78px;}}
html[data-rangak-theme="dark"] .rangak-summary-detail-link { color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-summary-detail-link:hover { color:#fff; }
html[data-rangak-theme="dark"] .rangak-summary-modal__dialog { border-color:#454c55; background:#15191f; color:#eee8df; }
html[data-rangak-theme="dark"] .rangak-summary-modal__header,
html[data-rangak-theme="dark"] .rangak-summary-modal__actions { border-color:#3d444c; background:#1b2026; }
html[data-rangak-theme="dark"] .rangak-summary-modal__header h3 { color:#f2eee7; }
html[data-rangak-theme="dark"] .rangak-summary-modal__close { border-color:#4a515a; background:#101419; color:#f2eee7; }
html[data-rangak-theme="dark"] .rangak-summary-modal__total { border-color:#3d444c; background:#20262c; }
html[data-rangak-theme="dark"] .rangak-summary-modal__total span { color:#bbb5ad; }
html[data-rangak-theme="dark"] .rangak-summary-modal__total strong { color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-print-color-modal__dialog { border-color:#454c55; background:#15191f; color:#eee8df; }
html[data-rangak-theme="dark"] .rangak-print-color-modal__header,
html[data-rangak-theme="dark"] .rangak-print-color-modal__footer { border-color:#3d444c; background:#1b2026; }
html[data-rangak-theme="dark"] .rangak-print-color-modal__body { background:#15191f; color:#eee8df; }
html[data-rangak-theme="dark"] .rangak-print-color-modal__header h3 { color:#f2eee7; }
html[data-rangak-theme="dark"] .rangak-print-color-modal__header p { color:#c9c2ba; }
html[data-rangak-theme="dark"] .rangak-print-color-modal__close { border-color:#4a515a; background:#101419; color:#f2eee7; }
html[data-rangak-theme="dark"] .rangak-print-method-choice { border-color:#454c55; background:#101419; color:#eee8df; }
html[data-rangak-theme="dark"] .rangak-print-method-choice small { color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-print-method-choice[aria-pressed="true"] { border-color:#d08b97; background:#38252b; color:#f2eee7; box-shadow:inset 0 0 0 1px #d08b97; }
html[data-rangak-theme="dark"] .rangak-print-method-choice:hover,
html[data-rangak-theme="dark"] .rangak-print-method-choice:focus-visible { border-color:#d08b97; background:#242a31; color:#fff; }
html[data-rangak-theme="dark"] .rangak-print-palette__swatch { border-color:#454c55; background:#20262c; color:#f2eee7; }
html[data-rangak-theme="dark"] .rangak-print-palette__swatch.is-active { border-color:#d08b97; background:#38252b; box-shadow:inset 0 0 0 1px #d08b97; }
html[data-rangak-theme="dark"] .rangak-print-color-picker__custom { border-color:#454c55; background:#101419; }
html[data-rangak-theme="dark"] .rangak-print-color-picker__custom-title strong { color:#f2eee7; }
html[data-rangak-theme="dark"] .rangak-print-color-picker__custom-title span,
html[data-rangak-theme="dark"] .rangak-print-hue { color:#bbb5ad; }
html[data-rangak-theme="dark"] .rangak-print-color-picker__selection { border-color:#4a515a; background:#101419; color:#eee8df; }
html[data-rangak-theme="dark"] .rangak-print-color-picker__selection span { color:#bbb5ad; }
html[data-rangak-theme="dark"] .rangak-print-color-picker__selection output { color:#f2eee7; }
html[data-rangak-theme="dark"] .woocommerce div.product form.rangak-configurator .rangak-print-color-modal__confirm { border:1px solid #d08b97 !important; background:#733844 !important; color:#fff !important; box-shadow:none !important; }
html[data-rangak-theme="dark"] .woocommerce div.product form.rangak-configurator .rangak-print-color-modal__confirm:hover,
html[data-rangak-theme="dark"] .woocommerce div.product form.rangak-configurator .rangak-print-color-modal__confirm:focus-visible { border-color:#efa9b5 !important; background:#8d4656 !important; color:#fff !important; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__dialog { border-color:#454c55; background:linear-gradient(145deg,#171c22 0%,#211a1d 100%); color:#f1ece6; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__eyebrow { background:#38252b; color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__dialog h2 { color:#f2eee7; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__copy p { color:#c9c2ba; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__impact { border-color:#385342; border-right-color:#73ad87; background:#18261e; color:#c6d9cc !important; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__impact strong { color:#9fdbb2; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__source { color:#8cc79f !important; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__source:hover { color:#b6e2c4 !important; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__amount { border-color:#4a3b3f; background:#211a1d; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__amount span { color:#c9c0b7; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__amount strong { color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-formality-slider__viewport { border-color:#454c55; background:radial-gradient(circle at 50% 35%,#242a31 0%,#14191f 100%); box-shadow:none; }
html[data-rangak-theme="dark"] .rangak-formality-slider__arrow { border-color:#4c535c; background:rgba(25,30,36,.9); color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-formality-slider__arrow:hover { background:#242a31; }
html[data-rangak-theme="dark"] .rangak-formality-slider__dots button { background:#58606a; }
html[data-rangak-theme="dark"] .rangak-formality-slider__dots button[aria-current="true"] { background:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-formality-slider__counter { color:#bbb5ad; }
html[data-rangak-theme="dark"] .rangak-formality-card-modal__close { border-color:#4c535c; background:rgba(25,30,36,.94); color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-formality-card-modal__close:hover { background:#242a31; }
html[data-rangak-theme="dark"] .rangak-assembly-modal__decline { border-color:#4a515a !important; background:#101419 !important; color:#eee8df !important; }
html[data-rangak-theme="dark"] .rangak-terms-notice a { color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-shipping-grid label > span > small { color:#fff; }
html[data-rangak-theme="dark"] .rangak-step-one-helper { color: #c8c1b7; }
html[data-rangak-theme="dark"] .rangak-wizard-progress { background:#171c22; color:#eee8df; }
html[data-rangak-theme="dark"] .rangak-wizard-progress__counter { color:#aaa39a; }
html[data-rangak-theme="dark"] .rangak-wizard-progress__current { color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-wizard-progress__title { color:#f2eee7; }
html[data-rangak-theme="dark"] .rangak-wizard-progress__track { background:#343a42; }
html[data-rangak-theme="dark"] .rangak-wizard-progress__track > i { background:#d08b97; }
html[data-rangak-theme="dark"] .rangak-shipping-grid .rangak-shipping-delivery { border-color:rgba(239,169,181,.22);color:#efa9b5; }
html[data-rangak-theme="dark"] .rangak-optional-print-methods { border-color:#3e454d;background:#11161b; }
html[data-rangak-theme="dark"] .rangak-optional-print-methods__title { color:#d4cfc7; }

@media (max-width: 390px) {
	.rangak-order-basics { grid-template-columns: 112px minmax(0,1fr) 58px; gap: 5px; padding: 10px; }
	.rangak-floating-field input { height: 53px; min-height: 53px; font-size: 15px; }
	.rangak-floating-field--quantity input { font-size: 17px; }
	.rangak-floating-field--mobile input { padding-inline: 6px; font-size: 14px; }
	.rangak-order-basics__next { min-width: 58px; padding-inline: 5px !important; font-size: 13px !important; }
	.rangak-print-color-picker__custom-title { align-items: flex-start; flex-direction: column; gap: 3px; }
	.rangak-print-color-field { height: 170px; }
}

/* The theme gives WooCommerce buttons a square radius globally. Keep the
 * wizard actions consistent with the rounded radio and form controls. */
body.rangak-card-product.woocommerce div.product form.rangak-configurator button.button,
body.rangak-card-product.woocommerce div.product form.rangak-configurator a.button {
	border-radius: 9px !important;
}


@media(max-width:560px){.rangak-wizard-step{padding:20px 14px 16px}.rangak-option-grid,.rangak-print-options,.rangak-assembly-grid,.rangak-mode-grid,.rangak-shipping-grid{grid-template-columns:1fr}.rangak-step-actions{align-items:stretch}.rangak-step-actions .button{flex:1;padding-inline:10px}}
