/*
Theme Name: YazdSoft V5
Description: RTL Elementor and WooCommerce theme for YazdSoft. Requires YazdSoft Elements for the starter site.
Version: 5.3.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: yazdsoft-v5
*/
body{--ys-navy:var(--e-global-color-primary,#10273f);--ys-blue:var(--e-global-color-secondary,#158cc8);--ys-mint:var(--e-global-color-accent,#59d3a6);--ys-text:var(--e-global-color-text,#17324a);--ys-bg:#f4f8fb;--ys-deep:#091b2d;--ys-sand:#ead8be;--ys-border:#dfe8ee;--ys-font:var(--e-global-typography-text-font-family,'Yekan Bakh VF',Tahoma);--ys-heading:var(--e-global-typography-primary-font-family,'Peyda VF',Tahoma)}
*{box-sizing:border-box}body{margin:0;color:var(--ys-text);background:white;font-family:var(--ys-font),Arial,sans-serif;font-size:16px;line-height:1.9}a{color:inherit;text-decoration:none}a:hover{color:var(--ys-blue)}img{max-width:100%;height:auto}h1,h2,h3,h4,h5{font-family:var(--ys-heading),Tahoma,sans-serif;line-height:1.5;margin:.3em 0 .65em}h1{font-size:clamp(28px,4vw,48px)}h2{font-size:clamp(23px,3vw,35px)}h3{font-size:21px}p{margin:0 0 1em}button,input,select,textarea{font:inherit}button,a.button,input[type=submit]{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--ys-blue);outline-offset:2px}button{color:inherit}input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea{border:1px solid #d6e2e9;border-radius:10px;background:white;color:var(--ys-text);padding:10px 13px;width:100%;min-width:0}input[type=checkbox],input[type=radio]{accent-color:var(--ys-blue)}.ys-wrap{max-width:1240px;margin:auto;padding:32px 22px}.ys-fallback{padding:20px;max-width:1240px;margin:auto}.ys-fallback nav ul{display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0}.ys-sitehead{position:sticky;top:0;z-index:80;background:white;box-shadow:0 3px 20px #10273f0c}.admin-bar .ys-sitehead{top:32px}.ys-skip{position:absolute;inset-inline-start:12px;top:-100px;background:white;padding:10px;z-index:200}.ys-skip:focus{top:12px}.ys5-archive-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:22px}.ys5-archive-layout aside{border:1px solid var(--ys-border);background:white;border-radius:18px;padding:20px;align-self:start}.ys5-archive-layout .woocommerce-result-count,.ys5-archive-layout .woocommerce-ordering{font-size:14px}.ys5-archive-layout .woocommerce-ordering select{width:auto;max-width:100%}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{padding:12px;border:1px solid var(--ys-border);border-radius:16px;background:#fff;box-shadow:0 5px 20px #10273f08;transition:.25s}.woocommerce ul.products li.product:hover{box-shadow:0 12px 30px #10273f14}.woocommerce ul.products li.product img{border-radius:10px;object-fit:contain;aspect-ratio:1.15;background:var(--ys-bg);margin-bottom:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;line-height:1.65}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ys-blue);font-weight:700}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:#1179b0;color:white;border-radius:10px;font-weight:700;padding:12px 18px;line-height:1.55}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover{background:#0e6695;color:white}.woocommerce span.onsale{background:#177a60;color:white;border-radius:8px;min-height:0;min-width:0;line-height:1.5;padding:5px 9px;top:10px;right:10px;left:auto}.woocommerce ul.products li.product .onsale{top:10px;right:10px;left:auto;margin:0}.woocommerce div.product div.images img{border-radius:16px;background:var(--ys-bg)}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:white;border:1px solid var(--ys-border);border-radius:10px}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#e4f5ed;color:var(--ys-navy)}.woocommerce table.shop_table,.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register,.woocommerce .cart-collaterals .cart_totals,.woocommerce .woocommerce-checkout-review-order,.woocommerce .woocommerce-MyAccount-content{background:white;border:1px solid var(--ys-border);border-radius:16px;padding:18px;overflow-wrap:anywhere}.woocommerce table.shop_table th{background:var(--ys-bg);font-size:13px}.woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:13px 10px}.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:10px;border:1px solid var(--ys-border);border-radius:14px;background:white}.woocommerce .woocommerce-MyAccount-navigation li a{display:block;padding:10px;border-radius:8px}.woocommerce .woocommerce-MyAccount-navigation li.is-active a{background:#e1f5ec;color:#176b58;font-weight:700}.woocommerce .woocommerce-MyAccount-content{min-height:240px}.woocommerce-message,.woocommerce-info,.woocommerce-error{background:var(--ys-bg);border-radius:12px;border-top-color:var(--ys-blue)}.woocommerce-checkout #payment{background:#edf5f7;border-radius:14px}.woocommerce .quantity .qty{width:5em}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:12px;border-radius:9px;border:1px solid #d6e2e9}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{background:#1179b0}.ys5-single-shell{background:var(--ys-bg)}.ys5-shop-body{background:var(--ys-bg)}.ys5-post-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ys5-post-list article{border:1px solid var(--ys-border);border-radius:16px;padding:18px}.ys5-post-list img{border-radius:10px}.ys5-content article{max-width:900px;margin:auto}.ys5-content article p{line-height:2.1}.ys5-content .post-thumbnail{margin:20px 0;border-radius:16px}.ys5-content .comments-area{max-width:900px;margin:auto}.ys5-invoice-print{margin:12px 0}.ys5-invoice{max-width:960px;margin:25px auto;border:1px solid var(--ys-border);border-radius:14px;padding:30px;background:white}.ys5-invoice table{width:100%;border-collapse:collapse}.ys5-invoice th,.ys5-invoice td{padding:10px;border:1px solid #dce6ed;text-align:start}.ys5-invoice th{background:#eef4f7}.ys5-invoice-head{display:flex;justify-content:space-between;border-bottom:3px solid var(--ys-blue);padding-bottom:15px}.ys5-invoice-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.ys5-invoice-total{text-align:end;font-weight:700}.ys5-invoice img{width:125px;object-fit:contain}.ys5-account-summary{padding:20px;border-radius:16px;color:white;background:linear-gradient(130deg,#10273f,#155c6b);margin:0 0 20px}.ys5-account-summary a{color:white;text-decoration:underline}.ys5-account-summary strong{color:#59d3a6}.ys5-filters form{display:grid;gap:12px}.ys5-filters .ys5-filter-cats{list-style:none;padding:0;margin:0}.ys5-filters .ys5-filter-cats li{padding:6px 0}.ys5-empty{padding:18px;background:#fff;border-radius:12px;border:1px solid var(--ys-border)}
@media(max-width:800px){.ys5-archive-layout{grid-template-columns:1fr}.ys5-post-list{grid-template-columns:repeat(2,1fr)}.admin-bar .ys-sitehead{top:46px}.ys-wrap{padding:22px 14px}.woocommerce table.shop_table,.woocommerce .woocommerce-MyAccount-content{padding:10px}.ys5-invoice{padding:16px}.ys5-invoice-cols{grid-template-columns:1fr}}@media(max-width:600px){.admin-bar .ys-sitehead{top:0}.ys5-post-list{grid-template-columns:1fr}.woocommerce ul.products[class*=columns-] li.product,.woocommerce-page ul.products[class*=columns-] li.product{width:48%;margin:0 0 14px}.woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:8px 5px;font-size:12px}.ys5-invoice{overflow:auto}}@media print{body:has(.ys5-invoice) .ys-sitehead,body:has(.ys5-invoice) footer,body:has(.ys5-invoice) .ys5-contactbar,body:has(.ys5-invoice) .ys5-invoice-print,body:has(.ys5-invoice) #wpadminbar{display:none!important}body:has(.ys5-invoice){background:white}.ys5-invoice{border:0!important;margin:0!important;padding:0!important;max-width:none!important}@page{size:A4;margin:15mm}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
