@font-face{font-family:Vazirmatn;font-weight:400;font-display:swap;src:url(../fonts/vazirmatn-400.woff) format("woff")}
@font-face{font-family:Vazirmatn;font-weight:700;font-display:swap;src:url(../fonts/vazirmatn-700.woff) format("woff")}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:15px/1.9 Vazirmatn,Tahoma,sans-serif;color:var(--mk-text,#1f2937);background:#f7f9fc;direction:rtl}
img{max-width:100%;height:auto}
a{color:#1466f5;text-decoration:none}
ul{padding:0}
h1,h2,h3{line-height:1.5;color:#0b2545}
.mt-wrap{width:min(1240px,100% - 24px);margin-inline:auto}
.mt-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.mt-skip{position:absolute;right:8px;top:-60px;background:#fff;padding:8px 12px;z-index:9999}
.mt-skip:focus{top:8px}
.mt-main{min-height:50vh;padding:16px 0 28px}
.mt-page{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:20px;margin-top:8px}
.mt-h2{font-size:19px;margin:22px 0 12px}

/* top strip + header */
.mt-top{background:#0b2545;color:#cfe0ff;font-size:12.5px}
.mt-top .mt-wrap{display:flex;gap:18px;justify-content:space-between;padding:6px 0;overflow:hidden;white-space:nowrap}
.mt-top svg{vertical-align:-3px;margin-left:5px}
.mt-head{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:50}
.mt-head-row{display:flex;align-items:center;gap:16px;padding:10px 0}
.mt-logo{display:flex;align-items:center;gap:10px;color:#0b2545}
.mt-logo-t{display:flex;flex-direction:column;line-height:1.3}
.mt-logo-t b{font-size:21px}.mt-logo-t b span{color:#1466f5}
.mt-logo-t small{font-size:11px;color:#6b7280;font-weight:400}
.mt-search{flex:1;display:flex;max-width:560px}
.mt-search input{flex:1;min-width:0;height:44px;border:1px solid #c9d3e3;border-inline-end:0;border-radius:0 10px 10px 0;padding:0 14px;font:inherit;background:#f3f6fb}
.mt-search button{width:48px;border:0;background:#1466f5;color:#fff;border-radius:10px 0 0 10px;cursor:pointer}
.mt-acts{display:flex;align-items:center;gap:14px;margin-inline-start:auto}
.mt-call{display:flex;align-items:center;gap:8px;color:#0b2545}
.mt-call span{display:flex;flex-direction:column;line-height:1.4}.mt-call small{font-size:11px;color:#6b7280}.mt-call b{font-size:16px}
.mt-cart{position:relative;color:#0b2545;display:flex;padding:6px}
.mk-cart-count{position:absolute;top:-4px;left:-4px;min-width:20px;height:20px;border-radius:10px;background:#dc2626;color:#fff;font-size:12px;line-height:20px;text-align:center;padding:0 4px}
.mk-cart-count[hidden]{display:none}
.mt-cats{border-top:1px solid #eef1f6;background:#fff}
.mt-cats ul{display:flex;gap:4px;list-style:none;margin:0;padding:0;overflow-x:auto;scrollbar-width:none}
.mt-cats a{display:flex;align-items:center;gap:5px;padding:9px 12px;white-space:nowrap;color:#374151;font-size:14px}
.mt-cats li.on a,.mt-cats a:hover{color:#1466f5}
.mt-all a{font-weight:700;color:#0b2545}
.mt-flowhead{background:#fff;border-bottom:1px solid #e5e7eb}
.mt-flowhead .mt-wrap{display:flex;align-items:center;justify-content:space-between;padding:10px 0}
.mt-flowhead-l{display:flex;align-items:center;gap:14px;font-size:13px}
.mt-safe{color:#16a34a;display:flex;align-items:center;gap:5px}
.mt-flowhead-tel{display:flex;align-items:center;gap:5px}

/* home */
.mt-hero{margin:14px 0;border-radius:18px;padding:34px 28px;color:#fff;background:linear-gradient(135deg,#1f7bff,#0b3a8c)}
.mt-hero h1{color:#fff;font-size:clamp(22px,4.5vw,36px);margin:0 0 8px}
.mt-hero p{margin:0 0 16px;max-width:560px;opacity:.95}
.mt-hero .mk-btn{background:#ffb020;color:#0b2545}
.mt-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}
.mt-trust>div{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px;color:#1466f5}
.mt-trust p{margin:0;display:flex;flex-direction:column;line-height:1.6;color:#0b2545}
.mt-trust small{color:#6b7280;font-size:12px}
.mt-catgrid ul{list-style:none;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
.mt-catgrid a{display:flex;flex-direction:column;align-items:center;gap:8px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px;color:#0b2545;text-align:center;font-weight:700;font-size:14px}
.mt-catgrid img{width:84px;height:84px;object-fit:contain}
.mt-railhead{display:flex;justify-content:space-between;align-items:center}
.mt-rail{display:flex!important;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px}
.mt-rail>li{flex:0 0 190px;scroll-snap-align:start}
.mt-cb{display:grid;grid-template-columns:1fr 1.4fr;gap:16px;align-items:center;background:#fff;border:1px solid #d9e4f7;border-radius:14px;padding:18px;margin:22px 0}
.mt-cb h2{margin:0 0 4px;font-size:18px}.mt-cb p{margin:0;color:#6b7280;font-size:13px}
.mt-cb form{display:grid;grid-template-columns:1.4fr 1fr auto;gap:8px}
.mt-cb input{height:46px;border:1px solid #c9d3e3;border-radius:10px;padding:0 12px;font:inherit;min-width:0}
.mt-cb input[type=tel]{text-align:left}
.mt-cb .mk-msg{grid-column:1/-1}

/* listings */
.mt-chiprow-wrap{overflow-x:auto;margin:6px 0 12px}
.mt-chiprow{display:flex;gap:8px;list-style:none;margin:0;padding:0}
.mt-chiprow a{display:block;white-space:nowrap;padding:6px 14px;border:1px solid #d6deec;border-radius:20px;background:#fff;color:#374151;font-size:13.5px}
.mt-chiprow li.on a{background:#1466f5;border-color:#1466f5;color:#fff}
.mt-sortbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0}
.mt-sortbar select{height:38px;border:1px solid #c9d3e3;border-radius:8px;font:inherit;padding:0 8px;background:#fff}
.mt-bc{font-size:13px;color:#6b7280;margin:4px 0 10px}.mt-bc .sep{margin:0 6px}
ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
ul.products li.product{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px;transition:box-shadow .15s}
ul.products li.product:hover{box-shadow:0 6px 20px rgba(11,37,69,.1)}
ul.products li.product img{width:100%;aspect-ratio:1;object-fit:contain;margin:0 0 6px}
ul.products .woocommerce-loop-product__title{font-size:13.5px;line-height:1.8;margin:0 0 6px;color:#1f2937;height:3.6em;overflow:hidden;font-weight:400}
ul.products .price{margin-top:auto;font-weight:700;color:#0b2545;display:block}
ul.products .price del{color:#9ca3af;font-weight:400;font-size:12px}
ul.products .price ins{text-decoration:none}
ul.products .button{display:none}
.onsale{position:absolute;top:8px;right:8px;background:#dc2626;color:#fff;border-radius:6px;padding:0 8px;font-size:12px}
.mt-tag{display:flex;align-items:center;gap:4px;font-size:11.5px;color:#16a34a;margin-top:4px}
.mt-from{font-weight:400;font-size:12px;color:#6b7280}
.woocommerce-pagination ul{display:flex;gap:6px;justify-content:center;list-style:none;padding:0;margin:20px 0}
.woocommerce-pagination a,.woocommerce-pagination span{display:block;min-width:38px;text-align:center;padding:6px 10px;border:1px solid #d6deec;border-radius:8px;background:#fff}
.woocommerce-pagination .current{background:#1466f5;color:#fff;border-color:#1466f5}

/* single product */
.single-product div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px}
.single-product .woocommerce-product-gallery{margin:0;position:relative}
.single-product .woocommerce-product-gallery img{width:100%;border-radius:10px}
.single-product .flex-control-thumbs{display:flex;gap:8px;list-style:none;padding:0;margin:8px 0 0}
.single-product .flex-control-thumbs img{width:64px;border:1px solid #e5e7eb;opacity:.7;cursor:pointer}
.single-product .flex-control-thumbs img.flex-active{opacity:1;border-color:#1466f5}
.single-product .product_title{font-size:21px;margin:0 0 6px}
.single-product .summary .price{font-size:26px;font-weight:700;color:#0b2545;display:block;margin:10px 0}
.single-product .summary .price del{font-size:15px;color:#9ca3af}
.single-product .summary .price ins{text-decoration:none}
.single-product form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}
.single-product form.cart .quantity input{width:70px;height:46px;border:1px solid #c9d3e3;border-radius:10px;text-align:center;font:inherit}
.single_add_to_cart_button,.button.alt{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border:0;border-radius:10px;background:#16a34a;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.single_add_to_cart_button:hover{background:#15803d;color:#fff}
.variations{width:100%}.variations td,.variations th{padding:4px 0;text-align:right}
.variations select{height:44px;border:1px solid #c9d3e3;border-radius:10px;font:inherit;padding:0 8px;min-width:200px}
.woocommerce-tabs,.related.products,.upsells{grid-column:1/-1}
.woocommerce-tabs ul.tabs{display:flex;gap:6px;list-style:none;padding:0;border-bottom:1px solid #e5e7eb}
.woocommerce-tabs ul.tabs a{display:block;padding:8px 16px;color:#374151}
.woocommerce-tabs ul.tabs li.active a{color:#1466f5;border-bottom:2px solid #1466f5;font-weight:700}
.woocommerce-Tabs-panel h2{font-size:17px}
.shop_attributes{width:100%;border-collapse:collapse}.shop_attributes th,.shop_attributes td{padding:8px;border-bottom:1px solid #eef1f6;text-align:right}
.shop_attributes th{width:30%;color:#6b7280;font-weight:400}
.related.products h2{font-size:18px}

/* cart / checkout / account */
.woocommerce-cart .mt-main,.woocommerce-checkout .mt-main,.woocommerce-account .mt-main{width:min(1100px,100% - 24px);margin-inline:auto}
table.shop_table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:12px}
table.shop_table th,table.shop_table td{padding:10px;border-bottom:1px solid #eef1f6;text-align:right}
.woocommerce form .form-row{display:grid;gap:4px;margin-bottom:12px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{width:100%;height:46px;border:1px solid #c9d3e3;border-radius:10px;padding:0 12px;font:inherit;background:#fff}
.woocommerce form .form-row textarea{height:auto;padding:10px 12px}
.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin-bottom:14px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;padding:12px 14px;border-radius:10px;background:#eef5ff;border:1px solid #cfe0ff;margin:0 0 12px}
.woocommerce-error{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.woocommerce-message .button{float:left}
.cart_totals .checkout-button{display:block;text-align:center;min-height:52px;line-height:52px;border-radius:12px;background:#16a34a;color:#fff;font-weight:700}

/* footer */
.mt-foot{background:#0b2545;color:#cfe0ff;margin-top:28px;padding-top:26px;font-size:13.5px}
.mt-foot a{color:#fff}
.mt-foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:24px}
.mt-foot-h{color:#fff;font-size:15px;margin:0 0 8px}
.mt-foot ul{list-style:none;margin:0;padding:0}.mt-foot li{padding:3px 0}
.mt-contact li{display:flex;gap:8px;align-items:flex-start}
.mt-foot .mt-logo{color:#fff}.mt-foot .mt-logo-t small{color:#9db4d8}.mt-foot .mt-logo-t b span{color:#6aa5ff}
.mt-enamad{background:#fff;border-radius:10px;padding:8px;min-height:60px;display:flex;align-items:center;justify-content:center}
.mt-enamad-ph{color:#7a5200;font-size:12px}
.mt-copy{border-top:1px solid #1d3a63;margin-top:20px;padding:12px;text-align:center;font-size:12.5px}
.mt-bnav{display:none}

@media(max-width:900px){
 .mt-top .mt-wrap span:nth-child(n+3){display:none}
 .mt-trust{grid-template-columns:1fr 1fr}
 ul.products{grid-template-columns:repeat(2,1fr)}
 .single-product div.product{grid-template-columns:1fr}
 .mt-foot-grid{grid-template-columns:1fr 1fr}
 .mt-foot-about{grid-column:1/-1}
 .mt-cb{grid-template-columns:1fr}.mt-cb form{grid-template-columns:1fr}
 .mt-call span{display:none}
}
@media(max-width:640px){
 .mt-head-row{flex-wrap:wrap;gap:8px}.mt-search{order:3;flex:1 0 100%;max-width:none}
 .mt-logo-t small{display:none}
 .mt-hero{padding:22px 16px}
 body{padding-bottom:62px}
 .mt-bnav{display:flex;position:fixed;inset:auto 0 0;z-index:998;background:#fff;border-top:1px solid #e5e7eb;padding-bottom:env(safe-area-inset-bottom)}
 .mt-bnav a{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;gap:0;padding:6px 0;font-size:11px;color:#6b7280}
 .mt-bnav a.on{color:#1466f5}
 .mt-bnav .mk-cart-count{top:0;left:calc(50% - 22px)}
 .single-product{padding-bottom:140px}
}
