/**
 * Header Styles
 */
 * {
    font-family: 'IRANYekanX', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.site-header {
    padding: 0px;
    margin: 6px 20px;
    position: relative;
    z-index: 200;
    border-radius: 20px;
    overflow: visible;
    position: sticky;
    top: 6px;
}

 .wth-header-top-banner {
     width: 100%;
     line-height: 0;
     margin-top: -1px;
 }

 .wth-header-top-banner img {
     width: 100%;
     height: 3rem;
     display: block;
     object-fit: fill;
 }

@media (min-width: 769px) {
    .site-header.no-sticky-desktop {
        top: auto;
    }
}

@media (max-width: 480px) {
    .site-header.no-sticky-mobile {
        top: auto;
    }

    .wth-header-top-banner img {
        height: 2rem;
        object-fit: cover;
    }
}

.site-header.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-container {
    border-radius: 20px;
    box-shadow: 0px 2px 6px 1px rgb(135 145 172 / 20%);
    max-width: 100%;
    box-sizing: border-box;
}

.header-top {
    padding: 0px 0px;
    max-width: 100%;
}

.site-header.header_2 .header-top {
    padding: 0px 0px 10px;
    max-width: 100%;
}

.header-top .container {
 /* max-width: none; */
    margin: 0 auto;
    padding: 18px;
    width: 100%;
    box-sizing: border-box;
}

.header-top-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.header-login {
    flex-shrink: 0;
}

.login-btn {
    display: inline-block;
    background: var(--wetheme-gradient);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.site-header.header_2 .login-btn {
    gap: 8px;
    color: #333;
    height: 53px;
    border: none;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wetheme-primary-color);
    border-radius: 50px;
    gap: 3px;
    padding: 4px;
    padding-left: 5px;
}

.site-header.header_2 .login-btn i {
    font-size: 28px;
    display: flex;
    justify-content: center;
    width: 38px;
    color: #fff;
}

.site-header.header_2 .login-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    background: #fff;
    padding: 8px 15px 8px 15px;
    background-color: #fff;
    border-radius: 50px;
    min-width: 105px;
    height: 100%;
}

.site-header.header_2 .login-btn-text small {
    font-size: 10px;
    color: #666;
    font-weight: 400;
    line-height: 1;
}

.site-header.header_2 .login-btn-text span {
    font-size: 12px;
    color: #333;
    font-weight: 600;
    line-height: 1;
}

.login-btn:focus,
.login-btn:active {
    outline: none;
    text-decoration: none;
    color: #fff;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-right: auto;
    flex-shrink: 0;
    padding-left: 10px;
    flex-wrap: nowrap;
}

.site-header.header_2 .header-icons {
    padding-left: 0px;
}

.header-account {
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-account .account-icon-user {
    display: none !important;
}

.header-cart {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.site-header.header_2 .header-cart {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--wetheme-primary-color);
    border-radius: 50px;
    gap: 3px;
    padding: 4px;
    padding-left: 5px;
}

.site-header.header_2 .header-cart-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    background: #fff;
    padding: 8px 13px 8px 13px;
    background-color: #fff;
    border-radius: 50px;
    gap: 5px;
    min-width: 95px;
    height: 100%;
}

.site-header.header_2 .header-cart-text small {
    font-size: 10px;
    color: #666;
    font-weight: 400;
    line-height: 1;
}

.site-header.header_2 .header-cart-text .bill {
    font-size: 12px;
    color: #333;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.site-header.header_2 .header-cart-text .bill .woocommerce-Price-amount {
    font-size: 13px;
    font-weight: 700;
}

.site-header.header_2 .header-cart-text .bill .woocommerce-Price-currencySymbol {
    font-size: 10px;
}

.header-wishlist,
.header-search {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cart-icon,
.wishlist-icon,
.search-toggle,
.account-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 45px;
  height: 45px;
  color: #333;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  line-height: 1;
  font-size: 0;
}

.site-header.header_2 .cart-icon {
  width: 38px;
  color: #fff;
}

.site-header .cart-icon:hover,
.site-header .wishlist-icon:hover,
.site-header .search-toggle:hover,
.site-header .account-icon:hover {
  background: #f8f9fa;
  color: var(--wetheme-primary-color);
}

.site-header.header_2 .cart-icon:hover {
    color: #fff;
}


.header-cart .cart-icon {
  position: relative;
  z-index: 1000;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.header-cart .cart-icon:hover {
  position: relative;
  z-index: 1001;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  background: transparent !important;
}

.site-header .cart-icon svg,
.site-header .wishlist-icon svg,
.site-header .search-toggle svg,
.site-header .account-icon svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.site-header .cart-icon i,
.site-header .wishlist-icon i,
.site-header .search-toggle i,
.site-header .account-icon i {
  font-size: 24px;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: inline-block;
}

.site-header.header_2 .cart-icon i {
    font-size: 27px;
    line-height: 1;
}

.cart-count,
.wishlist-count {
    position: absolute;
    background: var(--wetheme-primary-color);
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    min-width: 16px;
    animation: cartPulse 2s infinite;
    z-index: 200;
}
.site-header.header_2 .cart-count{
    background: #111;
    color: #fff;
}

@keyframes cartPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--wetheme-gradient-color-1) 70%, transparent);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px color-mix(in srgb, var(--wetheme-gradient-color-1) 0%, transparent);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--wetheme-gradient-color-1) 0%, transparent);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header.header_2 .header-cart {
        padding: 0;
        background: transparent;
    }

    .site-header.header_2 .header-cart {
        background: transparent;
    }

    
    .site-header.header_2 .header-cart-text {
        display: none;
        padding: 0;
    }

    .site-header .cart-icon i, .site-header .wishlist-icon i, .site-header .search-toggle i, .site-header .account-icon i {
        font-size: 24px;
    }

    .site-header.header_2 .cart-icon {
        color: #333;
    }
    
    .site-header.header_2 .header-cart-text small {
        font-size: 9px;
    }
    
    .site-header.header_2 .header-cart-text .bill {
        font-size: 11px;
    }
    
    .site-header.header_2 .header-cart-text .bill .woocommerce-Price-amount {
        font-size: 12px;
    }
    
    .site-header.header_2 .cart-icon i {
        font-size: 25px;
        line-height: 1;
        width: 24px;
        height: 24px;
    }
    
    .cart-icon svg,
    .wishlist-icon svg,
    .search-toggle svg,
    .account-icon svg {
        width: 23px;
        height: 23px;
    }
}

@media (max-width: 480px) {
    .site-header.header_2 .header-cart {
        gap: 0;
        padding: 0;
    }

    .site-header.header_2 .cart-count {
    background: var(--wetheme-primary-color);
    color: #fff;
    }

    .site-header.header_2 .cart-icon {
        width: 32px;
    }

    .site-header .cart-icon i, .site-header .wishlist-icon i, .site-header .search-toggle i, .site-header .account-icon i {
        font-size: 24px;
    }
    
    .site-header.header_2 .header-cart-text {
        min-width: 70px;
        padding: 5px 8px 5px 8px;
    }
    
    .site-header.header_2 .header-cart-text small {
        font-size: 8px;
    }
    
    .site-header.header_2 .header-cart-text .bill {
        font-size: 10px;
    }
    
    .site-header.header_2 .header-cart-text .bill .woocommerce-Price-amount {
        font-size: 11px;
    }
    
    .site-header.header_2 .cart-icon i {
        font-size: 24px;
        line-height: 1;
        width: 22px;
        height: 22px;
    }

    .site-header .cart-icon i, .site-header .wishlist-icon i, .site-header .search-toggle i, .site-header .account-icon i {
        font-size: 24px;
    }
    
    .cart-icon svg,
    .wishlist-icon svg,
    .search-toggle svg,
    .account-icon svg {
        width: 22px;
        height: 22px;
    }
}

.cart-icon:focus,
.cart-icon:active,
.wishlist-icon:focus,
.wishlist-icon:active,
.search-toggle:focus,
.search-toggle:active,
.account-icon:focus,
.account-icon:active {
    outline: none;
    text-decoration: none;
    color: #252d3f;
}

.main-navigation {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.hamburger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #f7b401;
    border-radius: 6px;
    margin-right: 8px;
}

.hamburger-icon svg {
    color: #fff;
}

.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 133px;
    padding: 0;
}

.site-logo {
    max-width: 100%;
    display: flex;
    align-items: center;
}

.custom-logo-img {
    max-height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

 body.wetheme-logo-effect .site-logo img.custom-logo-img {
     will-change: transform;
     transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
     -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 50%) right / 300% 100%;
     mask: linear-gradient(-60deg, #000 30%, #0005, #000 50%) right / 300% 100%;
     background-repeat: no-repeat;
     animation: logo_effect 3s infinite !important;
 }

 @keyframes logo_effect {
     0% {
         -webkit-mask-position: 140% 140%;
         mask-position: 140% 140%;
     }

     100% {
         -webkit-mask-position: -20% -20%;
         mask-position: -20% -20%;
     }
 }

/* Desktop logo */
.custom-logo-desktop {
    display: block;
}

.custom-logo-desktop--light {
    display: block !important;
}

.custom-logo-desktop--dark {
    display: none !important;
}

.custom-logo-mobile {
    display: none;
}

.custom-logo-mobile--light {
    display: none !important;
}

.custom-logo-mobile--dark {
    display: none !important;
}

/* Mobile logo */
@media (max-width: 768px) {
    .custom-logo-desktop {
        display: none !important;
    }
    
    .custom-logo-mobile--light {
        display: block !important;
    }
    
    .custom-logo-mobile--dark {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body.bah-theme-dark .custom-logo-mobile--light {
        display: none !important;
    }

    body.bah-theme-dark .custom-logo-mobile--dark {
        display: block !important;
    }
}

@media (min-width: 769px) {
    body.bah-theme-dark .custom-logo-desktop--light {
        display: none !important;
    }

    body.bah-theme-dark .custom-logo-desktop--dark {
        display: block !important;
    }
}

.custom-logo img {
    max-height: 40px;
    width: auto;
}

.site-title a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #000;
}

.site-title a:focus,
.site-title a:active {
    outline: none;
    text-decoration: none;
    color: #000;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-part-1 {
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

.logo-part-2 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
}

.search-form {
    align-items: center;
    background: #fff;
    border: none;
    overflow: hidden;
}

.search-field {
    flex: 1;
    padding: 20px;
    border: none;
    outline: none;
    font-size: 18px;
    background: transparent;
}

.search-submit {
    padding: 20px;
    background: var(--wetheme-primary-color) ;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-search-bar {
    display: none;
    padding: 0 20px 24px;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    direction: rtl;
    position: relative;
}

.mobile-search-input {
    flex: 1;
    background: #fff;
    font-size: 13px !important;
    padding: 15px 15px !important;
    border-radius: 15px !important;
}

.mobile-search-input::placeholder {
    color: rgba(37, 45, 63, 0.4);
}

.mobile-search-input:focus {
    outline: none;
}

.mobile-search-submit {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: var(--wetheme-primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.mobile-search-submit i {
    font-size: 22px;
}

.mobile-search-submit:hover {
    transform: translateY(-50%) translateY(-1px);
    box-shadow: 0 6px 18px rgba(247, 180, 1, 0.35);
}

.mobile-search-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(247, 180, 1, 0.3);
}

[dir="ltr"] .mobile-search-form {
    direction: ltr;
}

[dir="ltr"] .mobile-search-submit {
    right: auto;
    left: 10px;
}

[dir="ltr"] .mobile-search-input {
    padding: 8px 12px 8px 70px;
}

@media (max-width: 1200px) {    
    .header-top-content {
        gap: 15px;
    }

    .main-navigation {
        padding-left: 24px;
    }
}

@media (max-width: 992px) {


    .mobile-search-bar {
        display: block;
    }

    .site-branding {
        order: 1;
        width: 100%;
        justify-content: center;
    }

    .header-icons {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .header-login {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .header-wishlist {
        display: none !important;
    }

    .header-login .login-btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    .main-navigation {
        order: 4;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
}

@media (max-width: 768px) {
    .header-top {
        padding: 0;
    }

    .header-container {
        overflow: visible;
        box-shadow: none;
    }
    .header-top {
        position: sticky;
        top: 0;
        z-index: 1000;
        overflow: visible;
        background: #fff;
    }

    #page {
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
        overflow: visible !important;
    }

    .site-header {
        margin: 0;
        border-radius: 0;
        top: 0px;
        margin-bottom: 5px;
        width: 100%;
    }

    .site-header.sticky-header {
        left: 12px;
        right: 12px;
    }
    
    .header-top-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .mobile-menu-toggle-btn {
        order: 1;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 8px;
        background: transparent;
        border: 0;
    }

    .site-branding {
        order: 2;
        flex: 1 1 auto;
        width: auto;
        justify-content: center;
    }

    .header-icons {
        order: 3;
        flex: 0 0 auto;
        width: auto;
        gap: 12px;
        padding-left: 0;
        justify-content: flex-start;
    }

    .header-login {
        display: none;
    }

    .main-navigation {
        display: none;
    }
        
    .login-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .header-icons {
        gap: 15px;
    }

    .header-account {
        display: flex !important;
    }

    .header-wishlist,
    .header-search {
        display: none !important;
    }
    
    .cart-count,
    .wishlist-count {
        top: -5px;
        right: -5px;
        width: 16px;
        height: 16px;
        font-size: 10px;
        min-width: 16px;
    }

    .header-container{
        width: 100%;
        max-width: 100%;
        overflow: visible;
        border-radius: 15px;
    }
    .header-top {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        border-radius: 15px;
    }

    .site-header.header_2 .header-top {
    padding: 0px 0px;
    }

    .header-top .container {
        max-width: 100%;
        box-sizing: border-box;
        padding: 12px 15px 5px 15px;
    }

    .mobile-search-bar {
        padding: 0 16px 20px;
    }
    
    .cart-icon,
    .wishlist-icon,
    .search-toggle,
    .account-icon {
        width: 36px;
        height: 36px;
    }
    
    .custom-logo-img {
        max-height: 40px;
    }
}


@media (max-width: 768px) {
    body.bah-theme-dark .mobile-menu-toggle-btn .hamburger-line{
        background: #ffffff !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    #page {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    .site {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .mobile-search-bar {
        display: block;
        padding: 10px 20px 24px;
    }

    .header-account {
        display: flex !important;
    }
    
    .header-account .account-icon-call {
        display: none !important;
    }
    
    .header-account .account-icon-user {
        display: flex !important;
    }

    .cart-icon i, .wishlist-icon i, .search-toggle i, .account-icon i {
        font-size: 26px;
    }

    .mobile-menu-toggle-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 8px;
        background: transparent;
        border: 0;
    }

    .header-wishlist,
    .header-search {
        display: none !important;
    }

    .main-navigation {
        display: none;
    }

    /* Hide header-down section for Header Type 2 on mobile */
    .site-header.header_2 .header-down {
        display: none;
    }

    .header-top-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-menu-toggle-btn {
        order: 1;
        flex-shrink: 0;
    }

    .site-branding {
        order: 2;
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        overflow: hidden;
        text-align: center;
    }

    .header-icons {
        order: 3;
        flex: 0 0 auto;
        gap: 15px;
        padding-left: 0;
        justify-content: flex-start;
        flex-shrink: 0;
        width: auto;
        max-width: none;
    }

    .header-login {
        display: none;
    }

    .site-header.header_2 .header-cart {
        background: transparent;
    }

    .site-header.header_2 .cart-icon {
        color: #333;
    }
}
@media (max-width: 480px) {
    .site-header {
        margin: 10px auto;
        width: calc(100% - 20px);
        max-width: 100%;
        overflow: visible;
        border-radius: 15px;
        position: sticky;
        top: 10px;
    }

    .site-header.sticky-header {
        left: 10px;
        right: 10px;
    }

    .site-header.header_2 .header-down {
        display: none;
    }

    .header-top .container {
        padding: 15px 10px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mobile-search-bar {
        padding: 4px 17px 20px;
    }

    .login-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .header-icons {
        gap: 12px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .cart-icon,
    .wishlist-icon,
    .search-toggle,
    .account-icon {
        width: 32px;
        height: 32px;
    }
    
    .cart-count,
    .wishlist-count {
        top: -5px;
        right: -5px;
        width: 16px;
        height: 16px;
        font-size: 10px;
        min-width: 16px;
    }
    
    .custom-logo-img {
        max-height: 30px;
    }
    
    .site-logo {
        max-width: 150px;
    }

    .header-container {
        border: 1px solid #cccccc;
    }
}

[dir="rtl"] .header-top-content {
    flex-direction: row;
}

[dir="rtl"] .dropdown-menu {
    left: auto;
    right: 0;
}

[dir="rtl"] .cart-count,
[dir="rtl"] .wishlist-count {
    left: auto;
    right: -3px;
    top: 0;
}

.site-header.header_2 .cart-count {
    left: auto;
    right: -4px;
    top: -4px;
}

@media (max-width: 768px) {
    [dir="rtl"] .cart-count,
    [dir="rtl"] .wishlist-count {
        right: auto;
        left: -5px;
    }
}

@media (max-width: 480px) {
    [dir="rtl"] .cart-count,
    [dir="rtl"] .wishlist-count {
        left: auto;
        right: -5px;
    }

    .site-header.header_2 .cart-count {
    left: auto;
    right: -5px;
    top: 0px;
    }
}

[dir="rtl"] .hamburger-icon {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .logo-icon {
    order: 2;
}

[dir="rtl"] .logo-text {
    order: 1;
}

[dir="rtl"] .search-close {
    right: auto;
    left: 0;
}

/* Dark Mode */

body.bah-theme-dark .header-container {
    background: #232328 !important;
}

body.bah-theme-dark .mobile-search-input {
    background: #232328 !important;
    color: #f9fafb !important;
    border: 1px solid #343434;
}

body.bah-theme-dark .mobile-search-input::placeholder {
    color: #9ca3af !important;
}

body.bah-theme-dark #header-search-field.header-search-input {
    background: #232328 !important;
    color: #f9fafb !important;
    border-color: #767676 !important;
}

body.bah-theme-dark #header-search-field.header-search-input::placeholder {
    color: #9ca3af !important;
}

body.bah-theme-dark .site-header.header_2 .header-down .container-fluid {
    background: #232328 !important;
    box-shadow: 0px 4px 20px rgb(0 0 0 / 45%);
}

body.bah-theme-dark .site-header.header_2 {
    background: #232328 !important;
}

body.bah-theme-dark .cart-icon,
body.bah-theme-dark .wishlist-icon,
body.bah-theme-dark .search-toggle,
body.bah-theme-dark .account-icon {
    color: #fff !important;
}

body.bah-theme-dark .cart-icon i,
body.bah-theme-dark .wishlist-icon i,
body.bah-theme-dark .search-toggle i,
body.bah-theme-dark .cart-icon .iconly,
body.bah-theme-dark .cart-icon .isax,
body.bah-theme-dark .wishlist-icon .iconly,
body.bah-theme-dark .wishlist-icon .isax,
body.bah-theme-dark .search-toggle .iconly,
body.bah-theme-dark .search-toggle .isax,
body.bah-theme-dark .account-icon .iconly,
body.bah-theme-dark .account-icon .isax {
    color: #fff !important;
}

body.bah-theme-dark .cart-icon svg,
body.bah-theme-dark .wishlist-icon svg,
body.bah-theme-dark .search-toggle svg,
body.bah-theme-dark .account-icon svg {
    fill: #fff !important;
    color: #fff !important;
}

body.bah-theme-dark .cart-icon svg path,
body.bah-theme-dark .wishlist-icon svg path,
body.bah-theme-dark .search-toggle svg path,
body.bah-theme-dark .account-icon svg path {
    fill: #fff !important;
    stroke: #fff !important;
}

body.bah-theme-dark .cart-icon:hover,
body.bah-theme-dark .wishlist-icon:hover,
body.bah-theme-dark .search-toggle:hover,
body.bah-theme-dark .account-icon:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

body.bah-theme-dark .cart-icon:hover i,
body.bah-theme-dark .wishlist-icon:hover i,
body.bah-theme-dark .search-toggle:hover i,
body.bah-theme-dark .cart-icon:hover .iconly,
body.bah-theme-dark .cart-icon:hover .isax,
body.bah-theme-dark .wishlist-icon:hover .iconly,
body.bah-theme-dark .wishlist-icon:hover .isax,
body.bah-theme-dark .search-toggle:hover .iconly,
body.bah-theme-dark .search-toggle:hover .isax,
body.bah-theme-dark .account-icon:hover .iconly,
body.bah-theme-dark .account-icon:hover .isax {
    color: #fff !important;
}

body.bah-theme-dark .main-category-item > a {
    color: #fff !important;
}

body.bah-theme-dark .main-category-item > a i {
    color: #fff !important;
}

body.bah-theme-dark .main-menu a {
    color: #fff ;
}

body.bah-theme-dark .main-menu a i {
    color: #fff !important;
}

body.bah-theme-dark .main-category-item > a:hover {
    color: var(--wetheme-primary-color) !important;
}

body.bah-theme-dark .site-header.header_2 .main-menu > .main-category-item:first-child > a:hover {
    color: #fff !important;
}

@media (max-width: 768px) {
    body.bah-theme-dark .header-top {
        background: #232328 !important;
    }
}

/* Mobile bottom */
.mobile-navbar-menu {
    display: none;
    position: fixed;
    bottom: 8px;
    left: 8px;
    right: 8px;
    z-index: 10;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.15);
    border-radius: 22px;
    overflow: visible;
}

.mobile-bottom-navabr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 6px 12px;
    position: relative;
}

.mobile-bottom-navitem {
    flex: 1;
    text-align: center;
}

.mobile-bottom-navitem--highlight i{
    color: #ffffff;
    background: var(--wetheme-primary-color);
    padding: 17px;
    margin-top: -20px;
    border-radius: 50px;
}
.mobile-bottom-navitem--highlight span {
    color: var(--wetheme-primary-color);
}

.mobile-bottom-navitem a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 9px;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
}

.mobile-bottom-navitem i {
    font-size: 25px;
    color: #333;
}

.mobile-bottom-navitem__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-bottom-navitem .navitem-check {
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #0cd259;
    color: #fff;
    font-size: 9px;
    line-height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(35%, -35%);
}

.mobile-bottom-navitem .cart-count {
    position: absolute;
    top: -8px;
    left: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #ef394e;
    color: #fff;
    font-size: 10px;
    line-height: 16px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 76px;
    }

    .mobile-navbar-menu {
        display: block;
    }
}

/* Curve mobile navbar */
.mobile-navbar-menu .mobile-navbar-curve {
    position: absolute;
    top: -58px;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    height: 59px;
    pointer-events: none;
}

.mobile-navbar-menu .mobile-navbar-curve svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mobile-navbar-menu .mobile-navbar-curve path {
    fill: var(--mobile-navbar-curve-color, #ffffff);
}

/* Dark mode support */
body.bah-theme-dark .mobile-navbar-menu {
    background: #1f2430;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
}

body.bah-theme-dark .mobile-bottom-navitem a {
    color: #f2f4f8;
}

body.bah-theme-dark .mobile-bottom-navitem i {
    color: #e6e9ef;
}

body.bah-theme-dark .mobile-bottom-navitem--highlight i{
    background: var(--wetheme-primary-color);
    color: #1f2430;
}

body.bah-theme-dark .mobile-bottom-navitem--highlight span {
    color: var(--wetheme-primary-color);
}

body.bah-theme-dark .mobile-navbar-menu .mobile-navbar-curve path {
    fill: var(--mobile-navbar-curve-color, #1f2430);
}

/* Header Type 2 */

.site-header.header_2 {
    margin: 0;
    border-radius: 0;
    top: 0px;
    justify-items: center;
    margin-bottom: 92px;
}

@media (max-width: 768px) {
    .site-header.header_2.no-sticky-desktop {
        top: auto;
    }

    .site-header.header_2 {
        margin: 0;
        border-radius: 0;
        top: 0px;
        margin-bottom: 5px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .site-header.header_2.no-sticky-mobile {
        top: auto;
    }
}

.site-header.header_2 .header-container {
    border-radius: 0;
    max-width: 1600px;
    width: 100%;
    box-shadow: none;
}

.site-header.header_2 .header-top .container-fluid {
    max-width: 100% ;
    width: 100% ;
    padding-top: 15px;
    padding-left: 20px;
    padding-right: 20px;
}

 .site-header.header_2 .header-down {
     padding: 10px 20px 20px 20px;
     max-width: 100%;
     margin-top: -1px;
 }

@media (min-width: 768px) {
    .site-header.header_2 .header-top {
        position: relative;
        border-radius: 0;
    }

    .site-header.header_2 .header-container {
        border: none;
    }

    .site-header.header_2 .header-down {
        max-height: var(--wetheme-header2-down-max-height, 500px);
        transition: transform 0.35s ease;
        will-change: transform;
        box-shadow: unset;
        position: absolute;
        background: #fff;
        left: 0;
        top: 100%;
        right: 0;
        z-index: -1;
        transform: translateY(0);
    }

    body.bah-theme-dark .site-header.header_2 .header-down {
        background: #232328;
    }

    .site-header.header_2.wetheme-header2-down-hidden .header-down {
        transform: translateY(-100%);
        pointer-events: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    .site-header.header_2 {
        margin-bottom: 0;
    }
}

.site-header.header_2 .header-down .container-fluid {
    max-width: 1600px !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 5px 7px;
    border-radius: 50px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0px 4px 15px rgb(0 0 0 / 13%);
}

.site-header.header_2 .header-down .main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0px 0;
}

.site-header.header_2 .header-search-field {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 202;
    padding-right: 10px;
}

.site-header.header_2 .header-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 202;
}

.site-header.header_2 .header-search-input {
    padding: 15px;
    padding-right: 25px;
    border: 1px solid #cecece;
    border-radius: 50px;
    font-size: 14px;
    min-width: 550px;
    transition: all 0.3s ease;
    position: relative;
    background: #fff;
}

.site-header.header_2 .header-search-input:focus {
    outline: none;
}

.site-header.header_2 .header-search-submit {
    position: absolute;
    left: 6px;
    background: transparent;
    border: none;
    padding: 10px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a4a4a4;
    transition: color 0.3s ease;
}


.site-header.header_2 .header-search-submit i {
    font-size: 25px;
}

.main-category-item > a {
    color: var(--header-text-color, #0a0a0a);
}

@media (max-width: 768px) {
    .mobile-menu-toggle-btn .hamburger-line {
        background: var(--header-icon-menu-color, #545d6e) !important;
    }

    .site-header.header_2 .header-top .container-fluid {
        padding: 12px 15px 5px 15px;
    }
    
    .site-header.header_2 .header-down {
        padding: 15px;
    }

    .mobile-bottom-navitem i {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .site-header.header_2 {
        margin: 10px auto;
        border-radius: 15px;
        top: 10px;
        width: calc(100% - 20px);
        max-width: 100%;
    }

    .site-header.header_2 .header-container {
        border-radius: 15px;
        box-shadow: 0px 2px 6px 1px rgb(135 145 172 / 20%);
    }

    .site-header.header_2 .header-top .container-fluid {
        padding: 15px 10px;
    }
    
    .site-header.header_2 .header-down {
        padding: 10px;
    }

    .mobile-bottom-navitem i {
        font-size: 25px;
    }
}
@media (min-width: 701px) and (max-width: 768px) {
    .mobile-search-bar { display: block; padding: 10px 20px 24px; }
    .header-account { display: flex !important; }
    .header-account .account-icon-call { display: none !important; }
    .header-account .account-icon-user { display: flex !important; }
    .header-wishlist, .header-search { display: none !important; }
    .main-navigation { display: none; }
    .site-header.header_2 .header-down { display: none; }
    .header-top-content { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 12px; width: 100%; box-sizing: border-box; }
    .mobile-menu-toggle-btn { display: inline-flex !important; }
    .site-header.header_2 .header-cart-text { display: none; }
}


@media screen and (min-width: 769px) and (max-width: 1024px) {
    .site-header.header_2 .header-cart-text { display: none; }
}

