/*
Theme Name: Abbasi
Theme URI: https://abbasibeauty.ir
Author: Abbasi
Description: قالب اختصاصی فروشگاه لوازم آرایشی و بهداشتی عباسی
Version: 1.0
Text Domain: abbasi
*/

/* =========================================================
   پایه
========================================================= */

* {
    box-sizing: border-box;
}

html {
    direction: rtl;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #222222;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select {
    font-family: inherit;
}


/* =========================================================
   نوار تبلیغاتی بالای سایت
========================================================= */

.abbasi-topbar {
    width: 100%;
    height: 58px;
    min-height: 58px;
    position: relative;
    overflow: hidden;
    background: #111111;
    color: #ffffff;
    z-index: 9999;
}

.abbasi-topbar-track {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.abbasi-topbar-slide {
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    right: 0;
    left: 0;

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

    margin: 0;
    padding: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}

.abbasi-topbar-slide:first-child {
    opacity: 1;
    visibility: visible;
}

.abbasi-topbar-content {
    width: 100%;
    height: 100%;

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

    margin: 0;
    padding: 0;
}

.abbasi-topbar-text {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    color: #ffffff;

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

    line-height: 1.3;

    white-space: nowrap;

    text-align: center;
}

.abbasi-topbar-image {
    width: 100%;
    height: 100%;

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

    margin: 0;
    padding: 0;

    overflow: hidden;
}

.abbasi-topbar-img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center center;
}

.abbasi-topbar-video {
    width: 100%;
    height: 100%;

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

    margin: 0;
    padding: 0;

    overflow: hidden;
}

.abbasi-topbar-video-player {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;
    max-height: none;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   هدر اصلی
========================================================= */

.abbasi-header {
    width: 100%;

    margin: 0;
    padding: 0;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;
}

.abbasi-header-inner {
    width: min(1400px, calc(100% - 32px));

    min-height: 86px;

    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;

    direction: rtl;

    gap: 0;
}


/* =========================================================
   لوگو
========================================================= */

.abbasi-logo {
    flex: 0 0 170px;

    width: 170px;

    margin: 0;
    padding: 0;
}

.abbasi-logo a {
    display: block;

    margin: 0;
    padding: 0;

    color: #111111;

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

    line-height: 1.2;

    text-align: right;

    white-space: nowrap;
}


/* =========================================================
   جستجو
========================================================= */

.abbasi-search {
    position: relative;

    flex: 0 0 430px;

    width: 430px;

    margin: 0 45px 0 0;
    padding: 0;
}

.abbasi-search form {
    position: relative;

    width: 100%;
    height: 44px;

    margin: 0;
    padding: 0;

    border: 1px solid #dddddd;
    border-radius: 10px;

    overflow: hidden;

    background: #ffffff;
}

.abbasi-search input[type="search"] {
    display: block;

    width: 100%;
    height: 44px;

    margin: 0;
    padding: 0 50px 0 16px;

    border: 0;
    outline: none;

    border-radius: 0;

    background: #ffffff;

    color: #222222;

    direction: rtl;
    text-align: right;

    font-size: 14px;

    -webkit-appearance: none;
    appearance: none;
}

.abbasi-search input[type="search"]:focus {
    border: 0;
    outline: none;
    background: #ffffff;
}

.abbasi-search input[type="search"]::-webkit-search-cancel-button,
.abbasi-search input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.abbasi-search button {
    position: absolute;

    top: 0;
    right: 0;
    left: auto;

    width: 44px;
    height: 44px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: #ffffff;

    color: #111111;

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

    cursor: pointer;

    z-index: 10;
}

.abbasi-search button::before {
    content: "⌕";

    display: block;

    color: #111111;

    font-family: Arial, Tahoma, sans-serif;

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

    line-height: 1;

    transform: rotate(-15deg);
}

.abbasi-search button:hover,
.abbasi-search button:focus {
    background: #ffffff;
    color: #111111;
    outline: none;
}


/* =========================================================
   ورود و سبد خرید
========================================================= */

.abbasi-header-actions {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 10px;

    margin-right: auto;
    margin-left: 0;

    padding: 0;
}

.abbasi-account,
.abbasi-cart {
    flex: 0 0 auto;

    min-height: 44px;

    margin: 0;
    padding: 8px 14px;

    border: 1px solid #eeeeee;
    border-radius: 9px;

    background: #ffffff;

    color: #222222;

    font-weight: 700;

    white-space: nowrap;

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

    gap: 5px;
}

.abbasi-account:hover,
.abbasi-cart:hover {
    background: #f7f7f7;
}

.abbasi-cart-count {
    display: inline-flex;

    min-width: 22px;
    height: 22px;

    margin-right: 5px;
    padding: 0 5px;

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

    border-radius: 50%;

    background: #111111;
    color: #ffffff;

    font-size: 12px;
    line-height: 1;
}


/* =========================================================
   منوی مشکی
========================================================= */

.abbasi-black-menu {
    width: 100%;
    height: 48px;
    min-height: 48px;

    margin: 0;
    padding: 0;

    background: #111111;
    color: #ffffff;

    overflow: hidden;

    direction: rtl;
}

.abbasi-black-menu-inner {
    width: min(1400px, calc(100% - 32px));

    height: 48px;
    min-height: 48px;

    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;

    justify-content: flex-start;

    direction: rtl;

    gap: 30px;

    overflow: hidden;
}

.abbasi-black-menu-item {
    display: flex;
    align-items: center;

    height: 48px;
    min-height: 48px;

    flex: 0 0 auto;

    margin: 0;
    padding: 0;

    color: #ffffff !important;
    background: transparent;

    border: 0;
    outline: none;

    text-decoration: none !important;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.abbasi-black-menu-item:hover,
.abbasi-black-menu-item:focus {
    color: #d4af37 !important;
    background: transparent;
}


/* =========================================================
   =========================================================
   بنر اصلی فروشگاه عباسی
   =========================================================
   ========================================================= */

.abbasi-hero-banners {
    width: 100%;

    height: 345px;
    min-height: 345px;
    max-height: 345px;

    margin: 0;
    padding: 0;

    position: relative;

    overflow: hidden;

    background: #111111;
}

.abbasi-hero-slider {
    width: 100%;

    height: 345px;
    min-height: 345px;
    max-height: 345px;

    margin: 0;
    padding: 0;

    position: relative;

    overflow: hidden;

    background: #111111;
}


/* =========================================================
   اسلاید
========================================================= */

.abbasi-hero-slide {
    width: 100%;

    height: 345px;
    min-height: 345px;
    max-height: 345px;

    margin: 0;
    padding: 0;

    position: absolute;

    top: 0;
    right: 0;
    left: 0;
    bottom: auto;

    display: block;

    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    background: #111111;

    z-index: 1;

    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}


/* اسلاید فعال */

.abbasi-hero-slide.active {
    width: 100%;

    height: 345px;
    min-height: 345px;
    max-height: 345px;

    position: absolute;

    top: 0;
    right: 0;
    left: 0;
    bottom: auto;

    display: block;

    opacity: 1;
    visibility: visible;

    z-index: 2;
}


/* =========================================================
   محتوای اسلاید
========================================================= */

.abbasi-hero-content {
    width: 100%;

    height: 345px;
    min-height: 345px;
    max-height: 345px;

    margin: 0;
    padding: 0;

    position: relative;

    overflow: hidden;

    background: #111111;
}


/* =========================================================
   بخش رسانه‌ای بنر
========================================================= */

.abbasi-hero-media {
    position: absolute;

    top: 0;
    right: 0;
    left: 0;
    bottom: 0;

    width: 100%;

    height: 345px;
    min-height: 345px;
    max-height: 345px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    display: block;

    background: #111111;
}


/* =========================================================
   تصویر بنر
   مهم:
   تصویر همیشه دقیقاً داخل ارتفاع بنر قرار می‌گیرد.
========================================================= */

.abbasi-hero-media img {
    display: block;

    width: 100%;
    height: 345px;

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

    min-height: 345px;
    max-height: 345px;

    margin: 0;
    padding: 0;

    border: 0;

    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   ویدئو بنر
========================================================= */

.abbasi-hero-media video {
    display: block;

    width: 100%;
    height: 345px;

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

    min-height: 345px;
    max-height: 345px;

    margin: 0;
    padding: 0;

    border: 0;

    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   لایه متن
========================================================= */

.abbasi-hero-overlay {
    position: absolute;

    right: 6%;
    top: 50%;

    transform: translateY(-50%);

    width: min(420px, 42%);

    margin: 0;
    padding: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

    direction: rtl;
    text-align: right;

    z-index: 10;

    pointer-events: none;
}


/* =========================================================
   عنوان بنر
========================================================= */

.abbasi-hero-title {
    margin: 0;
    padding: 0;

    color: #ffffff;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1.4;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.75);
}


/* =========================================================
   توضیح بنر
========================================================= */

.abbasi-hero-description {
    margin: 0;
    padding: 0;

    color: #ffffff;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1.8;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.75);
}


/* =========================================================
   جایگاه دکمه
========================================================= */

.abbasi-hero-button-wrap {
    position: absolute;

    right: 6%;
    top: 72%;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    display: block;

    background: transparent;

    z-index: 20;
}


/* =========================================================
   دکمه
========================================================= */

.abbasi-hero-button {
    display: inline-flex;

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

    width: auto;

    min-width: 130px;
    height: 44px;

    margin: 0;
    padding: 10px 24px;

    background: #111111;
    color: #ffffff !important;

    border: 1px solid #111111;
    border-radius: 8px;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1;

    text-decoration: none !important;

    white-space: nowrap;

    cursor: pointer;

    box-sizing: border-box;

    pointer-events: auto;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.abbasi-hero-button:hover {
    background: #000000;
    color: #ffffff !important;

    transform: translateY(-1px);
}


/* =========================================================
   نقاط اسلایدر
   روی خود تصویر قرار دارند.
   باعث تغییر ارتفاع بنر نمی‌شوند.
========================================================= */

.abbasi-hero-dots {
    position: absolute;

    right: 0;
    left: 0;
    bottom: 12px;

    width: 100%;
    height: 18px;

    margin: 0;
    padding: 0;

    display: flex;

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

    gap: 8px;

    direction: rtl;

    background: transparent;

    z-index: 30;
}

.abbasi-hero-dot {
    display: block;

    width: 9px;
    height: 9px;

    min-width: 9px;
    min-height: 9px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #ffffff;

    opacity: 0.55;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.abbasi-hero-dot.active {
    width: 9px;
    height: 9px;

    min-width: 9px;
    min-height: 9px;

    opacity: 1;

    transform: scale(1.15);
}


/* =========================================================
   دسته‌بندی‌های سریع
========================================================= */

.abbasi-quick-categories {
    width: 100%;

    margin: 0;
    padding: 28px 16px 0;

    background: #ffffff;

    direction: rtl;
}

.abbasi-quick-categories-inner {
    width: min(1400px, 100%);

    margin: 0 auto;
    padding: 0;

    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 18px;
}

.abbasi-quick-category {
    flex: 1 1 0;

    min-width: 90px;
    max-width: 125px;

    min-height: 130px;

    display: flex;

    flex-direction: column;

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

    margin: 0;
    padding: 0;

    color: #222222 !important;

    text-align: center;

    text-decoration: none !important;

    -webkit-tap-highlight-color: transparent;

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.abbasi-quick-category-image {
    width: 68px;
    height: 68px;

    flex: 0 0 68px;

    position: relative;

    display: flex;

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

    margin: 0 auto 10px;
    padding: 0;

    overflow: hidden;

    border: 2px solid #d4af37;
    border-radius: 50%;

    background: #f7f7f7;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.abbasi-quick-category-image img {
    display: block !important;

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

    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
}

.abbasi-quick-category-empty {
    display: flex;

    width: 100%;
    height: 100%;

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

    color: #c9a227;

    font-size: 25px;
    font-weight: 300;

    line-height: 1;
}

.abbasi-quick-category-title {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    color: #222222;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1.6;

    text-align: center;

    white-space: normal;

    overflow-wrap: anywhere;
}

.abbasi-quick-category:hover {
    color: #c9a227 !important;

    transform: translateY(-2px);
}

.abbasi-quick-category:hover .abbasi-quick-category-image {
    border-color: #c9a227;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.12);
}

.abbasi-quick-category:active {
    transform: scale(0.96);
}

.abbasi-quick-category:active .abbasi-quick-category-image {
    border-color: #b38d16;
}


/* =========================================================
   جعبه طلایی
========================================================= */

.abbasi-golden-box {
    width: 100%;

    margin-top: 0;
    margin-bottom: 0;

    padding: 0 16px 22px;

    background: #ffffff;

    direction: rtl;
}

.abbasi-golden-box-inner {
    width: min(1400px, 100%);
    height: 300px;

    margin: 0 auto;
    padding: 10px;

    display: flex;
    flex-direction: row;

    gap: 10px;

    background: #c9a227;

    border-radius: 14px;

    overflow: hidden;

    box-sizing: border-box;
}

/* =========================================================
   بخش اصلی جعبه طلایی
========================================================= */

.abbasi-golden-feature {
    flex: 0 0 205px;

    width: 205px;
    height: 100%;

    display: flex;
    flex-direction: column;

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

    margin: 0;
    padding: 10px 6px;

    background: #b48d18;

    border-radius: 10px;

    text-align: center;

    box-sizing: border-box;
}

.abbasi-golden-feature-title {
    margin: 0;
    padding: 0;

    color: #ffffff;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1.3;
}

.abbasi-golden-feature-image {
    width: 90px;
    height: 90px;

    margin: 0 auto;

    display: flex;

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

    flex-shrink: 0;
}

.abbasi-golden-box-animation {
    width: 82px;
    height: 82px;

    display: flex;

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

    border-radius: 50%;

    background: #ffffff;

    font-size: 48px;
    line-height: 1;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15);

    animation:
        abbasiGoldenBoxPulse 2s ease-in-out infinite;
}

@keyframes abbasiGoldenBoxPulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================================
   شمارش معکوس
========================================================= */

.abbasi-golden-box-timer {
    width: 100%;

    display: flex;

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

    direction: ltr;

    gap: 3px;

    flex-shrink: 0;
}

.abbasi-golden-time {
    width: 38px;
    height: 42px;

    display: flex;

    flex-direction: column;

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

    background: #ffffff;

    border-radius: 6px;

    box-sizing: border-box;

    flex-shrink: 0;
}

.abbasi-golden-time strong {
    display: block;

    color: #111111;

    font-family: Arial, Tahoma, sans-serif;

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

    line-height: 1;
}

.abbasi-golden-time span {
    display: block;

    margin-top: 3px;

    color: #555555;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1;
}

.abbasi-golden-separator {
    color: #ffffff;

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

    line-height: 1;

    flex-shrink: 0;
}

/* =========================================================
   مشاهده همه
========================================================= */

.abbasi-golden-view-all {
    display: inline-flex;

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

    min-width: 105px;
    min-height: 30px;

    margin: 0;
    padding: 5px 10px;

    background: #ffffff;
    color: #111111 !important;

    border: 1px solid #e5e5e5;
    border-radius: 7px;

    text-decoration: none !important;

    font-family: Tahoma, Arial, sans-serif;

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

    touch-action: manipulation;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.abbasi-golden-view-all:hover {
    background: #ffffff;
    color: #111111 !important;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.12);
}

.abbasi-golden-view-all:active {
    transform: scale(0.96);
}

/* =========================================================
   محصولات جعبه طلایی
   دسکتاپ: یک ردیف افقی
   محصولات بعدی خارج از کادر ادامه پیدا می‌کنند
========================================================= */

.abbasi-golden-products {
    flex: 1 1 auto;

    min-width: 0;

    height: 100%;

    display: flex !important;

    flex-direction: row;

    flex-wrap: nowrap !important;

    align-items: stretch;

    gap: 8px;

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

    padding: 0;
    margin: 0;

    box-sizing: border-box;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
}

.abbasi-golden-products::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   کارت محصول
========================================================= */

.abbasi-golden-product {
    position: relative;

    flex: 0 0 calc((100% - 40px) / 6);

    width: calc((100% - 40px) / 6);
    min-width: calc((100% - 40px) / 6);
    max-width: calc((100% - 40px) / 6);

    height: 100%;

    margin: 0;
    padding: 8px;

    background: #ffffff;

    border-radius: 9px;

    overflow: hidden;

    direction: rtl;
    text-align: right;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.08);

    box-sizing: border-box;
}

/* =========================================================
   تخفیف
========================================================= */

.abbasi-golden-product .abbasi-golden-discount {
    position: absolute;

    top: 7px;
    right: 7px;

    z-index: 5;

    width: 42px;
    height: 42px;

    display: flex;

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

    margin: 0;
    padding: 0;

    border-radius: 50%;

    background: #d60000;
    color: #ffffff;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1;

    text-align: center;

    white-space: nowrap;
}

/* =========================================================
   تصویر محصول
========================================================= */

.abbasi-golden-product-image {
    width: 100%;
    height: 145px;

    display: flex;

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

    margin: 0 0 5px;
    padding: 0;

    background: #ffffff;

    overflow: hidden;

    box-sizing: border-box;
}

.abbasi-golden-product-image img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.abbasi-golden-image-placeholder {
    color: #aaaaaa;

    font-family: Tahoma, Arial, sans-serif;

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

    text-align: center;
}

/* =========================================================
   نام محصول
========================================================= */

.abbasi-golden-product-name {
    height: 38px;

    margin: 0 0 2px;
    padding: 0;

    overflow: hidden;

    color: #222222;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1.5;

    text-align: right;

    box-sizing: border-box;
}

/* =========================================================
   قیمت قبلی
========================================================= */

.abbasi-golden-old-price {
    margin: 0;
    padding: 0;
transform: translateY(17px);
    color: #ff0000;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1.4;

    text-decoration: line-through;
}

/* =========================================================
   قیمت جدید
========================================================= */

.abbasi-golden-new-price {
    margin: 25px 0 0;
    padding: 0;

    color: #111111;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1.4;
}


/* =========================================================
   محتوای اصلی
========================================================= */

.abbasi-main {
    width: 100%;

    min-height: 300px;

    margin: 0;
    padding: 0;
}

.abbasi-test-content {
    width: min(1400px, calc(100% - 32px));

    margin: 40px auto;

    text-align: center;
}


/* =========================================================
   فوتر
========================================================= */

.abbasi-footer {
    margin-top: 40px;

    background: #111111;
    color: #ffffff;
}

.abbasi-footer-inner {
    width: min(1400px, calc(100% - 32px));

    margin: 0 auto;
    padding: 45px 0;
}

.abbasi-footer-title {
    font-size: 28px;
    font-weight: 800;
}

.abbasi-footer-text {
    margin-top: 8px;

    color: #dddddd;
}


/* =========================================================
   تبلت و موبایل
========================================================= */

@media (max-width: 900px) {

    /* هدر */

    .abbasi-header-inner {
        min-height: auto;

        padding: 16px 0;

        flex-wrap: wrap;

        gap: 12px;
    }

    .abbasi-logo {
        width: 100%;
        flex: 0 0 100%;

        text-align: center;
    }

    .abbasi-logo a {
        text-align: center;
        font-size: 26px;
    }

    .abbasi-search {
        width: 100%;
        flex: 0 0 100%;

        margin: 0;
    }

    .abbasi-header-actions {
        width: 100%;

        justify-content: center;

        margin: 0;
    }

    .abbasi-account,
    .abbasi-cart {
        flex: 1;

        text-align: center;
    }


    /* منو */

    .abbasi-black-menu {
        height: 46px;
        min-height: 46px;
    }

    .abbasi-black-menu-inner {
        width: calc(100% - 24px);

        height: 46px;
        min-height: 46px;

        gap: 22px;

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

        justify-content: flex-start;

        scrollbar-width: none;
    }

    .abbasi-black-menu-inner::-webkit-scrollbar {
        display: none;
    }

    .abbasi-black-menu-item {
        height: 46px;
        min-height: 46px;

        font-size: 12px;
    }


    /* بنر */

    .abbasi-hero-banners {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }

    .abbasi-hero-slider {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }

    .abbasi-hero-slide,
    .abbasi-hero-slide.active {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }

    .abbasi-hero-content {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }

    .abbasi-hero-media {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }

    .abbasi-hero-media img,
    .abbasi-hero-media video {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }

    .abbasi-hero-overlay {
        right: 5%;
        width: 55%;
    }

    .abbasi-hero-title {
        font-size: 25px;
    }

    .abbasi-hero-description {
        font-size: 15px;
    }

    .abbasi-hero-button-wrap {
        right: 5%;
        top: 72%;
    }

    .abbasi-hero-button {
        min-width: 110px;
        height: 40px;

        padding: 8px 18px;

        font-size: 13px;
    }


    /* دسته‌بندی */

    .abbasi-quick-categories {
        padding: 24px 12px 0;
    }

    .abbasi-quick-categories-inner {
        gap: 14px;
    }

    .abbasi-quick-category {
        min-width: 82px;
        max-width: 105px;

        min-height: 120px;
    }

    .abbasi-quick-category-image {
        width: 62px;
        height: 62px;

        flex-basis: 62px;

        margin-bottom: 8px;
    }

    .abbasi-quick-category-title {
        font-size: 12px;
    }


    /* جعبه طلایی */

    .abbasi-golden-box {
        padding: 0 12px 20px;
    }

    .abbasi-golden-box-inner {
        height: 300px;
    }

    .abbasi-golden-feature {
        flex-basis: 175px;
    }

    .abbasi-golden-feature-title {
        font-size: 20px;
    }

    .abbasi-golden-products {
        gap: 7px;

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


/* =========================================================
   موبایل کوچک
========================================================= */

@media (max-width: 600px) {

    /* نوار بالایی */

    .abbasi-topbar {
        height: 52px;
        min-height: 52px;
    }

    .abbasi-topbar-slide {
        height: 52px;
        min-height: 52px;
    }

    .abbasi-topbar-content {
        padding: 0 10px;
    }

    .abbasi-topbar-text {
        font-size: 12px;

        white-space: normal;

        line-height: 1.2;
    }

    .abbasi-topbar-img,
    .abbasi-topbar-video-player {
        width: 100%;
        height: 100%;

        max-width: none;
        max-height: none;

        object-fit: cover;
    }


    /* بنر */

    .abbasi-hero-banners {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }

    .abbasi-hero-slider {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }

    .abbasi-hero-slide,
    .abbasi-hero-slide.active {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }

    .abbasi-hero-content {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }

    .abbasi-hero-media {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }

    .abbasi-hero-media img,
    .abbasi-hero-media video {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }

    .abbasi-hero-overlay {
        right: 4%;
        width: 62%;

        gap: 8px;
    }

    .abbasi-hero-title {
        font-size: 20px;
    }

    .abbasi-hero-description {
        font-size: 13px;

        line-height: 1.6;
    }

    .abbasi-hero-button-wrap {
        right: 4%;
        top: 72%;
    }

    .abbasi-hero-button {
        min-width: 100px;
        height: 38px;

        padding: 7px 15px;

        font-size: 12px;
    }

    .abbasi-hero-dots {
        bottom: 8px;
        height: 16px;

        gap: 6px;
    }

    .abbasi-hero-dot {
        width: 7px;
        height: 7px;

        min-width: 7px;
        min-height: 7px;
    }

    .abbasi-hero-dot.active {
        width: 7px;
        height: 7px;
    }


    /* دسته‌بندی */

    .abbasi-quick-categories {
        padding: 20px 10px 0;

        overflow: hidden;
    }

    .abbasi-quick-categories-inner {
        width: 100%;

        display: flex;

        justify-content: flex-start;

        gap: 16px;

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

        padding: 2px 4px 8px;

        scroll-behavior: smooth;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .abbasi-quick-categories-inner::-webkit-scrollbar {
        display: none;
    }

    .abbasi-quick-category {
        flex: 0 0 82px;

        width: 82px;
        min-width: 82px;
        max-width: 82px;

        min-height: 118px;

        padding: 3px;

        cursor: pointer;

        touch-action: manipulation;
    }

    .abbasi-quick-category-image {
        width: 58px;
        height: 58px;

        flex-basis: 58px;

        border-width: 2px;

        margin-bottom: 8px;
    }

    .abbasi-quick-category-title {
        font-size: 11px;

        line-height: 1.5;

        font-weight: 700;
    }


    /* جعبه طلایی */

    .abbasi-golden-box {
        padding: 0 8px 18px;

        overflow: hidden;
    }

    .abbasi-golden-box-inner {
        width: 100%;

        height: 300px;

        padding: 8px;

        gap: 7px;

        border-radius: 12px;
    }

    .abbasi-golden-feature {
        flex: 0 0 120px;

        padding: 8px 4px;

        border-radius: 8px;
    }

    .abbasi-golden-feature-title {
        font-size: 16px;
    }

    .abbasi-golden-feature-image {
        width: 70px;
        height: 70px;
    }

    .abbasi-golden-box-animation {
        width: 58px;
        height: 58px;

        font-size: 34px;
    }

    .abbasi-golden-box-timer {
        gap: 2px;
    }

    .abbasi-golden-time {
        width: 25px;
        height: 36px;
    }

    .abbasi-golden-time strong {
        font-size: 11px;
    }

    .abbasi-golden-time span {
        font-size: 6px;
    }

    .abbasi-golden-separator {
        font-size: 10px;
    }

    .abbasi-golden-view-all {
        min-width: 85px;
        min-height: 27px;

        padding: 4px 6px;

        font-size: 8px;
    }

    .abbasi-golden-products {
        display: flex;

        flex-direction: row;

        gap: 7px;

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

        padding: 1px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;

        touch-action: pan-x pan-y;
    }

    .abbasi-golden-products::-webkit-scrollbar {
        display: none;
    }

    .abbasi-golden-product {
        flex: 0 0 calc((100% - 14px) / 3);

        width: calc((100% - 14px) / 3);

        height: 100%;

        padding: 6px;

        border-radius: 7px;
    }

    .abbasi-golden-product-image {
        height: 140px;
    }

    .abbasi-golden-product-name {
        font-size: 9px;
        height: 34px;
    }

    .abbasi-golden-old-price {
        font-size: 7px;
    }

    .abbasi-golden-new-price {
        font-size: 10px;
    }

    .abbasi-golden-product .abbasi-golden-discount {
        top: 5px;
        right: 5px;

        width: 32px;
        height: 32px;

        font-size: 11px;
        font-weight: 900;
    }
}
/* =========================================
   اصلاح نهایی سه نقطه اسلایدر
========================================= */

.abbasi-hero-slider {
    position: relative !important;
    width: 100% !important;
    height: 345px !important;
    overflow: hidden !important;
    background: #111111 !important;
}

/* اسلاید */
.abbasi-hero-slide {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 345px !important;
    min-height: 345px !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 0 !important;
    visibility: hidden !important;

    overflow: hidden !important;
}

.abbasi-hero-slide.active {
    position: absolute !important;

    top: 0 !important;
    right: 0 !important;
    left: 0 !important;

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

    opacity: 1 !important;
    visibility: visible !important;

    display: block !important;
}

/* محتوای اسلاید */
.abbasi-hero-content {
    width: 100% !important;
    height: 345px !important;
    min-height: 345px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
}

/* خود تصویر */
.abbasi-hero-media {
    width: 100% !important;
    height: 345px !important;
    min-height: 345px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: #111111 !important;
}

.abbasi-hero-media img,
.abbasi-hero-media video {
    display: block !important;

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

    min-height: 345px !important;
    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
}

/* =========================================
   سه نقطه — خارج از ارتفاع تصویر
========================================= */

.abbasi-hero-dots {
    position: absolute !important;

    left: 0 !important;
    bottom: 10px !important;

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

    margin: 0 !important;
    padding: 0 !important;

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

    gap: 8px !important;

    background: transparent !important;

    z-index: 100 !important;
}

.abbasi-hero-dot {
    display: block !important;

    width: 9px !important;
    height: 9px !important;

    min-width: 9px !important;
    min-height: 9px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: #ffffff !important;

    opacity: 0.55 !important;

    cursor: pointer !important;
}

.abbasi-hero-dot.active {
    width: 9px !important;
    height: 9px !important;

    background: #ffffff !important;

    opacity: 1 !important;

    transform: scale(1.15) !important;
}


/* =========================================
   موبایل
========================================= */

@media (max-width: 900px) {

    .abbasi-hero-slider {
        height: 300px !important;
    }

    .abbasi-hero-slide,
    .abbasi-hero-slide.active {
        height: 300px !important;
        min-height: 300px !important;
    }

    .abbasi-hero-content {
        height: 300px !important;
        min-height: 300px !important;
    }

    .abbasi-hero-media {
        height: 300px !important;
        min-height: 300px !important;
    }

    .abbasi-hero-media img,
    .abbasi-hero-media video {
        height: 300px !important;
    }
}


/* =========================================
   موبایل کوچک
========================================= */

@media (max-width: 600px) {

    .abbasi-hero-slider {
        height: 220px !important;
    }

    .abbasi-hero-slide,
    .abbasi-hero-slide.active {
        height: 220px !important;
        min-height: 220px !important;
    }

    .abbasi-hero-content {
        height: 220px !important;
        min-height: 220px !important;
    }

    .abbasi-hero-media {
        height: 220px !important;
        min-height: 220px !important;
    }

    .abbasi-hero-media img,
    .abbasi-hero-media video {
        height: 220px !important;
    }

    .abbasi-hero-dots {
        bottom: 7px !important;
    }

    .abbasi-hero-dot,
    .abbasi-hero-dot.active {
        width: 7px !important;
        height: 7px !important;
        min-width: 7px !important;
        min-height: 7px !important;
    }
}
/* =========================================
   دکمه مشاهده و خرید بنر اصلی
========================================= */

.abbasi-hero-button {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #ffffff !important;
}

.abbasi-hero-button:hover {
    background: #ffffff !important;
    color: #111111 !important;
}
/* =========================================================
   نمایش محصولات صفحه اصلی ABBASI BEAUTY
   نسخه حرفه‌ای
========================================================= */

.abbasi-home-products {
    width: min(1400px, calc(100% - 32px));
    height: 400px;
    margin: 0 auto;
    padding: 18px 20px 20px;

    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 0;

    direction: rtl;
    overflow: hidden;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   سربرگ بخش
--------------------------------------------------------- */

.abbasi-home-products-header {
    width: 100%;
    height: 52px;

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

    direction: rtl;

    margin-bottom: 14px;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   عنوان و زیرعنوان
--------------------------------------------------------- */

.abbasi-home-products-heading {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 12px;
}


.abbasi-home-products-title {
    margin: 0;

    color: #222222;

    font-family: Tahoma, Arial, sans-serif;
    font-size: var(--abbasi-products-title-size, 22px);
    font-weight: var(--abbasi-products-title-weight, 800);

    line-height: 1.4;

    white-space: nowrap;
}


.abbasi-home-products-subtitle {
    margin: 0;

    color: var(--abbasi-products-subtitle-color, #777777);

    font-family: Tahoma, Arial, sans-serif;
    font-size: var(--abbasi-products-subtitle-size, 14px);
    font-weight: 500;

    line-height: 1.5;

    white-space: nowrap;
}


/* ---------------------------------------------------------
   دکمه مشاهده همه
--------------------------------------------------------- */

.abbasi-home-products-more-button {
    display: inline-flex;

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

    min-width: 115px;
    height: 38px;

    padding: 0 18px;

    border: 1px solid #222222;
    border-radius: 0;

    background: var(--abbasi-products-more-bg, #111111);
    color: var(--abbasi-products-more-color, #ffffff);

    font-family: Tahoma, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    box-sizing: border-box;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.abbasi-home-products-more-button:hover {
    border-color: #c9a227;

    background: #c9a227;
    color: #ffffff;

    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   نوار افقی محصولات
--------------------------------------------------------- */

.abbasi-home-products-slider {
    width: 100%;
    height: 320px;

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

    direction: rtl;

    box-sizing: border-box;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

    overscroll-behavior-x: contain;

    touch-action: pan-x;
}


.abbasi-home-products-slider::-webkit-scrollbar {
    display: none;
}

/* ---------------------------------------------------------
   ردیف محصولات
--------------------------------------------------------- */

.abbasi-home-products-track {
    width: max-content;
    height: 100%;

    display: flex;
    flex-direction: row;

    gap: 14px;

    direction: rtl;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   کارت محصول
--------------------------------------------------------- */

.abbasi-home-product-card {
    flex: 0 0 190px;

    width: 190px;
    min-width: 190px;

    height: 310px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    border-radius: 0;

    padding: 9px;

    overflow: hidden;

    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* ---------------------------------------------------------
   Hover دسکتاپ
--------------------------------------------------------- */

.abbasi-home-product-card:hover {
    border-color: #c9a227;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.12);

    transform: translateY(-3px);
}


/* ---------------------------------------------------------
   لینک محصول
--------------------------------------------------------- */

.abbasi-home-product-link {
    display: flex;

    flex-direction: column;

    width: 100%;
    height: 100%;

    color: #222222;

    text-decoration: none;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   تصویر محصول
--------------------------------------------------------- */

.abbasi-home-product-image {
    width: 100%;
    height: 195px;

    flex: 0 0 195px;

    display: flex;

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

    background: #ffffff;

    overflow: hidden;

    box-sizing: border-box;
}


.abbasi-home-product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    transition:
        transform 0.25s ease;
}


/* بزرگ شدن بسیار ملایم تصویر */

.abbasi-home-product-card:hover
.abbasi-home-product-image img {
    transform: scale(1.03);
}


/* ---------------------------------------------------------
   بخش پایین کارت محصول
--------------------------------------------------------- */

.abbasi-home-product-info {
    width: 100%;
    height: 84px;
    padding: 5px 4px 0;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   نام محصول
--------------------------------------------------------- */

.abbasi-home-product-title {
    width: 100%;

    height: 40px;
    min-height: 40px;

    margin: 0;

    color: var(--abbasi-products-text-color, #222222);

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1.4;

    text-align: right;

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

    overflow: hidden;

    box-sizing: border-box;
}

/* ---------------------------------------------------------
   قیمت
--------------------------------------------------------- */

.abbasi-home-product-price {
    width: 100%;

    height: 34px;
    min-height: 34px;

    margin-top: 2px;

    display: flex;
    flex-direction: column;

    align-items: flex-end;
    justify-content: flex-end;

    gap: 0;

    color: var(--abbasi-products-text-color, #111111);

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 1.2;

    text-align: right;

    direction: rtl;

    box-sizing: border-box;

    white-space: nowrap;
}


/* ---------------------------------------------------------
   مرتب کردن عدد و ریال
   ریال در سمت چپ عدد
--------------------------------------------------------- */

.abbasi-home-product-price .woocommerce-Price-amount {
    display: inline-flex;

    flex-direction: row-reverse;

    align-items: center;

    direction: rtl;

    white-space: nowrap;
}


/* ---------------------------------------------------------
   قیمت قبلی
   رنگ همان خاکستری قبلی
   فقط خط روی قیمت قرمز
--------------------------------------------------------- */

.abbasi-home-product-price del {
    display: block;

    color: #666666 !important;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.15;

    margin: 0;

    white-space: nowrap;

    direction: rtl;

    text-decoration: none !important;
}


/* خط قرمز روی خود مبلغ قبلی */

.abbasi-home-product-price del .woocommerce-Price-amount {
    text-decoration-line: line-through !important;
    text-decoration-color: #e00000 !important;
    text-decoration-thickness: 2px !important;
}


/* خط قرمز روی ساختار داخلی قیمت ووکامرس */

.abbasi-home-product-price del .woocommerce-Price-amount bdi {
    text-decoration-line: line-through !important;
    text-decoration-color: #e00000 !important;
    text-decoration-thickness: 2px !important;
}

/* ---------------------------------------------------------
   قیمت جدید
--------------------------------------------------------- */

.abbasi-home-product-price ins {
    display: block;

    color: inherit;

    text-decoration: none;

    font-size: 17px;

    font-weight: 900;

    line-height: 1.2;

    margin: 0;

    white-space: nowrap;

    direction: rtl;
}
/* =========================================================
   فلش حرکت محصولات صفحه اصلی
========================================================= */

.abbasi-home-products {
    position: relative;
}

.abbasi-home-products-next {
    position: absolute;

    left: 8px;
    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

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

    padding: 0;

    border: 1px solid #dddddd;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);
    color: #777777;

    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    z-index: 20;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.abbasi-home-products-next:hover {
    background: #ffffff;
    color: #555555;
    border-color: #cccccc;

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


/* ---------------------------------------------------------
   موبایل
--------------------------------------------------------- */

@media (max-width: 768px) {

    .abbasi-home-products-next {
        left: 6px;

        width: 38px;
        height: 38px;

        font-size: 27px;
    }

}
/* ---------------------------------------------------------
   ردیف قیمت قبلی و درصد تخفیف
--------------------------------------------------------- */

.abbasi-home-product-old-price-row {
    width: 100%;
    height: 24px;
    min-height: 24px;

    display: flex;
    flex-direction: row;

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

    gap: 7px;

    direction: ltr;

    white-space: nowrap;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   قیمت قدیم
--------------------------------------------------------- */

.abbasi-home-product-old-price-row del {
    display: inline-block;

    color: #666666 !important;

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

    line-height: 18px;

    margin: 0;

    white-space: nowrap;

    text-decoration-line: line-through !important;
    text-decoration-color: #e00000 !important;
    text-decoration-thickness: 2px !important;

    flex-shrink: 0;
}


/* ---------------------------------------------------------
   کادر درصد تخفیف
--------------------------------------------------------- */

.abbasi-home-product-discount {
    display: inline-flex;

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

    height: 24px;

    padding: 0 8px;

    background: #e00000;
    color: #ffffff;

    border-radius: 4px;

    font-family: Tahoma, Arial, sans-serif;

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

    line-height: 24px;

    white-space: nowrap;

    box-sizing: border-box;

    flex-shrink: 0;
}


/* ---------------------------------------------------------
   قیمت جدید
--------------------------------------------------------- */

.abbasi-home-product-price > ins {
    display: block;

    width: max-content;

    color: inherit;

    text-decoration: none;

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

    line-height: 20px;

    margin-top: 2px;

    white-space: nowrap;

    direction: rtl;
}
/* =========================================================
   ABBASI — SINGLE PRODUCT
   سیستم جدید صفحه محصول
========================================================= */

.abbasi-single-product {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 18px 80px;
    box-sizing: border-box;
    color: #222;
}


/* =========================================================
   دسته‌بندی
========================================================= */

.abbasi-product-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
    font-size: 13px;
    color: #777;
}

.abbasi-product-breadcrumbs a {
    color: #777;
    text-decoration: none;
}

.abbasi-product-breadcrumbs a:hover {
    color: #111;
}

.abbasi-breadcrumb-separator {
    color: #aaa;
}


/* =========================================================
   بخش اصلی
========================================================= */

.abbasi-product-top {
    display: grid;
    grid-template-columns: 385px minmax(0, 1fr) 300px;
    gap: 45px;
    align-items: start;
}

/* =========================================================
   گالری راست
========================================================= */

.abbasi-product-gallery-column {
    min-width: 0;
}

.abbasi-gallery-box {
    position: relative;
    width: 300px;
    height: 300px;
    border: 1px solid #d5d5d5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,.07);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.abbasi-main-product-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    box-sizing: border-box;
}

.abbasi-product-slide {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.abbasi-product-slide.active {
    display: flex;
}

.abbasi-main-image {
    max-width: 88%;
    max-height: 88%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.abbasi-no-product-image {
    color: #999;
    font-size: 14px;
}


/* =========================================================
   فلش‌های گالری
========================================================= */

.abbasi-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: #444;
    font-size: 25px;
    line-height: 28px;
    cursor: pointer;
    z-index: 5;
    padding: 0;
}

.abbasi-gallery-prev {
    left: 10px;
}

.abbasi-gallery-next {
    right: 10px;
}

.abbasi-gallery-arrow:hover {
    background: #f5f5f5;
}


/* =========================================================
   تصاویر کوچک محصول — سمت راست کادر اصلی
========================================================= */

.abbasi-product-gallery-column {
    position: relative;
}

.abbasi-gallery-box {
    margin-right: 85px;
}

.abbasi-product-thumbnails {
    position: absolute;
    top: 0;
    right: 0;

    width: 55px;

    display: flex;
    flex-direction: column;
    gap: 8px;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

.abbasi-product-thumbnail {
    width: 55px;
    height: 55px;

    flex: 0 0 55px;

    padding: 4px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: #fff;

    cursor: pointer;

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

    overflow: hidden;

    box-sizing: border-box;
}

.abbasi-product-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}

.abbasi-product-thumbnail.active {
    border-color: #222;
}

/* =========================================================
   اطلاعات زیر کادر محصول
========================================================= */

.abbasi-gallery-meta {
    width: 300px;
    max-width: 300px;
    min-height: 38px;

    margin-top: 13px;
    margin-left: 0;
    margin-right: 0;

    box-sizing: border-box;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

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

    padding-right: 100px;
    padding-left: 0;

    gap: 8px;

    font-size: 16px;
    line-height: 1;

    color: #777;

    white-space: nowrap;
    overflow: visible;
}


/* امتیاز */
.abbasi-gallery-rating {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;

    white-space: nowrap;

    flex: 0 0 auto;
}

.abbasi-meta-star {
    color: #d4af37;
    font-size: 18px;
    line-height: 1;
}


/* خطوط جداکننده */
.abbasi-meta-divider {
    width: 1px;
    height: 14px;

    flex: 0 0 1px;

    background: #ddd;

    margin: 0;
}


/* دیدگاه */
.abbasi-review-count {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;

    white-space: nowrap;

    font-size: 16px;

    flex: 0 0 auto;
}

.abbasi-review-icon {
    font-size: 16px;
    line-height: 1;
}


/* لایک */
.abbasi-like-button {
    border: 0;
    background: none;

    padding: 3px 5px;

    margin: 0;

    cursor: pointer;

    color: #777;

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

    gap: 3px;

    white-space: nowrap;

    font-size: 16px;

    flex: 0 0 auto;
}

.abbasi-heart {
    font-size: 16px;
    line-height: 1;
}

.abbasi-like-button.active {
    color: #d22;
}


/* اشتراک‌گذاری */
.abbasi-share-button {
    border: 0;
    background: none;

    padding: 3px 5px;

    margin: 0;

    cursor: pointer;

    color: #777;

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

    width: 32px;
    height: 32px;

    flex: 0 0 32px;
}

.abbasi-share-button svg {
    width: 23px;
    height: 23px;

    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.abbasi-share-button:hover {
    color: #222;
}

/* =========================================================
   اطلاعات وسط
========================================================= */

.abbasi-product-info-column {
    width: 620px;
    max-width: 620px;
    min-width: 0;
    padding-top: 4px;
}
.abbasi-product-title-wrap {
    min-height: 70px;
}

.abbasi-product-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.8;
    font-weight: 700;
    color: #222;
}

.abbasi-product-short-desc {
    margin-top: 10px;
    font-size: 13px;
    line-height: 2;
    color: #666;
}


/* =========================================================
   رنگ‌ها
========================================================= */

.abbasi-product-options-area {
    margin-top: 30px;
}

.abbasi-product-options {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.abbasi-product-options-title {
    font-size: 14px !important;
    font-weight: 700;
    margin-bottom: 12px;
}

.abbasi-option-list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
}

.abbasi-option-card {
    width: auto !important;
    min-width: 62px !important;
    max-width: 100px;
    min-height: 58px !important;
    padding: 5px 8px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    background: #fff !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    box-sizing: border-box;
}

.abbasi-option-card:hover {
    border-color: #999 !important;
}

.abbasi-option-card.abbasi-option-selected {
    border-color: #222 !important;
    box-shadow: 0 0 0 1px #222;
}

.abbasi-option-color-image {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
}

.abbasi-option-color-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abbasi-option-code {
    font-size: 12px;
    font-weight: 700;
}

.abbasi-option-name {
    display: none !important;
}

.abbasi-selected-option-box,
.abbasi-selected-option-price {
    display: none !important;
}

.abbasi-option-group-name {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}


/* =========================================================
   متا
========================================================= */

.abbasi-product-info-meta {
    margin-top: 28px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.abbasi-info-row {
    display: flex;
    gap: 10px;
    margin-bottom: 9px;
    font-size: 13px;
}

.abbasi-info-row span {
    color: #888;
}

.abbasi-info-row strong.in-stock {
    color: #16833b;
}

.abbasi-info-row strong.out-of-stock {
    color: #c33;
}


/* =========================================================
   خرید — چپ
========================================================= */

.abbasi-buy-column {
    width: 300px;
}

.abbasi-buy-box {
    width: 300px;
    min-height: 300px;
    box-sizing: border-box;
    border: 1px solid #d5d5d5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,.07);
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.abbasi-buy-guarantee {
    line-height: 2;
}

.abbasi-guarantee-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.abbasi-guarantee-return {
    margin-top: 5px;
    font-size: 12px;
    color: #777;
}


/* =========================================================
   قیمت
========================================================= */

.abbasi-buy-price-area {
    margin-top: auto;
    margin-bottom: 15px;
}

.abbasi-buy-discount-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 26px;
}

.abbasi-buy-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 3px 6px;
    border-radius: 5px;
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.abbasi-old-price {
    color: #999;
    font-size: 12px;
}

.abbasi-final-price {
    margin-top: 4px;
    font-size: 20px;
    font-weight: 800;
    color: #222;
}

.abbasi-final-price .woocommerce-Price-currencySymbol {
    font-size: 12px;
}


/* =========================================================
   فرم خرید
========================================================= */

.abbasi-buy-form form.cart {
    margin: 0 !important;
}

.abbasi-buy-form .quantity {
    display: none !important;
}

.abbasi-buy-form .single_add_to_cart_button {
    width: 100% !important;
    min-height: 48px !important;
    border: 2px solid #e53935 !important;
    border-radius: 8px !important;
    background: #e53935 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
}

.abbasi-buy-form .single_add_to_cart_button:hover {
    background: #c62828 !important;
}


/* =========================================================
   معرفی محصول
========================================================= */

.abbasi-product-introduction {
    width: 100%;
    margin-top: 42px;
}

.abbasi-introduction-inner {
    position: relative;
    min-height: 150px;
    max-height: 150px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    padding: 22px 25px 50px;
    box-sizing: border-box;
}

.abbasi-product-introduction.expanded
.abbasi-introduction-inner {
    max-height: 1000px;
}

.abbasi-introduction-inner h2 {
    margin: 0 0 9px;
    font-size: 21px;
    font-weight: 800;
}

.abbasi-introduction-text {
    font-size: 13px;
    line-height: 2;
    color: #555;
}

.abbasi-introduction-text p {
    margin: 0 0 8px;
}

.abbasi-read-more {
    position: absolute;
    left: 20px;
    bottom: 13px;
    border: 0;
    background: #fff;
    color: #222;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 8px;
}


/* =========================================================
   محصولات مشابه
========================================================= */

.abbasi-similar-products {
    margin-top: 45px;
}

.abbasi-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.abbasi-section-heading h2 {
    margin: 0;
    font-size: 20px;
}

.abbasi-similar-next {
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
}

.abbasi-similar-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

.abbasi-similar-card {
    min-width: 0;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: #222;
    box-sizing: border-box;
}

.abbasi-similar-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abbasi-similar-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.abbasi-similar-name {
    margin-top: 10px;
    min-height: 40px;
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   قیمت محصولات مشابه
========================================================= */

.abbasi-similar-price {
    margin-top: 7px;
    width: 100%;
    box-sizing: border-box;
}

.abbasi-similar-price-row {
    width: 100%;
    min-height: 43px;

    display: flex;
    flex-direction: column;

    justify-content: flex-end;
    align-items: stretch;

    box-sizing: border-box;
}


/* =========================================================
   قیمت قبلی
========================================================= */

.abbasi-similar-old-price {
    min-height: 18px;

    font-size: 11px;
    line-height: 1.5;

    color: #e53935;

    text-align: left;

    direction: ltr;

    text-decoration: line-through;
    text-decoration-color: #e53935;
    text-decoration-thickness: 1px;

    white-space: nowrap;
}


/* =========================================================
   قیمت نهایی
========================================================= */

.abbasi-similar-final-price {
    min-height: 22px;

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

    gap: 4px;

    color: #222;

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

    line-height: 1.5;

    direction: ltr;

    white-space: nowrap;
}


/* ریال */

.abbasi-similar-currency {
    font-size: 11px;
    font-weight: 700;

    color: #222;

    direction: rtl;
}


/* عدد قیمت */

.abbasi-similar-price-number {
    font-size: 13px;
    font-weight: 700;

    color: #222;

    text-decoration: none !important;
    border-bottom: 0 !important;
}


/* =========================================================
   دیدگاه کاربران
========================================================= */

.abbasi-product-reviews {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.abbasi-reviews-content {
    background: #fff;
}


/* =========================================================
   Sticky موبایل
========================================================= */

.abbasi-mobile-sticky-cart {
    display: none;
}


/* =========================================================
   تبلت
========================================================= */

@media (max-width: 1050px) {

    .abbasi-product-top {
        grid-template-columns:
            300px
            minmax(0, 1fr);
    }

    .abbasi-buy-column {
        grid-column: 1 / -1;
        width: 100%;
    }

    .abbasi-buy-box {
        width: 100%;
        min-height: auto;
    }

    .abbasi-similar-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   موبایل
========================================================= */

@media (max-width: 700px) {

    .abbasi-single-product {
        padding: 14px 12px 90px;
    }

    .abbasi-product-breadcrumbs {
        margin-bottom: 14px;
        font-size: 11px;
        line-height: 1.8;
    }


    .abbasi-product-top {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }


    /* =========================================================
       گالری موبایل — کادر جدا برای هر عکس
    ========================================================= */

    .abbasi-product-gallery-column {
        width: 100%;
        order: 1;
        min-width: 0;
    }

    .abbasi-gallery-box {
        position: relative;

        width: calc(100vw - 12px);
        max-width: none;

        height: 270px;

        margin-right: -6px;
        margin-left: 0;

        border: 0;
        border-radius: 0;

        background: #fff;
        box-shadow: none;

        overflow: hidden;
    }

    .abbasi-main-product-image {
        width: 100%;
        height: 100%;

        padding: 0;
        margin: 0;

        display: flex;
        align-items: stretch;
        justify-content: flex-start;

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

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .abbasi-main-product-image::-webkit-scrollbar {
        display: none;
    }


    /* =========================================================
       کادر مستقل هر عکس
    ========================================================= */

    .abbasi-product-slide {
        display: flex;

        flex: 0 0 92%;
        width: 92%;
        height: 100%;

        margin-left: 8px;

        padding: 8px;

        box-sizing: border-box;

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

        border: 1px solid #ddd;
        border-radius: 10px;

        background: #fff;

        scroll-snap-align: start;

        overflow: hidden;
    }

    .abbasi-product-slide.active {
        display: flex;
    }


    .abbasi-main-image {
        width: 100%;
        height: 100%;

        max-width: 100%;
        max-height: 100%;

        object-fit: contain;

        display: block;
    }


    /* فلش‌های گالری در موبایل حذف شوند */

    .abbasi-gallery-arrow {
        display: none !important;
    }


    /* تصاویر کوچک در موبایل حذف شوند */

    .abbasi-product-thumbnails {
        display: none !important;
    }


    /* =========================================================
       اطلاعات زیر عکس
    ========================================================= */

    .abbasi-gallery-meta {
        width: 300px;
        max-width: 300px;

        margin-top: 10px;

        margin-left: 0;
        margin-right: 0;

        box-sizing: border-box;
    }


    /* =========================================================
       اطلاعات محصول
    ========================================================= */

    .abbasi-product-info-column {
        order: 2;
        width: 100%;
    }

    .abbasi-product-title-wrap {
        min-height: auto;
    }

    .abbasi-product-title {
        font-size: 18px;
        line-height: 1.8;
    }

    .abbasi-product-short-desc {
        font-size: 12px;
    }


    /* =========================================================
       گزینه‌ها / رنگ‌ها
    ========================================================= */

    .abbasi-product-options-area {
        margin-top: 20px;
    }

    .abbasi-option-list {
        flex-wrap: nowrap !important;

        overflow-x: auto;

        padding-bottom: 7px;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .abbasi-option-list::-webkit-scrollbar {
        display: none;
    }

    .abbasi-option-card {
        flex: 0 0 auto;

        min-width: 58px !important;
    }


    /* =========================================================
       کادر خرید اصلی در موبایل
       کاملاً مخفی — فقط Sticky باقی می‌ماند
    ========================================================= */

    .abbasi-buy-column {
        display: none !important;
    }


    /* =========================================================
       معرفی محصول
    ========================================================= */

    .abbasi-product-introduction {
        margin-top: 25px;
    }

    .abbasi-introduction-inner {
        min-height: 150px;
        max-height: 150px;

        padding: 18px 17px 48px;
    }

    .abbasi-introduction-inner h2 {
        font-size: 18px;
    }

    .abbasi-introduction-text {
        font-size: 12px;
    }


    /* =========================================================
       محصولات مشابه
    ========================================================= */

    .abbasi-similar-products {
        margin-top: 28px;
    }

    .abbasi-similar-track {
        display: flex;

        gap: 10px;

        overflow-x: auto;

        scroll-snap-type: x mandatory;

        padding-bottom: 8px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .abbasi-similar-track::-webkit-scrollbar {
        display: none;
    }

    .abbasi-similar-card {
        flex: 0 0 calc((100% - 20px) / 3);

        scroll-snap-align: start;

        padding: 8px;
    }

    .abbasi-similar-image {
        height: 105px;
    }

    .abbasi-similar-name {
        font-size: 10px;

        min-height: 37px;
    }


    /* =========================================================
       قیمت محصولات مشابه در موبایل
    ========================================================= */

    .abbasi-similar-price {
        margin-top: 7px;
    }

    .abbasi-similar-old-price {
        font-size: 9px;
        min-height: 16px;
    }

    .abbasi-similar-final-price {
        font-size: 11px;
        min-height: 20px;
        gap: 3px;
    }

    .abbasi-similar-currency {
        font-size: 9px;
    }

    .abbasi-similar-price-number {
        font-size: 11px;
    }

}


/* =========================================================
   دیدگاه کاربران
========================================================= */

.abbasi-product-reviews {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.abbasi-reviews-content {
    background: #fff;
}


/* =========================================================
   Sticky موبایل
========================================================= */

.abbasi-mobile-sticky-cart {
    display: none;
}


/* =========================================================
   تبلت
========================================================= */

@media (max-width: 1050px) {

    .abbasi-product-top {
        grid-template-columns:
            300px
            minmax(0, 1fr);
    }

    .abbasi-buy-column {
        grid-column: 1 / -1;
        width: 100%;
    }

    .abbasi-buy-box {
        width: 100%;
        min-height: auto;
    }

    .abbasi-similar-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   موبایل
========================================================= */

@media (max-width: 700px) {

    .abbasi-single-product {
        padding: 14px 12px 90px;
    }

    .abbasi-product-breadcrumbs {
        margin-bottom: 14px;
        font-size: 11px;
        line-height: 1.8;
    }


    .abbasi-product-top {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }


    /* =========================================================
       گالری موبایل — کادر جدا برای هر عکس
    ========================================================= */

    .abbasi-product-gallery-column {
        width: 100%;
        order: 1;
        min-width: 0;
    }

    .abbasi-gallery-box {
        position: relative;

        width: calc(100vw - 12px);
        max-width: none;

        height: 270px;

        margin-right: -6px;
        margin-left: 0;

        border: 0;
        border-radius: 0;

        background: #fff;
        box-shadow: none;

        overflow: hidden;
    }

    .abbasi-main-product-image {
        width: 100%;
        height: 100%;

        padding: 0;
        margin: 0;

        display: flex;
        align-items: stretch;
        justify-content: flex-start;

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

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .abbasi-main-product-image::-webkit-scrollbar {
        display: none;
    }


    /* =========================================================
       کادر مستقل هر عکس
    ========================================================= */

    .abbasi-product-slide {
        display: flex;

        flex: 0 0 92%;
        width: 92%;
        height: 100%;

        margin-left: 8px;

        padding: 8px;

        box-sizing: border-box;

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

        border: 1px solid #ddd;
        border-radius: 10px;

        background: #fff;

        scroll-snap-align: start;

        overflow: hidden;
    }

    .abbasi-product-slide.active {
        display: flex;
    }


    .abbasi-main-image {
        width: 100%;
        height: 100%;

        max-width: 100%;
        max-height: 100%;

        object-fit: contain;

        display: block;
    }


    /* فلش‌های گالری در موبایل حذف شوند */

    .abbasi-gallery-arrow {
        display: none !important;
    }


    /* تصاویر کوچک در موبایل حذف شوند */

    .abbasi-product-thumbnails {
        display: none !important;
    }


    /* =========================================================
       اطلاعات زیر عکس
    ========================================================= */

    .abbasi-gallery-meta {
        width: 300px;
        max-width: 300px;

        margin-top: 10px;

        margin-left: 0;
        margin-right: 0;

        box-sizing: border-box;
    }


    /* =========================================================
       اطلاعات محصول
    ========================================================= */

    .abbasi-product-info-column {
        order: 2;
        width: 100%;
    }

    .abbasi-product-title-wrap {
        min-height: auto;
    }

    .abbasi-product-title {
        font-size: 18px;
        line-height: 1.8;
    }

    .abbasi-product-short-desc {
        font-size: 12px;
    }


    /* =========================================================
       گزینه‌ها / رنگ‌ها
    ========================================================= */

    .abbasi-product-options-area {
        margin-top: 20px;
    }

    .abbasi-option-list {
        flex-wrap: nowrap !important;

        overflow-x: auto;

        padding-bottom: 7px;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .abbasi-option-list::-webkit-scrollbar {
        display: none;
    }

    .abbasi-option-card {
        flex: 0 0 auto;

        min-width: 58px !important;
    }


    /* =========================================================
       کادر خرید اصلی در موبایل
       کاملاً مخفی — فقط Sticky باقی می‌ماند
    ========================================================= */

    .abbasi-buy-column {
        display: none !important;
    }


    /* =========================================================
       معرفی محصول
    ========================================================= */

    .abbasi-product-introduction {
        margin-top: 25px;
    }

    .abbasi-introduction-inner {
        min-height: 150px;
        max-height: 150px;

        padding: 18px 17px 48px;
    }

    .abbasi-introduction-inner h2 {
        font-size: 18px;
    }

    .abbasi-introduction-text {
        font-size: 12px;
    }


    /* =========================================================
       محصولات مشابه
    ========================================================= */

    .abbasi-similar-products {
        margin-top: 28px;
    }

    .abbasi-similar-track {
        display: flex;

        gap: 10px;

        overflow-x: auto;

        scroll-snap-type: x mandatory;

        padding-bottom: 8px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .abbasi-similar-track::-webkit-scrollbar {
        display: none;
    }

    .abbasi-similar-card {
        flex: 0 0 calc((100% - 20px) / 3);

        scroll-snap-align: start;

        padding: 8px;
    }

    .abbasi-similar-image {
        height: 105px;
    }

    .abbasi-similar-name {
        font-size: 10px;

        min-height: 37px;
    }

    .abbasi-similar-price {
        font-size: 11px;
    }


    /* =========================================================
       دیدگاه
    ========================================================= */

    .abbasi-product-reviews {
        margin-top: 28px;
    }


/* =========================================================
   Sticky خرید موبایل — نسخه اصلاح شده
========================================================= */

@media (max-width: 700px) {

    .abbasi-mobile-sticky-cart {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

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

        height: auto !important;
        min-height: 68px !important;

        margin: 0 !important;
        padding: 8px 10px !important;

        box-sizing: border-box !important;

        display: flex !important;
        flex-direction: row !important;

        align-items: center !important;
        justify-content: space-between !important;

        gap: 10px !important;

        direction: rtl !important;

        background: #ffffff !important;
        border-top: 1px solid #dddddd !important;

        box-shadow:
            0 -4px 15px rgba(0, 0, 0, 0.12) !important;

        z-index: 999999 !important;
    }


    /* -------------------------
       قسمت قیمت
    ------------------------- */

    .abbasi-mobile-sticky-price {
        flex: 1 1 auto !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 150px) !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: flex-start !important;
        justify-content: center !important;

        direction: rtl !important;

        overflow: hidden !important;
    }


    /* قیمت قبلی + درصد تخفیف */

    .abbasi-mobile-sticky-old-price-row {
        width: 100% !important;

        margin: 0 0 2px !important;
        padding: 0 !important;

        display: flex !important;
        flex-direction: row !important;

        align-items: center !important;
        justify-content: flex-start !important;

        gap: 6px !important;

        direction: rtl !important;
    }


    .abbasi-mobile-sticky-old-price {
        display: inline-block !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #999999 !important;

        font-size: 10px !important;
        line-height: 1.3 !important;

        white-space: nowrap !important;
    }


    .abbasi-mobile-sticky-discount {
        display: inline-flex !important;

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

        min-width: 34px !important;
        height: 20px !important;

        margin: 0 !important;
        padding: 0 5px !important;

        box-sizing: border-box !important;

        border-radius: 4px !important;

        background: #e53935 !important;
        color: #ffffff !important;

        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1 !important;

        white-space: nowrap !important;
    }


    /* نوشته قیمت */

    .abbasi-mobile-sticky-label {
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #888888 !important;

        font-size: 9px !important;
        line-height: 1.3 !important;
    }


    /* قیمت نهایی */

    .abbasi-mobile-sticky-final-price {
        display: block !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #222222 !important;

        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1.5 !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;

        direction: rtl !important;
    }


    .abbasi-mobile-sticky-final-price .woocommerce-Price-currencySymbol {
        font-size: 10px !important;
    }


    /* -------------------------
       دکمه افزودن به سبد خرید
    ------------------------- */

    .abbasi-mobile-sticky-button {
        flex: 0 0 140px !important;

        width: 140px !important;
        max-width: 140px !important;

        min-width: 140px !important;

        height: 50px !important;
        min-height: 50px !important;

        margin: 0 !important;
        padding: 0 8px !important;

        box-sizing: border-box !important;

        display: flex !important;

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

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

        background: #e53935 !important;
        color: #ffffff !important;

        font-size: 13px !important;
        font-weight: 700 !important;

        line-height: 1.4 !important;

        text-align: center !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        cursor: pointer !important;

        direction: rtl !important;
    }


    .abbasi-mobile-sticky-button:hover {
        background: #c62828 !important;
        color: #ffffff !important;
    }

}


/* =========================================================
   گوشی خیلی کوچک
========================================================= */

@media (max-width: 380px) {

    .abbasi-mobile-sticky-cart {
        min-height: 64px !important;
        padding: 7px 8px !important;
        gap: 7px !important;
    }

    .abbasi-mobile-sticky-price {
        max-width: calc(100% - 125px) !important;
    }

    .abbasi-mobile-sticky-button {
        flex-basis: 120px !important;

        width: 120px !important;
        max-width: 120px !important;
        min-width: 120px !important;

        height: 48px !important;
        min-height: 48px !important;

        font-size: 12px !important;
    }

}   
/* =========================================================
   جعبه طلایی — تنظیم نهایی کارت محصول دسکتاپ
   ========================================================= */

@media (min-width: 701px) {

    /* کارت: اندازه فعلی حفظ شود */
    .abbasi-golden-box .abbasi-golden-product {
        position: relative !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }


    /* تصویر کمی بزرگ‌تر */
    .abbasi-golden-box .abbasi-golden-product-image {
        height: 155px !important;
        margin-bottom: 8px !important;
    }

    .abbasi-golden-box .abbasi-golden-product-image img {
        max-width: 100% !important;
        max-height: 155px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }


    /* اسم محصول */
    .abbasi-golden-box .abbasi-golden-product-name {
        height: 40px !important;
        margin: 0 !important;

        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1.6 !important;

        overflow: hidden !important;
    }


   /* =========================
   قیمت قبلی — دسکتاپ
   ========================= */

.abbasi-golden-box .abbasi-golden-old-price {
    position: absolute !important;

    left: 8px !important;
    right: auto !important;
    bottom: 48px !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;

    direction: ltr !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    color: #777 !important;

    white-space: nowrap !important;
}


/* =========================
   عدد قیمت قبلی
   ========================= */

.abbasi-golden-box .abbasi-golden-old-price .abbasi-price-number {
    position: relative !important;

    display: inline-block !important;

    color: #777 !important;

    text-decoration: none !important;
}


/* =========================
   خط قرمز روی قیمت قبلی
   ========================= */

.abbasi-golden-box .abbasi-golden-old-price .abbasi-price-number::after {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    right: 0 !important;

    top: 50% !important;

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

    background-color: #ff0000 !important;

    transform: translateY(-50%) !important;

    z-index: 999 !important;
}

    /* =========================
       قیمت جدید
       ========================= */

    .abbasi-golden-box .abbasi-golden-new-price {
        position: absolute !important;

       left: 0 !important;
    right: auto !important;
        bottom: 8px !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;

        direction: ltr !important;

        font-size: 14px !important;
        font-weight: 900 !important;
        line-height: 1 !important;

        color: #111 !important;

        white-space: nowrap !important;
    }


    /* ریال قیمت جدید */
    .abbasi-golden-box .abbasi-golden-new-price
    .abbasi-price-unit {
        margin-right: 4px !important;

        color: #111 !important;

        font-size: 13px !important;
        font-weight: 900 !important;
    }


    /* عدد قیمت جدید */
    .abbasi-golden-box .abbasi-golden-new-price
    .abbasi-price-number {
        color: #111 !important;

        font-size: 14px !important;
        font-weight: 900 !important;
    }

}
/* =========================================
   فقط دسکتاپ — تنظیم متن و قیمت کارت
   ابعاد کارت دست‌نخورده
========================================= */

@media (min-width: 901px) {

    .abbasi-golden-product-name {
        margin-top: 8px;
        margin-bottom: 6px;
        font-size: 10px;
        font-weight: 800;
        line-height: 1.5;
    }

    .abbasi-golden-old-price {
        margin-top: 8px;
        margin-bottom: 2px;
        font-size: 8px;
        font-weight: 600;
        color: #999999;
        text-decoration-line: line-through;
        text-decoration-color: #e00000;
        text-decoration-thickness: 2px;
        text-decoration-skip-ink: none;
    }

    .abbasi-golden-new-price {
        margin-top: 8px;
        font-size: 12px;
        font-weight: 900;
        line-height: 1.4;
    }

}	
@media (min-width: 701px) {
    .abbasi-golden-box .abbasi-golden-product {
        text-align: left !important;
    }

    .abbasi-golden-box .abbasi-golden-old-price,
    .abbasi-golden-box .abbasi-golden-new-price {
        float: left !important;
        text-align: left !important;
    }
}
/* =========================================================
   جعبه طلایی — تنظیم نهایی موبایل
   فقط موبایل
========================================================= */

@media (max-width: 700px) {

    /* =====================================================
       خود جعبه طلایی
    ===================================================== */

    .abbasi-golden-box {
        width: 100% !important;

        margin: 0 !important;
        padding: 0 8px 12px !important;

        box-sizing: border-box !important;
    }


    /* =====================================================
       بدنه اصلی
       نوار بالا + محصولات زیر آن
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-box-inner {
        width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 6px !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 7px !important;

        border-radius: 10px !important;

        overflow: hidden !important;

        box-sizing: border-box !important;
    }


    /* =====================================================
       نوار بالایی
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-feature {

        position: relative !important;

        flex: 0 0 42px !important;

        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;

        margin: 0 !important;
        padding: 4px 6px !important;

        display: flex !important;
        flex-direction: row !important;

        align-items: center !important;
        justify-content: flex-start !important;

        gap: 5px !important;

        direction: rtl !important;

       

        border-radius: 8px !important;

        box-sizing: border-box !important;

        overflow: hidden !important;
    }


    /* =====================================================
       حذف تصویر هدیه در موبایل
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-feature-image {
        display: none !important;
    }


    /* =====================================================
       عنوان جعبه طلایی
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-feature-title {

        order: 1 !important;

        flex: 0 0 auto !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #ffffff !important;

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

        line-height: 1 !important;

        white-space: nowrap !important;
    }


    /* =====================================================
       تایمر
       محتویات تایمر مستقیماً داخل نوار قرار می‌گیرند
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-box-timer {

        display: contents !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        direction: rtl !important;
    }


    /* =====================================================
       اندازه باکس‌های زمان
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-time {

        width: 29px !important;
        min-width: 29px !important;
        max-width: 29px !important;

        height: 32px !important;
        min-height: 32px !important;

        margin: 0 !important;
        padding: 2px !important;

        display: flex !important;

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

        background: #ffffff !important;

        border-radius: 5px !important;

        box-sizing: border-box !important;

        flex-shrink: 0 !important;
    }


    .abbasi-golden-box .abbasi-golden-time strong {

        font-size: 11px !important;
        font-weight: 800 !important;

        line-height: 1 !important;

        color: #111111 !important;
    }


    .abbasi-golden-box .abbasi-golden-time span {

        margin-top: 2px !important;

        font-size: 6px !important;
        font-weight: 700 !important;

        line-height: 1 !important;

        color: #555555 !important;
    }


    /* =====================================================
       جداکننده‌ها
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-separator {

        margin: 0 !important;
        padding: 0 !important;

        color: #ffffff !important;

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

        line-height: 1 !important;

        flex-shrink: 0 !important;
    }


/* =====================================================
   ترتیب نمایش موبایل
   جعبه طلایی → ثانیه → دقیقه → ساعت → روز → مشاهده همه
   فقط موبایل
===================================================== */

.abbasi-golden-box .abbasi-golden-feature-title {
    order: 1 !important;
}


/* ثانیه */
.abbasi-golden-box .abbasi-golden-box-timer
.abbasi-golden-time:nth-child(7) {
    order: 2 !important;
}


/* جداکننده */
.abbasi-golden-box .abbasi-golden-box-timer
.abbasi-golden-separator:nth-child(6) {
    order: 3 !important;
}


/* دقیقه */
.abbasi-golden-box .abbasi-golden-box-timer
.abbasi-golden-time:nth-child(5) {
    order: 4 !important;
}


/* جداکننده */
.abbasi-golden-box .abbasi-golden-box-timer
.abbasi-golden-separator:nth-child(4) {
    order: 5 !important;
}


/* ساعت */
.abbasi-golden-box .abbasi-golden-box-timer
.abbasi-golden-time:nth-child(3) {
    order: 6 !important;
}


/* جداکننده */
.abbasi-golden-box .abbasi-golden-box-timer
.abbasi-golden-separator:nth-child(2) {
    order: 7 !important;
}


/* روز */
.abbasi-golden-box .abbasi-golden-box-timer
.abbasi-golden-time:nth-child(1) {
    order: 8 !important;
}


/* =====================================================
   حذف نوشته‌های روز / ساعت / دقیقه / ثانیه
   فقط موبایل
===================================================== */

.abbasi-golden-box .abbasi-golden-time span {
    display: none !important;
}


/* =====================================================
   مشاهده همه
   بدون کادر و پس‌زمینه
===================================================== */

.abbasi-golden-box .abbasi-golden-view-all {
    order: 9 !important;

    min-width: auto !important;
    min-height: auto !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 2px 3px !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    color: #ffffff !important;

    font-size: 8px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    white-space: nowrap !important;
}


    /* =====================================================
       مشاهده همه
       بدون کادر، بدون پس‌زمینه
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-view-all {

        order: 9 !important;

        flex: 0 0 auto !important;

        min-width: auto !important;
        min-height: auto !important;

        width: auto !important;
        height: auto !important;

        margin: 0 !important;
        padding: 2px 3px !important;

        background: transparent !important;

        border: none !important;
        box-shadow: none !important;

        color: #ffffff !important;

        font-size: 8px !important;
        font-weight: 700 !important;

        line-height: 1 !important;

        white-space: nowrap !important;

        text-decoration: none !important;
    }


    .abbasi-golden-box .abbasi-golden-view-all:hover,
    .abbasi-golden-box .abbasi-golden-view-all:focus,
    .abbasi-golden-box .abbasi-golden-view-all:active {

        background: transparent !important;

        border: none !important;
        box-shadow: none !important;

        color: #ffffff !important;
    }


    /* =====================================================
       بخش محصولات
       اسکرول افقی
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-products {

        width: 100% !important;
        height: 178px !important;
        min-height: 178px !important;

        flex: 0 0 178px !important;

        display: flex !important;

        flex-direction: row !important;
        flex-wrap: nowrap !important;

        align-items: stretch !important;

        gap: 8px !important;

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

        padding: 0 !important;
        margin: 0 !important;

        direction: rtl !important;

        scrollbar-width: none !important;

        -webkit-overflow-scrolling: touch !important;

        box-sizing: border-box !important;
    }


    .abbasi-golden-box .abbasi-golden-products::-webkit-scrollbar {
        display: none !important;
    }


    /* =====================================================
       کارت محصولات
       حدود ۲ کارت کامل + نصف کارت سوم
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-product {

        position: relative !important;

        flex: 0 0 calc((100% - 16px) / 2.5) !important;

        width: calc((100% - 16px) / 2.5) !important;

        min-width: calc((100% - 16px) / 2.5) !important;

        max-width: calc((100% - 16px) / 2.5) !important;

        height: 100% !important;

        margin: 0 !important;
        padding: 6px !important;

        border-radius: 8px !important;

        box-sizing: border-box !important;

        overflow: hidden !important;
    }


    /* =====================================================
       تصویر محصول موبایل
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-product-image {

        width: 100% !important;

        height: 95px !important;

        margin: 0 0 4px !important;

        display: flex !important;

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

        box-sizing: border-box !important;
    }


    .abbasi-golden-box .abbasi-golden-product-image img {

        width: auto !important;
        height: auto !important;

        max-width: 100% !important;
        max-height: 95px !important;

        object-fit: contain !important;
    }


    /* =====================================================
       نام محصول
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-product-name {

        width: 100% !important;

        height: 34px !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 9px !important;
        font-weight: 800 !important;

        line-height: 1.5 !important;

        overflow: hidden !important;

        text-align: right !important;

        box-sizing: border-box !important;
    }


    /* =====================================================
       قیمت قبلی
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-old-price {

        position: absolute !important;

        left: 5px !important;
        right: auto !important;

        bottom: 34px !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

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

        line-height: 1 !important;

        white-space: nowrap !important;
    }


    /* =====================================================
       قیمت جدید
    ===================================================== */

    .abbasi-golden-box .abbasi-golden-new-price {

        position: absolute !important;

        left: 5px !important;
        right: auto !important;

        bottom: 6px !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;

        align-items: center !important;

        direction: ltr !important;

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

        line-height: 1 !important;

        white-space: nowrap !important;

        color: #111111 !important;
    }


    .abbasi-golden-box .abbasi-golden-new-price
    .abbasi-price-number {

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

        color: #111111 !important;
    }


    .abbasi-golden-box .abbasi-golden-new-price
    .abbasi-price-unit {

        margin-right: 3px !important;

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

        color: #111111 !important;
    }

}	
/* =========================================================
   ABBASI — کارت محصولات صفحه اصلی در موبایل
   ۲ کارت کامل + حدود نصف کارت سوم
   فقط موبایل
========================================================= */

@media (max-width: 768px) {

    .abbasi-home-products-slider {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;

        touch-action: auto;
    }

    .abbasi-home-products-slider::-webkit-scrollbar {
        display: none;
    }

    .abbasi-home-products-track {
        width: max-content;
        min-width: 100%;

        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;

        gap: 10px;

        direction: ltr;
    }

    .abbasi-home-product-card {
        flex: 0 0 calc((100vw - 20px - 20px) / 2.5) !important;

        width: calc((100vw - 20px - 20px) / 2.5) !important;

        min-width: calc((100vw - 20px - 20px) / 2.5) !important;

        max-width: calc((100vw - 20px - 20px) / 2.5) !important;

        flex-shrink: 0 !important;

        box-sizing: border-box;
    }

}	