@font-face {
    font-family: 'Peyda';
    src: url('../fonts/PeydaFaNumWeb-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Peyda';
    src: url('../fonts/PeydaFaNumWeb-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'kalameh';
    src: url('../fonts/KalamehWebFaNum-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


html {
    margin: 0 !Important;
}

/*armin root css*/
:root {
    --main: #2A2A2A;
    --second: #F20361;
    --bg: #F5EEE1;
    --text: #2A2A2A;
    --text2: #767676;

    --gold: #F29C3F;
}

* {

    list-style: none;
}

.c-main {
    color: var(--main);
}

.c-second {
    color: var(--second);
}

.bg-main {
    background: var(--main);
}

.bg-second {
    background: var(--second);
}

.bg-bg {
    background: var(--bg);

}

body {
    font-family: "Peyda";
    font-size: 0.8rem;
    color: var(--text);
    line-height: 2;

}

img {
    height: auto !important;
    max-width: 100%;
}

a {
    text-decoration: none !important;
    color: unset;
}


ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.9rem;
}

h6 {
    font-size: 0.8rem;
}

.fs-8 {
    font-size: 0.5rem;
}

.fs-9 {
    font-size: 0.5625rem;
}

.fs-10 {
    font-size: 0.625rem;
}

.fs-11 {
    font-size: 0.6875rem;
}

.fs-12 {
    font-size: 0.75rem;
}

.fs-13 {
    font-size: 0.8125rem;
}

.fs-14 {
    font-size: 0.875rem;
}

.fs-15 {
    font-size: 0.9375rem;
}

.fs-16 {
    font-size: 1rem;
}

.fs-17 {
    font-size: 1.0625rem;
}

.fs-18 {
    font-size: 1.125rem;
}

.fs-19 {
    font-size: 1.1875rem;
}

.fs-20 {
    font-size: 1.25rem;
}

.fs-21 {
    font-size: 1.3125rem;
}

.fs-22 {
    font-size: 1.375rem;
}

.fs-23 {
    font-size: 1.4375rem;
}

.fs-24 {
    font-size: 1.5rem;
}

.fs-25 {
    font-size: 1.5625rem;
}

.fs-26 {
    font-size: 1.625rem;
}

.fs-27 {
    font-size: 1.6875rem;
}

.fs-28 {
    font-size: 1.75rem;
}

.fs-29 {
    font-size: 1.8125rem;
}

.fs-30 {
    font-size: 1.875rem;
}

.fs-31 {
    font-size: 1.9375rem;
}

.fs-32 {
    font-size: 2rem;
}

.fs-40 {
    font-size: 40px;
}

.fs-50 {
    font-size: 50px;
}

.text-justify {
    text-align: justify;
}


#main-menu .menu-item a {
    font-weight: 200 !important;
    font-size: 16px !important;
    color: var(--main) !important;
}

#main-menu .menu-item a.active {
    font-weight: bold !important;
}


.dropdown-toggle::after {
    display: block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "\002B";
    border-top: unset !important;
    border-right: unset !important;
    border-bottom: 0;
    border-left: unset !important;
    float: left;
    margin-right: 0.5rem;
}

#main-menu li.dropdown:hover ul > .dropdown.nav-item {
    display: block;
}

#main-menu li.dropdown:hover > ul {
    display: block;
    position: absolute;
    text-align: right;
}

a.nav-link.dropdown-toggle.show::after {
    content: "\002D";
}

#main-menu li.dropdown:hover ul.depth_0 {
    display: block;
    position: absolute;
    padding: 0 !important;
    top: 90%;
    border-radius: 0.25rem;
    background: white !important;
    border: unset;
    text-align: unset;
}

#main-menu li.dropdown:hover ul > .dropdown.nav-item {
    border: unset;
    padding: unset;
    position: relative;
}

ul.depth_1 {
    right: 95%;
    top: 50%;
}

#main-menu li {
    background: unset !important;
}


/* بهبود تجربه هاور در دسکتاپ */
@media (min-width: 992px) {
    .navbar .dropdown-menu.show {
        display: block; /* تضمین نمایش وقتی JS کلاس show می‌ذاره */
    }
}


.single-blog .single-thumb {
    display: block;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .10);
    overflow: hidden;
}

.single-blog .single-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.single-blog .cats {
    display: inline-block;
    font-size: 13px;
    color: #6b7280;
}

.single-blog .cats a {
    color: inherit;
    text-decoration: none;
}

.single-blog .cats a:hover {
    text-decoration: underline;
}

.single-blog h1 {
    font-weight: 800;
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.25;
    margin: 12px 0 8px 0;
}

.single-blog .info {
    color: #6b7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-blog .single-excerpt {
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.9;
    color: #374151;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px 16px;
}

/* روی موبایل اول عکس بیاد و متن روی کارت روشن بیاد خواناتر بشه */
@media (max-width: 767.98px) {
    .single-blog .single-thumb {
        border-radius: 16px;
    }

    .single-blog .single-excerpt {
        background: #fff;
    }
}

/* ===============================
   2) TOC (همون #post-toc داخل .toc-wrap)
   =============================== */
.toc-wrap {
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
    margin: 24px 0;
}

.toc-wrap .toc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    margin: 0 0 8px 0;
}

#post-toc {
    max-height: 420px;
    overflow: auto;
    padding: 8px 4px;
    scrollbar-width: thin;
}

#post-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#post-toc li {
    margin: .25rem 0;
}

#post-toc a {
    text-decoration: none;
    display: inline-block;
    padding: 2px 0;
    border-bottom: 1px dashed transparent;
}

#post-toc a:hover {
    border-bottom-color: currentColor;
}

#post-toc ul ul {
    padding-inline-start: 14px;
    opacity: .95;
}

/* ===============================
   3) محتوای مقاله (.post-content)
   =============================== */
.post-content {
    font-size: 16px;
    line-height: 1.9;
    color: #18181b;
}

.post-content p {
    margin: 0 0 1rem 0;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    font-weight: 800;
    line-height: 1.35;
    margin: 2rem 0 .75rem 0;
}

.post-content h2 {
    font-size: clamp(20px, 2.2vw, 28px);
}

.post-content h3 {
    font-size: clamp(18px, 1.9vw, 24px);
}

.post-content h4 {
    font-size: clamp(16px, 1.6vw, 20px);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1rem 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
}

.post-content figure {
    margin: 1.2rem 0;
}

.post-content figcaption {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin-top: .35rem;
}

/* فهرست‌ها */
.post-content ul, .post-content ol {
    margin: .8rem 0;
    padding-inline-start: 1.25rem;
}

.post-content li {
    margin: .25rem 0;
}

.post-content ul li {
    list-style: disc;
}

.post-content ol li {
    list-style: decimal;
}

/* نقل‌قول */
.post-content blockquote {
    margin: 1.25rem 0;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #fff, #fafafa);
    position: relative;
}

.post-content blockquote::before {
    content: "“";
    position: absolute;
    inset-inline-start: 10px;
    top: -8px;
    font-size: 42px;
    line-height: 1;
    color: #e5e7eb;
    pointer-events: none;
}

.post-content blockquote p {
    margin: 0.35rem 0;
}

/* کد و جداول */
.post-content code {
    background: #111827;
    color: #fff;
    padding: .2em .45em;
    border-radius: 6px;
    font-size: .875em;
}

.post-content pre {
    background: #0b1220;
    color: #d1d5db;
    border-radius: 12px;
    padding: 14px 16px;
    overflow: auto;
    line-height: 1.8;
    margin: 1rem 0;
}

.post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 15px;
}

.post-content th, .post-content td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    vertical-align: top;
}

.post-content thead th {
    background: #f8fafc;
    font-weight: 700;
}

/* لینک‌ها */
.post-content a {
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
}

.post-content a:hover {
    border-bottom-style: solid;
}

/* صفحه‌بندی داخلی پست */
.page-links {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    border: 1px dashed #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
}

/* ===============================
   4) کامنت‌ها — نمایش ستونی + ریپلای تمیز
   =============================== */

/* ظرف کلی بخش دیدگاه‌ها */
.comments {
    margin-top: 2.2rem;
    border-top: 1px solid rgba(0, 0, 0, .06);
    padding-top: 1.5rem;
}

/* ساختار پایه لیست‌ها */
.comment-list, .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* هر کامنت: به‌صورت بلوک (ستونی) */
.comment {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.comment:last-child {
    border-bottom: none;
}

/* هد (آواتار + نام + تاریخ) */
.comment .comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.comment .comment-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.comment .comment-author .fn {
    font-weight: 800;
    color: #111827;
    font-size: 14px;
}

.comment .comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment .comment-metadata a:hover {
    text-decoration: underline;
}

/* متن کامنت */
.comment .comment-content {
    font-size: 15px;
    line-height: 1.9;
    color: #1f2937;
    margin-top: 6px;
}

/* لینک پاسخ */
.comment .reply {
    margin-top: 10px;
}

.comment .reply .comment-reply-link {
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, .1);
    padding: 4px 12px;
    border-radius: 999px;
    text-decoration: none;
}

.comment .reply .comment-reply-link:hover {
    background: #f3f4f6;
}

/* حالت نویسنده پست */
.bypostauthor > .comment-body,
.bypostauthor > .comment {
    border-inline-start: 3px solid #10b981;
    padding-inline-start: 12px;
    background: linear-gradient(180deg, #ffffff, #fbfffd);
    border-radius: 8px;
}

/* ── ریپلای‌ها (children) : خطوط راهنما و فرورفتگی منطقی ── */
.children {
    margin-top: 10px;
    padding-inline-start: 18px; /* فرورفتگی منطقی برای RTL/LTR */
    border-inline-start: 2px dashed #e5e7eb;
}

.children .comment {
    border-bottom: none; /* داخل شاخه فرعی خط جداکننده نمی‌خواهیم */
    padding: 14px 0 6px 0;
}

/* عمق‌های بیشتر: کمی کم‌رنگ‌تر */
.children .children {
    border-inline-start: 2px dashed #f0f0f0;
    padding-inline-start: 16px;
}

/* رفع بی‌نظمی مارک‌آپ‌های مختلف تم‌ها */
.comment-body {
    margin: 0;
}

.comment-meta + .comment-content {
    margin-top: 4px;
}

/* پیام در انتظار تایید */
.comment-awaiting-moderation {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: #b45309;
    background: #fff7ed;
    border: 1px solid #fdba74;
    padding: 2px 8px;
    border-radius: 8px;
}

/* فرم دیدگاه‌ها — طبق خواسته شما تغییری نمی‌دهیم،
   فقط فاصله‌ی بالا تا لیست را استاندارد می‌کنیم */
.comment-respond {
    margin-top: 1.75rem;
}

.woocommerce p.stars a::before {
    color: var(--gold);
}

.woocommerce #review_form #respond .form-submit input {
    background: unset !important;
    font-size: 16px !important;
    color: var(--main) !important;
    text-decoration: underline;
    text-underline-offset: 0.5rem;
    padding: 0;
    line-height: 2;
}

h2.woocommerce-Reviews-title {
    font-size: 1rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
    display: none;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
    margin: 0;

}

.woocommerce #reviews #comments ol.commentlist {
    padding: 0;
}

span.woocommerce-review__dash {
    display: none;
}

.commentlist p.meta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 0.5rem 0 !important;
    border-bottom: 1px solid var(--bg);
}

.woocommerce .star-rating {
    float: unset !important;
    color: var(--gold);
}

strong.woocommerce-review__author {
    font-size: 14px;
    color: var(--main);
}

/* ===============================
   5) ریزبهینه‌سازی‌های ریسپانسیو
   =============================== */
@media (max-width: 991.98px) {
    .single-blog .info {
        font-size: 13px;
    }

    .post-content {
        font-size: 15.5px;
    }
}

@media (max-width: 575.98px) {
    .single-blog .single-excerpt {
        font-size: 15px;
    }

    .post-content {
        font-size: 15px;
    }
}

/* ظرف فرم دیدگاه */
.comment-respond {
    margin-top: 2.25rem;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

/* عنوان فرم */
.comment-reply-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 800;
}

/* متن‌های راهنما و لاگین */
.comment-notes,
.logged-in-as {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

/* گروه‌های فرم */
.comment-form p {
    margin-bottom: 10px;
}

/* لیبل‌ها */
.comment-form label {
    display: block;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 6px;
}

/* فیلدهای ورودی */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    background: #fff;
}

/* textarea بزرگ‌تر */
.comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* حالت فوکوس */
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, .25);
}

/* کوکی‌ها و چک‌باکس */
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-form-cookies-consent input {
    width: 16px;
    height: 16px;
}

/* دکمه ارسال */
.form-submit input[type="submit"] {
    display: inline-block;
    border: none;
    background: #111827;
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}

.form-submit input[type="submit"]:hover {
    background: #0f172a;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.form-submit input[type="submit"]:active {
    transform: translateY(1px);
}

span.cats a {
    background: var(--second);
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 0.5rem;
}

/* ===============================
   Sidebar – Base
   =============================== */
.side-section {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

.side-section + .side-section {
    margin-top: 20px;
}

.side-section > h3 {
    color: black;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===============================
   Search Box
   =============================== */
#searchform {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

#searchform .searchButtonBlog {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: box-shadow .2s ease, transform .06s ease, border-color .2s ease;
}

#searchform .searchButtonBlog:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
    border-color: rgba(0, 0, 0, .12);
}

#searchform .searchButtonBlog:active {
    transform: translateY(1px);
}

#searchform .searchButtonBlog svg path {
    fill: var(--second, #0ea5e9);
}

#searchform #gsearch {
    flex: 1 1 auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    height: 44px;
    padding-inline: 14px;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#searchform #gsearch::placeholder {
    color: #9ca3af;
}

#searchform #gsearch:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, .25);
    outline: none;
}

/* ===============================
   Last Posts
   =============================== */
.side-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-section .items {
    gap: 12px;
    text-decoration: none;
    padding: 10px;
    border-radius: 12px;
    transition: background .2s ease, box-shadow .2s ease, transform .06s ease;
}

.side-section .items:hover {
    background: #fafafa;
    box-shadow: inset 0 0 0 1px #eee;
}

.side-section .items:active {
    transform: translateY(1px);
}

.side-section .items img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .10);
    flex: 0 0 72px;
}

.side-section .items .content {
    min-width: 0; /* برای truncate کار کند */
    padding-inline: 8px !important; /* حفظ فاصله بدون وابستگی به style inline */
}

.side-section .items h6 {
    margin: 0 0 6px 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* دو خطه */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-section .items svg {
    float: right;
    opacity: .7;
    transition: transform .2s ease, opacity .2s ease;
}

.side-section .items:hover svg {
    transform: translateX(var(--slide, -2px));
    opacity: 1;
}

/* RTL/LTR: جهت فلش */
html[dir='rtl'] .side-section .items {
    --slide: 2px;
}

/* فاصله‌ی بین آیتم‌ها */
.side-section li + li {
    margin-top: 8px;
}

/* ===============================
   Categories
   =============================== */
.list-cat li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 6px;
    border-radius: 10px;
    transition: background .2s ease;
    margin: 0;
}

.list-cat li:hover {
    background: #fafafa;
}

.list-cat li svg {
    flex: 0 0 auto;
    opacity: .7;
    margin: 0.5rem;
}

.list-cat a {
    text-decoration: none;
    color: black !important;
    font-size: 13px;
    line-height: 1.5;
    display: inline-block;
    border-bottom: 1px dashed transparent;
}

.list-cat a:hover {
    border-bottom-color: currentColor;
}

/* Active Category */
.list-cat a.active {
    color: var(--second, #0ea5e9);
    font-weight: 800;
    background: rgba(14, 165, 233, .06);
    padding: 4px 8px;
    border-radius: 999px;
    border-bottom-color: transparent;
}


/* ===============================
   Responsive
   =============================== */
@media (max-width: 991.98px) {
    .side-section {
        padding: 14px;
        border-radius: 14px;
    }

    .side-section .items img {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }
}

@media (max-width: 575.98px) {
    #searchform {
        gap: 8px;
    }

    #searchform #gsearch {
        height: 42px;
    }

    .side-section .items {
        padding: 8px;
        gap: 10px;
    }

    .side-section .items h6 {
        font-size: 13.5px;
    }
}

/* ===============================
   Focus Visible (Accessibility)
   =============================== */
.side-section a:focus-visible,
#searchform .searchButtonBlog:focus-visible,
#searchform #gsearch:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .25);
    border-color: var(--second, #0ea5e9);
}

/* ===============================
   Optional Dark Mode
   =============================== */
@media (prefers-color-scheme: dark) {
    .side-section {
        background: #0b1220;
        border-color: rgba(255, 255, 255, .06);
        box-shadow: none;
    }

    .side-section > h4,
    .side-section .items h6,
    .list-cat a {
        color: #e5e7eb;
    }

    #searchform #gsearch {
        background: #0f1626;
        color: #e5e7eb;
        border-color: rgba(255, 255, 255, .12);
    }

    #searchform .searchButtonBlog {
        background: #0f1626;
        border-color: rgba(255, 255, 255, .1);
    }

    .side-section .items:hover {
        background: #0f1626;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    }

    .list-cat li:hover {
        background: #0f1626;
    }

    .page-links {
        background: #0f1626;
        border-color: rgba(255, 255, 255, .1);
    }
}


/* ----- Wrapper ----- */
body .gform_wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: "Segoe UI", Roboto, sans-serif;
}

/* ----- Form Title & Description ----- */
body .gform_heading .gform_title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #111;
}

body .gform_heading .gform_description {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
}

/* ----- Fields ----- */
body .gform_wrapper .gfield {
    margin-bottom: 20px;
}

body .gform_wrapper .gfield_label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

/* ----- Inputs, Selects, Textarea ----- */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper input[type="url"],
body .gform_wrapper input[type="number"],
body .gform_wrapper input[type="password"],
body .gform_wrapper textarea,
body .gform_wrapper select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fafafa;
    transition: all .2s ease;
}

body .gform_wrapper input:focus,
body .gform_wrapper textarea:focus,
body .gform_wrapper select:focus {
    border-color: #d8bd65; /* رنگ برند شما */
    box-shadow: 0 0 0 3px rgba(216, 189, 101, 0.35);
    background: #fff;
    outline: none;
}

/* ----- Placeholders ----- */
body .gform_wrapper ::placeholder {
    color: #999;
}

/* ----- Submit Button ----- */
body .gform_wrapper .gform_footer input[type="submit"],
body .gform_wrapper .gform_page_footer input[type="button"],
body .gform_wrapper .gform_page_footer input[type="submit"] {
    display: inline-block;
    background: #d8bd65; /* طلایی برند */
    border: none;
    color: #000;
    font-weight: 600;
    padding: 12px 26px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all .25s ease;
}

body .gform_wrapper .gform_footer input[type="submit"]:hover,
body .gform_wrapper .gform_page_footer input[type="submit"]:hover {
    background: #c2a94d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ----- Error Messages ----- */
body .gform_wrapper .gform_validation_errors {
    border: 1px solid #dc3545;
    background: #f8d7da;
    color: #842029;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

body .gform_wrapper .validation_message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
}

/* ----- Success Confirmation ----- */
body .gform_confirmation_message {
    border: 1px solid #198754;
    background: #d1e7dd;
    color: #0f5132;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    margin-top: 20px;
}

#wpadminbar {
    position: relative;
}

.mobile-menu ul.dropdown-menu.depth_0.show {
    display: block;
    position: relative !important;
    background: unset;
    border: unset !important;
    transform: unset !important;
    margin: 0 !important;
}

.mobile-menu a.dropdown-item {
    font-size: 12px;
    background: lightgray;
    text-align: right;
}


.services .wrapper {
    transition: all .5s ease;
    border-radius: 1rem;

}

/* حالت هاور: شناوری و سایه بیشتر */
.services .wrapper:hover {
    transform: translateY(-6px);
    border: solid 1px #fff;
}


span.add-to-cart-icon {
    display: flex;
    width: 34px;
    height: 34px;
    background: white;
    align-items: center;
    justify-content: center;
    border-radius: 50%;

}

button.single_add_to_cart_button.button.alt {
    gap: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main);
    width: 100%;
}

.woocommerce div.product form.cart div.quantity {
    float: unset;
}

.flex-control-nav.flex-control-thumbs {
    display: flex !important; /* چیدمان افقی */
    flex-wrap: nowrap !important; /* جلوگیری از رفتن به خط بعد */
    width: 100% !important; /* پر کردن کل عرض */
    overflow-x: auto !important; /* فعال کردن اسکرول افقی */
    overflow-y: hidden !important; /* جلوگیری از اسکرول عمودی */
    scroll-behavior: smooth;
    padding: 0 !important;
    gap: 10px; /* فاصله بین آیتم‌ها */
}

.flex-control-nav.flex-control-thumbs li {
    flex: 0 0 auto !important; /* جلوگیری از کوچک شدن آیتم‌ها */
    list-style: none;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    float: unset !important;
    width: 30% !important;
}

.thumbs-vertical-wrap {
    margin-top: 2rem;
}

span.onsale.onsale--webramz {
    position: absolute;
    width: 42px !important;
    height: 42px !important;
    background: white;
    color: #F20361;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0.5rem !important;
    right: 0.5rem !important;
    border-radius: 50%;
}

.woocommerce #reviews #comments ol.commentlist ul.children .comment-text {
    background: #F5EEE1;
}

.wr-price-row {
    background: #F7F7F7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
}

.wr-price-label {
    font-size: 18px;
    font-weight: bold;
}

p.price.price--custom {
    font-size: 18px !important;
    color: var(--main) !important;
}

p.price.price--custom del {
    display: block !important;
    color: #767676 !important;
}

p.price.price--custom ins {
    font-size: 22px !important;
    text-decoration: none;
    font-weight: 200 !important;
}

.share-bar-category {
    font-size: 14px;
    color: var(--main);
}

.product-share-bar button {
    border: unset;
    height: 36px;
    width: 36px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* share Short Code */

.aryabyte-share-btn {
    background: #B4BEC9;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s ease-in;
    border: unset;
}

.aryabyte-share-btn:hover {
    background: var(--second);
}

.aryabyte-share .share-icon {
    height: 45px;
    width: 45px;
    background: var(--main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.share-bar {
    padding: .75rem 0;
    border-bottom: 2px solid #19328215;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aryabyte-share {
    max-width: fit-content;
    padding: .5rem 2rem .5rem .5rem;
    border-radius: 110px;
    margin: auto;
}

.modal-header .btn-close {
    margin-left: 0 !important;
    margin-right: auto !important;
}


section.related.products > h2 {
    font-size: 22px;
    margin: 1rem 0;
    text-align: center;
    color: var(--main);
}


.wr-product-wrapper {
    border: 1px solid #E8E8E8;
    padding: 0.5rem;
    display: block;
    position: relative;
}

h2.woocommerce-loop-product__title {
    margin: 0.5rem 0;
    font-size: 1rem;
}

a.wr-add-to-cart {
    width: 34px;
    height: 34px;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    background: var(--bg) !important;
    border-radius: 50% !important;
}

.wr-price-cart-inline .price {
    color: #767676;
    font-size: 14px;
    line-height: 1;
}

.wr-price-cart-inline .price ins {
    text-decoration: none;
    display: block;
    font-size: 1rem;
}

.wr-price-cart-inline .price del span.woocommerce-Price-currencySymbol {
    display: none;
}

span.woocommerce-Price-currencySymbol {
    font-size: 14px;
}

.wr-price-cart-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sku-wrapper {
    background: #F7F7F7;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sku-wrapper b {
    font-size: 18px;
    font-weight: bold;
}

.sku-wrapper span {
    font-size: 1rem;
    color: #767676;
}

.footer-menu-wrapper {
    background: white;
    padding: 0.75rem;
}

a.action-head {
    display: inline-block;
}

span.cart-count {
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    background: var(--main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    left: 70%;
    bottom: 70%;
}

.info-box {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: max-content;
}

a.slider-button {
    background: white;
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-top: 1rem;
    font-size: 14px;
}


.contact-icon {
    background: var(--main);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}


#respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt {
    background-color: var(--main) !important;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {

    background-color: var(--bg);
    color: var(--main);
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: unset;
    width: 100%;
}

.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-page .cart-collaterals .cart_totals h2 {
    display: none;
}

#add_payment_method table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-checkout table.cart td.actions .coupon .input-text {
    float: unset;
    width: 200px;
}

#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {
    width: 64px;
}

main {
    min-height: 50vh;
}

.ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix {
    display: none !important;
}

.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.coupon-special {
    width: 100% !important;
}

.rtl .woocommerce .col2-set .col-1, .rtl .woocommerce-page .col2-set .col-1 {
    float: unset;
    width: 100%;
}

.offcanvas-header .btn-close {
    margin-right: auto;
    margin-left: unset;
}


.rtl .woocommerce .col2-set .col-1, .rtl .woocommerce-page .col2-set .col-1 {
    float: unset;
    width: 100%;
}


span.woocommerce-input-wrapper input {
    padding: 0.5rem !important;
    border-radius: 0.5rem !important;
    outline: unset !important;
    box-shadow: unset !important;
    border: 1px solid lightgray !important;
}


.select2-container--default .select2-selection--single {
    border: 1px solid lightgray !important;
    border-radius: 0.5rem !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

.slider .info-wrapper a:hover {
    color: var(--main);
    font-weight: bold;
    background: unset;
    border: 1px solid var(--main);
    transition: 0.5s linear;
}

div#MobileMenuConvas {
    z-index: 9999999;
}


.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    float: unset !important;
    display: inline-block;
    max-width: max-content;
    margin-bottom: 0 !important;
}

.woocommerce .woocommerce-ordering select {
    max-width: 170px;
    margin-left: 0.4rem;
    border: unset;
}

.woocommerce .return-to-shop {
    text-align: center;
    margin-top: 20px;
}

.woocommerce .return-to-shop .button.wc-backward {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.woocommerce .return-to-shop .button.wc-backward:hover {
    background-color: var(--main); /* رنگ دکمه در حالت هاور */
    color: white;
}

#woocommerce_layered_nav-2 ul.woocommerce-widget-layered-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1rem;
    text-align: center;
}

.modal {
    z-index: 99999;
}

section#woocommerce_layered_nav-3 span.count {
    display: none;
}

.woocommerce-widget-layered-nav {
    margin-bottom: 2rem;
}

#woocommerce_layered_nav-3 ul.woocommerce-widget-layered-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1rem;
    text-align: center;
}

h3.widget-title {
    font-size: 1rem;
}

#woocommerce_layered_nav-3 li.woocommerce-widget-layered-nav-list__item.wc-layered-nav-term {
    color: #767676;
    background: #F7F7F7;
    padding: 0.5rem!important;
}

#woocommerce_layered_nav-2 li.woocommerce-widget-layered-nav-list__item.wc-layered-nav-term.woocommerce-widget-layered-nav-list__item--chosen.chosen a {
    position: relative;
}

#woocommerce_layered_nav-2 .woocommerce-widget-layered-nav-list__item--chosen a::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

button.filter-button {
    background: unset;
    border: unset;
}


.contact-image-wrapper {
    height: 100%;
    width: 100%;
    border-radius: 1rem;
    background-size: cover !important;
    background-position: center center !important;
}

a.shine-button {
    background: var(--main);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: white;
}

@media only screen and (max-width: 768px) {
    .fsm-8 {
        font-size: 0.5rem;
    }

    .fsm-9 {
        font-size: 0.5625rem;
    }

    .fsm-10 {
        font-size: 0.625rem;
    }

    .fsm-11 {
        font-size: 0.6875rem;
    }

    .fsm-12 {
        font-size: 0.75rem;
    }

    .fsm-13 {
        font-size: 0.8125rem;
    }

    .fsm-14 {
        font-size: 0.875rem;
    }

    .fsm-15 {
        font-size: 0.9375rem;
    }

    .fsm-16 {
        font-size: 1rem;
    }

    .fsm-17 {
        font-size: 1.0625rem;
    }

    .fsm-18 {
        font-size: 1.125rem;
    }

    .fsm-19 {
        font-size: 1.1875rem;
    }

    .fsm-20 {
        font-size: 1.25rem;
    }

    .fsm-21 {
        font-size: 1.3125rem;
    }

    .fsm-22 {
        font-size: 1.375rem;
    }

    .fsm-23 {
        font-size: 1.4375rem;
    }

    .fsm-24 {
        font-size: 1.5rem;
    }

    .fsm-25 {
        font-size: 1.5625rem;
    }

    .fsm-26 {
        font-size: 1.625rem;
    }

    .fsm-27 {
        font-size: 1.6875rem;
    }

    .fsm-28 {
        font-size: 1.75rem;
    }

    .fsm-29 {
        font-size: 1.8125rem;
    }

    .fsm-30 {
        font-size: 1.875rem;
    }

    .fsm-31 {
        font-size: 1.9375rem;
    }

    .fsm-32 {
        font-size: 2rem;
    }

    .info-box {
        top: 5%;
        transform: unset;
    }

    .filter-bar {
        border: 1px solid;
        padding: 0.5rem;
    }

    #add_payment_method table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-checkout table.cart td.actions .coupon .input-text {
        float: right;
        width: 150px;
    }

    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        float: unset !important;
    }

    .cart .quantity {
        float: unset !important;
    }

    tr.woocommerce-cart-form__cart-item.cart_item td {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    td.product-thumbnail:before {
        display: none !important;
    }

    form.woocommerce-ordering {
        position: relative;
    }

    form.woocommerce-ordering:before {
        content: '';
        display: block;
        width: 1px;
        height: 100%;
        background: var(--main);
        position: absolute;
        right: -5px;
        top: 50%;
        transform: translateY(-50%);
    }

}

.blog-image-wrapper {
    position: relative;
}

.blog-image-wrapper time {
    position: absolute;
    z-index: 99;
    width: max-content;
    bottom: 0.5rem;
    right: 0.5rem;
    color: white;
    background: var(--main);
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.h_iframe-aparat_embed_frame {
    margin: 2rem 0;
}

.woocommerce-product-details__short-description {
    margin: 2rem 0;
}

.wr-qty-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


h3.woocommerce-loop-product__title {
    margin-top: 1rem;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.wr-price-cart-inline .price del {
    color: lightgray;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'kalameh';
}

span.swiper-pagination-bullet {
    width: 2rem;
    height: 0.75rem;
    border-radius: 2rem;
    background: wheat;
}

.my-wrap {
    background: #F7F7F7;
    padding: 0.5rem;
}

h1.woocommerce-products-header__title.page-title {
    text-align: center;
}

.after-archive-title {
    text-align: center;
}

.outofstock .wmz-product-thumb {
    position: relative;
}

.outofstock .wmz-product-thumb:before {
    position: absolute;
    width: 100%;
    height: 100%;
    background: gray;
    display: flex;
    content: 'اتمام موجودی';
    left: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 22px;
    opacity: 0.8;
}

.fastcall a {
    border-radius: 50%;
    background: var(--main);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fastcall {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: fixed;
    bottom: 2rem;
    left: 1rem;
    z-index: 9999;
}

.filter-widget-wrapper {
    border: 1px solid #E8E8E8;
}

.filter-widget-wrapper .woocommerce-widget-layered-nav {
    padding: 0.5rem;
}

.filter-widget-wrapper strong {
    padding: 0.5rem;
    background: #F7F7F7;
    text-align: center;
}

span.address-text {
    width: 80%;
}


.my-return-to-shop{
    background: var(--second) !important;
    display: block!important;
    text-align: center!important;
    font-size: 1.25em!important;
    padding: 1em!important;
}

#search-modal .modal-header {
    background: var(--main);
    padding: .25rem 1rem;
    color: var(--second);
}

input#keyword {
    border-bottom: 1px solid var(--second);
}



button.close {
    background: unset;
    border: unset;
    font-size: 2rem;
    color: brown;
}

input#keyword {
    width: 100%;
    border: unset;
    border-bottom: 1px solid lightgray;
    padding: 0.3rem;
}

input#keyword:focus-visible {
    border: unset;
    outline: unset;
    border-bottom: 1px solid var(--text2);
}


.serach-item.my-3 a {
    display: flex;
    align-items: center;
}

.serach-item.my-3 h6 {
    padding: 0 0.5rem;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: max-content;
    max-width: 95%;
}

.account_bar {
    background: lightgray;
    display: flex;
    align-items: flex-end;
    column-gap: 2rem;
    padding: 1rem;
    border-radius: 1rem;
}

.account_bar p {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: unset;
    width: 100%;
    border-radius: 1rem;
    border: 1px solid lightgrey;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: unset;
    width: 100%;
    margin-top: 2rem;
}

li.woocommerce-MyAccount-navigation-link {
    display: inline-block;
}

.woocommerce-MyAccount-navigation ul {
    margin: 0 !important;
}

.user-info h2 {
    background: var(--main);
    padding: .5rem;
    border-radius: .5rem;
    display: inline-block;
    color: white;
}

.user-info p {
    text-decoration: underline;
    text-underline-offset: .4rem;
    text-decoration-color: var(--main);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    padding: 1rem;
    display: flex;
    align-items: center;
    border-left: 1px solid lightgray;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-of-type a {
    border-left: unset;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:before {
    font-family: 'dashicons';
    font-size: 2rem;
    line-height: 1;
    margin-left: 0.5rem;
}

.woocommerce-MyAccount-navigation-link--dashboard a:before {
    content: "\f226";

}

.woocommerce-MyAccount-navigation-link--subscriptions a:before {
    content: "\f456";
}

.woocommerce-MyAccount-navigation-link--edit-account a:before {
    content: "\f110";
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li + li {
    border-top: unset;
}

.woocommerce-MyAccount-navigation-link--whishlist a:before {
    content: "\f109";
}

.woocommerce-MyAccount-navigation-link--bulletin-tab a:before {
    content: "\f488";
}

.woocommerce-MyAccount-navigation-link--guid-tab a:before {
    content: "\f118";
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--customer-logout a:before {
    content: "\f14a";
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address a:before {
    content: "\f230";
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--orders a:before {
    content: "\f174";

}

li.woocommerce-MyAccount-navigation-link.is-active {
    color: var(--main);
}


li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads a:before {
    content: "\f316";

}

form.woocommerce-ordering {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}


/* پایه (mobile-first) */
.woocommerce ul.products li.product.col-12 { width: 100% !important; }
.woocommerce ul.products li.product.col-11 { width: 91.6667% !important; }
.woocommerce ul.products li.product.col-10 { width: 83.3333% !important; }
.woocommerce ul.products li.product.col-9  { width: 75% !important; }
.woocommerce ul.products li.product.col-8  { width: 66.6667% !important; }
.woocommerce ul.products li.product.col-7  { width: 58.3333% !important; }
.woocommerce ul.products li.product.col-6  { width: 50% !important; }
.woocommerce ul.products li.product.col-5  { width: 41.6667% !important; }
.woocommerce ul.products li.product.col-4  { width: 33.3333% !important; }
.woocommerce ul.products li.product.col-3  { width: 25% !important; }
.woocommerce ul.products li.product.col-2  { width: 16.6667% !important; }
.woocommerce ul.products li.product.col-1  { width: 8.3333% !important; }

/* breakpoint های بوت‌استرپ */
@media (min-width: 768px) {
    .woocommerce ul.products li.product.col-md-12 { width: 100% !important; }
    .woocommerce ul.products li.product.col-md-11 { width: 91.6667% !important; }
    .woocommerce ul.products li.product.col-md-10 { width: 83.3333% !important; }
    .woocommerce ul.products li.product.col-md-9  { width: 75% !important; }
    .woocommerce ul.products li.product.col-md-8  { width: 66.6667% !important; }
    .woocommerce ul.products li.product.col-md-7  { width: 58.3333% !important; }
    .woocommerce ul.products li.product.col-md-6  { width: 50% !important; }
    .woocommerce ul.products li.product.col-md-5  { width: 41.6667% !important; }
    .woocommerce ul.products li.product.col-md-4  { width: 33.3333% !important; }
    .woocommerce ul.products li.product.col-md-3  { width: 25% !important; }
    .woocommerce ul.products li.product.col-md-2  { width: 16.6667% !important; }
    .woocommerce ul.products li.product.col-md-1  { width: 8.3333% !important; }
}

@media (min-width: 992px) {
    .woocommerce ul.products li.product.col-lg-4  { width: 33.3333% !important; }
    .woocommerce ul.products li.product.col-lg-6  { width: 50% !important; }
    .woocommerce ul.products li.product.col-lg-8  { width: 66.6667% !important; }
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: unset!important;
    margin: unset!important;

}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0.5rem !important;
    display: block !important;
}


 .wr-thumb{
    position: relative;
    width: 30%;
    margin-left: 0.5rem;
}

.search-item.out-of-stock .wr-thumb:before {
    position: absolute;
    width: 100%;
    height: 100%;
    background: gray;
    display: flex;
    content: 'ناموجود';
    left: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    opacity: 0.8;
}