/* 3.10: compact mobile commerce. Desktop transaction logic and real form fields remain intact. */
.shima-checkout-address{border:1px solid #d5e3da;border-radius:14px;background:#fff;margin:0 0 12px;overflow:hidden}
.shima-checkout-address>summary{display:flex;align-items:center;gap:10px;padding:12px 14px;min-height:56px;cursor:pointer;list-style:none;color:#254c35;font-size:14px}
.shima-checkout-address>summary::-webkit-details-marker{display:none}
.shima-checkout-address>summary>strong{font-size:12px;color:#607a68;font-weight:500}
.shima-checkout-address .shima-address-edit{margin-inline-start:auto;display:inline-flex;align-items:center;min-height:36px;padding:5px 10px;border:1px solid #cfe2d5;border-radius:8px;color:#087b43;font-size:12px;font-weight:700;background:#f4faf6}
.shima-checkout-address[open]>summary{border-bottom:1px solid #e5eee8}
.shima-checkout-address>.woocommerce-billing-fields{padding:12px}
.shima-qo-picker-status{margin:0;color:#16663e;font-size:12px;line-height:1.8}
.shima-qo-picker-status:empty{display:none}
.shima-qo-empty[hidden]{display:none!important}
.shima-qo-options{margin:12px 0;border-top:1px solid #e0eae3}
.shima-qo-options>summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:13px;font-weight:700;color:#366047}
.shima-qo-options textarea{width:100%;font:inherit;font-size:16px;border:1px solid #d9e5dc;border-radius:9px;padding:8px;resize:vertical}
@media(max-width:1050px){
 html body.shima-storefront-ui-active .shima-site-shell .shima-header-inner{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;grid-template-areas:'menu logo actions' 'search search search'!important;grid-template-rows:auto auto!important;gap:8px!important;padding-block:8px!important;width:calc(100% - 24px)!important;align-items:center}
 html body.shima-storefront-ui-active .shima-site-shell .shima-mobile-menu-toggle{grid-area:menu;display:grid!important;place-items:center;width:44px!important;height:44px!important;padding:10px!important;border-radius:12px!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-logo{grid-area:logo;min-width:0;display:block!important;width:100%!important;padding:0!important;margin:0!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-logo img{max-width:140px!important;width:100%!important;height:auto!important;max-height:42px!important;display:block;object-fit:contain}
 html body.shima-storefront-ui-active .shima-site-shell .shima-header-actions{grid-area:actions;display:flex!important;gap:5px!important;width:auto!important;min-width:0;margin:0!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-header-actions>a,html body.shima-storefront-ui-active .shima-site-shell .shima-header-actions .snc-bell{width:40px!important;height:44px!important;min-width:40px!important;min-height:44px!important;padding:9px!important;border-radius:11px!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-header-actions .shima-account-link>span{display:none!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-search{grid-area:search;width:100%!important;height:44px!important;min-height:44px!important;padding:0 12px!important;margin:0!important;border-radius:13px!important;box-shadow:none!important;min-width:0}
 html body.shima-storefront-ui-active .shima-site-shell .shima-search input{font-size:16px!important;min-width:0;height:42px!important;line-height:normal}
 html body.shima-storefront-ui-active .shima-site-shell .shima-main-nav{display:none!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-main{padding-top:12px!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-container{width:calc(100% - 24px)!important}
 html body.shima-storefront-ui-active #shima-mobile-drawer .smn-head{padding:12px 14px!important;min-height:64px!important}
 html body.shima-storefront-ui-active #shima-mobile-drawer .smn-brand img{width:134px!important;max-height:40px!important}
 html body.shima-storefront-ui-active #shima-mobile-drawer .smn-scroll{padding:10px 12px 16px!important}
 html body.shima-storefront-ui-active #shima-mobile-drawer .smn-account{padding:10px!important;gap:10px!important}
 html body.shima-storefront-ui-active #shima-mobile-drawer .smn-label{margin:14px 0 3px!important;font-size:11px!important}
 html body.shima-storefront-ui-active #shima-mobile-drawer :is(.smn-nav,.smn-services)>a,html body.shima-storefront-ui-active #shima-mobile-drawer .shima-managed-menu li>a{border:1px solid #e2ece5!important;background:#fff!important;margin-block:3px!important;padding:9px 12px!important;min-height:44px!important;font-size:14px!important;border-radius:9px!important}
 html body.shima-storefront-ui-active #shima-mobile-drawer .smn-slogan{margin-top:12px!important;padding-top:12px!important;font-size:12px!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-mobile-bottom-nav{min-height:62px!important;padding-top:5px!important;gap:2px!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-mobile-bottom-nav>a{font-size:10px!important;min-height:46px!important;gap:2px!important;border-radius:10px!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-mobile-bottom-nav>a svg{width:23px!important;height:23px!important}
 html body.shima-storefront-ui-active .shima-archive-head{padding:14px!important;margin-block:0 12px!important;min-height:0!important;gap:10px!important;border-radius:14px!important}
 html body.shima-storefront-ui-active .shima-archive-head h1{font-size:21px!important;margin:4px 0!important}
 html body.shima-storefront-ui-active .shima-archive-head p{margin:4px 0!important;font-size:12px!important}
 html body.shima-storefront-ui-active .shima-archive-products{padding-top:0!important;margin-top:0!important;gap:12px!important}
 html body.shima-storefront-ui-active .shima-shop-sidebar{position:static!important}
 html body.shima-storefront-ui-active .shima-shop-results{min-width:0;align-self:start}
 html body.shima-storefront-ui-active .shima-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:max-content!important;align-items:start!important;gap:10px!important;min-height:0!important}
 html body.shima-storefront-ui-active .shima-reference .sr-product{display:flex!important;flex-direction:column;align-items:stretch!important;align-self:start;height:auto!important;min-height:0!important;gap:0!important;padding:0!important;border-radius:13px!important;overflow:hidden}
 html body.shima-storefront-ui-active .shima-reference .sr-product-image{display:block!important;aspect-ratio:1/1;height:auto!important;min-height:0!important;padding:6px!important;margin:0!important}
 html body.shima-storefront-ui-active .shima-reference .sr-product-image img{width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important}
 html body.shima-storefront-ui-active .shima-reference .sr-product-body{display:flex!important;flex-direction:column;gap:6px;padding:8px 10px 10px!important;height:auto!important;min-height:0!important;justify-content:flex-start!important}
 html body.shima-storefront-ui-active .shima-reference .sr-product h3{font-size:12px!important;line-height:1.85!important;height:auto!important;min-height:0!important;margin:0!important;overflow-wrap:anywhere}
 html body.shima-storefront-ui-active .shima-reference .sr-wholesale{gap:5px!important;min-height:0!important;margin:0!important}
 html body.shima-storefront-ui-active .shima-reference .sr-wholesale svg{width:18px!important;height:18px!important}
 html body.shima-storefront-ui-active .shima-reference .sr-wholesale strong{font-size:11px!important}
 html body.shima-storefront-ui-active .shima-reference .sr-wholesale small{font-size:10px!important;line-height:1.7}
 html body.shima-storefront-ui-active .shima-reference .sr-product-bottom{display:flex!important;flex-wrap:wrap;gap:5px!important;margin:0!important;align-items:center;justify-content:space-between}
 html body.shima-storefront-ui-active .shima-reference .sr-price{font-size:12px!important;line-height:1.9!important;white-space:normal!important;overflow-wrap:anywhere}
 html body.shima-storefront-ui-active .shima-reference .sr-cart{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-qo-hero{padding:14px!important;min-height:0!important;margin:0 auto 12px!important;border-radius:14px!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-qo-hero-art,html body.shima-storefront-ui-active .shima-qo-hero-note,html body.shima-storefront-ui-active .shima-qo-bottom-benefits{display:none!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-qo-hero h1{font-size:22px!important;margin:4px 0!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-qo-hero p{font-size:12px!important;line-height:1.85!important;margin:4px 0!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-qo-toolbar{display:flex!important;flex-direction:column;gap:8px!important;margin-bottom:12px!important}
 html body.shima-storefront-ui-active .shima-qo-search{order:-1;height:46px!important;min-height:46px!important;margin:0!important;width:100%!important;border-radius:12px!important}
 html body.shima-storefront-ui-active .shima-qo-search input{font-size:16px!important;padding-inline:12px 42px!important;min-width:0!important;height:44px!important}
 html body.shima-storefront-ui-active .shima-qo-info-pill{padding:8px 10px!important;min-height:0!important;margin:0!important;font-size:11px!important;border-radius:10px!important;line-height:1.9!important}
 html body.shima-storefront-ui-active .shima-qo-layout{display:flex!important;flex-direction:column!important;gap:12px!important}
 html body.shima-storefront-ui-active .shima-qo-results{order:-1;min-width:0;width:100%!important;padding:12px!important;border-radius:14px!important}
 html body.shima-storefront-ui-active .shima-qo-results-head{display:flex!important;align-items:center;justify-content:space-between;gap:8px!important;margin-bottom:10px!important;min-width:0}
 html body.shima-storefront-ui-active .shima-qo-results-head h2{font-size:16px!important;margin:0!important}
 html body.shima-storefront-ui-active .shima-qo-results-head p{font-size:11px!important;margin:4px 0!important;line-height:1.8!important}
 html body.shima-storefront-ui-active .shima-qo-count{font-size:11px!important;padding:5px 8px!important;min-width:0!important;white-space:nowrap}
 html body.shima-storefront-ui-active .shima-qo-table-head{display:none!important}
 html body.shima-storefront-ui-active .shima-qo-table-wrap,html body.shima-storefront-ui-active .shima-qo-table-body{display:grid!important;gap:8px!important;overflow:visible!important;min-width:0!important}
 html body.shima-storefront-ui-active .shima-qo-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;padding:10px!important;gap:8px!important;margin:0!important;min-width:0!important;border:1px solid #dbe6df!important;border-radius:12px!important;align-items:center!important}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-col{display:block!important;min-height:0!important;padding:0!important;border:0!important;width:auto!important;text-align:start!important;font-size:12px!important;min-width:0!important}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-col::before{display:none!important;content:none!important}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-product{grid-column:1/-1;display:flex!important;gap:9px!important;align-items:center!important}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-image{width:54px!important;height:54px!important;flex:0 0 54px!important;border-radius:9px!important;overflow:hidden}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-image img{width:100%!important;height:100%!important;object-fit:contain}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-product-copy{min-width:0}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-product-copy strong{font-size:13px!important;line-height:1.8!important}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-product-copy small{font-size:10px!important;line-height:1.8!important}
 html body.shima-storefront-ui-active .shima-qo-row [data-title='دسته‌بندی'],html body.shima-storefront-ui-active .shima-qo-row .shima-qo-dash{display:none!important}
 html body.shima-storefront-ui-active .shima-qo-row [data-title='کد محصول']{grid-column:1;color:#728175!important;font-size:10px!important}
 html body.shima-storefront-ui-active .shima-qo-row [data-title='رنگ'],html body.shima-storefront-ui-active .shima-qo-row [data-title='سایز']{grid-column:1/-1}
 html body.shima-storefront-ui-active .shima-qo-row select{width:100%!important;min-height:44px!important;font-size:16px!important;margin:0!important}
 html body.shima-storefront-ui-active .shima-qo-row [data-title='تعداد (کارتن)']{grid-column:1}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-actions{grid-column:2;grid-row:3}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-qty-stepper{display:flex!important;max-width:164px!important;height:44px!important;border-radius:10px!important;margin:0!important;direction:rtl}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-qty-stepper button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-qty{min-width:0!important;width:64px!important;height:44px!important;font-size:16px!important;padding:0!important}
 html body.shima-storefront-ui-active .shima-qo-clear{width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-price,html body.shima-storefront-ui-active .shima-qo-row .shima-qo-subtotal{font-size:12px!important;color:#175d39}
 html body.shima-storefront-ui-active .shima-qo-summary-card{position:static!important;width:100%!important;padding:14px!important;border-radius:14px!important;min-height:0!important}
 html body.shima-storefront-ui-active .shima-qo-summary-card h2{font-size:17px!important;margin:0 0 8px!important}
 html body.shima-storefront-ui-active .shima-qo-summary-list>div{padding:6px 0!important;font-size:12px!important;min-height:0!important}
 html body.shima-storefront-ui-active .shima-qo-summary-card .shima-btn{min-height:44px!important;padding:10px!important;font-size:13px!important}
 html body.shima-storefront-ui-active .shima-transaction-head{padding:14px!important;border-radius:14px!important;margin:0 auto 12px!important;min-height:0!important}
 html body.shima-storefront-ui-active .shima-transaction-head h1{font-size:22px!important;line-height:1.7!important;margin:5px 0!important}
 html body.shima-storefront-ui-active .shima-transaction-head p{font-size:12px!important;line-height:1.8!important;margin:4px 0!important}
 html body.shima-storefront-ui-active .shima-transaction-badges{display:none!important}
 html body.shima-storefront-ui-active .shima-checkout-progress{padding:10px!important;margin:0 auto 12px!important;gap:5px!important;border-radius:13px!important}
 html body.shima-storefront-ui-active .shima-checkout-progress>div{padding:6px!important;gap:5px!important;min-height:0!important}
 html body.shima-storefront-ui-active .shima-checkout-progress strong{font-size:11px!important}
 html body.shima-storefront-ui-active .shima-checkout-progress small{display:none!important}
 html body.shima-storefront-ui-active .shima-checkout-progress>div>span{width:30px!important;height:30px!important}
 html body.shima-storefront-ui-active .shima-checkout-content{padding:0!important;margin:0 auto!important}
 html body.shima-storefront-ui-active .shima-checkout-content #customer_details,html body.shima-storefront-ui-active .shima-checkout-content #customer_details>.col-1,html body.shima-storefront-ui-active .shima-checkout-content #customer_details>.col-2{padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;float:none!important;width:100%!important}
 html body.shima-storefront-ui-active .shima-checkout-content #order_review_heading{font-size:19px!important;margin:14px 0 10px!important}
 html body.shima-storefront-ui-active .shima-checkout-content #order_review{padding:12px!important;margin:0!important;border-radius:14px!important}
 html body.shima-storefront-ui-active .shima-checkout-content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){min-height:44px!important;font-size:16px!important;padding:9px 10px!important;border-radius:10px!important}
 html body.shima-storefront-ui-active .shima-checkout-content .form-row{margin:0 0 10px!important;padding:0!important}
 html body.shima-storefront-ui-active .shima-checkout-content .form-row label{font-size:12px!important;margin-bottom:5px!important;line-height:1.8!important}
 html body.shima-storefront-ui-active .shima-checkout-content h3{font-size:17px!important;margin:6px 0 10px!important}
 html body.shima-storefront-ui-active .shima-checkout-content .woocommerce-additional-fields{padding:12px!important;border:1px solid #d9e5dd!important;border-radius:12px!important;margin-bottom:12px!important}
 html body.shima-storefront-ui-active .shima-checkout-content #payment{padding:12px!important;margin-top:12px!important;border-radius:12px!important}
 html body.shima-storefront-ui-active .shima-checkout-content .woocommerce-privacy-policy-text{font-size:11px!important;line-height:1.9!important}
 html body.shima-storefront-ui-active .shima-checkout-content #place_order{min-height:48px!important;padding:10px!important;font-size:15px!important;border-radius:11px!important;margin:10px 0 0!important}
 html body.shima-storefront-ui-active .shima-transaction-main{padding-bottom:16px!important;margin-bottom:0!important;min-height:0!important}
 html body.shima-storefront-ui-active .shima-site-shell .sf3{margin-top:20px!important;padding-top:14px!important}
}
@media(max-width:1050px){
 html body.shima-storefront-ui-active .shima-site-shell .shima-mobile-bottom-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset-inline:0;bottom:0;z-index:250;background:#fff;border-top:1px solid #dae6de;padding-bottom:max(6px,env(safe-area-inset-bottom))!important;height:auto!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-mobile-bottom-nav.has-5-items{grid-template-columns:repeat(5,minmax(0,1fr))}
 html body.shima-storefront-ui-active .shima-site-shell .shima-mobile-bottom-nav>a{display:flex!important;align-items:center;justify-content:center;flex-direction:column;text-decoration:none;color:#627468}
 html body.shima-storefront-ui-active .shima-site-shell .shima-mobile-bottom-nav>a.is-active{color:#087b43;background:#edf7f1}
 html body.shima-storefront-ui-active .shima-site-shell{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 html body.shima-storefront-ui-active .shima-qo-row [data-title='رنگ']:has(.shima-qo-dash),html body.shima-storefront-ui-active .shima-qo-row [data-title='سایز']:has(.shima-qo-dash){display:none!important}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-price::before{display:block!important;content:'هر جفت (ریال)'!important;font-size:10px!important;color:#728175!important;line-height:1.8}
 html body.shima-storefront-ui-active .shima-qo-row .shima-qo-subtotal::before{display:block!important;content:'جمع ردیف (ریال)'!important;font-size:10px!important;color:#728175!important;line-height:1.8}
}
@media(max-width:1050px){
 html body.shima-storefront-ui-active .shima-site-shell .shima-qo-hero{display:block!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-qo-hero-copy{padding:0!important;margin:0!important;width:100%!important;max-width:none!important}
 html body.shima-storefront-ui-active .shima-site-shell .shima-qo-badge{padding:4px 8px!important;font-size:10px!important;min-height:0!important;margin-bottom:4px!important}
 html body.shima-storefront-ui-active .shima-reference .sr-product-image{aspect-ratio:4/3!important}
}
.shima-quick-order-page .shima-qo-toolbar{grid-template-columns:minmax(0,1fr) minmax(280px,1.2fr)}
@media(max-width:1050px){
 html body.shima-storefront-ui-active .shima-qo-search{position:relative!important}
 html body.shima-storefront-ui-active .shima-qo-search input{padding-inline:44px 12px!important}
 html body.shima-storefront-ui-active .shima-qo-search>button{position:absolute!important;inset-inline-start:6px!important;inset-inline-end:auto!important;left:auto!important;right:6px!important;top:0!important;display:grid!important;place-items:center;width:36px!important;height:44px!important;min-height:44px!important;padding:6px!important;border:0!important;background:transparent!important}
 html body.shima-storefront-ui-active .shima-checkout-content textarea{width:100%!important;border:1px solid #d5e3d9!important;background:#fff!important;min-height:70px!important}
}
