    @font-face {
        font-family: Yekan;
        src: url("../fonts/yb/Yekan\ Bakh\ EN\ 05\ Medium.ttf");
        font-weight: normal;
    }
    
    @font-face {
        font-family: Yekan1;
        src: url("../fonts/yb/Yekan\ Bakh\ EN\ 07\ Heavy.ttf");
        font-weight: bold;
    }
    
    @font-face {
        font-family: Yekan-bold;
        src: url("../fonts/yb/Yekan\ Bakh\ EN\ 06\ Bold.ttf");
        font-weight: bold;
    }
    
    @font-face {
        font-family: Vazir;
        src: url("../fonts/Vazir-Light.eot");
        src: url("../fonts/Vazir-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/Vazir-Light.woff2") format("woff2"), url("../fonts/Vazir-Light.woff") format("woff"), url("../fonts/Vazir-Light.ttf") format("truetype");
        font-weight: 300;
    }
    
    @font-face {
        font-family: Nastaliq;
        src: url("../fonts/IranNastaliq.ttf");
        font-weight: normal;
    }
    
    @font-face {
        font-family: Titr;
        src: url("../fonts/B Titr Bold_0.ttf");
        font-weight: normal;
    }
    /*@font-face {
 font-family: Vazir;
 src: url("../fonts/Vazir-Medium.eot");
 src: url("../fonts/Vazir-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/Vazir-Medium.woff2") format("woff2"), url("../fonts/Vazir-Medium.woff") format("woff"), url("../fonts/Vazir-Medium.ttf") format("truetype");
 font-weight: 500;
}

@font-face {
 font-family: Vazir;
 src: url("../fonts/Vazir-Thin.eot");
 src: url("../fonts/Vazir-Thin.eot?#iefix") format("embedded-opentype"), url("../fonts/Vazir-Thin.woff2") format("woff2"), url("../fonts/Vazir-Thin.woff") format("woff"), url("../fonts/Vazir-Thin.ttf") format("truetype");
 font-weight: 100;
}

@font-face {
 font-family: Vazir;
 src: url("../fonts/Vazir-Black.eot");
 src: url("../fonts/Vazir-Black.eot?#iefix") format("embedded-opentype"), url("../fonts/Vazir-Black.woff2") format("woff2"), url("../fonts/Vazir-Black.woff") format("woff"), url("../fonts/Vazir-Black.ttf") format("truetype");
 font-weight: 900;
}

*/
    /*---------------------------------- End of fonts ---------------------------------- */
    
    body {
        font-family: "Yekan", sans-serif !important;
        background-color: #f1f1f1;
    }
    
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: "Yekan", sans-serif !important;
    }
    
    .bbody {
        font-family: "Yekan", Arial, sans-serif;
        font-weight: normal;
    }
    
    .textdec {
        text-decoration: none !important;
    }
    /* header */
    
     :root {
        --green-dark: #00563f;
        --green-opcaity: #008060;
        --green-light: #008060;
        --white: #ffffff;
        --black: #000000;
        --coffee-brown: #4b3621;
        --item1-transform: translateX(-100%) translateY(-5%) scale(1.5);
        --item1-filter: blur(30px);
        --item1-zIndex: 11;
        --item1-opacity: 0;
        --item2-transform: translateX(0);
        --item2-filter: blur(0px);
        --item2-zIndex: 10;
        --item2-opacity: 1;
        --item3-transform: translate(50%, 10%) scale(0.8);
        --item3-filter: blur(10px);
        --item3-zIndex: 9;
        --item3-opacity: 1;
        --item4-transform: translate(90%, 20%) scale(0.5);
        --item4-filter: blur(30px);
        --item4-zIndex: 8;
        --item4-opacity: 1;
        --item5-transform: translate(120%, 30%) scale(0.3);
        --item5-filter: blur(40px);
        --item5-zIndex: 7;
        --item5-opacity: 0;
    }
    /*navbar*/
    
    .navbar {
        height: 6rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        background: transparent;
        position: relative;
        z-index: 100000000;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        margin: 10px 0px;
        transition: all 0.4s ease;
        position: fixed;
        width: 95%;
        right: 2.5%;
        top: 5px;
    }
    /* .navbar-fixed {
    background: transparent;
    backdrop-filter: blur(0px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    position: fixed;
    border: none;
    width: 100%;
} */
    
    .nav-links {
        display: flex;
        align-items: center;
        justify-content: center;
        list-style: none;
        order: 2;
        flex: 1;
        justify-content: center;
    }
    
    .nav-links li {
        margin-left: 10px;
    }
    
    .nav-links a {
        color: var(--black);
        padding: 3px;
        text-decoration: none;
        position: relative;
    }
    
    .nav-links a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background-color: var(--green-dark);
        transition: width 0.3s ease;
    }
    
    .nav-links a:hover::after {
        width: 100%;
    }
    /*header*/
    
    .header {
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("img/baner-1.jpg") center/cover no-repeat;
        width: 100%;
        height: 100%;
        min-height: 100vh;
    }
    
    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 1;
    }
    
    .logo img {
        width: 75px;
        height: 75px;
    }
    
    .menu-icons {
        display: none;
        cursor: pointer;
        font-size: 2rem;
        color: var(--green-light);
        position: relative;
        z-index: 1001;
        text-decoration: none;
    }
    /* .login-1 {
    background-color: transparent;
    color: var(--green-light);
    border-radius: 35px;
    padding: 0px 12px;
    height: 40px;
    order: 3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 10px;
    border: 1px solid;
    border-color: var(--green-dark);
} */
    /* .login-1 {
        background-color: transparent;
        color: #00563f;
        border-radius: 35px;
        padding: 0px 0px;
        height: 45px;
        width: 45px;
        order: 3;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        margin-right: 10px;
        border: 2px solid;
        border-color: #00563f;
        background-color: rgba(255, 255, 255, 0.473);
        font-size: 20px;
        padding-top: 5px;
    } */
    
    .login-1 {
        align-items: center;
        background: #e7e7e7;
        border-radius: 12px;
        color: #1f271b;
        display: flex;
        height: 45px;
        justify-content: center;
        min-width: 45px;
        padding: 8px;
        margin-right: 10px;
    }
    
    .login-1:hover {
        align-items: center;
        background: #c2c2c2;
        border-radius: 12px;
        color: #1f271b;
        display: flex;
        height: 45px;
        justify-content: center;
        min-width: 45px;
        padding: 8px;
        margin-right: 10px;
    }

    .cart-button {
        position: relative;
    }

    .cart-count {
        background-color: #dc3545;
        border: 2px solid #fff;
        border-radius: 999px;
        color: #fff;
        display: grid;
        font-size: 11px;
        font-weight: 700;
        height: 21px;
        line-height: 1;
        min-width: 21px;
        padding: 0 4px;
        place-items: center;
        position: absolute;
        right: -8px;
        top: -8px;
    }

    .cart-count > span {
        display: block;
        transform: translateY(1px);
    }

    .product-contact-card {
        align-items: center;
        background: #f7f2e8;
        border: 1px solid rgba(255, 255, 255, 0.75);
        border-radius: 999px;
        box-shadow: 0 5px 14px rgba(0, 45, 32, 0.16);
        color: #00563f;
        display: inline-flex;
        font-size: 12px;
        font-weight: 800;
        gap: 7px;
        justify-content: center;
        max-width: 100%;
        min-width: 0;
        padding: 9px 15px;
        white-space: nowrap;
        width: auto;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .coffee-card:hover .product-contact-card {
        background: #fff;
        transform: translateY(-1px);
    }

    .product-contact-card-icon {
        color: #006c50;
        font-size: 13px;
        transform: rotate(-18deg);
    }

    .coffee-card .coffee-info .product-contact-card > span {
        color: #00563f !important;
        font-size: inherit !important;
        line-height: 1.4 !important;
        margin: 0 !important;
    }

    @media (max-width: 576px) {
        .product-contact-card {
            font-size: 11px;
            gap: 5px;
            padding: 7px 11px;
        }

        .product-contact-card-icon {
            font-size: 11px;
        }
    }
    
    .login {
        background-color: var(--green-light);
        color: #fff;
        border-radius: 12px;
        padding: 5px 5px;
        height: 45px;
        min-width: 45px;
        order: 3;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        text-decoration: none;
        padding-left: 15px;
    }
    
    .login:hover {
        background-color: var(--green-light);
        color: #fff;
        border-radius: 12px;
        padding: 5px 5px;
        height: 45px;
        min-width: 45px;
        order: 3;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        text-decoration: none;
        padding-left: 15px;
    }
    
    .login i {
        background-color: #019570;
        height: 35px;
        width: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }
    /* #00563f */
    
    .login:hover {
        background-color: var(--green-light);
        transform: translateY(-2px);
    }
    
    .login p {
        font-size: 14px;
        margin: 0px;
        margin-right: 10px;
    }
    
    .btn-darkk {
        background: var(--green-dark);
        color: var(--black) !important;
        width: 100px;
    }
    
    .btn-darkk:hover {
        color: var(--green-light) !important;
    }
    
    .header-sm {
        display: none;
    }
    
    @media (max-width: 992px) {
        /* .login {
            padding: 0 10px;
            text-decoration: none;
        } */
        .login p {
            font-size: 12px;
        }
        .nav-links a {
            font-size: 14px;
        }
    }
    /* header-sm */
    
    @media (max-width: 768px) {
        .navbar {
            height: 5rem;
            padding: 3px;
        }
        .logo img {
            height: 55px;
            width: 55px;
        }
        .menu-icons {
            font-size: 30px;
            text-decoration: none;
        }
        .menu-icons {
            display: block;
            text-decoration: none;
            order: 1;
        }
        .login-1 {
            align-items: center;
            background: #e7e7e7;
            border-radius: 8px;
            color: #1f271b;
            display: flex;
            height: 35px;
            justify-content: center;
            min-width: 35px;
            /* padding: 8px; */
            margin-right: 10px;
            padding-top: 10px;
        }
        .login-1:hover {
            align-items: center;
            background: #c2c2c2;
            border-radius: 12px;
            color: #1f271b;
            display: flex;
            height: 45px;
            justify-content: center;
            min-width: 45px;
            padding: 8px;
            margin-right: 10px;
        }
        .login {
            background-color: var(--green-light);
            color: #fff;
            border-radius: 8px;
            padding: 5px 5px;
            height: 35px;
            min-width: 35px;
            order: 3;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        .login:hover {
            background-color: var(--green-light);
            color: #fff;
            border-radius: 12px;
            padding: 5px 5px;
            height: 45px;
            min-width: 45px;
            order: 3;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            text-decoration: none;
            padding-left: 15px;
        }
        .login i {
            background-color: transparent;
            height: 30px;
            width: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
        }
        .login p {
            display: none;
        }
        /* .login-1 {
        display: none;
    } */
        .logo {
            order: 2;
            margin-right: 30px;
        }
        .nav-links {
            display: none;
        }
        .shoping-sm {
            color: rgb(193, 193, 193) !important;
            border: 1px solid var(--green-light);
            border-radius: 20px;
            padding: 3px 7px;
            font-size: 13px !important;
        }
        .header-sm {
            display: none;
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            z-index: 100000000;
            padding: 20px;
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(10px);
            background-color: rgba(0, 0, 0, 0.808);
            overflow-y: scroll;
        }
        .header-sm i {
            font-size: 22px;
            color: #fff;
            cursor: pointer;
        }
        .header-sm .logo img {
            width: 50px;
            height: 50px;
        }
        .header-sm .links {
            display: block;
        }
        .header-sm .links a {
            display: block;
            color: #fff;
            font-size: 18px;
            padding: 13px 0px;
            border-bottom: 1px dashed rgb(36, 36, 36);
            text-decoration: none;
        }
        .header-sm .links .title {
            font-weight: 900;
            font-family: "Yekan1" !important;
        }
        .submenu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        .submenu.active {
            max-height: 200px;
        }
        .buttn-group-sm {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 40px;
        }
        .buttn-group-sm a {
            width: 48%;
            background-color: var(--green-light);
            color: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            height: 35px;
            text-decoration: none;
            color: white;
        }
        .buttn-group-sm a:last-child {
            width: 48%;
            background-color: transparent;
            border: 1px solid var(--green-light);
            color: var(--green-light);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            height: 35px;
        }
    }
    /*---footer---*/
    
    footer a {
        color: inherit;
        text-decoration: none;
        margin-right: 5px;
    }
    
    .footer-main {
        background: var(--white);
        border: 1px solid #e3e6ef;
        border-radius: 20px;
        box-shadow: 0 10px 18px rgba(38, 55, 85, 0.06);
        height: 273px;
    }
    
    .footer-right {
        background: var(--green-dark);
        border-radius: 20px;
        margin-top: -60px;
        width: 238px;
        height: 246px;
    }
    
    .social-icon {
        display: inline-grid;
        place-items: center;
        width: 25px;
        height: 15px;
        color: var(--coffee-brown);
        transition: transform .22s ease, background .22s ease, color .22s ease;
    }
    
    .social-icon i {
        font-size: 18px;
    }
    
    .social-icon:hover {
        transform: translateY(-4px);
        color: var(--green-light);
    }
    
    .footer-brand h2 {
        font-size: 24px;
        font-weight: 700;
        color: var(--white);
    }
    
    .footer-brand h5 {
        margin: 0;
        font-size: 16px;
        font-weight: 400;
        opacity: 0.9;
        color: var(--white);
    }
    
    .footer-logo {
        width: 73px;
        height: 60px;
        filter: drop-shadow(0 6px 10px rgba(0, 128, 96, 0.25));
        padding: 5px;
    }
    
    .footer-contact-card {
        border-radius: 12px;
        background: #edf4f1;
        color: var(--black);
        padding: 12px;
        width: 183px;
        height: 141px;
    }
    
    .footer-divider {
        border-top: 2px dashed var(--green-light);
        width: 100%;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }
    
    .footer-contact-phone {
        font-weight: 700;
        font-size: 24px;
        color: var(--green-dark);
        margin-bottom: -15px;
    }
    
    .footer-contact-meta {
        font-size: 15px;
        color: #666;
        margin: 2px 0;
        font-weight: 500;
        text-align: center;
    }
    
    .footer-left {
        border: 1px solid #e3e6ef;
        border-radius: 12px;
        padding: 15px;
        height: 203px;
        margin-right: 20px;
        margin-top: -15px;
        width: 75%;
    }
    
    .footer-col-heading {
        font-weight: 700;
        font-size: 15px;
        margin: 0 0 12px 0;
        padding: 6px 8px;
        border-radius: 6px;
        background: linear-gradient( 92.52deg, rgba(239, 242, 248, 0) -0.75%, #edf4f1 98.5%);
        color: var(--coffee-brown);
    }
    
    .footer-col-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .footer-col-list li {
        margin: 6px 0;
        font-size: 14px;
        color: #666;
        display: grid;
        grid-auto-flow: column;
        align-items: center;
        white-space: nowrap;
    }
    
    .footer-col-list li a {
        text-align: right;
    }
    
    .footer-column {
        border-left: 2px dashed #e3e6ef;
        height: 170px;
    }
    
    .footer-customer .footer-customer-cols {
        display: grid;
        grid-template-columns: repeat(2, auto);
    }
    
    .footer-address-text {
        font-size: 14px;
        color: #555;
    }
    
    .footer-address {
        border: none;
        margin-right: 6px;
    }
    
    .footer-badges {
        display: grid;
        justify-content: start;
        align-items: center;
        background: #edf4f1;
        border-radius: 8px;
        padding: 8px 12px;
        width: 100%;
        max-width: 455px;
        margin-top: 20px;
    }
    
    .footer-badge {
        width: 180px;
        object-fit: contain;
    }
    
    .footer-bottom {
        margin-top: 16px;
        text-align: center;
        color: #777;
        font-size: 13px;
    }
    
    @media (max-width: 1200px) and (min-width: 992px) {
        .footer-left {
            width: 70%;
        }
        .footer-badge {
            width: 125px;
        }
        .footer-badges {
            width: 70%;
        }
        .article-img {
            width: 140px;
        }
    }
    
    @media (max-width: 1400px) and (min-width: 992px) {
        .article-footer {
            width: 165px;
        }
        .btn-read {
            font-size: 12px;
        }
        .article-date {
            font-size: 10px;
        }
    }
    
    @media (max-width: 992px) {
        .footer-main {
            height: auto;
            margin-top: 15px;
        }
        .footer-right {
            margin-top: -65px;
            margin-bottom: 15px;
            width: 100%;
        }
        .footer-left {
            height: auto;
            margin: 0;
            width: 100%;
            max-width: 700px;
        }
        .footer-column {
            border-left: none;
            margin-bottom: 20px;
            height: auto;
            border-bottom: 2px dashed #e3e6ef;
        }
        .footer-address {
            border: none;
        }
        .footer-col-list {
            margin-bottom: 10px;
        }
    }
    /* mega menu */
    
    @media (min-width: 768px) {
        .mega-menu {
            position: relative;
            /* height: 40px;
            padding-top: 10px; */
            padding-bottom: 10px;
            padding-top: 10px;
        }
        .mega-menu:hover .mega-box {
            display: flex;
        }
        .mega-menu .mega-box {
            position: absolute;
            background-color: #fff;
            border-radius: 20px;
            padding: 20px;
            display: flex;
            width: max-content;
            justify-content: space-between;
            top: 40px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
            display: none;
        }
        .mega-menu .mega-box .item-col {
            display: block;
            margin: 5px 10px;
        }
        .mega-menu .mega-box .item-col .title {
            color: #008060;
            border-bottom: 2px solid #00af83;
            margin-top: 0px;
        }
        .mega-menu .mega-box .item-col a {
            display: block;
            margin-top: 10px;
        }
        .mega-menu .mega-box .item-col a::after {
            display: none !important;
        }
    }
    
    @media (max-width: 768px) {
        .mega-menu {
            position: relative;
            /* height: 40px;
            padding-top: 10px; */
            padding-bottom: 10px;
            padding-top: 10px;
        }
        .mega-menu:hover .mega-box {
            display: none;
        }
        .sub-menu {
            padding: 10px;
        }
        .sub-menu a {
            border-bottom: none !important;
        }
        .sub-menu .title {
            font-size: 16px !important;
            padding-right: 10px !important;
        }
        .sub-menu .item-a {
            font-size: 14px !important;
            padding-right: 25px !important;
            margin-top: 5px !important;
            padding-top: 0px !important;
        }
        .sub-menu .item-a i {
            font-size: 10px !important;
            color: #fff;
            margin-left: 5px;
        }
    }

/* Refined site header */
.navbar.navbar-fixed {
    width: calc(100% - 24px);
    max-width: 1320px;
    height: 78px;
    right: 50%;
    top: 10px;
    margin: 0;
    padding: 9px 13px;
    transform: translateX(50%);
    border: 0;
    border-radius: 22px;
    background: rgba(255,253,248,.88);
    box-shadow: 0 15px 40px rgba(0,55,39,.1), inset 0 1px rgba(255,255,255,.8);
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.navbar.navbar-fixed::before { display: none; }

.navbar.navbar-fixed > .container { max-width: none; gap: 18px; padding: 0; }
.header-brand { gap: 10px; min-width: 160px; justify-content: flex-start; text-decoration: none; }
.header-brand img { width: 58px; height: 58px; object-fit: contain; }
.header-brand > span { display: flex; flex-direction: column; line-height: 1.25; }
.header-brand strong { color: #064b37; font-family: "Yekan1" !important; font-size: 17px; }
.header-brand small { margin-top: 4px; color: #8a5a39; font-size: 9px; white-space: nowrap; }

.navbar.navbar-fixed .nav-links { gap: 3px; margin: 0; padding: 0; }
.navbar.navbar-fixed .nav-links li { margin: 0; }
.navbar.navbar-fixed .nav-links > li > a,
.navbar.navbar-fixed .mega-menu > li > a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 13px;
    border-radius: 12px;
    color: #293e36;
    font-size: 13px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.navbar.navbar-fixed .nav-links a::after { display: none; }
.navbar.navbar-fixed .nav-links > li > a:hover,
.navbar.navbar-fixed .mega-menu > li > a:hover,
.navbar.navbar-fixed .nav-links a.is-active {
    background: #e5f3eb;
    color: #006c50;
    transform: translateY(-1px);
}
.navbar.navbar-fixed .nav-links a.is-active::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: 7px;
    border-radius: 50%;
    background: #008060;
}

.navbar.navbar-fixed .login,
.navbar.navbar-fixed .login-1 {
    height: 44px;
    min-width: 44px;
    margin: 0 0 0 8px;
    border-radius: 14px;
    box-shadow: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.navbar.navbar-fixed .login {
    position: relative;
    gap: 8px;
    min-width: 128px;
    padding: 0 16px 0 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: linear-gradient(135deg, #008060, #004b37);
    box-shadow: 0 9px 22px rgba(0,86,63,.2), inset 0 1px rgba(255,255,255,.2);
}
.navbar.navbar-fixed .login::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.16) 48%, transparent 72%);
    transform: translateX(105%);
    transition: transform .45s ease;
}
.navbar.navbar-fixed .login:hover::before { transform: translateX(-105%); }
.navbar.navbar-fixed .login i {
    position: relative;
    z-index: 1;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 12px;
}
.navbar.navbar-fixed .login p { margin: 0; color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.navbar.navbar-fixed .login-1 { padding: 0; border: 1px solid rgba(0,86,63,.14); background: #edf6f1; color: #00563f; font-size: 19px; }
.navbar.navbar-fixed .login:hover,
.navbar.navbar-fixed .login-1:hover { height: 44px; min-width: 44px; border-radius: 14px; transform: translateY(-2px); box-shadow: 0 9px 20px rgba(0,86,63,.16); }
.navbar.navbar-fixed .login:hover { min-width: 128px; background: linear-gradient(135deg, #009571, #00523c); padding: 0 16px 0 18px; }
.navbar.navbar-fixed .login-1:hover { margin: 0 0 0 8px; padding: 0; background: #dfeee6; color: #00563f; }
.navbar.navbar-fixed .cart-count { right: -6px; top: -7px; border-color: #fffdf8; }

@media (min-width: 768px) {
    .navbar.navbar-fixed .mega-menu .mega-box {
        top: 49px;
        padding: 20px 22px;
        border: 1px solid rgba(0,86,63,.1);
        border-radius: 19px;
        background: rgba(255,253,248,.97);
        box-shadow: 0 22px 50px rgba(0,55,39,.13);
    }
    .navbar.navbar-fixed .mega-box .item-col .title { padding-bottom: 8px; border-bottom: 1px solid #b87943; color: #00563f; }
    .navbar.navbar-fixed .mega-box .item-col a:not(.title) { color: #56645f; font-size: 12px; }
    .navbar.navbar-fixed .mega-box .item-col a:hover { color: #008060; }
}

@media (max-width: 767px) {
    .navbar.navbar-fixed { width: calc(100% - 20px); height: 66px; top: 8px; padding: 6px 9px; border-radius: 18px; }
    .navbar.navbar-fixed > .container { flex-wrap: nowrap; gap: 7px; }
    .header-brand { min-width: 0; margin: 0; order: 2; }
    .header-brand img { width: 48px; height: 48px; }
    .header-brand > span { display: none; }
    .navbar.navbar-fixed .menu-icons { order: 1; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: #e6f3eb; color: #00563f; font-size: 0; }
    .navbar.navbar-fixed .menu-icons .icon-bars { font-size: 23px; line-height: 1; }
    .navbar.navbar-fixed .login,
    .navbar.navbar-fixed .login-1 { width: 39px; height: 39px; min-width: 39px; margin-left: 6px; border-radius: 12px; padding: 0; }
    .navbar.navbar-fixed .login:hover,
    .navbar.navbar-fixed .login-1:hover { width: 39px; height: 39px; min-width: 39px; margin-left: 6px; padding: 0; border-radius: 12px; }
    .header-sm { padding: 18px; background: linear-gradient(160deg, rgba(0,55,40,.98), rgba(0,91,67,.96)); backdrop-filter: blur(18px); }
    .header-sm .links { margin-top: 24px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(255,255,255,.055); }
    .header-sm .links a { padding: 14px 5px; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 15px; }
    .header-sm .buttn-group-sm a { border-radius: 14px; background: #f1dfc6; color: #57331f; }
}

/* Mobile navigation drawer */
body.mobile-menu-open { overflow: hidden; }

@media (max-width: 767px) {
    .header-sm {
        position: fixed;
        inset: 0;
        z-index: 100000001;
        display: flex !important;
        justify-content: flex-start;
        padding: 0;
        overflow: hidden;
        background: rgba(4,28,21,.56);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);
        transition: opacity .3s ease, visibility .3s ease;
    }

    .header-sm.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

    .mobile-menu-panel {
        position: relative;
        display: flex;
        width: min(88vw, 390px);
        height: 100%;
        flex-direction: column;
        padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
        overflow-y: auto;
        border-left: 1px solid rgba(255,255,255,.42);
        border-radius: 0 0 0 30px;
        background:
            radial-gradient(circle at 110% -5%, rgba(0,128,96,.13), transparent 35%),
            linear-gradient(180deg, #fffdf9, #f4eadc);
        box-shadow: -24px 0 70px rgba(0,24,17,.26);
        transform: translateX(105%);
        transition: transform .42s cubic-bezier(.2,.8,.2,1);
    }

    .header-sm.is-open .mobile-menu-panel { transform: translateX(0); }

    .mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid rgba(91,52,29,.11); }
    .mobile-menu-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .mobile-menu-brand img { width: 52px !important; height: 52px !important; border-radius: 14px; object-fit: contain; }
    .mobile-menu-brand > span { display: flex; flex-direction: column; }
    .mobile-menu-brand strong { color: #064b37; font-family: "Yekan1" !important; font-size: 17px; }
    .mobile-menu-brand small { margin-top: 3px; color: #8a5a39; font-size: 9px; }
    .mobile-menu-close {
        display: grid;
        width: 39px;
        height: 39px;
        place-items: center;
        border: 1px solid rgba(91,52,29,.12);
        border-radius: 13px;
        background: #f1e2cf;
        color: #70452d;
        cursor: pointer;
    }
    .header-sm .mobile-menu-close i { color: inherit; font-size: 16px; }

    .mobile-menu-intro { padding: 19px 6px 13px; }
    .mobile-menu-intro span { color: #008060; font-size: 11px; font-weight: 800; }
    .mobile-menu-intro p { margin: 5px 0 0; color: rgba(74,52,38,.66); font-size: 11px; line-height: 1.8; }

    .header-sm .links {
        display: flex;
        flex-direction: column;
        gap: 7px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .header-sm .links > a,
    .header-sm .mobile-category-toggle {
        display: grid;
        width: 100%;
        min-height: 50px;
        grid-template-columns: 36px 1fr 22px;
        gap: 9px;
        align-items: center;
        margin: 0;
        padding: 7px 10px;
        border: 1px solid rgba(0,86,63,.09);
        border-radius: 15px;
        background: rgba(255,255,255,.66);
        color: #30483e;
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
        text-align: right;
        text-decoration: none;
        cursor: pointer;
        transition: background .2s ease, color .2s ease, transform .2s ease;
    }

    .header-sm .links > a > i:first-child,
    .header-sm .mobile-category-toggle > i:first-child {
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border-radius: 11px;
        background: #e4f2e9;
        color: #007759;
        font-size: 14px;
    }
    .header-sm .links > a > i:last-child,
    .header-sm .mobile-category-toggle > i:last-child { color: #997052; font-size: 12px; transition: transform .25s ease; }
    .header-sm .links > a:hover,
    .header-sm .links > a.is-active,
    .header-sm .mobile-category-toggle.is-open { background: #e5f2e9; color: #00563f; transform: translateX(-2px); }
    .header-sm .mobile-category-toggle.is-open > i:last-child { transform: rotate(180deg); }

    .header-sm .sub-menu {
        display: grid !important;
        max-height: 0;
        padding: 0 13px;
        overflow: hidden;
        opacity: 0;
        transition: max-height .45s ease, opacity .3s ease, padding .3s ease;
    }
    .header-sm .sub-menu.is-open { max-height: 65vh; padding-top: 6px; padding-bottom: 7px; overflow-y: auto; opacity: 1; }
    .sub-menu-inner { padding-right: 14px; border-right: 2px solid rgba(0,128,96,.2); }
    .header-sm .sub-menu .item-col { margin: 0 0 11px; }
    .header-sm .sub-menu .title {
        display: block;
        margin: 0;
        padding: 8px 7px 5px !important;
        border: 0 !important;
        color: #00563f;
        font-size: 13px !important;
        text-decoration: none;
    }
    .header-sm .sub-menu .item-a {
        display: inline-flex;
        margin: 3px 0 0 5px !important;
        padding: 5px 8px !important;
        border: 0;
        border-radius: 9px;
        background: rgba(255,255,255,.52);
        color: #73513a;
        font-size: 10px !important;
        text-decoration: none;
    }

    .header-sm .buttn-group-sm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; margin-top: auto; padding-top: 20px; }
    .header-sm .buttn-group-sm a {
        display: inline-flex;
        width: 100%;
        height: 46px;
        min-height: 45px;
        margin: 0;
        padding: 0 10px;
        align-items: center;
        justify-content: center;
        gap: 7px;
        box-sizing: border-box;
        border: 1px solid transparent;
        border-radius: 14px;
        font-size: 12px;
        font-weight: 800;
        text-decoration: none;
    }
    .header-sm .buttn-group-sm .mobile-account-primary { border-color: transparent; background: linear-gradient(135deg,#008060,#00563f); color: #fff; box-shadow: 0 10px 23px rgba(0,86,63,.19); }
    .header-sm .buttn-group-sm .mobile-account-secondary { border-color: rgba(112,66,35,.18); background: #f0ddc5; color: #674029; }
    .header-sm .buttn-group-sm .mobile-account-primary:only-child { grid-column: 1 / -1; }
    .mobile-menu-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; color: rgba(77,55,40,.55); font-size: 9px; }
    .mobile-menu-note span { width: 6px; height: 6px; border-radius: 50%; background: #008060; box-shadow: 0 0 0 4px rgba(0,128,96,.1); }
}

@media (prefers-reduced-motion: reduce) {
    .header-sm,
    .mobile-menu-panel,
    .header-sm .sub-menu { transition: none !important; }
}
