/* ==================================================
   Global Reset & Base Styles
================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100%;
    font-family: IranSansX, serif;
    font-size: 13px;
    background-color: #fafafa;
    direction: rtl;
    text-align: right;
}

@media only screen and (max-width: 991px) {
    body {
        /*margin-top: 60px;*/
    }
}

.card {
    border-radius: var(--border-radius);
}


@media (min-width: 992px) {
    .right-sticky {
        position: sticky;
        top: 20px; /* فاصله از بالای صفحه هنگام ثابت شدن */
    }
}

/* ==================================================
   CSS Variables
================================================== */
:root {
    /* Typography */
    --text-color: #000000;
    --text-color-sub: #58667e;
    --text-color-error: #ea3943;
    --text-muted: #515760;
    --var-text-small: 14px;
    --text-size: 14px;
    /* Assumed for undefined --text-size */
    --text-medium: 16px;
    /* Assumed */
    --text-large: 18px;
    /* Assumed */
    --text-x-large: 20px;
    /* Assumed */
    --text-xxx-large: 24px;
    /* Assumed */
    --font-light-correct: 300;
    /* Assumed */
    --font-medium: 500;
    /* Assumed */
    --font-bolder: 700;
    /* Assumed */

    /* Theme Colors */
    --theme-color: #3861fb;
    --theme-light-color: #cfd6e4;
    --theme-light-blue-color: #e6f0ff;
    --theme-light-blue: #f0f6ff;
    --theme-light-blue-font: #3861fb;

    /* Status Colors */
    --up-color: #16c784;
    --down-color: #ea3943;

    /* Basic Colors */
    --color-black: #000000;
    --color-gray: #ececec;
    --color-lightGray: #f9f9f9;
    --color-silver: #C0C0C0;
    --color-chocolate: #D2691E;
    --color-blue: #0000FF;
    --color-steelBlue: #4682B4;
    --color-deepSkyBlue: #00BFFF;
    --color-turquoise: #40E0D0;
    --color-lightSeaGreen: #20B2AA;
    --color-green: #008000;
    --color-limeGreen: #32CD32;
    --color-gold: #FFD700;
    --color-orange: #FFA500;
    --color-tomato: #FF6347;
    --color-crimson: #DC143C;
    --color-salmon: #FA8072;
    --color-mistyRose: #FFE4E1;
    --color-platinum: #E5E4E2;

    /* Primary Palette */
    --color-primary-black: #000;
    --color-primary-white: #fff;
    --color-primary-blue: #3861fb;

    /* Neutral Grays */
    --gray-1: #343A40;
    --gray-2: #4C4C4C;
    --gray-3: #585858;
    --gray-5: #e5e5e5;
    --gray-6: #f7f7f7;

    /* Light Neutrals */
    --color-light-neutral-1: #f8fafd;
    --color-light-neutral-2: #eff2f5;
    --color-light-neutral-3: #cfd6e4;
    --color-light-neutral-4: #a6b0c3;
    --color-light-neutral-5: #808a9d;
    --color-light-neutral-6: #58667e;
    --color-light-neutral-7: #eff2f5;

    /* Backgrounds & Images */
    --bg-color: #fff;
    --bg-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
    --bg-image-1: url('/images/17580.jpg');
    --dark-bg: #000;
    --card-bg: #fff;
    --hover-bg: #f8f7fa;

    /* Box & Shadow */
    --box-shadow: 0px 0px 2px rgba(128, 138, 157, 0.12), 0px 0px 24px rgba(128, 138, 157, 0.14);
    --border-color: #eff2f5;
    --border-color-gray: #ececec;
    --button-border-color: #cfd6e4;
    --border-radius: 8px;
    /* Assumed for undefined --border-radius */
    --card-border: 1px solid #eff2f5;
    /* Assumed for undefined --card-border */
    --card-shadow-1: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Assumed for undefined --card-shadow-1 */
    --seperator-color: #ececec;
    /* Assumed for undefined --seperator-color */
    --color-gray-100: #f8f9fa;
    /* Assumed for undefined --color-gray-100 */
    --color-gray-200: #e9ecef;
    /* Assumed for undefined --color-gray-200 */
    --color-gray-300: #dee2e6;
    /* Assumed for undefined --color-gray-300 */
    --color-gray-400: #ced4da;
    /* Assumed for undefined --color-gray-400 */
    --color-gray-700: #495057;
    /* Assumed for undefined --color-gray-700 */
    --color-gray-800: #343a40;
    /* Assumed for undefined --color-gray-800 */
    --dark-red: #bb1818;
    /* Assumed for undefined --dark-red */

    /* Controls */
    --control-border-color: rgb(16, 17, 19);
    --control-background-color: #fff;
    --control-caret-color: #000;
    --control-dropdown-background-color: #eff2f5;
    --control-transition-duration: 0.3s;
    --control-transition-easing: ease;

    /* Misc */
    --info-icon-color: #a6b0c3;
    --bt-light-blue: #f0f6ff;
    --color-gradient-end: rgba(248, 250, 253, 0);
    --button-bg-color: #222531;
    --breakpoint-md: 768px;
}

/* ==================================================
   Component Colors: Profile Tabs / Items
================================================== */
/* Text Colors */
.color-basic {
    color: #e55353;
}

.color-services {
    color: #d4b500;
}

.color-addresses {
    color: #f2c94c;
}

.color-gallery {
    color: #4caf50;
}

.color-password {
    color: #2e7d32;
}

/* Background Colors */
.bg-basic {
    background-color: #e55353;
}

.bg-services {
    background-color: #d4b500;
}

.bg-addresses {
    background-color: #f2c94c;
}

.bg-gallery {
    background-color: #4caf50;
}

.bg-password {
    background-color: #2e7d32;
}

/* Hover Effects */
.bg-basic:hover {
    background-color: rgba(229, 83, 83, 0.85);
}

.bg-services:hover {
    background-color: rgba(212, 181, 0, 0.85);
}

.bg-addresses:hover {
    background-color: rgba(242, 201, 76, 0.85);
}

.bg-gallery:hover {
    background-color: rgba(76, 175, 80, 0.85);
}

.bg-password:hover {
    background-color: rgba(46, 125, 50, 0.85);
}

/* Sidebar Item Backgrounds */
.bg-profile {
    background-color: #d64545;
}

.bg-edit {
    background-color: #f2994a;
}

.bg-product {
    background-color: #f2c94c;
}

.bg-inventory {
    background-color: #c0ca33;
}

.bg-rfq {
    background-color: #7cb342;
}

.bg-chat {
    background-color: #388e3c;
}

.bg-notifications {
    background-color: #0288d1;
}

.bg-groups {
    background-color: #336699;
}

.bg-logout {
    background-color: #5a524f;
}

/* ==================================================
   Responsive Body Styles
================================================== */
@media only screen and (max-width: 991px) {
    body {
        padding-top: 60px;
        /*margin-top: 60px !important;*/
    }

    body.is_admin {
        /* For admin panel, uncomment if needed */
        /* margin-top: 90px !important; */
    }
}

/* ==================================================
   Gap Utilities (Bootstrap 4 Compatible)
================================================== */
.gap-0>*+* {
    margin: 0 !important;
}

.gap-1>*+* {
    margin-right: 4px !important;
}

.gap-2>*+* {
    margin-right: 8px !important;
}

.gap-3>*+* {
    margin-right: 16px !important;
}

.gap-4>*+* {
    margin-right: 24px !important;
}

.gap-5>*+* {
    margin-right: 48px !important;
}

.gap-x-0>*+* {
    margin-right: 0 !important;
}

.gap-x-1>*+* {
    margin-right: 4px !important;
}

.gap-x-2>*+* {
    margin-right: 8px !important;
}

.gap-x-3>*+* {
    margin-right: 16px !important;
}

.gap-x-4>*+* {
    margin-right: 24px !important;
}

.gap-x-5>*+* {
    margin-right: 48px !important;
}

.gap-y-0>*+* {
    margin-top: 0 !important;
}

.gap-y-1>*+* {
    margin-top: 4px !important;
}

.gap-y-2>*+* {
    margin-top: 8px !important;
}

.gap-y-3>*+* {
    margin-top: 16px !important;
}

.gap-y-4>*+* {
    margin-top: 24px !important;
}

.gap-y-5>*+* {
    margin-top: 48px !important;
}

/* ==================================================
   Badge Styles
================================================== */
.badge {
    font-weight: normal;
}

.badge-rounded {
    border-radius: 20px;
}

.badge-md {
    font-size: 13px;
    padding: 6px;
}

.badge-light {
    background-color: #efefef;
    border: 1px solid #dbdbdb;
}

.badge-danger-light {
    background-color: #ebced1;
    border: 1px solid #e99fa6;
}

.badge-outline-dark {
    color: #343a40;
    border: 1px solid var(--color-gray-300);
}

.badge-outline-danger {
    color: var(--dark-red);
    border: 1px solid #e99fa6;
}

.badge-level-1 {
    background-color: #dc3545;
    color: #fff;
}

.badge-level-2 {
    background-color: #fd7e14;
    color: #fff;
}

.badge-level-3 {
    background-color: #ffc107;
    color: #212529;
}

.badge-level-4 {
    background-color: #28a745;
    color: #fff;
}

.badge-level-5 {
    background-color: #20c997;
    color: #fff;
}

.circle-badge {
    width: 25px;
    height: 25px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    font-size: 16px;
    line-height: 29px;
}

/* ==================================================
   Icon Styles
================================================== */
.icon-button {
    color: var(--color-gray-700);
    margin-left: 5px;
    width: 30px;
    height: 30px;
    text-align: center;
    background-color: var(--color-gray-200);
    border-radius: 50%;
    font-size: 18px;
    border: 1px solid var(--color-gray-300);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}

.icon-button-social {
    border: unset;
}

.icon-button__icon {
    font-size: 20px;
    color: #333;
    transition: color 0.3s ease;
}

.icon-button:hover {
    background-color: #d0d0d0;
}

.icon-button--active {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.icon-button__number {
    color: #bb1919;
    font-weight: bold;
    font-size: 18px;
    font-style: normal;
}

/* 🌍 International Social Networks */
.icon-instagram {
    background-image: url("/images/icon/icon_instagram_x64.png");
}

.icon-telegram {
    background-image: url("/images/icon/icon_telegram_x64.png");
}

.icon-whatsapp {
    background-image: url("/images/icon/icon_whatsapp_x64.png");
}

.icon-linkedin {
    background-image: url("/images/icon/icon_linkedin_x64.png");
}

/* 🇮🇷 Iranian Social Networks */
.icon-eitaa {
    background-image: url("/images/icon/icon_eitaa_x64.png");
}

.icon-soroush {
    background-image: url("/images/icon/icon_soroush_x64.png");
}

.icon-rubika {
    background-image: url("/images/icon/icon_rubika_x64.png");
}

.icon-bale {
    background-image: url("/images/icon/icon_bale_x64.png");
}

.icon-gap {
    background-image: url("/images/icon/icon_gap_x64.png");
}




/* ==================================================
   Custom Inputs (Radio / Checkbox)
================================================== */
.custom-checkbox {
    width: 22px;
    height: 22px;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.custom-checkbox:hover {
    border-color: #0d6efd;
}

.custom-checkbox:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.custom-checkbox:checked::after {
    content: "✔";
    font-size: 18px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.custom-control-input:checked~.custom-control-label::before,
.custom-radio .custom-control-label::before {
    padding: 9px;
    border-radius: 50%;
    border: 1px solid #ccc;
    display: inline-block;
    outline: none;
    top: 0;
}

.custom-control-input:checked~.custom-control-label::before {
    background: url(../images/icon/check.svg) no-repeat center;
    background-size: cover;
    border-color: #4CAF50;
}

.custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-image: none;
}

/* ==================================================
   Button Styles
================================================== */
.btn {
    border-radius: 8px;
    box-shadow: none !important;
}

.btn-rounded {
    border-radius: 20px;
}

.btn-xs,
.btn-group-xs>.btn {
    padding: 2px 6px;
    font-size: 12px;
    line-height: 15px;
    border-radius: 6px;
}

.btn-red {
    color: #fff;
    background-color: var(--dark-red);
}

.btn-red:hover {
    color: #fff;
    font-weight: bold;
}

.btn-light-primary {
    color: #000a43;
    background-color: #77b9ff;
    border-color: #3596ff;
}

.btn-light-success {
    color: #0b5124;
    background-color: #bbdfb4;
    border: 1px solid #99bb92;
}

.btn-info-light {
    color: #000;
    background-color: #ade7f1;
    border-color: #93c3cb;
}

.btn-warning-light {
    background-color: #ffe494;
    border-color: #e5ba39;
}

.btn-gray-light {
    background-color: #f2f2f2;
    border: 1px solid #c5c5c5;
}

.btn-danger-light {
    color: #cb0000;
    background-color: #ab070714;
    border: 1px solid #c10303d1;
}

.btn-danger {
    background-color: #bb1818;
    border-color: #bb1818;
}

/* RTL Adjustments for Button Groups */
.rtl .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle),
[dir="rtl"] .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-radius: 0 8px 8px 0;
}

.rtl .btn-group>.btn:last-child:not(:first-child),
.rtl .btn-group>.dropdown-toggle:not(:first-child),
[dir="rtl"] .btn-group>.btn:last-child:not(:first-child),
[dir="rtl"] .btn-group>.dropdown-toggle:not(:first-child) {
    border-radius: 8px 0 0 8px;
}

/* ==================================================
   Site Header Styles
================================================== */
#main-header {
    font-size: 30px;
    /* border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    overflow: hidden;
        box-shadow: var(--box-shadow); */


}

.site-header {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-color: #243141;
    background-image: url("../images/header.jpg");
    background-size: cover;
}

.site-header__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.site-header__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.site-header__background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 9999vh;
    background-color: #272729;
    background-image: url("../images/pattern-7.svg");
    background-repeat: repeat;
    background-size: 440px;
    background-position: top;
    padding: 30px 0 60px 0;
}

.site-header__title h1 {
    font-size: var(--text-xxxx-large);
}

.site-header__title h1 {
    margin: 0;
}

/* Search Box */
.search-box {
    height: 45px;
    display: flex;
    align-items: center;
    position: relative;
    width: 500px;
}

.search-box__input {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background-color: rgba(255, 255, 255, 0.2);
    outline: 0;
    padding: 0 20px;
    font-size: var(--text-m-large);
    color: white;
    cursor: pointer;
    position: absolute;
}

.search-box__submit {
    position: absolute;
    top: 0px;
    left: 0;
    height: 100%;
    width: 53px;
    background: transparent;
    border: 0;
    color: white;
    font-size: 1.1em;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Header */
@media (max-width: 767px) {
    .site-header {
        height: auto;
        padding: 10px 0;
        background-image: unset;
        background-color: #fff;
        background-color: #fff;
        border: 1px solid var(--color-gray-200);
        border-radius: var(--border-radius);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        color: #000;
        margin-right: 10px;
        margin-left: 10px;
        margin-top: 10px;
    }

    .site-header h1 {
        font-size: 18px;
        color: #000;

    }

    .site-header__title {
        margin: 0 !important;
    }

    .search-box {
        height: 35px;
    }

    .search-box__input {
        color: black;
    }

    .search-box__submit {
        width: 30px;
        height: 30px;
        line-height: 30px;
        padding-top: 0;
        color: #52525b;
    }
}

/* ==================================================
   Site Content
================================================== */
#main-content {
    padding: 35px 0;
}

@media only screen and (max-width: 991px) {
    #main-content {
        padding: 15px 0;
    }
}

@media (max-width: 767px) {
    #main-content {}
}

/* ==================================================
   Navbar Styles
================================================== */
.navbar {
    background-color: #fff;
    font-family: IranSansX, serif;
    border-bottom: 1px solid var(--seperator-color);
    height: 60px;
    padding: 0 10px;
    position: relative;
    z-index: 100;
}

.navbar-nav {
    padding-right: 20px;
}

.navbar-main .nav-item {
    margin-left: 20px;
}

.navbar-main .nav-item .nav-link {
    font-size: var(--text-medium);
    font-weight: var(--font-light-correct);
    text-align: center;
    color: var(--color-gray-800);
    padding: 10px 1px;
}

.navbar-main .nav-item.active .nav-link {
    color: var(--dark-red);
    font-weight: var(--font-bolder);
}

.navbar-icon {
    margin: 0 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border: none;
    line-height: 18px;
}

.navbar-icon>i {
    display: inline-block;
    width: 30px;
    height: 30px;
}

.navbar-icon-text {
    color: #000;
    font-size: var(--text-small);
    margin: 0;
}

/* Icon Backgrounds */
.icon-menu {
    background: url("/images/icon/nav-open.svg") no-repeat 0 0;
}

.icon-login {
    background: url("/images/icon/nav-login.svg") no-repeat 0 0;
}

.icon-register {
    background: url("/images/icon/nav-register.svg") no-repeat 0 0;
}

.icon-logout {
    background: url("/images/icon/nav-exitt.svg") no-repeat 0 0;
}

.icon-profile {
    background: url("/images/icon/nav-register.svg") no-repeat 0 0;
}

.icon-search {
    background: url("/images/icon/icons-search.svg") no-repeat 0 0;
}

/* Dropdown & Sub-Menus */
.dropdown-menu {
    background-color: #fff;
    border-radius: var(--border-radius);
    border: var(--card-border);
    font-size: var(--text-medium);
    font-weight: var(--font-light-correct);
    color: var(--color-gray-800);
    padding: 0;
    box-shadow: var(--box-shadow);
}

.dropdown-item {
    padding: 10px 15px;
    display: block;
    position: relative;
}

.dropdown-menu .dropdown-item:first-child {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.dropdown-menu .dropdown-item:last-child {
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.dropdown-divider {
    margin: 0;
}

.navbar-child,
.navbar-children {
    position: absolute;
    right: 100%;
    top: 0;
    background-color: #fff;
    border-radius: var(--border-radius);
    border: var(--card-border);
    font-size: var(--text-medium);
    font-weight: var(--font-light-correct);
    color: var(--color-gray-800);
    padding: 0;
    list-style: none;
    display: none;
    width: 230px;
}

.navbar-child .nav-item,
.navbar-children .nav-item {
    display: block;
    padding: 10px 15px;
    color: #212529;
    text-align: left;
    background-color: transparent;
    border: none;
}

.navbar-child .nav-item .nav-link {
    text-align: start;
}

.dropdown-item:hover .navbar-children {
    display: block;
}

.dropdown-search .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    /* min-width: 100%; */
    position: fixed;
    top: 54px;
    padding: 4px;
}

/* Mobile Navbar */
@media (max-width: 991px) {
    .navbar {
        padding: 5px;
        position: fixed;
        top: 0;
        width: 100%;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        background-color: #fff;
        height: 100%;
        width: 50%;
        z-index: 10000000;
    }

    body.inactive::after {
        content: '';
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: #000;
        opacity: 0.7;
        z-index: 99;
    }

    .navbar-nav {
        padding: 0;
    }

    .navbar-main .nav-item {
        margin-left: 0 !important;
        border-bottom: 1px solid var(--seperator-color);
    }

    .navbar-main .nav-item .nav-link {
        text-align: right;
        color: #000;
        padding: 15px 20px;
    }

    #navbarContent .dropdown-menu {
        background-color: var(--color-gray-100);
        border: none;
        border-radius: 0;
    }

    .navbar-mobile-top {
        width: 100%;
        height: 120px;
        background-color: var(--color-gray-100);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 30px;
    }
}

/* User Dropdown */
#user-dropdown {
    border: var(--card-border);
    border-radius: 10px;
    padding: 5px;
    cursor: pointer;
}

#user-dropdown #dropdownMenuButton {
    display: flex;
    align-items: center;
}

#user-dropdown .dropdown-menu {
    left: 0 !important;
    right: unset !important;
}

@media (max-width: 991px) {
    #user-dropdown {
        border: none;
        padding: 0;
        cursor: pointer;
    }

    #user-dropdown #dropdownMenuButton label {
        display: none;
    }

    #user-dropdown .dropdown-toggle::after {
        display: none !important;
    }

    .dropdown-menu {
        border: none;
    }
}

/* ==================================================
   custom nav Styles
================================================== */

.custom-nav-tabs {
    border-bottom: 2px solid #e5e7eb; 
    display: flex;
    flex-wrap: nowrap; 
    gap: 0.5rem; 
}

.custom-nav-tabs .nav-item {
    flex-shrink: 0; 
}

.custom-nav-tabs .nav-link {
    color: #555;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.25s ease;
    border-radius: 0;
    white-space: nowrap;
}

.custom-nav-tabs .nav-link:hover {
    color: #0d6efd;
    background-color: #f8f9fa;
}

.custom-nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background-color: transparent;
}

@media (max-width: 991.98px) {
    .custom-nav-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .custom-nav-tabs::-webkit-scrollbar {
        height: 6px;
    }

    .custom-nav-tabs::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }
}


/* ==================================================
   Modal Component Styles
================================================== */
.modal {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 900;
}

.modal .modal-content,
.modal-loading .modal-content {
    border-radius: var(--border-radius);
}

.modal-header h3 {
    font-size: 20px;
}

.modal-footer__button {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.modal-body {
    max-height: 550px;
    height: auto;
    overflow: auto;
    padding: 0;
    text-align: right;
}

.modal-dialog {
    max-width: 550px;
}

.modal-type ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.modal-type ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    flex-grow: 1;
    flex-shrink: 0;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-type ul li:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 12px 0 hsla(0, 0%, 71%, 0.51);
}

.modal-type li.active {
    background-color: var(--color-mistyRose);
}

.modal-type li .icon {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-repeat: no-repeat;
}

.modal-type li .service-icon {
    background-image: url(./../images/customer-support.png);
}

.modal-type li .product-icon {
    background-image: url(./../images/shopping-cart.png);
}

.modal-form-title {
    text-align: justify;
    line-height: 1.5;
}

.modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 910;
}

.modal-loading .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {
    .modal-loading {
        display: block;
    }

    .modal-fullscreen .modal-dialog {
        max-width: 100%;
        max-height: 100vh;
        height: 100%;
        margin: 0;
    }

    .modal-fullscreen .modal-content {
        height: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
    }

    .modal-fullscreen .modal-header {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 60px;
        z-index: 1500;
        display: flex;
        background-color: #fff;
    }

    .modal-fullscreen .modal-body {
        margin-top: 60px;
        max-height: 100vh;
        overflow-y: auto;
    }
}

/* ==================================================
   Category Cards Styles
================================================== */
.category-cards {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.category-cards:last-child {
    border-bottom: none;
}

.category-cards .items {
    display: flex;
    flex-wrap: wrap;
}

.category-cards .title {
    font-size: var(--text-x-large);
}

.category-cards .item-label {
    line-height: 18px;
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc((100% - 30px) / 5);
    padding: 5px;
    margin: 3px;
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    cursor: pointer;
}

.category-card .input {
    -webkit-appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    outline: none;
    cursor: pointer;
}

.category-card input[type="checkbox"],
.category-card input[type="radio"] {
    border: none;
}

.category-card input[type="checkbox"]:checked,
.category-card input[type="radio"]:checked {
    background: none;
    border: none;
}

.category-card .img {
    width: 80px;
    height: 80px;
    margin-bottom: 3px;
    border-radius: 50%;
    background-color: var(--color-gray-100);
    background-size: cover;
    background-repeat: no-repeat;
    border: 2px solid var(--color-gray-200);
    flex-shrink: 0;
    transition: all 0.2s;
}

.category-card .label {
    margin-top: 5px;
    font-size: 13px;
    line-height: 15px;
    height: 55px;
    color: var(--color-black);
    overflow: hidden;
}

.category-card.active .img {
    border-color: #bb1919;
    background-color: var(--color-mistyRose);
}

.category-card.active .item-label {
    color: #bb1919;
    font-weight: bold;
}

@media (max-width: 767px) {
    .category-card {
        width: calc((100% - 24px) / 4);
    }
}

/* ==================================================
   Attachment Component - Unified for Blade & Vue
================================================== */
.attachments {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
}

.attachment {
    padding: 5px;
}

.attachment__box {
    position: relative;
}


.attachment__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--seperator-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-align: center;
    color: #000;
}

/* Icons */
.attachment__icons {
    position: absolute;
    top: 5px;
    left: 5px;
    display: flex;
    gap: 4px;
}

.attachment__icon {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
    z-index: 1;
}

.attachment__icon i {
    margin: 0;
    padding: 0;
}

.attachment__preview,
.attachment__link,
.document-preview {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--border-radius);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    position: relative;
    transition: transform 0.2s ease;
}

.attachment__link:hover {
    transform: scale(1.01);
}

.document-preview {
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 65%;
}

.document-preview .document-icon {
    font-size: 1.5rem;
    color: #666;
}

/* Icon backgrounds by file type (example icons) */
.attachment__link.icon-pdf {
    background-image: url('/images/icons/pdf-icon.png');
}

.attachment__link.icon-docx {
    background-image: url('/images/icons/docx-icon.png');
}

.attachment__info {
    font-size: 11px;
    color: #333;
    padding: 0 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.attachment__info .filename {
    margin-top: 5px;
    font-weight: bold;
}

.attachment__info .filesize {
    font-size: 10px;
    color: #666;
}

.attachment-image {
    flex: 1;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.attachment-image .image,
.attachment-image .document {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.attachment-image .document {
    width: 70%;
    height: 70%;
    margin: auto;
}

/* ==================================================
   Image Popup Modal Styles
================================================== */
.image-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.image-popup {
    position: relative;
    background: #fff;
    padding: 5px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.image-popup img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 25px;
    height: 25px;
    background: #ffffffc2;
    border: none;
    font-size: 23px;
    line-height: 29px;
    color: #ff0000;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    z-index: 1100;
}

/* ==================================================
   Form Control Styles
================================================== */
.form-control {
    border-radius: 8px;
    border: 1px solid #d5dae0;
    font-size: 16px;
    text-align: right;
}

.additive-field {
    position: relative;
}

.additive-field i {
    position: absolute;
    left: 7px;
    font-size: 18px;
    cursor: pointer;
}

/* ==================================================
   Profile Card Component
================================================== */
.profile-card {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border: var(--card-border);
    border-radius: var(--border-radius);
}

.profile-card__icons {
    width: 40px;
    height: auto;
    padding: 5px 0;
    flex-shrink: 0;
    background-image: url(./../images/17580.jpg);
    background-position: center;
    background-size: cover;
    border-left: 1px solid #dedede;
}

.profile-card__icon-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-card__icon-list li {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.profile-card__icon-list li i {
    font-size: 14px;
    margin: 0;
    padding: 0;
    color: #fff;
}

.profile-card__main {
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-card__content {
    min-height: 140px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.profile-card__col {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.profile-card__col:first-child {
    border-right: none;
}

/* Horizontal Variant */
.card-h.profile-card {
    flex-direction: column;
}

.card-h .profile-card__icons {
    width: auto;
    height: 45px;
    border-left: none;
    border-top: 1px solid #dedede;
}

.card-h .profile-card__icons .icon {
    flex-direction: row;
}

.card-h .profile-card__main {
    width: 100%;
}

/* ==================================================
   Profile Box Styles
================================================== */
.profile-box {
    background-size: cover;
    /* background-position: center; */
    border-radius: var(--border-radius);
    /* background : url('/images/3315597.jpg'); */
    overflow: hidden;
    border: var(--card-border);
    background: -webkit-linear-gradient(45deg, #2f3946, #527cbe);
    background: linear-gradient(45deg, #2f3946, #527cbe);
}

.profile-box__header {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-size: cover;
}

.profile-box__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #ddd;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.profile-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-box__content {
    margin-top: 8px;
    text-align: center;
}

.profile-box__name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
}

.profile-box__subtitle {
    font-size: 13px;
    color: #fff !important;
    margin-top: 4px;
}

.profile-box__score {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #000;
}

.profile-box__tabs {
    background-color: #172937;
    display: flex;
    border-top: 1px solid #4a4a4a;
}

.profile-box__tab {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    height: 45px;
    border-left: 1px solid #4a4a4a;
}

.profile-box__tab:first-child {
    border-left: none;
}

.profile-logo-wrapper {
    position: relative;
    display: inline-block;
}

.profile-logo-wrapper .edit-icon {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: #ffc107;
    color: #000000;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    border: 2px solid #fff;
}

.profile-logo-wrapper .edit-icon:hover {
    background-color: #e0a800;
}

/* ==================================================
   RFQ (Request for Quotation) Card Styles
================================================== */
.rfq-cards {
    padding: 10px;
}

.rfq-card {
    display: flex;
    position: relative;
    border: var(--card-border);
    border-radius: var(--border-radius);
    background-color: #fff;
}

.rfq-card.expired {
    background-color: var(--color-mistyRose);
    border-color: #ffcdcd;
}

.rfq-form .rfq-card {
    background-color: var(--color-gray-100);
}

.ffq-card-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rfq-card-content {
    padding: 20px;
    overflow: hidden;
}

.rfq-card-header,
.rfq-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.rfq-card-header {
    border-bottom: 1px solid var(--seperator-color);
}

.rfq-card-footer {
    border-top: 1px solid var(--seperator-color);
}

.rfq-card .title {
    font-size: var(--text-large);
    font-weight: var(--font-medium);
    margin-bottom: 20px;
}

.rfq-card .description .value {
    font-size: var(--text-size);
    line-height: 28px;
}

.rfq-card .date {
    font-size: var(--text-small);
    color: var(--green);
    flex-shrink: 0;
}

.rfq-add.float-btn {
    position: fixed;
    bottom: 65px;
    left: 10px;
    z-index: 2;
}

.rfq-add.float-btn img {
    width: 50px;
    border-radius: 50%;
    box-shadow: var(--card-shadow-1);
}

/* ==================================================
   Product Table Styles
================================================== */
.product-table .table thead th {
    border: 0;
    font-size: 13px;
    font-weight: 500;
    padding: 10px;
}

.product-table .table thead th:last-child {
    min-width: 150px;
}

.product-table td {
    font-size: 13px;
}

.product-table tr {
    position: relative;
}

.product-table .table td .title {
    color: #000;
    font-size: 16px;
}

/* ==================================================
   Product Section Styles
================================================== */
.product-section {
    background-color: #fff;
}

.product-section .logo {
    width: auto;
    height: 110px;
    margin: auto;
    text-align: center;
}

.product-section .logo img {
    height: 100%;
}

.product-section .title {
    font-size: 22px;
    text-align: center;
    padding: 10px;
    margin: 0;
}

.product-section .price {
    text-align: center;
    font-size: 20px;
}

/* ==================================================
   Product Card Styles
================================================== */
/* General Styles for Product Card */
.product-card {
    background-color: #fff;
    border-bottom: var(--card-border);
    display: flex;
    padding: 10px;
}

/* Image Section */
.product-card__image {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 1px solid #eee;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    display: inline-block;
    margin-left: 5px;
}

/* Body Section */
.product-card__body {
    padding: 1rem 1.2rem;
}

.product-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.25rem;
}

.product-card__subtitle {
    font-size: 0.9rem;
    color: #6c757d;
}

.product-card__date {
    font-size: 0.85rem;
    color: #28a745;
    margin-top: 0.5rem;
}

/* Price Section */
.product-card__prices {
    padding: 1rem;
    border-left: 1px solid #f1f1f1;
}

.product-price {
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
}

.product-price__min {
    color: #dc3545;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-price__max {
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Button */
.product-card .btn {
    border-radius: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.product-card .btn:hover {
    transform: scale(1.03);
}

/* Product List */
.product-list {
    display: flex;
    flex-direction: column;
}

/* Product Card Details */
.product-card__details {
    flex: 1;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card__subtitle {
    margin-bottom: 0.5rem;
}

/* Actions Section (Prices & Button) */
.product-card__actions {
    flex: 0 0 220px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 767px) {
    .product-card__image {
        display: none;
    }

    .product-card__actions {
        flex: unset;

    }

}


/* ==================================================
   Product Prices Badge Styles
================================================== */
.product-prices {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.product-prices .price {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    min-width: 50px;
    padding: 0 5px;
    border-radius: 20px;
    color: #28a745;
}

.product-prices .price.price-min {
    color: #288053;
}

.product-prices .price.price-max {
    color: #921b26;
}

/* ==================================================
   Seller Box Styles
================================================== */
.seller-element {
    background-color: #fff;
    padding: 15px 0;
    display: flex;
    flex-direction: row;
}

.seller-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 1px solid var(--seperator-color);
    padding: 0 10px;
    width: 120px;
    flex-shrink: 0;
}

.seller-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 0;
}

.seller-name {
    line-height: 18px;
}

.seller-name .name {
    font-size: 14px;
    margin: 0 0 3px;
    text-align: center;
    color: #000;
}

.seller-name .additional_name {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

.seller-content {
    flex-grow: 1;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ==================================================
   Purchase Info Styles
================================================== */
.seller-element .purchase-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.purchase-price {
    font-size: 20px;
    font-weight: 700;
    color: #d73948;
    line-height: 15px;
}

.purchase-price.notValid {
    color: var(--color-gray-400);
}

.purchase-price-date {
    font-size: 11px;
    color: #28a745;
}

/* ==================================================
   Action Button Positioning
================================================== */
.product-more {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* ==================================================
   Floating Button Styles
================================================== */
@media (max-width: 767px) {
    .float-btn {
        position: fixed;
        bottom: 65px;
        left: 10px;
        z-index: 2;
        border-radius: 50% !important;
        width: 50px;
        height: 50px;
        background-color: unset;
        border: 0;
        box-shadow: unset;
    }

    .float-btn span {
        display: none;
    }

    .float-btn i {
        font-size: 47px;
        position: absolute;
        left: 0;
        top: 7px;
        color: #0b5124;
    }
}

/* ==================================================
   Spinner Styles
================================================== */
.spinner-border {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
}

/* ==================================================
   Responsive Product & Seller Styles
================================================== */
@media (max-width: 767px) {
    .product-section {
        margin-top: 10px;
    }

    .seller-info {
        width: 100px;
    }

    .seller-name {
        line-height: 12px;
    }

    .product-title {
        font-size: 14px;
    }

    .purchase-price {
        font-size: 16px !important;
    }
}

/* ==================================================
   Filter Panel Styles
================================================== */
.filter-panel {}

.filter-panel__section {
    margin-bottom: 15px;
}

.filter-panel__group {
    padding: 15px;
    border-top: 1px solid var(--color-gray-100);
}

.filter-panel__group:first-child {
    border-top: none;
}

.filter__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.filter-panel__list {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.filter-panel__item {
    margin-bottom: 8px;
}

.filter-panel__link {
    width: 100%;
    display: flex;
    border: 1px solid var(--color-gray-200);
    background-color: #fff;
    border-radius: var(--border-radius);
    justify-content: center;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.filter-panel__link:hover {
    background-color: #e2e8f0;
}

.filter-panel__link.is-active {
    border-color: var(--dark-red);
}

.filter-panel__link.is-active .filter-panel__text {
    color: var(--dark-red);
    font-weight: bold;
}

.filter-panel__icon {
    width: 50px;
    object-fit: contain;
    margin-bottom: 5px;
}

.filter-panel__text {
    font-size: 14px;
    color: #000;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================================================
   Filter Panel Modifiers
================================================== */
.filter-panel__group--icon-button .filter-panel__item {
    width: calc(100% / 3);
    padding: 5px;
}

.filter-panel__group--icon-button .filter-panel__link {
    flex-direction: column;
    height: 85px;
    padding: 5px;
}

.filter-panel__group--icon-button .filter-panel__text {
    width: 100%;
    font-size: 12px;
}

.filter-panel__group--button .filter-panel__item {
    flex-grow: 1;
    margin-left: 8px;
}

/* ==================================================
   Filter Form Styles
================================================== */
.filter-form {}

.filter-form__group {
    padding: 15px;
    border-top: 1px solid var(--color-gray-100);
}

.filter-form__content .filter-form__group:first-child {
    border-top: none;
}

.filter-form__header {
    display: none;
}

.filter-form__controls {
    display: flex;
    flex-direction: column;
    max-height: 175px;
    overflow-y: auto;
}

.filter-form__option {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.filter-form__option input[type="radio"] {
    -webkit-appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: grid;
    place-content: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.filter-form__option input[type="radio"]::before {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease-in-out;
    background-color: #0d6efd;
}

.filter-form__option input[type="radio"]:checked::before {
    transform: scale(1);
}

.filter-form__option input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.3);
    border-color: #0d6efd;
}

.filter-form__option label {
    margin-inline-start: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.filter-form__select,
.filter-form__input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 0.875rem;
}

.filter-form__footer {
    padding: 20px;
}

/* ==================================================
   Widget Styles
================================================== */
.flt-widget {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.flt-widget-mobile {
    max-width: 100%;
}

.flt-header {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flt-count {
    display: flex;
    align-items: center;
}

.flt-label {
    margin-left: 5px;
    font-weight: 500;
}

.flt-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    transition: transform 0.2s ease;
}

.flt-badge-info {
    background-color: #17a2b8;
}

.flt-badge-info:hover {
    transform: scale(1.05);
}

.flt-btn {
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    padding: 4px 8px;
    border: 1px solid #dc3545;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.flt-btn:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.flt-btn-text {
    margin-left: 5px;
}

.flt-body {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.flt-applied-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.flt-remove {
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.flt-remove:hover {
    color: #e74c3c;
}

.flt-applied-filters {
    display: flex;
    flex-wrap: wrap;
}

.flt-applied-badge {
    display: inline-block;
    background-color: #00b894;
    color: #fff;
    font-weight: 500;
    font-size: 11px;
    padding: 3px 5px;
    border-radius: 20px;
    margin-left: 5px;
    margin-bottom: 5px;
    cursor: default;
}

/* ==================================================
   Responsive Styles
================================================== */
@media (max-width: 767.98px) {
    .filter-panel__group--icon-button .filter-panel__link {
        height: 70px;
    }

    .filter-panel__icon {
        width: 35px;
    }

    .filter-panel__group {
        margin-bottom: 0;
        padding: 10px;
    }

    .filter-panel__group .filter__title {
        display: none;
    }

    .filter-panel__list {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .filter-panel__list::-webkit-scrollbar {
        display: none;
    }

    .filter-panel__item {
        flex: 0 0 auto;
    }

    .filter-panel__group--icon-button .filter-panel__item {
        width: calc(100% / 5);
        padding: 0 3px;
    }

    .filter-form--desktop {
        display: none;
    }

    .filter-form {
        padding: 0;
        position: fixed;
        z-index: 999;
        top: 0;
        height: 100%;
        background-color: whitesmoke;
        right: -100%;
        width: 100%;
        overflow-y: auto;
        direction: rtl;
    }

    .flt-widget {
        padding: 12px 15px;
    }

    .flt-header {
        font-size: 15px;
    }

    .flt-applied-badge {
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media (min-width: 768px) {
    .filter-form--mobile-trigger {
        display: none;
    }
}

@media only screen and (max-width: 991px) {
    .filter-form {
        padding: 0;
        border-radius: 0;
        padding: 15px;
    }

    .filter-form__footer {
        position: absolute;
        bottom: 0;
        width: 100%;
    }
}


/* ==================================================
   Navigation menu
================================================== */
.nav-menu {
    list-style: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.nav-menu .items {
    background-color: #fff;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nav-menu .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--seperator-color);
    padding: 15px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-menu .item:last-child {
    border-bottom: none;
}

.nav-menu .item-content {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-menu .item-content i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    transition: background-color 0.3s ease, filter 0.3s ease;
}

.nav-menu .item-content .arrow-icon {
    color: #dadada;

}

.nav-menu .title {
    font-weight: 400;
    font-size: var(--text-size);
    margin-right: 10px;
    flex-grow: 1;
}

.nav-menu .router-link-active .title {
    color: var(--dark-red);
    font-weight: 600;
}

.nav-menu .router-link-active .fa-chevron-left {
    color: var(--dark-red);
}

.nav-menu .item:hover {
    background-color: var(--theme-light-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-menu .item:hover .item-content i {
    filter: brightness(110%);
}

@media (max-width: 480px) {

    .nav-menu .items {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-menu .item {
        padding: 12px 5px;
    }

    .nav-menu .item-content i {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 5px;
    }

    .nav-menu .title {
        font-size: 12px;
        margin: 0;
        text-align: center;
    }

    .nav-menu .item-content {
        flex-direction: column;
    }

    .nav-menu .item-content .arrow-icon {
        display: none;
    }
}


/* ==================================================
   Profile Field
================================================== */
.profile-field {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    margin-bottom: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.profile-field__info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.profile-field__icon {
    color: #597db7;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    text-align: center;
    background-color: #e2f5ff;
    border-radius: 50%;
    font-size: 18px;
    border: 1px solid #6e94cf;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}

.profile-field__icon-number {
    color: #bb1919;
    font-weight: bold;
    font-size: 18px;
    font-style: normal;
}

.profile-field__label {
    color: var(--text-muted, #6c757d);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.profile-field__value {
    font-size: 1rem;
    color: var(--text-color, #333);
    word-break: break-word;
    margin: 0;
    display: flex;
    flex-direction: row;
}


.profile-field--full {
    flex: 1 1 100%;
}

.profile-field__value a {
    color: var(--primary-color, #007bff);
    text-decoration: none;
    transition: color 0.2s ease;
}



/* ==================================================
   Responsive
================================================== */
@media (min-width: 768px) {
    .profile-field {
        flex-direction: row;
        /* align-items: baseline; */
        gap: 0.5rem;
    }

}

/* ==================================================
    Breadcrumb field
================================================== */
.breadcrumb {
    margin-bottom: 0 !important;
    border-bottom: 1px solid var(--seperator-color);
}

.breadcrumb::-webkit-scrollbar {
    display: none;
}

@media (max-width: 767px) {
    .breadcrumb {
        max-width: 100%;
        display: flex;
        overflow: auto;
        flex-wrap: nowrap;
    }

    .breadcrumb-item {
        font-size: 12px;
        flex-shrink: 0;
        /*flex-grow: 1;*/
    }
}


/* ==================================================
    Supplier Card
================================================== */

.supplier-card {
    margin-bottom: 20px;
    padding: 0 10px;
    overflow: hidden;
}

.supplier-card_info {
    padding: 15px;
}

.supplier-card_contact {
    display: flex;
    justify-content: center;
    background-color: #fcfcfc;
    border-left: 1px solid #f1f1f1;
    background-image: url("./../images/pt-back.jpg");
    background-size: cover;
    background-position: center bottom;
}

.service-list .supplier-card_info {
    background-image: url("./../images/service.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
}

.supplier-logo {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.supplier-card .logo {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ddd;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    background-color: #ccc;
}

.supplier-card h3 {
    margin-bottom: 3px;
}

.supplier-card h3 a {
    font-size: 20px;
    color: #000;
}

.supplier_add_name {
    font-size: 13px;
    color: #888;
    font-weight: 300;
}

.premium_profile {
    position: absolute;
    display: inline-block;
    width: 50px;
    height: 70px;
    background-image: url(./../images/premium-badge.png);
    top: 0;
    left: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}

@media only screen and (max-width: 767px) {

    .supplier-card_contact {
        padding: 10px;
        border-left: unset;
        border-bottom: 1px solid #f1f1f1;
        justify-content: space-between;
    }

    .premium_profile {
        width: 37px;
        height: 52px;
        left: 0;
    }

    .supplier-card .logo {
        height: 77px;
        width: 77px;
    }
}

/* ================================
   Footer Main Container
================================== */
.site-footer {
    position: relative;
    overflow: hidden;
    background-color: var(--color-gray-100);
    color: var(--text-gray);
    font-size: 14px;
    line-height: 29px;
}

/* ===================================
   Footer – Base
=================================== */
.site-footer {
    background-color: var(--color-gray-100);
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    position: relative;
    overflow: hidden;
}

/* ===================================
   Footer Links
=================================== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    display: block;
    margin-bottom: 8px;
    transition: transform 0.2s ease;
}

.footer-links li:hover {
    transform: translateX(-3px);
}

.footer-links li i {
    margin-left: 8px;
    color: var(--primary-color, #777);
    transition: color 0.2s ease;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--primary-color, #e63946);
    /* رنگ اصلی سایت */
    text-decoration: underline;
}

.footer-links.inline li {
    display: inline-block;
    margin-left: 12px;
}

/* ===================================
   Social Icons
=================================== */
.site-footer .social-icons {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icons li {
    display: inline-block;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 18px;
    color: var(--text-gray);
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color, #e63946);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* اگر از تصاویر به جای فونت استفاده شود */
.social-icons .telegram {
    background-image: url("../images/icon/telegram.png");
}

.social-icons .twitter {
    background-image: url("../images/icon/twitter.png");
}

.social-icons .linkedin {
    background-image: url("../images/icon/linkdin.png");
}

.social-icons .aparat {
    background-image: url("../images/icon/aparat.png");
}

.social-icons .google {
    background-image: url("../images/icon/google.png");
}

.social-icons .instagram {
    background-image: url("../images/icon/instagram.png");
}

.social-icons li a[class*="telegram"],
.social-icons li a[class*="twitter"],
.social-icons li a[class*="linkedin"],
.social-icons li a[class*="aparat"],
.social-icons li a[class*="google"],
.social-icons li a[class*="instagram"] {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}

/* ===================================
   Footer Content
=================================== */
.site-footer_content {
    position: relative;
    padding: 90px 0 40px;
}

.site-footer_nemad {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.site-footer_nemad img {
    width: 80%;
    max-width: 140px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.site-footer_nemad img:hover {
    transform: scale(1.05);
}

/* ===================================
   Jump to Top Button
=================================== */
.site-footer_jump {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 15px 0;
    font-size: 20px;
    background-color: #f8f8f8;
    border-top: 1px solid var(--seperator-color);
    border-bottom: 1px solid var(--seperator-color);
    text-align: center;
}

.site-footer_jump button {
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-gray);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease;
}

.site-footer_jump button:hover {
    color: var(--primary-color, #e63946);
}

/* ===================================
   Responsive
=================================== */
@media (max-width: 991px) {
    .site-footer_content {
        padding-top: 70px;
    }

    .site-footer .social-icons {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .footer-links li {
        margin-bottom: 4px;
    }

    .site-footer_jump {
        padding: 8px 0;
    }

    .site-footer .copyright-text,
    .site-footer .social-icons {
        text-align: center;
    }
}





.blur-4 {
    filter: blur(4px);
}


/* ===== Brand Products Grid (BEM Cleaned & Optimized) ===== */
.brand-products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(155px, 22vw), 1fr));
    gap: 12px;
}

/* ----- Card ----- */
.brand-products__card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.brand-products__card:hover {
    transform: translateY(-4px);
}

/* ----- Image Wrapper (Background Image) ----- */
.brand-products__image-wrapper {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

/* ----- Overlay Effect ----- */
.brand-products__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 80%);
    transition: opacity 0.3s ease;
}

.brand-products__card:hover::after {
    opacity: 0.5;
}

/* ----- Product Name ----- */
.brand-products__name {
    position: absolute;
    z-index: 2;
    top: 70%;
    right: 5px;
    color: #fff;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    padding: 5px;
    margin: 0;
    line-height: 22px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {

    .brand-products__grid {
        gap: 8px;
    }

    .brand-products__card {
        border-radius: 10px;
    }
}

@media (max-width: 767px) {
    .brand-products__name {
        font-size: 12px;
        top: 55%;
    }

    .brand-products__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


#profile-basic .card{
background-image: url(./../images/service.jpg);
    background-repeat: no-repeat;
    background-position: left bottom;
        background-size: 300px;
        min-height: 200px;

}

#profile-social .card{
        /* background-image: url(./../images/profile-social.webp);
    background-repeat: no-repeat;
    background-position: left bottom;
        background-size: 300px; */
        min-height: 200px;

}

#profile-addresses .card{
        /* background-image: url(./../images/profile-addresses.webp);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 300px; */
        min-height: 200px;
}


#profile-gallery .card{
    /* background-image: url(./../images/profile-gallery.webp);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 300px; */
        min-height: 200px;
}


#profile-services .card{
    /* background-image: url(./../images/service.jpg);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 300px; */
        min-height: 200px;
} 

.contact-alert-wrapper {
    position: relative;
}

/* محو کردن محتوا پشت alert */
.blur-on-alert {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}

/* استایل جذاب alert */
.alert-custom {
    position: absolute;
    top: 50%;
    left: 50%;

    text-align: center;
    width: auto;
    max-width: 90%;
    z-index: 10;

}

.alert-custom .alert-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #856404;
}

.alert-custom a.alert-link {
    color: #856404;
    font-weight: bold;
    text-decoration: underline;
}

.alert {
    border-radius: 1rem;
    color: #212529;

}

.alert-warning {
    transform: translate(-50%, -50%);
    background-color: #fff8c4;
    border: 1px solid #f2c779;
}