﻿html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    --bs-font-sans-serif: 'IRANSans' !important;
    background-color: var(--my-light-color);
}

* {
    --bg-slider-color: #4cf2c1;
    --bg-slider-color: #ffc1ed;
}

.bg-light {
    background-color: #f9f9f9 !important;
}

* {
    --bs-accordion-active-bg: #e1e1e1;
}

.ltr {
    direction: ltr !important;
}

.rtl {
    direction: rtl !important;
}

.hand {
    cursor: pointer;
}

.forbidden {
    cursor: not-allowed;
}

.yekan {
    font-family: 'Yekan';
}

.sans {
    font-family: 'IRANSans';
}

.bg-slider {
    background-color: var(--bg-slider-color);
}

.bg-light-teal {
    background-color: #4cf2c1;
}

.bg-lighter-teal {
    background-color: #c1ffec;
}

.bg-indian-yellow {
    background-color: #ffe789;
}

.bg-cyan {
    background-color: #a6d5c2;
}

.bg-purple {
    background-color: #c7bbdc;
}

.bg-light-cyan {
    background-color: #b5d8e0;
}

.bg-light-purple {
    background-color: #e0d8ee;
}

.no-focus:focus {
    border: var(--bs-border-width) solid var(--bs-border-color);
    box-shadow: none !important;
}

.w-5 {
    width: 10% !important;
}

.search-input::placeholder {
    color: #808080;
    font-size: .8rem;
    padding-right: 5px;
}

.category {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .category > li {
        position: relative;
        background-color: white;
        transition: all 2s ease-in;
    }

        .category > li:hover .categories {
            visibility: visible;
            opacity: 1;
        }

    .category > li > a {
        text-decoration:none;
        color: var(--bs-gray-600);
    }

.categories {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    list-style: none;
    top: 100%; /* Position the submenu right below the menu item */
    left: 0;
    background-color: white;
    border: 1px solid var(--bs-border-color);
    border-radius: .375rem;
    min-width: 100%;
    z-index: 1;
    transition: opacity 200ms ease-in-out;
}

    .categories li {
        padding: .375rem 0;
        border-bottom: 1px solid var(--bs-gray-100);
        transition: background-color 300ms ease-in-out;
    }

        .categories li:hover {
            background-color: var(--bs-gray-100);
        }
        .categories li:last-child {
            border-bottom: none;
        }

        .categories li a {
            display: block;
            width: 100%;
            height: 100%;
            color: var(--bs-secondary);
            padding: 0 .75rem;
        }


#menuNavbar .nav-item .active {
    color: var(--bs-teal);
}

#slider .carousel-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#slider img {
    max-width: 450px;
    max-height: 350px;
    width: auto; /* حفظ نسبت ابعاد */
    height: auto; /* حفظ نسبت ابعاد */
    margin-bottom: 20px; /* فاصله بین عکس و کپشن */
}

#slider .carousel-item {
    transform: translateY(-10%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* چیدمان عمودی */
    float: none;
    transition: transform 300ms ease-in-out;
    margin-left: 0;
    width: 100%;
    height: 100vh;
}

#slider .carousel-fade .active.carousel-item-start,
#slider .carousel-fade .active.carousel-item-end {
    transition: opacity 300ms 0s;
}

.side-menu {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    z-index: 2;
}

    .side-menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content:center;
        list-style: none;
        max-width: 75px;
        min-height: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.15);
        border-radius: 1rem;
        padding: 26px 6px;
        text-align: center;
    }

    .side-menu ul li {
        color: white;
        margin-top: 20px;
    }

.cqw .h1,
.cqw .fs-4 {
    font-size: calc(12px + 1vw);
    white-space: nowrap !important;
}


.preview img {
    content: var(--path-primary);
    filter: brightness(100%);
    transition: all 300ms ease-in-out;
    transition-delay: .1s;
    min-height: 200px;
    height: 200px;
}

    .preview img:hover {
        filter: brightness(85%);
        content: var(--path-secondary);
        min-height: 200px;
        height: 200px;
    }

.sticky {
    position: sticky !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 390;
}

.text-shadow {
    text-shadow: 2px 0px 8px rgba(94, 94, 94, 0.75);
}

.bg-gr-light {
    background: rgb(255,255,255);
    /*background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(234,242,238,1) 100%);*/
    background: radial-gradient(circle, rgb(241, 241, 241) 0%, rgb(226, 226, 226) 100%);
}

.bg-gy-light {
    background: rgb(255,255,255);
    background: radial-gradient(circle, rgba(229,229,229,1) 0%, rgb(242, 242, 242) 100%);
}

.bg-green {
    background-color: forestgreen;
}

.owl-item img {
    transition: transform 300ms ease-in-out;
}

    .owl-item:hover img {
        transform: scale(1.2);
    }

.owled {
    position: relative;
    height: 120px;
    width: 120px !important;
    z-index: -1;
}

    .owled img {
        position: absolute;
        top: -5px;
        right: 20px;
        z-index: 1;
        filter: drop-shadow(0 15px 3px rgba(0, 0, 0, 0.3));
    }

.topsell {
    position: relative;
}

    .topsell .card {
        border: 1px solid #e8e8e8 !important;
    }

    .topsell img {
        min-height: 200px;
        height: 200px;
    }
    .topsell .toolbox {
        position: absolute;
        top: 0;
        left: 0;
        margin-top: 10px;
        margin-left: 10px;
        display: flex;
        background-color: #fff;
        border-right: 1px solid var(--bs-border-color);
        border-bottom: 1px solid var(--bs-border-color);
        padding: .5rem;
        flex-direction: column;
        visibility: hidden;
        opacity: 0;
        transform: translateX(-20px) translateZ(0);
        transition: all 300ms ease-in-out;
    }
        .topsell .toolbox i {
            padding: .375rem;
        }
        .topsell .toolbox i:not(:last-child) {
            margin-bottom: .5rem;
        }

    .topsell:hover .toolbox {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

.circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-justify {
    text-align: justify;
}

.about-box {
    background-image: url(../images/png/germany.png);
    background-position: calc(100% + 45px) calc(100% + 50px);
    background-repeat: no-repeat;
    background-color:transparent;
}

.map iframe {
    width: 100%;
    border: 1px solid #777;
    border-radius: .75rem;
}

.trunction {
    -webkit-line-clamp: 7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trunction-ln3 {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.contact {
    background-image:url(../images/png/pattern.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: auto;
}

.tabs button:not(:active) {
    color: var(--bs-secondary);
}

.thumbs img {
    width: 48px;
    height: 48px;
}

.text-gray {
    color: var(--bs-gray-400);
}

.rating {
    direction:ltr;
    padding: 0;
    margin: 0;
}

    .rating .star {
        transition: 0.6s;
        display: inline-block;
        margin-left: 0.3rem;
        font-size: 25px;
        color: var(--bs-accordion-active-bg) !important;
    }

        .rating .star:first-child {
            margin-left: 0;
        }

    .rating .active {
        color: gold !important;
    }

.btn-blue {
    background-color: #0B9DFF;
    border-radius: 2rem;
    color: white !important;
    padding: 5px 25px;
    cursor: pointer !important;
}

    .btn-blue:hover {
        background-color: #2284c6;
    }

    .btn-blue:active {
        background-color: #60a9db !important;
    }

.mini .accordion-item {
    border: 0 !important;
}

.mini .accordion-button:not(.collapsed) {
    background: none !important;
}

.mt-min-25 {
    margin-top: -25%;
}

.pull-left {
    text-align: left;
}

.fs-7 {
    font-size: 0.9rem !important;
}

#offcanvas_login .offcanvas-body {
    overflow: hidden;
}

.offcanvas-body label {
    z-index: 1;
    display: inline-block;
    margin-bottom: 0;
    position: absolute;
    right: 15px;
    top: 10px;
    color: #c09f82;
    font-size: 20px;
    border-left: 1px solid #c09f82;
    padding-left: 10px;
    line-height: 25px;
}

.offcanvas-body input[type=text],
.offcanvas-body input[type=tel],
.offcanvas-body input[type=email],
.offcanvas-body input[type=password] {
    border: none !important;
    padding-right: 60px;
    background-color: transparent !important;
}

.offcanvas-body input {
    text-align: left;
    direction: ltr;
}

.offcanvas-body input::placeholder {
    text-align: right;
}

.offcanvas-body .fa-user {
    color: #c09f82;
}

.reserve, 
.btn-reserve {
    background-color: #6d7a83 !important;
    border-radius: 20px;
    border: none !important;
    color: white;
    padding: 8px 24px;
}

    .reserve:hover, .btn-reserve:hover {
        background-color: #353d42 !important;
        color: white;
    }

.colorBox {
    display: flex;
    flex-direction: row;
    list-style: none;
}

    .colorBox li {
        position: relative;
        min-width: 28px;
        min-height: 28px;
        margin-left: 6px;
        border-radius: 50%;
        cursor: pointer;
    }

        .colorBox li:last-child {
            margin-left: 0;
        }

        .colorBox li:not(.activeColor) {
            transition: all 250ms ease-in-out;
            padding: 5px;
            border: 2px solid var(--bs-teal) !important;
        }

        .colorBox li:hover {
            transform: scale(1.3);
            border-color: var(--bs-danger) !important;
        }

.activeShip {
    background-color: var(--bs-green) !important;
    color: white !important;
}

    /*.activeShip::after {
        content: '';
        position: absolute;
        top: 5px;
        left: 5px;
        width: 9px;
        height: 15px;
        border: solid var(--bs-white);
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }*/

.activeColor {
    border: 3px solid #19bfd3 !important;
    transform:scale(1.2)
}

    .activeColor::after {
        content: '';
        position: absolute;
        top: 2px;
        right: 7px;
        width: 9px;
        height: 15px;
        border: solid var(--bs-teal);
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }

.bottom-menu {
    background-color: var(--bs-secondary-bg-subtle);
    border-radius: 15px 15px 0 0;
    margin: 0;
    padding: 0;
}

    .bottom-menu .active span {
        transform: translateY(-.5em);
    }

        .bottom-menu .active span:before {
            padding: 15px;
            background: linear-gradient(135deg, #cefff0, #7dffd9);
            border-radius: 50%;
            border: 3px solid white;
        }

    .bottom-menu .active #bottomCartIconSpan {
        margin-top: 5px !important;
        margin-right: 15px !important;
    }

    .bottom-menu a {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none !important;
    }

        .bottom-menu a span {
            color: var(--bs-dark);
            align-items: center;
            font-size: 5.2vw;
            cursor: pointer;
            transition: transform 0.5s ease-in-out;
        }

        .bottom-menu a small {
            color: var(--bs-secondary);
            font-size: 3.5vw;
            margin-top: 10%;
        }

    /*.bottom-menu li {
        font-size: 4.55vw;
        padding: 0.5em;
        margin: 0.5em;
        margin-top: 0;
        transition: 0.5s ease-in-out;
        border-radius: 100%;
        border: 7px solid #eee;
        cursor: pointer;
        width: 40px;
        height: 40px;
        line-height: 40px;
        display:flex;
        align-items: center;
        justify-content: center;
    }

    .bottom-menu .actived {
        transform: scale(1.25) translateY(-1em);
        background: linear-gradient(135deg, #23f, #6589ff);
        border: 7px solid #dcdcdc;
        color: white;
    }*/

.bag-icon, .cart-icon {
    position: relative;
}

.bag-icon:before {
    content: "\f126";
    font-family: "woodmart";
}

.account-icon:before {
    content: "\f124";
    font-family: "woodmart";
}

.home-icon:before {
    content: "\f144";
    font-family: "woodmart";
}

.cart-icon:before {
    content: "\f105";
    font-family: "woodmart";
}

.products-icon:before {
    content: "\f122";
    font-family: "woodmart";
}

.search-icon:before {
    content: "\f130";
    font-family: "woodmart";
}

.fs-search {
    font-size: 2.1rem;
}

.cart-img-demo {
    transition: transform 200ms ease-in-out;
}

    .cart-img-demo:hover {
        transform: scale(1.3) rotate(-12deg);
    }


    /*

.filter-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    background-color: white;
    border: 1px solid var(--bs-border-color);
    height: 100%;
    border-radius: 0.5rem;
    padding: 0;
    position: relative;
}

    .filter-list li {
        padding: 15px;
        text-align: left;
        cursor: pointer;
        width: 100%;
        position: relative;
        transition: all 200ms ease-in;
    }

        .filter-list li:first-child {
            border-top-left-radius: 0.5rem;
            border-top-right-radius: 0.5rem;
        }

        .filter-list li:last-child {
            border-bottom-left-radius: 0.5rem;
            border-bottom-right-radius: 0.5rem;
        }


    .filter-list .active {
        color: var(--bs-primary);
        background-color: #d4e2f5;
        padding-left: 30px;
    }

        .filter-list .active::before {
            content: "";
            position: absolute;
            left: -12px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-bottom: 10px solid transparent;
            border-right: 12px solid #d4e2f5;
        }
    */

.mini-search:focus {
    border: 0 !important;
    box-shadow: none !important;
}

#myTab {
    border: 0 !important;
    border-top: 2px solid var(--bs-gray-200) !important;
}

    #myTab .nav-item {
        background-color: var(--bs-gray-100) !important;
    }

    #myTab .nav-link {
        color: var(--bs-secondary);
        border-top-right-radius: 0 !important;
        border-top-left-radius: 0 !important;
        border-bottom: 3px solid var(--bs-gray-100) !important;
    }

    #myTab .active {
        color: var(--bs-dark);
        background-color: var(--bs-gray-400);
        border-bottom: 3px solid var(--bs-danger) !important;
    }

.bg-transparent-dark {
    background-color: rgba(22, 21, 21, 0.80);
}

.social-media li a > span {
    transition: transform 200ms ease-out;
}

.social-media li:hover a > span {
    transform: translateX(-10px);
}

.social-media li a > i {
    transition: transform 200ms ease-out;
}

.social-media li:hover a > i {
    transform: translateY(-2px);
}

.social-media li a {
    margin-bottom: .725rem;
    padding: .525rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: .325rem;
    color: white !important;
    text-decoration: none;
}

.social-media li a span {
    margin-right: 1rem;
    font-size: 1.2em;
}

.social-media .instagram {
    background: linear-gradient(-135deg, #515bd4 1%,#8134af 24%,#dd2a7b 48%,#f58529 67%,#f58529 67%,#feda77 93%,#feda77 93%); 
}

.social-media .telegram {
    background-color: #26A4E3;
}

.social-media .whatsapp {
    background-color: #28A219;
}

.social-media .linkedin {
    background-color: #0A66C2;
}

.text-z {
    font-size: 5px;
    color: transparent;
}