/*
Theme Name: 3-هیچ Astra Child
Theme URI: https://3hich.ir/
Description: Astra child theme with a custom lightweight homepage for the 3-هیچ educational platform.
Author: 3-هیچ
Author URI: https://3hich.ir/
Template: astra
Version: 1.6.1
Text Domain: sehich-astra-child
*/

/* The main homepage styles are loaded from assets/css/home.css */


/* 3-هیچ — WooCommerce experience v1.0.33 */
:root {
    --shc-primary: #6d28d9;
    --shc-primary-2: #8b5cf6;
    --shc-cyan: #06b6d4;
    --shc-orange: #ff8a00;
    --shc-green: #16a34a;
    --shc-ink: #101828;
    --shc-muted: #667085;
    --shc-surface: #ffffff;
    --shc-soft: #f8fafc;
    --shc-border: rgba(148, 163, 184, .24);
    --shc-shadow: 0 22px 60px rgba(15, 23, 42, .08);
    --shc-shadow-soft: 0 10px 30px rgba(15, 23, 42, .06);
}

body.sehich-commerce,
body.sehich-commerce button,
body.sehich-commerce input,
body.sehich-commerce select,
body.sehich-commerce textarea {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Arial, sans-serif;
}

body.sehich-commerce {
    color: var(--shc-ink);
    background:
        radial-gradient(circle at 8% 8%, rgba(139, 92, 246, .08), transparent 24rem),
        radial-gradient(circle at 92% 22%, rgba(6, 182, 212, .08), transparent 26rem),
        #f8fafc;
}

/* Branded commerce header — 1.5.3 */
body.sehich-commerce .site-header,
body.sehich-commerce #masthead,
body.sehich-commerce .ast-mobile-header-wrap { display: none !important; }

.sehich-commerce-skip-link {
    position: fixed;
    z-index: 10001;
    inset: 12px auto auto 12px;
    transform: translateY(-150%);
    border-radius: 11px;
    padding: 10px 15px;
    color: #11254d;
    background: #fff;
    box-shadow: 0 18px 50px rgba(17, 37, 77, .12);
}

.sehich-commerce-skip-link:focus { transform: translateY(0); }

.sehich-commerce-announcement {
    position: relative;
    z-index: 101;
    margin: 0;
    color: #fff;
    background: #0b1732;
    font-size: 12px;
}

.sehich-commerce-announcement .sehich-commerce-header-container {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.sehich-commerce-announcement a { color: #9fdcff; font-weight: 850; }

.sehich-commerce-header {
    --sehich-header-navy: #11254d;
    --sehich-header-blue: #2d5be3;
    --sehich-header-muted: #68738a;
    --sehich-header-line: #dde3ed;
    position: sticky;
    z-index: 1000;
    top: 0;
    margin: 0;
    border-bottom: 1px solid rgba(221, 227, 237, .92);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 30px rgba(17, 37, 77, .055);
    backdrop-filter: blur(14px);
    direction: rtl;
}

body.admin-bar .sehich-commerce-header { top: 32px; }

.sehich-commerce-header-container {
    width: min(1180px, calc(100% - 44px));
    margin-inline: auto;
}

.sehich-commerce-header .sehich-home-header__inner {
    position: relative;
    display: grid;
    min-height: 78px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.sehich-commerce-header a { text-decoration: none; }
.sehich-commerce-header .sehich-home-brand { display: inline-flex; min-width: max-content; align-items: center; gap: 11px; }
.sehich-commerce-header .sehich-home-brand__logo { display: block; width: 49px !important; height: 49px !important; object-fit: contain; }
.sehich-commerce-header .sehich-home-brand__name { display: grid; gap: 2px; }
.sehich-commerce-header .sehich-home-brand__name strong { color: var(--sehich-header-navy); font-size: 20px; font-weight: 900; line-height: 1.25; }
.sehich-commerce-header .sehich-home-brand__name small { color: var(--sehich-header-muted); font-size: 10px; line-height: 1.6; }

.sehich-commerce-header .sehich-home-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    color: #4f596d;
    font-size: 13px;
    font-weight: 720;
}

.sehich-commerce-header .sehich-home-nav a { position: relative; padding: 11px 0; color: inherit; }
.sehich-commerce-header .sehich-home-nav a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--sehich-header-blue);
    content: '';
    transition: width .2s ease;
}

.sehich-commerce-header .sehich-home-nav a:hover::after,
.sehich-commerce-header .sehich-home-nav a:focus-visible::after,
.sehich-commerce-header .sehich-home-nav a[aria-current="page"]::after { width: 100%; }

.sehich-commerce-header .sehich-header-action { display: flex; align-items: center; justify-content: flex-end; }
.sehich-commerce-header .sehich-header-cta-group { display: flex; gap: 8px; }
.sehich-commerce-header .sehich-header-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0 17px;
    color: #fff !important;
    background: var(--sehich-header-blue);
    box-shadow: 0 10px 24px rgba(45, 91, 227, .2);
    font-size: 12px;
    font-weight: 850;
}

.sehich-commerce-header .sehich-header-cta--logout {
    border: 1px solid var(--sehich-header-line);
    color: #a53036 !important;
    background: #fff;
    box-shadow: none;
}

.sehich-commerce-header .sehich-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    gap: 4px;
    border: 1px solid var(--sehich-header-line);
    border-radius: 11px;
    padding: 11px;
    background: #fff;
    cursor: pointer;
}

.sehich-commerce-header .sehich-menu-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--sehich-header-navy); }

@media (max-width: 1080px) {
    .sehich-commerce-header .sehich-home-header__inner { grid-template-columns: auto auto 1fr; gap: 12px; }
    .sehich-commerce-header .sehich-menu-toggle { display: grid; }
    .sehich-commerce-header .sehich-home-nav {
        position: absolute;
        inset: calc(100% + 1px) 0 auto;
        display: none;
        align-items: stretch;
        gap: 0;
        border: 1px solid var(--sehich-header-line);
        border-radius: 17px;
        padding: 8px;
        background: #fff;
        box-shadow: 0 18px 50px rgba(17, 37, 77, .12);
    }
    .sehich-commerce-header .sehich-home-nav.is-open { display: grid; }
    .sehich-commerce-header .sehich-home-nav a { border-radius: 9px; padding: 11px 13px; }
    .sehich-commerce-header .sehich-home-nav a:hover,
    .sehich-commerce-header .sehich-home-nav a:focus-visible { color: var(--sehich-header-blue); background: #f4f7fb; }
    .sehich-commerce-header .sehich-home-nav a::after { display: none; }
}

@media (max-width: 782px) {
    body.admin-bar .sehich-commerce-header { top: 46px; }
}

@media (max-width: 560px) {
    .sehich-commerce-header-container { width: min(100% - 24px, 500px); }
    .sehich-commerce-announcement .sehich-commerce-header-container { min-height: 34px; gap: 9px; font-size: 10px; }
    .sehich-commerce-header .sehich-home-header__inner { min-height: 66px; }
    .sehich-commerce-header .sehich-home-brand__logo { width: 42px !important; height: 42px !important; }
    .sehich-commerce-header .sehich-home-brand__name strong { font-size: 17px; }
    .sehich-commerce-header .sehich-home-brand__name small { display: none; }
    .sehich-commerce-header .sehich-menu-toggle { width: 39px; height: 39px; }
    .sehich-commerce-header .sehich-header-cta { min-height: 40px; padding-inline: 10px; font-size: 10px; }
    .sehich-commerce-header .sehich-header-cta-group .sehich-header-cta--logout { display: none; }
}

.sehich-commerce .site-content > .ast-container,
.sehich-commerce .ast-container {
    width: min(1220px, calc(100% - 40px));
}

.sehich-commerce #primary {
    margin-top: 42px;
    margin-bottom: 70px;
}

.sehich-commerce .entry-content,
.sehich-commerce .woocommerce {
    color: var(--shc-ink);
}

.sehich-commerce h1,
.sehich-commerce h2,
.sehich-commerce h3,
.sehich-commerce .woocommerce-loop-product__title {
    color: var(--shc-ink);
    letter-spacing: -.02em;
}

.sehich-commerce .entry-title,
.sehich-commerce .woocommerce-products-header__title.page-title {
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    font-weight: 900;
    margin: 0 0 28px;
}

.sehich-commerce.woocommerce-shop .woocommerce-products-header {
    display: none;
}

/* Shop hero */
.sehich-shop-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 34px;
    align-items: end;
    margin: 0 0 30px;
    padding: clamp(30px, 5vw, 58px);
    color: #fff;
    border-radius: 32px;
    background:
        radial-gradient(circle at 8% 12%, rgba(236, 72, 153, .3), transparent 28%),
        radial-gradient(circle at 90% 18%, rgba(6, 182, 212, .3), transparent 30%),
        linear-gradient(135deg, #111827 0%, #312e81 48%, #6d28d9 100%);
    box-shadow: 0 28px 80px rgba(76, 29, 149, .22);
}

.sehich-shop-hero::before,
.sehich-shop-hero::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
}

.sehich-shop-hero::before { width: 230px; height: 230px; inset: -100px auto auto -80px; }
.sehich-shop-hero::after { width: 150px; height: 150px; inset: auto -55px -70px auto; }
.sehich-shop-hero > * { position: relative; z-index: 1; }

.sehich-shop-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 7px 13px;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
}

.sehich-shop-hero h1 {
    max-width: 760px;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.55rem);
    font-weight: 900;
    line-height: 1.35;
}

.sehich-shop-hero p {
    max-width: 740px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 1rem;
    line-height: 2;
}

.sehich-shop-hero__trust {
    display: grid;
    gap: 10px;
}

.sehich-shop-hero__trust span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 15px;
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(10px);
}

.sehich-shop-hero__trust b {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #111827;
    border-radius: 50%;
    background: #fff;
}

/* Store toolbar and cards */
.sehich-commerce .woocommerce-notices-wrapper:not(:empty),
.sehich-commerce .woocommerce-message,
.sehich-commerce .woocommerce-info,
.sehich-commerce .woocommerce-error {
    margin: 0 0 24px;
    padding: 17px 20px 17px 22px;
    color: #344054;
    border: 1px solid rgba(6,182,212,.22);
    border-right: 4px solid var(--shc-cyan);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shc-shadow-soft);
}

.sehich-commerce .woocommerce-message::before,
.sehich-commerce .woocommerce-info::before { color: var(--shc-primary); }

.sehich-commerce .woocommerce-result-count,
.sehich-commerce .woocommerce-ordering {
    margin-bottom: 28px;
}

.sehich-commerce .woocommerce-result-count {
    padding: 10px 14px;
    color: var(--shc-muted);
    font-size: .9rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shc-shadow-soft);
}

.sehich-commerce .woocommerce-ordering select {
    min-width: 220px;
    height: 46px;
    padding: 0 16px;
    color: var(--shc-ink);
    border: 1px solid var(--shc-border);
    border-radius: 14px;
    background-color: #fff;
    box-shadow: var(--shc-shadow-soft);
}

.sehich-commerce.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    clear: both;
}

.sehich-commerce.woocommerce ul.products::before,
.sehich-commerce.woocommerce ul.products::after { display: none; }

.sehich-commerce.woocommerce ul.products li.product,
.sehich-commerce.woocommerce-page ul.products li.product {
    width: auto;
    margin: 0;
    padding: 13px 13px 17px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,.2);
    border-radius: 26px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--shc-shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.sehich-commerce.woocommerce ul.products li.product:hover {
    transform: translateY(-7px);
    border-color: rgba(109,40,217,.28);
    box-shadow: 0 26px 60px rgba(15,23,42,.12);
}

.sehich-commerce.woocommerce ul.products li.product a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 0 16px;
    object-fit: cover;
    border-radius: 19px;
    background: #f1f5f9;
}

.sehich-commerce.woocommerce ul.products li.product .ast-woo-product-category {
    display: none;
}

.sehich-commerce.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 3.4em;
    padding: 0 8px;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.75;
}

.sehich-commerce.woocommerce ul.products li.product .price {
    display: inline-flex;
    margin: 9px 8px 15px;
    padding: 7px 12px;
    color: var(--shc-primary);
    font-size: 1.02rem;
    font-weight: 900;
    border-radius: 12px;
    background: #f5f3ff;
}

.sehich-commerce.woocommerce ul.products li.product .button {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    color: #fff;
    font-weight: 800;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--shc-primary), var(--shc-primary-2));
    box-shadow: 0 12px 24px rgba(109,40,217,.2);
}

.sehich-commerce.woocommerce ul.products li.product:nth-child(2) .price { color: #475569; background: #f1f5f9; }
.sehich-commerce.woocommerce ul.products li.product:nth-child(3) .price { color: #b45309; background: #fff7ed; }

/* Shared buttons and controls */
.sehich-commerce .button,
.sehich-commerce button.button,
.sehich-commerce input.button,
.sehich-commerce #place_order {
    min-height: 46px;
    padding: 11px 20px;
    font-weight: 800;
    border: 0;
    border-radius: 13px;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.sehich-commerce .button:hover,
.sehich-commerce button.button:hover,
.sehich-commerce input.button:hover,
.sehich-commerce #place_order:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.sehich-commerce .checkout-button,
.sehich-commerce #place_order {
    color: #fff;
    background: linear-gradient(135deg, var(--shc-primary), var(--shc-primary-2));
    box-shadow: 0 15px 30px rgba(109,40,217,.22);
}

.sehich-commerce input.input-text,
.sehich-commerce textarea,
.sehich-commerce select,
.sehich-commerce .select2-container .select2-selection--single {
    min-height: 50px;
    padding: 10px 14px;
    color: var(--shc-ink);
    border: 1px solid rgba(148,163,184,.34);
    border-radius: 13px;
    background: #fff;
    outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.sehich-commerce input.input-text:focus,
.sehich-commerce textarea:focus,
.sehich-commerce select:focus {
    border-color: var(--shc-primary-2);
    box-shadow: 0 0 0 4px rgba(139,92,246,.12);
}

/* Purchase steps */
.sehich-commerce-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
    padding: 10px;
    border: 1px solid var(--shc-border);
    border-radius: 20px;
    background: rgba(255,255,255,.86);
    box-shadow: var(--shc-shadow-soft);
}

.sehich-commerce-step {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    color: #98a2b3;
    border-radius: 14px;
}

.sehich-commerce-step.is-active {
    color: var(--shc-primary);
    background: #f5f3ff;
}

.sehich-commerce-step.is-done {
    color: #087443;
    background: #ecfdf3;
}

.sehich-commerce-step__number {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    font-weight: 900;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.sehich-commerce-step b,
.sehich-commerce-step small { display: block; }
.sehich-commerce-step b { color: currentColor; font-size: .88rem; }
.sehich-commerce-step small { margin-top: 2px; color: #98a2b3; font-size: .7rem; }

/* Cart */
.sehich-commerce .woocommerce-cart-form,
.sehich-commerce .cart_totals {
    overflow: hidden;
    padding: 18px;
    border: 1px solid var(--shc-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shc-shadow);
}

.sehich-commerce .woocommerce-cart-form table.shop_table,
.sehich-commerce .cart_totals table.shop_table {
    margin: 0;
    border: 0;
}

.sehich-commerce table.shop_table th {
    padding: 16px;
    color: #475467;
    font-size: .82rem;
    font-weight: 800;
    border-color: #eef2f6;
    background: #f8fafc;
}

.sehich-commerce table.shop_table td {
    padding: 18px 16px;
    border-color: #eef2f6;
}

.sehich-commerce .woocommerce-cart-form img {
    width: 76px;
    border-radius: 14px;
}

.sehich-commerce .product-name a { color: var(--shc-ink); font-weight: 800; }
.sehich-commerce .product-remove a.remove {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #e11d48 !important;
    border-radius: 50%;
    background: #fff1f2;
}

.sehich-commerce .coupon {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sehich-commerce .coupon #coupon_code { min-width: 170px; }
.sehich-commerce .cart-collaterals { margin-top: 28px; }
.sehich-commerce .cart_totals h2 { margin: 0 -18px 10px; padding: 18px 22px; font-size: 1.35rem; background: #f8fafc; }
.sehich-commerce .wc-proceed-to-checkout { padding: 14px 0 0; }
.sehich-commerce .wc-proceed-to-checkout a.checkout-button { margin: 0; font-size: 1rem; }

/* Checkout */
.sehich-commerce .woocommerce-form-coupon-toggle { margin-bottom: 22px; }
.sehich-commerce form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
    gap: 28px;
    align-items: start;
}

.sehich-commerce form.checkout #customer_details {
    grid-column: 1;
    padding: 26px;
    border: 1px solid var(--shc-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shc-shadow);
}

.sehich-commerce form.checkout #order_review_heading,
.sehich-commerce form.checkout #order_review {
    grid-column: 2;
}

.sehich-commerce form.checkout #order_review_heading {
    grid-row: 1;
    margin: 0 0 -86px;
    padding: 25px 24px 18px;
    font-size: 1.35rem;
    font-weight: 900;
    z-index: 2;
}

.sehich-commerce form.checkout #order_review {
    grid-row: 1 / span 2;
    position: sticky;
    top: 42px;
    padding: 76px 22px 22px;
    border: 1px solid var(--shc-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shc-shadow);
}

.sehich-commerce form.checkout .col-1,
.sehich-commerce form.checkout .col-2 { width: 100%; float: none; }
.sehich-commerce form.checkout .col-2 { display: none; }
.sehich-commerce .woocommerce-billing-fields h3 { margin: 0 0 22px; font-size: 1.35rem; }
.sehich-commerce .form-row label { margin-bottom: 8px; color: #475467; font-size: .83rem; font-weight: 800; }
.sehich-commerce .woocommerce-checkout-review-order-table { border: 0 !important; }
.sehich-commerce .woocommerce-checkout-review-order-table .product-name { max-width: 250px; }

.sehich-checkout-assurance {
    display: flex;
    gap: 11px;
    align-items: center;
    margin: 0 0 18px;
    padding: 13px;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    background: #ecfdf5;
}

.sehich-checkout-assurance__icon {
    display: grid;
    flex: 0 0 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    font-weight: 900;
    border-radius: 50%;
    background: var(--shc-green);
}

.sehich-checkout-assurance b,
.sehich-checkout-assurance small { display: block; }
.sehich-checkout-assurance b { font-size: .86rem; }
.sehich-checkout-assurance small { margin-top: 2px; color: #047857; font-size: .69rem; line-height: 1.7; }

.sehich-commerce #payment {
    border-radius: 18px;
    background: #f8fafc;
}

.sehich-commerce #payment ul.payment_methods {
    padding: 18px;
    border: 0;
}

.sehich-commerce #payment .payment_box {
    color: #475467;
    border-radius: 13px;
    background: #fff;
}

.sehich-commerce #payment .place-order { padding: 18px; }
.sehich-commerce #place_order { width: 100%; min-height: 54px; font-size: 1rem; }

/* Thank-you receipt and account order pages */
.sehich-commerce .woocommerce-thankyou-order-received {
    position: relative;
    margin: 0 0 22px;
    padding: 28px 82px 28px 28px;
    color: #065f46;
    font-size: 1.18rem;
    font-weight: 900;
    border: 1px solid #a7f3d0;
    border-radius: 22px;
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    box-shadow: var(--shc-shadow-soft);
}

.sehich-commerce .woocommerce-thankyou-order-received::before {
    content: '✓';
    position: absolute;
    inset: 50% 24px auto auto;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    font-size: 1.35rem;
    border-radius: 50%;
    background: var(--shc-green);
    transform: translateY(-50%);
    box-shadow: 0 10px 20px rgba(22,163,74,.22);
}

.sehich-commerce ul.order_details {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
}

.sehich-commerce ul.order_details li {
    min-width: 0;
    margin: 0;
    padding: 16px;
    color: var(--shc-muted);
    font-size: .72rem;
    border: 1px solid var(--shc-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shc-shadow-soft);
}

.sehich-commerce ul.order_details li strong {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 7px;
    color: var(--shc-ink);
    font-size: .88rem;
    line-height: 1.6;
}

.sehich-commerce .woocommerce-order-details,
.sehich-commerce .woocommerce-customer-details,
.sehich-commerce .woocommerce-MyAccount-content {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--shc-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shc-shadow);
}

.sehich-commerce .woocommerce-order-details__title,
.sehich-commerce .woocommerce-column__title {
    margin: -24px -24px 18px;
    padding: 19px 24px;
    font-size: 1.25rem;
    border-bottom: 1px solid #eef2f6;
    background: #f8fafc;
}

.sehich-commerce .woocommerce-customer-details address {
    padding: 0;
    line-height: 2;
    border: 0;
}

.sehich-commerce .woocommerce-MyAccount-navigation ul {
    overflow: hidden;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--shc-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shc-shadow-soft);
}

.sehich-commerce .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 12px 14px;
    color: #475467;
    font-weight: 700;
    border-radius: 12px;
}

.sehich-commerce .woocommerce-MyAccount-navigation li.is-active a {
    color: var(--shc-primary);
    background: #f5f3ff;
}

@media (max-width: 980px) {
    .sehich-shop-hero { grid-template-columns: 1fr; }
    .sehich-shop-hero__trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sehich-commerce.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sehich-commerce form.checkout { grid-template-columns: 1fr; }
    .sehich-commerce form.checkout #customer_details,
    .sehich-commerce form.checkout #order_review_heading,
    .sehich-commerce form.checkout #order_review { grid-column: 1; }
    .sehich-commerce form.checkout #order_review_heading { grid-row: 2; }
    .sehich-commerce form.checkout #order_review { grid-row: 2; position: static; }
    .sehich-commerce ul.order_details { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .sehich-commerce .site-content > .ast-container,
    .sehich-commerce .ast-container { width: min(100% - 24px, 1220px); }
    .sehich-commerce #primary { margin-top: 24px; margin-bottom: 42px; }
    .sehich-shop-hero { margin-bottom: 22px; padding: 26px 20px; border-radius: 24px; }
    .sehich-shop-hero h1 { font-size: 1.8rem; }
    .sehich-shop-hero p { font-size: .9rem; }
    .sehich-shop-hero__trust { grid-template-columns: 1fr; }
    .sehich-commerce.woocommerce ul.products { grid-template-columns: 1fr; gap: 16px; }
    .sehich-commerce.woocommerce ul.products li.product { border-radius: 22px; }
    .sehich-commerce-steps { gap: 5px; padding: 6px; }
    .sehich-commerce-step { justify-content: center; padding: 9px 5px; }
    .sehich-commerce-step__number { flex-basis: 29px; width: 29px; height: 29px; }
    .sehich-commerce-step small { display: none; }
    .sehich-commerce-step b { font-size: .69rem; }
    .sehich-commerce .woocommerce-cart-form,
    .sehich-commerce .cart_totals,
    .sehich-commerce form.checkout #customer_details,
    .sehich-commerce form.checkout #order_review { padding-left: 14px; padding-right: 14px; border-radius: 20px; }
    .sehich-commerce form.checkout #order_review_heading { padding-right: 17px; }
    .sehich-commerce .coupon { display: grid; grid-template-columns: 1fr auto; width: 100%; }
    .sehich-commerce .coupon #coupon_code { width: 100% !important; min-width: 0; }
    .sehich-commerce ul.order_details { grid-template-columns: 1fr 1fr; }
    .sehich-commerce ul.order_details li { padding: 13px; }
    .sehich-commerce .woocommerce-order-details,
    .sehich-commerce .woocommerce-customer-details,
    .sehich-commerce .woocommerce-MyAccount-content { padding: 17px; border-radius: 20px; }
    .sehich-commerce .woocommerce-order-details__title,
    .sehich-commerce .woocommerce-column__title { margin: -17px -17px 16px; padding: 16px 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .sehich-commerce *,
    .sehich-commerce *::before,
    .sehich-commerce *::after { scroll-behavior: auto !important; transition: none !important; }
}
/* Checkout column balance hotfix — 1.0.33 */
.sehich-commerce form.checkout #customer_details,
.sehich-commerce form.checkout #order_review_heading,
.sehich-commerce form.checkout #order_review {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Product detail experience — 1.5.2 */
body.single-product.sehich-commerce {
    background:
        radial-gradient(circle at 8% 18%, rgba(21, 170, 181, .10), transparent 25rem),
        radial-gradient(circle at 94% 12%, rgba(47, 91, 231, .09), transparent 27rem),
        #f4f8ff;
}

body.single-product.sehich-commerce .site-header {
    border-bottom: 1px solid rgba(202, 214, 232, .75);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 30px rgba(24, 47, 88, .045);
}

body.single-product.sehich-commerce .site-content > .ast-container {
    width: min(1240px, calc(100% - 44px));
}

body.single-product.sehich-commerce #primary {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    padding: 0 !important;
    margin-top: 34px;
}

body.single-product.sehich-commerce #secondary { display: none !important; }

body.single-product.sehich-commerce .woocommerce-breadcrumb {
    width: fit-content;
    margin: 0 0 22px;
    border: 1px solid var(--shc-border);
    border-radius: 999px;
    padding: 8px 13px;
    color: #78869b;
    background: rgba(255,255,255,.82);
    font-size: .78rem;
}

body.single-product.sehich-commerce .woocommerce-breadcrumb a {
    color: var(--shc-primary);
    font-weight: 750;
}

body.single-product.sehich-commerce .woocommerce div.product.type-product {
    position: relative;
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "summary gallery";
    grid-auto-flow: row;
    gap: 32px 42px;
    align-items: start;
    direction: ltr;
    clear: both;
}

body.single-product.sehich-commerce .woocommerce div.product.type-product > div.images,
body.single-product.sehich-commerce .woocommerce div.product.type-product > div.summary {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    box-sizing: border-box;
    direction: rtl;
}

body.single-product.sehich-commerce div.product.type-product > div.images {
    grid-area: gallery;
    overflow: hidden;
    border: 1px solid rgba(167, 184, 208, .38);
    border-radius: 28px;
    padding: 13px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 65px rgba(31, 56, 100, .12);
}

body.single-product.sehich-commerce .woocommerce-product-gallery__wrapper,
body.single-product.sehich-commerce .woocommerce-product-gallery__image {
    border-radius: 20px;
}

body.single-product.sehich-commerce .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    object-fit: cover;
    background: #eef3fa;
}

body.single-product.sehich-commerce .woocommerce-product-gallery__trigger {
    top: 27px;
    right: auto;
    left: 27px;
    border: 1px solid #dce5f2;
    box-shadow: 0 8px 22px rgba(31, 56, 100, .12);
}

body.single-product.sehich-commerce div.product.type-product > div.summary {
    position: relative !important;
    grid-area: summary;
    border: 1px solid rgba(167, 184, 208, .4);
    border-radius: 28px;
    padding: clamp(25px, 3.2vw, 40px);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 65px rgba(31, 56, 100, .10);
}

body.single-product.sehich-commerce div.product.type-product > div.summary::before {
    display: inline-flex;
    margin-bottom: 13px;
    border-radius: 999px;
    padding: 6px 11px;
    color: #2452d6;
    background: #edf3ff;
    content: 'محصول آموزشی سه هیچ';
    font-size: .72rem;
    font-weight: 850;
}

body.single-product.sehich-commerce .product_title {
    margin: 0 0 16px;
    color: var(--shc-ink);
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -.035em;
}

body.single-product.sehich-commerce div.product p.price,
body.single-product.sehich-commerce div.product span.price {
    display: inline-flex;
    margin: 0 0 17px;
    border-radius: 13px;
    padding: 8px 12px;
    color: #214fd0;
    background: #edf3ff;
    font-size: 1.22rem;
    font-weight: 900;
}

body.single-product.sehich-commerce .woocommerce-product-details__short-description {
    margin-bottom: 19px;
    color: #526078;
    font-size: .96rem;
    line-height: 2;
}

body.single-product.sehich-commerce .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }

.sehich-product-assurance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 19px 0 17px;
}

.sehich-product-assurance span {
    display: grid;
    min-height: 96px;
    align-content: center;
    justify-items: start;
    gap: 8px;
    border: 1px solid #e1e9f4;
    border-radius: 15px;
    padding: 12px;
    background: #f8faff;
}

.sehich-product-assurance b {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    background: var(--shc-primary);
    font-size: .8rem;
}

.sehich-product-assurance span:nth-child(2) b { background: #119aa3; }
.sehich-product-assurance span:nth-child(3) b { color: #3e3100; background: #f5bf18; }
.sehich-product-assurance small { color: #56647b; font-size: .69rem; font-weight: 750; line-height: 1.65; }

body.single-product.sehich-commerce div.product .stock.out-of-stock {
    display: inline-flex;
    margin: 5px 0 0;
    border: 1px solid #f0d386;
    border-radius: 13px;
    padding: 10px 14px;
    color: #825d00;
    background: #fff9e8;
    font-size: .84rem;
    font-weight: 850;
}

body.single-product.sehich-commerce div.product .product_meta { display: none; }

body.single-product.sehich-commerce div.product.type-product > .woocommerce-tabs,
body.single-product.sehich-commerce div.product.type-product > .related,
body.single-product.sehich-commerce div.product.type-product > .upsells {
    grid-column: 1 / -1;
    width: 100%;
    direction: rtl;
}

body.single-product.sehich-commerce .woocommerce-tabs {
    margin-top: 10px;
    border: 1px solid var(--shc-border);
    border-radius: 25px;
    padding: 22px;
    background: #fff;
    box-shadow: var(--shc-shadow-soft);
}

body.single-product.sehich-commerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 7px;
    margin: 0 0 21px;
    border: 0;
    padding: 5px;
    border-radius: 14px;
    background: #f3f6fb;
}

body.single-product.sehich-commerce div.product .woocommerce-tabs ul.tabs::before { display: none; }

body.single-product.sehich-commerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    border: 0;
    border-radius: 10px;
    padding: 0;
    background: transparent;
}

body.single-product.sehich-commerce div.product .woocommerce-tabs ul.tabs li::before,
body.single-product.sehich-commerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }

body.single-product.sehich-commerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 10px 15px;
    color: #65738a;
    font-size: .8rem;
    font-weight: 800;
}

body.single-product.sehich-commerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; box-shadow: 0 8px 19px rgba(31, 56, 100, .09); }
body.single-product.sehich-commerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--shc-primary); }
body.single-product.sehich-commerce .woocommerce-Tabs-panel { color: #526078; line-height: 2; }
body.single-product.sehich-commerce .related.products > h2,
body.single-product.sehich-commerce .upsells.products > h2 { margin-bottom: 22px; font-size: clamp(1.55rem, 2.5vw, 2.2rem); font-weight: 900; }

@media (max-width: 900px) {
    body.single-product.sehich-commerce .woocommerce div.product.type-product {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "gallery" "summary";
        gap: 22px;
    }
    body.single-product.sehich-commerce div.product.type-product > div.summary { position: static; }
}

@media (max-width: 560px) {
    body.single-product.sehich-commerce .site-content > .ast-container { width: min(100% - 22px, 1240px); }
    body.single-product.sehich-commerce #primary { margin-top: 20px; }
    body.single-product.sehich-commerce div.product.type-product > div.images { border-radius: 21px; padding: 8px; }
    body.single-product.sehich-commerce .woocommerce-product-gallery__image img { border-radius: 16px; }
    body.single-product.sehich-commerce div.product.type-product > div.summary { border-radius: 21px; padding: 22px 18px; }
    body.single-product.sehich-commerce .product_title { font-size: 1.85rem; }
    .sehich-product-assurance { grid-template-columns: 1fr; }
    .sehich-product-assurance span { min-height: 62px; grid-template-columns: 28px 1fr; align-items: center; justify-items: stretch; }
    body.single-product.sehich-commerce .woocommerce-tabs { border-radius: 20px; padding: 16px; }
}
