/*
Theme Name: EduTemplate
Theme URI: https://edutemplate.ir
Author: edutemplate.ir
Description: قالب فروشگاهی تخصصی دانشگاه‌ها و مراکز آموزشی - ووکامرس و کاستومایزر
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: edutemplate
*/
body{font-family:'Vazir',sans-serif}
.font-display{font-family:'Lalezar','Vazir',sans-serif}
::selection{background:#f0a63b;color:#0d1230}
@media(max-width:767px){body{padding-bottom:86px}}
body.admin-bar nav.edu-bnav{bottom:46px}
.dotgrid{background-image:radial-gradient(rgba(28,40,86,.14) 1.2px,transparent 1.2px);background-size:20px 20px}
.dotgrid-light{background-image:radial-gradient(rgba(255,255,255,.10) 1.2px,transparent 1.2px);background-size:22px 22px}
.stripes{background-image:repeating-linear-gradient(-45deg,rgba(255,255,255,.05) 0 12px,transparent 12px 24px)}
.paper-tex{background-image:radial-gradient(rgba(28,40,86,.05) 1px,transparent 1px);background-size:14px 14px}
.reveal{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.2,.7,.3,1),transform .8s cubic-bezier(.2,.7,.3,1)}
.revealed{opacity:1;transform:none}
.mask-line{overflow:hidden}.mask-line>span{display:block;transform:translateY(115%);transition:transform .9s cubic-bezier(.2,.75,.25,1) .1s}
.revealed .mask-line>span{transform:none}
@keyframes marqueeRTL{from{transform:translateX(0)}to{transform:translateX(50%)}}
.marquee-track{display:flex;width:max-content;animation:marqueeRTL 32s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
.floaty{animation:floaty 5s ease-in-out infinite}.floaty-slow{animation:floaty 7s ease-in-out infinite}
@keyframes kenburns{from{transform:scale(1)}to{transform:scale(1.14)}}
.hero-ken .owl-item.active img{animation:kenburns 6.5s ease-out forwards}
@keyframes riseIn{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
.rise{opacity:0;animation:riseIn .9s cubic-bezier(.2,.7,.3,1) forwards}
.d1{animation-delay:.1s}.d2{animation-delay:.25s}.d3{animation-delay:.4s}.d4{animation-delay:.55s}
.modal{opacity:0;pointer-events:none;transition:opacity .3s ease}
.modal.open{opacity:1;pointer-events:auto}
.m-panel{transform:translateY(30px) scale(.96);opacity:0;transition:transform .4s cubic-bezier(.2,.75,.25,1),opacity .35s}
.modal.open .m-panel{transform:none;opacity:1}
.drawer-panel{transform:translateX(-108%);transition:transform .45s cubic-bezier(.2,.75,.25,1)}
.side-panel{transform:translateX(108%);transition:transform .45s cubic-bezier(.2,.75,.25,1)}
.modal.open .drawer-panel,.modal.open .side-panel{transform:none}
.owl-carousel .owl-item img{width:100%;display:block}
.owl-theme .owl-dots{margin-top:22px!important;display:flex;justify-content:center;gap:6px}
.owl-theme .owl-dots .owl-dot span{width:8px;height:8px;margin:0;background:#c3cbe8;border-radius:99px;transition:.35s}
.owl-theme .owl-dots .owl-dot.active span{width:28px;background:#f0a63b}
.owl-theme .owl-nav button.owl-prev,.owl-theme .owl-nav button.owl-next{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:99px;background:#fff!important;color:#1c2856!important;box-shadow:0 8px 24px rgba(20,28,63,.18);font-size:15px;transition:.3s}
.owl-theme .owl-nav button:hover{background:#f0a63b!important;color:#fff!important}
.owl-theme .owl-nav .owl-prev{right:-16px}.owl-theme .owl-nav .owl-next{left:-16px}
@media(max-width:640px){.owl-theme .owl-nav{display:none}}
.pcard .acts{transform:translateY(120%);opacity:0;transition:.4s cubic-bezier(.2,.75,.25,1)}
.pcard:hover .acts{transform:none;opacity:1}
.pcard:hover .pimg{transform:scale(1.09)}
.pimg{transition:transform .8s cubic-bezier(.2,.7,.3,1)}
.fav-on{color:#e11d48!important}
@keyframes toastIn{from{opacity:0;transform:translateY(16px) scale(.95)}to{opacity:1;transform:none}}
.toast{animation:toastIn .35s cubic-bezier(.2,.75,.25,1) forwards}
@keyframes tick{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
.tick-pulse{animation:tick 2s ease-in-out infinite}
.tab-btn.active{background:#141c3f;color:#f0a63b;border-color:#141c3f}
.edu-price .woocommerce-Price-currencySymbol{font-size:10px;font-weight:400;color:#97a4d4;margin-inline-start:3px}
#primaryMenu,#topMenu,#footerMenu{list-style:none;margin:0;padding:0}
#primaryMenu{display:flex;gap:4px;flex-wrap:wrap}
#primaryMenu a{display:block;padding:6px 12px;border-radius:8px;transition:.2s;color:#26326a;font-weight:600;text-decoration:none}
#primaryMenu a:hover{background:#e2e6f5;color:#c67212}
#topMenu{display:flex;gap:18px}
#topMenu a{color:#f4eee1;text-decoration:none;transition:.2s}
#topMenu a:hover{color:#f0b95a}
#footerMenu a{color:#c3cbe8;text-decoration:none;transition:.2s;display:inline-block;padding:4px 0}
#footerMenu a:hover{color:#f0b95a}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:18px}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}
.woocommerce ul.products li.product img{border-radius:12px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:'Vazir';font-weight:700;font-size:14px;color:#141c3f}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce .cart .button,.woocommerce .checkout .button{background:#141c3f!important;color:#f0b95a!important;border-radius:12px!important;padding:12px 22px!important;font-family:'Vazir';font-weight:700;border:0!important}
.woocommerce a.button:hover,.woocommerce button.button:hover{background:#f0a63b!important;color:#0d1230!important}
.woocommerce .price{color:#141c3f;font-weight:800}
.woocommerce span.onsale{background:#e11d48!important;border-radius:99px!important;font-family:'Vazir';min-height:0;padding:6px 14px}
.woocommerce-message{border-top-color:#f0a63b}
.woocommerce-info{border-top-color:#42549e}
@media (prefers-reduced-motion:reduce){
*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
.reveal{opacity:1;transform:none}.rise{opacity:1}.marquee-track{animation:none}
}

/* ===== EDU WC SKIN ===== */
.edu-grid{list-style:none;margin:0;padding:0}
.woocommerce-result-count{margin:0;font-size:12px;color:#6578bb;font-weight:700}
.woocommerce-ordering{margin:0}
.woocommerce-ordering select{background:#faf7f0;border:1px solid #c3cbe8;border-radius:12px;padding:10px 14px;font-size:12px;font-weight:700;color:#26326a;outline:none;cursor:pointer}
.woocommerce-breadcrumb{background:transparent;margin:0 0 26px;font-size:12px;color:#97a4d4;padding:0}
.woocommerce-breadcrumb a{color:#42549e;text-decoration:none;transition:.2s}
.woocommerce-breadcrumb a:hover{color:#c67212}
.star-rating{color:#f0a63b!important}
.star-rating span::before,.star-rating::before{color:#f0a63b!important}
div.product p.price,div.product span.price{color:#141c3f}
div.product form.cart{display:flex;gap:12px;flex-wrap:wrap;align-items:stretch;margin-top:24px}
div.product form.cart .qty{width:74px;height:54px;border:2px solid #c3cbe8;border-radius:14px;text-align:center;font-weight:800;font-size:15px;outline:none;transition:.2s}
div.product form.cart .qty:focus{border-color:#f0a63b}
div.product form.cart .single_add_to_cart_button{flex:1;min-width:220px;background:#141c3f!important;color:#f0b95a!important;border:0;border-radius:14px!important;padding:15px 28px!important;font-family:'Vazir';font-weight:800;font-size:14px;transition:.3s;cursor:pointer}
div.product form.cart .single_add_to_cart_button:hover{background:#f0a63b!important;color:#0d1230!important}
div.product .woocommerce-variation-add-to-cart-button{width:100%}
.shop-pag .nav-links{display:flex;gap:6px;justify-content:center}
.shop-pag .page-numbers{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#fff;border:1px solid #c3cbe8;font-weight:700;font-size:13px;color:#26326a;text-decoration:none;transition:.2s}
.shop-pag .page-numbers.current{background:#141c3f;color:#f0a63b;border-color:#141c3f}
.shop-pag a.page-numbers:hover{background:#f0a63b;color:#0d1230;border-color:#f0a63b}
.shop-pag .page-numbers.dots{border:0;background:transparent}
.edu-tab{padding:16px 26px;font-weight:800;font-size:14px;color:#6578bb;border-bottom:3px solid transparent;white-space:nowrap;transition:.2s}
.edu-tab:hover{color:#141c3f}
.edu-tab.active{color:#141c3f;border-color:#f0a63b;background:#faf7f0}
/* ===== END EDU WC SKIN ===== */

/* ===== EDU PAGES SKIN ===== */
.edu-post{color:#26326a;font-size:15px;line-height:2.2}
.edu-post>p{margin-bottom:18px}
.edu-post h2{font-family:'Lalezar';font-size:26px;color:#141c3f;margin:40px 0 16px;padding-right:16px;position:relative}
.edu-post h2::before{content:"";position:absolute;right:0;top:10px;bottom:10px;width:5px;border-radius:4px;background:#f0a63b}
.edu-post h3{font-family:'Lalezar';font-size:20px;color:#1c2856;margin:30px 0 12px}
.edu-post h4{font-weight:800;color:#1c2856;margin:24px 0 10px}
.edu-post a{color:#c67212;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.edu-post a:hover{color:#e28f1b}
.edu-post img{border-radius:20px;margin:22px 0;box-shadow:0 14px 40px -12px rgba(20,28,63,.25);max-width:100%}
.edu-post ul{list-style:disc;margin:0 20px 18px}
.edu-post ol{list-style:decimal;margin:0 20px 18px}
.edu-post li{margin-bottom:8px}
.edu-post li::marker{color:#f0a63b}
.edu-post blockquote,.edu-post .wp-block-quote{background:#fdf6e9;border-right:5px solid #f0a63b;padding:20px 24px;border-radius:18px;margin:26px 0;color:#854516;font-weight:700}
.edu-post blockquote p{margin:0}
.edu-post pre{background:#0d1230;color:#f0b95a;padding:20px;border-radius:16px;overflow:auto;font-size:13px;margin:22px 0;direction:ltr;text-align:left}
.edu-post code{background:#f2f4fb;color:#c67212;padding:2px 8px;border-radius:8px;font-size:13px}
.edu-post table{width:100%;border-collapse:collapse;margin:22px 0;font-size:13px}
.edu-post th{background:#141c3f;color:#f0b95a}
.edu-post th,.edu-post td{border:1px solid #e2e6f5;padding:10px 14px;text-align:right}
.edu-post tr:nth-child(even) td{background:#faf7f0}
.edu-post hr{border:0;border-top:2px dashed #c3cbe8;margin:30px 0}
.edu-comments .comment-list{list-style:none;margin:0;padding:0}
.edu-comments .comment{margin-bottom:18px}
.edu-comments .comment-body{background:#fff;border:1px solid #e2e6f5;border-radius:20px;padding:20px}
.edu-comments .comment-body .avatar{width:52px;height:52px;border-radius:16px;float:right;margin-left:14px;box-shadow:0 6px 16px rgba(20,28,63,.15)}
.edu-comments .fn{font-weight:800;color:#141c3f;font-style:normal}
.edu-comments .comment-metadata{font-size:11px;color:#97a4d4;margin-top:4px}
.edu-comments .comment-metadata a{color:inherit;text-decoration:none}
.edu-comments .comment-body>p{margin:12px 0 0;font-size:13px;line-height:2;color:#42549e;clear:both}
.edu-comments .reply a{display:inline-block;margin-top:12px;font-size:11px;font-weight:800;color:#c67212;background:#fdf6e9;padding:6px 14px;border-radius:99px;text-decoration:none;transition:.2s}
.edu-comments .reply a:hover{background:#f0a63b;color:#0d1230}
.edu-comments .children{list-style:none;margin:14px 14px 0 0;padding-right:14px;border-right:2px dashed #e2e6f5}
#respond textarea,#respond input[type=text],#respond input[type=email],#respond input[type=url]{width:100%;background:#faf7f0;border:2px solid #e2e6f5;border-radius:14px;padding:12px 16px;font-size:13px;outline:none;transition:.25s}
#respond textarea:focus,#respond input:focus{border-color:#f0a63b;background:#fff;box-shadow:0 0 0 4px rgba(240,166,59,.15)}
#respond .submit{background:#141c3f;color:#f0b95a;border:0;border-radius:14px;padding:12px 30px;font-weight:800;cursor:pointer;transition:.25s}
#respond .submit:hover{background:#f0a63b;color:#0d1230}
#eduToc a{color:#42549e}
.edu-timeline{position:relative;padding-right:30px;list-style:none;margin:0}
.edu-timeline::before{content:"";position:absolute;right:8px;top:8px;bottom:8px;width:3px;border-radius:3px;background:linear-gradient(#f0a63b,#c3cbe8)}
.edu-timeline>li{position:relative;margin-bottom:30px}
.edu-timeline>li::before{content:"";position:absolute;right:-28px;top:8px;width:15px;height:15px;border-radius:50%;background:#f0a63b;border:3px solid #faf7f0;box-shadow:0 0 0 3px rgba(240,166,59,.3)}
.edu-faq .faq-a{max-height:0;overflow:hidden;transition:max-height .5s cubic-bezier(.2,.7,.3,1)}
.edu-faq.open .faq-a{max-height:320px}
.edu-faq .faq-icon{transition:transform .3s}
.edu-faq.open .faq-icon{transform:rotate(45deg)}
/* ===== END EDU PAGES SKIN ===== */