/*
Theme Name: Sara Kaboli
Theme URI: https://www.sarakaboli.com/
Author: Sara Kaboli Education
Description: قالب اختصاصی فارسی و راست‌چین سارا کابلی برای پذیرش تحصیلی، دانشگاه‌ها و دوره SMART. بدون وابستگی به Elementor.
Version: 1.0.33
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: sara-kaboli
*/

html, body { margin: 0; }

.sarakaboli-commerce-header.site-header { position: sticky; z-index: 110; inset: auto; top: 0; left: 0; right: 0; width: 100%; box-sizing: border-box; color: #fff; background: rgba(6,22,57,.9); border-bottom: 1px solid rgba(255,255,255,.09); box-shadow: 0 16px 45px rgba(2,10,32,.16); backdrop-filter: blur(18px); }
.sarakaboli-commerce-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sarakaboli-commerce-header .sarakaboli-commerce-container.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.sarakaboli-commerce-header .brand { color: inherit; text-decoration: none; }
.sarakaboli-commerce-header .round-link svg, .sarakaboli-commerce-header .menu-toggle svg { width: 20px; height: 20px; display: block; }
.sarakaboli-commerce-header .account-link { border-color: rgba(216,183,95,.42); background: rgba(216,183,95,.08); }
.sarakaboli-commerce-header .account-link:hover, .sarakaboli-commerce-header .account-link:focus-visible { color: #e7ce8c; border-color: rgba(231,206,140,.82); background: rgba(216,183,95,.14); }
.sarakaboli-commerce-header .menu-toggle > span { display: grid; place-items: center; }
.sarakaboli-commerce-header .menu-toggle > span[hidden] { display: none !important; }
.sarakaboli-commerce-header .mobile-menu { direction: rtl; }
body.sarakaboli-menu-open { overflow: hidden; }
body.admin-bar .sarakaboli-commerce-header.site-header { top: 32px; }
.sarakaboli-commerce-page { min-height: calc(100vh - 76px); padding: 62px 0 90px; background: linear-gradient(160deg, #eefaff, #fbfdff); }
.sarakaboli-commerce-footer { padding: 22px 0 28px; color: rgba(255,255,255,.56); background: #04102e; font-size: 11px; text-align: center; }
.sarakaboli-commerce-footer a { color: #d8b75f; font-weight: 800; text-decoration: none; }
.sarakaboli-commerce-footer a:hover { color: #e7ce8c; }
.sarakaboli-commerce-footer-content { display: flex; align-items: center; justify-content: center; gap: 18px; }.sarakaboli-commerce-footer-content > span { display: inline-flex; align-items: center; }.sarakaboli-commerce-footer .sarakaboli-enamad-badge { width: 74px; height: 74px; display: inline-flex; align-items: center; justify-content: center; padding: 3px; overflow: hidden; border: 1px solid rgba(231,206,140,.32); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 8px 20px rgba(0,0,0,.18); }.sarakaboli-commerce-footer .sarakaboli-enamad-badge img { display: block; width: 68px; height: 68px; object-fit: contain; }.sarakaboli-commerce-footer .sarakaboli-enamad-badge:hover { border-color: rgba(231,206,140,.75); box-shadow: 0 12px 26px rgba(0,0,0,.26); }
.sarakaboli-commerce-page .woocommerce { direction: rtl; color: #253858; padding: clamp(22px, 4vw, 42px); border: 1px solid rgba(14,47,118,.11); border-radius: 28px; background: #fff; box-shadow: 0 24px 70px rgba(8,27,71,.10); font-family: "Vazirmatn", Tahoma, sans-serif; }
.sarakaboli-commerce-page .woocommerce h1, .sarakaboli-commerce-page .woocommerce h2, .sarakaboli-commerce-page .woocommerce h3 { color: #081b47; }
.sarakaboli-commerce-page .woocommerce a { color: #0e2f76; }
.sarakaboli-commerce-page .woocommerce button, .sarakaboli-commerce-page .woocommerce .button, .sarakaboli-commerce-page .wc-block-components-button { border-radius: 999px; background: #0e2f76; color: #fff; }
.sarakaboli-commerce-page .woocommerce input, .sarakaboli-commerce-page .woocommerce select, .sarakaboli-commerce-page .woocommerce textarea { border-color: #cfddeb; border-radius: 10px; }
.sarakaboli-commerce-page .woocommerce table.shop_table { border-color: #dfe7f1; border-radius: 15px; }
.sarakaboli-commerce-page .woocommerce .woocommerce-info, .sarakaboli-commerce-page .woocommerce .woocommerce-message { border-top-color: #c9a24a; background: #fff9e8; }
.sarakaboli-commerce-page .woocommerce .woocommerce-error { border-top-color: #b52f46; background: #fff1f3; }
.sarakaboli-commerce-page > :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) { width: 100%; box-sizing: border-box; margin: 0 0 24px; padding: 16px 54px 16px 18px; border-radius: 16px; line-height: 1.95; }
.sarakaboli-commerce-page > .woocommerce-error { border-top: 3px solid #b52f46; background: #fff1f3; }
.sarakaboli-commerce-page > .woocommerce-message, .sarakaboli-commerce-page > .woocommerce-info { border-top: 3px solid #c9a24a; background: #fff9e8; }
.sarakaboli-commerce-page .woocommerce .woocommerce-cart-form { width: 100%; float: none; }
.sarakaboli-commerce-page .woocommerce .cart-collaterals { width: min(100%, 520px); margin: 34px 0 0 auto; float: none; }
.sarakaboli-commerce-page .woocommerce .cart_totals { width: 100%; float: none; }
.sarakaboli-commerce-page .woocommerce table.shop_table th, .sarakaboli-commerce-page .woocommerce table.shop_table td { padding: 17px 14px; text-align: right; vertical-align: middle; }
.sarakaboli-commerce-page .woocommerce table.shop_table th { color: #53647f; font-size: 12px; font-weight: 750; }
.sarakaboli-commerce-page .woocommerce table.shop_table td.product-thumbnail { width: 88px; }
.sarakaboli-commerce-page .woocommerce table.shop_table td.product-thumbnail img { width: 68px; height: 68px; object-fit: cover; border-radius: 13px; border: 1px solid #e0e8f1; background: #f4f9fc; }
.sarakaboli-commerce-page .woocommerce td.product-name a { color: #102b65; font-weight: 750; }
.sarakaboli-commerce-page .woocommerce td.product-remove a { color: #a62238 !important; font-size: 22px; }
.sarakaboli-commerce-page .woocommerce .quantity .qty { width: 64px; min-height: 40px; text-align: center; }
.sarakaboli-commerce-page .woocommerce table.shop_table td.product-quantity { min-width: 96px; text-align: center; }
.sarakaboli-commerce-page .woocommerce table.shop_table td.product-quantity .quantity { min-width: 64px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }
.sarakaboli-commerce-page .woocommerce table.shop_table td.product-quantity .qty { display: inline-block; width: 64px; min-height: 40px; box-sizing: border-box; color: #162d54 !important; background: #fff !important; border: 1px solid #b9cbe0 !important; opacity: 1 !important; direction: ltr; font-size: 14px; font-weight: 750; appearance: auto; }
.sarakaboli-commerce-page .woocommerce .coupon { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.sarakaboli-commerce-page .woocommerce .coupon input { min-height: 42px; }
.sarakaboli-commerce-page .woocommerce .coupon button, .sarakaboli-commerce-page .woocommerce .button { min-height: 44px; padding: 0 22px; border: 0; font-weight: 750; }
.sarakaboli-commerce-page .woocommerce td.actions { display: table-cell !important; width: auto !important; padding: 18px 14px !important; text-align: right; }
.sarakaboli-commerce-page .woocommerce td.actions::after { content: ""; display: block; clear: both; }
.sarakaboli-commerce-page .woocommerce td.actions .coupon { float: right !important; min-width: 0; display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 10px; margin: 0; }
.sarakaboli-commerce-page .woocommerce td.actions .coupon label { flex: 0 0 auto; }
.sarakaboli-commerce-page .woocommerce td.actions .coupon input { width: 150px; flex: 0 1 150px; box-sizing: border-box; }
.sarakaboli-commerce-page .woocommerce td.actions .coupon button { flex: 0 0 auto; white-space: nowrap; }
.sarakaboli-commerce-page .woocommerce td.actions .button[name="update_cart"] { float: left !important; width: auto; min-width: 188px; margin: 0; color: #fff !important; background: #8fa3c6 !important; opacity: 1 !important; visibility: visible !important; white-space: nowrap; }
.sarakaboli-commerce-page .woocommerce td.actions .button[name="update_cart"]:not(:disabled) { background: #0e2f76 !important; }
.sarakaboli-commerce-page .woocommerce .cart_totals h2 { margin: 0 0 18px; line-height: 1.25; }
.sarakaboli-commerce-page .woocommerce .cart_totals table.shop_table { margin-top: 0; }
.sarakaboli-commerce-page .woocommerce .wc-proceed-to-checkout { padding-top: 17px; }
.sarakaboli-commerce-page .woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; margin: 0; text-align: center; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 34px; }
.sarakaboli-commerce-page .woocommerce form.checkout.woocommerce-checkout { align-items: start; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout h3 { margin: 0 0 19px; font-size: 22px; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout .col2-set, .sarakaboli-commerce-page .woocommerce .woocommerce-checkout #order_review_heading, .sarakaboli-commerce-page .woocommerce .woocommerce-checkout #order_review { width: auto; float: none; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout .col2-set { grid-column: 1; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout #order_review_heading, .sarakaboli-commerce-page .woocommerce .woocommerce-checkout #order_review { grid-column: 2; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout #order_review_heading { align-self: start; margin: 0 0 4px; }
.sarakaboli-commerce-page .woocommerce form.checkout.woocommerce-checkout > #customer_details { grid-column: 1; grid-row: 1 / span 3; }
.sarakaboli-commerce-page .woocommerce form.checkout.woocommerce-checkout > #order_review_heading { grid-column: 2; grid-row: 1; }
.sarakaboli-commerce-page .woocommerce form.checkout.woocommerce-checkout > #order_review { grid-column: 2; grid-row: 2; min-width: 0; margin: 0; }
.sarakaboli-commerce-page .woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.sarakaboli-commerce-page .woocommerce form .form-row label { display: block; margin-bottom: 7px; color: #344764; font-size: 12px; font-weight: 700; }
.sarakaboli-commerce-page .woocommerce form .form-row input.input-text, .sarakaboli-commerce-page .woocommerce form .form-row textarea, .sarakaboli-commerce-page .woocommerce form .form-row select { width: 100%; min-height: 48px; box-sizing: border-box; padding: 10px 13px; color: #162d54; background: #fbfdff; }
.sarakaboli-commerce-page .woocommerce form .form-row textarea { min-height: 112px; }
.sarakaboli-commerce-page .woocommerce .col2-set .col-1, .sarakaboli-commerce-page .woocommerce .col2-set .col-2 { width: 100%; float: none; }
.sarakaboli-commerce-page .woocommerce .col2-set .col-2 { margin-top: 24px; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout #payment { border-radius: 17px; background: #f4f9fd; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout #payment ul.payment_methods { border-bottom-color: #d9e5ef; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout #payment div.payment_box { color: #4e607c; background: #eaf5fb; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #eaf5fb; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout #payment .place-order { padding: 18px; }
.sarakaboli-commerce-page .woocommerce .woocommerce-checkout #payment .button { width: 100%; min-height: 54px; font-size: 15px; }
.sarakaboli-commerce-page .woocommerce .woocommerce-Price-amount { direction: rtl; unicode-bidi: plaintext; color: #183d86; font-weight: 750; }
.sarakaboli-commerce-page .woocommerce .woocommerce-info, .sarakaboli-commerce-page .woocommerce .woocommerce-message, .sarakaboli-commerce-page .woocommerce .woocommerce-error { line-height: 1.95; }
body.woocommerce-cart .sarakaboli-commerce-page .woocommerce p.return-to-shop { margin: 26px 0 0; display: flex; justify-content: flex-start; }
body.woocommerce-cart .sarakaboli-commerce-page .woocommerce p.return-to-shop .button.wc-backward { min-width: 220px; min-height: 56px; box-sizing: border-box; margin: 0; padding: 0 28px; display: inline-flex !important; align-items: center; justify-content: center; color: #fff !important; border: 0; border-radius: 999px; background: linear-gradient(135deg, #17469e, #0b2f74); box-shadow: 0 12px 25px rgba(14,47,118,.2); font-family: "Vazirmatn", Tahoma, sans-serif; font-size: 15px; font-weight: 800; line-height: 1.2 !important; text-align: center; text-decoration: none; white-space: nowrap; }
body.woocommerce-cart .sarakaboli-commerce-page .woocommerce p.return-to-shop .button.wc-backward:hover { background: linear-gradient(135deg, #1f58ba, #0e377f); box-shadow: 0 15px 30px rgba(14,47,118,.27); transform: translateY(-1px); }

/* Premium WooCommerce account shell, including SpotPlayer's "My courses" endpoint. */
.sarakaboli-account-intro { position: relative; overflow: hidden; margin-bottom: 24px; padding: 28px 30px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; color: #fff; border: 1px solid rgba(216,183,95,.26); border-radius: 26px; background: radial-gradient(120% 170% at 0 0, rgba(35,88,183,.86), transparent 53%), linear-gradient(135deg, #0b2f74, #04102e 78%); box-shadow: 0 24px 60px rgba(8,27,71,.18); }
.sarakaboli-account-intro::after { content: ""; position: absolute; width: 190px; height: 190px; inset: -105px auto auto -55px; border-radius: 999px; background: rgba(216,183,95,.11); box-shadow: 0 0 0 28px rgba(216,183,95,.04); pointer-events: none; }
.sarakaboli-account-intro-icon { width: 60px; height: 60px; display: grid; place-items: center; color: #081b47; border-radius: 18px; background: linear-gradient(135deg, #f1dda6, #c9a24a); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.sarakaboli-account-intro-icon svg { width: 28px; height: 28px; }
.sarakaboli-account-intro > div { position: relative; z-index: 1; min-width: 0; }
.sarakaboli-account-intro > div > span { color: #e7ce8c; font-family: "Cormorant Garamond", serif; font-size: 12px; font-weight: 700; letter-spacing: 3px; }
.sarakaboli-account-intro h1 { margin: 4px 0 7px; color: #fff; font-family: "Markazi Text", "Vazirmatn", sans-serif; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.sarakaboli-account-intro p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.9; }
.sarakaboli-account-intro-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.sarakaboli-account-intro-actions a { min-height: 46px; box-sizing: border-box; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; color: #081b47; border: 1px solid transparent; border-radius: 999px; background: linear-gradient(135deg, #f1dda6, #c9a24a); box-shadow: 0 13px 27px rgba(0,0,0,.18); font-size: 13px; font-weight: 800; line-height: 1; text-decoration: none; white-space: nowrap; }
.sarakaboli-account-intro-actions a.is-secondary { color: #f1dda6; border-color: rgba(241,221,166,.45); background: rgba(255,255,255,.08); box-shadow: none; }

body.logged-in.woocommerce-account .sarakaboli-commerce-page .woocommerce { direction: ltr; display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) !important; grid-template-areas: "account-content account-navigation"; align-items: start; gap: 26px; padding: clamp(18px, 3vw, 32px); }
body.logged-in.woocommerce-account .sarakaboli-commerce-page .woocommerce > :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) { grid-column: 1 / -1 !important; width: auto !important; min-height: 72px; box-sizing: border-box; margin: 0; padding: 16px 54px 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; direction: rtl; }
body.logged-in.woocommerce-account .sarakaboli-commerce-page .woocommerce > :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) .button { min-width: 150px; min-height: 46px; flex: 0 0 auto; float: none; margin: 0; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; line-height: 1.2; text-align: center; white-space: nowrap; }
body.logged-in.woocommerce-account .sarakaboli-commerce-page .woocommerce > .woocommerce-MyAccount-navigation { grid-area: account-navigation; width: auto !important; min-width: 0; max-width: 100%; float: none !important; position: sticky; top: 108px; overflow: hidden; padding: 12px; border: 1px solid rgba(216,183,95,.22); border-radius: 22px; background: linear-gradient(155deg, #0d347e, #04102e 82%); box-shadow: 0 18px 45px rgba(8,27,71,.17); direction: rtl; }
body.admin-bar.logged-in.woocommerce-account .woocommerce-MyAccount-navigation { top: 140px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a { min-height: 48px; padding: 0 13px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.73); border: 1px solid transparent; border-radius: 14px; font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a::before { content: "◆"; width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 28px; color: #e7ce8c; border-radius: 9px; background: rgba(216,183,95,.1); font-size: 10px; line-height: 1; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::before { content: "⌂"; font-size: 17px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before { content: "▤"; font-size: 15px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads a::before { content: "↓"; font-size: 18px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before { content: "⌖"; font-size: 16px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before { content: "○"; font-size: 17px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "↪"; font-size: 17px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li:hover a, body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: #081b47; border-color: rgba(255,255,255,.38); background: linear-gradient(135deg, #f1dda6, #c9a24a); transform: translateX(-2px); }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li:hover a::before, body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before { color: #081b47; background: rgba(255,255,255,.36); }
body.logged-in.woocommerce-account .sarakaboli-commerce-page .woocommerce > .woocommerce-MyAccount-content { grid-area: account-content; width: auto !important; min-width: 0; max-width: 100%; float: none !important; padding: clamp(18px, 3vw, 30px); border: 1px solid #dce7f1; border-radius: 22px; background: linear-gradient(145deg, #fff, #fbfdff); box-shadow: 0 14px 38px rgba(8,27,71,.06); direction: rtl; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content h2, body.logged-in.woocommerce-account .woocommerce-MyAccount-content h3 { margin: 0 0 20px; color: #081b47; font-family: "Markazi Text", "Vazirmatn", sans-serif; font-size: clamp(25px, 3vw, 34px); line-height: 1.25; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content p { color: #5e6f88; font-size: 13px; line-height: 2; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.shop_table { width: 100%; margin: 0; overflow: hidden; border-collapse: separate; border-spacing: 0; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th { color: #53647f; background: #f3f8fc; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr { transition: background .2s ease; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:hover { background: #f8fbfe; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.shop_table td, body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.shop_table th { height: auto; box-sizing: border-box; padding: 17px 14px; vertical-align: middle; line-height: 1.75; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions { text-align: center; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content :is(a.button, button.button, input.button, input[type="submit"]), body.logged-in.woocommerce-account .woocommerce-MyAccount-content [class*="spotplayer"] :is(a, button) { min-width: 112px; min-height: 46px; box-sizing: border-box; margin: 0; padding: 0 20px; display: inline-flex !important; align-items: center; justify-content: center; gap: 7px; color: #fff !important; border: 0; border-radius: 999px; background: linear-gradient(135deg, #17469e, #0b2f74); box-shadow: 0 10px 22px rgba(14,47,118,.18); font-family: "Vazirmatn", Tahoma, sans-serif; font-size: 13px; font-weight: 800; line-height: 1.2 !important; text-align: center; text-decoration: none; white-space: nowrap; vertical-align: middle; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content :is(a.button, button.button, input.button, input[type="submit"]):hover, body.logged-in.woocommerce-account .woocommerce-MyAccount-content [class*="spotplayer"] :is(a, button):hover { background: linear-gradient(135deg, #1f58ba, #0e377f); box-shadow: 0 14px 27px rgba(14,47,118,.25); transform: translateY(-1px); }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button { margin: 0 auto; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) { min-height: 72px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 24px; padding: 16px 54px 16px 18px; border-radius: 16px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) .button { order: 2; flex: 0 0 auto; float: none; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content form .form-row label { margin-bottom: 8px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content fieldset { margin: 24px 0; padding: 20px; border: 1px solid #dce7f1; border-radius: 18px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content legend { padding: 0 10px; color: #0e2f76; font-weight: 800; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content address { padding: 18px; color: #52647f; border: 1px solid #dce7f1; border-radius: 16px; background: #f8fbfe; font-style: normal; line-height: 2; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-content :is(ul, ol)[class*="course"], body.logged-in.woocommerce-account .woocommerce-MyAccount-content [class*="spotplayer"] { max-width: 100%; }

body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce, body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce { width: min(100%, 980px); box-sizing: border-box; margin-inline: auto; overflow: hidden; }
body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview, body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); grid-auto-flow: row; align-items: start; gap: 0; margin: 0 0 34px; padding: 20px 22px; list-style: none; direction: rtl; border: 1px solid #d9e5ef; border-radius: 18px; background: linear-gradient(135deg, #fbfdff, #f1f8fd); }
body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li, body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li { display: block !important; width: auto !important; max-width: none !important; float: none !important; min-width: 0; box-sizing: border-box; margin: 0 !important; padding: 3px 18px; color: #51627e; font-size: 11px; line-height: 1.8; text-align: center; border-inline-start: 1px dashed #c8d6e6; }
body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li:first-child, body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li:first-child { border-inline-start: 0; }
body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li strong, body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li strong { display: block; margin-top: 4px; color: #102b65; font-size: 16px; font-weight: 850; }
body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce :is(a.button, button.button, input.button, input[type="submit"]), body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce :is(a.button, button.button, input.button, input[type="submit"]) { min-width: 132px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; margin: 0 0 10px 10px; padding: 0 24px; color: #fff !important; border: 1px solid transparent; border-radius: 999px; background: linear-gradient(135deg, #173f91, #09255e); box-shadow: 0 10px 20px rgba(14,47,118,.17); font-family: inherit; font-size: 15px; font-weight: 800; line-height: 1; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce :is(a.button, button.button, input.button, input[type="submit"]):is(.alt, #place_order, [name="woocommerce_pay"]), body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce :is(a.button, button.button, input.button, input[type="submit"]):is(.alt, #place_order, [name="woocommerce_pay"]) { background: linear-gradient(135deg, #9666cd, #7144ae); box-shadow: 0 10px 22px rgba(113,68,174,.24); }
body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce :is(a.button, button.button, input.button, input[type="submit"]):hover, body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce :is(a.button, button.button, input.button, input[type="submit"]):hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 14px 27px rgba(14,47,118,.24); }
@media (max-width: 1000px) { .sarakaboli-commerce-header .header-actions { margin-right: auto; }.sarakaboli-commerce-header .mobile-menu { top: 80px; }.sarakaboli-commerce-header .mobile-menu.is-open { visibility: visible; opacity: 1; transform: translateX(0); } body.admin-bar .sarakaboli-commerce-header .mobile-menu { top: 112px; height: calc(100vh - 112px); } }
@media (max-width: 900px) { body.logged-in.woocommerce-account .sarakaboli-commerce-page .woocommerce { grid-template-columns: 1fr !important; grid-template-areas: "account-navigation" "account-content"; }.sarakaboli-account-intro { grid-template-columns: auto 1fr; }.sarakaboli-account-intro-actions { grid-column: 1 / -1; width: 100%; justify-content: flex-start; }.sarakaboli-account-intro-actions a { flex: 1 1 180px; }.sarakaboli-account-intro p { max-width: 620px; } body.logged-in.woocommerce-account .sarakaboli-commerce-page .woocommerce > .woocommerce-MyAccount-navigation { position: static; } body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li:hover a, body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { transform: none; } }
@media (max-width: 782px) { body.admin-bar .sarakaboli-commerce-header.site-header { top: 46px; } body.admin-bar .sarakaboli-commerce-header .mobile-menu { top: 114px; height: calc(100vh - 114px); } }
@media (max-width: 640px) { .sarakaboli-commerce-container { width: min(100% - 28px, 1180px); }.sarakaboli-commerce-header .sarakaboli-commerce-container.header-inner { min-height: 68px; }.sarakaboli-commerce-header .mobile-menu { top: 68px; height: calc(100vh - 68px); }.sarakaboli-commerce-page { padding: 28px 0 56px; }.sarakaboli-commerce-page .woocommerce { padding: 18px 14px; border-radius: 20px; }.sarakaboli-commerce-footer-content { flex-direction: column; gap: 12px; }.sarakaboli-account-intro { grid-template-columns: 1fr; justify-items: center; padding: 24px 18px; text-align: center; }.sarakaboli-account-intro-actions { grid-column: auto; width: 100%; justify-content: stretch; flex-direction: column; }.sarakaboli-account-intro-actions a { width: 100%; flex: 0 0 auto; }.sarakaboli-account-intro p { font-size: 12px; } body.logged-in.woocommerce-account .sarakaboli-commerce-page .woocommerce > :is(.woocommerce-info, .woocommerce-message, .woocommerce-error), body.logged-in.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) { align-items: stretch; flex-direction: column; padding: 18px 46px 18px 16px; } body.logged-in.woocommerce-account .sarakaboli-commerce-page .woocommerce > :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) .button, body.logged-in.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) .button { order: 0; width: 100%; } body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns: 1fr; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content { padding: 17px 13px; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table { display: block; width: 100% !important; overflow: visible; border: 0; background: transparent; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead { display: none; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody { display: grid; width: 100%; gap: 14px; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr { display: block; width: 100%; overflow: hidden; box-sizing: border-box; border: 1px solid #dce7f1; border-radius: 16px; background: #fff; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td { width: 100% !important; min-height: 48px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 0; border-bottom: 1px solid #e7eef5; text-align: left !important; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td:last-child { border-bottom: 0; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td::before { content: attr(data-title); flex: 0 0 auto; color: #53647f; font-weight: 800; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td:nth-child(1):not([data-title])::before { content: "سفارش"; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td:nth-child(2):not([data-title])::before { content: "تاریخ"; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td:nth-child(3):not([data-title])::before { content: "وضعیت"; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td:nth-child(4):not([data-title])::before { content: "مبلغ کل"; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td:nth-child(5):not([data-title])::before { content: "عملیات"; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions { display: block !important; padding: 12px !important; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions::before { display: none; } body.logged-in.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button { width: 100%; } }
@media (max-width: 640px) { body.woocommerce-cart .sarakaboli-commerce-page .woocommerce p.return-to-shop .button.wc-backward { width: 100%; min-width: 0; } }
@media (max-width: 820px) { .sarakaboli-commerce-page .woocommerce .woocommerce-checkout { display: block; }.sarakaboli-commerce-page .woocommerce .woocommerce-checkout #order_review_heading { margin-top: 32px; }.sarakaboli-commerce-page .woocommerce .woocommerce-checkout #order_review { margin-top: 16px; } }
@media (max-width: 820px) { .sarakaboli-commerce-page .woocommerce td.actions { display: block !important; width: auto !important; }.sarakaboli-commerce-page .woocommerce td.actions .coupon, .sarakaboli-commerce-page .woocommerce td.actions .button[name="update_cart"] { float: none !important; width: 100%; }.sarakaboli-commerce-page .woocommerce td.actions .coupon { display: flex; gap: 10px; margin-bottom: 12px; }.sarakaboli-commerce-page .woocommerce td.actions .coupon input { flex: 1 1 auto; width: auto; } }
@media (max-width: 640px) { .sarakaboli-commerce-page .woocommerce table.shop_table { font-size: 12px; }.sarakaboli-commerce-page .woocommerce table.shop_table th, .sarakaboli-commerce-page .woocommerce table.shop_table td { padding: 11px 7px; }.sarakaboli-commerce-page .woocommerce td.product-thumbnail { width: 54px; }.sarakaboli-commerce-page .woocommerce table.shop_table td.product-thumbnail img { width: 48px; height: 48px; }.sarakaboli-commerce-page .woocommerce td.actions .coupon { flex-direction: column; align-items: stretch; }.sarakaboli-commerce-page .woocommerce td.actions .coupon input, .sarakaboli-commerce-page .woocommerce td.actions .coupon button { width: 100%; } }
@media (max-width: 760px) { body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview, body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; padding: 18px 10px; } body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li, body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li { padding: 2px 14px; } }
@media (max-width: 480px) { body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview, body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview { grid-template-columns: 1fr; gap: 10px; } body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li, body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li { padding: 6px 10px; border-inline-start: 0; border-top: 1px dashed #c8d6e6; } body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li:first-child, body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce .woocommerce-order-overview li:first-child { border-top: 0; } body.woocommerce-order-pay .sarakaboli-commerce-page .woocommerce :is(a.button, button.button, input.button, input[type="submit"]), body.woocommerce-order-received .sarakaboli-commerce-page .woocommerce :is(a.button, button.button, input.button, input[type="submit"]) { width: 100%; margin-inline: 0; } }

/* Digits uses its own full-screen markup. Keep its Persian login/register
   screen visually consistent with the storefront without editing the plugin. */
.digits-form_page.digits-auto-theme { min-height: 100vh !important; box-sizing: border-box; padding: 46px 20px !important; direction: rtl; background: radial-gradient(68% 46% at 50% 0%, rgba(216,183,95,.22), transparent 72%), linear-gradient(145deg, #f7fcff 0%, #e9f5fb 100%) !important; }
.digits-form_page .digits-form_container.digits { min-height: calc(100vh - 92px); display: grid !important; place-items: center; }
.digits-form_page .digits-form_wrapper.digits_modal_box { width: min(100%, 520px) !important; max-width: 520px !important; box-sizing: border-box; margin: 0 !important; padding: 34px 32px 30px !important; color: #152c59; border: 1px solid rgba(216,183,95,.45) !important; border-radius: 28px !important; background: rgba(255,255,255,.98) !important; box-shadow: 0 26px 68px rgba(8,27,71,.18) !important; font-family: "Vazirmatn", Tahoma, sans-serif !important; }
.digits-form_page .digits-form_heading { justify-content: center; margin: 0 0 26px; color: #09255e; font-family: "Markazi Text", "Vazirmatn", serif; font-size: 34px; font-weight: 800; }
.digits-form_page .digits-form_heading_text { color: #09255e !important; }
.digits-form_page .digits-form_tab-wrapper, .digits-form_page .digits-form_tab_wrapper { margin-bottom: 18px; }
.digits-form_page .digits-form_tab-bar { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 14px; background: #f2f7fb; }
.digits-form_page .digits-form_tab-item { min-height: 42px; display: flex !important; align-items: center; justify-content: center; padding: 0 10px; color: #58708e !important; border-radius: 10px; font-size: 12px; font-weight: 750; text-align: center; white-space: nowrap; }
.digits-form_page .digits-form_tab-item.digits-tab_active { color: #08255e !important; background: linear-gradient(135deg, #f2dfaa, #d1aa55) !important; box-shadow: 0 7px 15px rgba(137,99,28,.17); }
.digits-form_page .digits-form_input_row { margin-bottom: 14px; }
.digits-form_page .digits-form_input input { min-height: 52px !important; box-sizing: border-box; color: #152c59 !important; border: 1px solid #cbd9e7 !important; border-radius: 13px !important; background: #fbfdff !important; font-family: "Vazirmatn", Tahoma, sans-serif !important; }
.digits-form_page .digits-form_input input:focus { border-color: #bd9131 !important; box-shadow: 0 0 0 4px rgba(216,183,95,.18) !important; }
.digits-form_page .digits-form_button { min-height: 54px; margin-top: 8px; color: #fff !important; border: 0 !important; border-radius: 999px !important; background: linear-gradient(135deg, #173f91, #09255e) !important; box-shadow: 0 12px 24px rgba(14,47,118,.2) !important; font-family: "Vazirmatn", Tahoma, sans-serif !important; font-weight: 800; }
.digits-form_page .digits-form_button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.digits-form_page .dig_login_signup_bar { justify-content: center; gap: 6px; margin-top: 20px; color: #61738d; font-size: 12px; }
.digits-form_page .dig_login_signup_bar a { color: #0f3e91 !important; font-weight: 800; }
.digits-form_page .digits-form_close { color: #a61f47 !important; }
@media (max-width: 560px) { .digits-form_page.digits-auto-theme { padding: 22px 14px !important; } .digits-form_page .digits-form_container.digits { min-height: calc(100vh - 44px); } .digits-form_page .digits-form_wrapper.digits_modal_box { padding: 26px 18px 24px !important; border-radius: 22px !important; } .digits-form_page .digits-form_heading { margin-bottom: 20px; font-size: 30px; } .digits-form_page .digits-form_tab-item { min-height: 40px; padding-inline: 6px; font-size: 11px; } }

/* Keep the hero statistics stable even when a cache layer serves an older
   compiled application stylesheet. The home hero is the only surface using
   this class, so this targeted fallback cannot affect commerce pages. */
.hero-mini-stats b { font-size: 32px !important; }
@media (max-width: 720px) { .hero-mini-stats b { font-size: 28px !important; } }
/* The mobile label rule must not shrink the number component nested inside b. */
.hero-mini-stats b .stat-number,
.hero-mini-stats b .stat-number > span { font-size: inherit !important; }
