/* ============================================================
   AHURA SINGLE PRODUCT
   APPLE-INSPIRED LIQUID GLASS / RTL / WOOCOMMERCE
   VERSION 3.0 — PURPLE EDITION
   ------------------------------------------------------------
   IMPORTANT:
   این فایل باید جایگزین کل CSS قبلی شود.
   به انتهای CSS قبلی اضافه نکنید.
   ============================================================ */


/* ============================================================
   01 — DESIGN TOKENS
   ============================================================ */

.ahura-single-product-wrap {

    --ahura-primary: #8A1BE3;
    --ahura-primary-rgb: 138, 27, 227;

    --ahura-blue-soft: #f4edff;
    --ahura-blue-soft-2: #f8f2ff;
    --ahura-blue-line: rgba(138, 27, 227, .10);

    --ahura-text: #101828;
    --ahura-text-rgb: 16, 24, 40;

    --ahura-muted: #667085;
    --ahura-muted-rgb: 102, 112, 133;

    --ahura-border: #e7ebf2;
    --ahura-border-soft: rgba(16, 24, 40, .07);

    --ahura-surface: #ffffff;
    --ahura-surface-soft: #f8fafc;

    --ahura-glass: rgba(255, 255, 255, .72);
    --ahura-glass-strong: rgba(255, 255, 255, .88);

    --ahura-radius-xs: 10px;
    --ahura-radius-sm: 14px;
    --ahura-radius-md: 18px;
    --ahura-radius-lg: 24px;
    --ahura-radius-xl: 30px;

    --ahura-shadow-xs:
        0 1px 2px rgba(16, 24, 40, .03);

    --ahura-shadow-sm:
        0 6px 20px rgba(16, 24, 40, .05);

    --ahura-shadow-md:
        0 14px 40px rgba(16, 24, 40, .07);

    --ahura-shadow-blue:
        0 16px 40px rgba(138, 27, 227, .12);

    --ahura-ease:
        cubic-bezier(.22, 1, .36, 1);

    --ahura-font:
        inherit;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    direction: rtl;
    color: var(--ahura-text);
    font-family: var(--ahura-font);

    background: #fff;

    overflow: clip;
}


/* ============================================================
   02 — RESET
   ============================================================ */

.ahura-single-product-wrap *,
.ahura-single-product-wrap *::before,
.ahura-single-product-wrap *::after {
    box-sizing: border-box;
}

.ahura-single-product-wrap img,
.ahura-single-product-wrap video,
.ahura-single-product-wrap iframe,
.ahura-single-product-wrap embed,
.ahura-single-product-wrap object {
    max-width: 100%;
}

.ahura-single-product-wrap img {
    height: auto;
}

.ahura-single-product-wrap button,
.ahura-single-product-wrap input,
.ahura-single-product-wrap select,
.ahura-single-product-wrap textarea {
    font-family: inherit;
}

.ahura-single-product-wrap button {
    -webkit-tap-highlight-color: transparent;
}

html.ahura-sp-lock {
    overflow: hidden !important;
}


/* ============================================================
   03 — ROOT LAYOUT
   ============================================================ */

.ahura-sp-shell {
    width: min(1240px, 100%);
    margin-inline: auto;

    display: flex;
    flex-direction: column;

    gap: 52px;
}

.ahura-sp-hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(0, .98fr);

    gap: clamp(34px, 4vw, 72px);

    align-items: start;
}


/* ============================================================
   04 — BREADCRUMB
   ============================================================ */

.ahura-sp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 18px;

    color:
        rgba(var(--ahura-text-rgb), .46);

    font-size: 11px;
    font-weight: 500;

    line-height: 1.7;
}

.ahura-sp-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color:
        rgba(var(--ahura-text-rgb), .58);

    text-decoration: none;

    transition:
        color .2s ease;
}

.ahura-sp-breadcrumb a:hover {
    color: var(--ahura-primary);
}

.ahura-sp-breadcrumb svg,
.ahura-sp-crumb-sep svg {
    width: 13px;
    height: 13px;

    flex: 0 0 auto;
}

.ahura-sp-crumb-sep {
    display: inline-flex;
    opacity: .45;
}

.ahura-sp-current {
    color: var(--ahura-primary);
    font-weight: 700;
}


/* ============================================================
   05 — GALLERY
   ============================================================ */

.ahura-sp-gallery-col {
    min-width: 0;
    order: 2;
}

.ahura-sp-main-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #fbfdff 0%,
            #f4edff 100%
        );

    border:
        1px solid
        rgba(var(--ahura-primary-rgb), .075);

    border-radius:
        clamp(22px, 3vw, 32px);

    box-shadow:
        0 20px 55px rgba(16, 24, 40, .055),
        inset 0 1px 0 rgba(255,255,255,.9);

    isolation: isolate;

    touch-action: pan-y;
}

.ahura-sp-main-image::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 82% 14%,
            rgba(138,27,227,.10),
            transparent 30%
        );

    z-index: 0;
}

.ahura-sp-slide {
    position: relative;

    display: none;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;

    cursor: zoom-in;

    z-index: 1;
}

.ahura-sp-slide.is-active {
    display: block;
}

.ahura-sp-slide img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;

    padding: clamp(18px, 4vw, 44px);

    transition:
        transform .55s var(--ahura-ease);
}

.ahura-sp-main-image:hover
.ahura-sp-slide.is-active img {
    transform: scale(1.018);
}


/* zoom */

.ahura-sp-zoom {
    position: absolute;

    top: 16px;
    inset-inline-end: 16px;

    z-index: 5;

    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.75);

    border-radius: 14px;

    background:
        rgba(255,255,255,.82);

    color: var(--ahura-text);

    box-shadow:
        0 8px 24px rgba(16,24,40,.08),
        inset 0 1px 0 rgba(255,255,255,.95);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    cursor: pointer;

    transition:
        transform .25s var(--ahura-ease),
        background .2s ease;
}

.ahura-sp-zoom:hover {
    transform: scale(1.06);
    background: #fff;
}

.ahura-sp-zoom svg {
    width: 18px;
    height: 18px;
}


/* image counter */

.ahura-sp-image-count {
    position: absolute;

    bottom: 16px;
    inset-inline-start: 16px;

    z-index: 5;

    padding: 7px 11px;

    border-radius: 999px;

    background:
        rgba(16,24,40,.68);

    color: #fff;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    direction: ltr;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* thumbnails */

.ahura-sp-thumbs {
    display: flex;

    gap: 10px;

    margin-top: 12px;

    padding:
        2px 2px
        7px;

    overflow-x: auto;

    scrollbar-width: none;

    overscroll-behavior-x: contain;

    -webkit-overflow-scrolling: touch;
}

.ahura-sp-thumbs::-webkit-scrollbar {
    display: none;
}

.ahura-sp-thumb {
    flex: 0 0 auto;

    width: 68px;
    height: 68px;

    padding: 5px;

    border:
        1.5px solid
        transparent;

    border-radius: 16px;

    background: #f7f9fc;

    cursor: pointer;

    transition:
        border-color .25s ease,
        transform .25s var(--ahura-ease),
        box-shadow .25s ease,
        background .25s ease;
}

.ahura-sp-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.ahura-sp-thumb:hover {
    transform: translateY(-2px);
    background: #fff;

    box-shadow:
        0 8px 20px rgba(16,24,40,.07);
}

.ahura-sp-thumb.is-active {
    border-color: var(--ahura-primary);

    background: #fff;

    box-shadow:
        0 0 0 3px
        rgba(var(--ahura-primary-rgb), .08),
        0 8px 22px
        rgba(var(--ahura-primary-rgb), .10);
}


/* ============================================================
   06 — PRODUCT INFORMATION
   ============================================================ */

.ahura-sp-info {
    min-width: 0;
    order: 1;

    display: flex;
    flex-direction: column;
}


/* badge */

.ahura-sp-badge {
    display: inline-flex;
    align-items: center;

    align-self: flex-start;

    min-height: 28px;

    padding: 5px 11px;

    margin-bottom: 12px;

    border:
        1px solid
        rgba(var(--ahura-primary-rgb), .10);

    border-radius: 999px;

    background:
        rgba(var(--ahura-primary-rgb), .065);

    color: var(--ahura-primary);

    font-size: 10px;
    font-weight: 800;

    line-height: 1;
}


/* brand */

.ahura-sp-brand {
    margin-bottom: 8px;

    color:
        rgba(var(--ahura-text-rgb), .48);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .01em;
}


/* ============================================================
   PRODUCT TITLE
   ============================================================ */

.ahura-sp-info h1 {
    position: relative;

    margin: 0 0 13px;

    max-width: 760px;

    color: var(--ahura-text);

    font-size:
        clamp(25px, 2.7vw, 39px);

font-weight: bold !important;

    line-height: 1.28;

    letter-spacing: -.035em;

    text-wrap: balance;

    overflow-wrap: anywhere;
}

.ahura-sp-info h1::after {
    content: "";

    display: block;

    width: 34px;
    height: 4px;

    margin-top: 13px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--ahura-primary),
            rgba(var(--ahura-primary-rgb), .22)
        );
}


/* ============================================================
   RATING
   ============================================================ */

.ahura-sp-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 17px;

    color:
        rgba(var(--ahura-text-rgb), .50);

    font-size: 11px;
}

.ahura-sp-rating .stars {
    display: inline-flex;
    align-items: center;

    gap: 2px;

    color: #f59e0b;
}

.ahura-sp-rating .stars svg {
    width: 15px;
    height: 15px;

    fill: currentColor;
}

.ahura-sp-rating strong {
    color: var(--ahura-text);

    font-size: 12px;
    font-weight: 800;
}


/* ============================================================
   EXCERPT
   ============================================================ */

.ahura-sp-excerpt {
    margin-bottom: 20px;

    max-width: 680px;

    color:
        rgba(var(--ahura-text-rgb), .67);

    font-size: 13px;

    line-height: 2.05;
}

.ahura-sp-excerpt p {
    margin: 0 0 9px;
}

.ahura-sp-excerpt p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   STOCK
   ============================================================ */

.ahura-sp-stock-info {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    width: fit-content;
    max-width: 100%;

    margin: 0 0 16px;

    padding: 8px 12px;

    border:
        1px solid
        rgba(var(--ahura-primary-rgb), .09);

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.92),
            rgba(244,237,255,.72)
        );

    color:
        rgba(var(--ahura-text-rgb), .68);

    font-size: 11px;
    font-weight: 600;

    box-shadow:
        0 6px 18px
        rgba(16,24,40,.035);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ahura-sp-stock-info svg {
    width: 17px;
    height: 17px;

    flex: 0 0 auto;

    color: var(--ahura-primary);
}

.ahura-sp-stock-info .stock-badge {
    color: #149447;
    font-weight: 800;
}

.ahura-sp-stock-info .stock-warning {
    color: var(--ahura-primary) !important;
    font-weight: 800;
}


/* ============================================================
   PRICE CARD
   ============================================================ */

.ahura-sp-price {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    width: 100%;

    margin: 0 0 17px;

    padding:
        17px 19px;

    overflow: hidden;

    border:
        1px solid
        rgba(var(--ahura-primary-rgb), .10);

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #f9fbff 0%,
            #f4edff 100%
        );

    color: var(--ahura-primary);

    text-align: right;

    box-shadow:
        0 12px 32px
        rgba(var(--ahura-primary-rgb), .065),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.ahura-sp-price::before {
    content: "";

    position: absolute;

    width: 110px;
    height: 110px;

    top: -65px;
    inset-inline-end: -45px;

    border-radius: 50%;

    background:
        rgba(var(--ahura-primary-rgb), .10);

    filter: blur(4px);

    pointer-events: none;
}

.ahura-sp-price::after {
    content: "";

    position: absolute;

    inset-inline-end: 16px;
    bottom: 9px;

    width: 44px;
    height: 2px;

    border-radius: 999px;

    background:
        rgba(var(--ahura-primary-rgb), .20);

    pointer-events: none;
}


/* Woo price direction */

.ahura-sp-price,
.ahura-sp-price .price,
.ahura-sp-price .woocommerce-Price-amount,
.ahura-sp-price ins,
.ahura-sp-price del {
    direction: rtl !important;
    unicode-bidi: isolate;
}


/*
   IMPORTANT:
   WooCommerce currency symbol در سایت فارسی
   باید قبل از عدد قرار بگیرد.
*/

.ahura-sp-price .woocommerce-Price-currencySymbol {
    display: inline-block;
float: left;
    margin-inline-end: 6px;
    margin-inline-start: 0;

    font-size: .47em;

    font-weight: 800;

    vertical-align: middle;
}

.ahura-sp-price .price,
.ahura-sp-price .woocommerce-Price-amount {
    color: var(--ahura-primary);

    font-size:
        clamp(26px, 3vw, 38px);

    font-weight: 900;

    line-height: 1;

    letter-spacing: -.025em;
}

.ahura-sp-price ins {
    text-decoration: none;
}

.ahura-sp-price del {
    display: block;

    margin-top: 7px;

    color:
        rgba(var(--ahura-text-rgb), .42);

    font-size: 12px;

    font-weight: 600;
}

.ahura-sp-price del .woocommerce-Price-amount {
    color: inherit;

    font-size: inherit;
}


/* ============================================================
   VARIATIONS
   ============================================================ */

.ahura-sp-variations {
    display: flex;
    flex-direction: column;

    gap: 13px;

    margin-bottom: 16px;

    padding: 15px;

    border:
        1px solid
        rgba(var(--ahura-text-rgb), .065);

    border-radius: 20px;

    background: #fbfcfe;

    box-shadow:
        var(--ahura-shadow-xs);
}

.ahura-sp-variations label {
    display: block;
}

.ahura-sp-variations label span {
    display: block;

    margin-bottom: 7px;

    color:
        rgba(var(--ahura-text-rgb), .70);

    font-size: 11px;
    font-weight: 800;
}

.ahura-sp-variation-select {
    width: 100%;

    min-height: 46px;

    padding:
        9px 12px;

    border:
        1px solid
        var(--ahura-border);

    border-radius: 13px;

    background: #fff;

    color: var(--ahura-text);

    font-size: 13px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.ahura-sp-variation-select:focus {
    border-color:
        rgba(var(--ahura-primary-rgb), .42);

    box-shadow:
        0 0 0 4px
        rgba(var(--ahura-primary-rgb), .08);
}


/* ============================================================
   PURCHASE AREA
   ============================================================ */

.ahura-sp-purchase form.cart {
    display: block;

    margin: 0;
    padding: 0;
}

.ahura-sp-buy-row {
    display: flex;
    align-items: stretch;

    gap: 10px;

    width: 100%;
}


/* quantity wrapper */

.ahura-sp-qty-wrap {
    display: flex;
    align-items: center;

    gap: 8px;

    flex: 0 0 auto;

    min-height: 54px;

    padding:
        5px 6px;

    border:
        1px solid
        rgba(var(--ahura-text-rgb), .075);

    border-radius: 17px;

    background:
        rgba(248,250,252,.90);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9);
}

.ahura-sp-qty-label {
    padding-inline-start: 7px;

    color:
        rgba(var(--ahura-text-rgb), .60);

    font-size: 10px;
    font-weight: 800;

    white-space: nowrap;
}


/* quantity */

.ahura-sp-qty {
    display: inline-flex;
    align-items: center;
    margin: 0 auto;
    gap: 1px;

    padding: 2px;

    border-radius: 13px;

    background: #fff;
}

.ahura-sp-qty button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    padding: 0;

    border: 0;

    border-radius: 11px;

    background: transparent;

    color: var(--ahura-text);

    font-size: 20px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s var(--ahura-ease);
}

.ahura-sp-qty button:hover {
    background:
        rgba(var(--ahura-primary-rgb), .08);

    color: var(--ahura-primary);

    transform: scale(1.04);
}

.ahura-sp-qty input {
    width: 44px;
    height: 38px;

    padding: 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--ahura-text);

    text-align: center;

    font-size: 14px;
    font-weight: 800;

    -moz-appearance: textfield;
    appearance: textfield;
}

.ahura-sp-qty input::-webkit-outer-spin-button,
.ahura-sp-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* ============================================================
   ADD TO CART
   ============================================================ */

.ahura-single-product-wrap
form.cart
.single_add_to_cart_button.ahura-sp-add {

    position: relative;

    flex: 1 1 auto;

    min-width: 0;
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin: 0;
    padding:
        13px 22px;

    border: 0;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #8A1BE3 0%,
            #A84BEB 55%,
            #6E10B8 100%
        );

    color: #fff;

    font-size: 14px;
    font-weight: 800;

    line-height: 1.4;

    cursor: pointer;

    overflow: hidden;

    box-shadow:
        0 12px 28px
        rgba(var(--ahura-primary-rgb), .23),
        inset 0 1px 0
        rgba(255,255,255,.24);

    transition:
        transform .25s var(--ahura-ease),
        box-shadow .25s ease,
        filter .25s ease;
}

.ahura-single-product-wrap
form.cart
.single_add_to_cart_button.ahura-sp-add::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            110deg,
            transparent 15%,
            rgba(255,255,255,.22) 48%,
            transparent 80%
        );

    transform:
        translateX(-120%);

    transition:
        transform .7s var(--ahura-ease);

    pointer-events: none;
}

.ahura-single-product-wrap
form.cart
.single_add_to_cart_button.ahura-sp-add:hover::before {

    transform:
        translateX(120%);
}

.ahura-single-product-wrap
form.cart
.single_add_to_cart_button.ahura-sp-add:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 17px 36px
        rgba(var(--ahura-primary-rgb), .28);
}

.ahura-single-product-wrap
form.cart
.single_add_to_cart_button.ahura-sp-add:active {

    transform:
        translateY(0)
        scale(.985);
}

.ahura-sp-add svg {
    width: 18px;
    height: 18px;

    flex: 0 0 auto;
}

.ahura-sp-add.is-loading,
.ahura-sp-cart.is-unavailable
.ahura-sp-add {

    opacity: .58;

    pointer-events: none;
}

.ahura-sp-spinner {
    display: inline-block;

    width: 17px;
    height: 17px;

    border:
        2px solid
        rgba(255,255,255,.35);

    border-top-color: #fff;

    border-radius: 50%;

    animation:
        ahura-sp-spin .75s linear infinite;
}

@keyframes ahura-sp-spin {
    to {
        transform: rotate(360deg);
    }
}


/* unavailable */

.ahura-sp-out {
    padding: 13px 15px;

    border:
        1px solid
        rgba(var(--ahura-primary-rgb), .08);

    border-radius: 15px;

    background:
        var(--ahura-blue-soft);

    color:
        var(--ahura-primary);

    font-size: 12px;
    font-weight: 700;

    line-height: 1.8;
}


/* ============================================================
   SKU / META
   ============================================================ */

.ahura-sp-meta {
    display: flex;
    flex-direction: column;

    gap: 9px;

    width: 100%;

    margin-top: 12px;
}

.ahura-sp-sku-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    width: 100%;

    min-height: 56px;

    padding:
        10px 14px;

    border:
        1px solid
        rgba(var(--ahura-text-rgb), .065);

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.96),
            rgba(247,250,255,.94)
        );

    box-shadow:
        var(--ahura-shadow-xs);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.ahura-sp-sku-main {
    display: flex;
    align-items: center;

    justify-content: space-between;

    gap: 12px;

    width: 100%;
}

.ahura-sp-sku-main .sku-label {
    color:
        rgba(var(--ahura-text-rgb), .48);

    font-size: 10px;
    font-weight: 700;
}

.ahura-sp-sku-main .sku-value {
    direction: ltr !important;
    unicode-bidi: isolate;

    color: var(--ahura-text);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .25px;

    overflow-wrap: anywhere;
}

.ahura-sp-sku-qr,
.ahura-sp-sku-barcode,
.ahura-sp-sku-code,
.ahura-sp-code-modal,
.ahura-sp-sku-code-btn {
    display: none !important;
}


/* ============================================================
   TRUST / BENEFITS
   ============================================================ */

.ahura-sp-trust {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px;

    margin-top: 14px;
}

.ahura-sp-trust-item {
    display: flex;
    align-items: center;

    gap: 9px;

    min-width: 0;

    padding: 11px;

    border:
        1px solid
        rgba(var(--ahura-primary-rgb), .075);

    border-radius: 18px;

    background:
        rgba(255,255,255,.75);

    box-shadow:
        0 8px 22px rgba(16,24,40,.035),
        inset 0 1px 0 rgba(255,255,255,.95);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    transition:
        transform .25s var(--ahura-ease),
        box-shadow .25s ease;
}

.ahura-sp-trust-item:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 13px 28px rgba(16,24,40,.055);
}

.ahura-sp-trust-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 auto;

    border-radius: 12px;

    background:
        rgba(var(--ahura-primary-rgb), .08);

    color: var(--ahura-primary);
}

.ahura-sp-trust-item svg {
    width: 18px;
    height: 18px;
}

.ahura-sp-trust-item strong {
    display: block;

    color: var(--ahura-text);

    font-size: 10px;
    font-weight: 800;

    line-height: 1.5;
}

.ahura-sp-trust-item small {
    display: block;

    margin-top: 2px;

    color:
        rgba(var(--ahura-text-rgb), .45);

    font-size: 9px;

    line-height: 1.5;
}


/* ============================================================
   07 — TABS
   ============================================================ */

.ahura-sp-tabs {
    width: 100%;
    min-width: 0;
}

.ahura-sp-tabs-nav {
    position: relative;

    display: flex;
    align-items: center;

    gap: 4px;

    width: 100%;

    margin-bottom: 18px;
    padding: 5px;

    overflow-x: auto;

    border:
        1px solid
        rgba(var(--ahura-primary-rgb), .075);

    border-radius: 18px;

    background:
        rgba(247,250,255,.82);

    box-shadow:
        0 6px 22px rgba(16,24,40,.035),
        inset 0 1px 0 rgba(255,255,255,.95);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
}

.ahura-sp-tabs-nav::-webkit-scrollbar {
    display: none;
}

.ahura-sp-tab-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    flex: 1 1 0;

    min-width: max-content;

    min-height: 42px;

    padding:
        8px 14px;

    border: 0;

    border-radius: 13px;

    background: transparent;

    color:
        rgba(var(--ahura-text-rgb), .52);

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;

    transition:
        color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.ahura-sp-tab-btn:hover {
    color: var(--ahura-primary);

    background:
        rgba(var(--ahura-primary-rgb), .045);
}

.ahura-sp-tab-btn.is-active {
    color: var(--ahura-primary);

    background:
        rgba(255,255,255,.95);

    box-shadow:
        0 5px 15px rgba(16,24,40,.055),
        inset 0 1px 0 rgba(255,255,255,.95);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.ahura-sp-tab-btn svg {
    width: 16px;
    height: 16px;

    flex: 0 0 auto;
}

.ahura-sp-tab-btn em {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    padding: 0 6px;

    border-radius: 999px;

    background:
        rgba(var(--ahura-primary-rgb), .08);

    color: var(--ahura-primary);

    font-style: normal;

    font-size: 9px;
    font-weight: 800;
}

.ahura-sp-tab-panel {
    display: none;

    min-width: 0;

    animation:
        ahura-sp-panel-in .35s var(--ahura-ease);
}

.ahura-sp-tab-panel.is-active {
    display: block;
}

@keyframes ahura-sp-panel-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================================
   08 — SECTION HEADINGS
   ============================================================ */

.ahura-sp-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 14px;
}

.ahura-sp-section-heading span {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--ahura-text);

    font-size: 17px;
    font-weight: 900;

    letter-spacing: -.02em;
}

.ahura-sp-section-heading span::before {
    content: "";

    width: 4px;
    height: 20px;

    border-radius: 99px;

    background:
        var(--ahura-primary);
}

.ahura-sp-section-heading small {
    color:
        rgba(var(--ahura-text-rgb), .45);

    font-size: 10px;
}


/* ============================================================
   09 — ATTRIBUTES
   ============================================================ */

.ahura-sp-attribute-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px;
}

.ahura-sp-attribute {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    min-width: 0;

    padding:
        13px 14px;

    border:
        1px solid
        rgba(var(--ahura-text-rgb), .06);

    border-radius: 17px;

    background:
        #fbfcfe;

    color: var(--ahura-text);

    font-size: 11px;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.ahura-sp-attribute:hover {
    border-color:
        rgba(var(--ahura-primary-rgb), .11);

    background:
        #f4edff;
}

.ahura-sp-attribute span {
    color:
        rgba(var(--ahura-text-rgb), .50);

    min-width: 0;
}

.ahura-sp-attribute strong {
    max-width: 60%;

    color: var(--ahura-text);

    text-align: left;

    overflow-wrap: anywhere;
}


/* ============================================================
   10 — DESCRIPTION
   ============================================================ */

.ahura-sp-description-content {
    padding:
        clamp(18px, 3vw, 28px);

    border:
        1px solid
        rgba(var(--ahura-text-rgb), .065);

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 8px 30px rgba(16,24,40,.035);

    color:
        rgba(var(--ahura-text-rgb), .78);

    font-size: 13px;

    line-height: 2.15;

    overflow: hidden;
}

.ahura-sp-description-content > * {
    max-width: 100%;
}

.ahura-sp-description-content h2,
.ahura-sp-description-content h3,
.ahura-sp-description-content h4 {
    margin:
        0 0 12px;

    color: var(--ahura-text);

    font-weight: 900;
}

.ahura-sp-description-content p {
    margin:
        0 0 12px;
}

.ahura-sp-description-content p:last-child {
    margin-bottom: 0;
}

.ahura-sp-description-content ul,
.ahura-sp-description-content ol {
    margin:
        0 0 14px;

    padding-inline-start: 20px;
}

.ahura-sp-description-content img {
    max-width: 100%;

    height: auto;

    border-radius: 16px;
}

.ahura-sp-description-content table {
    width: 100%;

    max-width: 100%;

    overflow-x: auto;

    border-collapse: collapse;
}

.ahura-sp-description-content iframe {
    width: 100% !important;

    max-width: 100% !important;

    min-height: 220px;

    border: 0 !important;

    border-radius: 16px;
}


/* ============================================================
   11 — REVIEWS
   ============================================================ */

.ahura-sp-reviews {
    min-width: 0;
}

.ahura-sp-reviews .commentlist {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.ahura-sp-reviews .commentlist > li {
    margin: 0;

    padding: 16px;

    border:
        1px solid
        rgba(var(--ahura-text-rgb), .06);

    border-radius: 20px;

    background:
        #fbfcfe;

    box-shadow:
        0 4px 16px rgba(16,24,40,.025);
}

.ahura-sp-reviews .comment_container {
    display: flex;

    align-items: flex-start;

    gap: 12px;
}

.ahura-sp-reviews .comment_container > img {
    width: 44px;
    height: 44px;

    flex: 0 0 auto;

    border-radius: 14px;

    object-fit: cover;
}

.ahura-sp-reviews .comment-text {
    flex: 1;

    min-width: 0;

    color:
        rgba(var(--ahura-text-rgb), .72);

    font-size: 12px;

    line-height: 1.95;
}

.ahura-sp-reviews .star-rating {
    color: #f59e0b;

    margin-bottom: 4px;
}

.ahura-sp-reviews .comment-text p.meta {
    margin: 0 0 7px;

    color:
        rgba(var(--ahura-text-rgb), .45);

    font-size: 10px;
}

.ahura-sp-reviews .comment-text p.meta strong {
    color: var(--ahura-text);

    font-size: 12px;
    font-weight: 800;
}


/* review form */

.ahura-sp-reviews .comment-form {
    margin-top: 18px;

    padding:
        18px;

    border:
        1px solid
        rgba(var(--ahura-primary-rgb), .08);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #f9fbff,
            #fff
        );
}

.ahura-sp-reviews .comment-form p {
    margin-bottom: 12px;
}

.ahura-sp-reviews .comment-form label {
    display: block;

    margin-bottom: 6px;

    color:
        rgba(var(--ahura-text-rgb), .70);

    font-size: 10px;
    font-weight: 800;
}

.ahura-sp-reviews .comment-form input,
.ahura-sp-reviews .comment-form textarea,
.ahura-sp-reviews .comment-form select {

    width: 100%;

    padding:
        11px 13px;

    border:
        1px solid
        var(--ahura-border);

    border-radius: 13px;

    background: #fff;

    color: var(--ahura-text);

    font-size: 13px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.ahura-sp-reviews .comment-form textarea {
    min-height: 120px;

    resize: vertical;
}

.ahura-sp-reviews .comment-form input:focus,
.ahura-sp-reviews .comment-form textarea:focus,
.ahura-sp-reviews .comment-form select:focus {

    border-color:
        rgba(var(--ahura-primary-rgb), .42);

    box-shadow:
        0 0 0 4px
        rgba(var(--ahura-primary-rgb), .07);
}

.ahura-sp-reviews .comment-form .submit {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding:
        10px 20px;

    border: 0;

    border-radius: 13px;

    background:
        var(--ahura-primary);

    color: #fff;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 20px
        rgba(var(--ahura-primary-rgb), .18);

    transition:
        transform .2s var(--ahura-ease),
        box-shadow .2s ease;
}

.ahura-sp-reviews .comment-form .submit:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(var(--ahura-primary-rgb), .24);
}


/* ============================================================
   12 — RELATED PRODUCTS
   ============================================================ */

.ahura-sp-related {
    min-width: 0;
}

.ahura-sp-related-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 16px;
}

.ahura-sp-related-head .title-group {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.ahura-sp-related-head span {
    color:
        rgba(var(--ahura-text-rgb), .43);

    font-size: 10px;
    font-weight: 600;
}

.ahura-sp-related-head h2 {
    display: flex;
    align-items: center;

    gap: 8px;

    margin: 0;

    color: var(--ahura-text);

    font-size: 21px;
    font-weight: 900;

    letter-spacing: -.025em;
}

.ahura-sp-related-head h2::before {
    content: "";

    width: 5px;
    height: 23px;

    border-radius: 99px;

    background:
        var(--ahura-primary);
}

.ahura-sp-related-head .view-all {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    min-height: 34px;

    padding:
        7px 12px;

    border:
        1px solid
        rgba(var(--ahura-primary-rgb), .10);

    border-radius: 999px;

    background:
        rgba(var(--ahura-primary-rgb), .055);

    color: var(--ahura-primary);

    font-size: 10px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s var(--ahura-ease);
}

.ahura-sp-related-head .view-all:hover {
    background:
        rgba(var(--ahura-primary-rgb), .10);

    transform:
        translateX(-3px);
}

.ahura-sp-related-head .view-all svg {
    width: 14px;
    height: 14px;
}


/* slider */

.ahura-sp-related-slider,
.ahura-sp-related-grid-wrapper {
    position: relative;

    width: 100%;

    min-width: 0;

    overflow: hidden;
}

.ahura-sp-related-grid {

    display: flex !important;

    flex-wrap: nowrap !important;

    gap: 14px !important;

    width: 100%;

    padding:
        3px 2px
        14px;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

    overscroll-behavior-inline: contain;
}

.ahura-sp-related-grid::-webkit-scrollbar {
    display: none;
}


/* card */

.ahura-sp-related-grid
.ahura-sp-related-card {

    position: relative;

    display: flex;
    flex-direction: column;

    flex: 0 0 218px !important;

    width: 218px !important;
    min-width: 218px !important;

    min-height: 100%;

    padding: 11px !important;

    border:
        1px solid
        rgba(var(--ahura-text-rgb), .065);

    border-radius: 22px !important;

    background:
        #fff;

    color: inherit;

    text-decoration: none;

    scroll-snap-align: start;

    box-shadow:
        0 6px 22px rgba(16,24,40,.045),
        inset 0 1px 0 rgba(255,255,255,.95);

    transition:
        transform .3s var(--ahura-ease),
        box-shadow .3s ease,
        border-color .3s ease;
}

.ahura-sp-related-grid
.ahura-sp-related-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(var(--ahura-primary-rgb), .12);

    box-shadow:
        0 18px 38px rgba(16,24,40,.085),
        0 5px 20px rgba(var(--ahura-primary-rgb), .045);
}


/* product image */

.ahura-sp-related-image {

    position: relative;

    width: 100% !important;

    aspect-ratio: 1 / 1 !important;

    margin-bottom: 11px;

    overflow: hidden;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #fafcff,
            #f3edfd
        );
}

.ahura-sp-related-image img {

    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;

    padding: 10px;

    transition:
        transform .45s var(--ahura-ease);
}

.ahura-sp-related-card:hover
.ahura-sp-related-image img {

    transform:
        scale(1.045);
}


/* info */

.ahura-sp-related-info {

    display: flex;
    flex-direction: column;

    flex: 1;

    gap: 5px;

    min-width: 0;
}

.ahura-sp-related-info .product-name,
.ahura-sp-related-info strong {

    display: -webkit-box;

    min-height: 2.8em;

    margin: 0;

    overflow: hidden;

    color: var(--ahura-text);

    font-size: 12px;

    font-weight: 800;

    line-height: 1.55;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* related price */

.ahura-sp-related-info .product-price,
.ahura-sp-related-info .woocommerce-Price-amount {

    display: inline-block;

    direction: rtl !important;
    unicode-bidi: isolate;

    margin-top: auto;

    color:
        var(--ahura-primary) !important;

    font-size: 15px !important;
    font-weight: 900 !important;

    line-height: 1.3;
}


/*
   واحد پولی قبل عدد
*/

.ahura-sp-related-info
.product-price
.woocommerce-Price-currencySymbol,

.ahura-sp-related-info
.woocommerce-Price-amount
.woocommerce-Price-currencySymbol {

    display: inline-block;

    margin-inline-end: 5px;
    margin-inline-start: 0;

    font-size: .60em;

    font-weight: 800;

    vertical-align: middle;
}

.ahura-sp-related-info
.product-price
.currency-symbol,

.ahura-sp-related-info
.woocommerce-Price-amount
.currency-symbol {

    display: inline-block;

    margin-inline-end: 5px;
    margin-inline-start: 0;
}


/* related add cart */

.ahura-sp-related-add-to-cart {

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    gap: 6px;

    width: 100%;

    min-height: 38px;

    margin-top: 9px;

    padding:
        7px 10px;

    border:
        1px solid
        rgba(var(--ahura-primary-rgb), .10);

    border-radius: 12px;

    background:
        rgba(var(--ahura-primary-rgb), .07);

    color:
        var(--ahura-primary);

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s var(--ahura-ease);
}

.ahura-sp-related-add-to-cart:hover {
    background:
        var(--ahura-primary);

    color: #fff;

    transform:
        translateY(-1px);
}

.ahura-sp-related-add-to-cart svg {
    width: 15px;
    height: 15px;
}


/* badge */

.ahura-sp-related-badge {

    position: absolute;

    top: 9px;
    inset-inline-start: 9px;

    z-index: 3;

    padding:
        5px 8px;

    border-radius: 999px;

    background:
        rgba(var(--ahura-primary-rgb), .92);

    color: #fff;

    font-size: 8px;
    font-weight: 800;

    line-height: 1;

    box-shadow:
        0 5px 12px
        rgba(var(--ahura-primary-rgb), .18);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ahura-sp-related-badge.new {
    background:
        var(--ahura-primary);
}

.ahura-sp-related-badge.best {
    background:
        #f59e0b;
}


/* rating */

.ahura-sp-related-rating {
    display: flex;
    align-items: center;

    gap: 4px;

    color: #f59e0b;

    font-size: 10px;
}

.ahura-sp-related-rating .count {
    color:
        rgba(var(--ahura-text-rgb), .40);

    font-size: 9px;
}


/* quick view intentionally hidden */

.ahura-sp-related-quick-view {
    display: none !important;
}


/* ============================================================
   RELATED ARROWS — DESKTOP
   ============================================================ */

.ahura-sp-slider-arrow {

    position: absolute;

    top: 50%;

    z-index: 10;

    display: none;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin: 0;
    float: left;
    border:
        1px solid
        rgba(255,255,255,.80);

    border-radius: 50%;

    background:
        rgba(255,255,255,.86);

    color: var(--ahura-text);

    box-shadow:
        0 10px 28px rgba(16,24,40,.12);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    cursor: pointer;

    transform:
        translateY(-50%);

    transition:
        transform .2s var(--ahura-ease),
        background .2s ease,
        color .2s ease;
}

.ahura-sp-slider-arrow:hover {
    background: var(--ahura-primary);

    color: #fff;

    transform:
        translateY(-50%) scale(1.06);
}

.ahura-sp-slider-arrow svg {
    width: 18px;
    height: 18px;
}

.ahura-sp-slider-arrow.prev {
    inset-inline-start: 4px;
}

.ahura-sp-slider-arrow.next {
    inset-inline-end: 4px;
}


/* ============================================================
   13 — LIGHTBOX
   ============================================================ */

.ahura-sp-lightbox {

    position: fixed;

    inset: 0;

    z-index: 10001;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(10,18,32,.72);

    opacity: 0;
    visibility: hidden;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.ahura-sp-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.ahura-sp-lightbox img {

    display: block;

    max-width: min(92vw, 1100px);
    max-height: 88vh;

    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 30px 100px rgba(0,0,0,.25);
}

.ahura-sp-lightbox-close {

    position: absolute;

    top: 18px;
    inset-inline-end: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 50%;

    background:
        rgba(255,255,255,.12);

    color: #fff;

    cursor: pointer;

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.ahura-sp-lightbox-close svg {
    width: 19px;
    height: 19px;
}


/* ============================================================
   14 — CART MODAL
   ============================================================ */

.ahura-sp-cart-modal {

    position: fixed;

    inset: 0;

    z-index: 10002;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.ahura-sp-cart-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.ahura-sp-modal-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(10,18,32,.42);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ahura-sp-modal {

    position: relative;

    width: min(430px, 100%);

    padding: 27px 22px;

    border:
        1px solid
        rgba(255,255,255,.78);

    border-radius: 27px;

    background:
        rgba(255,255,255,.88);

    box-shadow:
        0 30px 90px rgba(16,24,40,.20),
        inset 0 1px 0 rgba(255,255,255,.95);

    text-align: center;

    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);

    transform:
        translateY(16px)
        scale(.97);

    transition:
        transform .4s var(--ahura-ease);
}

.ahura-sp-cart-modal.is-open
.ahura-sp-modal {

    transform:
        translateY(0)
        scale(1);
}

.ahura-sp-modal-close {

    position: absolute;

    top: 11px;
    inset-inline-end: 11px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 0;

    border-radius: 50%;

    background:
        rgba(var(--ahura-primary-rgb), .07);

    color: var(--ahura-text);

    cursor: pointer;
}

.ahura-sp-modal-close svg {
    width: 16px;
    height: 16px;
}

.ahura-sp-modal-icon {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 11px;

    border-radius: 20px;

    background:
        rgba(var(--ahura-primary-rgb), .09);

    color:
        var(--ahura-primary);
}

.ahura-sp-modal-icon svg {
    width: 27px;
    height: 27px;
}

.ahura-sp-modal-kicker {

    display: block;

    margin-bottom: 4px;

    color: var(--ahura-primary);

    font-size: 10px;
    font-weight: 800;
}

.ahura-sp-modal h3 {

    margin: 0 0 6px;

    color: var(--ahura-text);

    font-size: 18px;
    font-weight: 900;
}

.ahura-sp-modal p {

    margin: 0 0 18px;

    color:
        rgba(var(--ahura-text-rgb), .58);

    font-size: 11px;

    line-height: 1.9;
}

.ahura-sp-modal-actions {

    display: flex;
    flex-direction: column;

    gap: 8px;
}

.ahura-sp-modal-cart,
.ahura-sp-modal-shop {

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    border-radius: 14px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
}

.ahura-sp-modal-cart {

    background:
        var(--ahura-primary);

    color: #fff;

    box-shadow:
        0 9px 22px
        rgba(var(--ahura-primary-rgb), .20);
}

.ahura-sp-modal-shop {

    background:
        rgba(var(--ahura-primary-rgb), .065);

    color:
        var(--ahura-primary);
}

.ahura-sp-modal-cart:hover {
    transform: translateY(-1px);
}

.ahura-sp-modal-shop:hover {
    background:
        rgba(var(--ahura-primary-rgb), .10);
}


/* ============================================================
   15 — WORDPRESS / MEDIAELEMENT
   ============================================================ */

.ahura-single-product-wrap .wp-video,
.ahura-single-product-wrap .mejs-container {

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;

    overflow: hidden !important;

    border-radius: 18px !important;

    background: #111 !important;

    box-shadow:
        0 10px 30px rgba(16,24,40,.10);
}

.ahura-single-product-wrap .mejs-container video,
.ahura-single-product-wrap .wp-video video {

    width: 100% !important;
    height: auto !important;

    display: block !important;

    object-fit: contain !important;
}

.ahura-single-product-wrap .mejs-controls {

    background:
        rgba(10,15,25,.76) !important;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius:
        0 0 18px 18px !important;

    direction: ltr !important;
}

.ahura-single-product-wrap .mejs-time-rail
.mejs-time-current {

    background:
        var(--ahura-primary) !important;
}


/* ============================================================
   16 — HIDDEN HELPERS
   ============================================================ */

.ahura-sp-breadcrumb-hidden,
.ahura-sp-gallery-hidden,
.ahura-sp-info-hidden,
.ahura-sp-price-hidden,
.ahura-sp-attributes-hidden,
.ahura-sp-addtocart-hidden,
.ahura-sp-trust-hidden,
.ahura-sp-description-hidden,
.ahura-sp-related-hidden {

    display: none !important;
}


/* ============================================================
   17 — TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .ahura-sp-shell {
        gap: 42px;
    }

    .ahura-sp-hero {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 30px;
    }

    .ahura-sp-info h1 {
        font-size: 30px;
    }

    .ahura-sp-price .price,
    .ahura-sp-price .woocommerce-Price-amount {
        font-size: 31px;
    }

    .ahura-sp-trust {
        gap: 7px;
    }

    .ahura-sp-trust-item {
        padding: 10px;
    }

    .ahura-sp-trust-item > span {
        width: 34px;
        height: 34px;
    }

    .ahura-sp-slider-arrow {
        display: flex;
    }
}


/* ============================================================
   18 — TABLET / MOBILE
   ============================================================ */

@media (max-width: 900px) {

    .ahura-sp-shell {
        gap: 36px;
    }

    .ahura-sp-hero {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .ahura-sp-gallery-col {
        order: 1;
    }

    .ahura-sp-info {
        order: 2;
    }

    .ahura-sp-info h1 {
        max-width: 850px;

        font-size:
            clamp(26px, 5vw, 34px);
    }

    .ahura-sp-attribute-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .ahura-sp-trust {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .ahura-sp-slider-arrow {
        display: none !important;
    }
}


/* ============================================================
   19 — MOBILE APP-LIKE
   ============================================================ */

@media (max-width: 767px) {

    .ahura-single-product-wrap {
        width: 100% !important;

        padding-inline: 0 !important;

        overflow: clip !important;
    }

    .ahura-sp-shell {
        gap: 28px !important;
    }


    /* breadcrumb */

    .ahura-sp-breadcrumb {
        margin-bottom: 12px;

        gap: 5px;

        flex-wrap: nowrap;

        overflow: hidden;

        white-space: nowrap;

        font-size: 9px;
    }

    .ahura-sp-breadcrumb > * {
        flex-shrink: 0;
    }

    .ahura-sp-breadcrumb .ahura-sp-current {
        min-width: 0;

        max-width: 42vw;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    /* gallery */

    .ahura-sp-main-image {

        aspect-ratio: 1 / 1;

        border-radius: 22px;

        box-shadow:
            0 13px 35px rgba(16,24,40,.06);
    }

    .ahura-sp-slide img {

        padding:
            clamp(16px, 6vw, 28px);
    }

    .ahura-sp-zoom {

        top: 10px;
        inset-inline-end: 10px;

        width: 38px;
        height: 38px;

        border-radius: 13px;
    }

    .ahura-sp-image-count {

        bottom: 10px;
        inset-inline-start: 10px;

        padding: 6px 9px;
    }

    .ahura-sp-thumbs {

        gap: 7px;

        margin-top: 8px;

        padding-bottom: 4px;
    }

    .ahura-sp-thumb {

        width: 58px !important;
        height: 58px !important;

        padding: 4px;

        border-radius: 14px;
    }


    /* information */

    .ahura-sp-info h1 {

        max-width: 100%;

        margin-bottom: 11px;

        font-size:
            clamp(22px, 6.4vw, 28px) !important;

        line-height: 1.38 !important;

        letter-spacing: -.025em;

        text-wrap: balance;
    }

    .ahura-sp-info h1::after {

        width: 28px;
        height: 3px;

        margin-top: 10px;
    }

    .ahura-sp-brand {
        font-size: 10px;

        margin-bottom: 6px;
    }

    .ahura-sp-rating {
        margin-bottom: 13px;

        font-size: 10px;
    }

    .ahura-sp-rating .stars svg {
        width: 14px;
        height: 14px;
    }

    .ahura-sp-excerpt {

        margin-bottom: 14px;

        font-size: 12px !important;

        line-height: 1.95 !important;
    }


    /* stock */

    .ahura-sp-stock-info {

        width: 100%;

        justify-content: flex-start;

        margin-bottom: 12px;

        padding:
            9px 11px;

        border-radius: 14px;

        font-size: 10px;
    }


    /* price */

    .ahura-sp-price {

        min-height: 72px;

        margin-bottom: 12px !important;

        padding:
            14px 15px;

        border-radius: 19px;
    }

    .ahura-sp-price .price,
    .ahura-sp-price .woocommerce-Price-amount {

        font-size:
            clamp(24px, 7vw, 31px) !important;
    }

    .ahura-sp-price .woocommerce-Price-currencySymbol {

        margin-inline-end: 5px;

        font-size: .44em;
    }


    /* variations */

    .ahura-sp-variations {

        padding: 12px;

        border-radius: 17px;

        gap: 10px;
    }

    .ahura-sp-variation-select {

        min-height: 48px;

        font-size: 14px;
    }


    /* purchase */

    .ahura-sp-buy-row {

        display: grid !important;

        grid-template-columns:
            1fr;

        gap: 9px !important;
    }

    .ahura-sp-qty-wrap {

        width: 100%;

        min-height: 52px;

        justify-content: space-between;

        padding:
            4px 5px 4px 8px;

        border-radius: 16px;
    }

    .ahura-sp-qty-label {
        font-size: 10px;
    }

    .ahura-sp-qty {
        flex: 0 0 auto !important;
    }

    .ahura-sp-qty button {

        width: 40px !important;
        height: 40px !important;

        border-radius: 12px;
    }

    .ahura-sp-qty input {

        width: 46px !important;
        flex: 0 0 46px !important;

        font-size: 14px;
    }


    /* add cart */

    .ahura-single-product-wrap
    form.cart
    .single_add_to_cart_button.ahura-sp-add {

        width: 100% !important;

        min-height: 54px;

        border-radius: 16px;

        padding:
            14px 16px !important;

        font-size: 14px !important;

        box-shadow:
            0 11px 27px
            rgba(var(--ahura-primary-rgb), .20);
    }


    /* SKU */

    .ahura-sp-meta {

        margin-top: 10px;

        gap: 8px;
    }

    .ahura-sp-sku-wrapper {

        min-height: 52px;

        padding:
            9px 11px;

        border-radius: 15px;
    }

    .ahura-sp-sku-main .sku-label {
        font-size: 9px;
    }

    .ahura-sp-sku-main .sku-value {
        font-size: 12px;
    }


    /* trust */

    .ahura-sp-trust {

        grid-template-columns:
            1fr;

        gap: 7px;

        margin-top: 10px;
    }

    .ahura-sp-trust-item {

        min-height: 53px;

        padding: 9px 10px !important;

        border-radius: 15px;
    }

    .ahura-sp-trust-item > span {

        width: 35px;
        height: 35px;

        border-radius: 11px;
    }

    .ahura-sp-trust-item strong {
        font-size: 10px;
    }

    .ahura-sp-trust-item small {
        font-size: 9px;

        line-height: 1.45;
    }


    /* tabs */

    .ahura-sp-tabs-nav {

        gap: 3px !important;

        padding: 4px;

        margin-bottom: 12px;

        border-radius: 16px;
    }

    .ahura-sp-tab-btn {

        flex:
            0 0 auto;

        min-height: 39px;

        padding:
            8px 10px !important;

        border-radius: 12px !important;

        font-size: 10px !important;
    }

    .ahura-sp-tab-btn svg {

        width: 14px !important;
        height: 14px !important;
    }


    /* attributes */

    .ahura-sp-attribute-grid {

        grid-template-columns:
            1fr;

        gap: 7px !important;
    }

    .ahura-sp-attribute {

        min-height: 47px;

        padding:
            10px 11px !important;

        border-radius: 14px !important;

        font-size: 10px !important;
    }


    /* description */

    .ahura-sp-description-content {

        padding:
            15px !important;

        border-radius:
            18px !important;

        font-size:
            12px !important;

        line-height:
            2 !important;
    }


    /* reviews */

    .ahura-sp-reviews .commentlist {
        gap: 8px;
    }

    .ahura-sp-reviews .commentlist > li {

        padding:
            13px;

        border-radius: 17px;
    }

    .ahura-sp-reviews .comment_container {

        gap: 9px;
    }

    .ahura-sp-reviews .comment_container > img {

        width: 40px;
        height: 40px;

        border-radius: 12px;
    }

    .ahura-sp-reviews .comment-text {

        font-size: 11px;
    }

    .ahura-sp-reviews .comment-form {

        padding:
            14px;

        border-radius: 18px;
    }


    /* related */

    .ahura-sp-related-head {

        align-items: center;

        margin-bottom: 12px;
    }

    .ahura-sp-related-head h2 {

        font-size: 17px;
    }

    .ahura-sp-related-head h2::before {

        width: 4px;
        height: 19px;
    }

    .ahura-sp-related-head span {

        font-size: 9px;
    }

    .ahura-sp-related-head .view-all {

        min-height: 31px;

        padding:
            6px 10px;

        font-size: 9px;
    }

    .ahura-sp-related-grid {

        gap: 10px !important;

        padding:
            2px 2px 11px;
    }

    .ahura-sp-related-grid
    .ahura-sp-related-card {

        flex-basis:
            166px !important;

        width:
            166px !important;

        min-width:
            166px !important;

        padding:
            9px !important;

        border-radius:
            18px !important;
    }

    .ahura-sp-related-image {

        margin-bottom: 9px;

        border-radius: 14px;
    }

    .ahura-sp-related-image img {
        padding: 7px;
    }

    .ahura-sp-related-info .product-name,
    .ahura-sp-related-info strong {

        font-size:
            11px !important;

        line-height:
            1.55;

        min-height:
            2.9em;
    }

    .ahura-sp-related-info .product-price,
    .ahura-sp-related-info .woocommerce-Price-amount {

        font-size:
            13px !important;
    }

    .ahura-sp-related-add-to-cart {

        min-height: 36px;

        margin-top: 7px;

        padding:
            6px 8px !important;

        border-radius: 11px;

        font-size:
            9px !important;
    }

    .ahura-sp-related-add-to-cart svg {

        width: 14px !important;
        height: 14px !important;
    }


    /* modal */

    .ahura-sp-modal {

        width:
            calc(100vw - 24px);

        padding:
            22px 16px;

        border-radius:
            23px;
    }

    .ahura-sp-modal h3 {
        font-size: 16px;
    }
}


/* ============================================================
   20 — SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .ahura-sp-shell {
        gap: 24px !important;
    }

    .ahura-sp-info h1 {

        font-size:
            clamp(21px, 6.7vw, 25px) !important;

        line-height:
            1.4 !important;
    }

    .ahura-sp-price {

        min-height: 68px;

        padding:
            13px;
    }

    .ahura-sp-price .price,
    .ahura-sp-price .woocommerce-Price-amount {

        font-size:
            24px !important;
    }

    .ahura-sp-price del {

        font-size:
            10px;
    }

    .ahura-sp-related-grid
    .ahura-sp-related-card {

        flex-basis:
            150px !important;

        width:
            150px !important;

        min-width:
            150px !important;

        padding:
            8px !important;

        border-radius:
            17px !important;
    }

    .ahura-sp-related-info .product-name,
    .ahura-sp-related-info strong {

        font-size:
            10px !important;
    }

    .ahura-sp-related-info .product-price,
    .ahura-sp-related-info .woocommerce-Price-amount {

        font-size:
            12px !important;
    }

    .ahura-sp-related-add-to-cart {

        min-height:
            34px;

        font-size:
            8.5px !important;
    }

    .ahura-sp-tab-btn {

        padding:
            7px 9px !important;

        font-size:
            9.5px !important;
    }

    .ahura-sp-tab-btn span {

        max-width:
            82px;

        overflow:
            hidden;

        text-overflow:
            ellipsis;
    }

    .ahura-sp-section-heading span {

        font-size:
            15px;
    }

    .ahura-sp-section-heading span::before {

        width:
            3px;

        height:
            17px;
    }
}


/* ============================================================
   21 — EXTRA SMALL DEVICES
   ============================================================ */

@media (max-width: 360px) {

    .ahura-sp-info h1 {

        font-size:
            20px !important;
    }

    .ahura-sp-price .price,
    .ahura-sp-price .woocommerce-Price-amount {

        font-size:
            22px !important;
    }

    .ahura-sp-related-grid
    .ahura-sp-related-card {

        flex-basis:
            140px !important;

        width:
            140px !important;

        min-width:
            140px !important;
    }

    .ahura-sp-related-info .product-name,
    .ahura-sp-related-info strong {

        font-size:
            9.5px !important;
    }
}


/* ============================================================
   22 — DESKTOP RELATED ARROWS
   ============================================================ */

@media (min-width: 1024px) {

    .ahura-sp-slider-arrow {

        display: flex !important;
    }
}


/* ============================================================
   23 — DESKTOP SPACING
   ============================================================ */

@media (min-width: 1200px) {

    .ahura-sp-shell {

        gap:
            58px;
    }

    .ahura-sp-hero {

        gap:
            76px;
    }

    .ahura-sp-main-image {

        border-radius:
            32px;
    }
}


/* ============================================================
   24 — MOBILE APP-LIKE TOUCH
   ============================================================ */

@media (hover: none) {

    .ahura-sp-main-image:hover
    .ahura-sp-slide.is-active img {

        transform:
            none;
    }

    .ahura-sp-related-card:hover {

        transform:
            none !important;
    }

    .ahura-sp-thumb:hover {

        transform:
            none;
    }

    .ahura-sp-trust-item:hover {

        transform:
            none;
    }

    .ahura-single-product-wrap
    form.cart
    .single_add_to_cart_button.ahura-sp-add:hover {

        transform:
            none;
    }
}


/* ============================================================
   25 — ACCESSIBILITY
   ============================================================ */

.ahura-single-product-wrap
button:focus-visible,
.ahura-single-product-wrap
a:focus-visible,
.ahura-single-product-wrap
input:focus-visible,
.ahura-single-product-wrap
select:focus-visible,
.ahura-single-product-wrap
textarea:focus-visible {

    outline:
        3px solid
        rgba(var(--ahura-primary-rgb), .20);

    outline-offset:
        2px;
}


/* ============================================================
   26 — REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .ahura-single-product-wrap *,
    .ahura-single-product-wrap *::before,
    .ahura-single-product-wrap *::after {

        scroll-behavior:
            auto !important;

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }
}


/* ============================================================
   27 — SAFETY / OVERFLOW
   ============================================================ */

.ahura-single-product-wrap
.ahura-sp-shell,
.ahura-single-product-wrap
.ahura-sp-hero,
.ahura-single-product-wrap
.ahura-sp-info,
.ahura-single-product-wrap
.ahura-sp-gallery-col,
.ahura-single-product-wrap
.ahura-sp-tabs,
.ahura-single-product-wrap
.ahura-sp-related {

    min-width:
        0 !important;

    max-width:
        100% !important;
}

.ahura-single-product-wrap
.ahura-sp-description-content
table {

    display:
        block;

    max-width:
        100%;

    overflow-x:
        auto;

    -webkit-overflow-scrolling:
        touch;
}


/* ============================================================
   28 — MOBILE APP SAFE AREA
   ============================================================ */

@media (max-width: 767px) {

    .ahura-single-product-wrap {

        padding-bottom:
            max(8px, env(safe-area-inset-bottom));
    }

}


/* ============================================================
   29 — PRICE FIX
   واحد پول همیشه سمت چپ عدد + فاصله استاندارد
   ============================================================ */

.ahura-sp-price .price {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;

    gap: 7px;

    width: 100%;

    direction: rtl !important;
    unicode-bidi: isolate;
}

.ahura-sp-price .woocommerce-Price-amount,
.ahura-sp-price .woocommerce-Price-amount bdi,
.ahura-sp-price ins .woocommerce-Price-amount,
.ahura-sp-price del .woocommerce-Price-amount {
    display: inline-flex !important;

    align-items: baseline;

    gap: 7px;

    direction: rtl !important;
    unicode-bidi: isolate;

    white-space: nowrap;
}

.ahura-sp-price del .woocommerce-Price-amount,
.ahura-sp-price del .woocommerce-Price-amount bdi {
    gap: 5px;
}

.ahura-sp-price .woocommerce-Price-currencySymbol {
    float: none !important;

    display: inline-block !important;

    order: 99 !important;

    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;

    vertical-align: baseline;

    transform: translateY(-1px);
}

.ahura-sp-price del {
    display: flex !important;

    align-items: center;

    gap: 5px;

    width: 100%;

    margin: 2px 0 0 !important;

    order: 9;
}

.ahura-sp-price ins {
    display: flex !important;

    align-items: center;

    gap: 7px;

    margin: 0 !important;

    order: 1;

    text-decoration: none !important;
}


/* ============================================================
   30 — RELATED PRODUCTS PRICE FIX
   ============================================================ */

.ahura-sp-related-info .product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 5px;

    direction: rtl !important;
    unicode-bidi: isolate;
}

.ahura-sp-related-info .product-price .woocommerce-Price-amount,
.ahura-sp-related-info .woocommerce-Price-amount,
.ahura-sp-related-info .woocommerce-Price-amount bdi {
    display: inline-flex !important;

    align-items: baseline;

    gap: 5px;

    direction: rtl !important;
    unicode-bidi: isolate;

    white-space: nowrap;
}

.ahura-sp-related-info .woocommerce-Price-currencySymbol {
    float: none !important;

    display: inline-block !important;

    order: 99 !important;

    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;

    vertical-align: baseline;
}


/* ============================================================
   END
   ============================================================ */