/* RC19: shared purchase presentation. No global selectors or commerce state. */
:is(.emm-cart-main .emm-cart-root,.emm06,.emm-premium-dialog,.emm-color-picker){font-family:emm-site-vazir, emm-journey-vazir, Vazirmatn, Tahoma, sans-serif;line-height:1.8;--journey-ink:#344d23;--journey-line:#e6d9ca;--journey-shadow:0 5px 18px #6b4c3010;--journey-surface:linear-gradient(145deg,#fffaf5,#f8eee4)}
:is(.emm-cart-main .emm-cart-root,.emm06,.emm-premium-dialog,.emm-color-picker) :is(button,input,select,textarea){font-family:inherit}
:is(.emm-cart-main .emm-cart-root,.emm06,.emm-premium-dialog) :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #657b3b;outline-offset:3px}
.emm-journey-steps{min-width:0;box-sizing:border-box;background:#fff9f2;border:1px solid #fff;border-radius:20px;padding:12px 16px;box-shadow:var(--journey-shadow);color:var(--journey-ink)}
.emm-cart-root .emm-journey-steps{margin-block:0 22px}
.emm-journey-steps ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;direction:rtl}
.emm-journey-steps li{display:flex;position:relative;flex-direction:column;align-items:center;gap:5px;min-width:0;text-align:center;font-size:clamp(.72rem,.9vw,.91rem);color:#706658;line-height:1.55}
.emm-journey-steps li>span{display:grid;place-items:center;box-sizing:border-box;width:38px;height:38px;border-radius:50%;background:#f2e8db;border:1px solid #e2d4c2;z-index:1;color:#936d3d}
.emm-journey-steps li>span svg,.emm06 .emm-journey-steps li>span svg{width:20px;height:20px;color:inherit}
.emm-journey-steps li:not(:last-child)::after{content:'';position:absolute;top:19px;inset-inline-start:calc(50% + 22px);width:calc(100% - 36px);height:2px;background:#ded1bf}
.emm-journey-steps li.is-current>span,.emm-journey-steps li.is-done>span{background:linear-gradient(145deg,#758a49,#3e5828);border-color:#fff;color:#fff;box-shadow:0 3px 8px #40562a32}
.emm-journey-steps li.is-current b{color:#344d23;font-weight:850}.emm-journey-steps li.is-done::after{background:#80934e}
.emm-cart-main .emm-cart-root{font-size:clamp(.86rem,1vw,.98rem);color:#344326}
.emm-cart-main .emm-cart-root :is(.emm-cart-group,.emm-cart-summary,.emm-cart-empty-hero,.emm-cart-popular){background:var(--journey-surface);border:1px solid #fff;border-radius:22px;box-shadow:var(--journey-shadow)}
.emm-cart-main .emm-cart-root .emm-cart-summary{padding:16px;gap:12px}
.emm-cart-root .emm-cart-heading{gap:10px;margin-bottom:20px}.emm-cart-root .emm-cart-heading h1{font-size:clamp(1.35rem,2.4vw,2rem)}
.emm-cart-root .emm-cart-heading>a{background:#fff9f1;border:1px solid var(--journey-line);border-radius:999px;padding:8px 14px;min-height:44px}
.emm-cart-root .emm-cart-links>a,.emm-cart-root .emm-cart-specs>summary{min-height:44px;font-size:.8rem}
.emm-cart-root .emm-cart-step button{min-width:36px;min-height:40px}.emm-cart-root .emm-cart-step input.qty{height:40px}
.emm-cart-root .emm-cart-remove{min-width:40px;min-height:44px}
.emm-cart-root .emm-cart-line{font-size:.83rem}.emm-cart-root .emm-cart-line-total strong{padding:7px 4px}
.emm-cart-root .woocommerce-Price-amount bdi{direction:rtl;unicode-bidi:isolate;white-space:normal}
.emm-cart-root .woocommerce-Price-currencySymbol{font-size:.8em;margin-inline-start:.2em}
.emm-cart-root .emm-cart-note,.emm06 .emm06-info{background:#f2eddf;color:#685b46;border:1px solid #e8dcc7;border-radius:14px}
.emm06 .emm06-header{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) auto;gap:16px;background:#fff8f0;padding:12px clamp(12px,2vw,32px)}
.emm06 .emm06-card{background:var(--journey-surface);border:1px solid #fff;border-radius:22px;box-shadow:var(--journey-shadow);padding:clamp(14px,1.5vw,24px)}
.emm06 .emm06-section-title{color:#344d23;font-weight:800;gap:9px}
.emm06 .emm06-field :is(input,select,textarea){min-height:48px;border-radius:13px;background:#fffaf5;font-size:1rem}
.emm06 .emm06-field textarea{min-height:76px}.emm06 .emm06-field label{font-size:.88em;color:#504737}
.emm06 .emm06-address-card,.emm06 .emm06-rate{border-radius:15px;min-height:48px}
.emm06 .emm06-grand{background:#e7ecd5;color:#344d23;border-radius:16px;padding:14px}
.emm06 .emm06-auth-dialog{background:#fff8ef;border:1px solid #fff;border-radius:24px;padding:20px;box-shadow:0 15px 45px #382b2040}
.emm06 .emm06-auth-dialog :is(input,button){min-height:48px}
.emm-premium-dialog .emm-qb-header,.emm-premium-dialog .emm-qb-footer{background:#fff8f0}
.emm-premium-dialog .emm-qb-scroll{scrollbar-width:thin;scrollbar-color:#9ba681 #f3e8dc}
.emm-premium-dialog .emm-purchase-view[data-mode=modal] .emm-purchase-selection,.emm-premium-dialog .emm-purchase-summary{background:var(--journey-surface);box-shadow:var(--journey-shadow)}
.emm-premium-dialog .emm-qb-footer .emm-purchase-actions button{min-height:50px;font-size:.85rem}
.emm-premium-dialog .emm-qb-footer .emm-purchase-actions button.emm-purchase-primary,.emm06 .emm06-primary{background:linear-gradient(145deg,#718745,#405b29);color:#fff}
.emm-premium-dialog .emm-qb-preview-info a{min-height:44px;display:grid;place-items:center;text-align:center}
.emm-premium-dialog .emm-qb-preview-info a[hidden]{display:none}
@media(max-width:1250px){.emm06 .emm06-header{grid-template-columns:minmax(0,1fr) auto}.emm06 .emm-journey-steps{grid-row:2;grid-column:1/-1}}
@media(max-width:1000px){.emm-cart-root .emm-cart-group{grid-template-columns:minmax(0,1fr)}}
@media(max-width:899px){
 .emm-premium-dialog .emm-purchase-view[data-mode=modal]{align-items:stretch;justify-content:flex-start;width:100%;max-width:100%}
 .emm-premium-dialog .emm-purchase-view[data-mode=modal] :is(.emm-purchase-selection,.emm-hero-tier-panel,.emm-hero-order-panel){align-self:stretch;box-sizing:border-box;width:100%;max-width:100%;min-width:0}
 .emm-premium-dialog .emm-purchase-view[data-mode=modal] .emm-purchase-summary{display:contents}
 .emm-premium-dialog .emm-qb-scroll{padding:10px;scrollbar-width:thin}
 .emm-premium-dialog .emm-qb-preview{width:100%;box-sizing:border-box}
 .emm-premium-dialog .emm-qb-footer .emm-purchase-actions button{font-size:.8rem}
}
@media(max-width:800px){
 .emm06 .emm06-header{padding:10px;gap:8px}.emm06 .emm06-brand{flex-wrap:wrap;gap:4px}.emm06 .emm06-brand h1{font-size:1rem;line-height:1.5}
 .emm06 .emm06-layout{width:calc(100% - 16px);gap:10px}.emm06 .emm06-card{padding:12px;border-radius:18px}
 .emm06 .emm06-fields{grid-template-columns:minmax(0,1fr)}
 .emm-journey-steps{padding:10px 5px;border-radius:16px}.emm-journey-steps ol{gap:5px}.emm-journey-steps li{font-size:.72rem}.emm-journey-steps li>span{width:34px;height:34px}.emm-journey-steps li:not(:last-child)::after{top:17px;inset-inline-start:calc(50% + 19px);width:calc(100% - 33px)}
 .emm06 .emm06-mobile-bar{bottom:var(--emm-purchase-bottom-offset,0px)}
 .emm06:has(.emm06-field :is(input,textarea,select):focus) .emm06-mobile-bar{position:static;margin:8px;box-shadow:none}
}
@media(max-width:767px){
 .emm-cart-main .emm-cart-container{width:calc(100% - 16px)}
 .emm-cart-main .emm-cart-root :is(.emm-cart-group,.emm-cart-summary){padding:11px;border-radius:18px}
 .emm-cart-root .emm-cart-heading>a{margin-inline-start:0}.emm-cart-root .emm-cart-heading{justify-content:space-between}
 .emm-cart-root .emm-cart-line{gap:9px;padding:12px 8px}.emm-cart-root .emm-cart-unit small{display:block}
 .emm-cart-root .emm-cart-mobile-checkout{bottom:var(--emm-purchase-bottom-offset,0px)}
}
@media(max-width:359px){.emm-premium-dialog .emm-qb-footer .emm-purchase-actions button{font-size:.72rem}.emm-cart-root .emm-cart-step button{min-width:30px}}

@media (min-width:768px) and (max-width:1000px){.emm-cart-root .emm-cart-layout{grid-template-columns:minmax(0,1fr)}.emm-cart-root .emm-cart-summary{position:static}}
