p:empty {
    margin-bottom: 0;
}

.required:after {
    content: ' *';
    color: #fc655e;
}

.product-attributes {
    ul {
        padding-left: 0;
        list-style: none;
    }
}

.half-circle-spinner {
    box-sizing: border-box;

    * {
        box-sizing: border-box;
    }

    width: 60px !important;
    height: 60px !important;
    margin: 20px auto;
    border-radius: 100%;
    position: relative !important;

    &:after {
        display: none !important;
    }

    .circle {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 100%;
        border: calc(30px / 10) solid transparent;

        &.circle-1 {
            border-top-color: $color-brand;
            animation: half-circle-spinner-animation 1s infinite;
        }

        &.circle-2 {
            border-bottom-color: $color-brand;
            animation: half-circle-spinner-animation 1s infinite alternate;
        }
    }
}

@keyframes half-circle-spinner-animation {
    0% {
        transform: rotate(0deg);

    }
    100% {
        transform: rotate(360deg);
    }
}

.button-loading, .btn-loading {
    border: 1px solid #c4cdd5;
    cursor: default;
    text-shadow: none;
    color: transparent !important;
    position: relative;
    -webkit-transition: border-color .2s ease-out;
    transition: border-color .2s ease-out;

    span {
        color: transparent !important;
    }
}

.button-loading, .button-loading:hover, .button-loading:focus, .button-loading:active,
.btn-loading, .btn-loading:hover, .btn-loading:focus, .btn-loading:active {
    color: transparent
}

.button-loading:before, .btn-loading:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border-width: 3px;
    border-style: solid;
    margin-top: -9px;
    margin-left: -9px;
    width: 18px;
    height: 18px;
    -webkit-animation: button-loading-spinner .7s linear infinite;
    animation: button-loading-spinner 1s linear infinite;
    border-color: #ffffff;
    border-bottom-color: transparent
}

.button-loading, .btn-loading {
    &.btn-fill-out {
        color: transparent !important;
        border: 1px solid $color-brand;

        &:before {
            width: 18px;
            background-color: transparent;
            border-color: $color-brand;
            border-bottom-color: transparent;
        }

        &:after {
            display: none;
        }
    }
}

@-webkit-keyframes button-loading-spinner {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes button-loading-spinner {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

#alert-container {
    top: 100px;
    right: 5px;
    position: fixed;
    z-index: 9999999;

    .alert {
        max-width: 450px !important;
        min-height: 45px !important;
        font-weight: 400;
        position: relative;
        padding: 15px 40px 15px 60px;
        margin-bottom: 10px;
        box-shadow: 0 4px 10px 0 rgba(3, 3, 3, 0.1);

        &.alert-success {
            color: #299c77;
            background-color: #bff9d0;
        }

        .message-icon {
            position: absolute;
            left: 5%;
            top: 30%;
            font-size: 20px;
            fill: #299c77;
            stroke: #299c77;
        }

        &.alert-dismissible {
            .close {
                position: absolute;
                top: 5px;
                right: 15px;
                font-size: 10px;
                padding: 0;
            }
        }

    }
}

body.show-admin-bar {
    #alert-container {
        top: 140px;
    }

    .mobile-header-wrapper-style {
        top: 40px;
    }

    .sticky-bar.stick {
        top: 40px;
    }
}

.widget__title {
    margin-bottom: 20px;
    text-transform: capitalize;
    font-weight: 600;
    letter-spacing: 0.3px;
    font-size: 1.25rem;
}

.attribute-name {
    margin-bottom: 5px;
}

.attribute-values {
    ul {
        margin: 0;
        padding: 0;
        padding-left: 5px;
        list-style: none;
    }
}

.widget--colors {
    .color-swatch {
        li {
            display: inline-block;
            vertical-align: top;
            margin-right: 10px;
            margin-bottom: 5px;
        }
    }
}

.custom-checkbox, .custom-radio {
    input[type="checkbox"], input[type="radio"] {
        display: none;
    }

    label {
        display: block;
    }

    span {
        display: block;
        border-radius: 50%;
        width: 25px;
        height: 25px;
        position: relative;
        cursor: pointer;
    }

    input[type="checkbox"]:checked ~ span, input[type="radio"]:checked ~ span {
        &:before {
            content: "";
            display: inline-block;
            font-style: normal;
            font-variant: normal;
            text-rendering: auto;
            line-height: 1;
            position: absolute;
            right: 3px;
            top: -3px;
            background: $color-brand;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: 1px solid #fff;
        }
    }

    &.disabled {
        label {
            position: relative;

            &:before,
            &:after {
                content: "";
                position: absolute;
                top: 50%;
                left: 50%;
                width: 1px;
                height: 90%;
                background-color: var(--hover-main-color);
                transform-origin: 50% 50%;
                transition: all 0.4s ease;
                z-index: 20;
            }

            &:before {
                transform: translate(-50%, -50%) rotate(45deg);
            }

            &:after {
                transform: translate(-50%, -50%) rotate(-45deg);
            }
        }

        span {
            opacity: .9;
        }

        input[type="checkbox"]:checked ~ span, input[type="radio"]:checked ~ span {
            &:before {
                display: none;
            }
        }
    }
}

.rating_wrap {
    .rating {
        font-family: uicons-regular-straight !important;
        vertical-align: top;
        overflow: hidden;
        position: relative;
        height: 20px;
        width: 80px;
        display: inline-block;

        &::before {
            font-size: 12px;
            content: "\f225\f225\f225\f225\f225";
            top: 0;
            position: absolute;
            left: 0;
            float: left;
            color: #d2d2d2;
            letter-spacing: 2px;
            font-weight: 900;
        }
    }

    .rating_num {
        font-size: 12px;
        display: inline-block;
        color: #696969;
    }

    .product_rate {
        overflow: hidden;
        font-family: uicons-regular-straight !important;
        top: 0;
        left: 0;
        position: absolute;
        padding-top: 1.5em;
        color: #EDB867;

        &::before {
            font-size: 12px;
            content: "\f225\f225\f225\f225\f225";
            top: 0;
            position: absolute;
            left: 0;
            letter-spacing: 2px;
            font-weight: 900;
        }
    }
}

.ps-checkbox {
    position: relative;
    display: block;

    > input {
        position: absolute;
        visibility: hidden;
        box-sizing: border-box;
    }

    label {
        margin-bottom: 0;
        position: relative;
        padding-left: 30px;
        font-weight: 400;
        cursor: pointer;

        &:before {
            content: "";
            display: block;
            position: absolute;
            z-index: 10;
            transition: all .4s ease;
            left: 0;
            top: 0;
            height: 20px;
            width: 20px;
            border: 1px solid #000;
        }

        &:after {
            content: "";
            display: block;
            position: absolute;
            z-index: 10;
            transition: all .4s ease;
            top: 4px;
            left: 7px;
            width: 6px;
            height: 10px;
            border: 2px solid #fff;
            border-top: none;
            border-left: none;
            opacity: 0;
            transform: rotate(0deg);
        }
    }

    input[type=checkbox]:checked ~ label {
        &:before {
            background-color: #222;
            border-color: #222;
        }

        &:after {
            transform: rotate(45deg);
            opacity: 1;
        }
    }
}

.ps-my-account {
    margin-top: 40px;
}

.customer-page {
    .profile-sidebar {
        .profile-usermenu {
            li.list-group-item {
                a {
                    &.active {
                        color: $color-brand;
                    }
                }
            }
        }
    }
}

// Customer Overview Page Improvements - Scoped to bb-customer-page only
.bb-customer-page {
    // Custom text-muted color for better readability
    .text-muted {
        color: #4b5563 !important;
    }

    .bb-customer-profile-wrapper {
        margin-bottom: 2rem;

        .bb-customer-profile {
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
            border: 1px solid #e5e7eb;
            transition: all 0.3s ease;

            &:hover {
                border-color: #d1d5db;
            }

            .bb-customer-profile-avatar {
                position: relative;
                width: 96px;
                height: 96px;
                margin: 0 auto;

                @media (min-width: 768px) {
                    margin: 0;
                }

                .bb-customer-profile-avatar-img {
                    width: 100%;
                    height: 100%;
                    border-radius: 50%;
                    object-fit: cover;
                    border: 3px solid #ffffff;
                    transition: transform 0.3s ease;

                    &:hover {
                        transform: scale(1.05);
                    }
                }

                .bb-customer-profile-avatar-overlay {
                    position: absolute;
                    bottom: 0;
                    right: 0;
                    background: $color-brand;
                    border-radius: 50%;
                    width: 32px;
                    height: 32px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border: 3px solid #ffffff;
                    cursor: pointer;
                    transition: all 0.3s ease;

                    &:hover {
                        transform: scale(1.1);
                        filter: brightness(0.9);
                    }

                    input[type="file"] {
                        display: none;
                    }

                    label {
                        cursor: pointer;
                        color: #ffffff;
                        margin: 0;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 100%;
                        height: 100%;
                        font-size: 14px;

                        svg, i {
                            width: 16px;
                            height: 16px;
                        }
                    }
                }
            }

            .bb-customer-profile-info {
                h2, h4 {
                    color: $color-heading;
                    margin-bottom: 0.5rem;
                    font-weight: 700;

                    strong {
                        color: $color-brand;
                        font-weight: 700;
                    }
                }

                p {
                    color: #4b5563;
                    line-height: 1.6;
                    margin-bottom: 0;
                }
            }
        }
    }

    // Quick Actions Cards - Bootstrap 5 opacity fix with darker, more saturated colors for better contrast
    .card {
        &.bg-primary.bg-opacity-10 {
            background-color: #cce5ff !important;
            border-color: #99ccff;
            transition: all 0.3s ease;

            &:hover {
                border-color: #66b3ff;
                transform: translateY(-2px);
            }

            .bg-primary.bg-opacity-20 {
                background-color: #b3d9ff !important;
            }

            .card-body {
                .card-title {
                    color: #004085 !important;
                    font-weight: 600;
                }

                .card-text {
                    color: #00366d !important;
                }
            }

            .btn-primary {
                background-color: $color-primary;
                border-color: $color-primary;
                transition: all 0.3s ease;

                &:hover {
                    filter: brightness(0.9);
                    transform: translateY(-1px);
                }
            }
        }

        &.bg-success.bg-opacity-10 {
            background-color: #b8e6cc !important;
            border-color: #85d9a8;
            transition: all 0.3s ease;

            &:hover {
                border-color: #5ccc8f;
                transform: translateY(-2px);
            }

            .bg-success.bg-opacity-20 {
                background-color: #9fdfb8 !important;
            }

            .card-body {
                .card-title {
                    color: #0f5132 !important;
                    font-weight: 600;
                }

                .card-text {
                    color: #0a3d26 !important;
                }
            }

            .btn-success {
                background-color: $color-success;
                border-color: $color-success;
                transition: all 0.3s ease;

                &:hover {
                    filter: brightness(0.9);
                    transform: translateY(-1px);
                }
            }
        }

        &.bg-warning.bg-opacity-10 {
            background-color: #ffe9b8 !important;
            border-color: #ffd88a;
            transition: all 0.3s ease;

            &:hover {
                border-color: #ffc966;
                transform: translateY(-2px);
            }

            .bg-warning.bg-opacity-20 {
                background-color: #ffdd99 !important;
            }

            .card-body {
                .card-title {
                    color: #8b5a00 !important;
                    font-weight: 600;
                }

                .card-text {
                    color: #664200 !important;
                }
            }

            .btn-warning {
                background-color: $color-warning;
                border-color: $color-warning;
                color: #ffffff;
                transition: all 0.3s ease;

                &:hover {
                    filter: brightness(0.9);
                    transform: translateY(-1px);
                }
            }
        }

        &.bg-info.bg-opacity-10 {
            background-color: #b8e0e8 !important;
            border-color: #8dccd9;
            transition: all 0.3s ease;

            &:hover {
                border-color: #66bccb;
                transform: translateY(-2px);
            }

            .bg-info.bg-opacity-20 {
                background-color: #a3d6df !important;
            }

            .card-body {
                .card-title {
                    color: #055160 !important;
                    font-weight: 600;
                }

                .card-text {
                    color: #033d47 !important;
                }
            }

            .btn-info {
                background-color: $color-info;
                border-color: $color-info;
                color: #ffffff;
                transition: all 0.3s ease;

                &:hover {
                    filter: brightness(0.9);
                    transform: translateY(-1px);
                }
            }
        }
    }

    // Icon circles in quick action cards
    .rounded-circle {
        &.p-3 {
            width: 56px;
            height: 56px;
            display: inline-flex;
            align-items: center;
            justify-content: center;

            svg, i {
                font-size: 24px;
            }
        }

        &.d-inline-flex {
            display: inline-flex !important;
        }
    }

    // Text white utility
    .text-white {
        color: #ffffff !important;

        svg, i {
            color: #ffffff !important;
            stroke: #ffffff !important;
            fill: #ffffff !important;
        }
    }
}

.avatar-upload {
    .avatar-input {
        border: none;
    }
}

.list-content-loading {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: none;
    margin: -15px;
    border-radius: 3px;

    .half-circle-spinner {
        .circle.circle-1 {
            border-top-color: #fff;
        }

        .circle.circle-2 {
            border-bottom-color: #fff;
        }
    }

    .half-circle-spinner {
        position: absolute;
        top: 200px;
        left: 0;
        right: 0;

        .circle {
            border: 5px solid transparent;
        }
    }
}

@media screen and (max-width: 768px) {
    .list-content-loading {
        top: 15px;
    }

    .post-list {
        .post-thumb {
            max-width: 100%;
        }
    }
}

.product-cart-wrap {
    .product-action-1 {
        a.action-btn, button {
            &.button-loading {
                background-color: $color-brand !important;
                text-indent: -9999px;

                &:before {
                    left: 50%;
                    -webkit-animation: button-loading-spinner .7s linear infinite;
                    animation: button-loading-spinner 1s linear infinite;
                    border: 3px solid;
                    border-color: #fff #fff transparent;
                    opacity: 1;
                    margin-bottom: 0;
                    visibility: visible;
                }

                &:after {
                    display: none;
                }
            }

        }
    }
}

.cart-dropdown-wrap {
    .shopping-cart-footer {
        .shopping-cart-total {
            h5 {
                color: #9b9b9b;
                font-weight: 500;
                font-size: 12px;
                margin: 0 0 5px;

                span {
                    font-size: 15px;
                    float: right;
                }
            }

        }
    }

    li.content-loading {
        position: relative;

        &:before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            border-radius: 50%;
            border-width: 1px;
            border-style: solid;
            margin-top: -9px;
            margin-left: -9px;
            width: 18px;
            height: 18px;
            -webkit-animation: button-loading-spinner 0.7s linear infinite;
            animation: button-loading-spinner 1s linear infinite;
            border-color: $color-brand;
            border-bottom-color: transparent;
        }

        &:after {
            content: "";
            position: absolute;
            top: -10px;
            right: -10px;
            left: -10px;
            bottom: -10px;
            background: rgba(0, 0, 0, 0.02);
        }
    }
}

.cart-dropdown-wrap {
    ul {
        li {
            .shopping-cart-title {
                h3 {
                    small {
                        font-size: 80%;
                        color: #9b9b9b;
                    }
                }
            }
        }
    }
}


.product__attribute {
    .attribute-swatch-item {
        &.pe-none {
            cursor: not-allowed !important;

            > div {
                pointer-events: none !important;
            }
        }
    }
}

.cart-dropdown-wrap {
    small {
        font-size: 80%;
    }
}

.slick-slide {
    figure {
        a {
            display: block;
        }
    }

    img {
        display: block;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 480px) {
    .carousel-4-columns, .carousel-6-columns {
        max-width: none;
    }
}

.progress {
    span {
        width: auto;
        min-width: 45px;
    }
}

.rate {
    display: flex;

    > {
        input {
            display: none;
        }

        label {
            overflow: hidden;
            white-space: nowrap;
            cursor: pointer;
            font-size: 0;
            line-height: 0;
            color: #ffc700;

            &:before {
                content: '★';
                font-size: 20px;
                line-height: 1;
                display: inline-block;
                transition: color .35s ease;
                color: inherit;
                width: 20px;
                text-align: center;
            }
        }

        input:checked {
            ~ label {
                color: #cccccc;
            }

            + label {
                color: #ffc700;
            }
        }
    }

    &:hover > label {
        color: #ffc700 !important;
    }

    > input:hover {
        ~ label {
            color: #cccccc !important;
        }

        + label {
            color: #ffc700 !important;
        }
    }
}

small {
    font-size: 80%;
}

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

.product-cart-wrap {
    .product-content-wrap {
        h2 {
            line-height: 25px;
        }
    }
}

.single-content {
    article.entry-wraper {
        @import 'reset-styles';
    }
}

.single-content {
    article.entry-wraper {
        .single-more-articles {
            ul {
                list-style: none;
            }
        }
    }
}

#quick-view-modal {
    .modal-body {
        &.modal-empty {
            min-height: 500px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }

    .form-group {
        margin-bottom: 0;
    }
}

.form-subscribe {
    button {
        white-space: nowrap;
    }
}

.header-info.header-info-right {
    > ul {
        > li {
            img {
                vertical-align: top;
                margin-top: 1px;
            }
        }
    }
}

.header-wrap {
    min-height: 60px;
}

.categories-dropdown-wrap {
    ul {
        li.has-children {
            .dropdown-menu {
                min-width: 0;
            }
        }
    }

    .mega-menu-col {
        ul {
            li {
                width: 100%;
            }
        }
    }
}

.post-thumb {
    .entry-meta {
        a {
            white-space: nowrap;
        }
    }
}

.entry-meta.meta-1 span {
    &:last-child {
        &:before {
            display: none;
        }
    }
}

.section--shopping-cart {
    .table-responsive {
        padding: 0 10px;

        .table--cart {
            &.content-loading {
                &:after {
                    right: -10px;
                    left: -10px;
                }
            }
        }
    }
}

.section--shopping-cart .table--cart {
    &.content-loading {
        position: relative;

        &:before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            border-radius: 50%;
            border-width: 1px;
            border-style: solid;
            margin-top: -9px;
            margin-left: -9px;
            width: 18px;
            height: 18px;
            -webkit-animation: button-loading-spinner 0.7s linear infinite;
            animation: button-loading-spinner 1s linear infinite;
            border-color: $color-brand;
            border-bottom-color: transparent;
        }

        &:after {
            content: "";
            position: absolute;
            top: -10px;
            right: 0;
            left: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.02);
        }
    }
}

.product-extra-link2 {
    a {
        height: 44px;
        line-height: 44px;
    }
}

.has-buy-now-button {
    .button {

        &.button-buy-now {
            background-color: $color-primary;
            position: relative;
            padding: 0px 20px;
            border-radius: 5px;
            border: 0;
            height: 50px;
            line-height: 50px;
            font-weight: 700;
            font-size: $font-md;
            font-family: $font-heading;
        }
    }
}

.deal-co {
    margin: 15px 0;
}

.popular-categories {
    .card-1 {
        h5 {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    }
}

.preloader {
    z-index: 9999999;
}

.header-info > ul > li > ul.language-dropdown {
    padding: 0;
    border-radius: 0;
}

@media screen and (max-width: 768px) {
    .hero-slider-content, .hero-slider-content-2 {
        margin-bottom: 20px;
    }
}


.image-upload__uploader-container {
    .image-upload__uploader {
        line-height: 13px;
    }
}

.block--review {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;

    .block__header {
        display: flex;
        justify-content: flex-start;
        align-items: center;

        img {
            border: 1px solid #ddd;
            border-radius: 50%;
        }

        h5 {
            margin-bottom: 0;
            font-size: 14px;
            font-weight: 600;
            line-height: 1.6em;
            color: $color-heading;
        }

        .block__info {
            padding-left: 15px;
        }
    }

    .block__content {
        padding-top: 10px;
    }

    &:last-child {
        margin-bottom: 25px;
        padding-bottom: 25px;
        border-bottom: none;
    }

    .block__content {
        padding-top: 0;
    }

    .block__header {
        align-items: start;
    }

    > .block__header {
        padding-bottom: 15px;

        p {
            color: $color-heading;

            i {
                margin-right: 0;
                font-size: 16px;
            }

            span {
                color: $color-heading;
                font-weight: inherit;
                margin-left: .5em;
            }
        }
    }
}

.btn {
    &.btn-danger {
        background: #fff;
        color: #b02a37;
        border-color: #b02a37;

        &:hover {
            background-color: #bb2d3b;
            color: #fff;
        }
    }
}

.categories-dropdown-inner {
    > ul {
        width: 50%;
    }
}

.header-top-ptb-1 {
    #news-flash {
        li {
            min-height: 15px;
            margin-top: 2px !important;

            i {
                vertical-align: top;
                margin-top: -2px;
            }
        }
    }
}

.mobile-social-icon {
    a {
        align-items: center;
        vertical-align: middle;
        border-radius: 3px;
        color: #fff;
        display: inline-block;
        font-size: 14px;
        height: 34px;
        line-height: 34px;
        margin-right: 10px;
        text-align: center;
        transition-duration: .5s;
        width: 34px;

        img {
            width: 16px;
            height: 16px;
        }

        &.linkedin {
            background-color: #0e76a8;
            border: 1px solid #0e76a8;
        }

        &.facebook {
            background-color: #3b5999;
            border: 1px solid #3b5999;
        }

        &.twitter {
            background-color: #55acee;
            border: 1px solid #55acee;
        }

        &.tumblr {
            background-color: #35465c;
            border: 1px solid #35465c;
        }

        &.instagram {
            background-color: #e4405f;
            border: 1px solid #e4405f;
        }
    }
}

.card-2 {
    .heading-card {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 10px;
    }
}

.range {
    .label-input {
        span {
            &.from, &.to {
                font-weight: 600;
            }

            &.to {
                &:before {
                    content: "- ";
                }
            }
        }
    }
}

.shop-product-filter-header {
    button.submit, button[type=submit] {
        border-radius: 4px;
    }

    .card {
        margin-bottom: 20px;
    }
}

.shop-filter-toggle {
    &.is-filtering {
        .title {
            position: relative;

            &:after {
                background: $color-hot;
                border-radius: 50%;
                content: " ";
                height: 7px;
                position: absolute;
                top: 10%;
                width: 7px;
            }
        }
    }
}

.list-of-suggestions {
    li {
        cursor: pointer;
        font-weight: 500;

        &:hover {
            background-color: $border-color;
        }
    }
}

@media only screen and (min-width: 1400px) {
    .col-xxl-1-5 {
        width: 20%;
    }
    .col-xxl-2-5 {
        width: 40%;
    }
    .col-xxl-3-5 {
        width: 60%;
    }
    .col-xxl-4-5 {
        width: 80%;
    }
    .col-xxl-5-5 {
        width: 100%;
    }
}

.tags-checkbox, .tags-radio {
    input[type="checkbox"], input[type="radio"] {
        display: none;
    }

    label {
        display: block;
    }

    span {
        cursor: pointer;
        display: inline-block;
        border-radius: 30px;
        box-shadow: $box-shadown-2;
        padding: 10px 20px;
        border: 1px solid $border-color;
        font-family: $font-heading;
        font-size: $font-lg;
        font-weight: 700;

        i {
            color: $color-muted;
            font-size: 10px;

            &:before {
                content: "\f143";
            }
        }
    }

    input[type="checkbox"]:checked ~ span, input[type="radio"]:checked ~ span {
        color: $color-brand;

        i {
            color: $color-brand;

            &:before {
                content: "\f15d";
            }
        }
    }

    &.disabled {
        label {
            position: relative;

            &:before,
            &:after {
                content: "";
                position: absolute;
                top: 50%;
                left: 50%;
                width: 1px;
                height: 90%;
                background-color: var(--hover-main-color);
                transform-origin: 50% 50%;
                transition: all 0.4s ease;
                z-index: 20;
            }

            &:before {
                transform: translate(-50%, -50%) rotate(45deg);
            }

            &:after {
                transform: translate(-50%, -50%) rotate(-45deg);
            }
        }

        span {
            opacity: .9;
        }

        input[type="checkbox"]:checked ~ span, input[type="radio"]:checked ~ span {
            &:before {
                display: none;
            }
        }
    }
}

.mobile-header-wrapper-style .mobile-header-wrapper-inner .mobile-header-content-area .mobile-header-info-wrap .single-mobile-header-info {
    .mobile-language-active {
        position: relative;

        span {
            display: inline-block;
            position: absolute;
            right: 0;
            top: 5px;

            i {
                font-size: 13px;
            }
        }
    }

    .lang-curr-dropdown {
        ul {
            padding-left: 15px;

            li {
                a {
                    font-size: 13px;
                    color: #253D4E;
                    font-weight: 400;
                }
            }
        }
    }
}

@media only screen and (max-width: 768px) {
    .header-action-2 {
        .header-action-icon-2 {
            &:first-child {
                padding: 0;
            }

            > a {
                span.pro-count {
                    height: 16px;
                    width: 16px;
                    font-size: 11px;
                    line-height: 16px;
                }

                img {
                    max-width: 20px;
                }
            }
        }
    }

    .logo {
        &.logo-width-1 {
            a {
                img {
                    width: auto;
                    min-width: 0;
                    max-width: 150px;
                }
            }
        }
    }
}

.comment-form {
    input {
        background: #f4f5f9;
        border: 2px solid #f4f5f9;
        border-radius: 50px;
        height: 45px;
        -webkit-box-shadow: none;
        box-shadow: none;
        padding-left: 20px;
        font-size: 13px;
        color: #4f5d77;
        width: 100%;
    }

    button {
        font-size: 15px;
        font-weight: 500;
        padding: 12px 40px;
        color: #ffffff;
        border: none;
        background-color: $color-brand;
        border-radius: 50px;

        &:hover {
            background-color: $color-primary !important;
            border: none !important;
        }
    }
}

.form-group--icon {
    .product-cat-label {
        position: relative;
        white-space: nowrap;
        color: #444;
        font-size: 14px;
        min-height: 42px;
        border-right: none;
        padding: 3px 35px 3px 20px;
        transition: all 0.3s ease 0s;
        -moz-appearance: none;
        -webkit-appearance: none;
        line-height: 42px;

        &:after {
            color: #444;
            content: "\f10c";
            display: inline-block;
            font-family: uicons-regular-straight !important;
            font-size: 10px;
            position: absolute;
            right: 12px;
            top: 3px;
        }

        &:before {
            content: '';
            height: 20px;
            width: 1px;
            background-color: #CACACA;
            position: absolute;
            right: 0;
            top: 15px;
        }
    }

    .product-category-select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer;
        height: 100%;
        left: 0;
        min-height: 42px;
        opacity: 0;
        padding-left: 10px;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 10;
    }
}

.shop-product-filter-header {
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 50px;
    padding: 30px;
    box-shadow: 0 -3px 23px rgb(0 0 0 / 6%);

    .custome-checkbox {
        max-height: 300px;
        overflow: auto;
    }

    .show-advanced-filters {
        display: inline-block;
        margin-top: 30px;
        margin-bottom: 20px;

        i {
            font-size: 8px;
        }

        .angle-down {
            display: none;
        }

        &.active {
            .angle-down {
                display: inline-block;
            }

            .angle-up {
                display: none;
            }
        }
    }

    .advanced-search-widgets {
        margin-bottom: 40px;

        .card {
            border: none;
            border-radius: 0;
            box-shadow: none;
            padding: 0;
        }
    }
}

.faqs-list {
    h4 {
        margin-top: 30px;
        margin-bottom: 10px;

        &:first-child {
            margin-top: 0;
        }
    }

    .card {
        margin-bottom: 10px;
        border: 1px solid rgba(0, 0, 0, .125) !important;

        .card-header {
            background: #fff;
            border-radius: 0;

            h2 {
                button {
                    font-size: 16px;
                    font-weight: 600;
                    color: #333;
                    background: #fff;
                    text-decoration: none !important;
                    position: relative;
                    display: block;
                    width: 100%;
                    padding: 0;
                    border: none;
                    text-transform: none;
                    padding-inline-end: 45px;

                    &::after {
                        color: #ced4da;
                        position: absolute;
                        right: 0;
                        top: -7px;
                        border: 1px solid #ced4da;
                        width: 40px;
                        height: 40px;
                        line-height: 30px;
                        border-radius: 50%;
                        content: "";
                        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' d='M8 0a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2H9v6a1 1 0 1 1-2 0V9H1a1 1 0 0 1 0-2h6V1a1 1 0 0 1 1-1z' clip-rule='evenodd'/%3e%3c/svg%3e");
                        background-repeat: no-repeat;
                        background-size: 1.25rem;
                        background-position: center;
                        transform: scale(.7) !important;
                        transition: transform .2s ease-in-out;
                    }

                    &:not(.collapsed)::after {
                        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' d='M0 8a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1z' clip-rule='evenodd'/%3e%3c/svg%3e");
                    }
                }
            }
        }
    }
}

.products-listing {
    margin-bottom: 80px;
}

// Currently when page loads, default will add style="overflow: visible;", so .modal-open{overflow: hidden;} doesn't work
body.modal-open {
    overflow: hidden !important;
}

.product-cart-wrap {
    height: calc(100% - 30px);

    &.style-2 {
        height: 100%;

        .product-content-wrap {
            h2 {
                min-height: 50px;
            }
        }
    }
}

.block--review {
    .block__images {
        &.block__images_total {
            a {
                height: auto;
            }
        }
    }
}

.pagination-area {
    .pagination {
        .page-item {
            &.disabled {
                .page-link {
                    background-color: #f2f3f4;
                }
            }

            .page-link {
                line-height: 40px !important;
                border-radius: 40px !important;
            }
        }
    }
}

@media screen and (min-width: 993px) {
    .mobile-header-wrapper-style.sidebar-visible {
        opacity: 0;
        transform: translate(200px);
        visibility: hidden;
    }

    .mobile-menu-active .body-overlay-1 {
        opacity: 0;
        visibility: hidden;
    }
}

.product-cart-wrap {
    .product-img-action-wrap {
        padding: 0;
        margin-bottom: 25px;
        max-height: none;
    }
}

.product-detail {
    .title-detail {
        font-size: 25px;
    }

    .detail-info {

        .product-price {
            .current-price {
                font-size: 35px;
            }
        }

        .product-badges {
            display: inline-block;
            margin-right: 10px;
            margin-bottom: 20px;

            span {
                border-radius: 20px;
                color: #fff;
                display: inline-block;
                font-size: 12px;
                line-height: 1;
                padding: 9px 20px 10px;
            }
        }
    }
}

.main-menu {
    nav {
        ul {
            li {
                a {
                    line-height: 20px;
                }
            }
        }
    }
}

.main-menu > nav > ul > li ul.sub-menu li {
    margin-bottom: 15px;
}

.main-menu > nav > ul > li ul.sub-menu li ul.level-menu {
    padding: 15px 0;
}

.product-extra-link2 a {
    height: 50px;
    line-height: 50px;
}

.widget-area {
    .single-post {
        h5 {
            font-size: 15px;
        }
    }
}

.cart-dropdown-wrap {
    ul {
        li {
            flex-wrap: nowrap;
        }
    }
}

@media only screen and (max-width: 768px) {
    .header-action-right {
        .cart-dropdown-wrap {
            ul {
                max-height: 300px;
                overflow-x: hidden;
                overflow-y: scroll;
            }
        }
    }
}

@media (max-width: 1440px) {
    .banner-left-icon {
        display: block !important;
        text-align: center;

        .banner-icon {
            max-width: 100%;
            margin-right: 0;

            img {
                max-width: 60px;
            }
        }
    }
}

@media only screen and (max-width: 1200px) {
    .main-categories-wrap {
        .et {
            display: none !important;
        }
    }
}

.mfp-bg {
    z-index: 10400 !important;
}

.mfp-wrap {
    z-index: 10500 !important;
}

.ps-custom-scrollbar {
    max-height: 250px;
    overflow-y: scroll;

    .mCS-dark.mCSB_scrollTools {
        .mCSB_dragger .mCSB_dragger_bar {
            background-color: rgb(102, 102, 102);
        }

        .mCSB_draggerRail {
            background: rgb(204, 204, 204, .9);
        }

        .mCSB_dragger .mCSB_dragger_bar, .mCSB_draggerRail {
            width: 6px;
            border-radius: 0 !important;
            opacity: 1 !important;
        }
    }
}

select.form-control {
    height: 32px;
    -webkit-appearance: inherit;
    -moz-appearance: inherit;
    appearance: auto;
}

.alert-dismissible {
    .btn-close {
        cursor: pointer;
    }
}

@media (min-width: 1400px) {
    .product-grid-2 {
        .col-xxl-3 {
            width: 50%;
        }
    }

    .product-grid-3 {
        .col-xxl-3 {
            width: calc(100% / 3);
        }
    }

    .product-grid-5 {
        .col-xxl-3 {
            width: calc(100% / 5);
        }
    }

    .product-grid-6 {
        .col-xxl-3 {
            width: calc(100% / 6);
        }
    }
}

main#main-section {
    .product-info .entry-main-content ul, .single-page .single-content ul {
        padding-left: 25px;
        margin: 10px 0;
    }
}

main#main-section ul.pagination {
    flex-wrap: wrap;
}

main#main-section ul.pagination .page-item {
    margin: 5px;
}

main#main-section ul.pagination .page-item .page-link {
    display: inline-block;
    width: auto;
    min-width: 40px;
}

@media only screen and (max-width: 480px) {
    .slider-arrow.slider-arrow-2.flex-right {
        display: flex;
        position: absolute;
        right: 0;
        top: 0;
        max-width: 70px;
    }

    .popular-categories .slider-btn.slider-prev {
        right: unset !important;
    }

    .slider-arrow.slider-arrow-2 .slider-btn {
        font-size: 17px;
        height: 30px;
        line-height: 35px;
        width: 30px;
        margin-right: 5px !important;
    }
}

footer.main {
    overflow: hidden;
}

input.qty-input::-webkit-outer-spin-button,
input.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.qty-input[type=number] {
    -moz-appearance: textfield;
    background: transparent;
    border: none;
    height: 20px;
    padding-left: 10px;
    color: var(--color-brand);
    font-weight: 700;
    font-size: 16px;
}

.detail-extralink {
    .detail-qty {
        padding: 11px 20px 11px 10px;
    }
}

.hero-slider-1.style-4, .hero-slider-1.dot-style-1, .hero-slider-1.style-5 {
    .single-hero-slider {
        &.single-animation-wrap {
            background-color: #F2F3F4;
        }
    }
}

.button {
    &.btn-disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }
}

.main-menu > nav > ul > li > a i.menu-icon {
    font-size: 14px;
}

.panel--search-result {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    border: 1px solid #eaeaea;
    transform: scaleZ(0);
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;

    .panel__content {
        max-height: 400px;
        overflow-y: auto;
    }

    .panel__footer {
        padding: 10px 0;
        text-align: center;
        border-top: 1px solid #eaeaea;
    }

    &.active {
        transform: scaleX(1);
        opacity: 1;
        visibility: visible;
    }
}

.header-right {
    .panel--search-result {
        left: -2px;
        width: calc(100% + 4px);
        border: 2px solid rgba(var(--color-brand-rgb), 0.4);
        border-top: 0;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
}

.mobile-search {
    .product-cart-wrap:not(:last-child) {
        margin-bottom: 0 !important;
    }

    .panel--search-result {
        border-color: rgba(var(--color-brand-rgb), 0.4);;
        border-top: 0;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 5px;
        top: 97%;
    }
}

//.slider-nav-thumbnails {
//    .slick-track {
//        transform: translate3d(0px, 0px, 0px) !important;
//    }
//}

.product-tabs {
    .nav-tabs {
        .nav-link {
            padding-left: 15px !important;
            margin-bottom: 15px;
        }
    }
}

.grecaptcha-badge {
    bottom: 75px !important;
}

input.qty-input[type=number] {
    line-height: 20px;
}

.slider-nav-thumbnails {
    button.slick-arrow {
        text-align: center;
        display: block;
        border-radius: 50%;
        padding: 0;
    }
}

.product-image-slider {
    img {
        opacity: 0;
    }

    .slick-slide {
        img {
            opacity: 1;
            margin: 0 auto;
        }
    }
}

@media only screen and (max-width: 768px) {
    .detail-info {
        .detail-extralink {
            .detail-qty {
                max-width: 70px;
            }
        }
    }

    .product-extra-link2 {
        button, a {
            margin-bottom: 20px;
        }
    }
}

.product-detail {
    .short-desc {
        @import 'reset-styles';
    }

    .shop_info_tab.entry-main-content #Description {
        @import 'reset-styles';
    }
}

.product-option {
    input {
        height: auto;
        width: auto;
    }
}

.pagination-area.pagination-page {
    .pagination {
        display: inline-block;

        .page-item {
            display: inline-block;
            margin-bottom: 15px;
        }
    }
}

.nav.nav-tabs {
    li {
        list-style: none;
    }
}

.dot-style-1 {
    ul {
        li {
            list-style: none;
        }
    }
}

.mobile-social-icon {
    a {
        img {
            vertical-align: middle;
            margin-bottom: 2px;
        }
    }
}

@media only screen and (max-width: 992px) {
    .logo {
        &.logo-width-1 {
            a {
                img {
                    max-height: 60px;
                    vertical-align: middle;
                }
            }
        }
    }
}

.vendor-info {
    ul {
        list-style: none;
    }
}

.product-sidebar {
    .custome-checkbox.ps-custom-scrollbar {
        margin-left: -1.5rem;
        overflow-y: hidden;
    }
}

.shop-product-filter-header {
    .custome-checkbox {
        .ps-list--categories {
            > .form-check {
                padding-left: 0;
            }
        }
    }
}

.section-flash-sale-products {
    .product-cart-wrap {
        .product-img-action-wrap {
            margin-bottom: 0;
        }

        .product-content-wrap {
            .product-price {
                margin-top: 0 !important;
            }

            .sold.mt-15.mb-15 {
                margin: 13px 0 14px !important;
            }

            a.action-btn.btn.w-100 {
                padding: 5px 10px;
                font-size: 12px;
                white-space: nowrap;
            }
        }
    }
}

@import 'select2';

.product-list {
    .product-cart-wrap {
        .product-img-action-wrap {
            margin-bottom: 0;

            .product-img {
                .product-img-inner {
                    max-width: 230px;
                }
            }
        }

        .product-content-wrap {
            padding-bottom: 0;

            .product-category a {
                margin-top: 0;
            }
        }

        .product-content-wrap {
            max-width: 72%;

            h2 {
                line-height: 36px;
            }
        }
    }
}

.w-full {
    width: 100% !important;
}

.nav-link:focus, .nav-link:hover {
    color: var(--color-brand-2);
}

@media only screen and (max-width: 992px) {
    .banner-img {
        .banner-text {
            padding: 0 5px;
        }
    }
}

.review-container {
    .btn-primary {
        border-radius: 5px;
    }
}

.quick-view-content {
    .product-detail {
        .detail-info {
            .short-desc {
                display: -webkit-box;
                -webkit-line-clamp: 10;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
        }
    }
}

.product-extra-link2 {
    button, a {
        margin-bottom: 15px;
    }
}

.newsletter-form {
    .captcha-render-section {
        .form-control {
            background: #fff;
            max-width: 450px;
        }
    }

    .captcha-disclaimer {
        background: #fff !important;
        max-width: 450px;
    }
}

.header-style-1 {
    .header-middle-ptb-1 {
        &.sticky-bar {
            &.stick {
                padding: 5px 0;
                border-bottom: none;
            }
        }
    }
}

.customer-page {
    .nav-tabs {
        .nav-item {
            .nav-link {
                padding: 10px 20px !important;
            }
        }
    }

    .delete-account-section {
        border: 1px solid #dee2e6;

        .customer-page-title {
            font-size: 20px;
        }

        h2 {
            margin-bottom: .5rem;
        }

        p {
            margin-bottom: 15px;
        }
    }

    button.btn.btn-outline-danger {
        background: #fff;
        border: 1px solid #dc3545;
        color: #dc3545;

        &:hover {
            background: #dc3545;
            color: #fff;
            border-color: #dc3545;
        }
    }
}

.form-select {
    border: 1px solid #f0e9ff;
    border-radius: 10px;
}

.auth-card {
    form {
        .auth-input-icon {
            top: 6px;
        }
    }
}

.account {
    .dashboard-address {
        .card {
            border: 0;
            background: #f1f1f1;
        }
    }
}

.tp-product-details-additional-info {
    table {
        border: 1px solid #e0e2e3;
        width: 100%;

        tr:not(:last-child) {
            border-bottom: 1px solid #eceded
        }

        td {
            padding: 12px 34px;

            &:first-child {
                background-color: #f9f9f9;
                color: #000;
                font-size: 16px;
                width: 306px
            }

            &:last-child {
                font-size: 16px
            }
        }
    }
}

.menu-icon-image {
    width: 15px;
    height: 15px;
    vertical-align: top;
    margin-top: 5px;
    margin-inline-end: 2px;
}

.mobile-menu {
    .menu-icon-image {
        margin-top: 0;
    }
}

.main-menu {
    .menu-icon-image {
        margin-top: 2px;
    }
}

.slider-content .display-2 {
    line-height: 1.3;
}

.hero-slider-1 .slider-content p {
    line-height: 1.5;
}

.shop-product-filter .sort-by-product-area .sort-by-product-wrap .sort-by-dropdown-wrap {
    min-width: 45px;
}

@media (max-width: 429px) {
    .shop-product-filter .sort-by-product-area {
        display: block;
    }

    .shop-product-filter .sort-by-product-area .sort-by-cover {
        display: inline-block;
    }

    .shop-product-filter .sort-by-product-area .sort-by-cover:first-child {
        margin-bottom: 15px;
    }
}

.brand-logo {
    img {
        max-width: 200px;
    }
}

.main-menu ul li a svg {
    width: 18px;
    height: 18px;
    vertical-align: top;
    margin-top: 1px;
}

#news-flash ul li svg {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-top: -2px;
}

.bb-product-filter-items {
    li {
        label {
            &:before, &:after {
                top: 4px !important;
            }
        }
    }
}

@media only screen and (max-width: 768px) {
    .top-products-group .top-products-group-item {
        margin-bottom: 40px;
    }
}

.auth-card__header {
    .auth-card__header-description {
        color: #6f6c6c !important;
        margin: 15px 0;
    }
}

@media(max-width: 768px) {
    section.home-slider.style-2.position-relative.mb-50 {
        margin-bottom: 0 !important;
        padding: 30px 0;
    }

    .product-grid-5 .mb-sm-5 {
        margin-bottom: 0;
    }

    .footer-social-links {
        margin: 20px 0 50px;
        text-align: start !important;

        .mobile-social-icon {
            justify-content: flex-start;
        }
    }
}

.product-tabs .nav-tabs .nav-link {
    background: none;
    padding: 10px !important;
}

main#main-section .single-page .single-content ul.bb-social-sharing {
    margin: 0;
    padding: 0;
}

/* Hide mobile bottom bar on coming soon page */
body:has(.box-coming-soon) .footer-mobile {
    display: none;
}

.box-coming-soon {
    padding-bottom: 100px;
    padding-top: 100px;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;

    ul {
        list-style: none;
        padding-left: 0;
    }

    .coming-soon-image {
        border-radius: 20px;
        width: 100%;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .coming-soon-title {
        font-size: 32px;
        font-weight: 700;
        color: var(--color-brand-2, #253D4E);
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .coming-soon-subtitle {
        font-size: 15px;
        color: #687188;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .form-control {
        height: 56px;
    }

    .coming-soon-newsletter {
        margin-bottom: 35px;
    }

    .coming-soon-contact-info {
        margin-bottom: 25px;

        ul {
            margin: 0;
        }

        li + li {
            margin-top: 12px;
        }
    }

    .coming-soon-contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: #687188;
        line-height: 1.6;

        a {
            color: var(--primary-color);

            &:hover {
                text-decoration: underline;
            }
        }
    }

    .coming-soon-contact-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 50%;
        background-color: rgba(var(--primary-color-rgb, 59, 183, 126), 0.1);
        color: var(--primary-color);
        font-size: 16px;
    }

    .coming-soon-social {
        margin-top: 10px;
    }

    p {
        font-size: 14px;
        font-weight: 400;
        line-height: 26px;
        margin-bottom: 15px;
    }

    .deals-countdown {
        display: flex;
        gap: 10px;
        margin-bottom: 35px;

        .countdown-section {
            flex: 1;
            background-color: var(--primary-color);
            color: #fff;
            padding: 18px 10px 28px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(var(--primary-color-rgb, 59, 183, 126), 0.15);

            span {
                color: #fff;

                &.countdown-amount {
                    margin-bottom: 0;
                    font-size: 28px;
                    font-weight: 700;
                }

                &.countdown-period {
                    font-size: 11px;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                    opacity: 0.85;
                }
            }
        }
    }

    @media screen and (max-width: 767px) {
        padding-top: 60px;
        padding-bottom: 60px;

        .coming-soon-title {
            font-size: 26px;
        }

        .deals-countdown .countdown-section {
            padding: 12px 8px 22px;

            span.countdown-amount {
                font-size: 20px;
            }
        }
    }

    @media screen and (max-width: 400px) {
        padding-top: 40px;
        padding-bottom: 40px;

        .coming-soon-title {
            font-size: 22px;
        }

        .deals-countdown {
            gap: 6px;

            .countdown-section {
                padding: 10px 4px 20px;
                border-radius: 8px;

                span.countdown-amount {
                    font-size: 18px;
                }

                span.countdown-period {
                    font-size: 9px;
                }
            }
        }

        .newsletter .form-subcriber {
            flex-direction: column;

            input {
                border-radius: 50px;
                width: 100%;
            }

            button {
                border-radius: 50px;
                width: 100%;
                margin-top: 10px;
            }
        }
    }
}

.ck-content ol {
    padding-inline-start: 25px;
}

/* Quick Shop Modal Styles */
[data-bb-toggle="quick-shop-modal"] {
    .modal-dialog {
        max-width: 700px !important;
    }

    .modal-content {
        border-radius: 15px;
        overflow: hidden;
        padding: 0;
    }

    .btn-close {
        position: absolute;
        right: 15px;
        top: 15px;
        z-index: 10;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-body {
        &.modal-empty {
            min-height: 200px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        padding: 0;
    }

    .product-detail {
        padding-top: 30px;

        .title-detail {
            font-size: 24px;
            margin-bottom: 15px;
            color: $color-heading;
            line-height: 1.3;
        }

        .pr_switch_wrap {
            margin-bottom: 20px;
        }

        .detail-extralink {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            margin-top: 20px;
        }

        .detail-qty {
            flex-shrink: 0;

            .qty-val {
                text-align: center;
                width: 50px;
            }
        }

        .product-extra-link2 {
            flex-grow: 1;

            &.has-buy-now-button {
                display: flex;
                gap: 10px;

                .button {
                    flex: 1;
                }
            }
        }

        .button-add-to-cart {
            &:hover:not(.btn-disabled) {
                transform: translateY(-2px);
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            }
        }

        .button-loading {
            opacity: 0.7;
            pointer-events: none;
        }

        .font-xs {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #f0f0f0;
        }

        .font-xs a {
            color: $color-brand;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 5px;

            &:hover {
                color: $color-brand-dark;

                i {
                    transform: translateX(3px);
                }
            }

            i {
                transition: transform 0.3s;
            }
        }
    }

    @media (max-width: 576px) {
        .modal-dialog {
            max-width: calc(100% - 20px);
            margin: 10px auto;
        }

        .product-detail {
            padding: 20px;

            .title-detail {
                font-size: 20px;
                margin-bottom: 12px;
            }

            .detail-extralink {
                gap: 10px;
                flex-wrap: wrap;
            }

            .product-extra-link2 {
                width: 100%;

                &.has-buy-now-button {
                    flex-direction: column;

                    .button {
                        width: 100%;
                    }
                }
            }
        }
    }
}

// Testimonials slider equal height
.testimonials-slider {
    .slick-track {
        display: flex !important;
    }

    .slick-slide {
        height: inherit !important;
        display: flex !important;

        > div {
            height: 100%;
            width: 100%;
        }
    }
}

// Up-Sale Bundle Section Styles
.ec-upsell-bundle {
    // The visible card is the inner .ec-upsell-bundle-wrapper (styled by the
    // ecommerce plugin). Keep this section a transparent, full-width layout
    // wrapper so it lines up with the other product sections instead of adding
    // a redundant padded/bordered frame that left it inset (the "left gap").
    margin-bottom: 30px;
    padding: 0;

    > .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .ec-upsell-title {
        font-size: 24px;
        font-weight: 700;
        color: $color-heading;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid $color-brand;
        display: inline-block;
    }

    .ec-upsell-products {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 20px;
        margin-bottom: 25px;
    }

    .ec-upsell-main-product,
    .ec-upsell-item {
        flex: 1;
        min-width: 200px;
        max-width: 280px;
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        text-align: center;
        border: 1px solid #eee;
        transition: all 0.3s ease;

        &:hover {
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            transform: translateY(-3px);
        }

        img {
            max-width: 150px;
            height: auto;
            margin-bottom: 15px;
            border-radius: 8px;
        }

        .ec-upsell-product-name {
            font-size: 15px;
            font-weight: 600;
            color: $color-heading;
            margin-bottom: 10px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 42px;

            a {
                color: inherit;
                text-decoration: none;

                &:hover {
                    color: $color-brand;
                }
            }
        }

        .ec-upsell-product-price {
            font-size: 18px;
            font-weight: 700;
            color: $color-brand;

            del {
                font-size: 14px;
                color: #999;
                font-weight: 400;
                margin-left: 8px;
            }
        }
    }

    .ec-upsell-item {
        position: relative;

        .ec-upsell-checkbox {
            position: absolute;
            top: 15px;
            left: 15px;
            z-index: 2;

            input[type="checkbox"] {
                width: 22px;
                height: 22px;
                cursor: pointer;
                accent-color: $color-brand;
            }
        }

        &.unchecked {
            opacity: 0.5;
            background: #f8f8f8;

            &:hover {
                opacity: 0.7;
            }
        }
    }

    .ec-upsell-plus-sign {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        font-weight: 700;
        color: $color-brand;
        padding: 0 10px;
    }

    .ec-upsell-summary {
        background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark, #2b8a3e) 100%);
        border-radius: 12px;
        padding: 25px 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;

        .ec-upsell-total {
            .ec-upsell-total-label {
                font-size: 14px;
                color: rgba(255, 255, 255, 0.8);
                margin-bottom: 5px;
            }

            .ec-upsell-total-price {
                font-size: 28px;
                font-weight: 700;
                color: #fff;

                del {
                    font-size: 18px;
                    color: rgba(255, 255, 255, 0.6);
                    font-weight: 400;
                    margin-left: 10px;
                }
            }
        }

        .ec-upsell-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;

            .btn {
                padding: 12px 25px;
                font-weight: 600;
                border-radius: 8px;
                transition: all 0.3s ease;

                &.btn-add-selected {
                    background: #fff;
                    color: $color-brand;
                    border: 2px solid #fff;

                    &:hover {
                        background: transparent;
                        color: #fff;
                    }
                }

                &.btn-add-all {
                    background: rgba(255, 255, 255, 0.2);
                    color: #fff;
                    border: 2px solid rgba(255, 255, 255, 0.4);

                    &:hover {
                        background: #fff;
                        color: $color-brand;
                        border-color: #fff;
                    }
                }

                &:disabled {
                    opacity: 0.5;
                    cursor: not-allowed;
                }
            }
        }
    }

    // Responsive
    @media (max-width: 992px) {
        .ec-upsell-products {
            justify-content: center;
        }

        .ec-upsell-main-product,
        .ec-upsell-item {
            min-width: 180px;
            max-width: 220px;
        }
    }

    @media (max-width: 768px) {
        padding: 20px;

        .ec-upsell-title {
            font-size: 20px;
        }

        .ec-upsell-summary {
            flex-direction: column;
            text-align: center;

            .ec-upsell-actions {
                width: 100%;
                justify-content: center;

                .btn {
                    flex: 1;
                    min-width: 140px;
                }
            }
        }
    }

    @media (max-width: 576px) {
        .ec-upsell-main-product,
        .ec-upsell-item {
            min-width: 100%;
            max-width: 100%;
        }

        .ec-upsell-plus-sign {
            width: 100%;
            padding: 10px 0;
        }
    }
}

// Up-Sale Attributes (variation selection in bundle)
.ec-upsell-attributes {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: left;

    .ec-upsell-attribute-group {
        margin-bottom: 12px;

        &:last-child {
            margin-bottom: 0;
        }

        label {
            display: block;
            font-size: 12px;
            font-weight: 600;
            color: #666;
            margin-bottom: 6px;
            text-transform: uppercase;
        }

        select {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 13px;
            color: $color-heading;
            background-color: #fff;
            cursor: pointer;
            transition: all 0.3s ease;

            &:hover {
                border-color: $color-brand;
            }

            &:focus {
                outline: none;
                border-color: $color-brand;
                box-shadow: 0 0 0 3px rgba(var(--color-brand-rgb, 59, 183, 126), 0.1);
            }
        }
    }
}

// Cross-Sale Section Styles
.ec-cross-sale-section {
    margin-top: 60px;
    margin-bottom: 50px;

    // Already inside the page container; drop the redundant nested .container
    // gutters so the section aligns with the rest of the product content.
    > .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .ec-cross-sale-wrapper {
        position: relative;
    }

    .ec-cross-sale-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;

        .section-title {
            margin-bottom: 0;
            padding-bottom: 0;

            &::after {
                display: none;
            }
        }
    }

    .ec-cross-sale-arrows {
        display: flex;
        gap: 10px;

        .slick-arrow {
            position: relative;
            width: 40px;
            height: 40px;
            background: #fff;
            border: 1px solid #ececec;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;

            i {
                font-size: 16px;
                color: $color-heading;
                transition: color 0.3s ease;
            }

            &:hover {
                background: $color-brand;
                border-color: $color-brand;

                i {
                    color: #fff;
                }
            }

            &.slick-disabled {
                opacity: 0.5;
                cursor: not-allowed;

                &:hover {
                    background: #fff;
                    border-color: #ececec;

                    i {
                        color: $color-heading;
                    }
                }
            }
        }
    }

    .ec-cross-sale-slider {
        margin: 0 -15px;
    }

    .ec-cross-sale-carousel {
        .slick-track {
            display: flex !important;
        }

        .slick-slide {
            height: inherit !important;
            padding: 0 15px;

            > div {
                height: 100%;
            }
        }

        .ec-cross-sale-slide {
            height: 100%;

            .product-cart-wrap {
                height: 100%;
                margin-bottom: 0;
            }
        }

        .slick-list {
            margin: 0;
        }
    }
}

// Cross-Sale Skeleton Styles
.ec-cross-sale-skeleton {
    margin-top: 60px;

    .ec-cross-sale-skeleton-wrapper {
        position: relative;
    }

    .ec-cross-sale-skeleton-header {
        margin-bottom: 30px;
    }

    .ec-cross-sale-skeleton-slider {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;

        @media (max-width: 1199px) {
            grid-template-columns: repeat(3, 1fr);
        }

        @media (max-width: 991px) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media (max-width: 575px) {
            grid-template-columns: 1fr;
        }
    }

    .ec-cross-sale-skeleton-card {
        background: #fff;
        border: 1px solid #ececec;
        border-radius: 15px;
        overflow: hidden;
        padding: 15px;

        .skeleton-thumb {
            width: 100%;
            height: 200px;
            border-radius: 10px;
            margin-bottom: 15px;
        }

        .skeleton-content {
            .skeleton-name {
                height: 18px;
                width: 80%;
                margin-bottom: 10px;
            }

            .skeleton-price {
                height: 22px;
                width: 50%;
            }
        }
    }

    .skeleton {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: skeleton-loading 1.5s infinite;
        border-radius: 4px;
    }
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

// Cart Bundle Badge Styles
.cart-bundle-badge,
.bundle-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);

    .icon,
    i {
        font-size: 14px;
        margin-bottom: 0 !important;
        flex-shrink: 0;
    }

    svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }
}

// Cart page bundle item styling
.section--shopping-cart {
    .table--cart {
        tbody {
            tr {
                &.bundle-item {
                    background-color: #f8f9fa;

                    td {
                        opacity: 0.9;
                    }
                }
            }
        }
    }

    // Improved cart table styling
    .table-responsive {
        .table--cart {
            thead {
                tr.main-heading {
                    th {
                        background: #f8f9fa;
                        font-weight: 600;
                        color: $color-heading;
                        padding: 15px 20px;
                        border-bottom: 2px solid #e9ecef;
                    }
                }
            }

            tbody {
                tr {
                    border-bottom: 1px solid #eee;
                    transition: background-color 0.3s ease;

                    &:hover {
                        background-color: #fafafa;
                    }

                    td {
                        padding: 20px 15px;
                        vertical-align: middle;

                        &.image {
                            width: 100px;

                            img {
                                border-radius: 8px;
                                border: 1px solid #eee;
                            }
                        }

                        &.product-des {
                            .product-name {
                                font-weight: 600;
                                color: $color-heading;

                                a:hover {
                                    color: $color-brand;
                                }
                            }
                        }

                        &.price {
                            h4 {
                                font-weight: 700;
                            }
                        }

                        &.action {
                            .remove-cart-button {
                                width: 36px;
                                height: 36px;
                                display: inline-flex;
                                align-items: center;
                                justify-content: center;
                                border-radius: 50%;
                                background: #fff;
                                border: 1px solid #e9ecef;
                                color: #999;
                                transition: all 0.3s ease;

                                &:hover {
                                    background: #dc3545;
                                    border-color: #dc3545;
                                    color: #fff;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

}

// Mini cart bundle badge styling
.cart-dropdown-wrap {
    ul {
        li {
            .shopping-cart-title {
                .cart-bundle-badge,
                .bundle-badge {
                    display: inline-flex;
                    margin-top: 5px;
                    padding: 4px 8px;
                    font-size: 10px;

                    .icon,
                    i {
                        font-size: 12px;
                    }

                    svg {
                        width: 12px;
                        height: 12px;
                    }
                }
            }
        }
    }
}

// Block lazy loading spinner
[data-bb-toggle="block-lazy-loading"] {
    min-height: 200px;
    position: relative;

    &.loading {
        &::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 40px;
            height: 40px;
            margin: -20px 0 0 -20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid $color-brand;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

// -----------------------------------------------------------------------------
// Flash sale "Deals Of The Day" mobile refinements
// -----------------------------------------------------------------------------
@media (max-width: 767.98px) {
    .product-cart-wrap.style-2 {
        .product-img-action-wrap {
            padding: 10px;

            .product-img {
                img {
                    max-height: 180px;
                    width: auto;
                    margin: 0 auto;
                    display: block;
                    object-fit: contain;
                }
            }
        }

        .product-content-wrap {
            padding: 12px;

            .deals-content {
                h2 {
                    font-size: 14px;
                    line-height: 1.3;
                    margin-bottom: 6px;
                }

                .product-card-bottom {
                    flex-wrap: wrap;
                    gap: 8px;

                    .price {
                        font-size: 15px;
                    }

                    .old-price {
                        font-size: 12px;
                    }
                }
            }
        }

        .deals-countdown-wrap {
            .deals-countdown {
                justify-content: center;

                .countdown-section {
                    padding: 6px 8px;
                    min-width: 52px;

                    .countdown-amount {
                        font-size: 14px;
                    }

                    .countdown-period {
                        font-size: 10px;
                    }
                }
            }
        }

        .add-cart .action-btn {
            padding: 6px 12px;
            font-size: 12px;
        }
    }
}

// -----------------------------------------------------------------------------
// Shopping cart — compact mobile card layout
// Replaces stacked-table fallback below 576px with a clean 2-column grid.
// -----------------------------------------------------------------------------
.section--shopping-cart {
    @media (max-width: 575.98px) {
        .table-responsive {
            padding: 0;
        }

        .table--cart {
            display: block;

            thead { display: none; }
            tbody, tr, td { display: block; }

            tbody {
                tr {
                    position: relative;
                    display: grid;
                    grid-template-columns: 90px 1fr;
                    grid-template-areas:
                        "image info"
                        "image qty"
                        "price price"
                        "subtotal subtotal";
                    column-gap: 14px;
                    row-gap: 8px;
                    padding: 14px;
                    margin-bottom: 14px;
                    border: 1px solid #eee;
                    border-radius: 12px;
                    background: #fff;

                    &:hover {
                        background: #fff;
                    }

                    td {
                        padding: 0 !important;
                        // `start` rather than `left`: the stacked-table fallback centers/right-aligns these cells,
                        // and this must undo that without hard-coding LTR.
                        text-align: start !important;
                        width: auto;

                        &::before { display: none; }
                    }

                    td.image.product-thumbnail {
                        grid-area: image;

                        img {
                            width: 90px;
                            height: 90px;
                            object-fit: cover;
                            border-radius: 10px;
                            border: 1px solid #eee;
                        }
                    }

                    td.product-des.product-name {
                        grid-area: info;
                        // Clear the remove button pinned to the card's inline-end corner. Logical property so it
                        // mirrors under RTL, where the grid flips and the button moves to the other side.
                        padding-inline-end: 36px !important;

                        .product-name {
                            font-size: 14px;
                            line-height: 1.35;
                            display: -webkit-box;
                            -webkit-line-clamp: 2;
                            -webkit-box-orient: vertical;
                            overflow: hidden;
                        }

                        .sold-by,
                        .product-rate-cover {
                            font-size: 12px;
                            margin-top: 4px;
                        }
                    }

                    td.price[data-title] {
                        grid-area: price;
                        display: flex !important;
                        align-items: center;
                        justify-content: space-between;
                        padding-top: 8px !important;
                        border-top: 1px dashed #eee;
                        font-size: 13px;

                        &::before {
                            display: inline-block !important;
                            content: attr(data-title);
                            color: #7e8299;
                            font-weight: 500;
                            float: none;
                            margin: 0;
                        }

                        h4 {
                            font-size: 15px;
                            margin: 0;
                        }
                    }

                    td.price[data-title="Subtotal"],
                    td.price:last-of-type {
                        grid-area: subtotal;
                        font-weight: 600;

                        h4 {
                            color: $color-brand;
                        }
                    }

                    td.detail-info {
                        grid-area: qty;
                        align-self: start;

                        .detail-extralink {
                            margin: 0 !important;
                            // The <=480px stacked-table fallback right-aligns this inline-block box. `start` keeps
                            // it beside the product name in both LTR and RTL.
                            text-align: start;
                        }

                        .detail-qty {
                            max-width: 110px;
                            margin: 0 !important;
                            height: 34px;
                            // The base box carries ~11px vertical padding, which pushes the input below the
                            // centre of this shorter box. Drop it and centre the input instead.
                            padding-top: 0;
                            padding-bottom: 0;
                            display: flex;
                            align-items: center;

                            .qty-val {
                                font-size: 13px;
                                padding: 0;
                                height: auto;
                                line-height: 1;
                                text-align: center;
                            }
                        }
                    }

                    td.action {
                        position: absolute;
                        top: 8px;
                        // Logical inset so the button sits in the card's inline-end corner in both LTR and RTL,
                        // matching the padding reserved on the product name cell.
                        inset-inline-end: 8px;
                        width: auto !important;

                        .remove-cart-button {
                            width: 28px;
                            height: 28px;
                            font-size: 12px;
                        }
                    }
                }
            }
        }

        .cart-action {
            .btn {
                font-size: 13px;
                padding: 8px 14px;
            }
        }

        .cart-totals {
            margin-left: 0 !important;
            padding: 16px !important;
        }

        .form-coupon-wrapper {
            flex-direction: column;
            gap: 10px;

            .coupon-code {
                width: 100%;
                margin-right: 0 !important;
            }

            .btn-apply-coupon-code {
                width: 100%;
            }
        }
    }
}

// ============================================================================
// Mobile checkout section reorder (ticket 4571319 - padmabuy)
// Desired mobile flow, top to bottom:
//   Shipping info -> Products -> Shipping method -> Coupon/Loyalty
//   -> Order summary -> Order notes -> Payment -> Checkout
// Scoped to <= 767.98px so the desktop two-column layout is untouched.
// Section wrappers carry .checkout-section--* markers added in CheckoutForm.
// The products & summary blocks are lifted out of the shared cart card with
// display:contents so they can sit at independent positions; the checkout AJAX
// re-fills .cart-item-wrapper on totals change, and the lifted blocks simply
// re-order again (the desktop-only coupon injection never runs on mobile).
// ============================================================================
@media (max-width: 767.98px) {
    // Scope strictly to the mobile checkout DOM. The server renders a distinct
    // single-column form on phones whose wrapper is `.form-checkout.col-lg-7`
    // WITHOUT `.col-md-6` (desktop keeps `col-md-6`). Gating on :not(.col-md-6)
    // keeps a desktop browser narrowed below 768px on its normal layout.
    .form-checkout:not(.col-md-6) {
        display: flex;
        flex-direction: column;

        // Unlisted direct children default to the discount slot so any
        // unexpected injected node lands mid-flow rather than jumping to top.
        > * {
            order: 4;
        }

        > .checkout-section--logo {
            order: 0;
        }

        > .checkout-section--shipping-info {
            order: 1;
        }

        > .checkout-section--shipping-method {
            order: 3;
        }

        > .checkout-section--discount {
            order: 4;
        }

        > .checkout-section--order-notes {
            order: 6;
        }

        > .checkout-section--payment {
            order: 7;
        }

        > .checkout-section--footer {
            order: 8;
        }

        // Flatten the shared cart card so the two blocks become flex items.
        .checkout-section--cart,
        .checkout-section--cart > .cart-item-wrapper {
            display: contents;
        }

        // Re-apply a light card to each block now that the wrapper is gone.
        .checkout-products-block,
        .checkout-summary-block {
            margin: 0.75rem 0;
            padding: 1rem;
            background-color: #f8f9fa;
            border-radius: 0.5rem;
        }

        .checkout-products-block {
            order: 2;
        }

        .checkout-summary-block {
            order: 5;
        }
    }
}

/* Premium Mobile Sidebar Menu Styling */
.mobile-menu-wrap {
    nav {
        .mobile-menu {
            margin: 0;
            padding: 0;
            list-style: none;

            & > li {
                border-bottom: none !important;
                padding: 6px 0 !important;

                & > a {
                    display: flex !important;
                    align-items: center;
                    background: #f7f8f9;
                    gap: 10px;
                    border-radius: 12px;
                    padding: 12px 16px !important;
                    font-size: 15px !important;
                    font-weight: 600 !important;
                    color: $color-heading !important;
                    transition: all 0.3s ease;
                    border: 1px solid rgba(0, 0, 0, 0.03);

                    i:first-child, svg:first-child {
                        background: rgba($color-brand, 0.1);
                        color: $color-brand !important;
                        width: 36px;
                        height: 36px;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        border-radius: 10px;
                        font-size: 16px !important;
                        margin: 0 !important;
                        margin-inline-end: 12px !important;
                        transition: all 0.3s ease;
                    }

                    &:hover {
                        background: rgba($color-brand, 0.05) !important;
                        color: $color-brand !important;
                        border-color: rgba($color-brand, 0.15);

                        i:first-child, svg:first-child {
                            background: $color-brand;
                            color: #fff !important;
                            transform: scale(1.05);
                        }
                    }
                }

                &.active > a {
                    background: rgba($color-brand, 0.08) !important;
                    color: $color-brand !important;
                    border-color: rgba($color-brand, 0.2);

                    i:first-child, svg:first-child {
                        background: $color-brand;
                        color: #fff !important;
                    }
                }

                &.menu-item-has-children {
                    .menu-expand {
                        position: absolute;
                        top: 50% !important;
                        transform: translateY(-50%);
                        width: 36px !important;
                        height: 36px !important;
                        line-height: 36px !important;
                        display: flex !important;
                        align-items: center;
                        justify-content: center;
                        background: #fff;
                        border-radius: 50%;
                        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
                        transition: all 0.3s ease;
                        cursor: pointer;
                        z-index: 10;
                        right: 16px !important;
                        left: auto !important;

                        i {
                            font-size: 12px;
                            color: $color-heading;
                            margin: 0 !important;
                            transition: transform 0.3s ease;
                        }

                        &:hover {
                            background: $color-brand;
                            i {
                                color: #fff;
                            }
                        }
                    }

                    &.active {
                        .menu-expand {
                            background: $color-brand;
                            i {
                                color: #fff;
                                transform: rotate(180deg);
                            }
                        }
                    }
                }

                ul.dropdown {
                    margin: 6px 0 0 0 !important;
                    padding: 8px 16px !important;
                    background: #fff;
                    border-radius: 12px;
                    border: 1px solid rgba(0, 0, 0, 0.02);
                    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);

                    li {
                        padding: 8px 0 !important;
                        border: none !important;

                        a {
                            font-size: 14px !important;
                            font-weight: 500 !important;
                            color: $color-heading !important;
                            display: flex !important;
                            align-items: center;
                            padding: 4px 0 !important;

                            img, i {
                                max-width: 24px;
                                max-height: 24px;
                                margin-inline-end: 10px !important;
                                border-radius: 6px;
                                margin-right: 0 !important;
                                margin-left: 0 !important;
                            }

                            &:hover {
                                color: $color-brand !important;
                            }
                        }
                    }
                }
            }
        }
    }
}

body[dir="rtl"] {
    .mobile-menu-wrap {
        nav {
            .mobile-menu {
                & > li {
                    & > a {
                        i:first-child, svg:first-child {
                            margin-inline-end: 0 !important;
                            margin-inline-start: 12px !important;
                        }
                    }

                    &.menu-item-has-children {
                        .menu-expand {
                            left: 16px !important;
                            right: auto !important;
                        }
                    }
                }
            }
        }
    }
}
