.desktop-header,
.mobile-header {
    left: 0;
    width: 100%;
    z-index: 1000
}

body,
html {
    overflow-x: hidden
}

@media (max-width: 991.98px) {

    body,
    html {
        max-width: 100vw;
        position: relative
    }
}

a {
    text-decoration: none
}

.desktop-header {
    position: fixed;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 1.5rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s, visibility .3s;
    display: flex;
    flex-direction: column
}

.desktop-header.visible {
    visibility: visible;
    opacity: 1
}

.desktop-header .top-row {
    display: flex;
    align-items: center;
    width: 100%
}

.desktop-header .header-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-right: auto
}

.desktop-header .header-icons a {
    color: #212529;
    font-size: 1.5rem;
    transition: color .3s;
    display: flex;
    align-items: center
}

.desktop-header .header-icons .login-pill i {
    font-size: 1.5rem;
    color: #212529
}

.desktop-header .search-form {
    flex: 1;
    max-width: 700px;
    margin-right: 1rem;
    position: relative;
    display: flex;
    flex-direction: column
}

.desktop-header .search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #f0f0f1;
    border-radius: 8px;
    padding: .75rem 1rem;
    width: 100%;
    box-sizing: border-box
}

.search-suggest {
    top: calc(100% + 6px);
    width: 100%;
    min-height: 200px;
    box-sizing: border-box;
    transform: translateX(0)
}

#desktopSearchSuggest {
    right: 0 !important
}

.search-suggest .suggest-row {
    display: flex;
    align-items: stretch;
    scrollbar-width: thin
}

.search-suggest .suggest-row::-webkit-scrollbar {
    height: 8px
}

.search-suggest .suggest-row::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 8px
}

.search-suggest .product-card {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    box-shadow: none
}

.search-suggest .tax-section {
    padding: 4px 6px 8px
}

.search-suggest .tax-title {
    display: none
}

.search-suggest .tax-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px
}

.search-suggest .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #eee;
    border-radius: 999px;
    background: #f8f9fa;
    color: #212529;
    font-size: .75rem;
    white-space: nowrap
}

.search-suggest .chip i {
    color: #888;
    font-size: 1rem
}

.search-suggest .popular-title {
    margin-bottom: .5rem;
    font-size: .8125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 0 4px
}

.fire-icon,
.search-suggest .fire-icon {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2rem
}

.search-suggest .popular-list {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.search-suggest .popular-list::-webkit-scrollbar {
    display: none
}

.search-suggest .popular-search-btn {
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 999px;
    padding: .25rem .75rem;
    font-size: .75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    cursor: pointer;
    transition: .2s
}

.search-suggest .popular-search-btn:hover {
    background-color: #f8f9fa;
    border-color: #dc3545;
    color: #dc3545
}

.popular-list i,
.search-suggest .popular-search-btn i {
    margin: 0;
    font-size: 1rem
}

.desktop-header .search-wrapper input {
    flex: 1;
    border: none;
    background: 0 0;
    outline: 0;
    font-size: .875rem;
    padding: 0 .5rem;
    color: #333
}

.desktop-header .search-wrapper input:focus {
    background: 0 0
}

.desktop-header .search-wrapper .search-icon {
    color: #666;
    font-size: 1rem;
    margin-left: .5rem
}

.desktop-header .search-wrapper .search-loading,
.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: .5rem;
    color: #666
}

.desktop-header .search-wrapper .search-loading i {
    font-size: 1rem;
    animation: 1s linear infinite spin
}

.desktop-header .logo img {
    height: 2.1875rem;
    pointer-events: none
}

.desktop-header .nav-row {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-start;
    transition: transform .3s, opacity .3s, height .3s, margin-top .3s
}

.desktop-header .nav-row.hidden {
    transform: translateY(-100%);
    opacity: 0;
    height: 0;
    margin-top: 0;
    overflow: hidden
}

.desktop-header .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem
}

.desktop-header .nav-link {
    color: #212529;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    padding: .5rem 0
}

.categories-list .category-item.active,
.categories-list .category-item.active a,
.categories-list .category-item.active i,
.categories-list .category-item:hover,
.categories-list .category-item:hover a,
.categories-list .category-item:hover i,
.category-modal .sidebar .category-item.active i,
.category-modal .sidebar .category-item.active span,
.category-modal .sidebar .category-item:hover i,
.category-modal .sidebar .category-item:hover span,
.desktop-header .nav-link:hover,
.mega-menu .sub-menu .dropdown-item:hover h6 i {
    color: #dc3545
}

.desktop-header .nav-link i {
    margin-right: .3rem;
    transition: transform .3s
}

.desktop-header .nav-link:hover i {
    color: #dc3545;
    transform: rotate(180deg)
}

.mega-dropdown {
    position: static
}

.mega-dropdown .dropdown-menu.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 1rem 1.5rem;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    z-index: 1500;
    transition: opacity .2s;
    opacity: 0
}

.mega-dropdown .dropdown-menu.mega-menu.show {
    display: block;
    opacity: 1
}

.mega-menu .row {
    margin: 0
}

.categories-list {
    border-inline-end: 1px solid rgba(0, 0, 0, .08);
    line-height: 2
}

.categories-list .category-item {
    cursor: pointer;
    padding: .4rem .5rem;
    transition: background .2s, color .2s;
    display: flex;
    align-items: center;
    font-size: .8125rem;
    font-weight: 500
}

.categories-list .category-item a {
    color: inherit;
    text-decoration: none;
    width: 100%;
    transition: color .2s
}

.categories-list .category-item i {
    margin-left: .4rem;
    font-size: 1rem;
    color: #666;
    transition: color .2s
}

.submenus .sub-menu {
    display: none;
    transition: opacity .2s
}

.submenus .sub-menu.active {
    display: block
}

.sub-menu h6 {
    font-size: .9rem;
    margin-bottom: 1rem;
    position: relative;
    padding-right: 1rem
}

.sub-menu h6:not(.sub-menu-title)::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 1.5rem;
    background-color: #dc3545
}

.mega-menu .sub-menu .dropdown-item h6,
.sub-menu .dropdown-item {
    transition: color .2s, transform .2s;
    transform: translateX(0);
    font-size: .75rem
}

.sub-menu .dropdown-item {
    padding: .25rem 0;
    color: #81858b;
    display: inline-block
}

.sub-menu .dropdown-item:hover {
    color: #dc3545;
    background: 0 0 !important;
    transform: translateX(-5px)
}

.sub-menu-title {
    font-size: .75rem;
    color: #0dcaf0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center
}

.sub-menu-title i {
    font-size: 1rem;
    color: #0dcaf0;
    margin-right: .3rem
}

.mega-menu .sub-menu .dropdown-item h6 {
    line-height: 1.2;
    color: #212529;
    text-align: right;
    margin-bottom: .5rem;
    display: inline-flex;
    align-items: center;
    gap: .3rem
}

.mega-menu .sub-menu .dropdown-item h6 i {
    font-size: 1rem;
    color: #212529;
    transition: color .2s
}

.mobile-header {
    position: fixed;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: .75rem;
    transition: transform .3s
}

.mobile-user-menu-dropdown,
.user-menu-dropdown {
    top: 60px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    z-index: 2000;
    position: absolute;
    direction: rtl
}

.category-modal .mobile-header-container,
.mobile-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px
}

.category-modal .mobile-header-right,
.mobile-header-left,
.mobile-header-right {
    display: flex;
    align-items: center;
    gap: 1rem
}

.mobile-header-left a,
.mobile-header-right a {
    color: #000;
    font-size: 1.5rem;
    transition: color .3s
}

.category-modal .logo,
.mobile-header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%)
}

.category-modal .logo img,
.mobile-header .logo img {
    height: 35px
}

@media (min-width:992px) {
    .desktop-header {
        display: flex
    }

    .mobile-user-menu-dropdown {
        display: none !important
    }
}

.mobile-user-menu-dropdown .user-menu-list a {
    justify-content: flex-start;
    display: flex;
    align-items: center;
    padding: .7rem .5rem;
    color: #212529;
    font-size: .75rem;
    transition: background .2s, color .2s
}

.mobile-user-menu-dropdown .user-menu-list i {
    margin-left: .5rem;
    margin-right: 0;
    font-size: 1.2rem;
    color: #888
}

.mobile-user-menu-dropdown {
    left: 35px;
    width: 90vw;
    max-width: 10rem;
    padding: .5rem 0;
    display: none
}

.mobile-user-menu-dropdown.active,
.user-menu-dropdown.active {
    display: block;
    animation: .3s fadeInDown
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.mobile-user-menu-dropdown .user-menu-header {
    padding: 1rem .5rem 1rem 1.5rem;
    font-size: .8125rem;
    border-bottom: 1px solid #eee;
    color: #212529
}

.mobile-user-menu-dropdown .user-menu-list,
.user-menu-dropdown .user-menu-list {
    list-style: none;
    margin: 0;
    padding: .5rem 0
}

.mobile-user-menu-dropdown .user-menu-list li,
.user-menu-dropdown .user-menu-list li {
    border-bottom: 1px solid #f5f5f5
}

.category-modal .content .subcategory:last-child,
.category-modal .sidebar .category-item:last-child,
.mobile-user-menu-dropdown .user-menu-list li:last-child,
.user-menu-dropdown .user-menu-list li:last-child {
    border-bottom: none
}

.mobile-user-menu-dropdown .user-menu-list a:hover,
.user-menu-dropdown .user-menu-list a:hover {
    background: #f8f9fa
}

.user-menu-dropdown {
    left: 60px;
    width: 11rem;
    padding: .5rem 0;
    display: none
}

.user-menu-dropdown .user-menu-header {
    padding: 1rem .5rem 1rem 1.5rem;
    font-size: .875rem;
    border-bottom: 1px solid #eee;
    color: #212529
}

.user-menu-dropdown .user-menu-list a {
    display: flex;
    align-items: center;
    padding: .7rem .5rem;
    color: #212529;
    font-size: .8125rem;
    transition: background .2s, color .2s;
    gap: 10px
}

.user-menu-dropdown .user-menu-list i {
    font-size: 1.2rem;
    color: #888
}

.cart-badge {
    position: absolute;
    top: 18px;
    right: -10px;
    min-width: 20px;
    height: 20px;
    background: #dc3545;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    padding: 0 5px;
    z-index: 2
}

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s cubic-bezier(.4, 0, .2, 1);
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain
}

.login-modal.show,
.search-modal.show {
    opacity: 1;
    pointer-events: auto;
    visibility: visible
}

.category-modal,
.login-modal {
    visibility: hidden;
    position: fixed
}

.login-modal.hide,
.search-modal.hide {
    opacity: 0;
    pointer-events: none;
    visibility: hidden
}

.search-modal-content {
    background: #fff;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(.96) translateY(30px);
    transition: opacity .35s cubic-bezier(.4, 0, .2, 1), transform .35s cubic-bezier(.4, 0, .2, 1)
}

.login-modal.show .login-modal-content,
.search-modal.show .search-modal-content {
    opacity: 1;
    transform: scale(1) translateY(0)
}

.login-modal-content,
.login-modal.hide .login-modal-content,
.search-modal.hide .search-modal-content {
    opacity: 0;
    transform: scale(.96) translateY(30px)
}

.search-modal-body {
    padding: 1rem 1rem 1.5rem;
    height: 100%;
    overflow-y: auto;
    position: relative
}

.search-container {
    display: flex;
    align-items: center;
    background-color: #f1f1f1;
    border-radius: 12px;
    padding: .6rem 1rem;
    width: 100%;
    margin: auto;
    direction: rtl
}

#mobileSearchSuggest,
.search-button,
.search-input {
    padding: 0;
    background: 0 0
}

.search-input {
    flex: 1;
    border: none;
    outline: 0;
    font-size: .8125rem;
    line-height: 2
}

.search-input::placeholder {
    font-size: .9rem;
    color: #888
}

.search-button {
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: .5rem;
    height: 100%
}

.search-loading i {
    font-size: 1.2rem;
    animation: 1s linear infinite spin
}

@keyframes spin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.popular-title {
    margin-top: 1rem;
    font-size: .8125rem;
    font-weight: 500;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .5rem
}

.popular-list {
    margin-top: .5rem;
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.popular-list::-webkit-scrollbar {
    display: none
}

.popular-list button {
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 999px;
    padding: .25rem .75rem;
    font-size: .75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto
}

.search-suggest {
    position: absolute;
    right: 1rem;
    left: 1rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    z-index: 3000;
    padding: .5rem;
    max-height: 60vh;
    overflow: hidden
}

#mobileSearchSuggest {
    position: static;
    right: auto;
    left: auto;
    width: 100%;
    border: none;
    box-shadow: none
}

.search-suggest .suggest-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 4px 6px
}

.search-suggest .suggest-card-link {
    display: block;
    min-width: 180px;
    max-width: 200px
}

@media screen and (max-width:991.98px) {

    .search-modal,
    .search-modal-content {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important
    }

    .search-modal {
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        overflow: hidden;
        touch-action: none
    }

    .search-modal-content {
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important
    }

    .search-modal-body {
        height: 100%;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch
    }
}

.category-modal {
    opacity: 0;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1500;
    transition: .3s
}

.category-modal.show {
    visibility: visible;
    opacity: 1;
    right: 0
}

.category-modal .modal-header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: .75rem;
    z-index: 1
}

.category-modal .mobile-header-right button {
    color: #212529;
    font-size: 1.5rem;
    transition: color .3s;
    background: 0 0;
    border: none;
    padding: 0;
    cursor: pointer
}

.category-modal .modal-body {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: calc(100% - 68px);
    padding: 0;
    display: flex;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s;
    margin-top: 68px;
    overflow: hidden
}

.category-modal .content,
.category-modal .sidebar {
    height: calc(100vh - 68px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
    position: relative
}

.category-modal.show .modal-body {
    transform: translateX(0)
}

.category-modal .sidebar {
    width: 30%;
    background: #f8f9fa
}

.category-modal .sidebar::-webkit-scrollbar {
    width: 6px
}

.category-modal .sidebar::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px
}

.category-modal .sidebar .category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .75rem .5rem;
    cursor: pointer;
    transition: background .2s, color .2s;
    border-bottom: 1px solid #e0e0e2
}

.category-modal .sidebar .category-item.active,
.category-modal .sidebar .category-item:hover {
    background: #fff;
    color: #dc3545
}

.category-modal .sidebar .category-item i {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: .3rem;
    transition: color .2s
}

.category-modal .sidebar .category-item span {
    font-size: .625rem;
    color: #212529;
    text-align: center;
    line-height: 1.2;
    transition: color .2s
}

.category-modal .content {
    width: 70%;
    padding: 1rem;
    box-sizing: border-box
}

.category-modal .content::-webkit-scrollbar {
    width: 6px
}

.category-modal .content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px
}

.category-modal .content .category-title {
    font-size: .6875rem;
    font-weight: 500;
    color: #0dcaf0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.category-modal .content .category-title i {
    font-size: .75rem;
    color: #0dcaf0;
    margin-right: .3rem
}

.category-modal .content .subcategory {
    margin-bottom: .5rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: .5rem
}

.category-modal .content .subcategory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 0;
    cursor: pointer;
    font-size: .75rem;
    color: #212529;
    font-weight: 600;
    transition: color .2s
}

.category-modal .content .subcategory-header i {
    font-size: 1rem;
    color: #666;
    transition: transform .3s, color .2s
}

.category-modal .content .subcategory-header.active i {
    transform: rotate(180deg)
}

.category-modal .content .subcategory-items {
    display: none;
    padding-right: 1rem;
    flex-wrap: wrap;
    gap: .5rem
}

.category-modal .content .subcategory-items.show {
    display: flex
}

.category-modal .category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem
}

.category-modal .content .subcategory-items .subcategory-item {
    flex: 0 0 calc(33.33% - 0.5rem);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: transform .2s
}

.category-modal .content .subcategory-items .subcategory-item:hover {
    transform: scale(1.05)
}

.category-modal .content .subcategory-items .subcategory-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    box-shadow: none;
    background: #f0f0f1;
    padding: 5px;
    margin-bottom: .5rem;
    object-fit: cover
}

.category-modal .content .subcategory-items .subcategory-item i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5f5f5;
    padding: 10px;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #666
}

.category-modal .content .subcategory-items .subcategory-item span {
    font-size: .625rem;
    color: #212529;
    white-space: normal;
    word-wrap: break-word;
    max-width: 70px;
    line-height: 2;
    text-align: center
}

.login-modal {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s cubic-bezier(.4, 0, .2, 1)
}

.login-modal-content {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    padding: 2.5rem 2rem 2rem;
    max-width: 400px;
    width: 90vw;
    text-align: center;
    position: relative;
    transition: opacity .35s cubic-bezier(.4, 0, .2, 1), transform .35s cubic-bezier(.4, 0, .2, 1)
}

.login-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: 0 0;
    border: none;
    font-size: 1.5rem;
    color: #666;
    transition: color .2s
}

.login-modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem
}

.login-modal-desc {
    font-size: .6875rem;
    color: #212529bf;
    font-weight: 600
}

.login-modal-input {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: .5rem;
    outline: 0;
    transition: border .2s;
    text-align: center;
    direction: ltr;
    letter-spacing: 3px
}

.login-modal-input:focus {
    border: 1px solid #e0e0e0
}

.login-modal-submit {
    width: 100%;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .75rem 0;
    font-size: .875rem;
    font-weight: 600;
    transition: background .2s
}

.edit-phone-btn-info,
.resend-otp-btn {
    background: 0 0;
    border: none;
    padding: 0
}

.login-modal-submit:hover {
    background: #d63046
}

.login-error {
    color: #dc3545;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    min-height: 1.25rem
}

.login-error.success {
    color: #27c281
}

.edit-phone-btn-info {
    color: #0dcaf0;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    font-size: .6875rem;
    font-weight: 500;
    line-height: 1;
    transition: color .2s
}

#timerCount,
.resend-otp-btn,
.timer-text {
    color: #3f4064;
    font-size: .6875rem;
    font-weight: 500
}

.edit-phone-btn-info i {
    font-size: .875rem;
    color: #0dcaf0;
    transition: color .2s
}

.edit-phone-btn-info:hover,
.edit-phone-btn-info:hover i {
    color: #0ba5c4
}

.otp-timer-container {
    margin-bottom: 1.5rem;
    text-align: center
}

.timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .5rem;
    direction: rtl
}

#timerCount {
    direction: ltr;
    letter-spacing: 1px;
    display: inline-block
}

.timer-text {
    margin-right: .25rem
}

.resend-otp-btn {
    cursor: pointer;
    margin: 0 auto;
    display: block
}


.otp-cells-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    direction: ltr
}

.otp-cell {
    width: 50px;
    height: 50px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: .9375rem;
    font-weight: 500;
    text-align: center;
    direction: ltr;
    padding: 0;
    transition: .2s;
    background: #fff;
    color: #212529
}

.otp-cell:focus {
    border-color: #e0e0e0;
    outline: 0;
    box-shadow: none
}

@media (max-width:480px) {
    .otp-cell {
        width: 45px;
        height: 45px
    }

    .otp-cells-container {
        gap: .5rem
    }
}

.product-card {
    background: #fff;
    padding: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 12px;
    position: relative;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .08)
}

.delete-btn-container {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10
}

.delete-btn {
    background: rgba(0, 0, 0, .8);
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s, transform .2s;
    font-size: 14px
}

.delete-btn:hover {
    background: #000;
    transform: scale(1.1)
}

.variant-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px
}

.variant-image {
    width: 100%;
    aspect-ratio: 1/1;
    max-height: 220px
}

.product-name {
    font-weight: 600;
    font-size: .8125rem;
    color: #212529;
    line-height: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: 4em;
    min-height: 4em
}

.product-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0
}

.variant-discount {
    background: #d32f2f;
    color: #fff;
    border-radius: 20px;
    padding: 1px 6px;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 1;
    white-space: nowrap
}

.variant-price-container {
    text-align: end;
    flex: 1;
    min-width: 0
}

.variant-original-price {
    text-decoration: line-through;
    color: #c0c0ce;
    font-size: .75rem
}

.variant-discounted-price {
    color: #3f4064;
    font-size: .9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.currency,
.currency-sup {
    font-size: .6rem;
    font-weight: 800
}

.currency {
    color: #3f4064;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    line-height: 1
}

.currency-sup {
    position: absolute;
    top: -10px;
    right: 10px
}

.currency-text {
    display: inline;
    font-weight: inherit;
    font-size: 0.85em;
    color: inherit;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    column-gap: 8px
}

@media (min-width:375px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
        gap: 8px
    }
}

@media (min-width:600px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
        gap: 12px
    }

    .product-info {
        gap: 12px
    }

    .product-card {
        padding: 14px
    }

    .product-name {
        margin-bottom: 8px
    }

    .variant-image {
        max-height: 240px
    }
}

@media (min-width:992px) {
    .products-grid {
        grid-template-columns: repeat(4, minmax(160px, 1fr));
        gap: 16px
    }

    .product-card {
        padding: 16px;
        max-width: min(100%, 320px);
        justify-self: center
    }

    .product-name {
        margin-bottom: 12px
    }

    .variant-image {
        max-height: 260px
    }
}

@media (max-width:991.98px) {

    .product-name,
    .variant-original-price {
        font-size: .8125rem
    }

    .currency,
    .currency-sup {
        font-size: .5625rem;
        font-weight: 800
    }

    .variant-discount {
        font-size: .6875rem
    }

    .currency-sup {
        top: -10px
    }

    .variant-discounted-price {
        font-size: .875rem
    }
}

@media (max-width:374px) {

    .product-name,
    .variant-original-price {
        font-size: .75rem
    }

    .variant-discounted-price {
        font-size: .8125rem
    }

    .currency,
    .currency-sup {
        font-size: .5rem;
        font-weight: 800
    }
}

.error-toast-message,
.success-toast-message,
.warning-toast-message {
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    line-height: 1.5
}

.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.error-toast,
.success-toast,
.warning-toast {
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    padding: 16px 20px;
    min-width: 300px;
    max-width: 90%;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: .3s ease-out toastSlideIn
}

.error-toast-icon,
.success-toast-icon,
.warning-toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex
}

.success-toast-icon {
    background: #28a745;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.error-toast-icon i,
.success-toast-icon i,
.warning-toast-icon i {
    color: #fff;
    font-size: 14px
}

.success-toast-message {
    flex: 1;
    color: #2e7b32
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0)
    }

    to {
        opacity: 0;
        transform: translateY(-20px)
    }
}

.error-toast.hiding,
.success-toast.hiding,
.warning-toast.hiding {
    animation: .3s ease-out forwards toastSlideOut
}

.warning-toast-icon {
    background: #ffc107;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.warning-toast-message {
    flex: 1;
    color: #856404
}

.error-toast-icon {
    background: #dc3545;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.error-toast-message {
    flex: 1;
    color: #721c24
}

@media (max-width:991px) {
    .user-menu-dropdown {
        display: none !important
    }

    .category-modal .content,
    .category-modal .modal-body,
    .category-modal .sidebar {
        height: calc(100dvh - 68px)
    }

    .toast-container {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box
    }

    .error-toast-icon i,
    .error-toast-message,
    .success-toast-icon i,
    .success-toast-message,
    .warning-toast-icon i,
    .warning-toast-message {
        font-size: 13px
    }

    .error-toast-icon,
    .success-toast-icon,
    .warning-toast-icon {
        width: 22px;
        height: 22px
    }

    .error-toast,
    .success-toast,
    .warning-toast {
        padding: 14px 18px;
        min-width: auto;
        width: 100%;
        max-width: 100%
    }
}

/* Footer Styles */
.back-to-top {
    background-color: transparent;
    color: #81858b;
    border: 1px solid #81858b;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.8125rem;
}

.back-to-top:hover {
    background-color: transparent;
    color: #dc3545;
    border-color: #dc3545;
}

footer h5 {
    font-size: 1rem;
    color: #3f4064;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer .galin-footer-container {
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
    max-width: 1320px;
    box-sizing: border-box;
}

footer .galin-footer-container ul li,
footer .galin-footer-container ul li a,
footer .galin-footer-container .footer-link {
    color: #81858b;
    font-weight: 500;
    font-size: 0.875rem;
}

footer .galin-footer-container ul li {
    margin-bottom: 1.25rem;
}

footer .galin-footer-container ul li a {
    transition: all 0.3s ease;
    display: inline-block;
}

footer .galin-footer-container ul li a:hover,
footer .galin-footer-container ul li a:focus,
footer .galin-footer-container ul li a:active {
    color: #dc3545;
    text-decoration: none;
    transform: translateX(-4px);
}

footer .galin-footer-container .footer-link {
    transition: all 0.3s ease;
    display: inline-block;
}

footer .galin-footer-container .footer-link:hover,
footer .galin-footer-container .footer-link:focus,
footer .galin-footer-container .footer-link:active {
    color: #dc3545;
    text-decoration: none;
    transform: translateX(-4px);
}

footer address {
    font-style: normal;
}

.footer-top-section {
    padding: 2rem 0;
}

.footer-link {
    text-decoration: none;
    color: #3f4064;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover,
.footer-link:focus,
.footer-link:active {
    color: #dc3545;
    text-decoration: none;
    transform: translateX(-4px);
}

.footer-about-text {
    color: #81858b;
    font-weight: 500;
    line-height: 2;
    text-align: justify;
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    justify-content: flex-start;
    align-items: center;
}

.footer-contact-label {
    color: #3f4064;
}

.footer-working-hours {
    color: #81858b;
    font-weight: 500;
}

footer .footer-contact-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

footer .footer-contact-wrapper strong {
    white-space: nowrap;
}

.footer-badge {
    width: 160px;
    height: 160px;
    min-width: 160px;
    min-height: 160px;
    max-width: 160px;
    max-height: 160px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
    flex-shrink: 0;
}

.footer-enamad-container {
    width: 160px;
    height: 160px;
    min-width: 160px;
    min-height: 160px;
    max-width: 160px;
    max-height: 160px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}

.footer-enamad-container img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.footer-badge-placeholder {
    width: 160px;
    height: 160px;
    min-width: 160px;
    min-height: 160px;
    max-width: 160px;
    max-height: 160px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #f8f9fa;
    display: inline-block;
    flex-shrink: 0;
}

.footer-copyright {
    color: #81858b;
    font-size: 0.875rem;
    padding: 1rem 0;
}

.footer-logo-placeholder {
    width: 150px;
    height: 50px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    display: inline-block;
    background-color: #f8f9fa;
}

footer .footer-logo {
    display: flex;
    align-items: center;
}

footer .footer-logo img {
    height: 2.1875rem;
    width: auto;
    max-width: 100%;
}

.footer-accordion-item {
    border: none;
    background-color: transparent;
    margin-bottom: 0;
    border-bottom: 1px solid #e9ecef;
    border-radius: 0;
}

.footer-accordion-button {
    background-color: transparent !important;
    border: none;
    color: #212529;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 1rem 0;
    width: 100%;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none !important;
    border-radius: 0;
}

.footer-accordion-button:not(.collapsed) {
    background-color: transparent !important;
    border-radius: 0;
}

.footer-accordion-button::after {
    display: none !important;
    content: none !important;
}

.footer-accordion-button .accordion-icon {
    flex-shrink: 0;
    margin-right: auto;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.footer-accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(180deg);
}

.footer-accordion-body {
    padding: 0 0 1rem 0;
    background-color: transparent;
    border-radius: 0;
}

.footer-accordion-button:focus {
    box-shadow: none !important;
}

.footer-accordion {
    display: none;
}

@media (max-width: 992px) {
    footer .galin-footer-container {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    footer .galin-footer-container ul li,
    footer .galin-footer-container ul li a,
    footer .galin-footer-container .footer-link {
        font-size: 0.8125rem;
    }

    .container.py-4.galin-footer-container {
        padding-top: 0 !important;
    }

    footer .galin-footer-container ul li {
        margin-bottom: 1.25rem !important;
    }

    footer h5 {
        font-size: 0.8125rem;
        color: #212529;
        font-weight: 600;
    }

    .footer-working-hours {
        font-size: 0.8125rem !important;
    }

    .footer-about-text {
        font-size: 0.8125rem !important;
    }

    .footer-badges {
        gap: 0.5rem;
        justify-content: center;
    }

    .footer-badge,
    .footer-badge-placeholder {
        width: calc(33.333% - 0.5rem);
        max-width: 110px;
        min-width: 90px;
        height: calc(33.333% - 0.5rem);
        max-height: 110px;
        min-height: 90px;
        aspect-ratio: 1;
    }

    .footer-enamad-container {
        width: calc(33.333% - 0.5rem);
        max-width: 110px;
        min-width: 90px;
        height: calc(33.333% - 0.5rem);
        max-height: 110px;
        min-height: 90px;
        aspect-ratio: 1;
        padding: 10px;
    }

    .footer-logo-placeholder {
        width: 120px;
        height: 40px;
    }

    footer .footer-logo img {
        height: 35px;
    }

    .footer-accordion {
        display: block;
    }

    .footer-contact-label {
        font-size: 0.8125rem;
        color: #212529;
        font-weight: 600;
    }
}

@media (max-width: 375px) {
    footer .galin-footer-container {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
}

/* Page Loader - Loading Dots */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #da5757;
    display: inline-block;
    animation: dot-bounce 1.4s ease-in-out infinite both;
}

.loading-dots .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots .dot:nth-child(2) {
    animation-delay: -0.16s;
}

.loading-dots .dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes dot-bounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.order-summary-row [id^="total-discount"],
.order-summary-row [id^="wallet-credit-discount"],
.order-summary-row.text-success .price,
.order-summary-row .discount-price {
    color: #28a745;
}

.order-summary-row.text-success {
    color: #28a745;
}