@charset "UTF-8";

/*
Theme Name:   هُدهُد
Description: Template Shop
Author:       hnemati - Codein
Author URI:   http://codein.daarnoo.ir
Create Date:  1404/11/23
Update Date:  1405/01/30
Version:      1.5
Tags:Shop,Store,
*/

@font-face {
    font-family: 'codein';
    src: url('assets/fonts/Shabnam-FD-WOL.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'codein';
    src: url('assets/fonts/Shabnam-Light-FD-WOL.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'codein';
    src: url('assets/fonts/Shabnam-Thin-FD-WOL.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'codein';
    src: url('assets/fonts/Shabnam-Medium-FD-WOL.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'codein';
    src: url('assets/fonts/Shabnam-Bold-FD-WOL.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --main-font-family: "codein", tahoma;
    --main-bg-color: #fff;
    --font-color: #252525;
    --font-color-hover-black: #303030;
    --bg-card-Discount-carousel: #feeff4;
    --bg-card-Discount-carousel-hover: #fce4ec;
    --bg-card-Discount-carousel-active: #F8BBD0;
    --bg-card-top-view: #f0f4f9;
    --bg-card-top-view-hover: #e2e7eb;
    --bg-card-top-view-active: #e2ebf3;
    --bg-card-product-category: #f5fff5;
    --bg-card-product-category-hover: #f1f8e9;
    --bg-card-product-category-active: #c8e6c9;
    --bg-footer: #102a43;

}

/* CSS Reset */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

input,
button,
select,
option {
    outline: none;
    font-family: var(--main-font-family);
}

/* End CSS Reset */
html,
body {
    background-color: var(--main-bg-color);
    font-family: var(--main-font-family);
    color: var(--font-color);
    direction: rtl;
    font-size: 1rem;
    font-weight: 200;
    font-feature-settings: "ss03";
}

/* start header */
.header {
    width: 95%;
    margin: 0 auto;
}

.logo {
    height: 100px;
}

.logo img {
    width: 81px;
    object-fit: cover;
}

.heading-h1-index {
    height: 1px;
    right: -10000px;
    overflow: hidden;
    position: relative;
    top: auto;
    width: 1px;
}

.top-bar {}

.text-support {
    font-size: 0.9rem;
    margin: 8px 2px;
    font-weight: 300;
}

.search {}

.support-top {
    position: relative;
}

.support-top::before {
    font-family: 'remixicon';
    content: '\EC0D';
    position: absolute;
    left: 20%;
    top: 20px;
    transform: scale(3) rotate(-28deg);
    color: rgb(16 42 67 / 12%);
}

.bottom-bar {
    height: 40px;
}

/* Menu Top */

.menu-main {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* آیتم‌های سطح اول */
.menu-main>li {
    position: relative;
}

.menu-main>li>a {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: .5rem 1rem;
    border-radius: 11px;
    color: var(--font-color);
    text-decoration: none;
    font-size: 15px;
    transition: all .2s ease-in-out;
    background-color: transparent;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    cursor: pointer;
}

.menu-main>li:hover>a {
    background-color: rgba(0, 0, 0, 0.04);
    color: #0f172a;
}

.menu-main>li:hover>a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: #FF9800;
    border-radius: 100;

}

/* فلش کنار آیتم‌های دارای زیرمنو (کلاسیک) */
.menu-main>li.menu-item-has-children>a::after {
    content: "\ea4e";
    /* ri-arrow-down-s-line */
    font-family: "remixicon";
    font-size: 14px;
    color: #999;
    transition: transform .3s;
}

.menu-main>li.menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

/* زیرمنوی کلاسیک (سطح ۲) */
.menu-main li>ul.sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #f8fafd;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
    list-style: none;
    margin: 0;
    padding: .5rem 0;
    border-radius: 8px;
    min-width: 180px;
    opacity: 0;
    pointer-events: none;
    transition: all .2s;
    z-index: 10;
}

.menu-main li:hover>ul.sub-menu {
    opacity: 1;
    pointer-events: auto;
    top: 100%;
}

.menu-main li ul.sub-menu li {
    position: relative;
}

.menu-main li ul.sub-menu li a {
    display: block;
    padding: .5rem 1rem;
    color: var(--font-color);
    text-decoration: none;
    font-size: 14px;
    transition: background .2s;
}

.menu-main li ul.sub-menu li a:hover {
    background: #d8e4f7;
}

/* زیرمنوی سطح ۳ در حالت کلاسیک → آبشاریِ چپ */
.menu-main li ul.sub-menu li ul.sub-menu {
    right: 100%;
    top: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    background: #f8fafd;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
    border-radius: 8px;
    padding: .5rem 0;
    min-width: 180px;
    transition: all .2s;
    z-index: 999;
}



.menu-main li ul.sub-menu li:hover>ul.sub-menu {
    opacity: 1;
    pointer-events: auto;
}



.menu-main>li>ul.sub-menu>li.menu-item-has-children>a {
    position: relative;
}

.menu-main>li>ul.sub-menu>li.menu-item-has-children>a::after {
    content: "\EA64";
    /* ri-arrow-down-s-line */
    font-family: "remixicon";
    font-size: 16px;
    color: #999;
    position: absolute;
    left: 0;
}

.menu-main>li>ul.sub-menu>li>ul.sub-menu>li.menu-item-has-children>a::after {
    content: "\EA64";
    /* ri-arrow-down-s-line */
    font-family: "remixicon";
    font-size: 16px;
    color: #999;
    position: absolute;
    left: 0;
}

/* End Menu top */

.basket-login-offcanvas {
    display: flex;
    align-items: center;
    justify-content: left;
}

.basket-login-offcanvas>div {
    margin: 0px 5px;
    padding: 0px 10px;
}

.basket-login-offcanvas>.login>a {
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 13px;
    background-color: #FFF3E0;
    border: 1px solid #FF9800;
    border-radius: 15px;
    color: #FF9800;
    transition: all .5s ease-in-out;
}

.basket-login-offcanvas>.login>a:hover {
    background-color: #FF9800;
    color: #FFF3E0
}

.basket-login-offcanvas>.login>a>i,
.basket-login-offcanvas>.basket>a>i {
    font-size: 1.5rem;
}

.basket>a {
    display: flex;
    border: 1px solid #FF9800;
    padding: 5px;
    border-radius: 10px;
    color: #FF9800;
    transition: all .5s ease-in-out;
}

.offcanvas-menu {
    display: none;
}

.bt-offcanvas {
    cursor: pointer;
    border: unset;
    background: unset;
    transform: scale(2.2);
    color: #ff9800;
}

/* */
.box-offcanvas {
    padding: 15px;
}
.off-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.off-menu li {
    position: relative;
    margin: 0;
    padding: 0;
}

.off-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 200;
}

.off-menu a:hover {
    background-color: #f5f5f5;
    color: #007bff;
}

.off-menu .sub-menu {
    display: none;
    padding-right: 20px;
    background-color: #fafafa;
}

.off-menu li.menu-item-has-children.open>.sub-menu {
    display: block;
}

.off-menu .menu-item-has-children>a {
    position: relative;
    padding-left: 35px;
}

.off-menu .menu-item-has-children>a::after {
    content: "\ea4e";
    font-family: "remixicon";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.off-menu .menu-item-has-children.open>a::after {
    content: "\ea78";
}

.off-menu>ul>li>a {
    font-weight: 200;
    background-color: #fff;
}

.off-menu .sub-menu a {
    font-size: 14px;
    padding: 10px 30px;
}

.off-menu li:last-child>a {
    border-bottom: none;
}

/* End Header */
.main {
    margin: 15px 0px;
}

.slideshow {
    width: 100%;
    box-shadow: 0 0 20px #C5CAE9;
    overflow: hidden;
    border-radius: 30px;
    padding: 0;
}

.slider {
    width: 100%;
    height: 100%;
}

.slider-a {
    display: block;
    width: 100%;
    aspect-ratio: 26 / 7;
    overflow: hidden;
}

.slider-a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 10px;
    background-color: #607D8B;
}

.top-category {
    margin: auto;
}

.top-category>ul {
    gap: 1rem;
}

.top-category>ul li {
    flex: 1;
}

.top-category>ul li a {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.top-category>ul li a img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all .7s ease-in-out;
}

.top-category>ul li a:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.top-category>ul li a span {
    display: block;
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .5s ease-in-out;
    font-size: 1.15rem;
    color: #fff;
    background: rgb(0 0 0 / 8%);
    padding: 5px 10px;
    border-radius: 10px;
}

.top-category>ul li a:hover span {
    bottom: 10%;
}

.new-product {
    margin-top: 25px;
}

.new-product .np-header {
    padding: 15px;
    margin: 15px;
    background: linear-gradient(-10deg, #ECEFF1, #fff, #fff);
    border-radius: 15px;
}

.offers .np-header {
    background: linear-gradient(-60deg, #E91E63, #FCE4EC, #fff);
    display: flex;
    justify-content: space-between;
}

.new-product .np-header h2 {
    font-weight: 500;
    font-size: 1.3rem;
}

.offers .np-header h2 {
    color: #fff;
}

.offers .np-header a {
    color: #E91E63;
    transition: all .5s ease-in-out;
    border-radius: 30px;
    padding: 2px 20px;
}

.offers .np-header a:hover {
    background-color: #FCE4EC;
}

.np-main-box {}

.np-main-box>li {}

.np-main-box>li a {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    width: 100%;
    box-shadow: 0 10px 30px rgba(191, 192, 193, 0.3);
    transition: all .5s ease-in-out;
}

.np-main-box>li a:hover {
    box-shadow: 0 10px 30px rgba(191, 192, 193, 0.9);
}

.np-main-box>li a img {
    border-radius: 15px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all .5s ease-in-out;
}

.np-main-box>li a:hover img {
    filter: brightness(0.8);
}

.box-product:nth-of-type(even) .bp-main {
    flex-direction: row-reverse;
}

.bp-main {}

.bp-header h2 {
    border-bottom: 1px solid #eee;
    display: inline-block;
    padding: 10px;
    transition: all .5s ease-in-out;
}

.box-product:hover .bp-header h2 {
    border-color: #000;
}

.bp-more {
    display: block;
    height: 100%;
    position: relative;
}

.bp-more>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 25px;
    transition: all .5s ease-in-out;
    box-shadow: 0 10px 30px rgba(191, 192, 193, 0.3);
}

.bp-more:hover>img {
    filter: brightness(0.4);
    box-shadow: 0 10px 30px rgba(191, 192, 193, 0.9);
}

.bp-main-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .5s ease-in-out;
    opacity: 0;
}

.bp-more:hover .bp-main-overlay {
    opacity: 1;
}

.bp-main-overlay h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
}

.bp-ul {
    height: 100%;
}

.bp-ul>li a {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    width: 100%;
    box-shadow: 0 10px 30px rgba(191, 192, 193, 0.3);
    transition: all .5s ease-in-out;
}

.bp-ul>li a:hover {
    box-shadow: 0 10px 30px rgba(191, 192, 193, 0.9);
}

.bp-ul>li a img {
    border-radius: 15px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all .5s ease-in-out;
    display: block;
}

.bp-ul>li a:hover img {
    filter: brightness(0.8);
}

/** more css **/
/* Start Search Ajax */
.ajax-search-container {
    position: relative;
    margin: 0px auto;
}

.ajax-search-form .input-group {
    position: relative;
    margin: 8px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ajax-search-input {
    border: none;
    padding: 12px 20px;
    width: 100%;
    height: auto;
    font-size: .8rem;
    font-weight: 400;
    font-family: var(--main-font-family);
}

.ajax-search-input:focus {
    box-shadow: none;
    border-color: transparent;
}

.ajax-search-button {
    position: absolute;
    left: 0;
    top: 0px;
    padding: 15px 15px;
    border: none;
    background: #f4d85e;
    color: white;
    transition: all 0.3s;
}

.ajax-search-button:hover {
    background: #ffc841;
}

.ajax-search-button>i {
    display: block;
    transition: transform .4s ease-in-out;
}

.input-group:hover .ajax-search-button>i {
    transform: rotate(360deg) scale(1.5);
    transform-origin: center;
}

/* نتایج جستجو */
.ajax-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    z-index: 10000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results-list li {
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.search-results-list li:last-child {
    border-bottom: none;
}

.search-results-list a {
    display: flex;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.search-results-list a:hover {
    background: #f5f8ff;
}

.search-results-list a .discount-percentage {
    bottom: 5px;
    top: unset;
    background-color: #fdecec;
    color: #ef6161;
}

.result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-left: 15px;
    flex-shrink: 0;
}

.result-details {
    flex-grow: 1;
    min-width: 0;
}

.result-title {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
    gap: 12px;
}

.result-type {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.result-type.product {
    background: rgba(67, 97, 238, 0.1);
    color: #4361ee;
}

.result-type.post {
    background: rgba(252, 163, 17, 0.1);
    color: #fca311;
}

.result-price {
    color: #28a745;
    font-weight: 600;
}

/* لودر و پیام‌ها */
.search-loading,
.no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.search-loading i {
    margin-left: 8px;
    font-size: 18px;
    vertical-align: middle;
}

/* End Search Ajax */
/* Archive */
.item-archive {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgb(0 0 0 / .05);
    transition: all 0.3s ease;
    height: 100%;
}

.item-caard {
    text-align: center;
}

.item-caard figure img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.item-caard-title {
    font-weight: 300;
    line-height: 30px;
    text-align: right;
}

.item-caard-info {
    width: 90%;
    color: #666;
}

.item-caard-info>div>span,
.item-caard-info>div>a {
    display: inline-block;
}

/* Start breadcrumb */
.archive-breadcrumb {
    border: 1px solid #eee;
    padding: 5px 10px;
    margin: 10px auto;
    border-radius: 10px;
}

/* end breadcrumb */
/* start archive pagination */
.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    border: unset;
    align-items: center;
    justify-content: center;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 14px;
    color: #333;
    background-color: #f5f5f5;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination a.page-numbers:hover {
    background-color: #e0e0e0 !important;
    color: #000 !important;
}

.pagination .page-numbers.current {
    background-color: #0073aa;
    color: #fff;
    font-weight: bold;
}

/* end archive pagination */
/** Start Sidebar */
.sidebar-archive-single {
    position: sticky;
    top: 35px;
}

/* استایل کلی سایدبار */
.sidebar-archive-single .w-theme.widget-left {
    padding: 25px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0rem 1rem rgba(0, 0, 0, 0.1);
    margin: 20px 10px;
}

/* استایل ابزارک‌ها */
.sidebar-archive-single .widget_block {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-archive-single .w-theme:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-archive-single .widget-title,
.sidebar-archive-single .wp-block-heading {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 1.8rem;
    padding-bottom: 12px;
    position: relative;
    letter-spacing: -0.3px;
}

.sidebar-archive-single .widget-title::after,
.sidebar-archive-single .wp-block-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #E91E63);
    border-radius: 7px;
}

/* استایل لیست محصولات */
.sidebar-archive-single .product_list_widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-archive-single .product_list_widget>li {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-archive-single .product_list_widget>li:last-child {
    margin-bottom: 0;
    padding-bottom: 4px;
    border-bottom: none;
}

/* استایل ردیف اول (تصویر و عنوان) */
.sidebar-archive-single .product_list_widget li>a {
    display: flex !important;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 10px;
}

/* استایل تصویر محصول */
.sidebar-archive-single .attachment-woocommerce_thumbnail {
    float: unset !important;
    display: inline-block;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sidebar-archive-single .product_list_widget>li:hover .attachment-woocommerce_thumbnail {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgb(233 30 99 / 15%);
}

/* استایل عنوان محصول */
.sidebar-archive-single .product-title {
    float: unset !important;
    display: flex;
    align-self: center;
    font-size: .8rem;
    font-weight: 200;
    color: #102a43;
    line-height: 1.5;
    transition: color 0.2s;
    flex-grow: 1;
}

.sidebar-archive-single .product_list_widget>li:hover .product-title {
    color: #E91E63;
}

/* استایل ردیف دوم (قیمت‌ها) */
.sidebar-archive-single .product_list_widget li>.woocommerce-Price-amount,
.sidebar-archive-single .product_list_widget li>del,
.sidebar-archive-single .product_list_widget li>ins {
    display: inline;
    margin: 8px auto;
}

.sidebar-archive-single .product_list_widget li>.woocommerce-Price-amount {
    font-size: .88rem;
    font-weight: 700;
    color: #102a43;
}

.sidebar-archive-single .product_list_widget li>.woocommerce-Price-amount>bdi>.woocommerce-Price-currencySymbol {
    font-size: .6rem;
    margin-right: 3px;
}

.sidebar-archive-single .product_list_widget li>del .woocommerce-Price-amount {
    color: #999;
    font-weight: 400;
    font-size: 0.85rem;
    text-decoration: line-through;
    display: inline-block;
    margin-right: 8px;
}

.sidebar-archive-single .product_list_widget li>del .woocommerce-Price-amount .woocommerce-Price-currencySymbol {
    font-size: 0px;
    margin-right: 10px;
}

.sidebar-archive-single .product_list_widget li>ins {
    text-decoration: none;
    display: inline-block;
}

.sidebar-archive-single .product_list_widget li>ins .woocommerce-Price-amount {
    color: #102a43;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-right: 2px;
}

.sidebar-archive-single .product_list_widget li>ins .woocommerce-Price-amount .woocommerce-Price-currencySymbol {
    font-size: .64rem;
    margin-right: 4px;
}

/* استایل تخفیف */
.sidebar-archive-single .product_list_widget li>.discount-percentage {
    display: inline-block;
    color: #fff;
    background-color: #F44336;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 8px;
    margin-left: 8px;
    box-shadow: 0 3px 8px rgba(255, 107, 107, 0.2);
    vertical-align: middle;
    position: unset;
}

/* استایل ردیف سوم (ستاره‌ها) */
.sidebar-archive-single .product_list_widget li>.star-rating {
    margin-left: 95px;
    margin-top: 5px;
    display: block;
}

.star-rating {
    font-size: 0.9rem;
    color: #ffb400;
    width: 5.4em !important;
    height: 1.2em;
    position: relative;
    display: block;
}

.star-rating span {
    overflow: hidden;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span::before {
    content: "\F186\F186\F186\F186\F186" !important;
    font-family: 'remixicon' !important;
    font-weight: 900;
    color: #ffb400;
}

.star-rating::before {
    content: "\F186\F186\F186\F186\F186" !important;
    font-family: 'remixicon' !important;
    font-weight: 900;
    color: #e0e0e0;
}

/* استایل مطالب اخیر (بهبود یافته) */
.sidebar-archive-single .wp-block-latest-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-archive-single .wp-block-latest-posts__list li {
    position: relative;
    margin-bottom: 18px;
    padding-bottom: 18px;
    padding-left: 30px;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s;
}

.sidebar-archive-single .wp-block-latest-posts__list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.sidebar-archive-single .wp-block-latest-posts__list li::before {
    font-family: 'remixicon' !important;
    content: "\F2ED";
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 18px;
    opacity: 0.8;
    transition: transform 0.3s;
}

.sidebar-archive-single .wp-block-latest-posts__list li:hover::before {
    content: "\F2EC";
    transform: scale(1.5);
    color: #e91e63;
}

.sidebar-archive-single .wp-block-latest-posts__post-title {
    font-size: 0.8rem;
    font-weight: 200;
    color: #102a43;
    line-height: 1.6;
    text-decoration: none;
    transition: all 0.2s;
    display: block;
    position: relative;
}

.sidebar-archive-single .wp-block-latest-posts__post-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: #e91e63;
    transition: width 0.3s ease;
}

.sidebar-archive-single .wp-block-latest-posts__list li:hover .wp-block-latest-posts__post-title {
    color: #e91e63;
}

.sidebar-archive-single .wp-block-latest-posts__list li:hover .wp-block-latest-posts__post-title::after {
    width: 100%;
}

/** End Sidebar */
/* End Archive */
/* Start 404 */
.error-404-page {
    width: 100%;
}

.error-404-page h1 {
    font-weight: 600;
    font-size: 1.5rem;
    color: #495057;
}

.error-404-page p {
    color: #6c757d;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.error-search {
    width: 100%;
}

.error-actions {
    width: 100%;
    max-width: 420px;
}

.bt-a {
    display: inline-block;
    width: 100%;
    border-radius: 10px;
    background-color: #81D4FA;
    color: #fff;
    font-size: 1.2rem;
    transition: all .5s ease-in-out;
}

.bt-a:hover {
    background-color: #0288d1;
}

/* 1. قالب‌بندی کلی بخش */
.popular-products {}

.popular-products h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* 3. کارت محصول */
.card-404 {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0rem 1rem rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-404:hover {
    transform: translateY(-4px);
    box-shadow: 0 0rem 1rem rgb(0 0 0 / 20%);
}

.card-404 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    /* اگر عکس‌ها در مقیاس یک‌بهیکن باشند */
}

.card-404 .card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-404 .card-title a {
    color: #222;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

.card-404 .card-title a:hover {
    color: #0066cc;
}

.card-404 .card-text {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.card-404 .card-text>ins {
    text-decoration: none;
}

.card-404 .woocommerce-Price-amount {
    font-weight: 600;
    color: #d32f2f;
    /* رنگ قرمز برای قیمت جدید */
}

.card-404 del .woocommerce-Price-amount {
    color: #9e9e9e;
    opacity: 0.7;
}

.card-404 .card-text>del>span>bdi>span.woocommerce-Price-currencySymbol {
    font-size: 0;
}

/* End 404 */
/* Start Search */
.body-search .item-archive {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.badge-type,
.product-out-of-stock {
    position: absolute;
    top: 10px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
}

.s-product .badge-type {
    right: 15px;
    background: #4a6cf7;
}

.s-blog .badge-type {
    right: 15px;
    background: #10b981;
}

.item-archive .s-body-card {
    display: block;
    text-align: center;
}

.s-product .s-body-card .product-out-of-stock {
    left: 15px;
    background: #E91E63;
}

.item-archive .s-body-card figure img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.item-caard-info {
    width: 90%;
    color: #666;
}

.product-meta {
    width: 100%;
}

.s-add-to-cart {
    width: 100%;
    text-align: center;
}

.s-add-to-cart .add_to_cart_button {
    display: inline-block;
    width: 100%;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.5s ease-in-out;
}

.s-add-to-cart .product_type_variable {

    background: #ECEFF1;
    color: #607D8B;
}

.s-add-to-cart .product_type_variable:hover {
    background: #CFD8DC;
    ;
}

.s-add-to-cart .ajax_add_to_cart {
    background: #E1F5FE;
}

.s-add-to-cart .ajax_add_to_cart:hover {
    background: #81d4fa;
}

.s-price {
    width: 100%;
}

.s-price bdi {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 10px;
    background: #FFF3E0;
    font-weight: 400;
    font-size: 0.9rem;
}

.s-price bdi .woocommerce-Price-currencySymbol {
    font-size: 0.7rem;
    font-weight: 300;
}

.s-price del bdi {
    margin: 5px auto;
    background: #FCE4EC;
    text-decoration: line-through;
}

.s-price del bdi .woocommerce-Price-currencySymbol {
    font-size: 0rem;
}

.s-price ins bdi {
    background: #E0F2F1;
}

/* End Search */

/* Start Single and Page */
.body-single,
.body-page {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 12px rgb(0 0 0 / .04);
}

.header-single,
.header-page {
    border-bottom: 1px solid #eee;
}

.header-single h1,
.header-page h1 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.post-meta-group {
    font-size: .85rem;
    color: #555;
}

.post-meta-group>div {
    background: #f9f9f9;
    padding: .35rem .75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: 0.3s;
    margin: 0 2px;
}

.post-meta-group i {
    font-size: 1rem;
    color: #999;
}

.box-content {
    font-size: 1rem;
    line-height: 2;
    color: #333;
}

.box-content p {
    margin-bottom: 1.5rem;
}

.box-content h2,
.box-content h3,
.box-content h4,
.box-content h5 {
    font-weight: 700;
    margin: 2rem 0 1rem;
    line-height: 1.6;
    color: #222;
}

.box-content h2 {
    font-size: 1.3rem;
}

.box-content h3 {
    font-size: 1.2rem;
}

.box-content h4 {
    font-size: 1.1rem;
}

.box-content h5 {
    font-size: 1rem;
}

.box-content p strong {
    font-weight: 500;
}

.box-content>p a,
.box-content>ul li a,
.box-content>ol li a {
    color: #2196F3;
    display: inline-block;
    position: relative;
}

.box-content>p a::before,
.box-content>ul li a::before,
.box-content>ol li a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    right: 2px;
    width: 100%;
    height: 1px;
    border-bottom: 1px dotted #2196F3;
    transition: width 0.3s ease-in-out;
}

.box-content>p a::after,
.box-content>ul li a::after,
.box-content>ol li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: 2px;
    width: 0%;
    height: 1px;
    background-color: #2196F3;
    transition: width 0.3s ease-in-out;
}

.box-content>p a:hover::after {
    width: 100%;
}

/* لیست‌ها */
.box-content ul,
.box-content ol {
    padding-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.box-content ul li,
.box-content ol li {
    margin-bottom: 0.6rem;
}

.box-content>ul>li {
    list-style: disc;
    margin: 5px 0;
}

.box-content>ol>li {
    list-style: decimal;
    margin: 5px 0;
}

/* نقل‌قول */
.box-content blockquote {
    padding: 16px 40px;
    background-color: rgb(224 247 250 / 20%);
    box-shadow:
        0 2px 2px -1px rgba(0, 0, 0, .2),
        0 1px 1px 0 rgba(0, 0, 0, .14),
        0 1px 3px 0 rgba(0, 0, 0, .12);
    position: relative;
}

.wp-block-quote:before {
    font-family: 'remixicon' !important;
    font-style: normal;
    content: "\EC51";
    position: absolute;
    bottom: -15px;
    left: 0px;
    font-size: 65px;
    color: rgb(145 198 249 / 35%);
}

.wp-block-pullquote {
    background-color: #efeeee;
}

.wp-block-details {
    margin-bottom: 10px;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

/* تصاویر */
.box-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.aligncenter,
div.aligncenter,
figure.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
    text-align: center;
}

.alignright,
div.alignright,
figure.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft,
div.alignleft,
figure.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-block-image img {
    border-radius: 15px;
}

/* جدول‌ها */
.box-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.box-content table th,
.box-content table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: right;
}

.box-content table th {
    background-color: #f0f0f0;
    font-weight: 600;
}

/* کدها */
.box-content pre,
.box-content code {
    background: #f4f4f4;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    direction: ltr;
    text-align: left;
    font-size: 0.9rem;
}

.box-content pre {
    overflow-x: auto;
    margin: 2rem 0;
}

/* بلاک‌های گوتنبرگ */
.box-content .wp-block-image {
    margin: 1.5rem 0;
    text-align: center;
}

.box-content .wp-block-image img {
    border-radius: 8px;
}

.box-content .wp-block-quote {
    background-color: #ffffff;
    padding: 1rem 1.2rem;
    margin: 2rem 0;
    font-style: normal;
    color: #555;
}

.box-content .wp-block-code {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
}

/* Start Single Comments Wordpress */

.main-blog-comments {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 15px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.04);
}

.comments-title {
    font-size: 1rem;
    color: #102a43;
    font-weight: 400;
    margin-bottom: 0;
    padding: 10px 40px;
    position: relative;
}

.comments-title::before {
    font-family: 'remixicon' !important;
    font-style: normal;
    content: "\ef43";
    position: absolute;
    right: 10px;
    bottom: 3px;
    font-size: 1.7em;
    color: #102a43;
}

.comment-list {
    list-style-type: none;
    padding: 10px;
    margin: 0;
}

.comment-list li {
    padding: 20px;
    border: 1px solid #eee;
}

.comment-body {
    font-size: .8em;
    font-weight: 300;
}

.comment-author-avatar {
    float: left;
    margin-right: 10px;
}

.comment-author-name {
    font-weight: bold;
}

.comment-metadata {
    font-size: 12px;
    color: #888;
}

.comment-content {
    margin-top: 10px;
    font-size: 14px;
}

.reply {
    margin: 10px;
}

.reply a.comment-reply-link {
    display: inline-block;
    background-color: #f7f7f7;
    padding: 10px 30px;
    border-radius: 12px;
    transition: background-color .3s ease-in-out;
}

.reply a.comment-reply-link:hover {
    background-color: #eee;
}

.comment-pagination {
    margin-top: 20px;
}

.comment-pagination a {
    text-decoration: none;
    padding: 5px 10px;
    background-color: #f2f2f2;
    color: #333;
}

.comment-pagination a:hover {
    background-color: #ddd;
}

.no-comments {
    margin-top: 20px;
    color: #888;
}

.comment-respond h3 {
    padding: 10px 40px;
    font-size: .959em;
    font-weight: 400;
    color: #102a43;
    position: relative;
}

.comment-respond h3::before {
    font-family: 'remixicon' !important;
    font-style: normal;
    content: "\ef44";
    position: absolute;
    right: 10px;
    bottom: 3px;
    font-size: 1.7em;
    color: #102a43;
}

.comment-respond h3 a {
    color: #FFC107;
    font-size: .757em;
    padding: 5px;
}

.comment-respond h3 small a {
    background-color: #fff;
    padding: 5px 10px;
    font-size: .656em;
    font-weight: 400;
    color: #F44336;
    border-radius: 5px;
}

.comment-form {
    margin-top: 10px;
    padding: 10px;
    font-size: 13px;
    font-weight: 300;
}

.required {
    color: #F44336;
    font-weight: 900;
}

.comment-notes {
    margin-bottom: 10px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;
    padding: 10px;
    min-height: 200px;

}

.comment-form input {
    padding: 5px;
    font-family: var(--main-font-family);
}

.comment-form input,
.comment-form textarea {
    border: 1px solid #eee;
    border-radius: 10px;
    margin: 10px auto;
}

.comment-form>p>label {
    width: 75px;
}

.comment-form>.comment-form-cookies-consent>label {
    width: auto;
}

.comment-form input[type="submit"] {
    background-color: #E3F2FD;
    color: #2196F3;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: all .3s ease-in-out;
    border-radius: 15px;
}

.comment-form input[type="submit"]:hover {
    background-color: #bbdefb;
}

p.comment-form-url {
    display: none;
}

/* End Single Comments Wordpress */

/* End Single */
/* Start Footer */

.footer {}

.footer>div {}

.footer-box {
    height: 200px;
    padding: 15px;
}

.footer-title {
    font-weight: 300;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-box p {
    line-height: 25px;
    font-weight: 200;
    display: flex;
    gap: 5px;
}

.footer-list li {
    margin: 7px 0;
}

.copyright {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-size: 0.9rem;
    background-color: #FF5722;
    border-radius: 15px;
    color: #fff;
    margin-bottom: 30px;
}


/* End Footer */