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

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

.breadcrumb-list li a{
    color: #3510f7!important;
}



.product-card{
    margin-bottom: 120px!important;
}

/* ================= HEADER – SAME AS FOOTER ================= */
.header-area {
    background: linear-gradient(135deg, #10243e, #17365d, #2f5d8a);
    color: #fff;
    position: relative;
}

.ps-post__wrapper a{
    color:blue;
}


/* LOGO */
.logo img {
    filter: brightness(0) invert(1);
}

/* ================= SEARCH ================= */
.search-form-input input {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
}

.search-form-input input::placeholder {
    color: rgba(255,255,255,.7);
}

.search-form-input input:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}

.top-search-btn {
    background: rgba(255,255,255,.25);
    color: #fff;
}

/* ================= MENU ================= */

@media (max-width: 767.98px) {
    body {
        padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        height: calc(60px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: space-around;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 -3px 18px rgba(0, 0, 0, 0.06);
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none !important;
        color: #718096;
        transition: all 0.2s ease-in-out;
        padding: 6px 0 4px;
        position: relative;
    }

    .bottom-nav-icon {
        position: relative;
        font-size: 19px;
        height: 24px;
        line-height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 2px;
        transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .bottom-nav-label {
        font-size: 11px;
        font-weight: 500;
        line-height: 1.2;
    }

    .bottom-nav-item.active {
        color: #ff5722;
    }

    .bottom-nav-item.active .bottom-nav-icon {
        transform: translateY(-2px);
    }

    .bottom-nav-item.active .bottom-nav-label {
        font-weight: 700;
    }

    .bottom-nav-item:active .bottom-nav-icon {
        transform: scale(0.9);
    }

    .bottom-nav-badge {
        position: absolute;
        top: -4px;
        right: -9px;
        background: #e53935;
        color: #ffffff;
        font-size: 10px;
        font-weight: bold;
        min-width: 17px;
        height: 17px;
        line-height: 17px;
        border-radius: 10px;
        text-align: center;
        padding: 0 4px;
        border: 2px solid #ffffff;
        box-shadow: 0 2px 4px rgba(229, 57, 53, 0.35);
    }
}

@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}


/* ================= Story ================= */
.stories-row-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 12px;
    padding-bottom: 4px;
    justify-content: flex-start;
}

@media (min-width: 992px) {
    .stories-row-scroll {
        justify-content: center;
        gap: 20px;
    }
}

/* مخفی کردن اسکرول‌بار مرورگر */
.stories-row-scroll::-webkit-scrollbar {
    display: none;
}
.stories-row-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ستون هر استوری */
.story-item-col {
    flex: 0 0 74px;
    max-width: 74px;
    text-align: center;
    cursor: pointer;
}

@media (min-width: 768px) {
    .story-item-col {
        flex: 0 0 90px;
        max-width: 90px;
    }
}

.story-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* رینگ گرادینت دور تصویر استوری */
.story-ring {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

@media (min-width: 768px) {
    .story-ring {
        width: 80px;
        height: 80px;
    }
}

.story-circle-item:active .story-ring {
    transform: scale(0.95);
}

.story-img-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #fff;
    padding: 2px;
    overflow: hidden;
}

.story-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.story-title {
    display: block;
    width: 100%;
    font-size: 11px;
    color: #333;
    margin-top: 6px;
    text-align: center;
    line-height: 1.2;
}

/* استایل‌های کامل مودال */
.story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.story-modal.active {
    display: flex;
}

.story-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.88);
}

.story-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100%;
    max-height: 860px;
    background-color: #000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 576px) {
    .story-modal-content {
        height: 90vh;
        border-radius: 16px;
    }
}

/* نوارهای تایمر بالای مودال */
.story-progress-container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 4px;
    z-index: 20;
}

.story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    overflow: hidden;
}

.story-progress-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
    transition: width 0.1s linear;
}

/* هدر مودال */
.story-modal-header {
    position: absolute;
    top: 22px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
}

.story-header-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.story-header-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    object-fit: cover;
}

.story-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

/* تصویر استوری */
.story-media-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-media-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

/* دکمه CTA خرید */
.story-footer-action {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 25;
}

.story-action-btn {
    background: linear-gradient(135deg, #ff6b00, #ff8800);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    display: inline-flex;
    align-items: center;
    animation: pulseCta 2s infinite;
}

@keyframes pulseCta {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* تاچ پدها */
.story-tap-area {
    position: absolute;
    top: 60px;
    bottom: 70px;
    width: 40%;
    z-index: 10;
}
.story-tap-prev { right: 0; }
.story-tap-next { left: 0; }
/* ================= Story ================= */
.mean-container .mean-bar,
.mean-container .mean-nav {
    display: none !important;
}

.custom-burger-btn {
    background: transparent;
    border: none;
    outline: none !important;
    padding: 6px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.12);
}

.custom-burger-btn span {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: #ffffff;
    margin: 2.5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* ۲. لوگو در موبایل */
@media (max-width: 991px) {
    .site-header-logo {
        height: 36px !important;
        width: auto !important;
        object-fit: contain;
    }
}

.custom-mobile-drawer-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-mobile-drawer {
    position: fixed;
    top: 0;
    right: -310px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    direction: rtl;
}

.custom-mobile-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 16px 20px;
    background: #1a2a47;
    color: #fff;
}

.drawer-title {
    font-size: 15px;
    font-weight: bold;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.drawer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: #334155;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
}

.drawer-nav li a i {
    font-size: 18px;
    color: #ff6b00;
}

.submenu-arrow {
    padding: 12px 20px;
    cursor: pointer;
    color: #64748b;
}

.sub-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8fafc;
    display: none;
}

.sub-nav li a {
    padding-right: 40px;
    font-size: 13px;
    color: #475569;
}


.custom-burger-btn {
    pointer-events: auto !important;
    cursor: pointer;
    z-index: 100;
}

.custom-burger-btn span {
    pointer-events: none;
}

/* ============ TOP INFO BAR (ATTACHED TO FOOTER) ============ */
.about-corporate-area {
    background: linear-gradient(135deg, #10243e, #17365d, #2f5d8a);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,.15);
}

.single-corporate {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.corporate-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.corporate-icon i {
    font-size: 22px;
    color: #ffffff;
}

/* متن */
.corporate-text-des h3 {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 3px;
}

.corporate-text-des p {
    margin: 0;
    font-size: 13px;
    color: #e1dcff;
}

/* جداکننده بین ستون‌ها */
@media (min-width: 992px) {
    .col-0-sub:not(:last-child) .single-corporate {
        border-left: 1px solid rgba(255,255,255,.18);
        padding-left: 20px;
    }
}

/* موبایل */
@media (max-width: 768){
    .single-corporate {
        justify-content: center;
        text-align: center;
    }

    .corporate-icon {
        margin-left: 10px;
    }
}



/* ================= CORPORATE TOP ================= */
.about-corporate-area {
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 35px 0;
}

.single-corporate {
    display: flex;
    align-items: center;
    padding: 15px 10px;
}

.corporate-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7b5cff, #5e38cc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.corporate-icon i {
    font-size: 26px;
    color: #fff;
}

.corporate-text-des h3 {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #ffffff;
}

.corporate-text-des p {
    margin: 0;
    color: #d9d3ff;
}

/* ================= FOOTER TOP ================= */
.footer-top {
    padding: 60px 0 40px;
}

/* عنوان ستون‌ها */
.footer-title h5 {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

/* متن */
.footer-content p.des {
    color: #d9d3ff;
    line-height: 1.9;
}

/* ================= CONTACT ================= */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.footer-contact i {
    font-size: 18px;
    color: #ffd86b;
    margin-left: 10px;
    margin-top: 3px;
}

/* ================= FOOTER LIST ================= */
.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    display: inline-block;
    position: relative;
    padding-right: 12px;
}


.footer-list a:hover {
    padding-right: 18px;
}

/* ================= BLOG ================= */
.articles-inner {
    display: flex;
    margin-bottom: 14px;
}

.articles-image img {
    width: 72px;
    border-radius: 10px;
    margin-left: 12px;
}

.aritcles-content a {
    font-size: 13px;
    line-height: 1.6;
    color: #f5f3ff;
}

.articles-date {
    font-size: 12px;
    color: #ffd86b;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 76px) {
    .single-corporate {
        margin-bottom: 20px;
    }
}


/* Toast افزودن به سبد خرید */
.cart-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: #16a34a;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 14px 30px rgba(22, 163, 74, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0.25s;
    z-index: 1060;
}

.cart-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.cart-text-items{
    color: #fff;
}


.page-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 24px;
    display: inline-block;
}

/* نوار رنگی ظریف زیر عنوان */
.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: #6c5ce7; /* رنگ برند جین 365 */
    border-radius: 2px;
}

/* افکت روی موبایل برای کوچکتر شدن */
@media (max-width: 767.98px) {
    .page-title-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
}


/* ================= HOME FEATURE BAR ================= */
.home-feature-bar {
    position: relative;
    padding: 60px 0 40px;
    background: linear-gradient(
        135deg,
        #3f2499 0%,
        #5e38cc 55%,
        #5e18cc 100%
    );
    color: #fff;
}

/* glass overlay */
.home-feature-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
    z-index: 0;
}

.home-feature-bar .container {
    position: relative;
    z-index: 1;
}

/* ================= ROW ================= */
.home-feature-row {
    display: flex;
    align-items: stretch;
}

/* ================= CARD ================= */
.home-feature-card {
    height: 100%;
    padding: 28px 20px 30px;
    border-radius: 22px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    text-align: center;
    transition: all .35s ease;
}

/* hover */
.home-feature-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.22);
    box-shadow: 0 25px 45px rgba(0,0,0,.25);
}

/* ================= ICON ================= */
.home-feature-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-feature-icon img {
    width: 46px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* ================= TEXT ================= */
.home-feature-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.home-feature-subtitle {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,.85);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .home-feature-bar {
        padding: 40px 0 20px;
    }

    .home-feature-card {
        margin-bottom: 20px;
    }
}

/* ================= PRODUCT CARD ================= */

.discription-content {

}

.discription-content p{
    font-size: 18px;
    line-height: 2.5;
}

.discription-content ul li{
    font-size: 18px;
    line-height: 2.5;
}


.discription-content h2{
    font-size: 24px;
    line-height: 1.5;
    color: #244b75!important;
}
/* ==========================================================
   Modern Colored & Organized Product Card
   ========================================================== */
.sinle-product-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f3f7;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 14px rgba(16, 36, 62, 0.04);
}

.sinle-product-item:hover {
    transform: translateY(-4px);
    border-color: #fecdd3; /* رنگ ملایم قرمز/صورتی هنگام هاور */
    box-shadow: 0 12px 28px -6px rgba(225, 29, 72, 0.12);
}

/* ---------- تصویر محصول ---------- */
.product-thumb {
    position: relative;
    width: 100%;
    background-color: #f8fafc;
    overflow: hidden;
}

.product-thumb .thumb-link {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1; /* کادر مربع یکدست */
    overflow: hidden;
}

.product-thumb img.primary-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.45s ease;
    display: block;
}

.sinle-product-item:hover .product-thumb img.primary-image {
    transform: scale(1.05);
}

/* ---------- تگ نوشته تخفیف گوشه بالا-راست روی عکس ---------- */
.top-discount-tag {
    position: absolute;
    top: 10px;
    right: 0;
    background: linear-gradient(135deg, #ff3d00, #be123c);
    color: #ffffff;
    padding: 5px 14px 5px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px 0 0 20px; /* گوشه راست چسبیده به لبه، چپ گرد */
    box-shadow: 0 4px 12px rgba(190, 18, 60, 0.35);
    z-index: 5;
    letter-spacing: -0.2px;
}

/* مخفی‌سازی المنت‌های قدیمی ناخواسته */
.rating-box, .rating, .label-product {
    display: none !important;
}

/* ---------- بدنه محتوا ---------- */
.product-info {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

/* نام محصول (دو خط با سه‌نقطه) */
.product-name {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.55;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 42px; /* فیکس برای ۲ خط */
}

.product-name a {
    color: #1e293b;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.sinle-product-item:hover .product-name a {
    color: #ff3d00;
}

/* ---------- باکس قیمت‌گذاری منظم ---------- */
.product-pricing-area {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ۱. ردیف بالا: قیمت قبلی خط‌خورده سمت چپ */
.pricing-top-row {
    display: flex;
    justify-content: flex-end; /* چسبیده به چپ */
    min-height: 18px;
    padding-left: 12px;
}

.old-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.empty-spacer {
    display: block;
    height: 18px;
}

/* ۲. ردیف پایین: تخفیف (راست) + قیمت جدید (چپ) */
.pricing-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* پخش شدن دو طرف */
}

/* بج درصد تخفیف (سمت راست) */
.badge-col {
    display: flex;
    align-items: center;
}

.percent-badge {
    background: linear-gradient(135deg, #ff3d00, #ff3d00);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 14px;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
    direction: ltr;
}

/* قیمت نهایی (سمت چپ) */
.price-col {
    display: flex;
    align-items: baseline;
    gap: 4px;
    direction: rtl;
}

.new-price {
    font-size: 17px;
    font-weight: 900;
    color: #0f172a; /* رنگ مشکی عمیق و بولد */
    letter-spacing: -0.4px;
}

.currency {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}

/* ==========================================================
   ریسپانسیو موبایل
   ========================================================== */
@media (max-width: 575.98px) {
    .product-info {
        padding: 10px 10px 12px;
    }

    .top-discount-tag {
        font-size: 10.5px;
        padding: 4px 10px 4px 8px;
        top: 8px;
    }

    .product-name {
        font-size: 12px;
        height: 38px;
        margin-bottom: 8px;
    }

    .percent-badge {
        font-size: 11px;
        padding: 2px 7px;
    }

    .new-price {
        font-size: 14.5px;
    }

    .currency {
        font-size: 10px;
    }

    .old-price {
        font-size: 11px;
    }
}

.breadcrumb-area,
.breadcrumbs-wrap,
.breadcrumb-section {
    padding: 16px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb,
.breadcrumb-list,
.ps-breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    font-size: 13px;
    color: #64748b;
}

.breadcrumb li,
.breadcrumb-list li,
.ps-breadcrumb__item,
.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb li + li:before,
.breadcrumb-item + .breadcrumb-item:before,
.breadcrumb-list li + li:before,
.ps-breadcrumb__item + .ps-breadcrumb__item:before {
    content: "/";
    color: #cbd5e1;
    margin: 0 4px;
}
`
.breadcrumb a,
.breadcrumb-list a,
.ps-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover,
.breadcrumb-list a:hover,
.ps-breadcrumb a:hover {
    color: #1d4ed8;
}

.breadcrumb .active,
.breadcrumb-item.active,
.ps-breadcrumb__item.active,
.breadcrumb-list .active {
    color: #0f172a;
    font-weight: 600;
}

@media (max-width: 768px) {
    .breadcrumb,
    .breadcrumb-list,
    .ps-breadcrumb {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* استایل سبد خرید */
.mini-cart-sub {
    min-width: 320px;
    max-width: 400px;
    padding: 0;
}

.single-cart {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    transition: background-color 0.2s ease;
}

.single-cart:hover {
    background-color: #f8f9fa;
}

.single-cart:last-of-type {
    border-bottom: none;
}

.cart-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-left: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.cart-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-info a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.cart-info a:hover {
    color: #007bff;
}

.cart-quantity {
    font-size: 12px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-price {
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
    margin: 0;
}

.cart-remove {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    color: #dc3545;
    text-decoration: none;
    transition: all 0.2s ease;
    opacity: 0;
}

.single-cart:hover .cart-remove {
    opacity: 1;
}

.cart-remove:hover {
    background: #dc3545;
    color: #fff;
    transform: scale(1.1);
}

.cart-remove i {
    font-size: 16px;
}

.cart-total-box {
    padding: 15px;
    background: #f8f9fa;
    border-top: 2px solid #e0e0e0;
    margin: 0;
}

.cart-total-box h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total-box .float-right {
    color: #28a745;
    font-size: 18px;
}

.cart-button {
    padding: 8px 12px;
    margin: 0;
    display: flex;
    gap: 8px;
}

.cart-button a {
    flex: 1;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cart-button a:first-child {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}

.cart-button a:first-child:hover {
    background: #e9ecef;
    border-color: #d0d0d0;
}

.cart-button a:last-child {
    background: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}

.cart-button a:last-child:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.mini-cart-sub .text-center {
    padding: 30px 20px;
}

.mini-cart-sub .text-center p {
    color: #999;
    margin: 0 0 15px 0;
    font-size: 14px;
}

.mini-cart-sub .text-center a {
    display: inline-block;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    transition: background 0.2s ease;
}

.mini-cart-sub .text-center a:hover {
    background: #0056b3;
}

@media (max-width: 480px) {
    .mini-cart-sub {
        min-width: 280px;
    }

    .cart-img {
        width: 50px;
        height: 50px;
        margin-left: 10px;
    }

    .cart-info a {
        font-size: 12px;
    }

    .cart-price {
        font-size: 13px;
    }
}

/* ===========================
   منوی اصلی – استایل مدرن
============================ */
.main-menu-area {
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    position: relative;
    z-index: 20;
}

.main-menu-elevated {
    padding: 6px 14px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.main-nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

.main-nav-list > li {
    position: relative;
    list-style: none;
}

.main-nav-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.18s ease-out;
}



.main-nav-list > li > a span.label {
    position: relative;
    z-index: 1;
}

.main-nav-list > li > a:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.03);
    transform: translateY(-1px);
}


/* خط کوچک زیر آیتم ها برای ظاهری حرفه‌ای‌تر */
.main-nav-list > li::after {
    content: "";
    position: absolute;
    inset-inline: 16px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.65), rgba(56, 189, 248, 0.65));
    opacity: 0;
    transform: scaleX(0.4);
    transform-origin: center;
    transition: all 0.18s ease-out;
}

.main-nav-list > li:hover::after,
.main-nav-list > li.active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* منوی مگا – هماهنگ با استایل جدید */
.main-menu-elevated .mega-menu {
    margin-top: 14px;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    border: 1px solid #e5e7eb;
}

.main-menu-elevated .mega-menu > li > a {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    display: inline-block;
}

.main-menu-elevated .mega-menu > li > ul > li > a {
    font-size: 13px;
    color: #4b5563;
}

.main-menu-elevated .mega-menu > li > ul > li > a:hover {
    color: #2563eb;
}


/* ===================================================
   Breadcrumb Styling (Desktop & Mobile Optimized)
   =================================================== */
.breadcrumb-area {
    padding: 10px 0;
    background-color: #f8fafc;
    border-bottom: 1px solid #edf2f7;
}

.breadcrumb-area .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* ساختار لیست بردکرامب */
.ps-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.5;
}

/* هر آیتم بردکرامب */
.ps-breadcrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: #64748b;
}

/* جداکننده بین آیتم‌ها */
.ps-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 8px;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 400;
}

/* لینک‌ها */
.ps-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.ps-breadcrumb .breadcrumb-item a:hover {
    color: #ff6b00; /* رنگ نارنجی برند */
}

/* آیتم فعال (نام محصول فعلی) */
.ps-breadcrumb .breadcrumb-item a.active,
.ps-breadcrumb .breadcrumb-item.active {
    color: #1e293b;
    font-weight: 600;
    pointer-events: none;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

/* ===================================================
   بهینه‌سازی ویژه موبایل و تبلت (زیر 768px)
   =================================================== */
@media (max-width: 767px) {
    .breadcrumb-area {
        padding: 8px 0;
    }

    /* جلوگیری از شکستن خط و فعال‌سازی اسکرول افقی بسیار روان */
    .ps-breadcrumb {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* مخفی کردن اسکرول‌بار در فایرفاکس */
        padding-bottom: 2px;
    }

    .ps-breadcrumb::-webkit-scrollbar {
        display: none; /* مخفی کردن اسکرول‌بار در کروم و سافاری */
    }

    .ps-breadcrumb .breadcrumb-item {
        font-size: 12px;
        flex-shrink: 0; /* مانع از فشرده شدن نامناسب متون */
    }

    .ps-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 6px;
    }

    /* محدود کردن طول عنوان محصول در موبایل تا کل صفحه را نگیرد */
    .ps-breadcrumb .breadcrumb-item a.active {
        max-width: 170px;
    }
}
.top-announcement-bar {
    background: linear-gradient(100deg, #ff5722, #e65100, #d84315) !important;
    color: #ffffff !important;
    font-size: 13px;
    line-height: 1.4;
    z-index: 1050;
    position: relative;
}

.top-announcement-bar strong {
    color: #fff9c4;
    font-weight: 700;
}

/* ساختار کلی چیدمان در دسکتاپ */
.top-announcement-bar .announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px 38px;
    gap: 10px 14px;
    text-align: center;
}

.top-announcement-bar .announcement-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.top-announcement-bar .announcement-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.top-announcement-bar .announcement-sep {
    opacity: 0.45;
    font-size: 12px;
}

.top-announcement-bar .pill-dot {
    opacity: 0.6;
    font-size: 11px;
}

.top-announcement-bar .info-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* دکمه بستن */
.top-announcement-bar .close,
.top-announcement-bar .btn-close {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    font-size: 22px;
    line-height: 1;
    opacity: 0.85;
    color: #fff !important;
    text-shadow: none;
    cursor: pointer;
}

.top-announcement-bar .close:hover,
.top-announcement-bar .btn-close:hover {
    opacity: 1;
}

/* =======================================
   تنظیمات اختصاصی موبایل (زیر 768px)
   ======================================= */
@media (max-width: 767.98px) {
    .top-announcement-bar {
        font-size: 11.5px;
    }

    .top-announcement-bar .announcement-content {
        flex-direction: column; /* چیدمان ستونی تمیز دو خطی */
        padding: 7px 28px;      /* فاصله امن از دکمه ضربدر */
        gap: 4px;
    }

    .top-announcement-bar .announcement-group {
        width: 100%;
        flex-wrap: wrap;
        gap: 5px 8px;
    }

    .top-announcement-bar .announcement-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .top-announcement-bar .close,
    .top-announcement-bar .btn-close {
        left: 6px;
        font-size: 18px;
    }
}


.custom-search-wrapper {
    position: relative !important;
    display: flex;
    align-items: center;
}

.custom-search-wrapper input.dynamic-search-input {
    width: 100%;
    position: relative;
    z-index: 1;
    background: transparent !important; /* تا متن پشتش دیده بشه */
}

/* کانتینر متن‌های چرخشی */
.search-animated-placeholder {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    width: calc(100% - 60px);
    height: 22px;
    overflow: hidden;
}

/* هر متن */
.search-animated-placeholder .placeholder-text {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    color: #8c98a4;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* متنی که در حال حاضر فعاله */
.search-animated-placeholder .placeholder-text.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* مخفی شدن هنگام فوکوس روی اینپوت */
.dynamic-search-input:focus ~ .search-animated-placeholder {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* تنظیمات مخصوص موبایل */
@media (max-width: 767.98px) {
    .search-animated-placeholder {
        right: 14px;
        width: calc(100% - 50px);
    }
    .search-animated-placeholder .placeholder-text {
        font-size: 12px;
        line-height: 22px;
    }
}

@media (max-width: 991px) {
    /* کاهش ارتفاع و پدینگ کلی هدر */
    .header-area {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    /* اندازه مناسب لوگو در موبایل (سمت راست) */
    .header-area .site-header-logo {
        height: 38px !important;
        max-width: 100% !important;
        object-fit: contain;
    }

    .header-area .logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    /* تنظیمات باکس جستجو در کنار لوگو (سمت چپ) */
    .header-area .search-form-input.custom-search-wrapper input {
        height: 38px !important;
        font-size: 12px !important;
        padding-right: 12px !important;
    }

    .header-area .top-search-btn {
        height: 38px !important;
        line-height: 38px !important;
        width: 38px !important;
    }

    .header-area .search-animated-placeholder {
        line-height: 38px !important;
        font-size: 11.5px !important;
        right: 12px !important;
    }
}