﻿@font-face {
    font-family: IranSans;
    src: url("../fonts/IranSans/woff2/IRANSansXFaNum-Regular.woff2"), url("../fonts/IranSans/woff2/IRANSansXFaNum-Medium.woff2"), url("../fonts/IranSans/woff2/IRANSansXFaNum-Bold.woff2");
}

body {
    font-family: IranSans, sans-serif !important;
}



:root,
[data-bs-theme=light] {
    /* ================= PRIMARY & SECONDARY ================= */

    --cz-primary: #DC0032 !important;     /* Primary = اصلی */
    --cz-secondary: #041F4A !important;   /* Secondary = دوم */

    --cz-success: #33b36b !important;
    --cz-info: #2f6ed5 !important;
    --cz-warning: #fc9231 !important;
    --cz-danger: #DC0032 !important;
    --cz-danger-rgb: 220, 0, 50 !important;
    --cz-btn-active-bg: #DC0032; !important;
    --cz-btn-active-color: #fff; !important;

    --cz-light: #fff !important;
    --cz-dark: #222934 !important;
    --cz-gray: #B1B1B1CC !important;
    --cz-dark-success: #00771A !important;
    
    --cz-primary-rgb: 220, 0, 50 !important;
    --cz-secondary-rgb: 4, 31, 74 !important;

    --cz-primary-text-emphasis: #DC0032 !important;
    --cz-secondary-text-emphasis: #041F4A !important;

    --cz-primary-bg-subtle: #fff3e2 !important;
    --cz-primary-border-subtle: #ffe0b8 !important;

    --cz-secondary-bg-subtle: #ebe6ff !important;
    --cz-secondary-border-subtle: #d8d4ff !important;
    
    --cz-muted-bg-subtle: #F5F7FA !important;
    
    --cz-link-color: #041F4A !important;
    --cz-link-hover-color: #041F4A !important;

    --cz-emphasis-color: #041F4A !important;
    --cz-secondary-color: #041F4A !important;

    --cz-tertiary-color: #041F4A !important;
    --cz-tertiary-bg: #ffe3c2 !important;

    --cz-highlight-color: #041F4A !important;
    --cz-highlight-bg: #ffe8cc !important;

    --cz-danger-bg-subtle: rgba(240, 61, 61, 0.47) !important;

    --cz-pagination-active-color :#fff !important;
    --cz-pagination-active-bg :#041F4A !important;
}



/* ========================= DARK MODE ========================= */

[data-bs-theme=dark] {
    color-scheme: dark !important;

    --cz-emphasis-color: #DC0032 !important;
    --cz-secondary-color: #DC0032 !important;

    --cz-primary: #DC0032 !important;
    --cz-primary-text-emphasis: #DC0032 !important;

    --cz-link-color: #DC0032 !important;
    --cz-link-hover-color: #DC0032 !important;

    --cz-heading-color: #DC0032 !important;

    --cz-secondary-bg: #29285a !important;
    --cz-tertiary-bg: #1f1e45 !important;

    --cz-border-color: #DC0032 !important;

    --cz-primary-bg-subtle: #4f4e9b !important;
    --cz-secondary-bg-subtle: #3a396d !important;

    --cz-primary-border-subtle: #6a68b5 !important;
    --cz-secondary-border-subtle: #5e5ca3 !important;
}

/*OBBO CUSTOM START*/

.product-title {
    line-height: 1.4;
    min-height: calc(1.4em * 2); /* دقیقاً ارتفاع ۲ خط */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.form-control {
    border-radius: 100rem;
}
textarea {
    border-radius: 2rem !important;
}

#DNTCaptchaInputText {
    font-size: 1rem !important;
    min-height: calc(1.5em + 1.37rem + var(--cz-border-width)*2) !important;
    padding: .685rem 1.125rem !important;
    border-radius: 100rem !important ;
}

.btn-icon:hover {
    color: var(--cz-primary) !important;
}

.list-group-item + .list-group-item.active,.list-group-borderless .list-group-item {
    border-radius: 100rem !important;
}

.list-group-item-action:hover, .list-group-item-action:focus-visible {
    border-radius: 100rem !important;
}


.footer-top-radius{
    border-top-right-radius: 7rem ;
    border-top-left-radius: 7rem ;
}


.bg-muted-subtle {
    background-color: var(--cz-muted-bg-subtle) !important;
}

.gray-text{
    color: var(--cz-gray) !important;
}
.dark-success-text{
    color: var(--cz-dark-success) !important;
}

.list-group-item-action:hover, .list-group-item-action:focus-visible {
    color: var(--cz-light);
    background-color: var(--cz-primary);
}
.list-group-item-action.active {
    color: var(--cz-light);
    background-color: var(--cz-primary);
}

@media (min-width: 992px) {
    .product-card:hover .AddCartButton {
        display: none;
    }
}

/* ---------------- BASE BUTTON ---------------- */

.btn {
    --cz-btn-padding-x: 1.25rem;
    --cz-btn-padding-y: 0.625rem;
    --cz-btn-font-family: ;
    --cz-btn-font-size: 0.875rem;
    --cz-btn-font-weight: 500;
    --cz-btn-line-height: 1.125rem;
    --cz-btn-color: var(--cz-component-color);
    --cz-btn-bg: transparent;
    --cz-btn-border-width: var(--cz-border-width);
    --cz-btn-border-color: transparent;
    --cz-btn-border-radius: var(--cz-border-radius);
    --cz-btn-hover-border-color: transparent;
    --cz-btn-box-shadow: none;
    --cz-btn-disabled-opacity: 0.55;
    --cz-btn-focus-box-shadow: 0 0 0 0 rgba(var(--cz-btn-focus-shadow-rgb), .5);
}

/* ---------------- PRIMARY BUTTON (اصلی = FAA755) ---------------- */

.btn-primary {
    /*--cz-btn-color: #fff;*/
    --cz-btn-bg: #DC0032; !important;
    --cz-btn-border-color: #DC0032; !important;

    --cz-btn-hover-color: #fff; !important;
    --cz-btn-hover-bg: #DC0032; !important;
    --cz-btn-hover-border-color: #DC0032; !important;

    --cz-btn-focus-shadow-rgb: 220, 0, 50;

    --cz-btn-active-color: #fff; !important;
    --cz-btn-active-bg: #DC0032; !important;
    --cz-btn-active-border-color: #DC0032; !important;

    --cz-btn-disabled-color: #fff; !important;
    --cz-btn-disabled-bg: #DC0032; !important;
    --cz-btn-disabled-border-color: #DC0032; !important;
}

/* ---------------- SECONDARY BUTTON (دوم = 2E2C70) ---------------- */

.btn-secondary {
    --cz-btn-color: #fff;
    --cz-btn-bg: #041F4A;
    --cz-btn-border-color: #041F4A;

    --cz-btn-hover-color: #fff !important;
    --cz-btn-hover-bg: #DC0032 !important;
    --cz-btn-hover-border-color: #DC0032 !important;

    --cz-btn-focus-shadow-rgb: 4, 31, 74;

    --cz-btn-active-color: #fff;
    --cz-btn-active-bg: #041F4A;
    --cz-btn-active-border-color: #041F4A;

    --cz-btn-disabled-color: #fff;
    --cz-btn-disabled-bg: #041F4A;
    --cz-btn-disabled-border-color: #041F4A;
}

/* ---------------- OUTLINE PRIMARY ---------------- */

.btn-outline-primary {
    --cz-btn-color: #181d25 !important;
    --cz-btn-border-color: #DC0032 !important;

    --cz-btn-hover-color: #fff !important;
    --cz-btn-hover-bg: #DC0032 !important;
    --cz-btn-hover-border-color: #DC0032 !important;

    --cz-btn-focus-shadow-rgb: 220, 0, 50; !important;

    --cz-btn-active-color: #fff !important;
    --cz-btn-active-bg: #DC0032 !important;
    --cz-btn-active-border-color: #DC0032 !important;

    --cz-btn-disabled-color: #DC0032 !important;
    --cz-btn-disabled-border-color: #DC0032 !important;
}

/* ---------------- OUTLINE SECONDARY ---------------- */

.btn-outline-secondary {
    --cz-btn-color: #041F4A;
    --cz-btn-border-color: #041F4A;

    --cz-btn-hover-color: #fff;
    --cz-btn-hover-bg: #041F4A;
    --cz-btn-hover-border-color: #041F4A;

    --cz-btn-focus-shadow-rgb: 4, 31, 74;

    --cz-btn-active-color: #fff;
    --cz-btn-active-bg: #041F4A;
    --cz-btn-active-border-color: #041F4A;

    --cz-btn-disabled-color: #041F4A;
    --cz-btn-disabled-border-color: #041F4A;
}

/* ---------------- DARK & LIGHT ---------------- */

.btn-dark {
    --cz-btn-color: #fff;
    --cz-btn-bg: #041F4A;
    --cz-btn-border-color: #041F4A;
    --cz-btn-hover-color: #fff;
    --cz-btn-hover-bg: #041F4A;
    --cz-btn-hover-border-color: #041F4A;
}

.btn-light {
    --cz-btn-color: #DC0032;
    --cz-btn-bg: #fff;
    --cz-btn-border-color: #DC0032;
    --cz-btn-hover-color: #DC0032;
    --cz-btn-hover-bg: #f2f2f2;
}

/* ---------------- OUTLINE DARK & LIGHT ---------------- */

.btn-outline-dark {
    --cz-btn-color: #041F4A;
    --cz-btn-border-color: #041F4A;
    --cz-btn-hover-color: #fff;
    --cz-btn-hover-bg: #041F4A;
}

.btn-outline-light {
    --cz-btn-color: #DC0032;
    --cz-btn-border-color: #DC0032;
    --cz-btn-hover-color: #000;
    --cz-btn-hover-bg: #DC0032;
}

/* ---------------- WHITE OPACITY BUTTON ---------------- */

.btn-white-opacity {
    --cz-btn-color: #fff;                /* text/icon color */
    --cz-btn-bg: rgba(255, 255, 255, 0.10); /* white with 10% opacity */

    --cz-btn-hover-color: #fff;             /* text turns white on hover */
    --cz-btn-hover-bg: #DC0032;             /* primary bg on hover */
    --cz-btn-hover-border-color: #DC0032;

    --cz-btn-focus-shadow-rgb: 4, 31, 74;

    --cz-btn-active-color: #fff;
    --cz-btn-active-bg: #DC0032;
    --cz-btn-active-border-color: #DC0032;

    --cz-btn-disabled-color: #041F4A;
    --cz-btn-disabled-bg: rgba(255, 255, 255, 0.10);
    --cz-btn-disabled-border-color: rgba(255, 255, 255, 0.10);
}

.btn-disable-hover:hover,
.btn-disable-hover:focus,
.btn-disable-hover:active {
    color: white !important;          /* متن تغییر نکند */
    cursor: default !important;         /* کرسر تغییر نکند */
}

/* ---------------- WHITE BORDER BUTTON ---------------- */
.btn-white-border {
    --cz-btn-color: #fff;               /* متن سفید */
    --cz-btn-bg: transparent;            /* پس‌زمینه شفاف */
    --cz-btn-border-color: #fff;         /* بوردر سفید */
    --cz-btn-border-width: 1px;
    --cz-btn-border-style: solid;
    --cz-btn-hover-color: #041F4A;       /* متن تیره روی هاور */
    --cz-btn-hover-bg: #fff;             /* پس‌زمینه سفید روی هاور */
    --cz-btn-hover-border-color: #fff;   /* بوردر ثابت */
    --cz-btn-focus-shadow-rgb: 4, 31, 74;
    --cz-btn-active-color: #041F4A;
    --cz-btn-active-bg: #E6E6E6;         /* یک حالت فعال ملایم */
    --cz-btn-active-border-color: #fff;
    --cz-btn-disabled-color: #fff;
    --cz-btn-disabled-bg: transparent;
    --cz-btn-disabled-border-color: #fff;
}

.btn.btn-primary {
    --cz-btn-color: #fff !important;
}

.btn-icon.btn-secondary:hover {
    color: var(--cz-btn-color) !important;
}

.btn-icon.btn-outline-primary:hover {
    color: #fff !important;
}

.bg-light-white {
    background-color: rgba(255, 255, 255, 0.10) !important;
}
#VmContactUs_Body,#UserDescription {
    border-radius: 1.5rem !important;
}

#InputAddress_Address {
    border-radius: 1rem !important;
}

.form-select,.btn-primary,.btn-outline-secondary,.count-input {
    border-radius: var(--cz-border-radius-xxxl) !important;
}

@media (min-width: 640px) {
    .min-vh-md-100{
        min-height: 100vh !important;
    }
}
@media (max-width: 640px) {
    .footer-top-radius {
        border-top-right-radius: 4rem !important;
        border-top-left-radius: 4rem !important;
    }

    .search-dropdown {
        left: 120% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
    
}

.child {
    background-color: rgba(var(--cz-tertiary-bg-rgb)) !important;
    font-size: .875rem !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
    margin-left: .5em !important;
}

.dtr-data {
    margin-right: .5rem !important;
}

/*OBBO CUSTOM END*/
.fs-1rem {
    font-size: 1rem !important;
}

.fs-xs {
    font-size: .70rem !important;
}

.h-80px {
    height: 80px !important;
}

.w-80px {
    width: 80px !important;
}

.bg-dark {
    --cz-bg-opacity: 1;
    background-color: rgba(var(--cz-secondary-rgb),var(--cz-bg-opacity)) !important;
}

.color-btn {
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 100%;
}

.color-badge {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 100%;
}

.color-btn:hover .color-circle {
    /*border: 5px solid #a8a8a8;*/
    font-size: 2rem !important;
}

#map {
    height: 400px;
}

.special-offer-timer {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.special-offer-item hr:last-of-type {
    display: none;
}

.color-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;

    /* حلقه دور */
    box-shadow: 0 0 0 3px #444; /* ضخامت حلقه = 3px */
}

.active > .page-link, .page-link.active {
    background-color: #2e2c70 !important;
    color:#fff !important;
}

.page-link:hover {
    background-color: #2e2c70 !important;
    color:#fff !important;
}

.page-number {
    margin-left: .25rem !important;
    margin-right: .25rem !important;
}

.bg-product-cat {
    background-color: #2E2C702E !important;
}

.store-step-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: .5rem;

    .step-item {
        cursor: pointer;
        height: 300px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition:
                width 350ms cubic-bezier(.4, 0, .2, 1);
    }

    .step-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .default {
        width: 23%;

        .content {
            max-width: 0;
            opacity: 0;
            overflow: hidden;
            transform: translateX(-12px);
            padding-bottom: .5rem !important;
            padding-top: .5rem !important;
            transition:
                    max-width 350ms ease,
                    opacity 150ms ease 0ms,
                    transform 200ms ease 0ms;
        }
    }

    .expand {
        width: 35%;

        .content {
            max-width: 1000px;
            opacity: 1;
            transform: translateX(0);

            /* 👇 تأخیر نمایش متن */
            transition:
                    max-width 350ms ease,
                    opacity 200ms ease 300ms,
                    transform 200ms ease 300ms;
        }
    }
}


[dir="rtl"] .choices__list--single {
    padding-right: 30px !important;
    padding-left: 4px !important;
}

[dir="rtl"] .choices__list--single:has(div.choices__placeholder) {
    padding-right: 0px !important;
}

.choices[data-type*="select-one"] .form-select {
    padding-left: 2rem !important;
    height: 42px !important;
}
@media (min-width: 640px) {
    [dir="rtl"] .choices__list--dropdown .choices__item--selectable, [dir="rtl"] .choices__list[aria-expanded] .choices__item--selectable {
        padding-left: 10px !important;
    }
}

.dt-paging {
    padding-top: 1rem !important;
}
.dt-empty {
    border: 0 !important;
}

div:has(> .form-select-sm) {
    border-radius: var(--cz-border-radius-sm);
    font-size: .75rem;
    padding-bottom: .375rem;
    padding-top: .375rem;
}

.choices {
    margin-bottom: unset !important;
}

.percent-fs-size{
    font-size: 5rem !important;
}

@media (max-width: 640px) {
    .product-card-price {
        display: grid !important;
        gap: 0px !important;
    }

    .navbar-brand {
        width: 100% !important;
    }

    .table-sm-350px {
        max-width: 350px !important;
        width: 350px !important;
    }

    .product-cat-badges {
        overflow-x: scroll !important;
        display: flex;
        gap: 4px;
    }

    .percent-fs-size{
        font-size: 3rem !important;
    }

    .product-amount {
        max-width: 20px !important;
    }

    .minus-product-amount,.plus-product-amount {
        max-width: 25px !important;
    }
}

.bg-primary-dark {
    background-color: #1A1850 !important;
}

.full-width {
    width: 99.5vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.product-cat-list:checked + .cat-badge {
    padding-right: 2rem; /* جا برای ضربدر */
    position: relative;
}

.product-cat-list:checked + .cat-badge::after {
    content: "×";
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
}

/*.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    background-color: #2e2c7073 ;
    border-color: #2e2c7085 !important;
    color: #2e2c70;
}*/

#indexBasketDrawer .btn-close {
    display: none !important;
}

.fs-5rem{
    font-size: 5rem !important;
}

.shortcut-buttons-flatpickr-button{
    --cz-btn-color: #fff;
    --cz-btn-bg: #faa755;
    --cz-btn-border-color: #faa755;
}

.clearDatePicker {
    --cz-btn-color: #fff !important;
    --cz-btn-bg: #2e2c70 !important;
    --cz-btn-border-color: #2e2c70 !important;
    --cz-btn-hover-color: #fff !important;
    --cz-btn-hover-bg: #26245e !important;
    --cz-btn-hover-border-color: #221f55 !important;
}

.dntCaptcha {
    margin-bottom: 8px !important;
}

.small, small {
    font-size: .75em !important;
}

.accordion-button {
    font-weight: 300 !important;
}
.docs-search {
    padding-bottom: .7rem !important;
    padding-top: .5rem !important;
}
.btn-scroll-top {
    background-color: white !important;
}

.product-cat-label {
    --cz-btn-padding-y: 0.4rem !important;
}

.field-validation-error {
    font-size: .75em !important;
}
.choices__list--dropdown {
    z-index: 999 !important;
}

.model-color:has(span.checked) {
    border: var(--cz-border-width) var(--cz-border-style) var(--cz-border-color) !important;
    --cz-border-opacity: 1;
    border-color: rgba(var(--cz-primary-rgb),var(--cz-border-opacity)) !important;
    border-radius: var(--cz-border-radius-xxxl) !important;
}

.product-card-button:hover {
    background-color: var(--cz-primary) !important;
    border-color: var(--cz-primary) !important;
}

.btn-primary, .product-card .count-input:not(.collapsed) .product-card-button, .product-card:hover .product-card-button, [data-bs-theme="dark"] .product-card:hover .product-card-button {
    --cz-btn-hover-bg: var(--cz-primary);
    --cz-btn-active-bg: var(--cz-primary);
    --cz-btn-hover-border-color: var(--cz-primary);
    --cz-btn-active-border-color: var(--cz-primary);
}
.btn-primary, .product-card .count-input:not(.collapsed) .product-card-button, .product-card:hover .product-card-button, [data-bs-theme="dark"] .product-card:hover .product-card-button {
    --cz-btn-color: #fff;
    --cz-btn-bg: var(--cz-primary);
    --cz-btn-border-color: var(--cz-primary);
}



@media (max-width: 768px) {

    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        border: 1px solid #e5e5e5;
        border-radius: 12px;
        margin-bottom: 12px;
        padding: 8px;
        background: #fff;
    }

    .responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 4px;
        border: none;
        text-align: right;
    }

    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6c757d;
        margin-left: 8px;
        white-space: nowrap;
    }

    .responsive-table td[data-label="مشخصات کالا"] {
        flex-direction: column;
        align-items: flex-start;
    }

    .responsive-table td[data-label="مشخصات کالا"]::before {
        display: none;
    }
}

.bg-danger-subtle {
    background-color: rgba(240, 61, 61, 0.15) !important;
}

.dt-column-order {
    margin-bottom: .25rem !important;
    margin-right: .5rem !important;
    right: unset !important;
}

/* -------------------- Start CHAT -------------------- */


.btn#my-btn {
    background: white;
    padding-top: 13px;
    padding-bottom: 12px;
    border-radius: 45px;
    padding-right: 40px;
    padding-left: 40px;
    color: #5865C3;
}

#chat-overlay {
    background: rgba(255,255,255,0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: none;
}


.chat-box {
    display: none;
    background: #efefef;
    position: fixed;
    bottom: 50px;
    width: 350px;
    z-index: 1001;
    max-width: 85vw;
    max-height: 100vh;
    border-radius: 5px;
    /*   box-shadow: 0px 5px 35px 9px #464a92; */
    box-shadow: 0px 5px 9px 9px #ccc;
}

.chat-box-toggle {
    float: right;
    margin-right: 15px;
    cursor: pointer;
    font-size: 25px
}

.chat-box-header {
    background: #041F4A;
    height: 70px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: white;
    text-align: center;
    font-size: 20px;
    padding-top: 17px;
}

.chat-box-body {
    position: relative;
    height: 370px;
    height: auto;
    border: 1px solid #ccc;
    overflow: hidden;
}

.chat-box-body:after {
    content: "";
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAgOCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS4yNSIgY3g9IjE3NiIgY3k9IjEyIiByPSI0Ii8+PHBhdGggZD0iTTIwLjUuNWwyMyAxMW0tMjkgODRsLTMuNzkgMTAuMzc3TTI3LjAzNyAxMzEuNGw1Ljg5OCAyLjIwMy0zLjQ2IDUuOTQ3IDYuMDcyIDIuMzkyLTMuOTMzIDUuNzU4bTEyOC43MzMgMzUuMzdsLjY5My05LjMxNiAxMC4yOTIuMDUyLjQxNi05LjIyMiA5LjI3NC4zMzJNLjUgNDguNXM2LjEzMSA2LjQxMyA2Ljg0NyAxNC44MDVjLjcxNSA4LjM5My0yLjUyIDE0LjgwNi0yLjUyIDE0LjgwNk0xMjQuNTU1IDkwcy03LjQ0NCAwLTEzLjY3IDYuMTkyYy02LjIyNyA2LjE5Mi00LjgzOCAxMi4wMTItNC44MzggMTIuMDEybTIuMjQgNjguNjI2cy00LjAyNi05LjAyNS0xOC4xNDUtOS4wMjUtMTguMTQ1IDUuNy0xOC4xNDUgNS43IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS4yNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PHBhdGggZD0iTTg1LjcxNiAzNi4xNDZsNS4yNDMtOS41MjFoMTEuMDkzbDUuNDE2IDkuNTIxLTUuNDEgOS4xODVIOTAuOTUzbC01LjIzNy05LjE4NXptNjMuOTA5IDE1LjQ3OWgxMC43NXYxMC43NWgtMTAuNzV6IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS4yNSIvPjxjaXJjbGUgZmlsbD0iIzAwMCIgY3g9IjcxLjUiIGN5PSI3LjUiIHI9IjEuNSIvPjxjaXJjbGUgZmlsbD0iIzAwMCIgY3g9IjE3MC41IiBjeT0iOTUuNSIgcj0iMS41Ii8+PGNpcmNsZSBmaWxsPSIjMDAwIiBjeD0iODEuNSIgY3k9IjEzNC41IiByPSIxLjUiLz48Y2lyY2xlIGZpbGw9IiMwMDAiIGN4PSIxMy41IiBjeT0iMjMuNSIgcj0iMS41Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTkzIDcxaDN2M2gtM3ptMzMgODRoM3YzaC0zem0tODUgMThoM3YzaC0zeiIvPjxwYXRoIGQ9Ik0zOS4zODQgNTEuMTIybDUuNzU4LTQuNDU0IDYuNDUzIDQuMjA1LTIuMjk0IDcuMzYzaC03Ljc5bC0yLjEyNy03LjExNHpNMTMwLjE5NSA0LjAzbDEzLjgzIDUuMDYyLTEwLjA5IDcuMDQ4LTMuNzQtMTIuMTF6bS04MyA5NWwxNC44MyA1LjQyOS0xMC44MiA3LjU1Ny00LjAxLTEyLjk4N3pNNS4yMTMgMTYxLjQ5NWwxMS4zMjggMjAuODk3TDIuMjY1IDE4MGwyLjk0OC0xOC41MDV6IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS4yNSIvPjxwYXRoIGQ9Ik0xNDkuMDUgMTI3LjQ2OHMtLjUxIDIuMTgzLjk5NSAzLjM2NmMxLjU2IDEuMjI2IDguNjQyLTEuODk1IDMuOTY3LTcuNzg1LTIuMzY3LTIuNDc3LTYuNS0zLjIyNi05LjMzIDAtNS4yMDggNS45MzYgMCAxNy41MSAxMS42MSAxMy43MyAxMi40NTgtNi4yNTcgNS42MzMtMjEuNjU2LTUuMDczLTIyLjY1NC02LjYwMi0uNjA2LTE0LjA0MyAxLjc1Ni0xNi4xNTcgMTAuMjY4LTEuNzE4IDYuOTIgMS41ODQgMTcuMzg3IDEyLjQ1IDIwLjQ3NiAxMC44NjYgMy4wOSAxOS4zMzEtNC4zMSAxOS4zMzEtNC4zMSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuMjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvZz48L3N2Zz4=');
    opacity: 0.1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    position: absolute;
    z-index: -1;
}

#chat-input {
    background: #f4f7f9;
    width: 100%;
    position: relative;
    height: 47px;
    padding-top: 10px;
    padding-right: 100px;
    padding-bottom: 10px;
    padding-left: 15px;
    border: none;
    resize: none;
    outline: none;
    border: 1px solid #ccc;
    color: #888;
    border-top: none;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    overflow: hidden;
}

.chat-input > form {
    margin-bottom: 0;
}

#chat-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #ccc;
}

#chat-input::-moz-placeholder { /* Firefox 19+ */
    color: #ccc;
}

#chat-input:-ms-input-placeholder { /* IE 10+ */
    color: #ccc;
}

#chat-input:-moz-placeholder { /* Firefox 18- */
    color: #ccc;
}

.chat-submit {
    position: absolute;
    bottom: 3px;
    right: 10px;
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 50%;
    color: #041F4A;
    width: 35px;
    height: 35px;
    font-size: 25px
}

.chat-logs {
    padding: 15px;
    height: 370px;
    overflow-y: scroll;
}

.chat-logs::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.chat-logs::-webkit-scrollbar {
    width: 5px;
    background-color: #041F4A;
}

.chat-logs::-webkit-scrollbar-thumb {
    background-color: #041F4A;
}



@media only screen and (max-width: 500px) {
    .chat-logs {
        height: 40vh;
    }

    .pt-index-logo {
        padding-top: 6rem !important;
    }


}

.chat-msg.user > .msg-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    float: left;
    width: 15%;
}

.chat-msg.self > .msg-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    float: right;
    width: 15%;
}

.cm-msg-text {
    background: white;
    padding: 10px 15px 10px 15px;
    color: #666;
    max-width: 90%;
    float: left;
    margin-left: 10px;
    position: relative;
    margin-bottom: 20px;
    border-radius: 30px;
}

.chat-msg {
    clear: both;
}

.chat-msg.self > .cm-msg-text {
    float: right;
    margin-right: 10px;
    background: #041F4A;
    color: white;
}

.cm-msg-button > ul > li {
    list-style: none;
    float: left;
    width: 50%;
}

.cm-msg-button {
    clear: both;
    margin-bottom: 70px;
}

/*blazor modal*/
#components-reconnect-modal {
    display: none  !important;
    visibility:hidden !important
}
/*End Chat style*/

.dtr-details > li {
    text-align: start !important;
}

@media (min-width: 992px) {

    .AddCartButtonCustom {
        opacity: 1;
        transform: translateY(0);
        transition:
                opacity 0.2s ease,
                transform 0.2s ease;
    }

    .product-card-detailsCustom {
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition:
                opacity 0.25s ease,
                transform 0.25s ease,
                visibility 0.25s;
    }
    
    .product-cardCustom:hover .product-card-detailsCustom,
    .product-cardCustom.is-open .product-card-detailsCustom {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .product-cardCustom:hover .AddCartButtonCustom,
    .product-cardCustom.is-open .AddCartButtonCustom {
        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;
    }
}

/* موبایل */
@media (max-width: 700px) {
    .product-card-detailsCustom {
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: opacity .25s ease, transform .25s ease;
    }

    .product-cardCustom.is-open .product-card-detailsCustom {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .product-cardCustom.is-open .AddCartButtonCustom {
        opacity: 0;
        pointer-events: none;
    }
}

.btn-outline-secondary:hover {
    color:white !important;
}

.btn-primary:hover {
    background-color: white !important;
    border-color: var(--cz-btn-hover-border-color);
    color: var(--cz-btn-hover-border-color);
}


/*dropzone*/
.dropzone {
    background-color: #2E2C702E !important;
    min-height: auto;
    padding: 1.5rem 1.75rem;
    text-align: center;
    cursor: pointer;
    border: 1px dashed #2e2c70;
    background-color: #F1FAFF;
    border-radius: 0.475rem !important;
    border: 1px dashed #2e2c70 !important;
    min-height: auto !important;
    padding: 0px !important;
}
.dz-preview {
    border-radius: var(--cz-border-radius) !important;
}

.dropzone .dz-remove {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.65rem;
    width: 1.65rem;
    font-size: 1rem;
    text-indent: -9999px;
    white-space: nowrap;
    position: absolute;
    z-index: 2;
    background-size: 40%;
    background-color: #ffffff !important;
    box-shadow: 0 0.1rem 1rem 0.25rem rgba(0, 0, 0, 0.05);
    border-radius: 100%;
    top: -0.825rem;
    right: -0.825rem;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23A1A5B7'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
}

@media only screen and (max-width: 768px) {
    .topBarImage {
        height: 25px !important;
    }
}

.w-500 {
    width: 500px !important;
}

@media (min-width: 768px) { /* md breakpoint */
    .w-md-800 {
        width: 800px !important;
    }
}

.btn-scroll-top.show{
    border-color: #DC0032 !important;
    color: #DC0032 !important;
}