﻿/* =========================================================
   STORE 2026
   حقوق کده | Professional Digital Store
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

.store-page {
    --store-primary: #0A2540;
    --store-primary-2: #173A5E;
    --store-gold: #C9A961;
    --store-gold-dark: #ad8d45;
    --store-bg: #f5f7fa;
    --store-card: #ffffff;
    --store-border: #e6eaf0;
    --store-text: #17212b;
    --store-text-2: #5e6b78;
    --store-muted: #8b96a3;
    --store-success: #138a63;
    --store-danger: #d84a4a;
    --store-radius: 18px;
    direction: rtl;
    font-family: "Vazirmatn", sans-serif;
    color: var(--store-text);
    background: var(--store-bg);
    min-height: 100vh;
}

    .store-page *,
    .store-page *::before,
    .store-page *::after {
        box-sizing: border-box;
    }

.store-container {
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   STORE HEADER
========================================================= */

.store-header {
    position: relative;
    background: radial-gradient( circle at 10% 20%, rgba(201, 169, 97, 0.12), transparent 30% ), linear-gradient( 135deg, #081d32 0%, #0a2540 55%, #102f4d 100% );
    padding: 20px 0 20px;
    overflow: hidden;
}

    .store-header::before {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        border: 1px solid rgba(201,169,97,.15);
        top: -180px;
        left: -100px;
    }

    .store-header::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.05);
        bottom: -150px;
        right: 8%;
    }

.store-header-inner {
    position: relative;
    z-index: 2;
}

.store-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

    .store-breadcrumb a {
        color: rgba(255,255,255,.65);
        text-decoration: none;
        transition: .2s ease;
    }

        .store-breadcrumb a:hover {
            color: #fff;
        }

    .store-breadcrumb span {
        color: var(--store-gold);
        font-size: 18px;
    }

    .store-breadcrumb strong {
        color: #fff;
        font-weight: 600;
    }

.store-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -1px;
}

.store-header p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.9;
    font-weight: 500;
}


/* =========================================================
   CATEGORY NAVIGATION
========================================================= */

.store-category-section {
    position: relative;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid var(--store-border);
    box-shadow: 0 4px 18px rgba(15, 32, 48, .04);
}

.store-category-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 78px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .store-category-bar::-webkit-scrollbar {
        display: none;
    }

.store-category-item {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 17px;
    border-radius: 12px;
    color: #566372;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

    .store-category-item:hover {
        color: var(--store-primary);
        background: #f5f7fa;
    }

    .store-category-item.active {
        color: var(--store-primary);
        background: #eef3f8;
    }

        .store-category-item.active::after {
            content: "";
            position: absolute;
            bottom: -17px;
            left: 16px;
            right: 16px;
            height: 3px;
            border-radius: 20px;
            background: var(--store-gold);
        }

.category-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f1f4f7;
    color: var(--store-primary);
    font-size: 21px;
}

.store-category-item.active .category-icon {
    background: rgba(201,169,97,.16);
    color: var(--store-gold-dark);
}


/* =========================================================
   STORE MAIN
========================================================= */

.store-main {
    padding: 30px 0 70px;
    background: #e5e5e5;
}

.store-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.store-sidebar {
    position: sticky;
    top: 95px;
    background: #fff;
    border: 1px solid var(--store-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(5, 27, 50, 0.11);
}

.sidebar-mobile-header {
    display: none;
}

.sidebar-box {
    padding: 20px;
}

.sidebar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--store-text);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 15px;
}

.sidebar-chevron {
    color: var(--store-muted);
    font-size: 18px;
}

.sidebar-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-option {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    color: #65717e;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .2s ease;
}

    .sidebar-option:hover {
        background: #f5f7fa;
        color: var(--store-primary);
    }

    .sidebar-option.active {
        background: #eef3f8;
        color: var(--store-primary);
        font-weight: 800;
    }

.sidebar-static-info {
    color: var(--store-text-2);
    font-size: 13px;
    line-height: 1.9;
}

.sidebar-divider {
    height: 1px;
    background: var(--store-border);
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    color: #596673;
    font-size: 13px;
    font-weight: 600;
}

    .filter-check input {
        width: 17px;
        height: 17px;
        accent-color: var(--store-primary);
    }


/* =========================================================
   PRODUCTS AREA
========================================================= */

.store-products-area {
    min-width: 0;
}


/* =========================================================
   TOOLBAR
========================================================= */

.store-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
    margin-bottom: 20px;
    padding: 0 3px;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.products-count {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .products-count strong {
        color: var(--store-text);
        font-size: 16px;
        font-weight: 900;
    }

    .products-count span {
        color: var(--store-muted);
        font-size: 12px;
        font-weight: 500;
    }

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sort-label {
    margin-left: 7px;
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 600;
}

.sort-button {
    height: 36px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #66727e;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
    align-content: center;
}

    .sort-button:hover {
        background: #fff;
        border-color: var(--store-border);
        color: var(--store-primary);
    }

    .sort-button.active {
        background: #fff;
        border-color: var(--store-border);
        color: var(--store-primary);
        box-shadow: 0 3px 12px rgba(15, 32, 48, 0.13);
    }

.mobile-filter-button {
    display: none;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.store-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e4e8ed;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(18, 38, 58, .045);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .product-card:hover {
        transform: translateY(-4px);
        border-color: #d9e0e7;
        box-shadow: 0 18px 38px rgba(18, 38, 58, .11);
    }


/* =========================================================
   IMAGE
========================================================= */

.product-image-box {
    position: relative;
    height: 210px;
    background: linear-gradient( 145deg, #eef2f5, #f8f9fa );
    overflow: hidden;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.product-card:hover .product-image {
    transform: scale(1.045);
}


/* =========================================================
   IMAGE BADGES
========================================================= */

.product-badges {
    position: absolute;
    top: 13px;
    right: 13px;
    left: 13px;
    z-index: 5;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.product-file-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(10,37,64,.93);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

    .product-file-badge i {
        color: var(--store-gold);
        font-size: 12px;
    }

.product-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--store-danger);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(216,74,74,.2);
}


/* =========================================================
   FAVORITE
========================================================= */

.product-favorite {
    position: absolute;
    top: 54px;
    left: 13px;
    z-index: 6;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #677482;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    transition: color .2s ease, transform .2s ease, background .2s ease;
}

    .product-favorite:hover {
        color: #d84a4a;
        transform: scale(1.07);
        background: #fff;
    }


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.product-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient( to top, rgba(5,20,35,.68), rgba(5,20,35,.05) );
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    opacity: 0;
    transition: opacity .25s ease;
}

    .product-image-overlay i {
        font-size: 12px;
    }

.product-card:hover .product-image-overlay {
    opacity: 1;
}


/* =========================================================
   CARD BODY
========================================================= */

.product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 17px 18px 18px;
}


/* =========================================================
   CATEGORY
========================================================= */

.product-category {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
    margin-bottom: 9px;
    color: #8a95a0;
    font-size: 11px;
    font-weight: 600;
}

.category-brand {
    color: var(--store-gold-dark);
    font-weight: 800;
}

.category-separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c9d0d7;
}


/* =========================================================
   TITLE
========================================================= */

.product-title {
    margin: 0;
    min-height: 52px;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 900;
    letter-spacing: -.2px;
}

    .product-title a {
        display: -webkit-box;
        color: #17212b;
        text-decoration: none;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        transition: color .2s ease;
    }

        .product-title a:hover {
            color: var(--store-primary-2);
        }


/* =========================================================
   DESCRIPTION
========================================================= */

.product-description {
    display: -webkit-box;
    margin: 7px 0 0;
    min-height: 39px;
    color: #697581;
    font-size: 12px;
    line-height: 1.75;
    font-weight: 500;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* =========================================================
   FEATURES
========================================================= */

.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 13px;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 34px;
    padding: 0 8px;
    border: 1px solid #edf0f3;
    border-radius: 8px;
    background: #fafbfc;
    color: #65717d;
    font-size: 10px;
    font-weight: 700;
}

.feature-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #eef3f7;
    color: var(--store-primary);
    font-size: 10px;
}


/* =========================================================
   PRICE BOX
========================================================= */

.product-price-box {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid #edf0f3;
}

.product-price {
    min-width: 0;
}

.price-caption {
    display: block;
    margin-bottom: 2px;
    color: #9aa3ad;
    font-size: 10px;
    font-weight: 600;
}

.final-price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.final-price {
    color: var(--store-primary);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 900;
    white-space: nowrap;
}

.price-currency {
    color: #7c8791;
    font-size: 10px;
    font-weight: 700;
}

.old-price {
    margin-top: 1px;
    color: #a1a9b1;
    font-size: 10px;
    line-height: 1.4;
    text-decoration: line-through;
    white-space: nowrap;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.product-view-button {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 122px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--store-primary);
    border-radius: 10px;
    background: var(--store-primary);
    color: #fff !important;
    text-decoration: none !important;
    font-family: "Vazirmatn", sans-serif;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 7px 16px rgba(10,37,64,.16);
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

    .product-view-button span {
        color: #fff !important;
        white-space: nowrap;
    }

    .product-view-button i {
        color: var(--store-gold);
        font-size: 11px;
        transition: transform .2s ease;
    }

    .product-view-button:hover {
        background: var(--store-primary-2);
        border-color: var(--store-primary-2);
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(10,37,64,.22);
    }

        .product-view-button:hover i {
            transform: translateX(-3px);
        }


/* =========================================================
   FILTER OVERLAY
========================================================= */

.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(5,17,29,.58);
    backdrop-filter: blur(3px);
}

    .filter-overlay.show {
        display: block;
    }

body.filter-open {
    overflow: hidden;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1200px) {

    .store-container {
        width: min(1180px, calc(100% - 30px));
    }

    .store-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 20px;
    }

    .store-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-image-box {
        height: 225px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .store-container {
        width: min(100%, calc(100% - 28px));
    }

    .store-layout {
        display: block;
    }

    .store-sidebar {
        display: none;
    }

    .store-toolbar {
        margin-bottom: 18px;
    }

    .mobile-filter-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 40px;
        padding: 0 13px;
        border: 1px solid #dfe5ea;
        border-radius: 10px;
        background: #fff;
        color: var(--store-primary);
        font-family: inherit;
        font-size: 12px;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(15,32,48,.04);
    }

        .mobile-filter-button span {
            font-size: 15px;
        }

    .store-sidebar.open {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        width: min(340px, 88vw);
        max-width: 340px;
        border-radius: 0;
        overflow-y: auto;
        animation: storeFilterIn .25s ease;
    }

    .sidebar-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        border-bottom: 1px solid var(--store-border);
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 2;
    }

        .sidebar-mobile-header strong {
            color: var(--store-primary);
            font-size: 15px;
            font-weight: 900;
        }

    .sidebar-close {
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 9px;
        background: #f1f3f5;
        color: #596673;
        font-size: 22px;
        cursor: pointer;
    }

    .toolbar-left {
        display: none;
    }
}

@keyframes storeFilterIn {

    from {
        transform: translateX(100%);
        opacity: .7;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .store-container {
        width: calc(100% - 24px);
    }

    .store-header {
        padding: 30px 0 28px;
    }

    .store-breadcrumb {
        font-size: 12px;
        margin-bottom: 11px;
    }

    .store-header h1 {
        font-size: 27px;
        letter-spacing: -.5px;
    }

    .store-header p {
        margin-top: 7px;
        font-size: 13px;
        line-height: 1.8;
    }


    /* CATEGORY */

    .store-category-bar {
        min-height: 68px;
        gap: 5px;
    }

    .store-category-item {
        min-height: 40px;
        padding: 0 12px;
        gap: 7px;
        font-size: 12px;
    }

    .category-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .store-category-item.active::after {
        bottom: -13px;
        left: 12px;
        right: 12px;
    }


    /* MAIN */

    .store-main {
        padding: 20px 0 45px;
    }


    /* TOOLBAR */

    .store-toolbar {
        min-height: 44px;
        margin-bottom: 15px;
    }

    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .products-count strong {
        font-size: 14px;
    }

    .products-count span {
        font-size: 10px;
    }

    .mobile-filter-button {
        min-height: 38px;
        padding: 0 12px;
        font-size: 11px;
    }


    /* GRID */

    .store-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }


    /* CARD */

    .product-card {
        border-radius: 16px;
    }

    .product-image-box {
        height: 205px;
    }

    .product-card-body {
        padding: 15px 15px 16px;
    }


    /* CATEGORY */

    .product-category {
        margin-bottom: 7px;
        font-size: 10px;
    }


    /* TITLE */

    .product-title {
        min-height: auto;
        font-size: 16px;
        line-height: 1.65;
    }

    .product-description {
        margin-top: 6px;
        min-height: auto;
        font-size: 12px;
        line-height: 1.8;
    }


    /* FEATURES */

    .product-features {
        margin-top: 11px;
        gap: 6px;
    }

    .product-feature {
        min-height: 33px;
        padding: 0 7px;
        font-size: 9.5px;
    }


    /* PRICE */

    .product-price-box {
        margin-top: 13px;
        padding-top: 12px;
        gap: 8px;
    }

    .price-caption {
        font-size: 9px;
    }

    .final-price {
        font-size: 17px;
    }

    .price-currency {
        font-size: 9px;
    }

    .old-price {
        font-size: 9px;
    }


    /* BUTTON */

    .product-view-button {
        min-width: 116px;
        min-height: 41px;
        padding: 0 11px;
        border-radius: 9px;
        font-size: 11px;
    }

        .product-view-button i {
            font-size: 10px;
        }


    /* BADGES */

    .product-badges {
        top: 11px;
        right: 11px;
        left: 11px;
    }

    .product-file-badge,
    .product-discount-badge {
        min-height: 28px;
        padding: 0 8px;
        font-size: 10px;
    }

    .product-favorite {
        top: 49px;
        left: 11px;
        width: 34px;
        height: 34px;
    }

    .product-image-overlay {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .store-container {
        width: calc(100% - 20px);
    }

    .product-image-box {
        height: 190px;
    }

    .product-card-body {
        padding: 14px;
    }

    .product-title {
        font-size: 15px;
    }

    .product-description {
        font-size: 11px;
    }

    .product-feature {
        font-size: 9px;
    }

    .final-price {
        font-size: 16px;
    }

    .product-view-button {
        min-width: 108px;
        font-size: 10px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.product-view-button:focus-visible,
.product-favorite:focus-visible,
.sort-button:focus-visible,
.mobile-filter-button:focus-visible,
.sidebar-close:focus-visible,
.store-category-item:focus-visible,
.sidebar-option:focus-visible {
    outline: 3px solid rgba(201,169,97,.35);
    outline-offset: 2px;
}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .product-card,
    .product-image,
    .product-view-button,
    .product-image-overlay,
    .product-favorite,
    .store-category-item {
        transition: none !important;
    }
}

/* =========================================================
   EMPTY STORE STATE
========================================================= */
/* =========================================================
   STORE EMPTY STATE
========================================================= */

.store-empty-state {
    width: 100%;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 18px;
}


/* =========================================================
   LOADER
========================================================= */
/* =========================================================
   PREMIUM STORE LOADER
========================================================= */
/* =========================================================
   STORE EMPTY - FILE SCANNER LOADER
========================================================= */
/* =========================================================
   LUXURY STORE EMPTY LOADER
========================================================= */

.store-empty-loader {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}


/* =========================================================
   MAIN LUXURY LOADER
========================================================= */

.luxury-loader {
    position: relative;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   OUTER RING
========================================================= */

.luxury-loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid #e8e1d2;
    border-top-color: #C9A961;
    border-right-color: #C9A961;
    animation: luxuryRingRotate 3.5s linear infinite;
}


    /* =========================================================
   SECOND RING
========================================================= */

    .luxury-loader-ring::before {
        content: "";
        position: absolute;
        inset: 6px;
        border-radius: 50%;
        border: 1px dashed rgba(201, 169, 97, .28);
        animation: luxuryRingReverse 6s linear infinite;
    }


/* =========================================================
   CENTER
========================================================= */

.luxury-loader-core {
    position: relative;
    z-index: 3;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient( 145deg, #ffffff, #f7f4ed );
    border: 1px solid #e8dfce;
    box-shadow: 0 8px 22px rgba(10, 37, 64, .10), inset 0 0 0 4px rgba(201, 169, 97, .045);
    color: #0A2540;
    animation: luxuryCorePulse 2.4s ease-in-out infinite;
}


    .luxury-loader-core i {
        font-size: 19px;
        color: #C9A961;
        filter: drop-shadow( 0 2px 4px rgba(201, 169, 97, .18) );
    }


/* =========================================================
   GOLDEN SPARKS
========================================================= */

.luxury-loader-spark {
    position: absolute;
    z-index: 4;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #C9A961;
    box-shadow: 0 0 8px rgba(201, 169, 97, .65);
    animation: luxurySpark 2.4s ease-in-out infinite;
}


/* positions */

.spark-1 {
    top: 3px;
    left: 32px;
    animation-delay: 0s;
}

.spark-2 {
    right: 4px;
    top: 32px;
    animation-delay: .8s;
}

.spark-3 {
    bottom: 5px;
    left: 30px;
    animation-delay: 1.6s;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes luxuryRingRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes luxuryRingReverse {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}


@keyframes luxuryCorePulse {

    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 22px rgba(10, 37, 64, .10), inset 0 0 0 4px rgba(201, 169, 97, .045);
    }

    50% {
        transform: scale(1.045);
        box-shadow: 0 10px 27px rgba(10, 37, 64, .13), 0 0 18px rgba(201, 169, 97, .10), inset 0 0 0 4px rgba(201, 169, 97, .07);
    }
}


@keyframes luxurySpark {

    0%, 100% {
        transform: scale(.65);
        opacity: .35;
    }

    50% {
        transform: scale(1.35);
        opacity: 1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .store-empty-loader {
        width: 78px;
        height: 78px;
        margin-bottom: 21px;
    }

    .luxury-loader {
        width: 62px;
        height: 62px;
    }

    .luxury-loader-core {
        width: 43px;
        height: 43px;
    }

        .luxury-loader-core i {
            font-size: 17px;
        }
}

/* =========================================================
   TEXT
========================================================= */

.store-empty-content {
    max-width: 520px;
}

.store-empty-label {
    display: block;
    margin-bottom: 8px;
    color: #C9A961;
    font-size: 12px;
    font-weight: 800;
}

.store-empty-state h2 {
    margin: 0;
    color: #0A2540;
    font-size: 22px;
    line-height: 1.7;
    font-weight: 800;
}

.store-empty-state p {
    margin: 9px 0 0;
    color: #78838e;
    font-size: 13px;
    line-height: 2;
    font-weight: 500;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .store-empty-state {
        min-height: 280px;
        padding: 30px 16px;
        border-radius: 15px;
    }

    .store-empty-loader {
        width: 50px;
        height: 50px;
        margin-bottom: 19px;
    }

        .store-empty-loader span {
            width: 6px;
            height: 6px;
        }

    .store-empty-label {
        font-size: 11px;
    }

    .store-empty-state h2 {
        font-size: 18px;
        line-height: 1.7;
    }

    .store-empty-state p {
        font-size: 12px;
        line-height: 2;
        max-width: 330px;
    }
}


/* =====================================================
   ACTIVE FILTERS
===================================================== */

.active-filters-box {
    display: block;
    margin-bottom: 18px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e3e7ec;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(10, 37, 64, 0.05);
}


/* =====================================================
   HEADER
===================================================== */

.active-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}


    .active-filters-header strong {
        font-size: 14px;
        font-weight: 800;
        color: #0A2540;
    }


/* =====================================================
   CLEAR ALL
===================================================== */

.clear-all-filters {
    border: 0;
    background: transparent;
    padding: 0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    color: #9a6f20;
    cursor: pointer;
    transition: 0.2s ease;
}


    .clear-all-filters:hover {
        color: #0A2540;
    }


/* =====================================================
   FILTER TAGS
===================================================== */

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* =====================================================
   SINGLE FILTER
===================================================== */

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 5px 9px 5px 7px;
    background: #f5f7fa;
    border: 1px solid #dfe5eb;
    border-radius: 8px;
    color: #26384a;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    box-sizing: border-box;
}


/* =====================================================
   REMOVE BUTTON
===================================================== */

.active-filter-remove {
    width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 0;
    border-radius: 6px;
    background: #ffffff;
    color: #718096;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}


    .active-filter-remove:hover {
        background: #0A2540;
        color: #ffffff;
        transform: scale(1.05);
    }


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .active-filters-box {
        margin-bottom: 14px;
        padding: 14px;
        border-radius: 10px;
    }


    .active-filters-header {
        margin-bottom: 11px;
    }


        .active-filters-header strong {
            font-size: 13px;
        }


    .clear-all-filters {
        font-size: 11px;
    }


    .active-filter-tag {
        min-height: 30px;
        padding: 4px 8px 4px 6px;
        font-size: 11px;
    }


    .active-filter-remove {
        width: 20px;
        height: 20px;
    }
}

/* =====================================================
   SIDEBAR ACCORDION
===================================================== */

.sidebar-box {
    width: 100%;
}


/* عنوان */

.sidebar-title {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    color: #0A2540;
    transition: color 0.2s ease;
}


    .sidebar-title:hover {
        color: #C9A961;
    }


/* علامت + / - */

.sidebar-chevron {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe4ea;
    border-radius: 7px;
    background: #fff;
    color: #0A2540;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s ease;
}


.sidebar-title:hover .sidebar-chevron {
    border-color: #C9A961;
    color: #C9A961;
}


/* =====================================================
   COLLAPSIBLE CONTENT
===================================================== */

.sidebar-collapsible {
    overflow: hidden;
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.2s ease, margin-top 0.3s ease;
}


/* حالت بسته */

.sidebar-box:not(.sidebar-open)
.sidebar-collapsible {
    max-height: 0 !important;
    opacity: 0;
    margin-top: 0 !important;
}


/* حالت باز */

.sidebar-box.sidebar-open
.sidebar-collapsible {
    opacity: 1;
}


/* =====================================================
   CHEVRON
===================================================== */

.sidebar-box.sidebar-open
.sidebar-chevron {
    background: #0A2540;
    border-color: #0A2540;
    color: #fff;
}


/* =====================================================
   CATEGORY SPACING
===================================================== */

.sidebar-box.sidebar-open
.sidebar-options {
    margin-top: 14px;
}


.sidebar-box.sidebar-open
.sidebar-static-info {
    margin-top: 14px;
}

