/*
Theme Name: Decor
Theme URI: #
Author: Maleki
Author URI: http://raysaweb.ir/
Description: Decor Theme v1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: elc
Text Domain: Decor

*/

@font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: bold;
	src: url('assets/fonts/yekan/eot/iranyekanwebbold(fanum).eot');
	src: url('assets/fonts/yekan/eot/iranyekanwebbold(fanum).eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
	url('assets/fonts/yekan/woff2/iranyekanwebbold(fanum).woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
	url('assets/fonts/yekan/woff/iranyekanwebbold(fanum).woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
	url('assets/fonts/yekan/ttf/iranyekanwebbold(fanum).ttf') format('truetype');
}

@font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: 300;
	src: url('assets/fonts/yekan/eot/iranyekanweblight(fanum).eot');
	src: url('assets/fonts/yekan/eot/iranyekanweblight(fanum).eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
	url('assets/fonts/yekan/woff2/iranyekanweblight(fanum).woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
	url('assets/fonts/yekan/woff/iranyekanweblight(fanum).woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
	url('assets/fonts/yekan/ttf/iranyekanweblight(fanum).ttf') format('truetype');
}


@font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: normal;
	src: url('assets/fonts/yekan/eot/iranyekanwebregular(fanum).eot');
	src: url('assets/fonts/yekan/eot/iranyekanwebregular(fanum).eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
	url('assets/fonts/yekan/woff2/iranyekanwebregular(fanum).woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
	url('assets/fonts/yekan/woff/iranyekanwebregular(fanum).woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
	url('assets/fonts/yekan/ttf/iranyekanwebregular(fanum).ttf') format('truetype');
}
body
{
	font-family: iranyekan;
	margin: 0;
	padding: 0;
	direction: rtl;
	text-align: right;
	font-size: 13px;
    line-height: 27px;
	background-color:#fff;
    color: #333
}
button, input, select, textarea
{
	color: #212121
}
a,a:focus,a:hover,a:visited
{
	text-decoration: none;
	color: #858787;
}
h1,h2,h3,h4,h5,h6
{
	margin: 0;
}
ul
{
	list-style-type: none;
	padding: 0;
	margin: 0;
}
img
{
    max-width: 100%;
}
/* =========================================================
   هدر سایت — بازطراحی به سبک Lensabl
   ========================================================= */
.header {
    width: 100%;
    direction: rtl;
    background-color: #14426e;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    transition: box-shadow .25s ease;
}
.header.scrolled {
    box-shadow: 0 4px 16px rgba(16, 49, 65, 0.10);
}

/* ---- هدر اصلی ---- */
.header-main {
    background-color: transparent;
    padding: 12px 0;
}
.header-main-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}

/* لوگو */
.header-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50%;
    padding: 5px;
}
.header-logo a {
    display: flex;
    width: fit-content;
    align-items: center;
}
.header-logo img {
    max-height: 52px;
    width: auto;
}

/* منوی ناوبری افقی */
.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}
.main-nav-menu {
    display: flex;
    align-items: center;
    gap: 0px;
    flex-wrap: wrap;
    justify-content: center;
}
.main-nav-menu > li {
    position: relative;
}
.main-nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    border-radius: 8px;
    transition: color .2s ease, background-color .2s ease;
    position: relative;
}
.main-nav-menu > li > a::after {
    display: none;
}
.main-nav-menu > li > a:hover,
.main-nav-menu > li > a:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
}
/* فلش کوچک برای آیتم‌های دارای زیرمنو */
.main-nav-menu > li.menu-item-has-children > a::before {
    content: "\f107";
    font-family: FontAwesome;
    font-size: 11px;
    opacity: .55;
    margin-left: 2px;
}
.free-consultation-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 8px;
    padding: 11px 18px;
color: #094045;
    background-color:#fffaf3;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(16, 49, 65, 0.18);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.free-consultation-link:hover,
.free-consultation-link:focus {
    color: #14426e;
    background-color: #dcebf7;
    transform: translateY(-1px);
}
.free-consultation-mobile {
    display: none;
}

/* زیرمنوی dropdown */
.main-nav-menu .sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 230px;
    background-color: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(16, 49, 65, 0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 1100;
    text-align: right;
}
.main-nav-menu .sub-menu .menu-item-has-children {
    position: relative;
}
.main-nav-menu > li:hover > .sub-menu,
.main-nav-menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav-menu .sub-menu .menu-item-has-children > .sub-menu {
    top: -8px;
    right: 100%;
    transform: translateX(8px);
}
.main-nav-menu .sub-menu .menu-item-has-children:hover > .sub-menu,
.main-nav-menu .sub-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.main-nav-menu .sub-menu li {
    display: block;
}
.main-nav-menu .sub-menu li a {
    display: block;
    padding: 9px 14px;
    color: #41505c;
    font-size: 14px;
    border-radius: 7px;
    transition: background-color .18s ease, color .18s ease;
}
.main-nav-menu .sub-menu li a:hover,
.main-nav-menu .sub-menu li a:focus {
    background-color: #f4f7fa;
    color: #14426e;
}

/* ---- آیکون‌های سمت چپ هدر ---- */
.header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
.action-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 19px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, color .2s ease;
}
.action-icon-btn:hover,
.action-icon-btn:focus {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
}
.action-icon-btn i {
    line-height: 1;
}
.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
/* دکمه همبرگر — پیش‌فرض مخفی، در موبایل نمایش داده می‌شود */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0 9px;
    border-radius: 8px;
    flex: 0 0 42px;
}
.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #2b3a45;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}

/* شمارنده سبد خرید */
.cart-link .cart-count {
    position: absolute;
    top: 4px;
    left: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background-color: #d40000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}

/* ---- نوار جستجوی کشویی ---- */
.header-search-panel {
    max-height: 0;
    overflow: hidden;
    background-color: #fbfcfd;
    transition: max-height .3s ease, border-color .3s ease, padding .3s ease;
}
.header-search-panel.open {
    max-height: 90px;
    border-top-color: #ececec;
    padding: 14px 0;
}
.search-box {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    min-height: 48px;
    max-width: 560px;
    margin: 0 auto;
}
.search-box input {
    border: none;
    background: transparent;
    padding: 0 14px;
    outline: none;
    width: 100%;
    height: 48px;
    color: #41505c;
    font-size: 15px;
    text-align: right;
}
.search-box input::placeholder {
    color: #8a97a1;
    opacity: 1;
}
.search-box button {
    width: 40px;
    height: 40px;
    margin: 4px;
    border-radius: 6px;
    background-color: #14426e;
    color: #fff;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.search-box button i {
    font-size: 17px;
}

/* منوی موبایل در بخش ریسپانسیو پایین فایل استایل‌دهی می‌شود */
/****************home***************/
.home_video_embed img {
    max-width:624px;
    display: block;
    border: 1px solid #d4a365;
    padding: 3px;
}
#services.home_category_showcase {
    margin-top: 35px;
}

.home_category_search_wrap {
    max-width: 560px;
    margin: 0 auto 26px;
}

.home_category_search {
    display: flex;
    align-items: center;
    border: 1px solid #cfcfcf;
    border-radius: 30px;
    background: #ececec;
    overflow: hidden;
    height: 54px;
}

.home_category_search input {
    flex: 1 1 auto;
    border: 0;
    background: transparent;
    height: 100%;
    font-size: 20px;
    color: #111;
    padding: 0 24px;
    text-align: center;
}

.home_category_search input:focus {
    outline: none;
}

.home_category_search button {
    width: 64px;
    border: 0;
    background: transparent;
    color: #202020;
    font-size: 29px;
    cursor: pointer;
}

.home_category_board {
    display: flex;
    gap: 14px;
    align-items: stretch;
}

.home_category_tiles {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px;
}

.home_category_tile {
    background: #fff;
    border: 1px solid #cecece;
    border-radius: 22px;
    min-height: 160px;
    padding: 24px 18px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home_category_tile:hover {
    transform: translateY(-4px);
    border-color: #1f6e91;
    box-shadow: 0 12px 24px rgba(16, 49, 65, 0.13);
}

.home_category_tile_icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 30px;
    overflow: hidden;
}
span.home_category_tile_icon.lens {
    float: right;
    margin-left: 10px;
}
.home_category_tile_icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
}

.home_category_tile h4 {
    margin: 0;
    color: #0f0f0f;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.home_category_tile p {
    margin: 7px 0 0;
    color: #8c8c8c;
    font-size: 13px;
    line-height: 1.6;
    text-transform: none;
}

.home_category_featured {
    width: 33%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home_featured_card {
    border: 1px solid #c9c9c9;
    border-radius: 22px;
    background: #fff;
    height: 154px;
    min-height: 0;
    padding: 10px 16px;
    box-sizing: border-box;
    text-decoration: none;
    display: flex;
    direction: ltr;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.home_featured_card:hover {
    border-color: #1f6e91;
    box-shadow: 0 12px 22px rgba(16, 49, 65, 0.14);
}

.home_featured_badge {
    position: absolute;
    top: 10px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    background: #1d7aab;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
}

.home_featured_content {
    position: absolute;
    top: 37px;
    right: 124px;
    left: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3px;
    direction: rtl;
    text-align: right;
    padding: 0;
    z-index: 1;
}

.home_featured_content h4 {
    margin: 0;
    color: #151515;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.home_featured_subtitle {
    margin: 0;
    color: #7d7d7d;
    font-size: 13px;
}

.home_featured_desc {
    color: #2f2f2f;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home_featured_footer {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 10px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    background: #b9d0d8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    box-sizing: border-box;
    z-index: 2;
}

.home_featured_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #0f0f0f;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 0;
    width: fit-content;
}

.home_featured_media {
    position: absolute;
    top: 15px;
    right: 16px;
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 54px;
    margin: 0;
    z-index: 1;
}

.home_featured_media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
}

.eyeglass_repairs{
    background: url(assets/images/eyeglass_repairs.avif);
    min-height: 400px;
    position: relative;
    background-position: center center;
    background-size: cover;
    margin: 50px 0;
    border-radius: 25px;
    overflow: hidden;
}
.eyeglass_repairs_content {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: min(100%, 430px);
    min-height: 400px;
    padding: 58px 48px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    direction: rtl;
}
.eyeglass_repairs_content h2 {
    color: #14426e;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}
.eyeglass_repairs_content p {
    color: #26383d;
    font-size: 16px;
    line-height: 2;
    margin: 0 0 22px;text-align: right;
}
.eyeglass_repairs_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    background: #14426e;
    border-radius: 7px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    transition: background-color .2s ease, transform .2s ease;
}
.eyeglass_repairs_btn:hover,
.eyeglass_repairs_btn:focus {
    background: #0c7275;
    color: #fff !important;
    transform: translateY(-2px);
}
section#page_view h1 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* ---- برگه‌های ثابت ---- */
#single_view .page_entry {
    max-width: 1040px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(20, 66, 110, .08);
}

#single_view .page_entry .post_header {
    padding: 27px 42px 24px;
    background: linear-gradient(135deg, #fff 0%, #f7fbfb 100%);
}

#single_view .page_entry .post_header h1 {
    position: relative;
    margin: 18px 0 0;
    padding-right: 17px;
    font-size:20px;
    line-height: 1.55;
}

#single_view .page_entry .post_header h1::before {
    position: absolute;
    top: 8px;
    right: 0;
    width: 4px;
    height: 32px;
    border-radius: 4px;
    background: #8cc5c6;
    content: "";
}

#single_view .page_entry .post_content {
    padding: 38px 58px 52px;
    color: #3f4e58;
    font-size: 16px;
    line-height: 2.35;
}

#single_view .page_entry .post_content p:first-child {
    margin-bottom: 28px;
    color: #14426e;
    font-size: 18px;
    font-weight: 700;
    line-height: 2.1;
}

#single_view .page_entry .post_content p:last-child {
    margin-bottom: 0;
}

#single_view .page_entry .post_content strong {
    color: #14426e;
}

#home_about_video {
    padding: 50px 0;
    background-color: #f5f5f5;
}
.home_video_embed {
    overflow: hidden;
}
.home_about_video_row {
    display: flex;
    padding: 0 50px;
    align-items: center;
    gap: 30px;
    flex-direction: row-reverse;
}
#home_about_video
{
        background: #fffaf3;
}
.home_about_content {
    flex: 1 1 0;
    min-width: 0;
}

/* ستون متن */
.home_about_text {
    text-align: right;
}

.home_about_title {
    color: #094045;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: right;margin-top: 10px;
}
.home_about_title h2 {
    display: inline-block;
    background: #14426e;
    color: #f1cf7e;
    padding: 8px 18px;    font-size: 35px;
    font-weight: bold;
}
.home_about_main_text {
    color: #333;
    font-size: 15px;
    line-height: 2.5;
    margin: 0 0 14px;
    text-align: justify;
}

.home_about_text p {
    color: #666;
    font-size: 20px;
    line-height: 2;
    text-align: justify;
}

.home_about_text p:last-of-type {
    margin-bottom: 0px;
}

.home_about_services {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-right: 4px solid #14426e;
    border-radius: 12px;
    padding: 18px 18px 8px;
    margin: 0 0 18px;
}

.home_about_services_title {
    color: #222;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    margin: 0 0 10px;
}

.home_about_group_title {
    color: #14426e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.9;
    margin: 0 0 8px;
}

.home_about_list {
    margin: 0 0 14px;
    padding: 0;
}

.home_about_list li {
    position: relative;
    color: #4d4d4d;
    font-size: 14px;
    line-height: 2;
    padding-right: 18px;
    margin-bottom: 2px;
}

.home_about_list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #14426e;
    position: absolute;
    right: 0;
    top: 11px;
}

.home_about_summary {
    color: #505050;
    font-size: 14px;
    line-height: 2.3;
    margin: 0;
    text-align: justify;
}

#home_products {
    background: #fff;
padding: 0 0 50px 0;
}
section#home_featured_products {
    padding: 50px 0;
}
.home_sentence {
    background: #8cc5c6;
    padding: 30px 0;
}

.home_sentence_box {
    max-width: 545px;
    min-height: 194px;
    margin: 0 auto;
    padding: 38px 28px;
    background: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home_sentence_box a {
    margin: 0;
    color: #111;
    font-size: 19px;
    line-height: 1.45;    text-decoration: none;
}

.home_sentence_box h2 a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

span.home_category_tile_icon.lens {
    float: right;
    margin-left: 10px;
}
.home_sentence_box h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    line-height: 1.5;
}

.home_sentence_box .home_category_tile_icon.lens {
    float: none;
    flex: 0 0 auto;
    margin: 0;
}
.home_products_title {
    text-align: center;
    margin-bottom: 24px;
}

.home_products_title .htitle {
    color: #27282c;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.home_products_wrap {
    position: relative;
    overflow: hidden;
}

.home_products_slider {
    padding: 5px 0 32px;
}

.home_products_slider .swiper-slide {
    height: auto;
}

.home_product_card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    height: 100%;
    text-align: center;
    padding: 10px 10px 14px;
}

.home_product_card_img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fafafa;
    border-radius: 6px;
    overflow: hidden;
}

.home_product_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home_product_noimg {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #bcbcbc, #ebebeb);
}


.home_product_card_body {
    padding: 10px 2px 0;
}

.home_product_title {
    margin: 0;
    min-height: 50px;
}

.home_product_title a {
    color: #1f1f1f;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 500;
}

.home_product_cat,
.home_product_sku {
    display: block;
    color: #9a9a9a;
    font-size: 13px;
    line-height: 1.9;
}

.home_product_rating {
    min-height: 24px;
    margin: 4px 0 8px;
}

.home_product_empty_rating {
    color: #b4b4b4;
    font-size: 13px;
    letter-spacing: 1px;
}

.home_product_rating .star-rating {
    float: none;
    margin: 0 auto;
}

.home_product_price {
    color: #0b776b;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    min-height: 36px;
}

.home_product_price del,
.home_product_price ins,
.home_product_price .amount {
    color: inherit;
    text-decoration: none;
}

.home_product_btn,
.home_product_btn:visited,
.home_product_btn:hover,
.home_product_btn:focus {
    display: inline-block;
    min-width: 145px;
    background: #c9f1f1;
    color: #303849;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 2px;
}

.home_product_btn:hover,
.home_product_btn:focus {
    background: #303849;color: #fff;
}

.home_products_pagination ,.swiper-container-horizontal>.swiper-pagination-bullets{
    bottom: 0 !important;
}

.home_products_nav {
    position: absolute;
    top: 41%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #3a3a3a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all .2s ease;
}

.home_products_next {
    right: -44px;
}

.home_products_prev {
    left: -44px;
}

.home_products_nav i {
    font-size: 24px;
    line-height: 1;
}

.home_products_nav:hover {
    background: #c9f1f1;
    border-color: #c9f1f1;
    color: #fff;
}

.home_products_slider .swiper-button-disabled {
    opacity: .35;
    cursor: default;
}

.home_products_pagination .swiper-pagination-bullet,
.home_featured_products_pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 1;
}

.home_products_pagination .swiper-pagination-bullet {
    background: #bdbdbd;
}

.home_featured_products_pagination .swiper-pagination-bullet {
    background: #bdbdbd;
}

.home_products_pagination .swiper-pagination-bullet-active,
.home_featured_products_pagination .swiper-pagination-bullet-active {
    background: #2a2a2a;
}

.home_products_empty {
    text-align: center;
    color: #707070;
    font-size: 16px;
    margin: 10px 0 0;
}

#portfolio {
    background: #f2f2f2;
    padding: 50px 0;
}
.portfolio_posts {
    text-align: center;
}
.portfolio_title
 {
    text-align: center;
    margin-bottom: 35px;
}

.portfolio_title .htitle {
    color: #27282c;
    font-size:24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.portfolio_title p {
    font-size: 15px;
    font-weight: 300;
    line-height: 2.1;
    color: #6f6f6f;
    max-width: 860px;
    margin: 0 auto;
}

.portfolio_item {
    background: #fff;
    border: 1px solid #e3e3e3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 24px rgba(0, 0, 0, 0.12);
}

.portfolio_item_img {
    display: block;
    position: relative;
    overflow: hidden;
    background: #d5d5d5;
    aspect-ratio: 4 / 3;
}

.portfolio_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio_item:hover .portfolio_item_img img {
    transform: scale(1.05);
}

.portfolio_item_noimg {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #b0b0b0, #e0e0e0);
}

.portfolio_item_date {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 56px;
    height: 72px;
    background: #fff;
    color: #2f2f2f;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.16);
    line-height: 1.2;
}

.portfolio_item_date strong {
    font-size: 31px;
    font-weight: 700;
}

.portfolio_item_date em {
    font-style: normal;
    font-size: 18px;
    margin-top: 3px;
}

.portfolio_item_cat {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
color: #094045;
    background-color: #fffaf3;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 14px 8px;
    white-space: nowrap;
}

.portfolio_item_body {
    padding: 18px 18px 20px;
}

.portfolio_item_title {
    margin: 0;
}

.portfolio_item_title a {
    color: #27282c;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 500;
    transition: color 0.2s ease;
}

.portfolio_item_title a:hover {
    color: #d70000;
}

.portfolio_item_excerpt {
    color: #5f5f5f;
    font-size: 13px;
    line-height: 2.1;
    margin: 0;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio_all_link_wrap {
    width: 100%;
    margin-top: 32px;
    text-align: center;
}

.portfolio_all_link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 0;
    padding: 10px 22px;
    border: 1px solid #094045;
    border-radius: 6px;
    background-color: #094045;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    box-shadow: 0 8px 18px rgba(9, 64, 69, 0.16);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.portfolio_all_link::after {
    content: "\2190";
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.portfolio_all_link:hover,
.portfolio_all_link:focus {
    border-color: #062d30;
    background-color: #062d30;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(9, 64, 69, 0.24);
    transform: translateY(-2px);
}

.portfolio_all_link:hover::after,
.portfolio_all_link:focus::after {
    transform: translateX(-4px);
}

.portfolio_all_link:focus-visible {
    outline: 3px solid rgba(9, 64, 69, 0.25);
    outline-offset: 3px;
}

.portfolio_all_link:active {
    box-shadow: 0 4px 10px rgba(9, 64, 69, 0.18);
    transform: translateY(0);
}

/****************footer***************/
.qlwapp__button--bubble .qlwapp__text {
    display: none !important;
}
.footer-divider,
.feature-divider {
    width: 1px;
    height: 45px;
    background-color: #666;
    flex-shrink: 0;
}

/* فوتر اصلی */
.footer {
    background-color: #001e2a;
    color: #ccc;
    font-size: 14px;
    direction: rtl;
}

.footer-main {
    padding: 45px 0 30px;
}

/* ستون درباره ما */
.footer-col-about {
    align-items: center;
    display: flex;
}
.footer-logo {
    max-height:120px;
    width: auto;
}
/* ستون‌های لینک */
.footer-col-links,
.footer-col-trust {
    padding-right: 15px;
}
.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    position: relative;
    padding-right: 14px;
}
.footer-links li a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #fff;
    padding-right: 4px;
}

/* نوار کپی‌رایت */
.footer-bottom {
    padding: 14px 0;
    text-align: center;
}

.footer-copyright {
    margin: 0;
    font-size: 13px;
    color: #888;
}

.footer-credit a {
    color: #ffc107;
    text-decoration: none;
}

/* ===== منوی موبایل کشویی (فقط در صفحات ≤992px فعال) ===== */
div#mobile_menu {
    display: none; /* در دسکتاپ کاملاً مخفی */
}

#close_menu {
    text-align: left;
    padding: 0 18px 10px;
}
#close_menu i {
    font-size: 24px;
    color: #2b3a45;
    cursor: pointer;
}
#mobile_menu nav {
    padding: 0 8px;
}
#mobile_menu nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#mobile_menu nav > ul > li {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
#mobile_menu nav > ul > li > a {
    display: block;
    padding: 13px 14px;
    color: #1f2a33;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}
#mobile_menu nav > ul > li > a:hover {
    color: #14426e;
}
#mobile_menu nav > ul > li.has_child > i {
    position: absolute;
    left: 10px;
    top: 14px;
    font-size: 18px;
    color: #8a97a1;
    cursor: pointer;
    padding: 4px;
}
#mobile_menu nav > ul > li > ul {
    display: none;
    padding-right: 14px;
    background-color: #f8fafc;
}
#mobile_menu nav > ul > li > ul > li > a {
    display: block;
    padding: 10px 14px;
    color: #41505c;
    font-size: 14px;
    text-decoration: none;
}

/* لایه‌ی تیره پشت منوی موبایل هنگام باز شدن */
body.mobile-menu-open {
    overflow: hidden;
}
body.mobile-menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1500;
}

/* ---- صفحات مقاله ---- */
.page_header {
    padding: 34px 0 30px;
    background: #eef5f6;
    border-bottom: 1px solid #e0eaed;
}

.page_header > .container-fluid {
    max-width: 1240px;
    padding-left: 20px;
    padding-right: 20px;
}

.cat_header {
    text-align: right;
}

.cat_header .breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 10px;
    color: #8a97a1;
    font-size: 12px;
    line-height: 1.8;
}

.cat_header .breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.cat_header .breadcrumbs li + li::before {
    margin: 0 8px;
    color: #b6c2c8;
    content: "/";
}

.cat_header .breadcrumbs a {
    color: #7b8a94;
}

.cat_header h1 {
    color: #14426e;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
}

.cat_header .post_count {
    display: block;
    margin-top: 3px;
    color: #6e7f88;
    font-size: 14px;
}

#single_view .cat_list_item {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1eaee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 66, 110, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

#single_view .cat_list_item:hover {
    border-color: #8cc5c6;
    box-shadow: 0 14px 28px rgba(20, 66, 110, .12);
    transform: translateY(-4px);
}

.cat_list_item_img,
.cat_list_item_img a {
    display: block;
}

.cat_list_item_img a {
    height: 100%;
}

.cat_list_item_img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef5f6;
}

.cat_list_item_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

#single_view .cat_list_item:hover .cat_list_item_img img {
    transform: scale(1.04);
}

.cat_list_item_content {
    flex: 1 1 auto;
    padding: 18px 18px 10px;
}

.cat_list_item_content h2,
.cat_list_item_content h2 a {
    color: #14426e;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

.cat_list_item_content h2 a:hover {
    color: #0c7275;
}

.cat_list_item_content p {
    margin: 8px 0 0;
    color: #71808a;
    font-size: 13px;
    line-height: 2;
}

.cat_list_item_detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 18px;
    padding: 11px 0 14px;
    border-top: 1px solid #edf1f3;
    color: #8a97a1;
    font-size: 11px;
}

.cat_list_item_detail time,
.cat_list_item_detail span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.cat_list_item_detail i {
    color: #8cc5c6;
}

#single_view > .container-fluid > .row {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
}

#single_view .navigation {
    margin-top: 34px;
    text-align: center;
}

#single_view .navigation ul {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#single_view .navigation li a,
#single_view .navigation li span {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #dce7eb;
    border-radius: 7px;
    background: #fff;
    color: #14426e;
    font-size: 13px;
}

#single_view .navigation li a:hover,
#single_view .navigation li span.current {
    border-color: #14426e;
    background: #14426e;
    color: #fff;
}

#single_view article .no_data {
    display: block;
    padding: 32px;
    color: #71808a;
    text-align: center;
}

#single_view {
    padding: 42px 0 70px;
    background: #f5f8fa;
}

#single_view > .container-fluid {
    max-width: 1240px;
    padding-left: 20px;
    padding-right: 20px;
}

#single_view article {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4ebef;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 66, 110, .06);
}

#single_view .post_header {
    padding: 25px 30px 18px;
    border-bottom: 1px solid #edf1f3;
}

#single_view .post_header h1 {
    margin: 15px 0 10px;
    color: #14426e;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.7;
}

#single_view .breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    color: #9aa7af;
    font-size: 12px;
    line-height: 1.8;
}

#single_view .breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

#single_view .breadcrumbs li + li::before {
    margin: 0 8px;
    color: #b6c2c8;
    content: "/";
}

#single_view .breadcrumbs a {
    color: #8a97a1;
    font-weight: 400;
}

#single_view .post_header time,
#single_view .post_header > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 18px;
    color: #8a97a1;
    font-size: 12px;
}

#single_view .post_header i {
    color: #8cc5c6;
}

#single_view .post_thumb {
    margin: 0;
    background: #eef5f6;
}

#single_view .post_thumb img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

#single_view .post_content {
    padding: 30px 34px 38px;
    color: #46515a;
    font-size: 15px;
    line-height: 2.25;
}

#single_view .post_content h2 {
    margin: 34px 0 14px;
    padding: 8px 14px 8px 0;
    color: #14426e;
    border-right: 4px solid #8cc5c6;
    background: #f7fbfb;
    font-size: 22px;
    line-height: 1.8;
}

#single_view .post_content h3 {
    margin: 25px 0 8px;
    color: #094045;
    font-size: 18px;
    line-height: 1.9;
}

#single_view .post_content p {
    margin: 0 0 16px;
    text-align: justify;
}

#single_view .post_content ul,
#single_view .post_content ol {
    margin: 12px 0 22px;
    padding-right: 24px;
}

#single_view .post_content ul {
    list-style: none;
}

#single_view .post_content ol {
    padding-right: 30px;
}

#single_view .post_content ul li {
    position: relative;
    margin-bottom: 6px;
}

#single_view .post_content ul li::before {
    position: absolute;
    right: -20px;
    top: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8cc5c6;
    content: "";
}

#single_view .post_content a {
    color: #14426e;
    font-weight: 700;
}

#single_view .post_content a:hover {
    color: #d70000;
}

#single_view .post_content img {
    display: block;
    height: auto;
    margin: 22px auto;
    border-radius: 8px;
}

#single_view .post_sidebat {
    position: sticky;
    top: 105px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e4ebef;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 66, 110, .06);
}

#single_view .post_sidebat_title {
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8cc5c6;
}

#single_view .post_sidebat_title h3 {
    color: #14426e;
    font-size: 19px;
    line-height: 1.8;
}

#single_view .post_related {
    display: block;
    margin: 0 0 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f3;
}

#single_view .post_related:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

#single_view .post_related_img,
#single_view .post_related_img a {
    display: block;
}

#single_view .post_related_img {
    overflow: hidden;
    margin-bottom: 9px;
    border-radius: 6px;
    background: #eef5f6;
}

#single_view .post_related_img img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .25s ease;
}

#single_view .post_related:hover .post_related_img img {
    transform: scale(1.03);
}

#single_view .post_related_content h3,
#single_view .post_related_content h3 a {
    color: #344955;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

#single_view .post_related_content h3 {
    margin: 0 0 5px;
}

#single_view .post_item_details {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9aa7af;
    font-size: 11px;
    line-height: 1.6;
}

#single_view .post_item_details_like,
#single_view .post_item_details_date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#single_view .post_item_details i {
    color: #8cc5c6;
}

#single_view .post_comments {
    margin-top: 24px;
}

#single_view #respond,
#single_view #comments {
    padding: 25px 30px;
    background: #fff;
    border: 1px solid #e4ebef;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 66, 110, .06);
}

#single_view #comments {
    margin-top: 20px;
}

#single_view #respond h3,
#single_view #comments > h3 {
    margin: 0 0 20px;
    padding-right: 12px;
    color: #14426e;
    border-right: 4px solid #8cc5c6;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
}

#single_view #commentform .row {
    margin-left: -10px;
    margin-right: -10px;
}

#single_view #commentform .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

#single_view #commentform .form-group {
    margin-bottom: 16px;
}

#single_view #commentform .form-control {
    min-height: 46px;
    padding: 9px 14px;
    color: #344955;
    background: #fbfcfd;
    border: 1px solid #dbe5ea;
    border-radius: 6px;
    box-shadow: none;
    font-family: iranyekan;
    font-size: 14px;
    line-height: 1.8;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#single_view #commentform textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

#single_view #commentform .form-control:focus {
    background: #fff;
    border-color: #8cc5c6;
    box-shadow: 0 0 0 3px rgba(140, 197, 198, .18);
    outline: 0;
}

#single_view #commentform .btn_left {
    text-align: left;
}

#single_view #commentform .btn {
    padding: 10px 22px;
    color: #fff;
    background: #14426e;
    border: 0;
    border-radius: 6px;
    font-family: iranyekan;
    font-size: 14px;
    line-height: 1.8;
    transition: background-color .2s ease, transform .2s ease;
}

#single_view #commentform .btn:hover,
#single_view #commentform .btn:focus {
    color: #fff;
    background: #094045;
    transform: translateY(-1px);
}

#single_view .comment_list {
    margin-top: 6px;
}

#single_view .comment_list ol,
#single_view .comment_list ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#single_view .comment_list .comment {
    padding: 15px 0;
    border-bottom: 1px solid #edf1f3;
}

#single_view .comment_list .comment:last-child {
    border-bottom: 0;
}


#page_view {
    padding: 28px 0 70px;
    background: #f5f8fa;
}

#page_view > .container-fluid {
    max-width: 1240px;
    padding-left: 20px;
    padding-right: 20px;
}

#page_view .shop-page-breadcrumbs {
    margin-bottom: 18px;
    color: #8a97a1;
    font-size: 12px;
}

#page_view .shop-page-breadcrumbs .woocommerce-breadcrumb {
    margin: 0;
    color: #8a97a1;
}

#page_view .shop-page-breadcrumbs a {
    color: #14426e;
}

#page_view .shop-archive-tools {
    margin-bottom: 22px;
}

#page_view .shop-brand-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
    margin-bottom: 14px;
    padding: 0 2px;
}

#page_view .shop-brand-swiper {
    min-width: 0;
    flex: 1;
    padding: 2px;
}

#page_view .shop-brand-card {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 6px 5px;
    color: #14426e;
    background: #fff;
    border: 1px solid #cfdde2;
    border-radius: 12px;
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#page_view .shop-brand-card.is-active {
    color: #0086a5;
    border: 2px solid #0086a5;
}

#page_view .shop-brand-image {
    display: block;
    width: 48px;
    height: 42px;
    object-fit: contain;
}

#page_view .shop-brand-image-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8cc5c6;
    font-size: 26px;
}

#page_view .shop-brand-card:hover {
    color: #0c7275;
    border-color: #0c7275;
    box-shadow: 0 6px 16px rgba(20, 66, 110, .1);
    transform: translateY(-2px);
}

#page_view .shop-brand-card strong {
    overflow: hidden;
    max-width: 100%;
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#page_view .shop-brand-card span {
    color: #84929a;
    font-size: 10px;
}

#page_view .shop-brand-nav {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: #0086a5;
    border: 1px solid #0086a5;
    border-radius: 50%;
    cursor: pointer;
}

#page_view .shop-brand-nav:hover {
    background: #006f89;
    border-color: #006f89;
}

#page_view .shop-archive-search {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

#page_view .shop-archive-search input[type="search"] {
    width: 100%;
    height: 42px;
    padding: 8px 48px 8px 16px;
    color: #46515a;
    background: #f3f5f6;
    border: 1px solid #dbe5ea;
    border-radius: 22px;
    font-family: iranyekan;
}

#page_view .shop-archive-search button {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 42px;
    padding: 0;
    color: #1d2529;
    background: transparent;
    border: 0;
    cursor: pointer;
}

#page_view .shop-archive-search input[type="search"]:focus {
    outline: 0;
    border-color: #0c7275;
    box-shadow: 0 0 0 3px rgba(12, 114, 117, .1);
}

#page_view .shop-scroll-layout {
    align-items: flex-start;
    margin-left: -10px;
    margin-right: -10px;
}

#page_view .shop-scroll-layout > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

#page_view .prosidebar {
    position: sticky;
    top: 92px;
}

#page_view .shop_filters_box,
#page_view .probox {
    padding: 20px;
    background: #fff;
    border: 1px solid #e1eaee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 66, 110, .06);
}

#page_view .shop_filters_box {
    color: #566671;
}

#page_view .widget_box {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #edf1f3;
}

#page_view .widget_box:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

#page_view .widget_box_title {
    margin-bottom: 12px;
    padding-right: 10px;
    border-right: 3px solid #8cc5c6;
}

#page_view .widget_box_title h3 {
    color: #14426e;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
}

#page_view .widget_box ul li {
    padding: 5px 0;
    color: #687983;
}

#page_view .widget_box ul li a {
    color: #687983;
    transition: color .2s ease;
}

#page_view .widget_box ul li a:hover {
    color: #0c7275;
}

#page_view .widget_box input,
#page_view .widget_box select {
    width: 100%;
    min-height: 40px;
    padding: 6px 10px;
    color: #46515a;
    background: #fbfcfd;
    border: 1px solid #dbe5ea;
    border-radius: 6px;
    font-family: iranyekan;
}

#page_view .woocommerce-result-count {
    float: right;
    margin: 5px 0 18px;
    color: #7b8a94;
    font-size: 13px;
}

#page_view .woocommerce-ordering {
    float: left;
    margin: 0 0 18px;
}

#page_view .woocommerce-ordering select {
    min-height: 38px;
    padding: 5px 12px;
    color: #46515a;
    background: #fbfcfd;
    border: 1px solid #dbe5ea;
    border-radius: 6px;
    font-family: iranyekan;
    font-size: 12px;
}

#page_view .woocommerce ul.products,
#page_view ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    clear: both;
    margin: 0;
    padding: 0;
}

#page_view ul.products::before,
#page_view ul.products::after {
    display: none;
}

#page_view ul.products li.product,
#page_view ul.products li.ts-product-card {
    float: none;
    width: auto;
    margin: 0;
}

#page_view .ts-product-card {
    min-width: 0;
    list-style: none;
}

#page_view .ts-card-inner {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1eaee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 66, 110, .06);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

#page_view .ts-product-card:hover .ts-card-inner {
    border-color: #8cc5c6;
    box-shadow: 0 14px 28px rgba(20, 66, 110, .12);
    transform: translateY(-4px);
}

#page_view .ts-image-wrap {
    position: relative;
    overflow: hidden;
    background: #fff;
}

#page_view .ts-card-link {
    display: block;
}

#page_view .ts-card-image,
#page_view .ts-image-wrap .attachment-woocommerce_thumbnail {
    display: block;
    width: 100%;height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transition: transform .35s ease;
}

#page_view .ts-product-card:hover .ts-card-image {
    transform: scale(1.04);
}

#page_view .ts-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

#page_view .ts-wishlist {
    width: 34px;
    height: 34px;
    padding: 0;
    color: #14426e;
    background: #fff;
    border: 1px solid #e1eaee;
    border-radius: 50%;
    cursor: pointer;
}

#page_view .ts-wishlist:hover {
    color: #d70000;
}

#page_view .ts-badge-new {
    padding: 3px 9px;
    color: #fff;
    background: #0c7275;
    border-radius: 5px;
    font-size: 11px;
    line-height: 1.7;
}

#page_view .ts-card-body {
    display: flex;
    min-height: 126px;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 16px 16px;
}

#page_view .ts-card-title {
    min-height: 50px;
    color: #14426e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}

#page_view .ts-card-title:hover {
    color: #0c7275;
}

#page_view .ts-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #edf1f3;
}

#page_view .ts-card-price,
#page_view .ts-card-price .amount {
    color: #094045;
    font-size: 14px;
    font-weight: 700;
}

#page_view .ts-card-price del {
    display: block;
    color: #9aa7af;
    font-size: 11px;
    font-weight: 400;
}

#page_view .ts-card-add-to-cart {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: #14426e;
    border-radius: 50%;
    transition: background-color .2s ease, transform .2s ease;
}

#page_view .ts-card-add-to-cart:hover {
    color: #fff;
    background: #0c7275;
    transform: translateY(-2px);
}

#page_view .ts-card-add-to-cart svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

#page_view .ts-card-actions .added_to_cart {
    display: none !important;
}

#page_view .woocommerce nav.woocommerce-pagination {
    margin-top: 30px;
    text-align: center;
}

#page_view .woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 6px;
    border: 0;
}

#page_view .woocommerce nav.woocommerce-pagination ul li {
    border: 0;
}

#page_view .woocommerce nav.woocommerce-pagination a,
#page_view .woocommerce nav.woocommerce-pagination span {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    color: #14426e;
    background: #fff;
    border: 1px solid #dce7eb;
    border-radius: 6px;
    font-size: 13px;
}

#page_view .woocommerce nav.woocommerce-pagination a:hover,
#page_view .woocommerce nav.woocommerce-pagination span.current {
    color: #fff;
    background: #14426e;
    border-color: #14426e;
}

/* ===== صفحه جزئیات محصول ===== */
#page_view .product_list > .woocommerce-notices-wrapper {
    margin-bottom: 16px;
}

#page_view .product_list > .product,
#page_view .product_list > .type-product {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
    gap: 0 28px;
    align-items: start;
    direction: ltr;
    padding: 15px;
    background: #fff;
    border: 1px solid #e1eaee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 66, 110, .06);
}

#page_view .product_list > .product > *,
#page_view .product_list > .type-product > * {
    direction: rtl;
}

#page_view .product_list .woocommerce-product-gallery {
    position: relative;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 15px;
    opacity: 1 !important;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#page_view .product_list .woocommerce-product-gallery__wrapper {
    margin: 0;
}

#page_view .product_list .woocommerce-product-gallery__image a,
#page_view .product_list .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
}

#page_view .product_list .woocommerce-product-gallery__image {
    overflow: hidden;
    background: #fff;
    border-radius: 7px;
}

#page_view .product_list .woocommerce-product-gallery__image img {
    height: 410px;
    object-fit: contain;
    border-radius: 7px;
}

#page_view .product_list .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin: 12px 0 0;
}

#page_view .product_list .flex-control-thumbs li {
    width: auto;
    margin: 0;
}

#page_view .product_list .flex-control-thumbs img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid #e1eaee;
    border-radius: 6px;
    opacity: .62;
    transition: opacity .2s ease, border-color .2s ease;
}

#page_view .product_list .flex-control-thumbs .flex-active,
#page_view .product_list .flex-control-thumbs img:hover {
    border-color: #8cc5c6;
    opacity: 1;
}

#page_view .product_list .summary {
    float: none;
    width: auto;
    margin: 0;
    padding: 24px 26px 15px 28px;
    background: transparent;
    border: 0;
    border-left: 1px solid #edf1f3;
    border-radius: 0;
    box-shadow: none;
}

#page_view .product_list .summary .product_title {
    margin: 0 0 13px;
    color: #14426e;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.75;
}

#page_view .product_list .summary .woocommerce-product-rating {
    margin: 0 0 17px;
    color: #7b8a94;
}

#page_view .product_list .summary .star-rating {
    float: none;
    display: inline-block;
    margin: 0 0 0 8px;
    color: #e4a11b;
}

#page_view .product_list .summary .price {
    margin: 0 0 18px;
    padding: 15px 0;
    color: #094045;
    border-top: 1px solid #edf1f3;
    border-bottom: 1px solid #edf1f3;
    font-size: 23px;
    font-weight: 700;
}

#page_view .product_list .summary .price del {
    display: block;
    color: #9aa7af;
    font-size: 13px;
    font-weight: 400;
}

#page_view .product_list .summary .price ins {
    text-decoration: none;
}

#page_view .product_list .summary .woocommerce-product-details__short-description {
    margin-bottom: 20px;
    color: #566671;
    font-size: 14px;
    line-height: 2.15;
}

#page_view .product_list .summary form.cart {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
}

#page_view .product_list .summary form.cart .quantity .qty,
#page_view .product_list .summary form.cart .quantity input {
    width: 58px;
    height: 46px;
    padding: 0 6px;
    color: #14426e;
    background: #fbfcfd;
    border: 1px solid #dbe5ea;
    border-radius: 6px;
    text-align: center;
    font-family: iranyekan;
}

#page_view .product_list .summary form.cart .single_add_to_cart_button {
    min-height: 46px;
    flex: 1;
    padding: 9px 18px;
    color: #fff;
    background: #14426e;
    border: 0;
    border-radius: 6px;
    font-family: iranyekan;
    font-size: 14px;
    font-weight: 700;    max-width: 200px;
    transition: background-color .2s ease, transform .2s ease;
}

#page_view .product_list .summary form.cart .single_add_to_cart_button:hover,
#page_view .product_list .summary form.cart .single_add_to_cart_button:focus {
    background: #0c7275;
    transform: translateY(-1px);
}

#page_view .product_list .summary .product_meta {
    padding-top: 15px;
    color: #8a97a1;
    border-top: 1px solid #edf1f3;
    font-size: 12px;
}

#page_view .product_list .summary .product_meta a {
    color: #0c7275;
}

#page_view .product_list .woocommerce-tabs,
#page_view .product_list .related,
#page_view .product_list .upsells {
    grid-column: 1 / -1;
    width: auto;
    margin: 0;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #e1eaee;
    border-radius: 10px;margin-bottom: 25px;
}

/* قاب مشترک فقط برای تصویر و اطلاعات محصول */
#page_view .product_list > .product,
#page_view .product_list > .type-product {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#page_view .product_list .product-main-box {
    display: grid;    margin-bottom: 25px;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
    gap: 0 28px;
    align-items: start;
    padding: 15px;
    direction: ltr;
    background: #fff;
    border: 1px solid #e1eaee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 66, 110, .06);
}

#page_view .product_list .product-main-box > * {
    direction: rtl;
}

#page_view .product_list .woocommerce-tabs {
    margin-top: 2px;
}

#page_view .product_list .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 22px;
    margin: 0 0 18px;
    padding: 0 0 10px;
    border-bottom: 1px solid #edf1f3;
}

#page_view .product_list .woocommerce-tabs ul.tabs::before,
#page_view .product_list .woocommerce-tabs ul.tabs::after {
    display: none;
}

#page_view .product_list .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0 0 8px;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
}

#page_view .product_list .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: #8cc5c6;
}

#page_view .product_list .woocommerce-tabs ul.tabs li a {
    padding: 0;
    color: #14426e;
    font-weight: 700;
}

#page_view .product_list .woocommerce-tabs .panel {
    margin: 0;
    color: #566671;
    font-size: 14px;
    line-height: 2.15;
}

#page_view .product_list .woocommerce-tabs .woocommerce-product-attributes {
    width: 100%;
    margin: 6px 0 0;
    border-collapse: separate;
    border-spacing: 0 8px;
    border: 0;
}

#page_view .product_list .woocommerce-tabs .woocommerce-product-attributes tr {
    background: #f8fafb;
}

#page_view .product_list .woocommerce-tabs .woocommerce-product-attributes th,
#page_view .product_list .woocommerce-tabs .woocommerce-product-attributes td {
    padding: 12px 16px;
    border: 0;
    vertical-align: middle;
}

#page_view .product_list .woocommerce-tabs .woocommerce-product-attributes th {
    width: 30%;
    color: #14426e;
    background: #eef5f6;
    font-weight: 700;
    text-align: right;
}

#page_view .product_list .woocommerce-tabs .woocommerce-product-attributes td {
    color: #566671;
    background: #f8fafb;
    text-align: right;
}

#page_view .product_list .woocommerce-tabs .woocommerce-product-attributes th:first-child {
    border-radius: 0 6px 6px 0;
}

#page_view .product_list .woocommerce-tabs .woocommerce-product-attributes td:last-child {
    border-radius: 6px 0 0 6px;
}

#page_view .product_list .woocommerce-tabs .woocommerce-product-attributes .woocommerce-product-attributes-item__value p {
    margin: 0;
}

#page_view .product_list #reviews {
    max-width: 860px;
}

#page_view .product_list #review_form_wrapper {
    max-width: 720px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #edf1f3;
}

#page_view .product_list #review_form_wrapper label {
    color: #41505c;
    font-size: 13px;
}

#page_view .product_list #review_form_wrapper input[type="text"],
#page_view .product_list #review_form_wrapper input[type="email"],
#page_view .product_list #review_form_wrapper select,
#page_view .product_list #review_form_wrapper textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 42px;
    padding: 8px 11px;
    color: #46515a;
    background: #fbfcfd;
    border: 1px solid #dbe5ea;
    border-radius: 6px;
    font-family: iranyekan;
}

#page_view .product_list #review_form_wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

#page_view .product_list #review_form_wrapper .form-submit input[type="submit"] {
    padding: 9px 25px;
    color: #fff;
    background: #14426e;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-family: iranyekan;
    font-weight: 700;
}

#page_view .product_list .woocommerce-tabs .panel h2,
#page_view .product_list .related h2,
#page_view .product_list .upsells h2 {
    margin: 0 0 14px;
    color: #14426e;
    font-size: 20px;
}

#page_view .product_list .related ul.products,
#page_view .product_list .upsells ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ===== کنترل نهایی عرض و چیدمان در همه اندازه‌ها ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
iframe,
video,
embed,
object {
    max-width: 100%;
}

table {
    max-width: 100%;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.home_about_video_row,
.home_category_board,
.shop-archive-tools {
    min-width: 0;
}

.home_video_embed iframe,
.home_video_embed video {
    display: block;
    width: 100%;
    max-width: 100%;
}




@media (min-width: 1200px) {
    .container {
        max-width: 1192px;
    }
}
@media (min-width: 1600px) {
    .container-fluid {
        width: 1324px;
        padding-right: 0;
        padding-left: 0;
    }
}
@media (max-width: 1200px) {
        .portfolio_title .htitle {
        font-size: 36px;
    }

    .portfolio_title p {
        font-size: 14px;
    }

    .portfolio_item_title a {
        font-size: 17px;
    }

    .portfolio_item_excerpt {
        font-size: 13px;
    }
    .home_category_board {
        flex-direction: column;
    }

    .home_category_featured {
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}
@media (max-width: 1100px) {
        .main-nav {
        display: none; /* منوی افقی دسکتاپ مخفی می‌شود */
    }
    .menu-toggle {
        display: inline-flex; /* دکمه همبرگر نمایش داده می‌شود */
    }
    .header-logo img {
        max-height: 40px;
    }
    .header-main-inner {
        justify-content: space-between;
        gap: 10px;
    }
    .header-logo {
        flex: 1 1 auto;
        text-align: center;
        justify-content: center;
    }
    .header-logo a {
        margin: 0 auto;
    }
    .free-consultation-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: #14426e;
        background-color: #fff;
        border-radius: 50%;
        font-size: 17px;
    }
    div#mobile_menu {
        display: block !important;
        position: fixed;
        top: 0;
        right: -320px; /* خارج از صفحه در حالت بسته */
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background-color: #fff;
        box-shadow: -8px 0 30px rgba(16, 49, 65, 0.18);
        z-index: 2000;
        overflow-y: auto;
        padding: 18px 0;
        transition: right .3s ease;
        direction: rtl;
    }
    div#mobile_menu.open {
        right: 0;
    }
}


@media (max-width: 991px) {
        #page_view ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #page_view .prosidebar {
        top: 82px;
    }
    .home_category_tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home_featured_content h4 {
        font-size: 26px;
    }
    .home_about_video_row {
        flex-direction: column;
    }

    .header-main-inner {
        padding-right: 12px;
        padding-left: 12px;
    }

    .header-actions {
        gap: 2px;
    }

    .footer-main .row {
        row-gap: 24px;
    }

    .home_about_video_row {
        padding-right: 20px;
        padding-left: 20px;
    }

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

    #page_view .shop-scroll-layout > .col-md-3,
    #page_view .shop-scroll-layout > .col-md-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #page_view .prosidebar {
        position: static;
        margin-bottom: 18px;
    }

    #page_view .product_list .product-main-box {
        grid-template-columns: minmax(0, 1fr);
    }

    #page_view .product_list .summary {
        margin-top: 18px;
        padding: 20px 0 0;
        border-top: 1px solid #edf1f3;
        border-left: 0;
    }
    .home_about_video_row {
        align-items: stretch;
    }

    .home_about_content,
    .home_video_frame_wrap {
        min-width: 0;
        width: 100%;
    }

    .home_video_embed img {
        width: 100%;
        max-width: none;
        height: auto;
    }

    .eyeglass_repairs_content {
        width: min(55%, 430px);
        padding-right: 32px;
        padding-left: 32px;
    }

    #page_view .product_list > .product,
    #page_view .product_list > .type-product {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
        #single_view .page_entry .post_header {
        padding: 22px 20px 18px;
    }

    #single_view .page_entry .post_header h1 {
        font-size: 24px;
    }

    #single_view .page_entry .post_header h1::before {
        top: 6px;
        height: 27px;
    }

    #single_view .page_entry .post_content {
        padding: 27px 20px 34px;
        font-size: 14px;
        line-height: 2.2;
    }

    #single_view .page_entry .post_content p:first-child {
        font-size: 16px;
    }
        .header-announcement > .container {
        min-height: 32px;
    }
    .announcement-text {
        font-size: 12px;
    }
    .announcement-phone {
        font-size: 12px;
    }
    .header-main {
        padding: 8px 0;
    }
    .action-icon-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
        .eyeglass_repairs {
        min-height: 430px;
        margin: 30px 0;
        background-position: 62% center;
    }

    .eyeglass_repairs_content {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        min-height: 430px;
        padding: 34px 25px;
        justify-content: flex-end;
        text-align: left;
        background: linear-gradient(90deg, rgba(222, 246, 250, .96) 0%, rgba(222, 246, 250, .84) 62%, rgba(222, 246, 250, 0) 100%);
    }

    .eyeglass_repairs_content h2 {
        font-size: 28px;
    }

    .eyeglass_repairs_content p {
        max-width: 300px;
        font-size: 14px;
    }

    #home_about_video {
        padding: 50px 0;
    }

    .home_about_video_row {
        flex-direction: column-reverse;
        padding: 0 14px;
        gap: 40px;
    }

    .home_about_title {
        font-size: 21px;
    }

    .home_about_main_text {
        font-size: 14px;
    }

    .home_about_text p {
        font-size: 13px;
    }

    .home_about_services {
        padding: 14px 14px 4px;
    }

    .home_about_services_title {
        font-size: 16px;
    }

    .home_about_group_title {
        font-size: 14px;
    }

    .home_about_list li,
    .home_about_summary {
        font-size: 13px;
        line-height: 2.2;
    }

    .home_about_btn {
        padding: 11px 32px;
        font-size: 14px;
    }

    #home_products {
        padding: 35px 0 55px;
    }

    .home_products_title .htitle {
        font-size: 34px;
    }

    .home_product_title {
        min-height: 0;
    }

    .home_product_title a {
        font-size: 14px;
        line-height: 1.7;
    }

    .home_product_cat,
    .home_product_sku {
        font-size: 12px;
    }

    .home_product_price {
        font-size: 17px;
        min-height: 32px;
    }

    .home_product_btn,
    .home_product_btn:visited,
    .home_product_btn:hover,
    .home_product_btn:focus {
        font-size: 13px;
        min-width: 132px;
        padding: 10px 12px;
    }

    .home_products_nav {
        width: 30px;
        height: 30px;
        top: 40%;
    }

    .home_products_nav i {
        font-size: 21px;
    }

    .home_products_next {
        right: -16px;
    }

    .home_products_prev {
        left: -16px;
    }

    #portfolio {
        padding: 50px 0 35px;
    }

    .portfolio_title .htitle {
        font-size: 30px;
    }

    .portfolio_title p {
        font-size: 16px;
        line-height: 1.8;
    }

    .portfolio_item_title {
        min-height: 0;
    }

    .portfolio_item_title a {
        font-size: 17px;
        line-height: 1.5;
    }

    .portfolio_item_excerpt {
        font-size: 13px;
        min-height: 0;
    }

    .portfolio_item_cat {
        font-size: 14px;
    }
    .footer-col-about,
    .footer-col-links,
    .footer-col-trust {
        margin-bottom: 25px;
        text-align: right;
    }
      .page_header {
        padding: 25px 0 22px;
    }

    .page_header > .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .cat_header h1 {
        font-size: 25px;
    }

    .cat_list_item_content {
        padding: 14px 14px 8px;
    }

    .cat_list_item_content h2,
    .cat_list_item_content h2 a {
        font-size: 16px;
    }

    .cat_list_item_content p {
        font-size: 12px;
    }

    .cat_list_item_detail {
        margin: 0 14px;
    }
        #single_view #respond,
    #single_view #comments {
        padding: 19px 17px;
    }

    #single_view #respond h3,
    #single_view #comments > h3 {
        font-size: 18px;
    }

    #single_view #commentform .btn_left {
        text-align: right;
    }
        #single_view {
        padding: 22px 0 45px;
    }

    #single_view > .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    #single_view .post_header {
        padding: 19px 17px 14px;
    }

    #single_view .post_header h1 {
        margin-top: 12px;
        font-size: 23px;
        line-height: 1.8;
    }

    #single_view .post_content {
        padding: 22px 17px 28px;
        font-size: 14px;
        line-height: 2.15;
    }

    #single_view .post_content h2 {
        margin-top: 27px;
        font-size: 19px;
    }

    #single_view .post_content h3 {
        font-size: 16px;
    }

    #single_view .post_sidebat {
        position: static;
        margin-top: 22px;
        padding: 16px;
    }
        #page_view {
        padding: 20px 0 45px;
    }

    #page_view > .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    #page_view .shop-scroll-layout {
        margin-left: -6px;
        margin-right: -6px;
    }

    #page_view .shop-scroll-layout > [class*="col-"] {
        padding-left: 6px;
        padding-right: 6px;
    }

    #page_view .prosidebar {
        position: static;
        margin-bottom: 16px;
    }

    #page_view .shop_filters_box,
    #page_view .probox {
        padding: 14px;
    }

    #page_view .woocommerce-ordering,
    #page_view .woocommerce-result-count {
        float: none;
        margin-bottom: 12px;
    }

    #page_view .woocommerce-ordering select {
        width: 100%;
    }

    #page_view ul.products {
        gap: 12px;
    }

    #page_view .ts-card-body {
        min-height: 116px;
        padding: 12px 11px 13px;
    }

    #page_view .ts-card-title {
        min-height: 48px;
        font-size: 13px;
    }

    #page_view .ts-card-price,
    #page_view .ts-card-price .amount {
        font-size: 12px;
    }
      .container,
    .container-fluid {
        padding-right: 12px;
        padding-left: 12px;
    }

    .header-main-inner {
        position: relative;
        min-height: 48px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .header-logo {
        position: absolute;
        top: 50%;
        right: 50%;
        z-index: 1;
        flex: 0 0 auto;
        min-width: 0;
        padding: 0;
        background: transparent;
        transform: translate(50%, -50%);
    }

    .header-logo img {
        max-width: 140px;
        max-height: 40px;
        width: auto;
        display: block;
    }

    .menu-toggle {
        position: relative;
        z-index: 2;
    }

    .menu-toggle span {
        background-color: #fff;
    }

    .header-actions {
        position: relative;
        z-index: 2;
        flex: 0 0 auto;
    }

    .header-actions .action-icon-btn,
    .free-consultation-mobile,
    .menu-toggle {
        width: 36px;
        height: 36px;
    }

    .header-actions .action-icon-btn {
        font-size: 16px;
    }

    .free-consultation-mobile {
        font-size: 15px;
    }

    .cart-link .cart-count {
        top: 1px;
        left: 0;
    }

    .home_about_video_row {
        padding-right: 0;
        padding-left: 0;
        gap: 25px;
    }

    .home_about_title h2 {
        font-size: 25px;
        padding: 6px 12px;
    }

    .home_category_board {
        gap: 10px;
    }

    .home_category_tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home_category_tile {
        min-width: 0;
    }

    .home_category_tile h4 {
        overflow-wrap: anywhere;
    }

    .home_featured_content h4,
    .home_featured_desc {
        overflow-wrap: anywhere;
    }

    .home_featured_desc {
        white-space: normal;
    }

    .shop-archive-tools {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .shop-brand-filter {
        min-width: 0;
    }

    .shop-archive-search {
        width: 100%;
    }

    #page_view ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    #page_view .ts-card-inner,
    #page_view .ts-card-body,
    #page_view .ts-card-footer {
        min-width: 0;
    }

    #page_view .ts-card-title {
        overflow-wrap: anywhere;
    }

    #page_view .woocommerce .woocommerce-ordering,
    #page_view .woocommerce .woocommerce-result-count {
        float: none;
        display: block;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    #page_view .woocommerce .woocommerce-ordering select {
        width: 100%;
        max-width: none;
    }

    #page_view .product_list .woocommerce-product-gallery__image img {
        height: auto;
        max-height: 320px;
    }

    #page_view .product_list .summary form.cart {
        align-items: stretch;
        flex-wrap: wrap;
    }

    #page_view .product_list .summary form.cart .single_add_to_cart_button {
        max-width: none;
        min-width: 0;
    }

    #page_view .product_list .woocommerce-tabs,
    #page_view .product_list .related,
    #page_view .product_list .upsells {
        overflow-x: auto;
    }

    #page_view .product_list .woocommerce-tabs .woocommerce-product-attributes {
        min-width: 420px;
    }

    #page_view .product_list .woocommerce-tabs .panel,
    #page_view .product_list .woocommerce-tabs .panel img,
    #page_view .product_list .woocommerce-tabs .panel iframe {
        max-width: 100%;
    }

    .footer-main {
        padding-top: 30px;
    }

    .footer-logo {
        max-height: 90px;
    }
        #services.home_category_showcase {
        margin-top: 22px;
    }

    .home_category_search {
        height: 46px;
    }

    .home_category_search input {
        font-size: 16px;
        padding: 0 14px;
    }

    .home_category_search button {
        width: 52px;
        font-size: 22px;
    }

    .home_category_tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home_category_tile {
        min-height: 140px;
        border-radius: 16px;
        padding: 14px;
    }

    .home_category_tile h4 {
        font-size: 16px;
    }

    .home_category_featured {
        grid-template-columns: 1fr;
    }

    .home_featured_card {
        height: 146px;
        min-height: 0;
        border-radius: 16px;
    }

    .home_featured_content {
        top: 33px;
        right: 108px;
        left: 90px;
    }

    .home_featured_media {
        top: 27px;
        right: 14px;
        width: 76px;
        height: 76px;
    }

    .home_featured_content h4 {
        font-size: 22px;
    }
    .header-main-inner {
        gap: 4px;
    }

    .header-logo img {
        max-width: 120px;
    }

    .home_about_video_row {
        flex-direction: column;
        gap: 22px;
    }

    .home_about_title {
        margin-bottom: 16px;
    }

    .home_about_title h2 {
        line-height: 1.45;
    }

    .home_about_main_text,
    .home_about_text p {
        font-size: 14px;
        line-height: 2.15;
    }

    .eyeglass_repairs {
        min-height: 360px;
        border-radius: 16px;
        background-position: 62% center;
    }

    .eyeglass_repairs_content {
        position: relative;
        width: 100%;
        min-height: 360px;
        padding: 36px 22px;
        background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .78) 55%, rgba(255, 255, 255, 0) 100%);
    }

    .eyeglass_repairs_content h2 {
        font-size: 28px;
    }

    .eyeglass_repairs_content p {
        font-size: 14px;
    }

    .home_sentence_box {
        min-height: 150px;
        padding: 28px 18px;
    }

    .home_sentence_box p {
        font-size: 16px;
    }

    #page_view .product_list .woocommerce-product-gallery__image img {
        max-height: 300px;
    }

    #page_view .product_list .woocommerce-tabs .woocommerce-product-attributes {
        min-width: 0;
        table-layout: fixed;
        word-break: break-word;
    }

    #page_view .product_list .woocommerce-product-attributes th,
    #page_view .product_list .woocommerce-product-attributes td {
        width: auto;
        padding: 9px 8px;
        font-size: 12px;
    }
    #page_view .product_list > .product,
    #page_view .product_list > .type-product {
        display: block;
        padding: 14px;
    }

    #page_view .product_list > .product,
    #page_view .product_list > .type-product {
        padding: 0;
    }

    #page_view .product_list .product-main-box {
        display: block;
        padding: 14px;
    }

    #page_view .product_list .woocommerce-product-gallery {
        padding: 0 0 14px;
        border-bottom: 1px solid #edf1f3;
    }

    #page_view .product_list .summary {
        margin-top: 16px;
        padding: 5px 2px 0;
        border-left: 0;
    }

    #page_view .product_list .summary .product_title {
        font-size: 21px;
    }

    #page_view .product_list .summary .price {
        font-size: 20px;
    }

    #page_view .product_list .woocommerce-product-gallery__image img {
        height: 280px;
    }

    #page_view .product_list .woocommerce-tabs,
    #page_view .product_list .related,
    #page_view .product_list .upsells {
        margin-top: 16px;
        padding: 18px 14px;
    }

    #page_view .product_list .woocommerce-tabs ul.tabs {
        gap: 14px;
        overflow-x: auto;
        white-space: nowrap;
    }

    #page_view .product_list .woocommerce-tabs .woocommerce-product-attributes th,
    #page_view .product_list .woocommerce-tabs .woocommerce-product-attributes td {
        padding: 10px 11px;
    }

    #page_view .product_list .woocommerce-tabs .woocommerce-product-attributes th {
        width: 38%;
    }

    #page_view .product_list .related ul.products,
    #page_view .product_list .upsells ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
        /* در صفحه‌های خیلی کوچک، شماره تلفن از نوار اعلان مخفی می‌شود */
    .announcement-phone {
        display: none;
    }
    .header-announcement > .container {
        justify-content: center;
        text-align: center;
    }
    .container,
    .container-fluid {
        padding-right: 10px;
        padding-left: 10px;
    }

    .header-main {
        padding: 6px 0;
    }

    .header-main-inner {
        min-height: 44px;
    }

    .header-logo img {
        max-width: 100px;
    }

    .free-consultation-mobile {
        display: none;
    }

    .header-actions .action-icon-btn,
    .menu-toggle {
        width: 34px;
        height: 34px;
    }

    .home_category_search_wrap {
        margin-bottom: 18px;
    }

    .home_category_tile {
        min-height: 128px;
    }

    .home_featured_card {
        height: 138px;
    }

    .home_featured_content {
        right: 96px;
        left: 82px;
    }

    .home_featured_content h4 {
        font-size: 19px;
    }

    .home_featured_footer {
        left: 10px;
        right: 10px;
        padding-right: 7px;
        padding-left: 7px;
    }

    .home_featured_desc {
        max-width: 62%;
        font-size: 11px;
    }

    .eyeglass_repairs_content {
        min-height: 330px;
        padding: 28px 18px;
        background: rgba(255, 255, 255, .84);
    }

    .eyeglass_repairs_content h2 {
        font-size: 24px;
    }

    #page_view ul.products {
        gap: 10px;
    }

    #page_view .ts-card-body {
        padding-right: 9px;
        padding-left: 9px;
    }

    #page_view .ts-card-footer {
        align-items: flex-end;
        flex-direction: column;
    }
    .header-actions .action-icon-btn,
    .free-consultation-mobile,
    .menu-toggle {
        width: 32px;
        height: 32px;
    }

    .header-actions {
        gap: 0;
    }

    .header-logo img {
        max-width: 96px;
        max-height: 36px;
    }

    #page_view ul.products,
    #page_view .product_list .related ul.products,
    #page_view .product_list .upsells ul.products {
        grid-template-columns: 1fr;
    }

    .home_category_tile {
        padding-right: 9px;
        padding-left: 9px;
    }

    .home_category_tile h4 {
        font-size: 14px;
    }
}

@media (min-width: 992px) and (max-width: 1100px) {
    .header-main-inner {
        padding-right: 18px;
        padding-left: 18px;
    }

    .home_about_video_row {
        padding-right: 24px;
        padding-left: 24px;
        gap: 24px;
    }

    #page_view ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #page_view .product_list > .product,
    #page_view .product_list > .type-product {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1100px) {
    .header {
        width: 100%;
    }

    .header-main-inner {
        width: 100%;
        min-width: 0;
    }

    .header-logo {
        order: 0;
        flex: 0 0 auto;
        min-width: 0;
        max-width: 100%;
        padding: 3px;
        background: #fff;
        border-radius: 50%;
        overflow: hidden;
    }

    .header-logo img {
        display: block;
        width: auto;
        max-width: min(52vw, 300px);
        object-fit: contain;
    }
button#menu_toggle
{
    margin-right:15px;
}
    .main-nav {
        display: none !important;
    }

    .menu-toggle {
        order: 1;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 42px;
    }

    .header-actions {
        order: 2;
        flex: 0 0 auto;
        min-width: max-content;
    }

    .menu-toggle span {
        display: block;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .header-main-inner {
        position: relative;
    }

    .menu-toggle {
        position: absolute;
        top: 50%;
        right: 62px;
        z-index: 3;
        transform: translateY(-50%);
    }

    .menu-toggle span {
        width: 28px;
        height: 3px;
        background-color: #fff;
    }
}

@media (max-width: 1100px) {
    div#mobile_menu {
        width: min(320px, 88vw);
        max-width: none;
        padding: 0;
        border-left: 1px solid #e5edf1;
        box-shadow: -12px 0 32px rgba(16, 49, 65, .2);
    }

    #close_menu {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        min-height: 58px;
        align-items: center;
        justify-content: flex-start;
        padding: 0 18px;
        background: #fff;
        border-bottom: 1px solid #edf1f3;
    }

    #close_menu i {
        display: inline-flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        color: #14426e;
        background: #f3f7f9;
        border-radius: 50%;
        font-size: 20px;
    }

    #mobile_menu nav {
        padding: 8px 12px 24px;
    }

    #mobile_menu nav > ul > li {
        border-bottom: 1px solid #edf1f3;
    }

    #mobile_menu nav > ul > li > a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 10px 12px;
        color: #243746;
        font-size: 15px;
        line-height: 1.8;
    }

    #mobile_menu nav > ul > li.has_child > i {
        top: 10px;
        left: 6px;
        display: inline-flex;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        color: #14426e;
        background: #f3f7f9;
        border-radius: 50%;
        font-size: 16px;
    }

    #mobile_menu nav > ul > li.opened > i {
        color: #fff;
        background: #14426e;
        transform: rotate(180deg);
    }

    #mobile_menu nav > ul > li > ul {
        margin: 0 6px 8px;
        padding: 6px 10px 8px;
        background: #f4f8fa;
        border: 1px solid #e2ecef;
        border-right: 3px solid #8cc5c6;
        border-radius: 6px;
    }

    #mobile_menu nav > ul > li > ul > li {
        border-bottom: 1px solid #e8eef0;
    }

    #mobile_menu nav > ul > li > ul > li:last-child {
        border-bottom: 0;
    }

    #mobile_menu nav > ul > li > ul > li > a {
        position: relative;
        min-height: 38px;
        padding: 7px 22px 7px 10px;
        color: #566671;
        font-size: 13px;
        line-height: 1.8;
    }

    #mobile_menu nav > ul > li > ul > li > a::before {
        position: absolute;
        top: 50%;
        right: 6px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #8cc5c6;
        content: "";
        transform: translateY(-50%);
    }

    #mobile_menu nav ul ul ul {
        margin: 0 8px 6px 0;
        padding: 3px 8px;
        background: #fff;
        border-right: 2px solid #dce9ec;
        border-radius: 4px;
    }

    #mobile_menu nav ul ul ul li a {
        min-height: 34px;
        padding: 5px 14px 5px 8px;
        color: #71808a;
        font-size: 12px;
    }

    #mobile_menu nav ul ul ul li a::before {
        right: 3px;
        width: 4px;
        height: 4px;
        background: #b6cfd2;
    }

    #mobile_menu nav a:hover,
    #mobile_menu nav a:focus {
        color: #0c7275;
        background: #eef6f7;
    }
}
