/*
Theme Name: Shakeryan Academy
Theme URI: https://shakeryan.com/
Author: استودیو آوان
Author URI: https://avanstudio.com/
Description: قالب فارسی آکادمی شاکریان با طراحی زرشکی و زرد و اتصال مستقیم به وردپرس و ووکامرس.
Version: 1.0.3
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: shakeryan-academy
License: GPL-2.0-or-later
*/
#sidebar{top:0}.admin-bar #sidebar{top:32px}.admin-bar #topbar{top:32px}
footer{flex-wrap:wrap}footer .sa-studio-credit{display:inline-flex;align-items:center;gap:4px;opacity:1}footer .sa-studio-credit a{width:auto;margin:0;color:var(--wine);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.sa-search{display:flex;gap:8px;width:min(440px,50vw)}.sa-search input{background:var(--paper);font-size:12px}.sa-search button{white-space:nowrap}
.sa-page{background:#fff;padding:26px;border:1px solid var(--line);border-radius:16px}.sa-page h1{margin-bottom:24px}.sa-content p{margin:0 0 1em}.sa-content h2,.sa-content h3{margin:24px 0 12px}.sa-content iframe{max-width:100%}.sa-content ul,.sa-content ol{padding-inline-start:24px}.sa-content a{color:var(--wine);text-decoration:underline;text-underline-offset:3px}.sa-content img{height:auto}.sa-content table{max-width:100%;border-collapse:collapse}.sa-content td,.sa-content th{padding:8px;border:1px solid var(--line)}
.sa-commerce{min-width:0}.sa-commerce h1{margin-bottom:24px}.sa-commerce .woocommerce-notices-wrapper{margin:15px 0}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;min-width:0}.woocommerce ul.products li.product a img{border-radius:10px;aspect-ratio:1;object-fit:cover}.woocommerce ul.products li.product .price{color:var(--wine);font-size:15px}.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--wine);color:#fff;border-radius:9px;line-height:1.7}.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--wine)}.woocommerce .woocommerce-ordering select{width:auto;max-width:100%;font-size:12px}.woocommerce .woocommerce-result-count{font-size:12px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:10px;border:1px solid #cec8d0}.woocommerce div.product .product_title{font-size:26px}.woocommerce div.product p.price{color:var(--wine)}.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:5px;flex-wrap:wrap}.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}.woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;background:var(--wine-soft);border-radius:8px}.woocommerce-MyAccount-navigation .is-active a{background:var(--wine);color:#fff}.woocommerce-MyAccount-content{background:#fff;padding:22px;border-radius:14px;border:1px solid var(--line)}.woocommerce table.shop_table{background:#fff}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{min-width:0}.woocommerce .quantity .qty{width:5em}.woocommerce .product img{height:auto}.woocommerce-message,.woocommerce-info{background:#fff;border-top-color:var(--wine)}.woocommerce .woocommerce-breadcrumb{font-size:12px}.woocommerce .woocommerce-breadcrumb a{color:var(--wine)}
.sa-story-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sa-story-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;min-width:0}.sa-story-card img{width:100%;height:180px;object-fit:cover}.sa-story-card>div{padding:18px}.sa-story-card h2{font-size:17px;line-height:1.9}.sa-story-card p{color:var(--muted);font-size:12px;margin:9px 0}.sa-pagination{margin-top:24px;display:flex;gap:8px;flex-wrap:wrap}.sa-pagination .page-numbers{padding:7px 12px;background:#fff;border-radius:7px}.sa-pagination .current{background:var(--wine);color:#fff}.sa-price .amount{font-size:15px}.sa-price del{font-size:11px;color:var(--muted)}.sa-price ins{text-decoration:none}.product-body h3{overflow-wrap:anywhere}.course-art-copy strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:17px!important}.sa-home-products .course-art-copy{max-height:150px}.sa-home-products .product-body h3{font-size:13px;line-height:1.9}.sa-home-products .product-art{min-height:190px}
.sa-modal{width:min(560px,92vw);padding:20px;border:0;border-radius:16px}.sa-modal::backdrop{background:#1e101bcc}.sa-modal video{display:block;width:100%;max-height:70dvh}.sa-modal button{margin-bottom:12px}.sa-home-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.sa-home-head a{white-space:nowrap}.sa-content>p:empty{display:none}
@media(max-width:960px){.admin-bar #sidebar{top:32px}.sa-search{width:100%;max-width:450px}.sa-commerce .woocommerce-ordering,.sa-commerce .woocommerce-result-count{float:none}.sa-search button{font-size:10px;padding:7px}}
@media(max-width:782px){.admin-bar #topbar,.admin-bar #sidebar{top:46px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content{float:none!important;width:100%!important}.woocommerce-MyAccount-content{margin-top:20px}}
@media(max-width:680px){.sa-story-list{grid-template-columns:1fr}.sa-page{padding:17px}.woocommerce ul.products{grid-template-columns:1fr}.woocommerce div.product .product_title{font-size:21px}.sa-search input{min-width:0}.sa-search .btn{display:none}.sa-home-head{align-items:flex-start}.sa-home-head a{font-size:11px}.sa-home-products .product-art{min-height:160px}.sa-price .amount{font-size:12px}.sa-home-products .price-row{align-items:flex-start;gap:10px}.sa-home-products .course-art-copy strong{font-size:14px!important}.sa-commerce table.shop_table{font-size:12px}.sa-content{overflow-wrap:anywhere}.sa-content pre{white-space:pre-wrap;overflow-wrap:anywhere}}

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sa-menu{list-style:none;margin:0;padding:0;display:grid;gap:4px}

/* Shared top navigation: desktop links and a disclosure panel on small screens. */
body{font-family:IRANSansX,Tahoma,sans-serif!important}
.workspace :is(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,label,.elementor-heading-title,.elementor-widget-text-editor){font-family:IRANSansX,Tahoma,sans-serif!important}
html{scroll-padding-top:170px}
.workspace{margin-right:0}
.sa-site-header{position:sticky;top:0;z-index:35;background:#fff;border-bottom:1px solid var(--line)}
.admin-bar .sa-site-header{top:32px}
.sa-site-header #topbar{position:static;min-height:80px;max-width:1400px;margin:auto;padding:14px 40px;border:0;gap:24px;background:#fff;backdrop-filter:none}
.sa-header-brand{padding:0;flex-shrink:0;color:var(--wine)}
.sa-header-brand small{color:var(--muted)}
.sa-header-brand .brand-mark{width:42px;height:42px;border-radius:12px}
.sa-header-brand strong{font-size:21px}
.sa-site-header .sa-search{width:min(460px,42vw);margin-inline:auto;min-width:0}
.sa-site-header .sa-search input{min-width:0}
.sa-site-header .header-actions{flex-shrink:0;gap:12px}
.sa-site-header .account-btn{display:flex;min-height:44px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:9px 15px;white-space:nowrap;color:var(--wine)}
.sa-site-header .account-btn:hover{background:var(--wine-soft)}
.sa-site-header .menu-toggle{display:none}
.sa-primary-navigation{background:var(--wine);color:#fff;padding-inline:24px}
.sa-primary-navigation .sa-menu{display:flex;align-items:center;justify-content:center;gap:3px;list-style:none;margin:0 auto;padding:0;max-width:1320px}
.sa-primary-navigation .sa-menu li{min-width:0}
.sa-primary-navigation a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:9px 13px;font-size:12px;white-space:nowrap;border-radius:6px;transition:background .15s,color .15s;touch-action:manipulation}
.sa-primary-navigation a:hover,.sa-primary-navigation .current-menu-item>a{background:var(--wine-dark);color:var(--yellow)}
.sa-primary-navigation a:focus-visible{outline:2px solid var(--yellow);outline-offset:-4px}
.sa-site-header .menu-toggle:focus-visible{outline:3px solid var(--wine);outline-offset:3px}
main :is(h1,h2,h3,[id]){scroll-margin-top:170px}
.sa-site-header :is(a,button){touch-action:manipulation}
@media(max-width:1200px){.sa-primary-navigation a{padding-inline:10px;font-size:11px}}
@media(max-width:1100px){
  .sa-site-header #topbar{padding:12px 24px;gap:16px;min-height:76px}
  .sa-site-header .menu-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-width:72px;min-height:44px;padding:8px 12px;background:var(--wine-soft);color:var(--wine);font-size:12px}
  .sa-site-header .menu-toggle>span:first-child{font-size:20px;line-height:1}
  .sa-primary-navigation{display:none;max-height:60dvh;overflow-y:auto;overscroll-behavior:contain;padding:12px 24px}
  .sa-primary-navigation.is-open{display:block}
  .sa-primary-navigation .sa-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}
  .sa-primary-navigation a{justify-content:flex-start;min-height:44px;padding:10px 14px;font-size:12px;white-space:normal}
}
@media(max-width:782px){.admin-bar .sa-site-header{top:46px}}
@media(max-width:680px){
  .sa-site-header #topbar{padding:12px 16px;gap:10px;flex-wrap:wrap}
  .sa-header-brand{gap:8px}
  .sa-header-brand strong{font-size:17px}
  .sa-header-brand small{font-size:9px}
  .sa-header-brand .brand-mark{width:36px;height:36px;font-size:25px;border-radius:10px}
  .sa-site-header .header-actions{margin-inline-start:auto;gap:6px}
  .sa-site-header .account-btn{font-size:10px;padding:7px 9px;min-height:40px}
  .sa-site-header .menu-toggle{min-width:44px;min-height:40px;padding:7px 10px}
  .sa-site-header .menu-toggle>span:last-child{display:none}
  .sa-site-header .sa-search{order:3;width:100%;max-width:none;margin:0}
  .sa-site-header .sa-search input{padding:9px 12px;min-height:40px;font-size:12px}
  .sa-site-header .sa-search .btn{display:block;padding:7px 12px;min-height:40px;font-size:11px}
  .sa-primary-navigation{padding:10px 12px}
  .sa-primary-navigation a{font-size:11px;padding:9px 10px}
}
@media(max-width:600px){.admin-bar .sa-site-header{top:0}}
@media(prefers-reduced-motion:reduce){.sa-primary-navigation a{transition:none}}
