/* Lightweight WooCommerce styling for financial services, RTL, mobile-first */
.sa-shop{min-height:65vh;color:#17282A}
.sa-shop-hero{background:radial-gradient(circle at 18% 45%,#e7f3eb,#f7faf6 55%,#fff);border-bottom:1px solid #e2ece3}
.sa-shop-hero__grid{display:grid;grid-template-columns:1fr;gap:10px;padding:32px 0}
.sa-shop-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:#678073;font-size:.77rem;margin-bottom:18px}
.sa-shop-crumb a{color:#226F58;font-weight:750}
.sa-shop-hero .eyebrow,.sa-shop-single-top .eyebrow{margin:0 0 4px}
.sa-shop-hero h1{color:#0E3B37;font-size:clamp(2rem,5vw,3.1rem);line-height:1.5;font-weight:900;margin:0 0 9px}
.sa-shop-hero h1 span{color:#1F796F}
.sa-shop-hero__grid>div:first-child>p:not(.eyebrow):not(.sa-shop-hero__count){line-height:2.15;color:#577164;max-width:670px;font-size:.94rem;margin:0 0 13px}
.sa-shop-hero__count{display:inline-flex;align-items:center;gap:8px;border:1px solid #d9e9df;background:#fff;border-radius:45px;padding:7px 12px;color:#276750;font-size:.77rem;font-weight:760;margin:0}
.sa-shop-hero__count .sa-icon{height:17px;width:17px;color:#a6822b}
.sa-shop-hero__art{height:170px;position:relative;display:grid;place-items:center;max-width:380px;width:100%;margin:auto}
.sa-shop-hero__art>div{width:152px;height:152px;background:linear-gradient(140deg,#0E3B37,#238371);color:#f0d17a;border-radius:35px;display:grid;place-items:center;box-shadow:0 16px 35px rgba(14,59,55,.18);transform:rotate(-5deg)}
.sa-shop-hero__art .sa-icon{width:101px;height:101px;stroke-width:1.25}
.sa-shop-hero__art>span{width:9px;height:9px;border-radius:2px;background:#d4ac2b;position:absolute;transform:rotate(45deg);top:18px;left:20px}
.sa-shop-hero__art>span:nth-of-type(2){top:auto;bottom:21px;left:auto;right:25px}
.sa-shop-hero__art>span:nth-of-type(3){top:60px;left:auto;right:27px;width:6px;height:6px}
.sa-shop-single-top{background:linear-gradient(120deg,#edf6f0,#fffcf5);border-bottom:1px solid #e3ede5;padding:20px 0 16px}
.sa-shop-single-top .sa-shop-crumb{margin-bottom:9px}
.sa-shop__content{padding:36px 0 60px}
/* Catalog loop */
.sa-shop ul.products{display:grid;grid-template-columns:1fr;gap:19px;clear:both;margin:16px 0 29px}
.sa-shop ul.products::before,.sa-shop ul.products::after{display:none}
.sa-shop ul.products li.product{float:none;width:auto;margin:0;background:#fff;border:1px solid #e0eae2;border-radius:17px;box-shadow:0 8px 25px rgba(14,59,55,.065);overflow:hidden;padding:0;display:flex;flex-direction:column;min-width:0;transition:transform .18s,box-shadow .18s}
.sa-shop ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(14,59,55,.11)}
.sa-shop ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1}
.sa-shop ul.products li.product .woocommerce-placeholder{display:none}
.sa-shop ul.products li.product a.woocommerce-LoopProduct-link::before{content:"خدمات و آموزش مالی";display:flex;align-items:center;justify-content:center;height:153px;padding:17px;text-align:center;background:radial-gradient(circle at 25% 60%,#d5e9da,#ecf5ee 50%,#fcfaf2);border-bottom:1px solid #dce9df;color:#0e3b37;font-weight:830;font-size:1.15rem;letter-spacing:-.035em}
.sa-shop ul.products li.product.product_cat_consultation a.woocommerce-LoopProduct-link::before{content:"مشاوره تخصصی";background:radial-gradient(circle at 25% 70%,#e8edd5,#f5f6ec 48%,#fff7dd)}
.sa-shop ul.products li.product .woocommerce-loop-product__title{font-size:1.12rem;line-height:1.9;color:#0e3b37;font-weight:850;margin:0;padding:19px 19px 8px;flex:1}
.sa-shop ul.products li.product .price{font-size:.9rem;color:#256c57;font-weight:820;line-height:1.85;margin:0;padding:0 19px 12px}
.sa-shop ul.products li.product .price .amount{color:#175947}
.sa-shop ul.products li.product .button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #0e3b37;background:#0e3b37;color:white;border-radius:9px;margin:0 19px 19px;padding:9px 16px;line-height:1.8;font-size:.81rem;font-weight:780;align-self:flex-start}
.sa-shop ul.products li.product .button:hover{background:#1a665b}
.sa-shop-ordering select{background:#fff;border:1px solid #d2e3d7;border-radius:9px;padding:10px;color:#184d3b;font-family:inherit;max-width:100%}
.sa-shop-result-count{font-size:.82rem;color:#5c7568;margin-bottom:15px}
.sa-shop nav.woocommerce-pagination ul{border:none;display:flex;justify-content:center;gap:7px}
.sa-shop nav.woocommerce-pagination ul li{border:0}
.sa-shop nav.woocommerce-pagination ul li a,.sa-shop nav.woocommerce-pagination ul li span{border:1px solid #d9e6dd;background:#fff;border-radius:8px;padding:10px;color:#0e3b37}
.sa-shop nav.woocommerce-pagination ul li span.current{background:#0e3b37;color:#fff}
/* Single product and variations */
.sa-shop div.product{display:flow-root;max-width:100%}
.sa-shop div.product div.images{border:1px solid #e0eae2;border-radius:18px;background:linear-gradient(140deg,#f0f8f2,#fffaf0);padding:20px;min-height:270px}
.sa-shop div.product div.images img.woocommerce-placeholder{max-width:300px;object-fit:contain;margin:0 auto;display:block;mix-blend-mode:multiply;opacity:.8}
.sa-shop div.product .product_title{font-size:clamp(1.4rem,3vw,2.25rem);font-weight:860;line-height:1.7;color:#0e3b37;margin:0 0 12px}
.sa-shop div.product p.price,.sa-shop div.product span.price{color:#1b7056;font-weight:850;font-size:1.15rem;line-height:1.85;margin:0 0 14px}
.sa-shop div.product .woocommerce-product-details__short-description{font-size:.92rem;line-height:2.22;color:#465f51;margin-bottom:20px}
.sa-shop div.product form.cart .variations{width:100%;margin-bottom:14px}
.sa-shop div.product form.cart .variations th,.sa-shop div.product form.cart .variations td{padding:8px 0;text-align:right;vertical-align:middle}
.sa-shop div.product form.cart .variations label{color:#0e3b37;font-size:.9rem}
.sa-shop div.product form.cart select{width:100%;min-height:47px;padding:10px 12px;border:1px solid #caddcd;border-radius:9px;background:#fff;color:#143a2d;font-family:inherit;font-size:.89rem;outline-offset:3px}
.sa-shop div.product form.cart .reset_variations{font-size:.74rem;display:inline-block;margin:7px 0;color:#ad7721}
.sa-shop div.product form.cart .woocommerce-variation-price{padding:12px 0}
.sa-shop div.product form.cart .quantity .qty{min-height:46px;width:83px;border-radius:9px;border:1px solid #c5d7cc;color:#164a38;font-family:inherit}
.sa-shop div.product form.cart .single_add_to_cart_button,.sa-shop button.button,.sa-shop a.button,.sa-shop input.button{min-height:44px;border-radius:9px;background:#0e3b37;color:#fff;border:1px solid #0e3b37;font-weight:780;font-family:inherit;line-height:1.65;padding:9px 17px}
.sa-shop div.product form.cart .single_add_to_cart_button:hover,.sa-shop button.button:hover,.sa-shop a.button:hover{background:#1b675b;color:#fff}
.sa-shop div.product form.cart .single_add_to_cart_button.disabled{opacity:.6}
.sa-shop .product_meta{font-size:.76rem;color:#60776a}
.sa-shop .woocommerce-tabs{clear:both;margin-top:36px;padding-top:14px}
.sa-shop div.product .woocommerce-tabs ul.tabs li{background:#f3f8f5;border-color:#dbe7df}
.sa-shop div.product .woocommerce-tabs .panel{line-height:2.1;color:#425c50}
.sa-shop div.product .woocommerce-tabs .panel h2{font-size:1.26rem}
.sa-shop .related.products{margin-top:40px}
.sa-shop .related.products>h2{font-size:1.45rem}
.sa-shop .sa-shop-coordination{background:#f0f7f2;border:1px solid #d4e7d9;border-right:3px solid #1f796f;border-radius:10px;padding:12px 14px;margin:8px 0 18px;color:#245543;font-size:.82rem;line-height:2.1}
.sa-shop .sa-shop-coordination strong{font-weight:850}
.sa-shop .sa-shop-hours-help{font-size:.77rem;color:#4f705e;margin:13px 0;line-height:2}
/* Classic cart/checkout and account pages use the existing page.php shell */
.woocommerce-page .content-shell{padding-top:34px;padding-bottom:55px}
.woocommerce-page .prose-page{max-width:100%}
.woocommerce-page .page-intro h1{font-size:clamp(1.45rem,3vw,2rem);color:#0e3b37}
.woocommerce-page .woocommerce table.shop_table{border:1px solid #dfe9e2;border-radius:11px;background:#fff}
.woocommerce-page .woocommerce table.shop_table th,.woocommerce-page .woocommerce table.shop_table td{text-align:right;padding:11px;line-height:1.85}
.woocommerce-page .woocommerce input.input-text,.woocommerce-page .woocommerce textarea,.woocommerce-page .woocommerce select,.woocommerce-page .woocommerce .select2-container .select2-selection{border:1px solid #cadbcf;border-radius:8px;padding:9px 11px;background:white;font-family:inherit;min-height:42px;color:#1b4d38}
.woocommerce-page .woocommerce .button,.woocommerce-page .woocommerce button.button,.woocommerce-page .woocommerce a.button,.woocommerce-page .woocommerce input.button,.woocommerce-page .woocommerce #payment #place_order{background:#0e3b37;color:#fff;border:1px solid #0e3b37;border-radius:9px;min-height:43px;font-family:inherit;font-weight:760}
.woocommerce-page .woocommerce .button:hover,.woocommerce-page .woocommerce button.button:hover{background:#1c6a5c;color:#fff}
.woocommerce-page .woocommerce .woocommerce-info{background:#f1f7f3;border-top-color:#1f796f;line-height:1.9}
.woocommerce-page .woocommerce .woocommerce-message{border-top-color:#1f796f;line-height:1.9}
.woocommerce-page .woocommerce .woocommerce-error{line-height:1.9}
.woocommerce-page .woocommerce .col2-set{display:grid;grid-template-columns:1fr;gap:18px}
.woocommerce-page .woocommerce .col2-set .col-1,.woocommerce-page .woocommerce .col2-set .col-2{float:none;width:100%;max-width:100%}
.woocommerce-page .woocommerce #payment{background:#f5f8f5;border:1px solid #e0eae2;border-radius:11px}
.woocommerce-page .woocommerce #payment .payment_box{background:#ecf3ec}
.woocommerce-page .woocommerce .woocommerce-checkout-review-order-table{background:#fff}
.woocommerce-page .woocommerce label{font-weight:690;color:#355846}
.woocommerce-page .woocommerce .form-row{padding:3px}
.woocommerce-page .sa99-checkout-coordination{border-right:3px solid #d4ac2b;background:#fff9e9;border-radius:8px;padding:11px;margin-bottom:15px;line-height:2;font-size:.85rem}
.woocommerce-page .woocommerce .woocommerce-notices-wrapper{margin-bottom:12px}
@media(min-width:620px){
 .sa-shop-hero__grid{grid-template-columns:1.2fr .8fr;align-items:center;min-height:280px}
 .sa-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .woocommerce-page .woocommerce .col2-set{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1020px){
 .sa-shop-hero__grid{min-height:315px}
 .sa-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .sa-shop div.product div.images{min-height:360px}
}
@media(max-width:620px){
 .sa-shop div.product div.images,.sa-shop div.product div.summary{width:100%;float:none}
 .sa-shop ul.products li.product{max-width:none}
 .sa-shop div.product form.cart .variations tr{display:block;padding:3px 0}
 .sa-shop div.product form.cart .variations th,.sa-shop div.product form.cart .variations td{display:block;width:100%;padding:2px 0}
 .woocommerce-page .woocommerce table.shop_table_responsive tr td{text-align:right!important}
}
@media(prefers-reduced-motion:reduce){.sa-shop ul.products li.product{transition:none}}

/* Woo templates are rendered directly in woocommerce.php, not under an extra .woocommerce div. */
.sa-shop ul.products{display:grid!important;grid-template-columns:1fr;gap:20px}
.sa-shop ul.products li.product{float:none!important;width:auto!important;max-width:none!important;margin:0!important}
.sa-shop ul.products li.product .button{background:#0E3B37!important;color:#fff!important}
.sa-shop div.product form.cart .single_add_to_cart_button{background:#0E3B37!important;color:#fff!important}
.sa-shop div.product .product_meta .sku_wrapper{display:none}
.sa-shop div.product div.images:has(img.woocommerce-placeholder){display:flex;align-items:center;justify-content:center;min-height:250px;position:relative;background:radial-gradient(circle at 28% 37%,#dfeee1,#f1f8f0 53%,#fff8e8)}
.sa-shop div.product div.images:has(img.woocommerce-placeholder) .woocommerce-product-gallery__wrapper{display:none}
.sa-shop div.product div.images:has(img.woocommerce-placeholder)::before{content:'آموزش و مشاوره مالی';display:grid;place-items:center;min-height:160px;width:min(100%,340px);border-radius:22px;background:linear-gradient(135deg,#0E3B37,#207b68);color:#eed087;font-size:1.38rem;font-weight:850;text-align:center;box-shadow:0 16px 37px rgba(14,59,55,.13);padding:28px}
@media(min-width:620px){.sa-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.sa-shop div.product div.images,.sa-shop div.product div.summary{float:none!important;width:100%!important}}

/* WooCommerce 11.3 placeholder markup uses a wrapper class, not an image placeholder class. */
.sa-shop div.product div.images:has(.woocommerce-product-gallery__image--placeholder){display:flex;align-items:center;justify-content:center;min-height:260px;position:relative;background:radial-gradient(circle at 25% 35%,#e3f1e4,#f1f8f0 55%,#fff7e7)}
.sa-shop div.product div.images:has(.woocommerce-product-gallery__image--placeholder) .woocommerce-product-gallery__wrapper{display:none}
.sa-shop div.product div.images:has(.woocommerce-product-gallery__image--placeholder)::before{content:'آموزش مالی و خدمات تخصصی';display:grid;place-items:center;min-height:160px;width:min(100%,350px);padding:28px;text-align:center;color:#eed185;background:linear-gradient(138deg,#0e3b37,#207b68);border-radius:19px;font-size:1.25rem;font-weight:850;box-shadow:0 14px 35px rgba(14,59,55,.12)}
/* Keep the selected variation price separate from the purchase button, especially on phones. */
.sa-shop div.product form.cart .single_variation_wrap{display:flex;flex-direction:column;gap:12px;clear:both;width:100%}
.sa-shop div.product form.cart .single_variation{display:block;float:none;clear:both;width:100%;min-height:24px}
.sa-shop div.product form.cart .woocommerce-variation-price{display:block;float:none;clear:both;overflow:visible;padding:9px 0;margin:0}
.sa-shop div.product form.cart .woocommerce-variation-price>.price{display:block;margin:0;color:#176850;font-weight:870;line-height:1.9}
.sa-shop div.product form.cart .woocommerce-variation-add-to-cart.variations_button{display:flex;float:none;clear:both;flex-wrap:wrap;align-items:center;gap:9px;width:100%}
.sa-shop div.product form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button{float:none;margin:0;min-height:47px}
.sa-shop div.product form.cart .woocommerce-variation-add-to-cart .quantity{float:none;margin:0}
/* Woo jQuery variation animation leaves inline height:24px/overflow:hidden; never clip a multi-million-toman price. */
.sa-shop div.product form.cart .single_variation{height:auto!important;min-height:53px!important;overflow:visible!important}
