* {
    margin: 0;
    padding: 0;
}

:root {
    --text-color: #523014;
    --primary-background: #F7F3EB;
    --secondary-background: hsl(40, 43%, 91%);
    --dark-background: #2F281E;
    --hover-background: hsl(39, 42%, 97%);
    --gold: #B88A43;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background-color: var(--primary-background);
    color: var(--text-color);
}

.ltr {
    direction: ltr;
    unicode-bidi: isolate;
}

.text_gold {
    color: var(--gold);
}

.text-color-brown {
    color: var(--text-color);
}


.nav-link:hover {
    color: #B88A43;
}

.line {
    height: 1px;
    width: 100%;
    border-top: 1px solid var(--gold);
}


.icon_tooltip {
    position: relative;
}

.icon_tooltip::after {
    content: attr(data-tooltip);

    position: absolute;
    z-index: 2;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);

    background: #333;
    color: #fff;

    padding: 5px 9px;
    border-radius: 5px;

    font-size: 12px;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: 0.2s;
}

.icon_tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* main nav */
.side_btn {
    cursor: pointer;
    transition-duration: 0.3s;
}

.side_btn:hover {
    color: var(--gold);
}

.main_nav {
    border-bottom: 2px solid rgb(184, 138, 67, 0.2);
}

.search_input {
    border: 1px solid hsl(0, 0%, 80%);
    height: 50px;
    width: 300px;
    border-radius: 20px;
    padding: 10px;
}

.search_input:focus {
    outline: 1px solid var(--gold);
}

.search_btn {
    background-color: white;
    border-color: hsl(0, 0%, 80%);
    border-right: transparent;
    border-radius: 20px;
    transition-duration: 0.3s;
}

.search_btn:focus {
    background-color: var(--hover-background);
    outline: 1px solid var(--gold);
    border: 1px solid hsl(0, 0%, 80%);
    border-right: 0;
}

.search_btn:hover {
    border-color: hsl(0, 0%, 80%);
    background-color: var(--hover-background) !important;
}

.extra_navlinks {
    text-decoration: none;
    color: var(--gold);
    transition-duration: 0.3s;
}

.extra_navlinks:hover {
    color: var(--text-color);
}


/*  mini nav */
.mini_nav {
    background: rgba(47, 40, 30, 0.95);
    backdrop-filter: blur(8px);
    color: var(--gold);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translate3d(0, -100%, 0);
    transition: transform 0.3s ease;
    width: 100%;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);
}

.mini_nav.show {
    transform: translate3d(0, 0, 0);
}

.side_btn_mini:hover {
    cursor: pointer;
    color: var(--primary-background);
    transition-duration: 0.3s;
}

.search_input_mini {
    border: 1px solid hsl(0, 0%, 80%);
    height: 30px;
    width: 200px;
    border-radius: 10px;
    padding: 10px;
}

.search_input_mini:focus {
    outline: 1px solid var(--gold);
}

.search_btn_mini {
    background-color: white;
    border-color: hsl(0, 0%, 80%);
    border-right: transparent;
    border-radius: 10px;
    transition-duration: 0.3s;
}

.search_btn_mini:focus {
    background-color: var(--hover-background);
    outline: 1px solid var(--gold);
    border: 1px solid hsl(0, 0%, 80%);
    border-right: 0;
}

.nav_link_mini:hover {
    color: var(--secondary-background);
}

.search_btn_mini:hover {
    border-color: hsl(0, 0%, 80%);
    background-color: var(--hover-background) !important;
}

.extra_navlinks_mini {
    text-decoration: none;
    color: var(--gold);
    transition-duration: 0.3s;
}

.extra_navlinks_mini:hover {
    color: var(--secondary-background);
}

/* breadcrumb  */
.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-color);
    transition-duration: 0.3s;
}

.breadcrumb a:hover {
    color: gray;
}

/* products  */
#sidebarFilter:hover {
    cursor: pointer;
    color: var(--gold);
    transition-duration: 0.3s;
}

.products_box_header_item {
    border: 2px solid rgb(184, 138, 67, 0.1);
    border-radius: 5px;
    padding: 8px;
    background-color: transparent;
    color: var(--text-color);
}

.product_card {
    border-radius: 5px;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid rgba(187, 139, 68, 0.15);
    transition-duration: 0.3s;
}

.product_card:hover {
    border-color: var(--gold);
    color: var(--text-color);
    background-color: var(--hover-background);
}

.product_img_container {
    background-color: rgba(187, 139, 68, 0.15);
    border-radius: 5px;
    height: 300px;
    overflow: hidden;
}

.product_img {
    height: 320px;
    transition: transform 0.4s ease;
}

.product_img:hover {
    transform: scale(1.15);
}

.wishlist_icon_container {
    position: absolute;
    top: 10px;
    left: 20px;
    padding: 8px;
    border-radius: 40px;
    background-color: rgb(247, 243, 235, 0.6);
    backdrop-filter: blur(1px);
    transition-duration: 0.3s;
}


.wishlist_icon_container:hover {
    background-color: rgb(247, 243, 235, 0.9);
}

.not_found {
    background-color: var(--secondary-background);
    border-radius: 5px;
    border: 1px solid rgba(187, 139, 68, 0.15);
    height: 60vh;
    text-align: center;
    font-size: 24px;
}

/* contact us */
.contact_us_phone {
    border-radius: 40px;
    border: 1px solid var(--gold);
}

.map iframe {
    border-radius: 8px;
}

.map {
    border: 2px solid hsl(40, 43%, 88%);
    border-radius: 8px;
}

/* footer  */
footer {
    background-color: var(--dark-background);
    color: var(--primary-background);
    overflow: hidden;
    z-index: 0;
}

.footer_links .footer_link_item {
    text-decoration: none;
    color: var(--primary-background);
    transition-duration: 0.3s;
}

.footer_links .footer_link_item:hover {
    color: var(--gold);
}

footer .footer_links_col {
    border-left: 1px solid rgb(184, 138, 67, 0.2);
}

.footer_links_social .social_link_item {
    font-size: 25px;
    text-decoration: none;
    color: var(--gold);
    transition-duration: 0.3s;
}

.footer_links_social .social_link_item:hover {
    color: var(--primary-background);
}

.social_link_item div {
    padding: 10px;
    border-radius: 40px;
    border: 1px solid var(--gold);
}

.footer_bottom {
    border-top: 2px solid rgb(184, 138, 67, 0.4);
}

.footer_background1 {
    filter: opacity(0.2);
    z-index: -1;
}

.footer_background2 {
    filter: opacity(0.2);
    transform: rotate(180deg);
    z-index: -1;
}


/* side bar  */
.side_bar_container {
    width: 100%;
    z-index: 1000;
    height: 100vh;

    transform: translate3d(100%, 0, 0);
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.side_bar_container.show {
    transform: translate3d(0, 0, 0);
}

.side_bar {
    background-color: var(--secondary-background);
}

.filterContainerSide {
    top: 0;
    right: 0;
    width: 100%;
    z-index: 2000;
    height: 100vh;

    transform: translate3d(200%, 0, 0);
    transition-duration: 0.3s;
    transition-timing-function: ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.filterContainerSide.show {
    transform: translate3d(0, 0, 0);
}

.search_input_side {
    border: 1px solid hsl(0, 0%, 80%);
    height: 30px;
    width: 200px;
    border-radius: 10px;
    padding: 10px;
}

.search_input_side:focus {
    outline: 1px solid var(--gold);
}

.search_btn_side {
    background-color: white;
    border-color: hsl(0, 0%, 80%);
    border-right: transparent;
    border-radius: 10px;
    transition-duration: 0.3s;
}

.search_btn_side:focus {
    background-color: var(--hover-background);
    outline: 1px solid var(--gold);
    border: 1px solid hsl(0, 0%, 80%);
    border-right: 0;
}

/* ----------------responsive------------ */
@media (max-width: 1199.98px) {

    /* main nav  */
    .filter_size_link {
        font-size: 14px;
    }

    .price_number {
        font-size: 12px;
    }

    /* side bar */
    .search_input_side {
        height: 50px;
        width: 300px;
    }
}

@media (max-width: 991.98px) {

    /* main nav  */
    .brand_name h1 {
        font-size: 32px;
    }

    .brand_name span {
        font-size: 13px;
    }

    .logo img {
        width: 50px;
    }


}

@media (max-width: 767.98px) {
    .brand_name h1 {
        font-size: 28px;
    }

    .brand_name span {
        font-size: 12px;
    }

    .logo img {
        width: 47px;
    }

    /* contact us  */
    .contact_us_title {
        font-size: 20px !important;
    }

    .contact_us_detail {
        font-size: 14px !important;
    }

    /* footer  */
    .footer_links_col:last-child {
        border-left: 0;
    }

    .footer_background1 {
        top: 20% !important;
    }

    .footer_background2 {
        top: 20% !important;
    }

    /* side bar  */
    .search_input_side {
        height: 30px;
        width: 200px;
    }
}

@media (max-width: 575.98px) {

    /* main nav  */
    .brand_name h1 {
        font-size: 24px;
        margin-bottom: 3px;
    }

    .brand_name span {
        font-size: 12px;
    }

    .logo img {
        width: 45px;
    }

    .icon_tooltip::after {
        top: 100%;
        left: 120%;
    }



    /* products  */
    .product_img_container {
        height: 180px;
        width: 120px;
        background-color: transparent;
        z-index: 300;
    }

    .product_img {
        height: auto;
        width: 100%;
    }

    .product_body_title {
        font-size: 18px !important;
        margin-top: 20px;
    }



    .wishlist_icon_container {
        position: absolute;
        top: 10px;
        left: 10px;
        padding: 8px;
        border-radius: 40px;
        background-color: rgb(247, 243, 235, 0.6);
        backdrop-filter: blur(1px);
        transition-duration: 0.3s;
    }

    /* contact us  */

    .map iframe {
        height: 220px;
        width: 100%;
    }

    /* footer  */

    .footer_icon {
        font-size: 20px;
    }

    .footer_svg {
        height: 20px;
        width: 20px;
    }
}