.rngc-shell{--rg-green:#435747;--rg-gold:#b9915b;--rg-ink:#273b2e;--rg-line:#e8ded0;--rg-warm:#faf7f2;direction:rtl;color:var(--rg-ink);font-family:inherit;width:min(1240px,100%);margin:0 auto;box-sizing:border-box}.rngc-shell *{box-sizing:border-box}.rngc-shell button,.rngc-shell input{font:inherit}.rngc-preview-banner{direction:rtl;background:#fff7e8;border:1px solid #e2c895;border-radius:9px;color:#765626;padding:11px 16px;margin:14px auto;max-width:1240px;font-size:13px;text-align:center}.rngc-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);gap:clamp(22px,4vw,55px);align-items:center;padding:26px 0 32px}.rngc-story{text-align:center;min-width:0}.rngc-kicker{font-size:11px;letter-spacing:2px;color:#9c7950;font-weight:600}.rngc-story h1{font-size:clamp(27px,3vw,43px)!important;line-height:1.45!important;color:#263f30!important;margin:9px 0!important;font-weight:750}.rngc-story-lead{font-size:clamp(15px,1.6vw,20px);margin:0 0 5px}.rngc-story-sub{color:#6f746b;font-size:13px;line-height:2;margin:0 auto 24px;max-width:420px}.rngc-product-art{position:relative;isolation:isolate;max-width:530px;margin:0 auto;padding:18px 10px 29px}.rngc-product-art:before{content:"";position:absolute;inset:8% 4% 4%;z-index:-1;border-radius:50%;background:radial-gradient(ellipse,#f3e4d1 0%,#faf6ef 50%,transparent 74%)}.rngc-product-art img{width:88%;display:block;margin:auto;aspect-ratio:400/249;object-fit:cover;border-radius:15px;box-shadow:0 24px 37px rgba(56,48,34,.18),0 5px 11px rgba(48,45,32,.1);transform:rotate(-6deg);transition:transform .3s ease}.rngc-product-art img:hover{transform:rotate(-3deg) translateY(-3px)}.rngc-art-caption{font-size:12px;color:#8b7e6e;margin-top:18px}.rngc-features{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:8px 0 0}.rngc-feature{flex:1 1 115px;display:flex;align-items:center;flex-direction:column;gap:7px;font-size:12px;line-height:1.6;color:#4d584e}.rngc-feature-icon{width:40px;height:40px;border:1px solid #dac6a7;display:grid;place-items:center;border-radius:50%;color:#aa8651;font-size:19px}.rngc-panel{border:1px solid #e9dfd2;background:linear-gradient(145deg,#fff 8%,#fffdf9 80%,#fcf8f2);border-radius:19px;box-shadow:0 14px 39px rgba(69,55,40,.08);padding:clamp(18px,3vw,32px);min-width:0}.rngc-panel-tag{display:inline-flex;align-items:center;gap:7px;border-radius:20px;background:#f8efdf;color:#987344;font-size:12px;padding:8px 13px;margin-bottom:17px}.rngc-panel h2{font-size:22px!important;margin:0 0 8px!important;color:#243b2d!important}.rngc-help{font-size:12px;color:#80867f;line-height:1.9;margin:0 0 14px}.rngc-field-title{display:block;font-weight:650;font-size:14px;margin:18px 0 9px}.rngc-amount-wrap{position:relative}.rngc-input{background:#fff!important;border:1px solid #dedbd4!important;border-radius:10px!important;color:#263f30!important;min-height:53px!important;box-shadow:none!important;outline:none!important}.rngc-amount{width:100%;text-align:center;font-size:23px!important;font-weight:750!important;direction:ltr;padding:10px 60px!important}.rngc-amount-wrap:after{content:'تومان';position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#8a8e85;font-size:12px;pointer-events:none}.rngc-input:focus{border-color:#59735c!important;box-shadow:0 0 0 2px rgba(67,87,71,.12)!important}.rngc-slider{width:100%;accent-color:#435747;cursor:pointer;margin:20px 0 6px;height:6px;touch-action:pan-y}.rngc-range-labels{display:flex;justify-content:space-between;gap:10px;color:#8b8b82;font-size:11px}.rngc-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:19px}.rngc-quick button{background:#fff;border:1px solid #e5d9c8;border-radius:9px;min-height:38px;color:#536054;cursor:pointer;font-size:12px;padding:5px}.rngc-quick button.rngc-active{background:#435747;color:#fff;border-color:#435747}.rngc-quantity-row{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:19px 0 17px}.rngc-quantity-row label{font-weight:650;font-size:14px}.rngc-qty{display:flex;direction:ltr;align-items:center;border:1px solid #e3ded5;border-radius:10px;overflow:hidden;background:#fff}.rngc-qty button{background:#f9f6f1;border:0;color:#344a38;min-width:43px;min-height:42px;font-size:21px;cursor:pointer}.rngc-qty input{width:54px!important;max-width:54px!important;text-align:center!important;border:0!important;box-shadow:none!important;direction:ltr;min-height:42px!important;appearance:textfield!important;padding:4px!important}.rngc-qty input::-webkit-inner-spin-button,.rngc-amount::-webkit-inner-spin-button{-webkit-appearance:none}.rngc-summary{background:#f0f4ee;border:1px solid #dce5d9;border-radius:12px;padding:16px 19px;margin-top:16px}.rngc-summary h3{font-size:16px!important;margin:0 0 12px!important}.rngc-sum-row{display:flex;justify-content:space-between;font-size:13px;padding:6px 0;border-bottom:1px solid #dde7db;gap:9px}.rngc-sum-row:last-child{border:0;padding-top:11px;font-weight:750;font-size:16px}.rngc-value{direction:ltr;unicode-bidi:isolate}.rngc-submit{width:100%;min-height:54px;border:0!important;border-radius:10px!important;background:#435747!important;color:white!important;font-size:15px!important;font-weight:650!important;margin:17px 0 6px;cursor:pointer}.rngc-submit[disabled]{background:#849286!important;cursor:not-allowed}.rngc-note{font-size:11px;color:#8a8a82;line-height:1.9;text-align:center;margin:10px 0 0}.rngc-corp{border:1px solid #e6d8c5;border-radius:15px;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:21px 27px;margin:3px 0 35px;background:linear-gradient(110deg,#fff,#fcf8f1)}.rngc-corp h3{margin:0 0 6px!important;font-size:18px!important;color:#263f30!important}.rngc-corp p{margin:0;font-size:12px;color:#83867f;line-height:1.8}.rngc-corp-steps{font-size:12px;line-height:2.2;color:#5c665d}.rngc-corp-label{display:flex;align-items:center;gap:12px}.rngc-corp-icon{width:43px;height:43px;background:#f6ebdc;border-radius:50%;display:grid;place-items:center;font-size:21px;color:#9c7b4d;flex:none}@media(max-width:900px){.rngc-hero{grid-template-columns:1fr;gap:22px;padding-top:16px}.rngc-story{order:0}.rngc-panel{order:1;max-width:650px;width:100%;margin:auto}.rngc-product-art{max-width:450px;padding:6px 0 15px}.rngc-story-sub{margin-bottom:12px}.rngc-corp{flex-wrap:wrap}.rngc-corp-steps{width:100%}}@media(max-width:480px){.rngc-shell{padding:0 12px}.rngc-hero{gap:19px}.rngc-story h1{font-size:27px!important}.rngc-story-lead{font-size:15px}.rngc-story-sub{font-size:11px;line-height:1.8}.rngc-product-art{max-width:330px;padding:8px 3px 17px}.rngc-product-art img{width:83%;border-radius:11px}.rngc-features{gap:3px}.rngc-feature{font-size:10px;flex:1 1 30%;text-align:center}.rngc-feature-icon{height:36px;width:36px}.rngc-panel{padding:18px 15px;border-radius:15px}.rngc-panel h2{font-size:19px!important}.rngc-amount{font-size:21px!important}.rngc-quick{gap:5px}.rngc-quick button{font-size:11px;padding:4px 2px}.rngc-summary{padding:14px}.rngc-corp{padding:16px;gap:12px}.rngc-corp h3{font-size:16px!important}.rngc-corp-steps{font-size:11px}.rngc-preview-banner{margin:10px 12px;font-size:11px}}@media(prefers-reduced-motion:reduce){.rngc-product-art img{transition:none;transform:none}.rngc-product-art img:hover{transform:none}}

/* v0.1.5: visual fidelity pass — scoped to the gift card shortcode only. */
.rngc-shell{--rg-green:#354e3d;--rg-ink:#243b2e;--rg-line:#eadbca;max-width:1340px;width:100%;padding:0 clamp(12px,2.2vw,28px);background:radial-gradient(ellipse at 18% 18%,rgba(233,213,187,.31),transparent 42%),linear-gradient(130deg,#fffefc,#faf6f0 68%,#fdfbf7);border-radius:22px;overflow:visible}
.rngc-hero{gap:clamp(24px,3vw,48px);padding:clamp(26px,4vw,55px) clamp(8px,2vw,24px) 28px;align-items:center}
.rngc-story{position:relative;padding:10px 0 15px;isolation:isolate}
.rngc-story:before,.rngc-story:after{content:"";position:absolute;pointer-events:none;z-index:-1;background:url('front.webp') center/cover;opacity:.07;filter:sepia(.55);width:165px;height:210px;border-radius:50%;mask-image:linear-gradient(to bottom,black,transparent)}
.rngc-story:before{top:5px;right:-30px;transform:rotate(-22deg)}
.rngc-story:after{bottom:2px;left:0;transform:rotate(145deg)}
.rngc-kicker{letter-spacing:2.5px;font-size:12px}.rngc-story h1{font-size:clamp(30px,3.35vw,50px)!important;font-weight:800!important;margin:15px 0 12px!important;line-height:1.28!important}
.rngc-story-lead{font-size:clamp(16px,1.7vw,21px);font-weight:600;color:#4c534b;margin-bottom:8px}
.rngc-story-sub{font-size:13px;max-width:470px;line-height:2.1}
.rngc-product-art{height:clamp(245px,27vw,380px);max-width:610px;padding:20px 0 34px;display:flex;align-items:center;justify-content:center;margin:18px auto 8px;perspective:1000px}
.rngc-product-art:before{inset:16% 0% 4%;background:radial-gradient(ellipse,#e8d7c0 0%,#f3eadf 39%,transparent 72%)}
.rngc-product-art img{position:absolute;object-fit:cover;width:min(70%,390px);height:auto;aspect-ratio:400/249;margin:0;display:block;border-radius:13px;box-shadow:0 24px 31px rgba(53,40,24,.17),0 5px 12px rgba(54,45,32,.1);transition:transform .35s ease}
.rngc-product-art .rngc-card-front{z-index:2;transform:rotate(-5deg) translate(-9%,12%)}
.rngc-product-art .rngc-card-behind{z-index:1;transform:rotate(8deg) translate(15%,-11%);filter:brightness(.88) sepia(.08)}
.rngc-product-art:hover .rngc-card-front{transform:rotate(-3deg) translate(-9%,8%)}
.rngc-product-art:hover .rngc-card-behind{transform:rotate(10deg) translate(15%,-14%)}
.rngc-art-caption{position:absolute;bottom:0;right:0;left:0;margin:0;color:#947952}
.rngc-features{margin:25px auto 0;max-width:550px;gap:0}
.rngc-feature{flex:1 1 30%;border-left:1px solid #e9d9c6;padding:0 12px;font-weight:600}
.rngc-feature:last-child{border-left:0}.rngc-feature-icon{width:45px;height:45px;font-size:24px;background:#fff8ed}
.rngc-panel{background:linear-gradient(170deg,rgba(255,255,255,.98),rgba(255,253,249,.96));box-shadow:0 18px 55px rgba(65,49,27,.095);border-radius:23px;padding:clamp(20px,3vw,38px);border-color:#eadfd0}
.rngc-panel-tag{padding:8px 15px;margin-bottom:23px;background:#f9eddb}
.rngc-panel h2{font-size:clamp(22px,2vw,29px)!important;margin-bottom:8px!important}
.rngc-help{font-size:13px;margin-bottom:20px}.rngc-amount{font-size:clamp(23px,2.3vw,31px)!important;background:#fbfaf8!important;height:64px!important;min-height:64px!important;letter-spacing:.2px}
.rngc-slider{height:8px;margin:26px 0 13px;accent-color:#354e3d}
.rngc-quick button{min-height:44px;background:#fffdfa;border-color:#e9d7bf}.rngc-quick button:hover{border-color:#768d78}
.rngc-quantity-row{padding-top:11px;margin:20px 0 24px}.rngc-qty button{min-height:48px;min-width:50px}.rngc-qty input{min-height:48px!important}
.rngc-summary{background:linear-gradient(135deg,#f0f5ef,#f8f9f5);padding:22px;border-radius:15px;margin-top:8px}
.rngc-grand-total{font-size:18px!important;padding-top:16px!important}.rngc-grand-total .rngc-value{font-size:19px;color:#274d35}
.rngc-submit{min-height:60px;border-radius:12px!important;background:#354e3d!important}.rngc-note{font-size:12px;max-width:445px;margin:14px auto 0}
.rngc-corp{margin:15px 0 30px;padding:28px 30px;border-radius:19px;background:linear-gradient(110deg,#fffdfa,#f7f1e7)}
@media(max-width:900px){.rngc-shell{padding:0 16px}.rngc-hero{gap:10px;padding:22px 0 20px}.rngc-story{order:0;padding:0}.rngc-panel{order:1}.rngc-product-art{height:340px;max-width:510px}.rngc-features{margin-top:18px}}
@media(max-width:480px){.rngc-shell{padding:0 12px;border-radius:14px}.rngc-hero{padding-top:20px}.rngc-story h1{font-size:30px!important;margin:8px 0 5px!important}.rngc-story-lead{font-size:15px}.rngc-story-sub{font-size:12px;margin-bottom:5px}.rngc-product-art{height:245px;max-width:360px;padding:0;margin:4px auto 12px}.rngc-product-art img{width:73%;border-radius:10px}.rngc-art-caption{font-size:10px}.rngc-features{margin:7px 0 13px}.rngc-feature{padding:0 4px;gap:6px;font-size:10px}.rngc-feature-icon{height:36px;width:36px;font-size:18px}.rngc-panel{padding:21px 16px}.rngc-panel-tag{margin-bottom:12px}.rngc-panel h2{font-size:22px!important}.rngc-amount{min-height:58px!important;height:58px!important;font-size:23px!important}.rngc-slider{margin:20px 0 12px}.rngc-quick{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rngc-quick button{min-height:42px;font-size:12px}.rngc-summary{padding:16px}.rngc-submit{min-height:56px}.rngc-corp{padding:17px 15px;margin-bottom:15px}.rngc-corp-steps{margin-top:5px}}
@media(prefers-reduced-motion:reduce){.rngc-product-art img,.rngc-product-art:hover img{transition:none}}

/* v0.1.6 Persian formatted amount; underlying submitted amount remains ASCII digits. */
.rngc-shell .rngc-amount{font-variant-numeric:normal;letter-spacing:0;direction:ltr;text-align:center;unicode-bidi:plaintext}
/* v0.2.0-beta.2: isolated gift selection list and small-screen UX */
.rngc-add-line{display:block;width:100%;min-height:47px;margin:18px 0 12px;padding:10px;border:1px solid #a2b3a4;border-radius:10px;background:#f6faf5;color:#284633;font-weight:700;cursor:pointer;transition:background .15s ease}
.rngc-add-line:hover{background:#eaf2e9}.rngc-add-line:focus-visible,.rngc-line button:focus-visible{outline:2px solid #435747;outline-offset:3px}
.rngc-basket{background:#fffdfa;border:1px solid #e6dccd;border-radius:14px;padding:16px;margin:12px 0}.rngc-basket-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.rngc-basket-head h3{font-size:16px!important;margin:0!important;color:#263f30!important}.rngc-basket-head span{font-size:12px;color:#6b756d}.rngc-basket-empty{font-size:12px;color:#7e837d;line-height:1.8}.rngc-line{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e9e5dc;padding:12px 0}.rngc-line-info{display:flex;flex-direction:column;gap:3px;min-width:0}.rngc-line-info strong{font-size:14px;color:#274533}.rngc-line-info small{font-size:11px;color:#69786c}.rngc-line-actions{display:flex;align-items:center;gap:6px;direction:ltr;flex-shrink:0}.rngc-line-actions button{padding:4px 9px;border-radius:7px;border:1px solid #deded5;background:white;color:#354d3b;min-width:32px;min-height:35px;cursor:pointer}.rngc-line-actions span{font-size:13px;min-width:18px;text-align:center}.rngc-line-actions .rngc-line-remove{font-size:11px;color:#95634d;min-width:40px;border-color:#e8ddd4}.rngc-inline-message{border:1px solid #eac7bd;background:#fff4f1;border-radius:8px;padding:10px;color:#8a392e;font-size:12px;line-height:1.8}.rngc-inline-message[hidden],.rngc-basket-empty[hidden]{display:none!important}.rngc-basket .rngc-grand-total{border-top:1px solid #e8dfd2;margin-top:8px;font-weight:700}.rngc-shell .rngc-submit{margin-top:13px}.rngc-shell .rngc-amount-wrap,.rngc-shell .rngc-slider{direction:ltr}
@media(max-width:480px){.rngc-basket{padding:12px}.rngc-line{flex-wrap:wrap}.rngc-line-info{flex:1 1 100%}.rngc-line-actions{width:100%;justify-content:flex-end}.rngc-add-line{min-height:48px}.rngc-shell .rngc-panel{padding:18px 14px}.rngc-shell .rngc-slider{min-height:28px;touch-action:pan-y}}

/* v0.2.0-beta.3 — Two-step CTA hierarchy, true RTL slider and accessible touch controls. */
.rngc-shell .rngc-slider{direction:rtl!important;appearance:none;-webkit-appearance:none;height:8px;min-height:8px;border:0;border-radius:999px;background:linear-gradient(to left,#354e3d 0%,#354e3d var(--rngc-fill,0%),#e0e3df var(--rngc-fill,0%),#e0e3df 100%);outline-offset:7px;cursor:pointer;touch-action:pan-y}
.rngc-shell .rngc-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;border:3px solid white;border-radius:50%;background:#354e3d;box-shadow:0 1px 5px #243b2e55;cursor:grab}
.rngc-shell .rngc-slider::-moz-range-thumb{width:17px;height:17px;border:3px solid white;border-radius:50%;background:#354e3d;box-shadow:0 1px 5px #243b2e55;cursor:grab}
.rngc-shell .rngc-range-labels{direction:rtl;text-align:start}
.rngc-shell .rngc-quick{direction:rtl}
.rngc-shell .rngc-step-heading{display:flex;align-items:flex-start;gap:12px;margin:3px 0 18px}
.rngc-shell .rngc-step-heading h2{margin:0 0 4px!important;font-size:clamp(17px,1.6vw,22px)!important;line-height:1.6!important}
.rngc-shell .rngc-step-heading .rngc-help{margin:0!important}
.rngc-shell .rngc-step-number{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:#354e3d;color:#fff;font-size:16px;font-weight:700}
.rngc-shell .rngc-current-selection{background:#f5f7f3;padding:12px 17px;margin:12px 0;border-color:#e0e5dc}
.rngc-shell .rngc-current-selection h3{font-size:14px!important;margin:0 0 5px!important}
.rngc-shell .rngc-current-selection .rngc-sum-row{padding:4px 0}
.rngc-shell .rngc-current-selection .rngc-grand-total{font-size:15px!important;padding-top:7px!important}
.rngc-shell .rngc-current-selection .rngc-grand-total .rngc-value{font-size:16px!important}
.rngc-shell .rngc-add-line{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;margin:15px 0 4px!important;padding:12px 16px;border:1px solid #354e3d!important;border-radius:11px;background:#354e3d!important;color:#fff!important;font-size:15px;font-weight:750;box-shadow:0 5px 14px #354e3d22;transition:background .15s,transform .15s}
.rngc-shell .rngc-add-line:hover{background:#273f30!important;transform:translateY(-1px)}
.rngc-shell .rngc-plus-symbol{font-size:25px;line-height:1}
.rngc-shell .rngc-add-hint{margin:7px 0 21px!important;text-align:center;font-size:12px;color:#6c776c;line-height:1.9}
.rngc-shell .rngc-basket{margin-top:0;padding:19px;border:1px solid #e3d9ca;background:#fffefa}
.rngc-shell .rngc-basket-heading{display:flex;align-items:center;gap:10px}
.rngc-shell .rngc-basket-head{padding-bottom:12px;border-bottom:1px solid #e8e1d7}
.rngc-shell .rngc-basket-head h3{font-size:17px!important}
.rngc-shell .rngc-basket-empty{padding:9px 0;color:#7f857c}
.rngc-shell .rngc-basket .rngc-submit{margin-top:15px!important;min-height:54px}
.rngc-shell .rngc-basket .rngc-submit:disabled{background:#b7beb7!important;color:#fefefe!important;cursor:not-allowed;box-shadow:none}
.rngc-shell .rngc-line-actions button{min-width:40px;min-height:42px}
.rngc-shell button:focus-visible,.rngc-shell input:focus-visible{outline:3px solid #a8814e;outline-offset:3px}
@media(max-width:480px){.rngc-shell .rngc-panel{padding:17px 14px}.rngc-shell .rngc-step-heading{gap:9px}.rngc-shell .rngc-step-number{width:30px;height:30px}.rngc-shell .rngc-add-line{min-height:56px}.rngc-shell .rngc-basket{padding:14px 11px}.rngc-shell .rngc-basket-head h3{font-size:14px!important}.rngc-shell .rngc-line-actions{justify-content:flex-start}.rngc-shell .rngc-line-actions button{min-width:43px;min-height:44px}.rngc-shell .rngc-quick button{min-height:46px}}
@media(prefers-reduced-motion:reduce){.rngc-shell .rngc-add-line{transition:none}.rngc-shell .rngc-add-line:hover{transform:none}}
