@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//kebriyaco.ir/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.4") format("woff2");
	font-display:swap;
}

:root {
	--wd-text-font: YekanBakhFaNum;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: YekanBakhFaNum;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: YekanBakhFaNum;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: YekanBakhFaNum;
	--wd-widget-title-font: YekanBakhFaNum;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: YekanBakhFaNum;
	--wd-header-el-font-weight: 800;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(57,66,239);
	--wd-alternative-color: rgb(249,174,12);
	--btn-default-font-family: YekanBakhFaNum;
	--btn-default-font-weight: 600;
	--btn-default-bgcolor: rgb(5,5,255);
	--btn-default-bgcolor-hover: rgb(5,5,255);
	--btn-accented-font-family: YekanBakhFaNum;
	--btn-accented-font-weight: 600;
	--btn-accented-bgcolor: rgb(5,5,255);
	--btn-accented-bgcolor-hover: rgb(5,5,255);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(5,5,225);
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(30,115,190);
	--wd-link-color-hover: rgb(130,36,227);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://kebriyaco.ir/wp-content/uploads/2021/09/electronics-2-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: url(https://kebriyaco.ir/wp-content/uploads/2024/02/white-electronics-s2-bg-new.jpg);
	background-size: cover;
}
.whb-top-bar .wd-nav.wd-nav-secondary > li > a {
	font-family: YekanBakhFaNum;	font-weight: 500;
	font-size: 14px;
	color: rgb(0,0,0);
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-family: YekanBakhFaNum;	font-weight: 700;
	color: rgb(255,165,0);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(44,82,186);
}

/* ==========================================================
   ۱. فیلتر قیمت ووکامرس (قبلی)
========================================================== */
.widget_price_filter .price_slider_wrapper {
    position: relative;
    padding-top: 36px;
}

.widget_price_filter .price_slider_wrapper::before {
    content: "حداقل";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    color: #444;
    font-weight: 600;
}

.widget_price_filter .price_slider_wrapper::after {
    content: "حداکثر";
    position: absolute;
    top: 0;
    right: 0;
    font-size: 14px;
    color: #444;
    font-weight: 600;
}

.widget_price_filter .ui-slider-horizontal {
    position: relative;
    height: 8px;
    border-radius: 10px;
    background: transparent;
}

.widget_price_filter .ui-slider-horizontal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 8px;
    border-radius: 10px;
    transform: translateY(-50%);
    background: linear-gradient(to right, #ccc 0%, #bbb 50%, #888 100%);
    transform-origin: left center;
    transition: all 0.3s ease;
    clip-path: polygon(
        0% 50%, 
        100% 0%, 
        100% 100%, 
        0% 50%
    );
}

.widget_price_filter .ui-slider-range {
    background: #5a8dee;
    border-radius: 10px;
}

.widget_price_filter .ui-slider-handle {
    width: 18px !important;
    height: 18px !important;
    top: -5px !important;
    background: #fff;
    border: 2px solid #5a8dee;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.widget_price_filter .ui-slider-handle:hover {
    transform: scale(1.1);
}

/* ==========================================================
   ۲. تنظیمات نمایش دکمه ورود (موبایل + دسکتاپ) (قبلی)
========================================================== */
body:not(.logged-in) .wd-header-my-account,
body:not(.logged-in) .wd-tools-element.wd-header-my-account,
body:not(.logged-in) .wd-header-my-account-mob {
    display: none !important;
}

body:not(.logged-in) .gls-trigger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

body.logged-in .wd-header-my-account,
body.logged-in .wd-tools-element.wd-header-my-account {
    display: flex !important;
}

body.logged-in .gls-trigger-btn {
    display: none !important;
}

.gls-trigger-btn {
    position: relative !important;
    z-index: 999 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
}

.whb-html-element .gls-trigger-btn {
    display: flex !important;
    width: 100%;
    height: 100%;
}

/* ==========================================================
   ۳. اسلایدر و کاروسل کارت‌ها (قبلی)
========================================================== */
.carousel-track::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.carousel-track {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.modern-carousel-container {
    width: 100%;
    padding: 40px 0 !important;
    position: relative;
    direction: rtl; 
    overflow: hidden !important;
    background: transparent !important;
}

.carousel-track {
    display: flex !important;
    gap: 20px !important;
    overflow-x: auto !important;
    padding: 10px 20px 30px 20px !important;
    margin: 0 !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    list-style: none !important;
}

.carousel-card {
    flex: 0 0 300px !important;
    width: 300px !important;
    min-width: 300px !important;
    background: #fff !important;
    border-radius: 15px !important;
    border: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    scroll-snap-align: center;
    position: relative;
    display: block !important;
}

.card-image {
    height: 200px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.card-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 200px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.card-content {
    padding: 20px !important;
    text-align: right !important;
}

.card-content h3 {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

.card-content p {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    color: #666 !important;
}

.read-more {
    font-size: 12px !important;
    color: #0073aa !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .carousel-card {
        flex: 0 0 260px !important;
        width: 260px !important;
        min-width: 260px !important;
    }
}

/* ==========================================================
   ۴. آیکون پیام‌رسان بله (قبلی)
========================================================== */
.wd-social-icon.social-vimeo {
    background-color: #52B448 !important;
}
.wd-social-icon.social-vimeo:hover {
    background-color: #3f9337 !important;
}

.wd-social-icon.social-vimeo .wd-icon {
    background-image: none !important;
}
.wd-social-icon.social-vimeo .wd-icon::before {
    content: "بله" !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wd-social-icon.social-vimeo .wd-icon-name {
    font-size: 0 !important;
}
.wd-social-icon.social-vimeo .wd-icon-name::after {
    content: "بله" !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    display: inline-block !important;
}

/* ==========================================================
   ۵. بدنه و چیدمان متن مقالات تکی (بهینه‌سازی شده)
========================================================== */
body.single-post article .entry-content,
body.single-post .entry-content p,
body.single-post .article-inner p,
body.single-post .post-content p,
body.single-post .wp-block-paragraph,
body.single-post .elementor-text-editor,
body.single-post .elementor-widget-theme-post-content p {
    text-align: justify !important;
    text-justify: inter-word !important;
    text-align-last: right;
    line-height: 2.05 !important;
    color: #2c3e50;
    font-size: 16px;
    word-break: normal;
}

.single-post .entry-content,
.single-post .article-inner,
.single-post .post-content {
    max-width: 840px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-post .entry-content p {
    margin-bottom: 1.6em !important;
    letter-spacing: -0.01em;
}

.single-post .entry-content > p:first-of-type {
    font-size: 1.12em;
    line-height: 2.15;
    color: #1a202c;
    font-weight: 500;
}

/* عناوین مقالات (راست‌چین قطعی) */
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6 {
    text-align: right !important;
    text-align-last: right !important;
    line-height: 1.45;
    color: #111827;
    font-weight: 700;
}

.single-post .entry-content h2 {
    font-size: 1.55em;
    margin-top: 2.4em !important;
    margin-bottom: 0.9em !important;
    padding-right: 12px;
    border-right: 4px solid #1a73e8;
}

.single-post .entry-content h3 {
    font-size: 1.25em;
    margin-top: 1.8em !important;
    margin-bottom: 0.7em !important;
    color: #374151;
}

/* لیست‌ها */
.single-post .entry-content ul,
.single-post .entry-content ol {
    text-align: right !important;
    text-align-last: right !important;
    padding-right: 1.8em !important;
    margin-bottom: 1.6em;
    line-height: 1.95;
}

.single-post .entry-content li {
    margin-bottom: 0.6em;
    text-align: right !important;
}

.single-post .entry-content ul > li::marker {
    color: #1a73e8;
    font-size: 1.1em;
}

/* کادرهای راهنما و هشدار */
.single-post .note-box,
.single-post .alert-box,
.single-post .tip-box {
    padding: 16px 20px;
    margin: 2em 0;
    border-radius: 8px;
    font-size: 0.95em;
    line-height: 1.9;
    text-align: justify;
}

.single-post .note-box {
    background-color: #f0f7ff;
    border-right: 4px solid #1a73e8;
    color: #0c4a6e;
}

.single-post .tip-box {
    background-color: #f0fdf4;
    border-right: 4px solid #16a34a;
    color: #14532d;
}

.single-post .alert-box {
    background-color: #fffbeb;
    border-right: 4px solid #f59e0b;
    color: #78350f;
}

/* جداول */
.single-post .entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2.2em 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    font-size: 0.92em;
}

.single-post .entry-content table th {
    background-color: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 2px solid #e2e8f0;
    text-align: right;
}

.single-post .entry-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    text-align: right;
}

.single-post .entry-content table tr:nth-child(even) td {
    background-color: #fcfcfd;
}

.single-post .entry-content table tr:hover td {
    background-color: #f8fafc;
}

/* تصاویر و عناصر تکمیلی */
.single-post .entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.8em auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.single-post .entry-content figcaption {
    text-align: center;
    font-size: 0.85em;
    color: #64748b;
    margin-top: -1em;
    margin-bottom: 2em;
}

.single-post .entry-content blockquote {
    background: #f8fafc;
    border-right: 4px solid #64748b;
    border-radius: 0 8px 8px 0;
    margin: 2em 0;
    padding: 14px 20px;
    font-style: normal;
    color: #334155;
    text-align: justify;
}

.single-post .entry-content code:not(pre code) {
    background-color: #f1f5f9;
    color: #e11d48;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
    direction: ltr;
    display: inline-block;
}

.single-post .entry-content a {
    color: #1a73e8;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease;
}

.single-post .entry-content a:hover {
    color: #0b57d0;
}

/* نوار مطالعه */
#kb-reading-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8, #00c6ff);
    width: 0%;
    z-index: 99999;
    transition: width 0.1s ease-out;
}

/* ==========================================================
   ۶. استایل کارت‌های صفحه آرشیو وبلاگ
========================================================== */
.blog .woodmart-blog-holder .blog-post-loop,
.archive.category .woodmart-blog-holder .blog-post-loop {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog .woodmart-blog-holder .blog-post-loop:hover,
.archive.category .woodmart-blog-holder .blog-post-loop:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.blog .entry-thumbnail,
.archive.category .entry-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #f1f5f9;
}

.blog .entry-thumbnail img,
.archive.category .entry-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.blog .blog-post-loop:hover .entry-thumbnail img,
.archive.category .blog-post-loop:hover .entry-thumbnail img {
    transform: scale(1.05);
}

.blog .article-body-container,
.archive.category .article-body-container {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog .entry-title,
.archive.category .entry-title {
    font-size: 1.15em !important;
    line-height: 1.6 !important;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog .entry-title a,
.archive.category .entry-title a {
    color: #1e293b;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.blog .blog-post-loop:hover .entry-title a,
.archive.category .blog-post-loop:hover .entry-title a {
    color: #1a73e8;
}

.blog .entry-content,
.archive.category .entry-content {
    font-size: 0.92em;
    line-height: 1.85;
    color: #475569;
    text-align: justify !important;
    text-justify: inter-word;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog .entry-meta,
.archive.category .entry-meta {
    font-size: 0.82em;
    color: #94a3b8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog .entry-meta a,
.archive.category .entry-meta a {
    color: #64748b;
}

.blog .meta-post-categories,
.archive.category .meta-post-categories {
    margin-bottom: 8px;
}

.blog .meta-post-categories a,
.archive.category .meta-post-categories a {
    background-color: #f0f7ff;
    color: #0369a1;
    font-size: 0.78em;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

.blog .read-more-link,
.archive.category .read-more-link {
    margin-top: auto;
    font-size: 0.88em;
    font-weight: 600;
    color: #1a73e8;
    display: inline-flex;
    align-items: center;
}

.woodmart-pagination {
    margin-top: 45px !important;
}

.woodmart-pagination .page-numbers {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #334155;
    margin: 0 4px;
    padding: 6px 14px;
    transition: all 0.2s ease;
}

.woodmart-pagination .page-numbers.current {
    background-color: #1a73e8;
    border-color: #1a73e8;
    color: #ffffff;
}