/* Storefront layout and interaction polish. Font roles live in typography.css. */

.eyebrow{line-height:1.9}
.section-heading .text-link,.shelf-controls,.market-shelf .shelf-controls{line-height:1.9}
.section-heading h2{line-height:1.6}
.section-heading{gap:16px}
.hero-promises,.hero-actions>a:not(.button-primary),.brand-hero-actions>a:not(.button-primary){line-height:1.9}
.brand-hero-kicker{line-height:1.9}
.brand-hero-copy p,.market-hero-copy p{line-height:2.1}
.hero-product>span{line-height:1.8}
.market-hero-controls .hero-navigation .hero-play{position:relative;isolation:isolate;border-color:transparent;overflow:visible}
.hero-progress{position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);transform:rotate(-90deg);pointer-events:none;fill:none;stroke-width:1.8}
.hero-progress-track{stroke:#e1e4eb}
.hero-progress-value{stroke:#e31939;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100}
.category-tile>strong{line-height:1.9}
.market-card{position:relative;isolation:isolate;cursor:pointer}
.market-card .card-primary-link:after{content:'';position:absolute;inset:0;z-index:2;border-radius:inherit}
.market-card .card-primary-link:focus-visible{outline:none}
.market-card:has(.card-primary-link:focus-visible){outline:2px solid #dd2541;outline-offset:3px}
.market-card .card-title{line-height:1.9;min-height:54px;margin:5px 0 10px!important}
.market-card .card-brand,.market-card .allit-source-rating,.market-card .rating-count{line-height:1.6}
.market-card .card-meta{gap:7px;flex-wrap:wrap;min-height:20px}
.market-card .card-price-row{flex-wrap:wrap;gap:4px 8px;align-items:baseline}
.market-card .card-toman{line-height:1.9;letter-spacing:0;white-space:nowrap}
.market-card .card-native{line-height:1.7}
.market-card .card-was{line-height:1.7}
.market-card .card-money{min-height:65px;justify-content:flex-end}
.market-card .card-discover{line-height:1.8}
.shelf-products,.market-rail{cursor:auto}
.shelf-products .product-card,.shelf-products .product-card *{cursor:pointer}
.shelf-products.is-dragging,.shelf-products.is-dragging *{cursor:grabbing!important;user-select:none!important}
.rail-empty{display:flex;align-items:center;gap:20px;padding:28px;border:1px dashed #e0e3e9;border-radius:16px;background:#fafbfc}
.rail-empty>span{width:48px;height:48px;border-radius:14px;background:#fff;display:grid;place-items:center;color:#da2540;flex:none}
.rail-empty p{line-height:2;color:#737d8c;margin:6px 0 0}
.rail-empty>a{margin-inline-start:auto;flex:none}
.editorial-card p,.editorial-card>span:last-child,.market-journey p{line-height:2}
.allit-link-emblem svg{width:27px;height:27px}
.allit-link-module .eyebrow,.allit-link-module label,.allit-link-module small,.allit-link-module .allit-supported{line-height:1.9}
.allit-link-module p,.allit-link-module input,.allit-link-module select,.allit-link-module button{line-height:1.9}
.allit-link-module input,.allit-link-module select{min-height:48px}
.market-shop-heading p,.shop-link-request strong{line-height:1.9}
.shop-link-request small,.shop-quick-links>a,.market-toolbar .woocommerce-result-count{line-height:1.9}
.market-sort select,.market-sort>span{line-height:1.8}
.filter-heading>a,.filter-caption{line-height:1.9}
.filter-section summary,.filter-choice,.filter-switch,.modern-category-list a,.market-filter-form input,.market-filter-form button{line-height:1.9}
.modern-price-fields input{width:100%;min-width:0}
.allit-product-detail .summary .product_title{line-height:1.65}
.allit-product-detail .summary .allit-persian-title{line-height:2}
.allit-product-summary-meta{line-height:1.9;gap:12px 22px}
.allit-product-detail .product-highlights dt{line-height:1.9}
.allit-product-detail .product-highlights dd{line-height:1.9}
.allit-product-detail .summary-details-link{line-height:1.9}
.allit-choice-field legend{line-height:1.9}
.allit-product-detail .is-sizes .allit-choice{min-height:44px}
.allit-option-status,.allit-option-caption{line-height:1.9}
.warranty-link-only>a{min-height:32px}
.allit-buy-card .eyebrow,.allit-buy-card>header,.allit-selected-seller small,.allit-selected-seller>div>span,.allit-selected-options>small,.allit-selected-options .selection-token small,.allit-buy-card .allit-price-caption,.allit-purchase-footer{line-height:1.9}
.allit-buy-card .selection-values bdi,.allit-selected-seller strong,.allit-buy-card .allit-source-rating{line-height:1.8}
.allit-sellers-heading p,.allit-sellers-heading>a{line-height:1.9}
.offer-vendor-details>strong{line-height:1.8}
.offer-vendor-details .selection-values bdi,.offer-vendor-details .allit-source-rating,.offer-vendor-details .rating-extra{line-height:1.8}
.offer-price-stack>.allit-money-native,.offer-price-heading del,.offer-availability{line-height:1.8}
.offer-choose{min-height:42px}
.offer-row-links a{line-height:1.8}
.product-description-main .description-prose{line-height:2.15!important}
.description-prose .shop_attributes th,.description-prose .shop_attributes td,.spec-colorway,.spec-size{line-height:2}
.product-faq .faq-list summary{line-height:1.9}
.product-faq .faq-answer,.product-faq .faq-grid>div:first-child>p{line-height:2.1}
.product-services p{line-height:1.9}
.source-rating-summary>small{line-height:1.9}
.site-footer small{line-height:2}
.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{line-height:1.9}
.woocommerce-breadcrumb{line-height:1.9}
@media(max-width:1100px) and (min-width:761px){.market-card .card-price-row{flex-direction:column;align-items:flex-start}}
@media(max-width:760px){
 .section-heading .text-link,.market-home .section-heading .text-link,.product-recommendations .section-heading .text-link{white-space:nowrap}
 .section-heading{align-items:start;flex-wrap:wrap;gap:7px 12px}
 .market-hero-copy p,.brand-hero-copy p{line-height:2}
 .hero-actions,.brand-hero-actions{gap:12px;flex-wrap:wrap}
 .hero-actions .button-primary,.brand-hero-actions .button-primary{min-height:44px}
 .hero-promises{gap:14px}
 .market-hero-controls.hero-controls{width:calc(100% - 28px);gap:4px;flex-wrap:wrap;padding-block:6px}
 .market-hero-controls .hero-pagination{gap:0;flex:1;justify-content:space-between}
 .market-hero-controls .hero-dot{padding:6px;min-height:38px}
 .market-hero-controls .hero-navigation{gap:3px}
 .market-hero-controls .hero-navigation .icon-button{width:31px;height:31px;}
 .market-card .card-content{padding:10px 10px 0}
 .market-card .card-title{line-height:1.9;min-height:48px;margin:4px 0 8px!important}
 .market-card .card-price-row{flex-direction:column;align-items:flex-start;gap:0}
 .market-card .card-money{min-height:66px}
 .rail-empty{padding:20px;gap:12px;flex-wrap:wrap}
 .rail-empty>div{flex:1;min-width:190px}
 .rail-empty>a{margin-inline-start:60px}
 .allit-link-module h2{line-height:1.8}
 .allit-link-module .allit-link-inputs{min-width:0}
 .market-toolbar{flex-wrap:wrap}
 .market-sort select{max-width:210px;}
 .offer-choose{white-space:normal;line-height:1.8;padding:8px}
 .offer-row-links{gap:8px 15px;justify-content:flex-start}
 .product-description-main .description-prose{line-height:2.15!important}
}
@media(max-width:360px){.market-hero-controls .hero-pagination{flex-basis:100%}.market-hero-controls .hero-navigation{margin-inline:auto}.market-hero-controls .hero-dot{padding-inline:9px}}
.allit-buy-heading{line-height:1.9}
.allit-buy-heading a,.allit-buy-help{line-height:1.9}
.allit-link-intro .eyebrow,.allit-link-inputs label,.allit-link-helper,.allit-request-steps li,.allit-request-steps li>span{line-height:1.9}
.allit-link-helper details p{line-height:2}
.allit-link-module .allit-link-privacy{line-height:2}
.store-context .container,.store-context small,.store-hero-facts,.store-hero-counter,.store-hero-kicker{line-height:1.9}
.store-local-nav,.store-link-shortcut,.store-hero-actions>a:last-child,.store-directory-bottom p,.store-directory-bottom>span{line-height:1.9}
.store-hero-copy>p{line-height:2.1}
.store-catalog-heading p,.store-catalog-heading form label,.store-catalog-heading select,.store-catalog-filters form>label:not(.store-filter-check),.store-filter-check,.store-catalog-filters .store-primary-button{line-height:1.9}
.store-catalog-filters>p,.store-clear-filters{line-height:1.9}
.store-local-nav details:not([open])>.allit-store-switcher{display:none}
.allit-product-detail .product-highlights dt,.allit-selected-seller small,.allit-selected-options>small,.allit-buy-card .allit-price-caption,.source-rating-summary>small{color:#737d8c}
@media(max-width:760px){
 .product-full-sections .offer-vendor-select{grid-template-columns:18px 105px minmax(0,1fr);gap:10px}
 .market-shop .shop-store-strip{margin-inline:calc((100% - 100vw)/2);padding-inline:max(14px,calc((100vw - 100%)/2))}
 .store-local-nav{position:relative}
 .store-local-nav details{position:static}
 .store-local-nav details>.allit-store-switcher{inset:100% 0 auto;width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));box-sizing:border-box}
 .store-local-nav details>.allit-store-switcher>.store-wordmark,.store-other-stores .allit-store-switcher>.store-wordmark{min-width:0;padding-inline:8px}
 .store-other-stores .allit-store-switcher{grid-template-columns:repeat(2,minmax(0,1fr))}
 .store-other-stores .allit-store-identity,.store-local-nav details>.allit-store-switcher .allit-store-identity{flex-direction:column;gap:6px}
}
