.cs6-header {
    width: 100%;
    background: #f5f6f8;
    border-bottom: 1px solid #d8dde7;
    position: relative;
    z-index: 1000;
}

.cs6-header .container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 18px;
}

.cs6-topbar {
    height: 60px;
    background: linear-gradient(90deg, #245198 0%, #22498d 52%, #1f3e7c 100%);
}

.cs6-topbar__inner {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cs6-topbar__text {
    color: #eef4ff;
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.cs6-topbar__text strong {
	color: #ffffff;
	font-weight: 900;
	font-size: 22px;
	line-height: 122%;
	letter-spacing: -3%;
	text-align: right;
}
.cs6-topbar__text span {
	font-weight: 400;
	font-size: 18px;
	line-height: 100%;
	letter-spacing: -3%;
	text-align: right;
}
.cs6-topbar__divider {
	width: 2px;
	height: 31px;
	background: rgba(255, 255, 255, 0.55);
}

.cs6-countdown {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
}

.cs6-countdown__clock {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cs6-time-unit {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	min-width: 85px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #ffffff;
	font-weight: 800;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: right;
}

.cs6-time-unit em {
    font-style: normal;
}

.cs6-time-value {
	font-weight: 700;
	font-size: 18px;
	line-height: 1;
}

.cs6-dot {
    color: #d9e6fb;
    font-style: normal;
    font-size: 34px;
    line-height: 1;
}

.cs6-mainbar {
	background: #fff;
	border-bottom: 1px solid #ECF1FA;
}

.cs6-mainbar__inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.cs6-logo-wrap {
    display: flex;
    justify-content: flex-start;
    flex-shrink: 0;
}

.cs6-logo img {
    display: block;
    width: auto;
    max-height: 56px;
}

.cs6-search-wrap {
    flex: 1;
}

.cs6-search-form {
    height: 44px;
    border: 1px solid #ECF1FA;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 14px;
	flex-direction: row-reverse;
}

.cs6-search-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.cs6-search-input {
	flex: 1;
	border: 0;
	background: transparent;
	color: #576375;
	font-weight: 300;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: right;
}

.cs6-search-input:focus {
    outline: none;
}

.cs6-search-input::placeholder {
    color: #a5adba;
    opacity: 1;
}

.cs6-search-wrap {
    position: relative;
    z-index: 1010;
}

.cs6-search-wrap > .cs6-search-form:not(.cs6-ajax-search) {
    display: none;
}

.cs6-ajax-search {
    padding: 0 6px;
    gap: 8px;
    position: relative;
}

.cs6-ajax-search .cs6-search-icon {
    width: 38px;
    height: 38px;
    border-radius: 16px;
    background: #fff;
    flex-shrink: 0;
}

.cs6-search-archive {
	height: 38px;
	border-radius: 16px;
	background: #fff;
	color: #001F52;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 0 20px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}

.cs6-ajax-search .cs6-search-input {
	height: 100%;
	padding: 0 10px 0 18px;
	font-size: 14px;
	font-weight: 400;
	color: #001F52;
	text-align: right;
}

.cs6-ajax-search .cs6-search-input::placeholder {
    color: #9DAABE;
    font-weight: 600;
}

.cs6-search-panel {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	left: 0;
	min-height: 320px;
	background: #ECF1FA;
	border-radius: 24px;
	padding: 20px 15px 20px;
	box-shadow: 0 18px 40px rgba(31, 45, 71, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	z-index: 30;
}

.cs6-ajax-search.is-open .cs6-search-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cs6-search-panel__section {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.cs6-search-panel__title {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	color: #0B1730;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
}

.cs6-search-panel.is-searching .cs6-search-suggestions {
    display: none;
}

.cs6-popular-carousel {
    position: relative;
}

.cs6-popular-row {
    display: flex;
    gap: 14px;
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-left: 0;
    scrollbar-width: none;
    direction: ltr;
}

.cs6-popular-row::-webkit-scrollbar {
    display: none;
}

.cs6-popular-card {
	flex: 0 0 calc((100% - 42px) / 2.5);
	height: 60px;
	border-radius: 15px;
	background: #fff;
	color: #0D182B;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 12px;
	text-decoration: none;
	overflow: hidden;
	scroll-snap-align: start;
	direction: rtl;
}
.cs6-popular-card__info em .discount-val {
	display: none;
}
.cs6-popular-card img {
    width: 45px;
    height: 45px;
    border-radius: 7px;
    object-fit: cover;
    flex-shrink: 0;
}

.cs6-popular-card__info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	position: relative;
}

.cs6-popular-card__info b {
    max-width: 100%;
    color: #293244;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cs6-popular-card__info em {
	color: #202938;
	font-style: normal;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	display: flex;
	align-items: center;
	gap: 5px;
}
.cs6-popular-card__info del .woocommerce-Price-currencySymbol {
	display:none;
}
.cs6-popular-card__info del {
	font-size: 11px;
	color: #ccc;
}


.cs6-popular-card__info .woocommerce-Price-currencySymbol {
    color: #90A0B6;
    font-size: 12px;
    font-weight: 400;
    margin-right: 4px;
}

.cs6-popular-prev {
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 39px;
    height: 39px;
    border: 0;
    border-radius: 13px;
    background: #F40E4F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.cs6-popular-prev svg {
    transition: transform .18s ease;
}

.cs6-popular-prev.is-forward svg {
    transform: rotate(180deg);
}

.cs6-search-divider {
	margin: 20px 0 18px;
	border-top: 1px dashed #DCE4F0;
}

.cs6-search-panel__section--terms {
    gap: 18px;
}

.cs6-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.cs6-search-tag {
    min-width: 84px;
    height: 35px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #606C80;
    padding: 0 21px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.cs6-live-results {
}

.cs6-live-results.is-visible {
    display: block;
}

.cs6-live-results__title {
    color: #0B1730;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    text-align: right;
}

.cs6-live-results__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cs6-result-card {
    min-height: 72px;
    border-radius: 15px;
    background: #fff;
    color: #0D182B;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    text-decoration: none;
}

.cs6-result-card img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.cs6-result-card > span {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cs6-result-card b {
    max-width: 100%;
    color: #293244;
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.cs6-result-card em .discount-val {
	display: none;
}
.cs6-result-card em {
	color: #202938;
	font-style: normal;
	font-size: 14px;
	font-weight: 900;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 5px;
}
.cs6-result-card em del {
	font-size: 11px;
	color: #ccc;
}
.cs6-result-card em ins {
	width: 100%;
}
.cs6-result-card em del .woocommerce-Price-currencySymbol {
	display: none;
}
.cs6-search-empty,
.cs6-live-results__empty {
    color: #6B7789;
    font-size: 14px;
    text-align: right;
}

.cs6-actions {
    width: 285px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-shrink: 0;
}

.cs6-icon-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cs6-cart-btn {
    margin-right: 2px;
}

.cs6-cart-count {
	position: absolute;
	top: -4px;
	right: -7px;
	min-width: 16px;
	height: 16px;
	border-radius: 13px;
	padding: 0 3px;
	background: #E56352;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cs6-phone-btn {
	height: 44px;
	min-width: 166px;
	border-radius: 13px;
	background: #ECF1FA;
	color: #0f2a5c;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 16px;
	font-weight: 600;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: right;
}
#cs6CategoryTrigger {
	font-weight: 400;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: -4%;
	text-align: center;
	color: #001F52;
}
.cs6-navrow {
    background: #fff;
}

.cs6-navrow__inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.cs6-category-trigger {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #173262;
    font-size: 29px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.cs6-category-trigger .cs6-trigger-caret {
    transition: transform .2s ease;
}

.cs6-category-trigger.active .cs6-trigger-caret {
    transform: rotate(180deg);
}

.cs6-inline-nav {
    display: inline-flex;
    align-items: center;
    gap: 48px;
}

.cs6-inline-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #173262;
	text-decoration: none;
	font-weight: 400;
	font-style: Regular;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: -4%;
	text-align: right;
}

.cs6-inline-item i {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cs6-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.24);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 990;
}

.cs6-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cs6-sidepanel {
	position: fixed;
	top: 180px;
	right: 0;
	z-index: 995;
	display: none;
	height: calc(100vh - 178px);
	background: #fff;
}

.cs6-sidepanel.active {
    display: block;
}

.cs6-sp-root {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.cs6-sp-root > li {
    display: none;
}

.cs6-sp-root > li.noti-branch {
    display: block;
    height: 100%;
}

.cs6-sp-root > li.noti-branch > a {
    display: none;
}

.cs6-sp-root > li.noti-branch > .sub-menu {
    display: block;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 16px 0;
    background: #f8f8fc;
    min-width: 280px;
    box-shadow: -8px 8px 22px rgba(22, 43, 85, 0.12);
    height: 100%;
}

.cs6-sidepanel li.menu-item-has-children:hover > .sub-menu {
    display: block;
}

.cs6-sidepanel .sub-menu > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    color: #2b3550 !important;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.cs6-sidepanel .sub-menu > li > a:hover {
    background: rgba(32, 61, 113, 0.06);
}

.cs6-sidepanel .menu-item-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #e8ecf4;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cs6-sidepanel .menu-item-text {
    flex: 1;
    text-align: right;
}

.cs6-sidepanel li.menu-item-has-children > a::after {
    content: '';
    width: 7px;
    height: 7px;
    border-left: 2px solid #9ba8bd;
    border-bottom: 2px solid #9ba8bd;
    transform: rotate(45deg);
    flex-shrink: 0;
}
/* منوی اصلی */
.main-navigation {
	position: relative;
	direction: rtl;
	font-family: 'Vazirmatn', Tahoma, sans-serif;
	height: 100%;
	min-width: 240px;
}

.main-navigation > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* آیتم‌های سطح اول */
.mega-menu-parent {
    border-bottom: 1px solid #f0f0f0;
}

.mega-menu-parent > a {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	gap: 12px;
	color: #001F52 !important;
}
.sub-menu li a:hover span {
	color: #E56352;
}
.mega-menu-parent:hover > a, .mega-menu-parent.active > a {
	background: #F6FAFF;
	color: #001F52;
}
.mega-menu-link:hover .menu-icon {
	background: #fff;
}
.menu-icon {
    font-size: 22px;
    width: 30px;
    text-align: center;
}

.menu-text {
    flex: 1;
    font-size: 14px;
}

.menu-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.mega-menu-parent:hover .menu-arrow {
    transform: rotate(-90deg);
}

/* ستون‌های منو */
.mega-menu-columns {
	display: none;
	position: absolute;
	right: 100%;
	top: 0;
	background: #fff;
	min-height: 100%;
	z-index: 1000;
	border-width: 0px, 1px, 0px, 1px;
	border-style: solid;
	border-color: #ECF1FA;
}

.mega-menu-parent:hover > .mega-menu-columns {
    display: flex;
}

.mega-menu-column {
    min-width: 240px;
    border-left: 1px solid #f0f0f0;
}


.mega-menu-level-2 {
    background: #fff;
    display: none;
}

/* زیرمنوی سطح اول */
.mega-menu-level-1 .sub-menu {
	list-style: none;
	margin: 0;
	padding: 10px 0;
	height: 100%;
    min-width:240px;
}


.mega-menu-level-1 .sub-menu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    transition: all 0.3s ease;
}

.mega-menu-level-1 .sub-menu > li:hover > a,
.mega-menu-level-1 .sub-menu > li.active > a {
    background: #fff;
    color: #0066cc;
    padding-right: 25px;
}

/* زیرمنوی سطح دوم */
.level-2 {
	display: none;
	position: absolute;
	right: 100%;
	top: -4px;
	background: #fff;
	min-width: 200px;
	padding: 10px 0;
	list-style: none;
	margin: 0;
	border-width: 0px, 1px, 0px, 1px;
	border-style: solid;
	border-color: #ECF1FA;
}

.mega-menu-level-1 .sub-menu > li:hover > .level-2 {
    display: block;
}

.level-2 > li > a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    font-size: 13px;
    transition: all 0.3s ease;
}

.level-2 > li:hover > a {
    background: #f8f8f8;
    color: #0066cc;
    padding-right: 25px;
}

/* فلش‌ها */
.mega-menu-level-1 .menu-arrow {
    font-size: 14px;
}
.menu-icon {
	font-size: 22px;
	width: 32px;
	text-align: center;
	height: 32px;
	background: #F6FAFF;
	border-radius: 50px;
	padding: 4px;
}
@media (max-width: 1200px) {
.cs6-popular-card {
	flex: 0 0 calc((100% - 42px) / 1.8);
}
.cs6-live-results__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.cs6-topbar__text strong {
	font-size: 14px;
}
.cs6-topbar__text span {
	font-size: 14px;
}
.cs6-time-unit {
	min-width: 60px;
	height: 30px;
	font-size: 13px;
}
.cs6-countdown__clock {
	width: 24px;
	height: 24px;
}

.cs6-logo-wrap {
    width: auto;
}
}

@media (max-width: 992px) {
.cs6-topbar {
	display: none;
}
}
