/* =========================================================
   صفحه اصلی فروشگاه - استایل بخش‌های اختصاصی
   ========================================================= */

/* ===== آیتم مشترک اسلاید/بنر (هیرو، بنر تکی، هر دو گرید بنر) ===== */
.mytheme-slide-item {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	height: 100%;
}
.mytheme-slide-item__img { width: 100%; height: auto; object-fit: contain; display: block; }
.mytheme-slide-item__link { position: absolute; inset: 0; z-index: 2; }

.mytheme-slide-item__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 8px;
	padding: 32px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 60%);
	color: #fff;
}
.mytheme-slide-item__title { font-size: 24px; margin: 0; }
.mytheme-slide-item__subtitle { font-size: 14px; margin: 0; opacity: 0.9; }
.mytheme-slide-item__button {
	margin-top: 8px;
	display: inline-block;
	padding: 8px 20px;
	background: #fff;
	color: var(--color-text);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
}

/* ===== هیرو اسلایدر ===== */
.hero-slider-section { padding-top: 0;padding-bottom:0px; }
.mytheme-hero-slider .mytheme-carousel__track { gap: 0; scroll-snap-type: x mandatory; }
.mytheme-hero-slider .mytheme-carousel__item { width: 100%; height: auto; }
.mytheme-hero-slider .mytheme-slide-item { height: auto; }
.mytheme-hero-slider .mytheme-slide-item__img { width: 100%; height: auto; object-fit: fill; }
.mytheme-hero-slider .mytheme-slide-item { border-radius: 0; }
@media (max-width: 700px) {
	.mytheme-hero-slider .mytheme-carousel__item { height: auto; }
	.mytheme-slide-item__content { padding: 20px; }
	.mytheme-slide-item__title { font-size: 18px; }
}

/* ===== دسته‌بندی‌ها ===== */
.mytheme-categories-carousel .mytheme-carousel__item {
	display: flex;
	justify-content: center;
}
.mytheme-categories-section{
	padding-top:0px; 
}
.mytheme-category-card {
    position: relative;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    border: 2px solid #f1f1f1;
    padding: 8px;
	border-radius: 12px;
    background: #fff;
    transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
.mytheme-category-card:hover {
    border-color: transparent;
    background:
        linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #93a254 0%, #c4cf8d 42%, #e3eedc 100%) border-box;
    
}
.mytheme-category-card__thumb {
    width: 100%;
    border-radius: 8%;
    overflow: hidden;

}
.mytheme-category-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mytheme-category-card__name { font-size: 13px; font-weight: 600; }

/* ===== بنر تکی بزرگ ===== */
.mytheme-single-banner .mytheme-slide-item {
	height: auto;
}

.mytheme-single-banner .mytheme-slide-item__img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

/* ===== بنر دوتایی بالای گرید اصلی ===== */
.mytheme-two-banner-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}
.mytheme-two-banner-item {
	height: auto;
	min-width: 0;
}
.mytheme-two-banner-item .mytheme-slide-item__img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}
@media (max-width: 600px) {
	.mytheme-two-banner-grid { gap: 10px; }
}

/* ===== گرید ۴بنری ساده =====
 * تصویر با اندازه/نسبت اصلی نمایش داده می‌شود و هیچ ارتفاع ثابتی
 * روی بنر اعمال نمی‌شود تا تصویر کراپ یا دفورمه نشود.
 */
.mytheme-banner-grid-carousel .mytheme-slide-item { height: auto; }
.mytheme-banner-grid-carousel .mytheme-carousel__item { width: auto; }
.mytheme-banner-grid-carousel .mytheme-slide-item__img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}

/* ===== اسلایدر ۴بنری با متن ===== */
.mytheme-banner-slider .mytheme-carousel__item { width: auto; }
.mytheme-banner-slider .mytheme-slide-item { height: auto; }
.mytheme-banner-slider .mytheme-slide-item__img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}

/* ===== اسلایدر برندها ===== */
.mytheme-brands-carousel .mytheme-carousel__item {
	width: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	height: 80px;
	padding: 10px;
}
.mytheme-brands-carousel img { max-width: 100%; max-height: 100%; object-fit: contain;filter: grayscale(0); opacity: 1;  transition: all var(--transition); }
.mytheme-brands-carousel a:hover img { filter: grayscale(1); opacity: 0.7; }

/* ===== وبلاگ (چیدمان نامتقارن) ===== */
.mytheme-blog-asymmetric {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 24px;
}
.mytheme-blog-featured { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px; }
.mytheme-blog-featured img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mytheme-blog-featured__content {
	position: relative;
	z-index: 1;
	margin-top: auto;
	padding: 24px;
	background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
}
.mytheme-blog-featured__title { font-size: 20px; margin: 0 0 6px; }
.mytheme-blog-featured__title a { color: #fff; }
.mytheme-blog-featured__date { font-size: 12px; opacity: 0.85; }

.mytheme-blog-list { display: flex; flex-direction: column; gap: 16px; }
.mytheme-blog-list-item {     display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 12px; }
.mytheme-blog-list-item__thumb { width: 125px; height: 125px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; }
.mytheme-blog-list-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mytheme-blog-list-item__title { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.mytheme-blog-list-item__date { font-size: 11px; color: var(--color-text-light); }
.mytheme-blog-list-item__body{
	display: flex;
    flex-direction: column;    gap: 10px;
}
@media (max-width: 800px) {
	.mytheme-blog-asymmetric { grid-template-columns: 1fr; }
}

/* ===== سوالات متداول ===== *//* =========================================
   FAQ - MASONRY 2 COLUMNS
========================================= */

.mytheme-faq-list {
    display: block !important;
    column-count: 2;
    column-gap: 20px;
    width: 100%;
    direction: rtl;

    --faq-gap: 16px;
}


/* =========================================
   FAQ ITEM
========================================= */

.mytheme-faq-item {
    position: relative;

    display: inline-block !important;
    width: 100% !important;

    margin: 0 0 var(--faq-gap) 0 !important;

    vertical-align: top;

    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;

    box-sizing: border-box;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 16px;

    overflow: hidden;

    direction: rtl;

    /* خط بالای کارت */
    transition:
        border-color .3s ease,
        box-shadow .35s ease,
        transform .3s ease,
        background-color .3s ease;
}


/* =========================================
   TOP ACCENT
========================================= */

.mytheme-faq-item::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 0;
    height: 3px;

    background: #222;

    border-radius: 0 0 0 5px;

    transition: width .4s cubic-bezier(.22,1,.36,1);

    z-index: 2;
}


/* =========================================
   HOVER
========================================= */

.mytheme-faq-item:hover {
    border-color: #d5d5d5;

    box-shadow:
        0 8px 28px rgba(0, 0, 0, .07);

    transform: translateY(-2px);
}


/* =========================================
   OPEN ITEM
========================================= */

.mytheme-faq-item.is-open {
    border-color: #d2d2d2;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .09);
}


.mytheme-faq-item.is-open::before {
    width: 100%;
}


/* =========================================
   QUESTION
========================================= */

.mytheme-faq-item__question {
    position: relative;

    display: block;

    width: 100%;
    min-height: 64px;

    padding: 17px 17px 17px 55px;

    margin: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #222;

    font-family: inherit;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.8;

    text-align: right;
    direction: rtl;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        color .25s ease,
        background-color .25s ease;
}


/* سؤال هنگام هاور */

.mytheme-faq-item__question:hover {
    background: rgba(0, 0, 0, .015);
}


/* سؤال باز */

.mytheme-faq-item.is-open
.mytheme-faq-item__question {
    color: #111;
}


/* =========================================
   PLUS / MINUS ICON
========================================= */

.mytheme-faq-item__question::after {
    content: "+";

    position: absolute;

    left: 17px;
    top: 50%;

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border-radius: 50%;

    background: #f4f4f4;

    color: #555;

    font-size: 20px;
    font-weight: 400;

    line-height: 1;

    transition:
        background .3s ease,
        color .3s ease,
        transform .4s cubic-bezier(.34,1.56,.64,1),
        box-shadow .3s ease;
}


/* هاور آیکون */

.mytheme-faq-item__question:hover::after {
    background: #eaeaea;

    transform:
        translateY(-50%)
        scale(1.08);
}


/* =========================================
   OPEN ICON
========================================= */

.mytheme-faq-item.is-open
.mytheme-faq-item__question::after {

    content: "−";

    background: #222;

    color: #fff;

    transform:
        translateY(-50%)
        rotate(180deg);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .15);
}


/* =========================================
   ANSWER
========================================= */

.mytheme-faq-item__answer {

    display: none;

    width: 100%;

    padding: 0;

    margin: 0;

    direction: rtl;

    box-sizing: border-box;

    transform-origin: top;

}


/* =========================================
   OPEN ANSWER
========================================= */

.mytheme-faq-item.is-open
.mytheme-faq-item__answer {

    display: block;

    animation:
        faqAnswerOpen .4s cubic-bezier(.22,1,.36,1) both;
}


/* =========================================
   ANSWER OPEN ANIMATION
========================================= */

@keyframes faqAnswerOpen {

    0% {
        opacity: 0;
        transform: translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   ANSWER CONTENT
========================================= */

.mytheme-faq-item__answer > p {

    margin-top: 0;

    margin-right: 20px;
    margin-left: 20px;

    margin-bottom: 15px;

    padding-top: 2px;

    color: #666;

    font-size: 14px;

    line-height: 2;

    transition:
        color .25s ease;
}


.mytheme-faq-item__answer .faq-answer {

    margin: 0 20px 20px;

    padding-top: 2px;
}


.mytheme-faq-item__answer .faq-answer-inner {

    color: #666;

    font-size: 14px;

    line-height: 2;

    transition:
        color .25s ease;
}


/* =========================================
   ANSWER DIVIDER
========================================= */

.mytheme-faq-item.is-open
.mytheme-faq-item__answer::before {

    content: "";

    display: block;

    height: 1px;

    margin: 0 20px 17px;

    background:
        linear-gradient(
            to left,
            transparent,
            #eeeeee 20%,
            #eeeeee 80%,
            transparent
        );

    animation:
        faqDivider .5s ease both;
}


@keyframes faqDivider {

    0% {
        opacity: 0;
        transform: scaleX(.5);
    }

    100% {
        opacity: 1;
        transform: scaleX(1);
    }

}


/* =========================================
   EMOJI
========================================= */

.mytheme-faq-item__question img.emoji {

    width: 20px !important;
    height: 20px !important;

    margin: 0 4px;

    vertical-align: middle;

    transition:
        transform .3s ease;
}


.mytheme-faq-item.is-open
.mytheme-faq-item__question img.emoji {

    transform: scale(1.08);
}


/* =========================================
   FOCUS
========================================= */

.mytheme-faq-item__question:focus-visible {

    box-shadow:
        inset 0 0 0 2px rgba(0,0,0,.12);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 1024px) {

    .mytheme-faq-list {

        column-count: 1;

        column-gap: 0;
    }


    .mytheme-faq-item {

        display: block !important;

        width: 100% !important;

        margin-bottom: 12px !important;
    }

}


/* =========================================
   MOBILE SMALL
========================================= */

@media (max-width: 767px) {

    .mytheme-faq-item {

        border-radius: 14px;
    }


    .mytheme-faq-item__question {

min-height: 46px;
        padding: 6px 50px 6px 6px;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
.mytheme-brands-carousel .mytheme-carousel__item {
    width: inherit;    height: 60px;
}

    .mytheme-faq-item__question::after {

        right: 14px;

        width: 28px;
        height: 28px;

        font-size: 19px;
    }


    .mytheme-faq-item__answer > p {

        margin-right: 16px;
        margin-left: 16px;

        font-size: 13px;
    }


    .mytheme-faq-item__answer .faq-answer {

        margin-right: 16px;
        margin-left: 16px;
    }


    .mytheme-faq-item__answer .faq-answer-inner {

        font-size: 13px;
    }


    .mytheme-faq-item.is-open
    .mytheme-faq-item__answer::before {

        margin-right: 16px;
        margin-left: 16px;
    }

}


/* =========================================
   REDUCE MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .mytheme-faq-item,
    .mytheme-faq-item *,
    .mytheme-faq-item::before {

        animation: none !important;

        transition: none !important;
    }

}
/* ===== بخش‌های محصول صفحه اصلی ===== */
.mytheme-home-section {
	padding-left: 20px;
	padding-right: 20px;
}
.mytheme-home-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}
.mytheme-home-section__header .section-title {
	margin: 0;
}

/* ===== عنوان حرفه‌ای بخش‌های صفحه اصلی ===== */
.front-page-content .mytheme-home-section-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: var(--color-text);
}
.front-page-content .mytheme-home-section-title__icon {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 11px;
	background:
		linear-gradient(#93a2541a, #93a2541a) padding-box, linear-gradient(135deg, #93a2541a 0%, #93a2541a 48%, #93a2541a 100%) border-box;
	color: #7f8f48;
	transition: transform .25s ease, color .25s ease;
}
.front-page-content .mytheme-home-section-title__icon svg {
	width: 18px;
	height: 18px;
	display: block;
}
.front-page-content .mytheme-home-section-title:hover .mytheme-home-section-title__icon {
	transform: translateY(-1px) rotate(-3deg);
	color: #f56a00;
}
.front-page-content .mytheme-home-section-title__text {
	min-width: 0;
}

.mytheme-home-section__view-all {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-primary);
	white-space: nowrap;
}
.mytheme-home-section .mytheme-carousel__item {
	height: 100%;
}
.mytheme-product-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	min-width: 0;
	padding:8px;
}
.mytheme-product-card__image {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: #fafafa;
	overflow: hidden;
	flex-shrink: 0;
}
.mytheme-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.mytheme-product-card__badge {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	background: var(--color-primary);
	color: #fff;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
}
.mytheme-product-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
	flex: 1;
}
.mytheme-product-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.7;
}
.mytheme-product-card__price {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-primary);
	min-height: 24px;
}
.mytheme-product-card .button {
	width: 100%;
	margin-top: auto;
	text-align: center;
	border: 0;
	border-radius: var(--radius);
	padding: 9px 12px;
	background: var(--color-primary);
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	cursor: pointer;
}
.mytheme-product-card .button:hover {
	background: var(--color-primary-dark);
}
@media (max-width: 999px) {
	.mytheme-home-section .mytheme-carousel__item { min-width: 0; }
}
@media (max-width: 640px) {
	.mytheme-home-section {
		padding-left: 16px;
		padding-right: 16px;
	}
	.mytheme-product-card__body { padding: 12px; }
	.mytheme-product-card__title { font-size: 12px !important; }
}


/* تمام بخش‌های صفحه اصلی داخل کانتینر مشترک قالب */
.front-page-content {
	width: min(100% - 40px, var(--container-max));
	margin: 0 auto;
}
.front-page-content .section { width: 100%; }
.front-page-content .mytheme-home-section { padding-left: 0; padding-right: 0; }
@media (max-width: 640px) {
	.front-page-content { width: min(100% - 24px, var(--container-max)); }
	.front-page-content .mytheme-home-section { padding-left: 0; padding-right: 0; }
}


/* =========================================================
   کارت محصولات - طراحی گرید جدید
   فقط روی کارت‌های استاندارد اعمال می‌شود؛ کاروسل پیشنهادی
   کلاس و طراحی مستقل خودش را دارد.
   ========================================================= */

.mytheme-product-card__image {
	border-radius: var(--radius) var(--radius) 0 0;
}
.mytheme-product-card__image img {
	object-fit: cover;
}
.mytheme-product-card__sale-percent {
position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: #ff3e3e;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    box-shadow: none;
}
.mytheme-product-card__body {
	padding: 13px 2px 0;
	gap: 5px;
}
.mytheme-product-card__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.65;
	color: var(--color-text);
	text-decoration: none;
}
.mytheme-product-card__category {
	font-size: 12px;
	line-height: 1.5;
	color: var(--color-text-light);
}
.mytheme-product-card__footer {
    margin-top: 7px;
    padding-top: 11px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    flex-direction: row-reverse;
}
.mytheme-product-card__footer .mytheme-product-card__price {
    margin: 0;
    min-height: 0;
    font-size: 14px;
    color: var(--color-text);
    text-align: right;
    display: block;
    gap: 5px;
}
.mytheme-product-card__footer .mytheme-product-card__price del {
	display: block;
	font-size: 11px;
	color: var(--color-text-light);
	font-weight: 400;
	margin-bottom: 1px;
}
.mytheme-product-card__footer .mytheme-product-card__price ins {
	text-decoration: none;
}
.mytheme-product-card__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 25px;
	padding: 0 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}
.mytheme-product-card__label--green {
	background: #e9f7ec;
	color: #258044;
}
.mytheme-product-card__label--gold {
	background: #fff4d6;
	color: #a87808;
}
.mytheme-product-card__label--blue {
	background: #e8f4fb;
	color: #3b83a8;
}
.mytheme-product-card__label--empty {
	visibility: hidden;
}

/* =========================================================
   محصولات پیشنهادی - کارت تصویری مشابه رفرنس
   ========================================================= */
.mytheme-product-related-section {
	overflow: hidden;
}
.mytheme-recommended-carousel {
	position: relative;
}
.mytheme-recommended-carousel .owl-stage-outer {
	overflow: visible;
}
.mytheme-recommended-carousel .owl-item {
	padding: 0;
}
.mytheme-recommended-carousel .mytheme-carousel__item {
	height: auto;
}
.mytheme-recommended-card {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	border-radius: 18px;
	background: #f5f5f5;
}
.mytheme-recommended-card__image {
	position: absolute;
	inset: 0;
	display: block;
	z-index: 0;
}
.mytheme-recommended-card__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform .45s ease;
}
.mytheme-recommended-card:hover .mytheme-recommended-card__image img {
	transform: scale(1.02);
}
.mytheme-recommended-card__overlay {
	position: absolute;
	z-index: 2;
	left: 18px;
	right: 18px;
	bottom: 14px;
	min-height: 92px;
	padding: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255,255,255,.97);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.mytheme-recommended-card__content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	text-align: right;
}
.mytheme-recommended-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	width: 100%;
	color: var(--color-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.55;
	text-decoration: none;
}
.mytheme-recommended-card__rating {
	line-height: 1;
	direction: ltr;
}
.mytheme-recommended-card__rating .star-rating {
	margin: 0;
	font-size: 13px;
	color: #f2b500;
}
.mytheme-recommended-card__price {
	width: 100%;
	font-size: 13px;
	color: var(--color-text);
	font-weight: 700;
	line-height: 1.6;
}
.mytheme-recommended-card__price del {
	color: var(--color-text-light);
	font-size: 11px;
	font-weight: 400;
	margin-left: 5px;
}
.mytheme-recommended-card__price ins {
	text-decoration: none;
}
.mytheme-recommended-card__thumb {
	width: 76px;
	height: 76px;
	flex: 0 0 76px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}
.mytheme-recommended-card__thumb img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}
.mytheme-recommended-card .mytheme-product-card__sale-percent {
	top: 14px;
	right: 14px;
}
@media (max-width: 999px) {
	.mytheme-recommended-card { height: 360px; }
	.mytheme-home-section:has(.mytheme-home-carousel--sale-products) .mytheme-home-section__header {
    flex-direction: column;
}
	.mytheme-product-card__sale-percent {
position: absolute;
    top: 4px;
    right: 4px;
}
	.mytheme-product-card__footer {
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}
	.mytheme-blog-featured {
    min-height: 320px;
}
	.mytheme-blog-list-item__thumb {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
}
}
@media (max-width: 640px) {
	.mytheme-recommended-card {
		height: 300px;
		border-radius: 15px;
	}
	.mytheme-recommended-card__overlay {
		left: 10px;
		right: 10px;
		bottom: 10px;
		min-height: 78px;
		padding: 8px;
		border-radius: 13px;
	}
	.mytheme-recommended-card__thumb {
		width: 62px;
		height: 62px;
		flex-basis: 62px;
	}
	.mytheme-recommended-card__title { font-size: 12px; }
	.mytheme-recommended-card__price { font-size: 12px; }
}

.mytheme-recommended-card__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #f2f2f2;
}

/* =========================================================
   محصولات منتخب - چیدمان دقیق رفرنس
   هر صفحه: 1 کارت باریک + 2 کارت عریض
   ========================================================= */
.mytheme-featured-carousel .owl-stage-outer { overflow: hidden; }
.mytheme-featured-carousel .mytheme-carousel__track:not(.owl-loaded) > * { width: 100%; }
.mytheme-featured-carousel .owl-item { padding: 0; }
.mytheme-featured-page {
	display: grid;
	grid-template-columns: 1fr 2fr 2fr;
	gap: 36px;
	width: 100%;
	height: 564px;
}
.mytheme-featured-page > .mytheme-recommended-card {
	width: 100%;
	height: 564px;
	min-width: 0;
}
.mytheme-featured-page .mytheme-recommended-card__overlay {
	left: 0;
	right: 12px;
	bottom: 14px;
}
.mytheme-featured-page > .mytheme-recommended-card:first-child .mytheme-recommended-card__overlay {
	right: 12px;
}
@media (max-width: 1100px) {
	.mytheme-featured-page {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
		height: 430px;
	}
	.mytheme-featured-page > .mytheme-recommended-card { height: 430px; }
	.mytheme-featured-page .mytheme-recommended-card__overlay { left: 10px; right: 10px; }
}
@media (max-width: 700px) {
	.mytheme-featured-page {
		grid-template-columns: 1fr;
		gap: 14px;
		height: auto;
	}
	.mytheme-featured-page > .mytheme-recommended-card {
		height: 320px;
	}
	.mytheme-home-section:has(.mytheme-home-carousel--sale-products) .section-title {
   
    font-size: 22px;
}
}
.mytheme-home-section:has(.mytheme-home-carousel--sale-products){
   background: #ff00000d;
    border-radius: 12px;
    padding: 20px 16px 20px 16px;
}

.mytheme-home-section:has(.mytheme-home-carousel--sale-products) .section-title{
	color:#ff3e3e;
}
.mytheme-home-section:has(.mytheme-home-carousel--sale-products) .mytheme-home-section-title__icon {
    background: #ffdada;
    color: #ff3e3e;
}
.mytheme-brands-section{
	    background: #93a2541c;
    border-radius: 12px;
    padding: 20px 16px;
}
.mytheme-brands-carousel .mytheme-carousel__item{
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 5 / 3;
    padding: 8px;
    background: var(--brd-card);
    border-radius: var(--brd-radius);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 1px 2px rgba(0, 0, 0, .25);
    transition: transform .5s var(--brd-ease), box-shadow .5s var(--brd-ease);
}










/* ==========================================
   دسته‌بندی‌های صفحه اصلی کوهمان
   دسکتاپ: ۲ ردیف ۶ ستونی
   موبایل: ۳ ردیف ۴ ستونی
   بدون اسلایدر
========================================== */

/* بخش اصلی */
.mytheme-categories-section {
    width: 100%;
    min-width: 0;
}

/* شبکه دسته‌بندی‌ها */
.mytheme-categories-section .mytheme-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px 16px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible !important;
    direction: rtl;
    box-sizing: border-box;
}

/* هر آیتم */
.mytheme-categories-section .mytheme-categories-grid__item {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
    transform: none !important;
    box-sizing: border-box;
}

/* کارت دسته‌بندی */
.mytheme-categories-section .mytheme-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

/* تصویر دسته‌بندی */
.mytheme-categories-section .mytheme-category-card__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-sizing: border-box;
}

/* خود تصویر */
.mytheme-categories-section .mytheme-category-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    margin: 0;
}

/* عنوان دسته‌بندی */
.mytheme-categories-section .mytheme-category-card__name {
    display: block;
    width: 100%;
    margin-top: 10px;
    line-height: 1.7;
    text-align: center;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

/* تبلت */
@media (min-width: 768px) and (max-width: 1024px) {
    .mytheme-categories-section .mytheme-categories-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap:10px 8px;
    }
}

/* موبایل: ۴ ستون، حداکثر ۱۲ دسته */
@media (max-width: 767px) {
    .mytheme-categories-section .mytheme-categories-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px 6px;
    }

    .mytheme-categories-section .mytheme-categories-grid__item {
        min-width: 0;
    }

    .mytheme-categories-section .mytheme-category-card__name {
        margin-top: 0px;
        font-size: 10px;
        line-height: 1.6;
        font-weight: 500;        max-width: 100%;
        overflow: hidden;
        position: relative;
        text-decoration: none;
        text-overflow: ellipsis;
        vertical-align: bottom;
        white-space: nowrap;
    }
	.mytheme-category-card {
    gap: 0px;
    border: 1px solid #f1f1f1;
		padding:4px !important;
}
}

/* موبایل کوچک */
@media (max-width: 380px) {
    .mytheme-categories-section .mytheme-categories-grid {
        column-gap: 6px;
        row-gap: 14px;
    }

    .mytheme-categories-section .mytheme-category-card__name {
        font-size: 11px;
    }
}
/* Autumn homepage section styles. Include this file from the existing homepage.css. */
#km-autumn-hero{position:relative;width:99.3vw;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);min-height:740px;overflow:hidden;background-color:#0b120f;direction:rtl;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:inherit;padding:70px 0;}#km-autumn-hero *{box-sizing:border-box;}#km-autumn-hero .km-ah-bg{position:absolute;inset:0;background-size:cover;background-position:center 40%;background-attachment:fixed;filter:brightness(0.48) contrast(1.15);will-change:transform;}#km-autumn-hero .km-ah-overlay{position:absolute;inset:0;background:radial-gradient(circle at center, rgba(12,20,18,0.3) 0%, rgba(6,10,9,0.92) 100%);pointer-events:none;z-index:1;}#km-autumn-hero canvas.km-ah-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;}#km-autumn-hero .km-ah-content{position:relative;z-index:3;width:100%;max-width:1380px;margin:0 auto;padding:0 24px;text-align:center;color:#ffffff;}
#km-autumn-hero .km-ah-badge{
display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff3e3e3b;
    color: #ffffff;
    border: 1px solid #ff3e3e;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}
#km-autumn-hero .km-ah-title{margin:0 0 14px;font-size:40px;font-weight:900;line-height:1.25;color:#ffffff;text-shadow:0 4px 25px rgba(0,0,0,0.8);}#km-autumn-hero .km-ah-title span{color:#ff3e3e;}#km-autumn-hero .km-ah-desc{margin:0 auto 40px;font-size:15px;line-height:1.8;color:rgba(255,255,255,0.85);max-width:640px;text-shadow:0 2px 10px rgba(0,0,0,0.7);}#km-autumn-hero .km-ah-carousel-wrap{position:relative;width:100%;padding:10px 0 20px;}#km-autumn-hero .km-ah-track:not(.owl-loaded){display:flex;gap:20px;overflow-x:auto;scroll-behavior:smooth;padding:20px 8px 30px;scrollbar-width:none;-ms-overflow-style:none;scroll-snap-type:x mandatory;}#km-autumn-hero .km-ah-track.owl-loaded{display:block;overflow:visible;padding:20px 8px 30px;scroll-snap-type:none;}#km-autumn-hero .km-ah-track::-webkit-scrollbar{display:none;}#km-autumn-hero .km-ah-card{position:relative;display:flex;width:100%;max-width:none;flex:initial;scroll-snap-align:start;background:rgba(255,255,255,0.06);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,0.18);border-radius:22px;padding:16px;display:flex;flex-direction:column;text-align:right;text-decoration:none;overflow:hidden;box-shadow:0 20px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25);transition:transform .35s cubic-bezier(0.2,0.8,0.2,1), border-color .35s ease, box-shadow .35s ease;}#km-autumn-hero .km-ah-card:hover{transform:translateY(-8px);border-color:rgba(255,138,0,0.6);box-shadow:0 25px 50px rgba(0,0,0,0.5), 0 0 30px rgba(255,138,0,0.2);}#km-autumn-hero .km-ah-card-water{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:22px;z-index:4;}#km-autumn-hero .km-drop{position:absolute;width:2px;background:linear-gradient(to bottom, transparent, rgba(255,255,255,0.7), transparent);border-radius:10px;opacity:0.6;animation:kmDropFall linear infinite;}#km-autumn-hero .km-drop:nth-child(1){left:18%;height:28px;animation-duration:3.2s;animation-delay:0.3s;}#km-autumn-hero .km-drop:nth-child(2){left:42%;height:38px;animation-duration:2.5s;animation-delay:1.1s;}#km-autumn-hero .km-drop:nth-child(3){left:68%;height:22px;animation-duration:3.8s;animation-delay:0.7s;}#km-autumn-hero .km-drop:nth-child(4){left:86%;height:32px;animation-duration:2.9s;animation-delay:1.8s;}@keyframes kmDropFall{0%{top:-45px;opacity:0;}15%{opacity:0.75;}80%{opacity:0.75;}100%{top:105%;opacity:0;}}#km-autumn-hero .km-ah-card-img-wrap{position:relative;width:100%;height:200px;border-radius:16px;background:rgba(0,0,0,0.25);overflow:hidden;display:flex;align-items:center;justify-content:center;margin-bottom:14px;}#km-autumn-hero .km-ah-card-img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}#km-autumn-hero .km-ah-card:hover .km-ah-card-img{transform:scale(1.08);}#km-autumn-hero .km-ah-card-tag{position:absolute;top:10px;right:10px;background:rgba(12,18,16,0.75);backdrop-filter:blur(8px);color:#ff9800;border:1px solid rgba(255,152,0,0.3);font-size:11px;font-weight:700;padding:4px 10px;border-radius:8px;z-index:2;}#km-autumn-hero .km-ah-card-title{font-size:14px;font-weight:800;line-height:1.6;color:#ffffff;margin:0 0 16px;height:44px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}#km-autumn-hero .km-ah-card-btn{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:6px;background:rgba(255,255,255,0.1);color:#ffffff;font-size:13px;font-weight:700;padding:10px;border-radius:10px;border:1px solid rgba(255,255,255,0.15);transition:all .3s ease;}#km-autumn-hero .km-ah-card:hover .km-ah-card-btn{background:#ff7a00;border-color:#ff7a00;box-shadow:0 4px 15px rgba(255,122,0,0.4);}#km-autumn-hero .km-ah-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:rgba(20,28,24,0.65);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.25);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10;transition:all .3s ease;box-shadow:0 8px 20px rgba(0,0,0,0.3);}#km-autumn-hero .km-ah-nav:hover{background:#ff7a00;border-color:#ff7a00;transform:translateY(-50%) scale(1.08);}#km-autumn-hero .km-ah-nav.km-prev{left:10px;}#km-autumn-hero .km-ah-nav.km-next{left:10px;}@media (max-width: 768px){#km-autumn-hero{min-height:auto;padding:50px 0;}#km-autumn-hero .km-ah-bg{background-attachment:scroll;}#km-autumn-hero .km-ah-content{padding:0 16px;}#km-autumn-hero .km-ah-title{font-size:26px;}#km-autumn-hero .km-ah-desc{font-size:13px;line-height:1.7;margin-bottom:25px;}#km-autumn-hero .km-ah-track:not(.owl-loaded) .km-ah-card{flex:0 0 76vw;max-width:76vw;}#km-autumn-hero .km-ah-nav{display:none;}}





#km-hotspot-section {
    position: relative;
    width: 100vw;
    max-width: none;
    margin: 20px calc(50% - 50vw) 35px;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
    font-family: inherit;
}

#km-hotspot-section .km-hotspot-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#km-hotspot-section .km-hotspot-image {
    display: block;
    width: 100%;
    height: 800px;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
    user-select: none;
}

#km-hotspot-section .km-hotspot-pin {
    position: absolute;
    z-index: 10;
    transform: translate(-50%, -50%);
}

#km-hotspot-section .km-hotspot-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    min-width: 28px;
    margin: 0;
    padding: 0;
    border: 2px solid #ff5722;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1;
}

#km-hotspot-section .km-hotspot-button:before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    pointer-events: none;
    animation: km-hotspot-pulse 2s infinite ease-out;
}

#km-hotspot-section .km-hotspot-dot {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1a202c;
}

#km-hotspot-section .km-hotspot-pin.km-active {
    z-index: 999;
}

#km-hotspot-section .km-hotspot-pin:hover .km-hotspot-button,
#km-hotspot-section .km-hotspot-pin.km-active .km-hotspot-button {
    transform: scale(1.15);
    border-color: #fff;
    background: #ff5722;
}

#km-hotspot-section .km-hotspot-pin:hover .km-hotspot-dot,
#km-hotspot-section .km-hotspot-pin.km-active .km-hotspot-dot {
    background: #fff;
}

@keyframes km-hotspot-pulse {
    0%   { transform: scale(.6); opacity: .9; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

#km-hotspot-section .km-hotspot-popup {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    padding: 12px 16px;
    visibility: hidden;
    opacity: 0;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(18,22,28,.94);
    box-shadow: 0 16px 36px rgba(0,0,0,.35);
    white-space: nowrap;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .25s ease, transform .25s ease,
                visibility .25s ease;
}

#km-hotspot-section .km-hotspot-popup:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border: 6px solid transparent;
    border-top-color: rgba(18,22,28,.94);
    transform: translateX(-50%);
}

#km-hotspot-section .km-hotspot-pin.km-active .km-hotspot-popup,
#km-hotspot-section .km-hotspot-pin:hover .km-hotspot-popup {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

#km-hotspot-section .km-hotspot-pin.km-bottom .km-hotspot-popup {
    top: calc(100% + 14px);
    bottom: auto;
    transform: translate(-50%, -8px);
}

#km-hotspot-section .km-hotspot-tag {
    color: #ff9800;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

#km-hotspot-section .km-hotspot-name {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

#km-hotspot-section .km-hotspot-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 20px;
    background: #fff;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

#km-hotspot-section .km-hotspot-link:hover {
    background: #ff5722;
    color: #fff;
}

@media (max-width: 768px) {
    #km-hotspot-section {
        width: 100vw;
        max-width: none;
        margin: 15px calc(50% - 50vw) 25px;
        padding: 0;
    }
.mytheme-two-banner-grid {
 
        display: flex;
        flex-direction: column;
    }
    #km-hotspot-section .km-hotspot-image {
        height: 310px;
    }

    #km-hotspot-section .km-hotspot-button {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }

    #km-hotspot-section .km-hotspot-button:before {
        inset: -4px;
    }

    #km-hotspot-section .km-hotspot-dot {
        width: 6px;
        height: 6px;
    }

    #km-hotspot-section .km-hotspot-popup {
        max-width: calc(100vw - 24px);
        padding: 10px 12px;
        border-radius: 12px;
        white-space: normal;
    }

    #km-hotspot-section .km-hotspot-tag {
        font-size: 10px;
    }

    #km-hotspot-section .km-hotspot-name {
        font-size: 12px;
    }

    #km-hotspot-section .km-hotspot-link {
        padding: 6px 10px;
        font-size: 11px;
    }
}
.mytheme-home-section:has(.mytheme-home-carousel--sale-products){
	margin-top:20px;
}

@media (prefers-reduced-motion: reduce) {
    #km-hotspot-section .km-hotspot-button:before {
        animation: none;
    }

    #km-hotspot-section .km-hotspot-popup {
        transition: none;
    }
}

































/* =========================================================
   بخش برندها — نسخه‌ی حرفه‌ای (کوه‌مان)
   ایده: پنل تیره‌ی «نقشه‌ی توپوگرافی» + کارت‌های روشن لوگو
   با علامت‌های برش (crop marks) گوشه‌ها هنگام هاور
   اسکوپ: فقط داخل .mytheme-brands-section
   ========================================================= */

.mytheme-brands-section {
	--brd-bg: #799fa7;              /* سبز-سرمه‌ای عمیق */
	--brd-bg-2: #1b343a;
	--brd-ink: #f3f5f2;             /* متن روی پنل تیره */
	--brd-card: #f7f8f5;            /* کارت لوگو */
	--brd-accent: #ff7a45;          /* رنگ تأکید (آتش/کمپ) */
	--brd-radius: 16px;
	--brd-ease: cubic-bezier(.22, .8, .24, 1);

	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin-block: 40px;
	padding: 36px 32px 30px;
	border-radius: 24px;
	color: var(--brd-ink);
	background:
		radial-gradient(120% 90% at 100% 0%, var(--brd-bg-2), transparent 60%),
		var(--brd-bg);
}

/* ---------- لایه‌ی خطوط تراز نقشه (::before) ---------- */
.mytheme-brands-section::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: .5;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='420' viewBox='0 0 640 420' fill='none' stroke='white' stroke-opacity='.09' stroke-width='1.2'%3E%3Cg%3E%3Cpath d='M70 150C70 80 150 50 225 75C300 100 315 185 240 220C165 255 70 225 70 150Z'/%3E%3Cpath transform='translate(152 150) scale(.8) translate(-152 -150)' d='M70 150C70 80 150 50 225 75C300 100 315 185 240 220C165 255 70 225 70 150Z'/%3E%3Cpath transform='translate(152 150) scale(.6) translate(-152 -150)' d='M70 150C70 80 150 50 225 75C300 100 315 185 240 220C165 255 70 225 70 150Z'/%3E%3Cpath transform='translate(152 150) scale(.4) translate(-152 -150)' d='M70 150C70 80 150 50 225 75C300 100 315 185 240 220C165 255 70 225 70 150Z'/%3E%3Cpath transform='translate(152 150) scale(.2) translate(-152 -150)' d='M70 150C70 80 150 50 225 75C300 100 315 185 240 220C165 255 70 225 70 150Z'/%3E%3C/g%3E%3Cg transform='translate(330 140)'%3E%3Cpath d='M70 150C70 80 160 40 250 80C340 120 330 220 240 250C150 280 70 230 70 150Z'/%3E%3Cpath transform='translate(160 160) scale(.8) translate(-160 -160)' d='M70 150C70 80 160 40 250 80C340 120 330 220 240 250C150 280 70 230 70 150Z'/%3E%3Cpath transform='translate(160 160) scale(.6) translate(-160 -160)' d='M70 150C70 80 160 40 250 80C340 120 330 220 240 250C150 280 70 230 70 150Z'/%3E%3Cpath transform='translate(160 160) scale(.4) translate(-160 -160)' d='M70 150C70 80 160 40 250 80C340 120 330 220 240 250C150 280 70 230 70 150Z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 640px 420px;
}

/* ---------- درخشش گرم گوشه‌ی پایین (::after) ---------- */
.mytheme-brands-section::after {
	content: "";
	position: absolute;
	inset: auto auto -140px -100px;
	width: 380px;
	height: 380px;
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(circle, color-mix(in srgb, #f6ffff 28%, transparent), transparent 68%);
	filter: blur(8px);
}

/* ---------- عنوان ---------- */
.mytheme-brands-section .mytheme-home-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 26px;
	color: var(--brd-ink);
	font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem);
	font-weight: 800;
	line-height: 1.4;
}

.mytheme-brands-section .mytheme-home-section-title__icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    border: 1px solid 
color-mix(in srgb, #799 55%, transparent);
    background: 
color-mix(in srgb, #799 12%, #799);
    transition: transform .7s var(--brd-ease), background-color .3s;
}

.mytheme-brands-section .mytheme-home-section-title__icon svg {
	width: 20px;
	height: 20px;
}

.mytheme-brands-section .mytheme-home-section-title:hover .mytheme-home-section-title__icon {
	transform: rotate(72deg);
	background: color-mix(in srgb, var(--brd-accent) 24%, transparent);
}

.mytheme-brands-section .mytheme-home-section-title::after {
	content: "";
	flex: 1;
	height: 1px;
	margin-inline-start: 10px;
	background: linear-gradient(to left, rgba(255, 255, 255, .22), transparent);
}

/* ---------- محو شدن لبه‌های کاروسل ---------- */
.mytheme-brands-carousel .owl-stage-outer {
	padding-block: 12px;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

/* ---------- کارت لوگو ---------- */
.mytheme-brands-carousel .mytheme-carousel__item a {

}

/* علامت‌های برش: گوشه‌ی بالا-شروع (::before) و پایین-پایان (::after) */
.mytheme-brands-carousel .mytheme-carousel__item a::before,
.mytheme-brands-carousel .mytheme-carousel__item a::after {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	border: 0 solid var(--brd-accent);
	opacity: 0;
	pointer-events: none;
	transition: inset .45s var(--brd-ease), opacity .3s;
}

.mytheme-brands-carousel .mytheme-carousel__item a::before {
	inset-block-start: 14px;
	inset-inline-start: 14px;
	border-block-start-width: 2px;
	border-inline-start-width: 2px;
	border-start-start-radius: 5px;
}

.mytheme-brands-carousel .mytheme-carousel__item a::after {
	inset-block-end: 14px;
	inset-inline-end: 14px;
	border-block-end-width: 2px;
	border-inline-end-width: 2px;
	border-end-end-radius: 5px;
}

/* ---------- لوگو ---------- */
.mytheme-brands-carousel .mytheme-carousel__item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: filter .45s var(--brd-ease), transform .55s var(--brd-ease);        max-height: 45px;
        object-fit: cover;
        width: 100%;
}

/* ---------- هاور / فوکوس ---------- */
.mytheme-brands-carousel .mytheme-carousel__item a:hover,
.mytheme-brands-carousel .mytheme-carousel__item a:focus-visible {

}

.mytheme-brands-carousel .mytheme-carousel__item a:hover::before,
.mytheme-brands-carousel .mytheme-carousel__item a:focus-visible::before {
	inset-block-start: 8px;
	inset-inline-start: 8px;
	opacity: 1;
}

.mytheme-brands-carousel .mytheme-carousel__item a:hover::after,
.mytheme-brands-carousel .mytheme-carousel__item a:focus-visible::after {
	inset-block-end: 8px;
	inset-inline-end: 8px;
	opacity: 1;
}

.mytheme-brands-carousel .mytheme-carousel__item a:hover img,
.mytheme-brands-carousel .mytheme-carousel__item a:focus-visible img {
	filter: none;
	transform: scale(1.07);
}

.mytheme-brands-carousel .mytheme-carousel__item a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 767px) {
	.mytheme-brands-section {
		margin-block: 24px;
		padding: 24px 14px 20px;
		border-radius: 18px;
	}
	.mytheme-brands-section .mytheme-home-section-title__icon { width: 36px; height: 36px; }
	.mytheme-brands-carousel .mytheme-carousel__item a { padding: 0px; border-radius: 12px; }
	.mytheme-brands-carousel .mytheme-carousel__item img { filter: grayscale(1) opacity(.9);padding: 5px; }
	.mytheme-brands-carousel .owl-stage-outer {
		-webkit-mask-image: none;
		mask-image: none;
	}
}

/* ---------- کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
	.mytheme-brands-section *,
	.mytheme-brands-section *::before,
	.mytheme-brands-section *::after {
		transition-duration: .01ms !important;
	}
}