:root {
    --input-placeholder-color: #222;
    --white-clr: #fff;
}

.rtl {
    direction: var(--web-direction);
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--web-primary);
}

.dropdown-item.active,
.dropdown-item:active {
    color: var(--web-secondary);
}

.navbar-light .navbar-tool-icon-box {
    color: var(--web-primary);
}

.search_button {
    background-color: var(--web-primary);
}

.navbar-stuck-menu {
    background-color: var(--web-primary);
}

.mega-nav .nav-item .nav-link {
    color: var(--web-primary) !important;
}

.owl-theme .owl-nav [class*="owl-"],
.checkbox-alphanumeric label:hover {
    border-color: var(--web-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--web-secondary) !important;
}

[type="radio"]:not(.show) {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

[type="radio"]:not(.show) + span:after {
    box-shadow: 0 0 0 0.1em var(--web-secondary);
}

[type="radio"]:not(.show):checked + span:after {
    background: var(--web-secondary);
    box-shadow: 0 0 0 0.1em var(--web-secondary);
}

.navbar-tool .navbar-tool-label {
    background-color: var(--web-secondary) !important;
}

.btn--primary {
    color: #fff;
    background-color: var(--web-primary) !important;
    border-color: var(--web-primary) !important;
}

.d--none {
    display: none;
}

.web-text-primary,
.text-primary {
    color: var(--web-primary) !important;
}

.btn--primary:hover {
    color: #fff;
    background-color: var(--web-primary) !important;
    border-color: var(--web-primary) !important;
}

.btn-secondary {
    background-color: var(--web-secondary) !important;
    border-color: var(--web-secondary) !important;
}

.btn-outline-accent:hover {
    color: #fff;
    background-color: var(--web-primary);
    border-color: var(--web-primary);
}

.btn-outline-accent {
    color: var(--web-primary);
    border-color: var(--web-primary);
}

.text-accent {
    color: var(--web-primary);
}

.text-base-2 {
    color: var(--web-secondary);
}
a:hover {
    color: var(--web-primary);
}

.text-primary,
.text-base,
.active-menu {
    color: var(--web-primary) !important;
}

.page-item.active > .page-link {
    box-shadow: 0 0.5rem 1.125rem -0.425rem var(--web-primary);
}

.page-item.active .page-link {
    background-color: var(--web-primary);
}

.btn-outline-accent:not(:disabled):not(.disabled):active,
.btn-outline-accent:not(:disabled):not(.disabled).active,
.show > .btn-outline-accent.dropdown-toggle {
    background-color: var(--web-secondary);
    border-color: var(--web-secondary);
}

.btn-outline-primary {
    color: var(--web-primary);
    border-color: var(--web-primary);
}

.btn-outline-primary:hover {
    background-color: var(--web-primary);
    border-color: var(--web-primary);
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
    box-shadow: 0 0 0 0 var(--web-primary);
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: var(--web-primary);
    border-color: var(--web-primary);
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 var(--web-primary);
}

.for-discount-value {
    background: var(--web-primary);
}

span.badge-accent {
    color: var(--base);
    background-color: var(--web-primary-40);
}

span.badge-accent:hover {
    color: var(--base) !important;
}

.custom-light-primary-color {
    background-color: var(--web-primary-10);
}

.custom-light-primary-color-20 {
    background-color: var(--web-primary-20);
}

.password-toggle-btn
    .custom-control-input:checked
    ~ .password-toggle-indicator {
    color: var(--web-primary);
}

.for-count-value {
    color: var(--web-primary);
}

.web--bg-primary {
    background-color: var(--web-primary);
}

.web--bg-secondary {
    background-color: var(--web-secondary);
}

.count-value {
    color: var(--web-primary);
}

@media (min-width: 768px) {
    .navbar-stuck-menu {
        background-color: var(--web-primary);
    }
}

@media (max-width: 767px) {
    .search_button .input-group-text i {
        color: var(--web-primary) !important;
    }
    .search_button .input-group-text i.text-absolute-white{
        color: #ffffff !important;
    }

    .mega-nav1 {
        color: var(--web-primary) !important;
    }

    .mega-nav1 .nav-link {
        color: var(--web-primary) !important;
    }
}

@media (max-width: 471px) {
    .mega-nav1 {
        color: var(--web-primary) !important;
    }

    .mega-nav1 .nav-link {
        color: var(--web-primary) !important;
    }
}

.text-align-direction {
    text-align: var(--text-align-direction) !important;
}

.web-direction {
    direction: var(--web-direction) !important;
}

.social-media:hover {
    color: var(--web-secondary) !important;
}

.bg-white-overlay-50 {
    background: rgba(255, 255, 255, 0.05);
}

.min-width-160px {
    min-width: 160px !important;
}

.tracking-page .closet {
    float: var(--text-align-direction-alt);
}

.checkout-details-page .nav-tabs {
    border: none;
}

.checkout-details-page .nav-tabs .nav-item {
    width: 49%;
    text-align: center;
}

.checkout-details-page .nav-tabs .nav-link::before {
    height: 0;
}

.checkout-details-page .nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    background: var(--web-primary);
    border-color: var(--web-primary);
}

.checkout-details-page .nav-tabs .nav-link {
    background: var(--web-secondary);
    border: 1px solid var(--web-secondary);
}

.bootstrap-select.dropdown.form-control button {
    border: 1px solid #e3e9ef !important;
}

.bootstrap-select.dropdown.form-control button:focus {
    outline: none !important;
    box-shadow: none;
}

@media (max-width: 600px) {
    .contact-us-page.sidebar_heading {
        background: var(--web-primary);
    }
}

.delete-account-dropdown-menu {
    width: 200px;
    min-width: 0 !important;
}

.checkout-steps.steps-light .step-item.active .step-count,
.checkout-steps.steps-light .step-item.active .step-progress {
    color: #ffffff;
    background-color: var(--web-primary);
}

.checkout-steps.steps-light .step-count,
.checkout-steps.steps-light .step-progress {
    color: #4f4f4f;
    background-color: rgba(225, 225, 225, 0.67);
}

.checkout-steps.steps-light .step-item.active.current {
    color: var(--web-primary) !important;
    pointer-events: none;
}

.checkout-steps.steps-light .step-item {
    color: #4f4f4f;
    font-size: 14px;
    font-weight: 400;
}
.customize-step{
    margin: 0 auto 20px;
    max-width: 600px;
}
.customize-step .step-item{
    width: 190px;
    text-align: center;
}
.customize-step .step-item .step-count{
    width: 30px;
    height: 30px;
    border: 2px solid var(--border1);
    background-color: var(--color-white);
}
.customize-step .step-item:not(:last-child)::before{
    position: absolute;
    content: "";
    top: 4px;
    inset-inline-start: 110px;
    width: 168px;
    height: 1px;
    border-top: 2px dashed var(--border1);

}
.customize-step .step-item.active::before{
    border-top: 2px solid var(--web-primary);
}
.customize-step .step-item .step-count i{
    opacity: 0;
}
.customize-step .step-item.active .step-count i{
    opacity: 1 !important;
}
.customize-step .step-item.active .step-count{
    background-color: var(--web-primary) !important;
}
.fw-medium{
    font-weight: 500 !important;
}
@media screen and (max-width: 767px) {
    .customize-step{
        max-width: 100%;
        display: flex;
        align-items: flex-start;
    }
    .customize-step .step-item{
        width: 100%;
        text-align: center;
    }
    .customize-step .step-item .step-count{
        width: 30px;
        height: 30px;
        border: 2px solid var(--border1);
        background-color: var(--color-white);
    }
    .customize-step .step-item:not(:last-child)::before{
        position: absolute;
        content: "";
        top: 4px;
        inset-inline-start: 110px;
        width: 100%;
        height: 1px;
        border-top: 2px dashed var(--border1);

    }
}
@media screen and (max-width: 575px) {
    .customize-step .step-item:not(:last-child)::before{
        position: absolute;
        content: "";
        top: 4px;
        inset-inline-start: 80px;
        width: 100%;
        height: 1px;
        border-top: 2px dashed var(--border1);
    }
}
@media screen and (max-width: 575px) {
    .customize-step .step-item:not(:last-child)::before{
        inset-inline-start: 60px;
        border-top: 2px dashed var(--border1);
    }
}

.list-group-flush .list-group-item li,
.list-group-flush .list-group-item li a {
    color: var(--web-primary);
}

.list-group-flush .list-group-item li,
.list-group-flush .list-group-item li a:hover {
    color: var(--web-secondary);
}

.order-summery-aside .cart_title {
    font-weight: 400 !important;
    font-size: 14px;
}

.order-summery-aside .cart_value {
    font-weight: 600 !important;
    font-size: 14px;
}

@media (max-width: 575px) {
    .order-summery-aside .cart_title,
    .order-summery-aside .cart_value {
        font-size: 14px;
    }
}

.order-summery-aside .__cart-total_sticky {
    position: sticky;
    top: 80px;
}

.order-details-nav.nav-menu > * {
    border: none;
    border-bottom: 2px solid transparent;
    background-color: transparent;
    padding: 0.5rem 0;
    color: #9b9b9b;
}

.order-details-nav.nav-menu > *.active {
    border-color: var(--web-primary);
    color: var(--web-primary);
    font-weight: 700;
}

.max-width-150px {
    max-width: 150px;
}

.max-width-200px {
    max-width: 200px;
}

.max-width-350px {
    max-width: 350px;
}
.max-width-500px {
    max-width: 500px;
}

.width-300px {
    width: 300px;
}

.height-100px {
    height: 100px;
}

.max-height-500px {
    max-height: 500px !important;
}

[dir="ltr"] .heading_search {
    padding: 10px 29px 10px 20px;
}

[dir="rtl"] .heading_search {
    padding: 10px 20px 10px 29px;
}

[dir="ltr"] .chat_ib {
    padding: 0 0 6px 15px;
}

[dir="rtl"] .chat_ib {
    padding: 0 15px 6px 0;
}

[dir="ltr"] .received_msg {
    padding: 0 0 0 10px;
}

[dir="rtl"] .received_msg {
    padding: 0 10px 0 0;
}

[dir="ltr"] .received_withdraw_msg p {
    padding: 4px 8px 3px 10px;
}

[dir="rtl"] .received_withdraw_msg p {
    padding: 4px 10px 3px 8px;
}

.msg_history {
    padding: 0 15px;
}

[dir="ltr"] .send_msg p {
    padding: 5px 10px 5px 12px;
}

[dir="rtl"] .send_msg p {
    padding: 5px 12px 5px 10px;
}

.p-12px {
    padding: 12px;
}

[dir="ltr"] .ps-12px {
    padding-left: 12px;
}

[dir="rtl"] .ps-12px {
    padding-right: 12px;
}

[dir="ltr"] .float-start {
    float: left;
}

[dir="rtl"] .float-start {
    float: right;
}

[dir="ltr"] .float-end {
    float: right;
}

[dir="rtl"] .float-end {
    float: left;
}

[dir="ltr"] .ms-auto {
    margin-left: auto;
}

[dir="rtl"] .ms-auto {
    margin-right: auto;
}

[dir="ltr"] .ms-2 {
    margin-left: 0.5rem !important;
}

[dir="rtl"] .ms-2 {
    margin-right: 0.5rem !important;
}

[dir="ltr"] .me-2 {
    margin-right: 0.5rem !important;
}

[dir="rtl"] .me-2 {
    margin-left: 0.5rem !important;
}

[dir="ltr"] .me-3 {
    margin-right: 1rem !important;
}

[dir="rtl"] .me-3 {
    margin-left: 1rem !important;
}

[dir="ltr"] .me-4 {
    margin-right: 1.5rem !important;
}

[dir="rtl"] .me-4 {
    margin-left: 1.5rem !important;
}

[dir="ltr"] .ps-0 {
    padding-left: 0 !important;
}

[dir="ltr"] .ps-1 {
    padding-left: 0.25rem !important;
}

[dir="ltr"] .ps-2 {
    padding-left: 0.5rem !important;
}

[dir="ltr"] .ps-3 {
    padding-left: 1rem !important;
}

[dir="ltr"] .ps-4 {
    padding-left: 1.5rem !important;
}

[dir="ltr"] .ps-5 {
    padding-left: 3rem !important;
}

[dir="rtl"] .ps-0 {
    padding-right: 0 !important;
}

[dir="rtl"] .ps-1 {
    padding-right: 0.25rem !important;
}

[dir="rtl"] .ps-2 {
    padding-right: 0.5rem !important;
}

[dir="rtl"] .ps-3 {
    padding-right: 1rem !important;
}

[dir="rtl"] .ps-4 {
    padding-right: 1.5rem !important;
}

[dir="rtl"] .ps-5 {
    padding-right: 3rem !important;
}

[dir="ltr"] .pe-0 {
    padding-right: 0 !important;
}

[dir="ltr"] .pe-1 {
    padding-right: 0.25rem !important;
}

[dir="ltr"] .pe-2 {
    padding-right: 0.5rem !important;
}

[dir="ltr"] .pe-3 {
    padding-right: 1rem !important;
}

[dir="ltr"] .pe-4 {
    padding-right: 1.5rem !important;
}

[dir="ltr"] .pe-5 {
    padding-right: 3rem !important;
}

[dir="rtl"] .pe-0 {
    padding-left: 0 !important;
}

[dir="rtl"] .pe-1 {
    padding-left: 0.25rem !important;
}

[dir="rtl"] .pe-2 {
    padding-left: 0.5rem !important;
}

[dir="rtl"] .pe-3 {
    padding-left: 1rem !important;
}

[dir="rtl"] .pe-4 {
    padding-left: 1.5rem !important;
}

[dir="rtl"] .pe-5 {
    padding-left: 3rem !important;
}

.category-list-in-header {
    padding: 10px;
    border: 1px solid #0000001f;
    width: 100%;
    cursor: pointer;
    background: white;
}

.min-width-600px {
    min-width: 600px;
}

.loading-parent {
    position: fixed;
    z-index: 9999;
    height: 100vh;
    top: 0;
    display: block;
    justify-content: center;
    align-items: center;
}

.loading-parent.d--none {
    display: none;
}

.loading-parent-first-div {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.payment-loading-parent {
    position: fixed;
    z-index: 9999;
    left: 40%;
    top: 37%;
    width: 100%;
}

[dir="ltr"] .navbar form .search_button {
    border-radius: 0 7px 7px 0;
    left: unset;
    right: 0;
    top: 0;
}

[dir="rtl"] .navbar form .search_button {
    border-radius: 7px 0 0 7px;
    right: unset;
    left: 0;
    top: 0;
}

.header-subcategories-links {
    font-family: sans-serif !important;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    margin-left: 50px;
}

.mt-minus-11px {
    margin-top: -11px;
}

[dir="ltr"] .dir-end-minus-7px {
    right: -7px;
}

[dir="rtl"] .dir-end-minus-7px {
    left: -7px;
}

.category-single-product-price {
    font-size: 12px !important;
    color: #9b9b9b !important;
}
.category-single-product-price.fs-14{
    font-size: 14px !important;
}

.modal-quick-view .modal-dialog {
    max-width: 850px !important;
}

.modal-quick-view .product-title2 {
    font-family: "Roboto", sans-serif !important;
    font-weight: 400 !important;
    font-size: 22px !important;
    color: #000000 !important;
    position: relative;
    display: inline-block;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 1.2em;
    line-height: 1.2em;
}

.modal-quick-view .cz-product-gallery {
    display: block;
    max-height: 530px;
    overflow: hidden;
}

.modal-quick-view .cz-product-gallery .table-responsive {
    overflow: hidden;
    max-height: 80px;
}

.modal-quick-view .cz-preview {
    width: 100%;
    margin-top: 0;
    max-height: 100% !important;
}

.modal-quick-view .cz-preview-item > img {
    width: 100%;
}

.modal-quick-view .details {
    border: 1px solid #e2f0ff;
    border-radius: 3px;
    padding: 16px;
}

@media (max-width: 991px) {
    .modal-quick-view .details {
        border: none;
        border-radius: 0;
        padding: 0;
    }
}

img,
figure {
    max-width: 100%;
    vertical-align: middle;
}

.modal-quick-view .cz-thumblist-item {
    display: block;
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0.625rem;
    transition: border-color 0.2s ease-in-out;
    border: 1px solid #e2f0ff;
    border-radius: 0.3125rem;
    text-decoration: none !important;
    overflow: hidden;
}

.modal-quick-view .for-hover-bg {
    font-size: 18px;
    height: 45px;
}

.modal-quick-view .cz-thumblist-item > img {
    display: block;
    width: 80%;
    transition: opacity 0.2s ease-in-out;
    max-height: 58px;
    opacity: 0.6;
}

@media (max-width: 767px) and (min-width: 576px) {
    .modal-quick-view .cz-preview-item > img {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .modal-quick-view .cz-thumblist {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: center;
        justify-content: center;
        padding-top: 1rem;
        padding-right: 22px;
        padding-bottom: 10px;
    }

    .modal-quick-view .cz-thumblist-item {
        margin: 0;
    }

    .modal-quick-view .cz-thumblist {
        padding-top: 8px !important;
    }

    .modal-quick-view .cz-preview-item > img {
        width: 100%;
    }
}

.product-details-seller-info {
    position: absolute;
    inset-inline-end: 24px;
    inset-block-start: -4px;
}

.image-default-bg-color {
    background-color: #1455ac10;
}

@media (min-width: 768px) {
    [dir="ltr"] .text-md-start {
        text-align: left !important;
    }
    [dir="rtl"] .text-md-start {
        text-align: right !important;
    }
}
.owl-theme .owl-nav *,
.owl-theme .owl-nav [class*="owl-"]:hover {
    background-color: var(--web-primary) !important;
}

.rating {
    cursor: pointer;
    --dir: right;
    --fill: #1455ac;
    --fillbg: rgba(100, 100, 100, 0.15);
    --star: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.25l-6.188 3.75 1.641-7.031-5.438-4.734 7.172-0.609 2.813-6.609 2.813 6.609 7.172 0.609-5.438 4.734 1.641 7.031z"/></svg>');
    --stars: 5;
    --starsize: 2.5rem;
    --symbol: var(--star);
    --value: 1;
    --w: calc(var(--stars) * var(--starsize));
    --x: calc(100% * (var(--value) / var(--stars)));
    block-size: var(--starsize);
    inline-size: var(--w);
    position: relative;
    touch-action: manipulation;
    -webkit-appearance: none;
}

[dir="rtl"] .rating {
    --dir: left;
}

.rating::-moz-range-track {
    background: linear-gradient(
        to var(--dir),
        var(--fill) 0 var(--x),
        var(--fillbg) 0 var(--x)
    );
    block-size: 100%;
    mask: repeat left center/var(--starsize) var(--symbol);
}

.rating::-webkit-slider-runnable-track {
    background: linear-gradient(
        to var(--dir),
        var(--fill) 0 var(--x),
        var(--fillbg) 0 var(--x)
    );
    block-size: 100%;
    mask: repeat left center/var(--starsize) var(--symbol);
    -webkit-mask: repeat left center/var(--starsize) var(--symbol);
}

.rating::-moz-range-thumb {
    height: var(--starsize);
    opacity: 0;
    width: var(--starsize);
}

.rating::-webkit-slider-thumb {
    height: var(--starsize);
    opacity: 0;
    width: var(--starsize);
    -webkit-appearance: none;
}

.rating,
.rating-label {
    display: block;
    font-family: ui-sans-serif, system-ui, sans-serif;
}

.rating-label {
    margin-block-end: 1rem;
}

.rating--nojs::-moz-range-track {
    background: var(--fillbg);
}

.rating--nojs::-moz-range-progress {
    background: var(--fill);
    block-size: 100%;
    mask: repeat left center/var(--starsize) var(--star);
}

.rating--nojs::-webkit-slider-runnable-track {
    background: var(--fillbg);
}

.rating--nojs::-webkit-slider-thumb {
    background-color: var(--fill);
    box-shadow: calc(0rem - var(--w)) 0 0 var(--w) var(--fill);
    opacity: 1;
    width: 1px;
}

[dir="rtl"] .rating--nojs::-webkit-slider-thumb {
    box-shadow: var(--w) 0 0 var(--w) var(--fill);
}

.top-1 {
    top: 0.5rem;
}

.left-1 {
    left: 0.5rem;
}

#dataTable_wrapper > .row:nth-child(1) {
    display: flex;
}
#dataTable_wrapper > .row:nth-child(1) #dataTable_length {
    display: none;
}
[dir="rtl"] div.dataTables_wrapper div.dataTables_filter {
    text-align: left !important;
    padding-inline-end: 0 !important;
}
[dir="rtl"]
    div.table-responsive
    > div.dataTables_wrapper
    > div.row
    > div[class^="col-"]:last-child {
    padding-left: 0;
}

[dir="rtl"] .cz-image-zoom {
    direction: rtl;
}

[dir="rtl"] .cz-image-zoom-pane {
    direction: ltr;
}

.social-share-popup {
    padding: 25px;
    width: 100%;
}

.social-share-popup :is(header, .icons, .field) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.social-share-popup header {
    padding-bottom: 15px;
    border-bottom: 1px solid #ebedf9;
}
.social-share-popup header span {
    font-size: 21px;
    font-weight: 600;
}
.social-share-popup header .close,
.icons a {
    display: flex;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}
.social-share-popup header .close {
    color: #878787;
    font-size: 17px;
    background: #f2f3fb;
    height: 33px;
    width: 33px;
    cursor: pointer;
}
.social-share-popup header .close:hover {
    background: #ebedf9;
}
.social-share-popup .content {
    margin: 20px 0;
}
.social-share-popup .icons {
    display: flex;
    justify-content: center;
    margin: 15px 0 20px 0;
    gap: 1.5rem;
    list-style: none;
}
.social-share-popup .content p {
    font-size: 16px;
}
.social-share-popup .content .icons li a {
    height: 50px;
    width: 50px;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid transparent;
}
.social-share-popup .icons li a i {
    transition: transform 0.3s ease-in-out;
}
.social-share-popup .icons li:nth-child(1) a {
    color: #1877f2;
    border-color: #b7d4fb;
}
.social-share-popup .icons li:nth-child(1):hover a {
    background: #1877f2;
}
.social-share-popup .icons li:nth-child(2) a {
    color: #46c1f6;
    border-color: #b6e7fc;
}
.social-share-popup .icons li:nth-child(2):hover a {
    background: #46c1f6;
}
.social-share-popup .icons li:nth-child(3) a {
    color: #e1306c;
    border-color: #f5bccf;
}
.social-share-popup .icons li:nth-child(3):hover a {
    background: #e1306c;
}
.social-share-popup .icons li:nth-child(4) a {
    color: #25d366;
    border-color: #bef4d2;
}
.social-share-popup .icons li:nth-child(4):hover a {
    background: #25d366;
}
.social-share-popup .icons li:nth-child(5) a {
    color: #0088cc;
    border-color: #b3e6ff;
}
.social-share-popup .icons li:nth-child(5):hover a {
    background: #0088cc;
}
.social-share-popup .icons li:hover a {
    color: #fff;
    border-color: transparent;
}
.social-share-popup .icons li:hover a i {
    transform: scale(1.2);
}
.social-share-popup .content .field {
    margin: 12px 0 -5px 0;
    height: 45px;
    border-radius: 4px;
    padding: 0 5px;
    border: 1px solid #e1e1e1;
}
.social-share-popup .field.active {
    border-color: #7d2ae8;
}
.social-share-popup .field i {
    width: 50px;
    font-size: 18px;
    text-align: center;
}
.social-share-popup .field.active i {
    color: #7d2ae8;
}
.social-share-popup .field input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 15px;
}
.social-share-popup .field button {
    color: #fff;
    padding: 5px 18px;
    background: var(--base);
    border: 0;
    border-radius: 5px;
}

.user-profile-container {
    background: rgba(252, 252, 252, 1);
    direction: var(--web-direction);
}

.line-height-16 {
    line-height: 16px;
}

.customer-profile-wishlist .price-range,
.customer-profile-wishlist .price-range .fs-16 {
    font-size: 13px;
}

.customer-profile-wishlist .price-range del {
    font-size: 14px;
}
.customer-profile-wishlist .price-range .discounted-unit-price {
    font-size: 15px;
}

.customer-profile-orders .status-badge {
    height: 25px;
    padding: 3px 9px 3px 9px;
    border-radius: 5px;
}

.text-secondary-50 {
    color: rgba(155, 155, 155, 1);
}

.border-lighter {
    border: 1px solid rgba(20, 85, 172, 0.05);
}

.user-profile-aside .aside-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.user-profile-aside .active-menu .aside-link {
    font-weight: 600;
}

.shadow-border {
    border: 2px solid rgba(155, 155, 155, 0.05) !important;
}

.details-text-justify h1,
.details-text-justify h2,
.details-text-justify h3,
.details-text-justify h4,
.details-text-justify h5,
.details-text-justify h6 {
    text-align: start;
}

.max-height-100px {
    max-height: 100px;
    overflow: hidden;
}

.min-height-auto {
    min-height: auto !important;
}
.min-height-100px {
    min-height: 100px;
}
.max-height-200px {
    max-height: 200px;
    overflow: hidden;
}
.tio-star.text-star,
.tio-star.text-warning {
    color: rgba(255, 125, 30, 1) !important;
}

.map-area-alert-border {
    border: 2px solid transparent;
}

.map-area-alert-danger {
    border: 2px solid red;
    border-radius: 5px;
    overflow: hidden;
}

.location-search-input-field {
    top: 10px !important;
    outline: none;
    border: 1px solid #b1b1b1;
    padding: 5px 10px;
    left: 250px !important;
    height: 40px;
    font-size: 14px;
}

@media (max-width: 767px) {
    .gmnoprint.gm-style-mtc-bbw {
        display: none;
    }
    .location-search-input-field {
        left: 10px !important;
    }
}
.text-force-underline {
    text-decoration: underline !important;
}

.temporarily-closed-sticky-alert {
    position: absolute;
    top: 60px;
    width: 100%;
    padding: 15px;
}

.temporarily-closed-sticky-alert div.alert-box {
    background-color: rgba(254, 247, 209, 1);
    font-size: 12px;
    letter-spacing: 0.03125rem;
    font-weight: 500;
    padding: 20px;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.temporarily-closed-sticky-alert div.alert-box img {
    width: 25px;
}

.temporarily-closed-sticky-alert div button {
    background-color: transparent;
    border: 0;
    font-size: 14px;
    min-width: 20px;
}

.light-placeholder::-webkit-input-placeholder {
    color: var(--input-placeholder-color) !important;
    opacity: 0.3 !important;
}

.light-placeholder::-moz-placeholder {
    color: var(--input-placeholder-color) !important;
    opacity: 0.3 !important;
}

.light-placeholder:-ms-input-placeholder {
    color: var(--input-placeholder-color) !important;
    opacity: 0.3 !important;
}

.light-placeholder::-ms-input-placeholder {
    color: var(--input-placeholder-color) !important;
    opacity: 0.3 !important;
}

.light-placeholder::placeholder {
    color: var(--input-placeholder-color) !important;
    opacity: 0.3 !important;
}

@media (max-width: 575px) {
    .mobile-fs-12 {
        font-size: 12px !important;
    }
}

.search-result-product-button {
    width: 100%;
    display: grid;
    grid-template-columns: 1rem 1fr 2rem;
    gap: 0.5rem;
}

.search-bar-input {
    padding-right: 5rem !important;
}

@media (max-width: 767px) {
    .search-bar-input {
        padding-right: 1rem !important;
    }
}

#lightbox {
    display: flex;
    flex-direction: column-reverse;
}

.direction-ltr {
    direction: ltr !important;
}

.custom-cart-opacity-50 {
    opacity: 50%;
}

[dir="rtl"] .__chat-seller .aSend {
    transform: rotate(180deg);
}

.search-card.mobile-search-card {
    top: calc(100% - 1px);
    left: 0;
    position: absolute;
    background: white;
    z-index: 999;
    width: 100%;
    display: none;
}

[dir="rtl"] .category-wise-product-slider .owl-nav,
[dir="rtl"] .new-arrivals-product .owl-nav {
    display: flex !important;
}

.img-avatar-parent-element {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 77px;
}

.img-avatar-parent-element img {
    object-fit: cover;
    height: 100%;
    width: auto;
}
.owl-nav.disabled {
    display: none !important;
}

.alert--message-2 {
    border-left: 3px solid var(--base);
    border-radius: 6px;
    position: fixed;
    right: 20px;
    top: 80px;
    z-index: 9999;
    background: #fff;
    width: 80vw;
    display: flex;
    max-width: 330px;
    align-items: center;
    gap: 12px;
    padding: 16px;
    font-size: 12px;
    transition: all ease 0.5s;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.075);
}

.alert--message-2 h6 {
    font-size: 14px;
}

.alert--message-2:not(.active) {
    transform: translateX(calc(100% + 40px));
}
.alert--container {
    position: fixed;
    right: 20px;
    top: 80px;
    z-index: 9999;
    width: 80vw;
    max-width: 330px;
}
.alert--container:not(.active) {
    opacity: 0;
    visibility: hidden;
}
.alert--container .alert {
    position: unset !important;
    top: unset !important;
    left: unset !important;
    right: unset !important;
    margin-bottom: 10px;
    width: 100% !important;
}

.alert--container .alert:not(.active) {
    display: none;
}
.w--0 {
    width: 0;
    flex-grow: 1;
}

.shop-head-check[type="checkbox"],
.shop-item-check[type="checkbox"] {
    cursor: pointer;
}

[dir="rtl"] .checkbox-color input {
    right: -9999px;
    left: auto;
    position: absolute;
}
[dir="rtl"] .checkbox-alphanumeric input {
    right: -9999px;
    left: auto;
    position: absolute;
}

.color-bs-primary-force,
.color-bs-primary-force:focus {
    color: var(--web-primary) !important;
}

.absolute-ltr {
    direction: ltr !important;
}

body {
    word-break: break-word;
}

.rich-editor-html-content table {
    color: var(--title-color);
    max-width: 100% !important;
}

.rich-editor-html-content table > :not(caption) > * {
    border-width: var(--bs-border-width) 0;
}

.rich-editor-html-content table > :not(caption) > * > * {
    border-width: 0 var(--bs-border-width);
}

.rich-editor-html-content table {
    --bs-table-color: var(--bs-body-color);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-body-color);
    --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
    --bs-table-active-color: var(--bs-body-color);
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: var(--bs-table-color);
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}

.rich-editor-html-content table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.rich-editor-html-content table > tbody {
    vertical-align: inherit;
}

.rich-editor-html-content table > thead {
    vertical-align: bottom;
}

.rich-editor-html-content table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rich-editor-html-content li[data-list="bullet"] {
    list-style-type: disc !important;
}

.rich-editor-html-content li[data-list="unchecked"] {
    list-style-type: square !important;
}

.rich-editor-html-content p:has(img) {
    margin-bottom: 0;
}
.rich-editor-html-content img{
    max-width: 100%;
    min-width: 100px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid var(--bs-border-color, #EFF1F4);;
    /* margin-inline-end: 1rem; */
}

.rich-editor-html-content iframe {
    width: 100% !important;
    max-width: 50% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border-radius: 5px;
    border: 1px solid var(--bs-border-color);
}

@media (max-width: 991px) {
    .rich-editor-html-content iframe {
        max-width: 100% !important;
    }
}

@media (max-width: 575px) {
    .rich-editor-html-content table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .rich-editor-html-content img {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .rich-editor-html-content table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991px) {
    .rich-editor-html-content table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1199px) {
    .rich-editor-html-content table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1399px) {
    .rich-editor-html-content table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.rich-editor-html-content table {
    table-layout: auto;
    width: 100%;
    border: 1px solid #e3e9ef;
}

.rich-editor-html-content table th, .rich-editor-html-content table td {
    border: 1px solid #e3e9ef;
}

.rich-editor-html-content table tbody tr td:first-child,
.rich-editor-html-content table tbody tr td:first-child strong {
    width: 1%;
    white-space: nowrap;
}

.embed-responsive {
    overflow: hidden;
}
.embed-responsive-16by9 {
    aspect-ratio: 16/9;
}

.embed-responsive-item {
    width: 100%;
}

.product-preview-modal-text {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 99;
    height: 76px;
    cursor: pointer;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 38%,
        rgba(255, 255, 255, 0.8) 69%,
        rgba(255, 255, 255, 0.9) 100%
    );
}

.product-preview-modal-text:hover span {
    transition: 0.5s ease-in-out all;
}

.product-preview-modal-text:hover span {
    scale: 1.05;
    font-weight: 700;
}

.digital-product-authors {
    display: flex;
    flex-wrap: wrap;
}

.digital-product-authors .digital-product-author-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #828697;
    padding-inline-end: 10px;
}

.digital-product-authors .item-list a {
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    color: #1e1e1e !important;
    position: relative;
    padding-inline-end: 10px;
    margin-inline-end: 5px;
}

.digital-product-authors .item-list a:after {
    content: "";
    width: 0;
    display: flex;
    height: 14px;
    border: 1px solid #b0c7e5;
    font-weight: 400 !important;
    position: absolute;
    bottom: 0;
    right: 0;
}

.digital-product-authors .item-list a:last-child:after {
    content: unset;
}

.product-categories-list {
    overflow: hidden scroll;
    max-height: 18rem;
}

.social-media-login-btn {
    background-color: #0000000a;
    width: 100%;
    gap: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 12px 15px 12px 15px;
}

.social-media-login-btn img {
    height: 30px;
    width: auto;
}

.social-media-login-btn .text {
    font-weight: 600;
    color: #334257;
}

.social-media-user-modal .image-box {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.social-media-user-modal .image-box img {
    --size: 80px;
    width: var(--size);
    height: var(--size);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 100%;
    box-shadow: 0 2px 15px 0.1em #00000029;
}

[theme="dark"] .social-media-login-btn {
    background-color: #7c7c7c4a;
    color: #ffffff;
}

[theme="dark"] .social-media-login-btn .text {
    color: #ffffff;
}

.inset-inline-end-10px {
    inset-inline-end: 10px;
}

.grecaptcha-badge {
    display: none !important;
}
.request-restock-btn {
    position: relative;
    filter: brightness(1) !important;
    -webkit-filter: brightness(1) !important;
}
.request-restock-btn::before {
    position: absolute;
    content: "";
    inset: 0;
    background: var(--web-primary);
    opacity: 0.07;
    border-radius: inherit;
}

.input-required-icon {
    color: #d80000;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.d--flex {
    display: flex;
}

@media (min-width: 576px) {
    .d--sm-flex {
        display: -ms-flexbox;
        display: flex;
    }

    .d--sm-block {
        display: block;
    }
}

.product-restock-request-section {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.custom-disabled {
    opacity: 0.65;
    box-shadow: none;
}

.clearance-sale-title-bg {
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 83px;
    width: 220px;
    position: relative;
}

.clearance-sale-title-bg .title {
    position: absolute;
    bottom: 0.5rem;
    color: #fff;
    left: 20px;
    font-size: 18px;
    font-weight: 800;
    line-height: 21px;
}

.clearance-sale-title-bg .sub-title {
    position: absolute;
    bottom: 2.3rem;
    color: #1455ac;
    font-size: 12px;
    font-weight: 800;
    line-height: 19px;
    left: 1.25rem;
    text-align: center;
    width: 100px;
}

[dir="rtl"] .clearance-sale-title-bg {
    transform: scaleX(-1);
}

[dir="rtl"] .clearance-sale-title-bg .title,
[dir="rtl"] .clearance-sale-title-bg .sub-title {
    transform: scaleX(-1);
}

.fs-12 .discounted-unit-price,
.fs-12 .product-total-unit-price {
    font-size: 0.75rem !important;
}

.bg--light {
    background-color: #f8f8fa;
}
[theme="dark"].bg--light {
    background-color: #18181a;
}

.z-index-1 {
    z-index: -1;
}

.quantity-box-120 {
    width: 120px;
    min-width: 110px;
}

.clearance-sale-slider.owl-carousel .owl-stage {
    display: flex;
    height: 100%;
}
.clearance-sale-slider.owl-carousel.owl-drag .owl-item {
    display: grid;
    align-items: stretch;
}

.bg-count-light {
    background: rgba(236, 241, 246, 0.5);
}

.bg-count-light:focus,
.bg-count-light:hover {
    filter: none !important;
}

.max-height-420px {
    max-height: 420px;
}

.mt-80 {
    margin-top: 80px;
}

.mb-80 {
    margin-bottom: 80px;
}
.mb-50 {
    margin-bottom: 50px;
}

.mb-60 {
    margin-bottom: 60px;
}

.download-user-app {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.download-user-app .download-user-main {
    position: relative;
    z-index: 2;
}
.download-user-app::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-clr-rgb), 80%);
    z-index: 1;
}

.pe-5rem {
    padding-inline-end: 5rem;
}

@media (min-width: 992px) {
    .sticky-top-wrapper {
        position: sticky;
        top: 130px;
    }

    .sticky-top-wrapper.sticky-top-blog-details {
        top: 130px;
        margin-top: 150px;
    }
}

.aspect-2 {
    aspect-ratio: 2/1;
    object-fit: cover;
}

.border-top-before-after {
    position: relative;
}
.border-top-before-after::before,
.border-top-before-after::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0;
    border-top: 1px solid #d9d9d9;
    width: calc(50% - 140px);
    z-index: -1;
}
.border-top-before-after::after {
    inset-inline-start: unset;
    inset-inline-end: 0;
}

.blog-card {
    box-shadow: 0px 0px 6px 0px rgba(51, 66, 87, 0.07);
    border-radius: 15px;
}

.blog-card_image img {
    border-radius: 15px 15px 0 0;
}

.blog-card_footer {
    position: absolute;
    width: 100%;
    inset-inline-start: 0;
    padding-inline: 1rem;
    inset-block-end: 1rem;
}

.rounded-30 {
    border-radius: 30px;
}

.border-inline-end {
    border-inline-end: 1px solid rgba(38, 45, 52, 0.7);
}

@media (max-width: 575px) {
    .border-inline-end.pe-3 {
        border-inline-end: 0;
        padding-inline-end: 0;
    }
}

.ml-5 {
    margin-inline-start: 3rem !important;
}
@media (min-width: 991px) {
    .ml-lg-0 {
        margin-inline-start: 0 !important;
    }
}
.h-80px {
    height: 80px !important;
}

.article-nav-wrapper {
}
.article-nav-wrapper ul li {
    list-style: none;
}

.article-nav-wrapper ul li:not(:last-child) {
    margin-bottom: 20px;
}

.article-nav-wrapper ul li.active a {
    font-weight: 600;
    color: var(--base);
    border-bottom: 1px solid var(--base);
    padding: 0 0.5rem;
    margin-inline-start: 1rem;
    transition: all 0.3s ease-in-out;
}

.article-nav-wrapper_collapse {
    background-color: #fff;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.1));
    width: 36px;
    height: 36px;
    transition: background 0.3s ease-in-out;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    display: none;
    position: fixed;
    inset-block-start: 190px;
    inset-inline-start: 1rem;
    z-index: 99;
}
.article-nav-wrapper_collapse:hover {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f6f6f6;
}
.article-nav-wrapper_collapse i {
    font-size: 1rem;
    line-height: 1;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 991px) {
    .article-nav-wrapper_collapse {
        display: flex;
    }
    .article-nav-wrapper {
        position: fixed;
        width: 100%;
        inset-inline-start: 0;
        inset-block-start: 170px;
        z-index: 9;
    }
    .article-nav-wrapper ul {
        overflow-y: auto;
        max-height: 260px;
    }
}

.recent-post:not(:last-child) {
    margin-bottom: 20px;
}

.blog-top-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding-inline-start: 0;
    padding-inline-end: 60px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.blog-top-nav::-webkit-scrollbar {
    display: none;
}

.blog-top-nav li {
    list-style: none;
}
.blog-top-nav li.active a {
    color: #fff;
    background-color: var(--base);
}
.blog-top-nav li.active a span {
    opacity: 1 !important;
}

.blog-top-nav_next-btn,
.blog-top-nav_prev-btn {
    --justify-content: start;
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
    width: 50px;
    height: 42px;
    padding: 0;
    display: none;
    justify-content: var(--justify-content);
    align-items: center;
    color: #fff;
    background-color: #f7f8fa;
    z-index: 100;
}

.blog-top-nav_next-btn {
    --justify-content: end;
    padding-inline-start: 0.75rem;
}

.blog-top-nav_prev-btn {
    --justify-content: start;
}

.blog-top-nav_next-btn button,
.blog-top-nav_prev-btn button {
    width: 39px;
    height: 39px;
    aspect-ratio: 1;
    background-color: var(--base);
    max-width: 39px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-top-nav_prev-btn {
    inset-inline-end: unset;
    inset-inline-start: 0;
}

.blog-top-nav_next-btn:hover,
.blog-top-nav_prev-btn:hover,
.blog-top-nav_next-btn:focus,
.blog-top-nav_prev-btn:focus,
.blog-top-nav_next-btn:active,
.blog-top-nav_prev-btn:active {
    color: #fff !important;
    background-color: #f7f8fa !important;
    border: none !important;
}

.blog-top-nav_next-btn button:hover,
.blog-top-nav_prev-btn button:hover,
.blog-top-nav_next-btn button:focus,
.blog-top-nav_prev-btn button:focus,
.blog-top-nav_next-btn button:active,
.blog-top-nav_prev-btn button:active {
    color: #fff !important;
    background-color: var(--base) !important;
    border: none !important;
}

.h-45px {
    height: 45px !important;
}

.blog-banner-search {
    margin-top: -40px;
    width: 70%;
}
@media (max-width: 575px) {
    .blog-banner-search {
        width: 90%;
        margin-top: 0;
    }
}

.text--primary {
    color: var(--base) !important;
}

.blog-banner-container {
    position: relative;
    overflow: hidden;
}
.blog-banner-svg {
    max-width: unset !important;
}

@media (min-width: 1400px) {
    .blog-banner-svg {
        width: 100%;
        height: auto;
    }
}

.blog-banner-content {
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Transaction filter */
.transaction-filter_dropdown {
    min-width: 360px !important;
    transform: translate(0px, 45px) !important;
    right: 0 !important;
    left: auto !important;
}

[dir="rtl"] .transaction-filter_dropdown {
    right: auto !important;
    left: 0 !important;
}

@media (max-width: 575px) {
    .transaction-filter_dropdown {
        min-width: 100% !important;
    }
}

.max-h-290px {
    max-height: 290px;
}

.daterangepicker.show-calendar .drp-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: end !important;
}

.icon-absolute-on-right {
    position: absolute;
    font-size: 20px;
    opacity: 0.6;
    inset-inline-end: 15px;
    inset-block-start: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.fs-20 {
    font-size: 20px !important;
}

#transactionFilterBtn .count {
    position: absolute;
    inset-inline-end: -4px;
    inset-block-start: -4px;
    width: 1rem;
    height: 1rem;
    font-size: 0.675rem;
    line-height: 1rem;
    border-radius: 50%;
    text-align: center;
    color: #fff;
}

.earn-checkbox {
    accent-color: var(--web-primary);
    width: auto;
}

#filterCloseBtn {
    width: 24px;
    height: 24px;
    background-color: #d9d9d9;
}

.gap-10 {
    gap: 10px !important;
}
.gap-30 {
    gap: 30px !important;
}


.letter-spacing-0 {
    letter-spacing: 0;
}

@media (max-width: 575px) {
    .fs-20-mobile {
        font-size: 1.25rem !important;
    }
    .fs-16-mobile {
        font-size: 1rem !important;
    }
    .fs-14-mobile {
        font-size: 0.875rem !important;
    }
    .fs-12-mobile {
        font-size: 0.75rem !important;
    }
}

/* Product page price range */
#price_range_slider {
    width: calc(100% - 16px);
    height: 3px;
    /* background: rgba(var(--primary-clr-rgb), 0.38); */
    position: relative;
}
[dir="rtl"] #price_range_slider {
    right: 16px;
}

#price_range_slider::after {
    content: "";
    inset-inline-start: 0;
    width: calc(100% + 15px);
    height: 100%;
    background: rgba(var(--primary-clr-rgb), 0.38);
    position: absolute;
}
[dir="rtl"] #price_range_slider::after {
    right: -15px;
}

#price_range_slider .slider-thumb {
    width: 1rem;
    height: 1rem;
    background: var(--base);
    border-radius: 50%;
    position: absolute;
    top: -5px;
    cursor: pointer;
}

#price_range_slider .slider-range {
    height: 3px;
    background: var(--base);
    position: absolute;
    top: 0;
}

.bg-black-09 {
    background-color: rgba(0, 0, 0, 0.09);
}

.form-control--sm {
    block-size: 1.875rem;
    font-size: 0.75rem;
}

.w-fit-content {
    width: fit-content !important;
}

.gap-12px {
    gap: 0.75rem !important;
}

.mb-12px {
    margin-bottom: 0.75rem !important;
}

.form-loading-button {
    transition: 1s ease-in-out all;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-loading-button .spinner-grow-sm,
.form-loading-button .loading {
    display: none;
}

.form-loading-button.active-loading .default {
    display: none;
}

.form-loading-button.active-loading .spinner-grow-sm,
.form-loading-button.active-loading .loading {
    display: block;
}

.form-loading-button.bg-primary {
    color: var(--primary-light);
}

.form-loading-button.bg-primary .spinner-grow {
    background-color: var(--web-primary);
}

.cursor-default {
    cursor: default !important;
}

.chatting-search-border {
    border: 2px solid #d3e8ff4d;
    border-radius: 5px;
}

.__color-9B9B9B {
    color: #9b9b9b;
}

.blog-single-card-item {
    cursor: pointer;
}

.business-pages-banner-section {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    --opacity: 0.5;
    --bg-color: 0, 0, 0;
    position: relative;
    z-index: 1;
    padding: 3rem;
    overflow: hidden;
    border-radius: 10px;
}

.business-pages-banner-section h1 {
    color: #ffffff;
    font-size: 1.75rem;
}

.business-pages-banner-section:after {
    inline-size: 100%;
    block-size: 100%;
    inset-inline-start: 0;
    inset-block-start: 0;
    position: absolute;
    z-index: -1;
    content: "";
    background-color: rgba(var(--bg-color), var(--opacity));
}

@media (max-width: 479px) {
    .business-pages-banner-section h1 {
        font-size: 1.5rem;
    }
}

.column-gap-5 {
    column-gap: 2rem !important;
}

.cz-countdown-value.fs-8{
    font-size: 0.5rem !important;
}

.h-40px{
    height: 40px !important;
}

.fs-15{
    font-size: 15px !important;
}
.product-card-shadow{
    box-shadow: 0 0 1.636px 0 rgba(145, 158, 171, 0.20), 0 8.179px 16.359px -2.454px rgba(145, 158, 171, 0.05) !important;
}

.border-black-50{
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.product-with-bg .product-single-hover{
    background-color: #ffffff;
    padding: 0.5rem;
    border-radius: 5px;
    box-shadow: 0 0 1.636px 0 rgba(145, 158, 171, 0.20), 0 8.179px 16.359px -2.454px rgba(145, 158, 171, 0.05);
}

.product-with-bg img.border.border-black-50{
    border: none !important;
}

.search-rounded-10{
    --radius: 10px;
    border-radius: var(--radius);
}

.search-rounded-10 .search-page-button-input{
    border-radius: var(--radius);
}

.search-rounded-10 .search-page-button{
    border-radius: 0 var(--radius) var(--radius) 0;
}

[dir="rtl"] .search-rounded-10 .search-page-button {
    border-radius: var(--radius) 0 0 var(--radius);
}

.owl-theme .owl-nav .owl-prev,
.owl-theme .owl-nav .owl-next{
    --size: 40px;
    width: var(--size);
    height: var(--size);
    display: flex;
    justify-content: center;
    align-items: center;
}

.owl-theme .owl-nav .owl-prev i,
.owl-theme .owl-nav .owl-next i{
    font-size: 0.875rem !important;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 767px) {
    .owl-theme .owl-nav .owl-prev,
    .owl-theme .owl-nav .owl-next{
        --size: 30px;
    }

    .owl-theme .owl-nav .owl-prev i,
    .owl-theme .owl-nav .owl-next i{
        font-size: 0.75rem !important;
    }
}
@media (max-width: 539px) {

    #featured_products_list.owl-theme .owl-nav .owl-prev{
        transform: translateX(-30px);
    }
    #featured_products_list.owl-theme .owl-nav .owl-next {
        transform: translateX(30px);
    }
}

@media (max-width: 360px) {
        #featured_products_list {
        max-width: 200px;
    }
}

.__cart-total .order-summery-footer-image{
    width: 20px;
    height: 20px;
    margin: 0;
}

.shop-feature-faster{
    background-color: var(--light-box);
    padding: 12px 20px !important;
    gap: 10px;
}

.shop-feature-faster .inners{
    gap: 10px;
    font-size: 13px !important;
}

.select-wrap select{
    font-size: 14px;
}
.light-box{
    background-color: var(--light-box) !important;
}
.p-20{
    padding: 20px;
}
.min-height-74{
    min-height: 74px;
}
.w-24{
    width: 24px;
    min-width: 24px;
}
.offline_payment_button:hover,
.offline_payment_button.active{
    background-color: var(--web-primary) !important;
    color: var(--white-clr) !important;
    filter: brightness(1) !important;
}

.max-w-100px{
    max-width: 100px;
}
.p-xxl-4px{
    @media screen and (min-width: 1399px) {
        padding: 4px;
    }
}

.lh-19px{
    line-height: 19px;
}

.flash-deal-shadow{
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06) !important;
}
.h-24px{
    height: 24px;
}
.w-20px{
    width: 20px;
}
.h-20px{
    height: 20px;
}

.p-details-description p span{
    display: block;
    line-height: 24px;
}
.p-details-description h3 ul{
    padding-inline-start: 0;
}
.max-h-35vh {
    max-height: 35vh !important;
}

.object-cover-center {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* ========================================================
   NOORCART MOBILE UI/UX & ANDROID OPTIMIZATIONS
   ======================================================== */

/* Prevent horizontal overflow on Android screens */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

button, a, input, select, textarea {
    touch-action: manipulation;
}

/* ========================================================
   1. MOBILE NAVIGATION DRAWER & BACKDROP OVERLAY
   ======================================================== */
@media screen and (max-width: 767.98px) {
    /* Thinner clean brand line for .navbar-stuck-menu on mobile (eliminates giant blocking blue box) */
    .navbar-stuck-menu {
        background: transparent !important;
        background-color: transparent !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        line-height: 0 !important;
    }
    .navbar-stuck-menu > .container {
        padding: 0 !important;
        margin: 0 !important;
        min-height: 0 !important;
        height: 0 !important;
    }

    /* Subtle Dark Backdrop Behind Drawer */
    .mobile-nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        background-color: rgba(15, 23, 42, 0.62);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 99998;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    }

    .mobile-nav-backdrop.show,
    .mobile-nav-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Lock body scroll when drawer is open */
    body.mobile-drawer-open {
        overflow: hidden !important;
        height: 100vh !important;
        touch-action: none;
        -webkit-overflow-scrolling: auto;
    }

    /* Hardware-Accelerated Smooth Slide-In Drawer */
    #navbarCollapse {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        width: 84vw !important;
        max-width: 325px !important;
        height: 100% !important;
        height: 100dvh !important;
        background-color: #ffffff !important;
        z-index: 99999 !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-shadow: 6px 0 32px rgba(15, 52, 96, 0.2) !important;
        transform: translateX(-100%) !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease !important;
    }

    /* RTL Support */
    html[dir="rtl"] #navbarCollapse {
        left: auto !important;
        right: 0 !important;
        transform: translateX(100%) !important;
        box-shadow: -6px 0 32px rgba(15, 52, 96, 0.2) !important;
    }

    #navbarCollapse.show,
    #navbarCollapse.active {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Mobile Drawer Header */
    .mobile-drawer-header {
        background: #ffffff !important;
        padding: 16px 18px 14px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        position: sticky;
        top: 0;
        z-index: 10;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }

    .mobile-drawer-logo {
        height: 46px !important;
        max-height: 50px !important;
        width: auto !important;
        max-width: 180px !important;
        object-fit: contain !important;
        display: block !important;
        image-rendering: -webkit-optimize-contrast;
    }

    .mobile-drawer-avatar {
        border: 2px solid #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        object-fit: cover;
    }

    .drawer-user-card,
    .drawer-auth-card {
        background: #f8fafd !important;
        border: 1px solid #e8f0fe !important;
        border-radius: 12px !important;
    }

    .drawer-user-card .drawer-user-info,
    .drawer-auth-card .drawer-user-info {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-width: 0 !important;
        line-height: normal !important;
    }

    .drawer-user-card .drawer-user-welcome,
    .drawer-auth-card .drawer-user-welcome {
        font-size: 11px !important;
        line-height: 15px !important;
        color: #64748b !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        white-space: nowrap !important;
        font-weight: 500 !important;
    }

    .drawer-user-card .drawer-user-name,
    .drawer-auth-card .drawer-user-name {
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 18px !important;
        color: #0f172a !important;
        margin: 2px 0 0 0 !important;
        padding: 0 !important;
        display: block !important;
        white-space: nowrap !important;
    }

    .mobile-drawer-close {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        color: #475569 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: transform 0.15s ease, background-color 0.15s ease !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    }

    .mobile-drawer-close:active {
        transform: scale(0.9) !important;
        background: #e2e8f0 !important;
    }

    /* Mobile Drawer Touch Animation & Modern Layout */
    .mobile-drawer-body {
        -webkit-overflow-scrolling: touch;
        padding-bottom: 40px !important;
    }

    .drawer-section-heading {
        letter-spacing: 0.06em;
    }

    .drawer-touch-item {
        padding: 10px 12px;
        border-radius: 12px;
        transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s ease, border-color 0.15s ease;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        border: 1px solid transparent;
        background-color: #ffffff;
    }

    .drawer-touch-item:hover {
        background-color: #f8fafc;
        border-color: #f1f5f9;
    }

    .drawer-touch-item:active {
        transform: scale(0.975);
        background-color: #f0f7ff !important;
        border-color: #dbeafe !important;
    }

    .drawer-touch-item:active .drawer-chevron {
        transform: translateX(3px);
        color: #2563eb !important;
    }

    .drawer-chevron {
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .drawer-icon-box {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 15px;
        transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .drawer-touch-item:active .drawer-icon-box {
        transform: scale(0.9);
    }

    /* Pastel icon container themes */
    .bg-light-primary { background: #eef2ff !important; color: #4f46e5 !important; }
    .bg-light-blue    { background: #eff6ff !important; color: #2563eb !important; }
    .bg-light-danger  { background: #fef2f2 !important; color: #dc2626 !important; }
    .bg-light-warning { background: #fffbeb !important; color: #d97706 !important; }
    .bg-light-purple  { background: #faf5ff !important; color: #9333ea !important; }
    .bg-light-success { background: #ecfdf5 !important; color: #059669 !important; }
    .bg-light-cyan    { background: #ecfeff !important; color: #0891b2 !important; }
    .bg-light-slate   { background: #f1f5f9 !important; color: #475569 !important; }
    .bg-light-teal    { background: #f0fdfa !important; color: #0d9488 !important; }
    .bg-light-amber   { background: #fefce8 !important; color: #ca8a04 !important; }
    .bg-light-rose    { background: #fff1f2 !important; color: #e11d48 !important; }

    .drawer-hot-badge {
        animation: pulseBadge 2s infinite ease-in-out;
        background: linear-gradient(135deg, #ef4444 0%, #f97316 100%) !important;
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
    }

    @keyframes pulseBadge {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.08); }
    }

    .drawer-collapse-btn {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: #f1f5f9;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        transition: all 0.2s ease;
        text-decoration: none !important;
    }

    .drawer-collapse-btn:active {
        transform: scale(0.9);
        background: #e2e8f0;
    }

    .drawer-collapse-btn[aria-expanded="true"] i,
    .drawer-collapse-btn:not(.collapsed) i {
        transform: rotate(180deg);
    }

    .drawer-subcat-box {
        background: #f8fafc;
        border-radius: 10px;
        border-left: 3px solid #3b82f6;
    }

    .drawer-subcat-link {
        padding: 6px 10px;
        border-radius: 6px;
        transition: all 0.15s ease;
    }

    .drawer-subcat-link:active {
        transform: translateX(4px);
        color: #2563eb !important;
        background: #eff6ff;
    }

    .drawer-footer-card {
        background: #f8fafd;
        border: 1px solid #eef2f6;
        border-radius: 14px;
    }
}

/* ========================================================
   2. MOBILE HEADER & NAVIGATION BAR
   ======================================================== */
@media screen and (max-width: 767.98px) {
    .mobile-head {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .mobile-head .navbar {
        padding: 8px 12px !important;
    }

    .mobile-nav-toggler {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
        background: #f8fafd;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #1e293b;
        transition: all 0.2s ease;
    }

    .mobile-nav-toggler:active {
        background: #e2e8f0;
        transform: scale(0.95);
    }

    .mobile-main-logo {
        max-height: 36px;
        width: auto;
        object-fit: contain;
    }

    .navbar-toolbar .navbar-tool-icon-box {
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        background: #f1f5f9 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #1e293b !important;
        transition: all 0.2s ease;
    }

    .navbar-toolbar .navbar-tool-icon-box:active {
        background: #e2e8f0 !important;
    }

    .navbar-tool-label {
        top: -4px !important;
        right: -4px !important;
        font-size: 10px !important;
        padding: 2px 5px !important;
        border-radius: 10px !important;
        min-width: 18px !important;
        height: 18px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* ========================================================
   3. HOMEPAGE REFINEMENTS (RELIABILITY & FOOTER CARDS)
   ======================================================== */
@media screen and (max-width: 767.98px) {
    /* Fast Delivery & Safe Payment Cards */
    .shipping-policy-web {
        padding: 10px 0;
    }

    .shipping-method-system {
        border-radius: 14px;
        background: #f8fbff;
        border: 1px solid #e2ecf9;
        padding: 16px 12px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .shipping-method-system .shopping-method-icon {
        width: 52px !important;
        height: 52px !important;
        background: #ffffff !important;
        box-shadow: 0 4px 12px rgba(15, 52, 96, 0.08) !important;
        border-radius: 50% !important;
        margin-bottom: 10px !important;
    }

    .shipping-method-system .shopping-method-icon img {
        width: 30px !important;
        height: 30px !important;
    }

    .shipping-method-system p {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
    }

    /* 3-Card Balanced Footer Support Row (About Us, Contact Us, FAQ) */
    .footer-slide-item {
        border-radius: 14px !important;
        border: 1px solid #eef2f8 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        padding: 14px 6px !important;
        min-height: 102px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        transition: transform 0.2s ease;
    }

    .footer-slide-item:active {
        transform: scale(0.97);
    }

    .footer-slide-item .heading,
    .footer-slide-item p {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        margin-top: 4px !important;
        line-height: 1.25 !important;
    }

    .footer-slide-item img.svg {
        width: 32px !important;
        height: 32px !important;
    }

    /* Footer Logo */
    .footer-web-logo img {
        max-height: 48px;
        width: auto;
        margin-bottom: 12px;
    }
}

/* WhatsApp Floating Button Position & Safe Area */
.floating-btn-grp .wa-widget-send-button {
    position: fixed !important;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    right: 18px !important;
    z-index: 995 !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.38) !important;
    transition: transform 0.2s ease;
}

.floating-btn-grp .wa-widget-send-button:active {
    transform: scale(0.92);
}

.floating-btn-grp .wa-messenger-svg-whatsapp {
    width: 52px !important;
    height: 52px !important;
}

/* ========================================================
   4. AUTHENTICATION PAGES (SIGN IN / SIGN UP)
   ======================================================== */
@keyframes authCardEntrance {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: authCardEntrance 0.26s ease-out;
    border-radius: 16px !important;
    border: 1px solid #eef2f7 !important;
    box-shadow: 0 4px 24px rgba(15, 52, 96, 0.07) !important;
    background: #ffffff;
    padding: 28px 24px !important;
}

@media screen and (max-width: 575.98px) {
    .login-card {
        padding: 22px 16px !important;
        border-radius: 14px !important;
    }
}

/* Modern 48px Touch-Friendly Input Fields */
.customer-centralize-login-form .form-control,
#customer-register-form .form-control {
    min-height: 48px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 10px 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.customer-centralize-login-form .form-control:focus,
#customer-register-form .form-control:focus {
    border-color: var(--web-primary) !important;
    box-shadow: 0 0 0 3.5px rgba(15, 52, 96, 0.12) !important;
    outline: none !important;
}

/* Auth Submit Buttons */
.customer-centralize-login-form button[type="submit"],
#customer-register-form button[type="submit"] {
    min-height: 48px !important;
    border-radius: 10px !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(15, 52, 96, 0.18) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.customer-centralize-login-form button[type="submit"]:active,
#customer-register-form button[type="submit"]:active {
    transform: scale(0.98);
}

/* Prominent Auth Switch Card */
.auth-switch-card {
    background: #f8fafc !important;
    border: 1.5px dashed #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    margin: 22px 0 10px !important;
    transition: background 0.2s ease;
}

.auth-switch-card:hover {
    background: #f1f5f9 !important;
}

.auth-switch-link {
    font-weight: 700 !important;
    font-size: 14.5px !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Logo Display & Proportions (Desktop Windows & Android Mobile)
   ========================================================================== */
.system-logo-element {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    max-height: 72px;
    max-width: 250px;
    height: auto;
    width: auto;
    padding: 0;
    margin: 0;
}

.system-logo-element img {
    object-fit: contain !important;
    aspect-ratio: auto !important;
    height: auto;
    width: auto;
    max-height: 58px;
    max-width: 240px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
    transition: transform 0.2s ease;
    image-rendering: -webkit-optimize-contrast;
}

/* Ensure bootstrap responsive display classes are strictly respected on logos */
/* Responsive Desktop vs Mobile Logo Visibility */
@media (min-width: 768px) {
    .desktop-logo-element,
    a.desktop-logo-element {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0 !important;
        height: 52px !important;
        min-width: 140px !important;
        max-width: 250px !important;
        margin-right: 18px !important;
    }
    .desktop-logo-element img,
    .desktop-logo-img {
        height: 48px !important;
        max-height: 52px !important;
        max-width: 230px !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 767.98px) {
    /* Hide desktop logo and top cart icon completely on mobile/Android devices */
    .desktop-logo-element,
    a.desktop-logo-element {
        display: none !important;
        visibility: hidden !important;
    }

    #cart_items {
        display: none !important;
    }

    .mobile-head {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .mobile-head .navbar > .container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 56px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .mobile-nav-left {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex-shrink: 0 !important;
    }

    .mobile-nav-toggler {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
        border: 1px solid #e2e8f0 !important;
        background: #f8fafc !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #1e293b !important;
        transition: transform 0.15s ease, background-color 0.15s ease !important;
    }

    .mobile-nav-toggler:active {
        transform: scale(0.92) !important;
        background: #e2e8f0 !important;
    }

    .mobile-main-logo {
        height: 44px !important;
        max-height: 48px !important;
        width: auto !important;
        max-width: 175px !important;
        object-fit: contain !important;
        display: block !important;
        image-rendering: -webkit-optimize-contrast;
    }

    .navbar-toolbar {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar-toolbar .navbar-tool-icon-box {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: #f1f5f9 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: transform 0.15s ease, background-color 0.15s ease !important;
    }

    .navbar-toolbar .navbar-tool-icon-box:active {
        transform: scale(0.92) !important;
        background: #e2e8f0 !important;
    }
}

@media (max-width: 400px) {
    .mobile-main-logo {
        height: 40px !important;
        max-height: 44px !important;
        max-width: 155px !important;
    }
}

/* ==========================================================================
   Mobile Bottom Navigation Bar (Shop App UI for Android & Mobile)
   ========================================================================== */
.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: #ffffff !important;
    border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.08) !important;
    z-index: 9990 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
}

@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

.bottom-nav-item {
    flex: 1 1 0;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 2px !important;
    text-decoration: none !important;
    color: #64748b !important;
    transition: color 0.15s ease, transform 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.bottom-nav-item:active {
    transform: scale(0.92);
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--web-primary, #0f3460) !important;
}

.bottom-nav-icon {
    position: relative !important;
    width: 26px;
    height: 26px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

.bottom-nav-icon i {
    font-size: 20px !important;
    line-height: 1 !important;
}

.bottom-nav-label {
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    margin-top: 3px !important;
    text-transform: capitalize;
    letter-spacing: 0.1px;
    max-width: 64px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bottom-nav-item.active .bottom-nav-label {
    font-weight: 700 !important;
    color: var(--web-primary, #0f3460) !important;
}

/* Badges on Cart & Wishlist */
.bottom-nav-cart-badge,
.bottom-nav-wishlist-badge {
    position: absolute !important;
    top: -5px !important;
    right: -9px !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 17px !important;
    text-align: center !important;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.4) !important;
    border: 1.5px solid #ffffff !important;
}

/* Prevent bottom nav from overlapping body content on mobile */
@media (max-width: 767.98px) {
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    }
    
    /* Reposition Floating Elements (WhatsApp & Scroll-To-Top) */
    .floating-btn-grp {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    }
}



/* ==========================================================================
   MOBILE FLOATING DOCK — Pill-style floating bottom navigation
   ========================================================================== */

/* Disable the old flat bar so the two don't conflict */
.mobile-bottom-nav { display: none !important; }

.mobile-dock {
    position: fixed !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 420px !important;
    height: 60px !important;
    z-index: 9995 !important;
    pointer-events: none;
}

body.modal-open .mobile-dock,
.modal.show ~ .mobile-dock {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.modal {
    z-index: 10050 !important;
}

.modal-backdrop {
    z-index: 10040 !important;
}

@media (max-width: 767.98px) {
    #open-ticket .modal-dialog {
        margin: 10px auto 30px auto !important;
        max-width: calc(100% - 20px) !important;
    }
    #open-ticket .modal-content {
        max-height: calc(100vh - 40px) !important;
        display: flex !important;
        flex-direction: column !important;
    }
    #open-ticket .modal-body {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        max-height: calc(100vh - 120px) !important;
    }
}

@media (min-width: 768px) {
    .mobile-dock { display: none !important; }
}

.mobile-dock-inner {
    width: 100%;
    height: 100%;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow:
        0 8px 32px rgba(15, 23, 42, 0.14),
        0 2px 8px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(226, 232, 240, 0.8) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 0 4px !important;
    pointer-events: all;
    overflow: hidden;
}

.dock-item {
    flex: 1 1 0;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    padding: 6px 0 5px !important;
    text-decoration: none !important;
    color: #94a3b8 !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    transition: color 0.18s ease, transform 0.18s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    border-radius: 0;
}

.dock-item:first-child { border-radius: 20px 0 0 20px; }
.dock-item:last-child  { border-radius: 0 20px 20px 0; }

.dock-item:active {
    transform: scale(0.88);
    background: rgba(15, 52, 96, 0.05) !important;
}

.dock-item.active { color: var(--web-primary, #0f3460) !important; }

.dock-item.active::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--web-primary, #0f3460);
}

.dock-icon {
    position: relative !important;
    width: 24px;
    height: 24px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.dock-icon i, .dock-icon .fi {
    font-size: 19px !important;
    line-height: 1 !important;
}

.dock-label {
    font-size: 10.5px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    margin-top: 4px !important;
    white-space: nowrap;
}

.dock-item.active .dock-label {
    font-weight: 700 !important;
    color: var(--web-primary, #0f3460) !important;
}

.dock-badge {
    position: absolute !important;
    top: -6px !important;
    right: -8px !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 17px !important;
    text-align: center !important;
    border: 2px solid #ffffff !important;
}

.dock-badge.d-none { display: none !important; }

@media (max-width: 767.98px) {
    body { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important; }
    .floating-btn-grp { bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important; }
}


/* ==========================================================================
   AUTH — Phone flag/dial-code overlap fix
   ========================================================================== */

/* ==========================================================================
   Modern Segmented Country Code & Phone Number Input Architecture
   ========================================================================== */
.iti {
    display: flex !important;
    align-items: stretch !important;
    position: relative !important;
    width: 100% !important;
    gap: 8px !important;
}

.iti__flag-container {
    position: static !important;
    display: flex !important;
    align-items: stretch !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    z-index: 5 !important;
}

.iti__selected-flag {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 12px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    min-height: 48px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    user-select: none !important;
}

.iti__selected-flag:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.iti__selected-flag:focus {
    outline: none !important;
    border-color: var(--web-primary, #1455AC) !important;
    box-shadow: 0 0 0 3px rgba(20, 85, 172, 0.12) !important;
}

.iti__selected-dial-code {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    display: inline-block !important;
    margin: 0 2px !important;
    line-height: 1 !important;
}

.iti__arrow {
    margin-left: 2px !important;
    border-top: 5px solid #64748b !important;
    border-left: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    transition: transform 0.2s ease !important;
}

.iti--show-selected-dial-code .iti__arrow--up {
    transform: rotate(180deg) !important;
}

.iti input[type="tel"],
.iti input[type="text"],
.iti input,
input.phone-input-with-country-picker,
.phone-input-with-country-picker {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-inline-start: 16px !important;
    padding-inline-end: 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease !important;
}

[dir="rtl"] .iti input[type="tel"],
[dir="rtl"] .iti input[type="text"],
[dir="rtl"] .iti input,
[dir="rtl"] input.phone-input-with-country-picker,
[dir="rtl"] .phone-input-with-country-picker {
    padding-right: 16px !important;
    padding-left: 16px !important;
    padding-inline-start: 16px !important;
    padding-inline-end: 16px !important;
}

.iti input[type="tel"]:focus,
.iti input[type="text"]:focus,
.iti input:focus,
input.phone-input-with-country-picker:focus {
    border-color: var(--web-primary, #1455AC) !important;
    box-shadow: 0 0 0 3px rgba(20, 85, 172, 0.12) !important;
    outline: none !important;
}

.iti__dropdown-content {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    z-index: 1060 !important;
    width: 320px !important;
    max-width: 90vw !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
}

[dir="rtl"] .iti__dropdown-content {
    left: auto !important;
    right: 0 !important;
}

.iti__search-input {
    width: 100% !important;
    padding: 10px 14px !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-size: 13.5px !important;
    outline: none !important;
    background: #f8fafc !important;
}

.iti__country-list {
    max-height: 220px !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    list-style: none !important;
}

.iti__country {
    padding: 8px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    color: #334155 !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background: #f1f5f9 !important;
    color: var(--web-primary, #1455AC) !important;
}

.iti__country .iti__dial-code {
    color: #64748b !important;
    font-weight: 600 !important;
    margin-left: auto !important;
}

[dir="rtl"] .iti__country .iti__dial-code {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* ==========================================================================
   Password Strength Meter & Live Requirement Checklist UI
   ========================================================================== */
.password-strength-container {
    background: transparent;
}

.strength-bars-track {
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.strength-bar-seg {
    height: 100%;
    background: #e2e8f0;
    border-radius: 999px;
    transition: background-color 0.25s ease;
}

.password-rules-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.rule-item {
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.rule-item .rule-icon {
    font-size: 13px;
    margin-right: 4px;
}

.rule-item.rule-valid {
    color: #10b981 !important;
    font-weight: 600 !important;
}

.rule-item.rule-valid .rule-icon {
    color: #10b981 !important;
}

.password-match-status.match-success {
    color: #10b981 !important;
}

.password-match-status.match-danger {
    color: #ef4444 !important;
}

/* ==========================================================================
   Badge Zero-Count Auto-Hide Protection
   ========================================================================== */
.navbar-tool-label.d-none,
.navbar-tool-label:empty,
.dock-badge.d-none,
.dock-badge:empty,
.wishlist-badge-container.d-none,
.cart-badge-container.d-none {
    display: none !important;
}

/* Modern App-Style Toastr Notifications */
#toast-container {
    z-index: 9999999 !important;
}

@media (max-width: 767.98px) {
    #toast-container {
        top: 20px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 92% !important;
        max-width: 390px !important;
    }
}

#toast-container > div {
    border-radius: 14px !important;
    padding: 14px 18px 14px 46px !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.20), 0 3px 10px rgba(15, 23, 42, 0.10) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    opacity: 0.98 !important;
    margin-bottom: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    animation: toastDropIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes toastDropIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
    }
    to {
        opacity: 0.98;
        transform: translateY(0) scale(1);
    }
}

#toast-container > .toast-success {
    background-color: #059669 !important;
}

#toast-container > .toast-error {
    background-color: #dc2626 !important;
}

#toast-container > .toast-info {
    background-color: var(--web-primary, #0f3460) !important;
}

#toast-container > .toast-warning {
    background-color: #d97706 !important;
}

#toast-container .toast-progress {
    height: 3px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 0.7 !important;
}


/* ==========================================================================
   AUTH — Remember-me row & captcha alignment
   ========================================================================== */

/* Remember-me / forgot-password row */
.customer-centralize-login-form .form-group.d-flex.flex-wrap.justify-content-between,
#customer-register-form .form-group.d-flex.flex-wrap.justify-content-between {
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
}

/* Captcha container */
.default-captcha-container,
.dynamic-default-and-recaptcha-section {
    width: 100% !important;
    margin: 6px 0 12px !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.default-captcha-container img {
    max-height: 46px;
    border-radius: 8px 0 0 8px !important;
    border: 1.5px solid #e2e8f0 !important;
    object-fit: contain;
}

.default-captcha-container input[type="text"],
.default-captcha-container .captcha-input {
    min-height: 46px !important;
    border-radius: 0 8px 8px 0 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-left: none !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
}

/* Register: Terms checkbox and captcha balanced on mobile */
@media (max-width: 575.98px) {
    #customer-register-form .col-sm-6 {
        width: 100% !important;
    }
    #customer-register-form .row.g-3 {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Side menu: category label style */
.navbar-collapse p.text-uppercase {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px !important;
    margin-bottom: 4px !important;
}

/* ==========================================================================
   CART ADDED POPUP NOTIFICATION TOAST
   ========================================================================== */
.cart-added-popup-card {
    position: fixed;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    z-index: 10000;
    width: calc(100% - 28px);
    max-width: 420px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    box-shadow: 0 12px 35px -4px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.85);
    padding: 12px 14px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.cart-added-popup-card.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cart-added-popup-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-added-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cart-added-info {
    flex-grow: 1;
    min-width: 0;
}

.cart-added-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-added-subtitle {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.cart-added-view-btn {
    padding: 6px 14px;
    background: #1B7FED;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.cart-added-view-btn:active {
    transform: scale(0.95);
}

.cart-added-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    padding: 4px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
}

@media (min-width: 768px) {
    .cart-added-popup-card {
        bottom: 24px;
        right: 24px;
        left: auto;
        transform: translateY(30px);
        width: 380px;
    }
    .cart-added-popup-card.show {
        transform: translateY(0);
    }
}

/* ==========================================================================
   Checkout UI / UX & Responsive Steppers (Windows 3-step vs Android 4-step)
   ========================================================================== */
@media (min-width: 768px) {
    .checkout-steps-mobile {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        max-height: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
    .checkout-steps-desktop {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 767.98px) {
    .checkout-steps-desktop {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        max-height: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
    .checkout-steps-mobile {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.checkout-steps-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 650px;
    margin: 0 auto 20px auto;
    padding: 0 10px;
}

.checkout-steps-custom .step {
    flex: 1;
    width: auto !important;
    text-align: center;
    position: relative;
}

.checkout-steps-custom .step-circle {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: 2px solid #cbd5e1 !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    color: #64748b !important;
    margin: 0 auto 8px !important;
    transition: all 0.2s ease !important;
}

.checkout-steps-custom .step.active .step-circle {
    border-color: var(--web-primary, #1455AC) !important;
    color: var(--web-primary, #1455AC) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(20, 85, 172, 0.15) !important;
}

.checkout-steps-custom .step.completed .step-circle {
    background: var(--web-primary, #1455AC) !important;
    border-color: var(--web-primary, #1455AC) !important;
    color: #ffffff !important;
}

.checkout-steps-custom .step.active p {
    color: var(--web-primary, #1455AC) !important;
    font-weight: 700 !important;
}

@media (max-width: 575px) {
    .checkout-steps-custom {
        padding: 0;
        margin-bottom: 15px;
    }
    .checkout-steps-custom .step p {
        font-size: 11px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .checkout-steps-custom .step-circle {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }
    .checkout-steps-custom .step .step-circle::before {
        display: none !important;
    }
}

/* Mobile & Android Checkout Improvements */
@media (max-width: 991px) {
    .checkout_details {
        padding-bottom: 100px !important;
    }

    /* Fixed Modern Bottom Bar for Mobile Checkout */
    .bottom-sticky3 {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        background: #ffffff !important;
        border-top: 1px solid #eef2f6 !important;
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08) !important;
        padding: 14px 18px max(14px, env(safe-area-inset-bottom)) 18px !important;
    }

    .bottom-sticky3 .proceed_to_next_button {
        border-radius: 14px !important;
        padding: 13px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        letter-spacing: 0.3px !important;
        box-shadow: 0 4px 14px rgba(20, 85, 172, 0.25) !important;
        transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    }

    .bottom-sticky3 .proceed_to_next_button:active {
        transform: scale(0.98) !important;
    }

    /* Checkout Card & Input Styling */
    .checkout_details .card,
    .checkout_details .__card {
        border-radius: 16px !important;
        border: 1px solid #edf2f7 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
        margin-bottom: 16px !important;
        overflow: hidden;
    }

    .checkout_details .form-control {
        border-radius: 10px !important;
        border: 1.5px solid #e2e8f0 !important;
        font-size: 14px !important;
        padding: 10px 14px !important;
        min-height: 44px !important;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .checkout_details .form-control:focus {
        border-color: var(--web-primary, #1455AC) !important;
        box-shadow: 0 0 0 3px rgba(20, 85, 172, 0.12) !important;
    }

    .checkout_details label {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #334155 !important;
        margin-bottom: 6px !important;
    }
}

/* ==========================================================================
   Desktop Categories Mega Menu Enhancements (Windows & Desktop)
   ========================================================================== */
/* Categories Toggle Button on Windows / Desktop */
.__mega-nav {
    margin-top: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

.__mega-nav .nav-item {
    position: relative !important;
}

.__mega-nav .category-menu-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    color: var(--web-primary, #1455AC) !important;
    border-radius: 8px !important;
    padding: 7px 14px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
    text-decoration: none !important;
    outline: none !important;
}

.__mega-nav .category-menu-toggle-btn:hover,
.__mega-nav .category-menu-toggle-btn.active {
    background: #ffffff !important;
    color: var(--web-primary, #1455AC) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-1px) !important;
}

.__mega-nav .category-menu-toggle-btn svg {
    margin-right: 8px !important;
    color: var(--web-primary, #1455AC) !important;
    flex-shrink: 0 !important;
}

.__mega-nav .category-menu-toggle-btn .category-menu-toggle-btn-text {
    margin: 0 !important;
    color: var(--web-primary, #1455AC) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
}

.__mega-nav .category-menu-toggle-btn .cat-toggle-chevron {
    margin-left: 10px !important;
    font-size: 11px !important;
    color: var(--web-primary, #1455AC) !important;
    transition: transform 0.25s ease !important;
}

.__mega-nav .category-menu-toggle-btn.active .cat-toggle-chevron,
.category-menu-toggle-btn.active .cat-toggle-chevron {
    transform: rotate(180deg) !important;
}

/* Ensure desktop header container is the positioning parent for the mega menu */
header.__inline-10,
.navbar-sticky {
    position: relative !important;
}

.megamenu-wrap {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1050 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    padding-top: 6px !important;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease !important;
}

.megamenu-wrap.show,
.megamenu-wrap.active {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.category-menu-wrap {
    position: relative !important;
    --cm-w: 270px;
    margin: 0 !important;
}

.category-menu-wrap .category-menu {
    list-style: none !important;
    padding: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    width: var(--cm-w) !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12) !important;
    margin: 0 !important;
    max-height: 520px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    position: relative !important;
}

.category-menu-wrap .category-menu::-webkit-scrollbar,
.category-menu-wrap .mega_menu::-webkit-scrollbar {
    width: 5px;
}
.category-menu-wrap .category-menu::-webkit-scrollbar-thumb,
.category-menu-wrap .mega_menu::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.category-menu-wrap .category-menu > li {
    padding: 0 !important;
    margin-bottom: 2px !important;
    position: static !important;
    border: none !important;
}

.category-menu-wrap .category-menu > li > a.category-menu-link {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 9px 12px !important;
    border-radius: 10px !important;
    color: #1e293b !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.category-menu-wrap .category-menu > li > a.category-menu-link:hover,
.category-menu-wrap .category-menu > li.active > a.category-menu-link,
.category-menu-wrap .category-menu > li.has-sub-item:hover > a.category-menu-link {
    background-color: #f0f7ff !important;
    color: var(--web-primary, #1455AC) !important;
    font-weight: 600 !important;
}

.cat-icon-frame {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    border: 1px solid #f1f5f9 !important;
}

.cat-icon-frame img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
}

.cat-arrow-icon {
    font-size: 11px !important;
    color: #94a3b8 !important;
    transition: transform 0.15s ease, color 0.15s ease !important;
    flex-shrink: 0 !important;
}

.category-menu-wrap .category-menu > li.active .cat-arrow-icon,
.category-menu-wrap .category-menu > li.has-sub-item:hover .cat-arrow-icon {
    color: var(--web-primary, #1455AC) !important;
    transform: translateX(3px) !important;
}

/* Modern Right Flyout Mega Menu for Sub-Categories and Sub-Sub-Categories */
.category-menu-wrap .mega_menu {
    position: absolute !important;
    left: calc(var(--cm-w) + 12px) !important;
    top: 0 !important;
    width: 740px !important;
    max-width: calc(100% - var(--cm-w) - 20px) !important;
    min-height: 100% !important;
    max-height: 520px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12) !important;
    padding: 20px 22px !important;
    z-index: 1060 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(10px) !important;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s !important;
}

.category-menu-wrap .mega_menu::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -16px !important;
    width: 20px !important;
    background: transparent !important;
}

.category-menu-wrap .category-menu > li.has-sub-item:hover > .mega_menu,
.category-menu-wrap .category-menu > li.has-sub-item.active > .mega_menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
}

@media (min-width: 768px) {
    [dir="rtl"] .category-menu-wrap .mega_menu,
    .rtl .category-menu-wrap .mega_menu {
        left: auto !important;
        right: calc(var(--cm-w) + 12px) !important;
        transform: translateX(-10px) !important;
    }
    [dir="rtl"] .category-menu-wrap .category-menu > li.has-sub-item:hover > .mega_menu,
    [dir="rtl"] .category-menu-wrap .category-menu > li.has-sub-item.active > .mega_menu,
    .rtl .category-menu-wrap .category-menu > li.has-sub-item:hover > .mega_menu,
    .rtl .category-menu-wrap .category-menu > li.has-sub-item.active > .mega_menu {
        transform: translateX(0) !important;
    }
    [dir="rtl"] .category-menu-wrap .mega_menu::before,
    .rtl .category-menu-wrap .mega_menu::before {
        left: auto !important;
        right: -16px !important;
    }
}

.mega_menu_header {
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
}

.mega_menu_grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 14px !important;
    padding-right: 4px !important;
}

.mega_sub_card {
    background: #f8fafc !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    transition: all 0.2s ease !important;
}

.mega_sub_card:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-1px) !important;
}

.mega_sub_card_header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
}

.mega_sub_img_wrap {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.mega_sub_img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.mega_sub_meta {
    min-width: 0 !important;
    flex-grow: 1 !important;
}

.mega_sub_name {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.15s ease !important;
}

.mega_sub_card_header:hover .mega_sub_name {
    color: var(--web-primary, #1455AC) !important;
}

.mega_sub_count {
    display: block !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    margin-top: 2px !important;
}

.mega_sub_sub_list {
    margin: 8px 0 0 0 !important;
    padding: 6px 0 0 0 !important;
    border-top: 1px dashed #e2e8f0 !important;
    list-style: none !important;
}

.mega_sub_sub_list li {
    margin-bottom: 4px !important;
}

.mega_sub_sub_list li a {
    font-size: 11.5px !important;
    color: #64748b !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}

.mega_sub_sub_list li a::before {
    content: '•';
    color: #cbd5e1;
    font-size: 12px;
}

.mega_sub_sub_list li a:hover {
    color: var(--web-primary, #1455AC) !important;
    transform: translateX(3px) !important;
}

.mega_sub_sub_list li a:hover::before {
    color: var(--web-primary, #1455AC);
}

.category-menu-view-all {
    margin-top: 6px !important;
    padding-top: 8px !important;
    border-top: 1px dashed #e2e8f0 !important;
}

.category-menu-view-all a {
    border-radius: 10px !important;
    transition: background-color 0.15s ease !important;
}

.category-menu-view-all a:hover {
    background-color: #f0f7ff !important;
}

/* ==========================================================================
   Android Mobile UI & Fluid Natural Micro-Animations Overhaul
   ========================================================================== */

/* 1. Natural Tactile Tap Micro-Interaction */
.tap-scale {
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease !important;
}
.tap-scale:active {
    transform: scale(0.96) !important;
}

/* 2. Hide Clunky Footer Utility Tiles on Mobile Devices */
@media (max-width: 767.98px) {
    .footer-slider-container {
        display: none !important;
    }
    .user-profile-container,
    .customer-profile-orders,
    .__inline-47 {
        padding-bottom: 95px !important;
    }
}

/* 3. Native App-Style Segmented Navigation Tabs */
.order-details-nav {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    overscroll-behavior-x: contain !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    background: #f8fafc !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
    gap: 8px !important;
    border: 1.5px solid #e2e8f0 !important;
    position: relative !important;
    margin-bottom: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.order-details-nav::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.order-details-nav button,
.order-details-nav .get-view-by-onclick {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 8px 18px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    white-space: nowrap !important;
    min-width: max-content !important;
    touch-action: pan-x !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
}

.order-details-nav button:active,
.order-details-nav .get-view-by-onclick:active {
    transform: scale(0.96) !important;
}

.order-details-nav button.active,
.order-details-nav .get-view-by-onclick.active {
    background: linear-gradient(135deg, var(--web-primary, #1455AC) 0%, #1e6bd6 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(20, 85, 172, 0.28) !important;
    font-weight: 700 !important;
}

/* 4. Natural Fluid Track Order Timeline */
@keyframes natural-pulse-ring {
    0% {
        transform: scale(0.96);
        box-shadow: 0 0 0 0 rgba(20, 85, 172, 0.55);
    }
    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 14px rgba(20, 85, 172, 0);
    }
    100% {
        transform: scale(0.96);
        box-shadow: 0 0 0 0 rgba(20, 85, 172, 0);
    }
}

@keyframes natural-pulse-dot {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.order-track_wrapper .order_track-list {
    position: relative !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.order-track_wrapper .order_track-list li {
    position: relative !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.order-track_wrapper .order_track-list li:not(:last-child) {
    margin-bottom: 34px !important;
}

/* Connecting Progress Line */
.order-track_wrapper .order_track-list li:not(:last-child)::before {
    content: "" !important;
    position: absolute !important;
    top: 50px !important;
    inset-inline-start: 24px !important;
    width: 3px !important;
    height: calc(100% - 16px) !important;
    background: #e2e8f0 !important;
    border: none !important;
    border-radius: 4px !important;
    transition: background 0.4s ease !important;
    z-index: 0 !important;
}

/* Completed Active Step Line */
.order-track_wrapper .order_track-list li.order-step-next:not(:last-child)::before,
.order-track_wrapper .order_track-list li.order-active-placed:not(:last-child)::before {
    background: linear-gradient(180deg, var(--web-primary, #1455AC) 0%, rgba(20, 85, 172, 0.5) 100%) !important;
    box-shadow: 0 0 8px rgba(20, 85, 172, 0.25) !important;
}

/* Icon Container */
.order-track_wrapper .order_track-list .icon-svg {
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    position: relative !important;
    z-index: 2 !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.order-track_wrapper .order_track-list li.order-active-placed .icon-svg,
.order-track_wrapper .order_track-list li.order-step-next .icon-svg {
    background: #ffffff !important;
    border-color: var(--web-primary, #1455AC) !important;
    box-shadow: 0 4px 14px rgba(20, 85, 172, 0.14) !important;
}

.order-track_wrapper .order_track-list li.order-active-placed .icon-svg svg path,
.order-track_wrapper .order_track-list li.order-step-next .icon-svg svg path {
    fill: var(--web-primary, #1455AC) !important;
}

/* Live Current Step Pulse */
.order-track_wrapper .order_track-list li.order-step-current .icon-svg {
    background: linear-gradient(135deg, var(--web-primary, #1455AC) 0%, #1e6bd6 100%) !important;
    border-color: #ffffff !important;
    animation: natural-pulse-ring 2.4s infinite cubic-bezier(0.45, 0, 0.2, 1) !important;
}

.order-track_wrapper .order_track-list li.order-step-current .icon-svg svg path {
    fill: #ffffff !important;
}

.order-track_wrapper .order_track-list li.order-step-current h6 {
    color: var(--web-primary, #1455AC) !important;
    font-weight: 700 !important;
}

/* Live Badge */
.track-live-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #ecfdf5 !important;
    color: #059669 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    border: 1px solid #a7f3d0 !important;
    vertical-align: middle !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
}

.track-live-dot {
    width: 6px !important;
    height: 6px !important;
    background: #10b981 !important;
    border-radius: 50% !important;
    display: inline-block !important;
    animation: natural-pulse-dot 1.8s infinite ease-in-out !important;
}

/* 5. My Order List Cards (Native App Feel) */
.customer-profile-orders .cus-shadow {
    border-radius: 16px !important;
    border: 1px solid #edf2f7 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.customer-profile-orders .cus-shadow:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px) !important;
}

.customer-profile-orders .media-order img {
    border-radius: 12px !important;
    object-fit: cover !important;
}

/* 6. Order Details & Modern Receipt Cards */
.mobile-full {
    border-radius: 18px !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
}

.light-box {
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
    transition: background 0.2s ease !important;
}

/* Modern Cancel Order Button */
.btn-soft-danger {
    background: #fef2f2 !important;
    color: #ef4444 !important;
    border: 1px solid #fecaca !important;
    border-radius: 12px !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-soft-danger:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25) !important;
}

.btn-soft-danger:active {
    transform: scale(0.97) !important;
}

/* ==========================================================================
   Modern Desktop Topbar: Logo, Profile Chip, and My Cart Chip Overhaul
   ========================================================================== */

/* 1. Desktop Logo Guaranteed Visibility (Desktop only) */
@media (min-width: 768px) {
    .desktop-logo-element,
    a.desktop-logo-element {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-width: 140px !important;
        max-width: 250px !important;
        height: 52px !important;
        flex-shrink: 0 !important;
        margin-right: 18px !important;
        text-decoration: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .desktop-logo-element:hover {
        transform: scale(1.02) !important;
    }

    .desktop-logo-element:active {
        transform: scale(0.98) !important;
    }

    .desktop-logo-element img,
    .desktop-logo-img {
        height: 48px !important;
        max-height: 52px !important;
        width: auto !important;
        max-width: 230px !important;
        object-fit: contain !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.05)) !important;
    }
}

@media (max-width: 767.98px) {
    .desktop-logo-element,
    a.desktop-logo-element {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* 2. Top Bar Icon Buttons (Wishlist & Messages) */
.navbar-toolbar .navbar-tool-icon-box {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #334155 !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.navbar-toolbar .navbar-tool-icon-box:hover {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: var(--web-primary, #1455AC) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(20, 85, 172, 0.12) !important;
}

.navbar-toolbar .navbar-tool-icon-box .navbar-tool-icon {
    font-size: 1.15rem !important;
    line-height: 1 !important;
}

/* Modern Count Badges */
.navbar-toolbar .navbar-tool-label {
    top: -3px !important;
    right: -3px !important;
    height: 20px !important;
    min-width: 20px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    text-align: center !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45) !important;
    border: 2px solid #ffffff !important;
}

/* 3. Modern Interactive Profile Chip */
.navbar-tool-text::after,
.dropdown .navbar-tool-text::after,
.navbar-tool.header-profile-chip::after,
.navbar-tool.header-cart-chip::after,
.header-profile-chip.dropdown-toggle::after,
.header-cart-chip.dropdown-toggle::after,
.navbar-tool.dropdown-toggle::after,
.header-profile-chip .navbar-tool-text::after,
.header-cart-chip .navbar-tool-text::after,
.dropdown.show .navbar-tool-text::after,
.dropdown.show .header-profile-chip .navbar-tool-text::after,
.dropdown.show .header-cart-chip .navbar-tool-text::after {
    display: none !important;
    content: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

.navbar-tool.header-profile-chip {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 14px 4px 5px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.navbar-tool.header-profile-chip:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-1px) !important;
}

.navbar-tool.header-profile-chip .navbar-tool-icon-box {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.navbar-tool.header-profile-chip .img-profile {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: none !important;
}

.navbar-tool.header-profile-chip .navbar-tool-text {
    padding-left: 9px !important;
    padding-right: 2px !important;
    text-align: left !important;
    line-height: 1.25 !important;
}

.navbar-tool.header-profile-chip .profile-hello-text {
    display: block !important;
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
}

.navbar-tool.header-profile-chip .profile-name-text {
    display: flex !important;
    align-items: center !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

/* 4. Modern Interactive My Cart Chip */
.navbar-tool.header-cart-chip {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 16px 4px 5px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.navbar-tool.header-cart-chip:hover {
    border-color: var(--web-primary, #1455AC) !important;
    background: #ffffff !important;
    box-shadow: 0 6px 18px rgba(20, 85, 172, 0.15) !important;
    transform: translateY(-1px) !important;
}

.navbar-tool.header-cart-chip .navbar-tool-icon-box {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    background: rgba(20, 85, 172, 0.08) !important;
    color: var(--web-primary, #1455AC) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.5px solid rgba(20, 85, 172, 0.12) !important;
    box-shadow: inset 0 1px 2px rgba(20, 85, 172, 0.06) !important;
}

.navbar-tool.header-cart-chip .navbar-tool-icon-box .navbar-tool-icon {
    font-size: 17px !important;
    line-height: 1 !important;
    color: var(--web-primary, #1455AC) !important;
}

.navbar-tool.header-cart-chip .navbar-tool-text {
    padding-left: 9px !important;
    text-align: left !important;
    line-height: 1.25 !important;
}

.navbar-tool.header-cart-chip .cart-title-text {
    display: block !important;
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
}

.navbar-tool.header-cart-chip .cart-total-price {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--web-primary, #1455AC) !important;
}

.navbar-tool.header-cart-chip .navbar-tool-label {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    text-align: center !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4) !important;
    padding: 0 !important;
    margin: 0 !important;
}

.header-profile-chip .profile-name-text i,
.header-cart-chip .cart-total-price i {
    display: inline-block !important;
    font-size: 10px !important;
    color: var(--web-primary, #1455AC) !important;
    margin-left: 4px !important;
    transition: transform 0.2s ease !important;
}

.dropdown.show .header-profile-chip .profile-name-text i,
.dropdown.show .header-cart-chip .cart-total-price i {
    transform: rotate(180deg) !important;
}

/* Profile Dropdown Menu Polish & Hover Bridge Fix */
.dropdown-menu.__auth-dropdown,
.navbar-toolbar .dropdown-menu {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12) !important;
    padding: 8px !important;
    margin-top: 4px !important;
    position: absolute !important;
    z-index: 1050 !important;
}

/* Invisible Hover Bridge connecting the button and menu so mouse transit never loses hover */
.dropdown-menu.__auth-dropdown::before,
.navbar-toolbar .dropdown-menu::before {
    content: '' !important;
    position: absolute !important;
    top: -16px !important;
    left: 0 !important;
    right: 0 !important;
    height: 20px !important;
    background: transparent !important;
    display: block !important;
    z-index: 99 !important;
}

@media (min-width: 768px) {
    .navbar-toolbar .dropdown:hover > .dropdown-menu,
    .navbar-toolbar .dropdown:focus-within > .dropdown-menu,
    .navbar-toolbar .dropdown.show > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

.navbar-toolbar .dropdown-menu .dropdown-item {
    border-radius: 10px !important;
    padding: 9px 14px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    transition: all 0.18s ease !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 100 !important;
}

.navbar-toolbar .dropdown-menu .dropdown-item:hover {
    background: #f1f5f9 !important;
    color: var(--web-primary, #1455AC) !important;
    transform: translateX(3px) !important;
}

/* ==========================================================================
   Android & Mobile Multi-Stage Checkout (Address -> Review Items & Cost -> Payment)
   ========================================================================== */

/* 1. Mobile 4-Step Tracker (< 768px) */
.checkout-steps-mobile {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 4px !important;
    margin: 0 auto 16px auto !important;
    position: relative !important;
}

.checkout-steps-mobile .step {
    flex: 1 !important;
    text-align: center !important;
    position: relative !important;
}

.checkout-steps-mobile .step:not(:last-child)::after,
.checkout-steps-custom.checkout-steps-mobile .step:first-child::after,
.checkout-steps-mobile .step:first-child::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 14px !important;
    left: 50% !important;
    width: 100% !important;
    height: 2px !important;
    background: #e2e8f0 !important;
    z-index: 0 !important;
    transition: background 0.25s ease !important;
}

.checkout-steps-mobile .step.completed:not(:last-child)::after,
.checkout-steps-custom.checkout-steps-mobile .step.completed:first-child::after,
.checkout-steps-mobile .step.completed:first-child::after {
    background: var(--web-primary, #1455AC) !important;
}

.checkout-steps-mobile .step a {
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
}

.checkout-steps-mobile .step .step-circle {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    border: 2px solid #cbd5e1 !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    color: #64748b !important;
    margin: 0 auto 4px !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    z-index: 3 !important;
}

.checkout-steps-mobile .step.active .step-circle {
    border-color: var(--web-primary, #1455AC) !important;
    color: var(--web-primary, #1455AC) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(20, 85, 172, 0.18) !important;
}

.checkout-steps-mobile .step.completed .step-circle {
    background: var(--web-primary, #1455AC) !important;
    border-color: var(--web-primary, #1455AC) !important;
    color: #ffffff !important;
}

.checkout-steps-mobile .step .czi-check {
    display: none !important;
    font-size: 11px !important;
}

.checkout-steps-mobile .step.completed .czi-check {
    display: inline-block !important;
}

.checkout-steps-mobile .step.completed .step-number {
    display: none !important;
}

.checkout-steps-mobile .step .step-number {
    display: inline-block !important;
}

.checkout-steps-mobile .step .step-text {
    font-size: 10.5px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    letter-spacing: -0.2px !important;
}

.checkout-steps-mobile .step.active .step-text {
    color: var(--web-primary, #1455AC) !important;
    font-weight: 700 !important;
}

.checkout-steps-mobile .step.completed .step-text {
    color: #1e293b !important;
    font-weight: 600 !important;
}

/* Mobile Floating Cart Summary above Bottom Navigation Dock */
@media (max-width: 991.98px) {
    #cart-summary .bottom-sticky3,
    .shop-cart-page .bottom-sticky3 {
        position: fixed !important;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
        left: 12px !important;
        right: 12px !important;
        width: calc(100% - 24px) !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        border-radius: 18px !important;
        background: #ffffff !important;
        border: 1px solid rgba(20, 85, 172, 0.12) !important;
        box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06) !important;
        z-index: 9990 !important;
        padding: 10px 16px !important;
        transition: all 0.25s ease !important;
    }

    #cart-summary .bottom-sticky3 .proceed_to_next_button,
    .shop-cart-page .bottom-sticky3 .proceed_to_next_button {
        height: 44px !important;
        border-radius: 12px !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 14px rgba(20, 85, 172, 0.25) !important;
    }

    #cart-summary,
    .shop-cart-page {
        padding-bottom: 220px !important;
    }
}

/* Clean Selectpicker / Country Field in Checkout */
.checkout_details .bootstrap-select.form-control {
    border: none !important;
    padding: 0 !important;
    min-height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.checkout_details .bootstrap-select > .dropdown-toggle {
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-shadow: none !important;
    color: #1e293b !important;
}

.checkout_details .bootstrap-select > .dropdown-toggle:focus,
.checkout_details .bootstrap-select.show > .dropdown-toggle {
    border-color: var(--web-primary, #1455AC) !important;
    box-shadow: 0 0 0 3px rgba(20, 85, 172, 0.12) !important;
    outline: none !important;
}

.checkout_details .bootstrap-select .filter-option {
    display: flex !important;
    align-items: center !important;
}

.checkout_details .bootstrap-select .filter-option-inner-inner {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    color: #1e293b !important;
}

/* Constrain Bootstrap-Select Dropdown Menu so it never blows out the viewport */
.checkout_details .bootstrap-select .dropdown-menu {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    inset-inline-start: 0 !important;
}

.checkout_details .bootstrap-select .dropdown-menu .inner {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.checkout_details .bootstrap-select .dropdown-menu li a {
    white-space: normal !important;
    word-break: break-word !important;
    padding: 8px 14px !important;
    font-size: 13.5px !important;
    color: #1e293b !important;
}

.checkout_details .bootstrap-select .dropdown-menu li.selected a {
    background-color: rgba(20, 85, 172, 0.08) !important;
    color: var(--web-primary, #1455AC) !important;
    font-weight: 600 !important;
}

.checkout_details .bootstrap-select .bs-searchbox {
    padding: 8px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.checkout_details .bootstrap-select .bs-searchbox .form-control {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 6px 12px !important;
    min-height: 38px !important;
    font-size: 13.5px !important;
    box-shadow: none !important;
}

.checkout_details .bootstrap-select .bs-searchbox .form-control:focus {
    border-color: var(--web-primary, #1455AC) !important;
    box-shadow: 0 0 0 3px rgba(20, 85, 172, 0.12) !important;
}

/* Prevent horizontal page shifts / scrollbar blowouts on mobile */
@media (max-width: 991.98px) {
    html, body {
        overflow-x: hidden !important;
        position: relative !important;
        width: 100% !important;
    }

    .checkout-details-shipping,
    .checkout_details,
    #checkout-stage-address {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Responsive Switching for Stage 1 vs Stage 2 on Mobile */
@media (max-width: 991.98px) {
    .checkout-details-shipping {
        padding-bottom: 96px !important;
    }

    .checkout-details-shipping .order-summery-aside {
        display: none !important;
    }

    .checkout-details-shipping .bottom-sticky3:not(#mobile-stage-review-sticky) {
        display: none !important;
    }

    #mobile-stage-address-sticky,
    .checkout-stage-address-fixed-bar,
    #mobile-stage-review-sticky,
    .checkout-stage-review-fixed-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99998 !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12) !important;
        padding: 12px 18px max(14px, env(safe-area-inset-bottom)) 18px !important;
    }

    #btn-to-order-review,
    #mobile-btn-proceed-payment {
        height: 48px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 16px rgba(20, 85, 172, 0.25) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #checkout-stage-review {
        animation: fadeIn 0.25s ease-in-out;
    }
}

/* Review Items List & Address Card Polish */
#preview-full-address {
    color: #1e293b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

.review-items-list .review-item-row:last-child {
    border-bottom: none !important;
}

.review-items-list .review-item-row {
    padding: 10px 0 !important;
}

.review-item-title {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-item-price-col {
    white-space: nowrap !important;
    min-width: max-content !important;
    flex-shrink: 0 !important;
    text-align: right !important;
}

.review-item-price-col span {
    white-space: nowrap !important;
    display: inline-block !important;
}

/* Payment Page Mobile Polish (< 992px) */
.payment-method-card {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1.5px solid #edf2f7 !important;
    border-radius: 16px !important;
}

.payment-method-card.active-method-card,
.payment-method-card:has(input[type="radio"]:checked),
.cod-for-cart .payment-method-card {
    border: 1.5px solid var(--web-primary, #1455AC) !important;
    background: linear-gradient(135deg, rgba(20, 85, 172, 0.05) 0%, #ffffff 100%) !important;
    box-shadow: 0 4px 18px rgba(20, 85, 172, 0.12) !important;
}

.payment-method-icon-wrap {
    background: rgba(20, 85, 172, 0.1) !important;
    border: 1px solid rgba(20, 85, 172, 0.15) !important;
}

.payment-method-card .custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--web-primary, #1455AC) !important;
    border-color: var(--web-primary, #1455AC) !important;
    box-shadow: 0 0 0 3px rgba(20, 85, 172, 0.18) !important;
}

.bring_change_amount_section .card {
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: 16px !important;
}

.checkout-details-payment .card {
    border-radius: 16px !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}

@media (max-width: 991.98px) {
    .checkout-details-payment {
        padding-bottom: 96px !important;
    }

    .checkout-details-payment .bottom-sticky3 {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12) !important;
        padding: 12px 18px max(14px, env(safe-area-inset-bottom)) 18px !important;
    }

    .checkout-details-payment .bottom-sticky3 .proceed_to_next_button {
        height: 48px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 16px rgba(20, 85, 172, 0.25) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Red Box Form Error Highlighting */
.input-error-highlight,
.form-control.input-error-highlight,
.iti.input-error-highlight input,
.iti.input-error-highlight,
input.is-invalid,
.password-toggle.input-error-highlight input,
.password-toggle input.input-error-highlight {
    border: 2px solid #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
    background-color: #fffbfa !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field-error-text {
    color: #ef4444 !important;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.4;
    animation: fadeInFieldError 0.25s ease-out;
}

@keyframes fadeInFieldError {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Storefront Instant Navigation Progress Bar */
#instant-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #1455AC, #2563eb, #38bdf8);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.8), 0 0 5px rgba(56, 189, 248, 0.5);
    z-index: 9999999;
    pointer-events: none;
    opacity: 0;
    transition: width 0.35s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.2s ease;
}

#instant-nav-bar.active {
    opacity: 1;
    width: 78%;
}

#instant-nav-bar.finish {
    width: 100%;
    opacity: 0;
    transition: width 0.15s ease-out, opacity 0.3s ease 0.1s;
}

/* ==============================================================
   Customer Sign Up & OTP Verification: Desktop vs Mobile/Android
   ============================================================== */
.verify-card {
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
}

.verification-destination-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.change-phone-card {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Desktop Styles */
@media (min-width: 768px) {
    .forget-password-otp {
        gap: 10px !important;
    }
    .forget-password-otp .otp-field {
        width: 48px !important;
        height: 52px !important;
        flex-grow: 0 !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        text-align: center !important;
        border: 1.5px solid #d1d5db !important;
        border-radius: 8px !important;
        background: #ffffff;
        transition: all 0.2s ease;
    }
    .forget-password-otp .otp-field:focus {
        border-color: #1455AC !important;
        box-shadow: 0 0 0 3px rgba(20, 85, 172, 0.18) !important;
        outline: none;
    }
    .login-card {
        padding: 40px 35px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    }
}

/* Mobile & Android Touchscreen Optimization */
@media (max-width: 767px) {
    .auth-verify-page {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .login-card {
        padding: 24px 16px !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    .login-card .form-control {
        height: 48px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
    }
    .login-card .btn--primary {
        height: 48px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
    }
    .forget-password-otp {
        gap: 6px !important;
        width: 100% !important;
        justify-content: space-between !important;
    }
    .forget-password-otp .otp-field {
        width: calc((100% - 30px) / 6) !important;
        max-width: 44px !important;
        height: 48px !important;
        font-size: 19px !important;
        font-weight: 700 !important;
        text-align: center !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 8px !important;
        background: #f8fafc !important;
        padding: 0 !important;
        -webkit-appearance: none;
        transition: border-color 0.15s ease, background-color 0.15s ease;
    }
    .forget-password-otp .otp-field:focus {
        border-color: #1455AC !important;
        background: #ffffff !important;
        box-shadow: 0 0 0 2px rgba(20, 85, 172, 0.2) !important;
        outline: none;
    }
    .iti__country-list {
        max-width: 90vw !important;
    }
}



/* Fix product attribute table overflow on mobile */
.rich-editor-html-content table,
.p-details-description table,
.specification table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    word-break: break-word;
    white-space: normal;
}
.rich-editor-html-content table td,
.rich-editor-html-content table th,
.p-details-description table td,
.p-details-description table th {
    white-space: normal;
    word-break: break-word;
    min-width: 60px;
}

/* ============================================================
   Product Detail Page — Responsive Improvements
   ============================================================ */

/* Make Buy Now / Add to Cart buttons full-width & stacked on mobile */
@media (max-width: 575.98px) {
    .product-add-and-buy-section {
        flex-direction: column !important;
        width: 100% !important;
    }
    .product-add-and-buy-section .btn,
    .product-add-and-buy-section button {
        width: 100% !important;
        justify-content: center !important;
    }
    /* Request Restock button full-width on mobile */
    .request-restock-btn {
        width: 100% !important;
    }
    /* Wishlist button row on mobile */
    .__btn-grp.product-add-and-buy-section-parent {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    /* Show total price on mobile too (it's hidden with d-none d-sm-flex) */
    .product-details-chosen-price-section .d-none.d-sm-flex {
        display: flex !important;
    }
    /* Product name font size adjustment */
    .product-cart-option-container h2.__inline-24 {
        font-size: 1.2rem !important;
    }
    /* Video iframe responsive */
    .specification iframe,
    .p-details-description iframe,
    .rich-editor-html-content iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 200px;
    }
    /* Quantity row wrap on very small screens */
    .product-quantity .d-flex.align-items-center.gap-4 {
        gap: 0.75rem !important;
    }
    /* Color swatch list wrap */
    ul.checkbox-color {
        flex-wrap: wrap !important;
    }
}

/* Tablet adjustments (576px – 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .product-add-and-buy-section {
        flex-wrap: wrap !important;
    }
    .product-add-and-buy-section .btn {
        flex: 1 1 auto;
        min-width: 140px;
    }
    .specification iframe,
    .p-details-description iframe,
    .rich-editor-html-content iframe {
        width: 100% !important;
        height: auto !important;
        min-height: 250px;
    }
}

/* Product image slider: constrain aspect ratio properly on mobile */
@media (max-width: 767.98px) {
    .pd-img-wrap .quickviewSlider2 {
        max-height: 340px;
    }
    .pd-img-wrap .quickviewSlider2 img {
        object-fit: contain;
        max-height: 340px;
    }
    /* Keep the right-side info visible without overflow */
    .product-cart-option-container {
        overflow-x: hidden;
    }
    /* Prevent choice options from overflowing */
    .checkbox-alphanumeric {
        flex-wrap: wrap !important;
    }
}

/* Fix product video iframe aspect ratio across all screens */
.product-details-video-wrapper,
.specification .col-12 iframe,
.p-details-description iframe {
    max-width: 100%;
}

/* Responsive Product Description Images and Tables */
.rich-editor-html-content,
.p-details-description,
.details-content-wrap,
.specification {
    max-width: 100% !important;
}

.rich-editor-html-content img,
.p-details-description img,
.details-content-wrap img,
.specification img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 12px auto !important;
    border-radius: 6px !important;
}

/* Mobile-Specific Automated Formatted Attributes & Tables */
@media (max-width: 767.98px) {
    .rich-editor-html-content table:not(.mobile-formatted-attr-table),
    .p-details-description table:not(.mobile-formatted-attr-table),
    .details-content-wrap table:not(.mobile-formatted-attr-table) {
        max-width: 100% !important;
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .mobile-formatted-attr-table {
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        margin: 14px 0 !important;
        font-size: 13px !important;
        background: #ffffff !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    }

    .mobile-formatted-attr-table tr.mobile-attr-row {
        display: table-row !important;
    }

    .mobile-formatted-attr-table td.mobile-attr-key {
        width: 40% !important;
        max-width: 145px !important;
        background-color: #f8fafc !important;
        color: #334155 !important;
        font-weight: 600 !important;
        padding: 9px 12px !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-right: 1px solid #e2e8f0 !important;
        vertical-align: middle !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    .mobile-formatted-attr-table td.mobile-attr-val {
        width: 60% !important;
        background-color: #ffffff !important;
        color: #0f172a !important;
        padding: 9px 12px !important;
        border-bottom: 1px solid #e2e8f0 !important;
        vertical-align: middle !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .mobile-formatted-attr-table tr.mobile-attr-row:last-child td {
        border-bottom: none !important;
    }
}

/* ==========================================================================
   Multi-Variant Wholesale Selector & Mobile Variant Drawer (1688 Style)
   ========================================================================== */
.multi-variant-matrix {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.multi-variant-matrix-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 14px;
}

.multi-variant-list-wrap {
    max-height: 380px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.variant-item-row {
    transition: background-color 0.15s ease;
}

.variant-item-row:hover {
    background-color: #f8fafc;
}

.variant-item-row.has-qty {
    background-color: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

.variant-stepper-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    height: 32px;
}

.variant-stepper-btn {
    border: none;
    background: #f1f5f9;
    color: #475569;
    width: 32px;
    height: 100%;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.variant-stepper-btn:hover:not(:disabled) {
    background: #e2e8f0;
    color: #0f172a;
}

.variant-stepper-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.variant-stepper-input {
    width: 48px;
    height: 100%;
    border: none !important;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    padding: 0;
    background: transparent;
}

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

/* Mobile Variant Trigger Bar */
.mobile-variant-sheet-trigger {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-variant-sheet-trigger:active {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Mobile Variant Drawer (Bottom Sheet) */
.mobile-variant-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-variant-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-variant-drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    width: 100%;
    max-height: 85vh;
    background: #ffffff;
    z-index: 9999;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: bottom 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-variant-drawer.open {
    bottom: 0;
}

.mobile-variant-drawer-header {
    padding: 14px 16px;
    border-bottom: 1px solid #edf2f7;
    position: relative;
    background: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.mobile-variant-drawer-body {
    padding: 12px 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-grow: 1;
    max-height: calc(85vh - 160px);
}

.mobile-variant-drawer-footer {
    padding: 12px 16px max(14px, env(safe-area-inset-bottom)) 16px;
    border-top: 1px solid #edf2f7;
    background: #ffffff;
}

.drawer-drag-handle {
    width: 40px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 4px;
    margin: 0 auto 10px auto;
}

/* ==========================================================================
   In-Line Trust Badges & Responsive Mobile Typography Overhaul
   ========================================================================== */

/* 1. In-Line Delivery & Trust Badges Strip */
.product-inline-trust-strip {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.inline-trust-badge {
    padding: 4px 8px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #edf2f7;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.inline-trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.inline-trust-badge img {
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05));
    transition: transform 0.2s ease;
}

.inline-trust-badge:hover img {
    transform: scale(1.1);
}

/* 2. Responsive Mobile Product Name Typography */
@media (max-width: 767.98px) {
    .product-cart-option-container h2.__inline-24 {
        font-size: clamp(14px, 4vw, 16.5px) !important;
        line-height: 1.38 !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .product-inline-trust-strip {
        padding: 6px 8px !important;
        margin-top: 8px !important;
        margin-bottom: 12px !important;
    }

    .inline-trust-badge {
        font-size: 11px !important;
        padding: 3px 6px !important;
    }

    .inline-trust-badge span {
        font-size: 11px !important;
    }
}

/* 3. Hide Footer Slider Container (About Us, Contact Us, FAQ) across desktop & mobile */
.footer-slider-container {
    display: none !important;
}

/* ==========================================================================
   Loader Box Removal & Transparent Fluid Loading Experience
   ========================================================================== */
#loading,
.loading-parent {
    position: fixed !important;
    z-index: 99999 !important;
    height: 100vh !important;
    width: 100vw !important;
    top: 0 !important;
    left: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(2px) !important;
}

#loading.d--none,
.loading-parent.d--none {
    display: none !important;
}

.loading-parent-first-div {
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.loading-parent-first-div > div,
.loading-parent-first-div .text-center {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.loading-parent-first-div img {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    mix-blend-mode: multiply !important;
    max-width: 160px !important;
    height: auto !important;
}

/* Hide Quick View eye button on Mobile/Android so whole card navigates directly */
@media (max-width: 991.98px) {
    .quick-view,
    .action-product-quick-view {
        display: none !important;
    }
}

/* ==========================================================================
   Android & Mobile UI Polish: In-line Trust Strip, Variant Matrix & Footer
   ========================================================================== */

/* Modern In-line Trust Badges Strip */
.product-inline-trust-strip {
    background: #f8fafc !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
}

.product-inline-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 12px !important;
}

@media (min-width: 768px) {
    .product-inline-trust-grid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 16px !important;
    }
}

.inline-trust-badge-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.inline-trust-icon {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.inline-trust-text {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

@media (max-width: 575.98px) {
    .product-inline-trust-strip {
        padding: 8px 10px !important;
        border-radius: 10px !important;
    }
    .product-inline-trust-grid {
        gap: 6px 8px !important;
    }
    .inline-trust-icon {
        width: 17px !important;
        height: 17px !important;
    }
    .inline-trust-text {
        font-size: 11px !important;
    }
}

/* Mobile Variant Trigger Bar & Drawer Polish */
.mobile-variant-sheet-trigger {
    transition: all 0.2s ease !important;
}

.mobile-variant-sheet-trigger:active {
    background-color: #f3f4f6 !important;
    transform: scale(0.99);
}

.variant-item-row .variant-stepper-box {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    height: 32px !important;
}

.variant-item-row .variant-stepper-btn {
    border: none !important;
    background: #f9fafb !important;
    color: #111827 !important;
    width: 28px !important;
    height: 100% !important;
    font-size: 14px !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.variant-item-row .variant-stepper-btn:active {
    background: #e5e7eb !important;
}

.variant-item-row .variant-stepper-input {
    width: 40px !important;
    height: 100% !important;
    border: none !important;
    border-left: 1px solid #e5e7eb !important;
    border-right: 1px solid #e5e7eb !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    -moz-appearance: textfield;
}

.variant-item-row .variant-stepper-input::-webkit-outer-spin-button,
.variant-item-row .variant-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide bulky footer content and prevent endless scroll on Android/Mobile */
@media (max-width: 767.98px) {
    footer .custom-light-primary-color-20,
    .footer-slider-container {
        display: none !important;
    }

    footer.page-footer {
        padding-bottom: 70px !important; /* Allow room for mobile bottom navigation */
    }

    /* Prevent mobile horizontal shift and suppress black vertical scrollbar indicator */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    ::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}

/* ==========================================================================
   Desktop 1688 / Alibaba-Style Independent 2-Column Product Details Layout
   ========================================================================== */

@media (min-width: 992px) {
    .desktop-product-layout {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 24px !important;
        width: 100% !important;
    }

    .desktop-product-left-col {
        width: 52% !important;
        flex: 0 0 52% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .desktop-product-right-col {
        width: calc(48% - 24px) !important;
        flex: 0 0 calc(48% - 24px) !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 85px !important;
        z-index: 20 !important;
        align-self: flex-start !important;
        /* NOTE: overflow-y must NOT be on the sticky element — breaks sticky in all browsers.
           Scrolling is handled by an inner wrapper if content overflows. */
    }

    .desktop-product-right-col::-webkit-scrollbar {
        width: 4px;
    }
    .desktop-product-right-col::-webkit-scrollbar-track {
        background: transparent;
    }
    .desktop-product-right-col::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

    .desktop-product-left-col .pd-img-wrap {
        width: 100% !important;
    }

    .desktop-product-left-col .card,
    .desktop-product-right-col .card {
        border-color: #e5e7eb !important;
        border-radius: 12px !important;
    }
}

/* Tab Navigation Styling matching reference */
.product-info-tabs-nav .nav-tabs {
    border-bottom: 2px solid #eef2f6 !important;
}

.tab-link-custom {
    color: #475569 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 10px 16px !important;
    border: none !important;
    background: transparent !important;
    border-bottom: 2.5px solid transparent !important;
    border-radius: 0 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.tab-link-custom:hover {
    color: var(--web-primary, #ff5722) !important;
}

.tab-link-custom.active {
    color: #0f172a !important;
    font-weight: 700 !important;
    border-bottom: 2.5px solid var(--web-primary, #ff5722) !important;
    background: transparent !important;
}

.product-attributes-table td,
.product-packing-table td {
    vertical-align: middle !important;
}

/* Mobile Sequence Preservation */
@media (max-width: 991.98px) {
    .desktop-product-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .desktop-product-left-col,
    .desktop-product-right-col {
        display: contents !important;
    }

    .product-gallery-section {
        order: 1 !important;
    }

    .product-purchase-section {
        order: 2 !important;
    }

    .product-tabs-section {
        order: 3 !important;
    }

    .product-seller-section {
        order: 4 !important;
    }
}

/* ==========================================================================
   1688 Product Details Page Styling (Independent 2-Col + Wholesale Layout)
   ========================================================================== */
@media (min-width: 992px) {
    .desktop-product-left-col .pd-img-wrap {
        display: flex !important;
        flex-direction: row-reverse !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .desktop-product-left-col .quickviewSlider2 {
        flex: 1 !important;
        max-width: calc(100% - 84px) !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    .desktop-product-left-col .gallery-thumb-col {
        width: 72px !important;
        flex-shrink: 0 !important;
        margin-top: 0 !important;
    }
    .desktop-product-left-col .quickviewSliderThumb2 {
        max-height: 440px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: none !important;   /* prevents scroll from being trapped here */
    }
    .desktop-product-left-col .quickviewSliderThumb2 .swiper-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        transform: none !important;
    }
    .desktop-product-left-col .quickviewSliderThumb2 .swiper-slide {
        width: 68px !important;
        height: 68px !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        border-radius: 6px !important;
        border: 1.5px solid #e5e7eb !important;
        transition: all 0.2s ease !important;
    }
    .desktop-product-left-col .quickviewSliderThumb2 .swiper-slide:hover,
    .desktop-product-left-col .quickviewSliderThumb2 .swiper-slide.swiper-slide-thumb-active {
        border-color: #ff6000 !important;
    }
    .desktop-product-left-col .quickviewSliderThumb2 .swiper-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 4px !important;
    }
    .desktop-product-left-col .quickviewSliderThumb2 .swiper-button-next,
    .desktop-product-left-col .quickviewSliderThumb2 .swiper-button-prev {
        display: none !important;
    }
}

.gallery-video-thumb {
    position: relative !important;
    overflow: hidden !important;
}
.gallery-video-badge {
    position: absolute !important;
    bottom: 2px !important;
    left: 2px !important;
    right: 2px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    text-align: center !important;
    padding: 1px 2px !important;
    border-radius: 2px !important;
}

/* 1688 Sticky Nav Bar */
.product-1688-nav-header {
    top: 65px;
    z-index: 15;
}
.product-1688-nav-link {
    color: #333333 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-radius: 0 !important;
    border-bottom: 2.5px solid transparent !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}
.product-1688-nav-link:hover {
    color: #ff6000 !important;
}
.product-1688-nav-link.active {
    color: #ff6000 !important;
    border-bottom-color: #ff6000 !important;
}

/* 1688 Attributes Table */
.attributes-1688-table {
    font-size: 13px !important;
    border-color: #f0f0f0 !important;
}
.attributes-1688-table td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-color: #f0f0f0 !important;
}
.attributes-1688-table .attr-label {
    width: 22% !important;
    background-color: #fafafa !important;
    color: #666666 !important;
    font-weight: 500 !important;
}
.attributes-1688-table .attr-val {
    width: 28% !important;
    color: #222222 !important;
    background-color: #ffffff !important;
}
.attributes-1688-table tr:nth-child(n+5) {
    display: none;
}
.attributes-1688-table.expanded tr:nth-child(n+5) {
    display: table-row !important;
}

/* 1688 Packing Table */
.packing-1688-table th,
.packing-1688-table td {
    padding: 8px 12px !important;
    font-size: 13px !important;
    border-color: #f0f0f0 !important;
}

/* 1688 Action Buttons */
.btn-1688-order-now {
    background: linear-gradient(135deg, #ff6a00 0%, #ff4500 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 11px 28px !important;
    border-radius: 8px !important;
    border: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 3px 12px rgba(255, 80, 0, 0.35) !important;
    letter-spacing: 0.3px !important;
}
.btn-1688-order-now:hover {
    background: linear-gradient(135deg, #ff5500 0%, #e63c00 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 16px rgba(255, 80, 0, 0.45) !important;
    transform: translateY(-1px) !important;
}
.btn-1688-add-cart {
    background: #ffffff !important;
    color: #ff5000 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 11px 24px !important;
    border-radius: 8px !important;
    border: 2px solid #ff5000 !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    letter-spacing: 0.3px !important;
}
.btn-1688-add-cart:hover {
    background: #fff5f0 !important;
    color: #e63c00 !important;
    border-color: #e63c00 !important;
    transform: translateY(-1px) !important;
}
.btn-1688-distribution {
    background: #ffffff !important;
    color: #ff381e !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    border: 1.5px solid #ff381e !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
}
.btn-1688-distribution:hover {
    background: #fff2f0 !important;
    color: #ff381e !important;
}
.btn-1688-save {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    padding: 9px 14px !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.btn-1688-save:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}

/* 1688 Disclaimer / Notice Box */
.product-1688-disclaimer-box {
    background-color: #fff9f8 !important;
    border-color: #ffd8d2 !important;
}

/* 1688 Combination Recommend Card */
.product-card-1688 {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    border-color: #f1f5f9 !important;
}
.product-card-1688:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border-color: #ff6000 !important;
}
.text-truncate-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Mobile Sequence Preservation */
@media (max-width: 991.98px) {
    .product-continuous-sections {
        order: 3 !important;
    }
    .product-1688-nav-header {
        position: static !important;
    }
}

/* ==========================================================================
   Product Details / Description Styling (Rich Editor & Tables Fix)
   ========================================================================== */
.product-details-content-1688 {
    overflow-x: auto;
}
.product-details-content-1688 table,
.rich-editor-html-content table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    margin: 16px 0 !important;
    border: 1px solid #eef2f6 !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: table !important;
}
.product-details-content-1688 table td,
.product-details-content-1688 table th,
.rich-editor-html-content table td,
.rich-editor-html-content table th {
    padding: 10px 14px !important;
    border: 1px solid #eef2f6 !important;
    font-size: 13px !important;
    vertical-align: middle !important;
    color: #334155 !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
}
.product-details-content-1688 table tr td:nth-child(odd),
.rich-editor-html-content table tr td:nth-child(odd) {
    background-color: #f8fafc !important;
    font-weight: 600 !important;
    color: #475569 !important;
}
.product-details-content-1688 table tr td:nth-child(even),
.rich-editor-html-content table tr td:nth-child(even) {
    background-color: #ffffff !important;
    color: #1e293b !important;
}
/* Only strictly 2-column key-value tables get fixed percentage widths on desktop */
.product-details-content-1688 table tr > td:first-child:nth-last-child(2),
.rich-editor-html-content table tr > td:first-child:nth-last-child(2) {
    width: 25% !important;
    min-width: 120px !important;
}
.product-details-content-1688 table tr > td:last-child:nth-child(2),
.rich-editor-html-content table tr > td:last-child:nth-child(2) {
    width: 75% !important;
}
.product-details-content-1688 img,
.rich-editor-html-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 14px auto !important;
    border-radius: 8px !important;
}
.product-details-content-1688 h1,
.product-details-content-1688 h2,
.product-details-content-1688 h3,
.rich-editor-html-content h1,
.rich-editor-html-content h2,
.rich-editor-html-content h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 18px 0 10px 0 !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.product-details-content-1688 p,
.rich-editor-html-content p {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    margin-bottom: 12px !important;
}

/* ==========================================================================
   Description See More / See Less Button (v5.3)
   ========================================================================== */
.desc-see-more-btn {
    background: transparent !important;
    color: #ff5000 !important;
    border: 1.5px solid #ff5000 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 5px 28px !important;
    border-radius: 20px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: none !important;
}
.desc-see-more-btn:hover,
.desc-see-more-btn:focus,
.desc-see-more-btn:active {
    background: #ff5000 !important;
    color: #fff !important;
    box-shadow: none !important;
    outline: none !important;
}
#descContent {
    transition: max-height 0.4s ease;
}

/* ==========================================================================
   Android / Mobile Product Page Fixes (v5.2)
   ========================================================================== */
@media (max-width: 991.98px) {

    /* ── Product name: responsive font size so it doesn't overflow ── */
    .product-page-main .fs-20,
    .product-title-1688,
    h1.product-title-1688 {
        font-size: clamp(14px, 4vw, 18px) !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
    }

    /* ── Logistics strip: always dark text on mobile ── */
    .logistics-strip-1688,
    .logistics-strip-1688 span,
    .logistics-strip-1688 i {
        color: #333 !important;
    }
    .logistics-strip-1688 span[style*="color: #ff5000"],
    .logistics-strip-1688 .fw-semibold {
        color: #ff5000 !important;
    }

    /* ── Service guarantees badges: ensure readable ── */
    .service-guarantees-1688 {
        color: #333 !important;
        font-size: 11px !important;
        gap: 8px !important;
    }
    .service-guarantees-1688 span {
        color: #333 !important;
        white-space: nowrap !important;
    }

    /* ── Remove Overseas Distribution from mobile purchase card ── */
    .btn-1688-distribution {
        display: none !important;
    }

    /* ── Tighten action button row on small screens ── */
    .product-action-buttons-1688 {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .btn-1688-order-now,
    .btn-1688-add-cart {
        flex: 1 1 auto !important;
        min-width: 120px !important;
        font-size: 14px !important;
        padding: 10px 12px !important;
    }

    /* ── Seller section: hide on mobile (already shown via sticky) ── */
    .product-seller-section {
        display: none !important;
    }

    /* ── Hide vendor metrics on mobile (no space) ── */
    .vendor-1688-metrics-grid,
    .vendor-header-bar-1688 {
        display: none !important;
    }

    /* ── Make pricing strip compact on mobile ── */
    .pricing-strip-1688 {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }
    .pricing-strip-1688 .fs-28 {
        font-size: 22px !important;
    }

    /* ── Tabs horizontal scroll without wrapping ── */
    .product-info-tabs-nav .nav-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 2px !important;
    }
    .product-info-tabs-nav .nav-tabs::-webkit-scrollbar {
        display: none !important;
    }
    .product-1688-nav-link,
    .tab-link-custom {
        white-space: nowrap !important;
        font-size: 13px !important;
        padding: 8px 12px !important;
    }

    /* ── Description See More toggle ── */
    .desc-collapse-wrapper {
        margin-top: 8px !important;
    }
    #descContent {
        max-height: 260px !important;
    }
}

/* ==========================================================================
   Pricing Strip Mobile Fix + Tab Improvements (v5.3)
   ========================================================================== */

/* Ensure pricing strip never overflows on any screen */
.pricing-strip-1688 .fs-28 {
    font-size: clamp(20px, 6vw, 28px) !important;
    line-height: 1.2 !important;
}
.pricing-strip-1688 {
    overflow: hidden !important;
}

/* ── Improved Tab Navigation Styling (Photo 4 fix) ── */
.product-info-tabs-nav {
    background: #fff !important;
    border-radius: 10px 10px 0 0 !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06) !important;
    padding: 0 4px !important;
}
.product-info-tabs-nav .nav-tabs {
    border-bottom: 2px solid #f0f0f0 !important;
    padding: 0 8px !important;
    gap: 0 !important;
}
.product-1688-nav-link,
.tab-link-custom {
    position: relative !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 12px 16px !important;
    border: none !important;
    background: transparent !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    margin-bottom: -2px !important;
}
.product-1688-nav-link:hover,
.tab-link-custom:hover {
    color: #ff5000 !important;
    background: #fff5f0 !important;
}
.product-1688-nav-link.active,
.tab-link-custom.active,
.product-1688-nav-link.show,
.nav-link.active.product-1688-nav-link {
    color: #ff5000 !important;
    font-weight: 700 !important;
    border-bottom: 2.5px solid #ff5000 !important;
    background: transparent !important;
}

/* ── Mobile action buttons row improvements ── */
@media (max-width: 991.98px) {
    .product-action-buttons-1688 {
        gap: 10px !important;
    }
    .btn-1688-order-now {
        flex: 1 !important;
        padding: 12px 16px !important;
        font-size: 15px !important;
        border-radius: 8px !important;
        min-height: 46px !important;
    }
    .btn-1688-add-cart {
        flex: 1 !important;
        padding: 12px 16px !important;
        font-size: 15px !important;
        border-radius: 8px !important;
        min-height: 46px !important;
    }

    /* Keep pricing strip clean on mobile */
    .pricing-strip-1688 {
        padding: 10px 12px !important;
    }
    .pricing-strip-1688 .fs-28,
    .pricing-strip-1688 .fs-28.fw-bold {
        font-size: 22px !important;
    }
}

/* ==========================================================================
   Prevent scroll trapping on desktop product page (v5.5)
   Fixes: "sticks when scrolling up" — any scrollable child must not
   capture page scroll. overscroll-behavior:none lets scroll always
   propagate to the window when the inner container hits its boundary.
   ========================================================================== */
@media (min-width: 992px) {
    .desktop-product-layout,
    .desktop-product-layout *,
    .desktop-product-left-col,
    .desktop-product-left-col *,
    .desktop-product-right-col,
    .desktop-product-right-col * {
        overscroll-behavior: auto !important;
    }
}


/* ==========================================================================
   v5.7 — Android / Mobile Product Page Fixes
   ALL rules below are scoped to max-width: 991.98px (mobile only).
   Desktop (≥992px) is completely unaffected.
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   FIX 2 — Hide price clutter on Android:
   strikethrough old price, "60-day loyalty" badge, total sales volume row
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    /* Hide the crossed-out original price next to the main price */
    .pricing-strip-1688 del {
        display: none !important;
    }

    /* Hide the "60-day loyalty price" badge */
    .pricing-strip-1688 .badge {
        display: none !important;
    }

    /* Hide the minimum order + total sales row */
    .pricing-strip-1688 .d-flex.align-items-center.justify-content-between.flex-wrap.gap-1.mt-1 {
        display: none !important;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   FIX 3 — Floating "Order Now" + "Add to Cart" bottom action bar (Android)
   Appears when user scrolls past the inline buttons. Hidden at top.
   Styled like the bottom nav (Home / Categories / Cart).
   ────────────────────────────────────────────────────────────────────────── */
.mobile-floating-action-bar {
    display: none !important;
}

@media (max-width: 991.98px) {
    /* The floating bar itself */
    .mobile-floating-action-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9990;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        padding: 10px 14px max(10px, env(safe-area-inset-bottom, 10px)) 14px;
        display: flex;
        gap: 10px;
        align-items: center;
        box-shadow: 0 -3px 16px rgba(0,0,0,0.10);
        transform: translateY(100%);
        transition: transform 0.25s ease;
        pointer-events: none;
        opacity: 0;
    }

    /* Visible state — JS adds .is-visible */
    .mobile-floating-action-bar.is-visible {
        transform: translateY(0);
        pointer-events: all;
        opacity: 1;
    }

    .mobile-floating-action-bar .mfab-order-btn {
        flex: 1;
        background: linear-gradient(135deg, #ff6a00, #ff5000);
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 12px 10px;
        font-size: 14px;
        font-weight: 700;
        min-height: 46px;
        cursor: pointer;
        box-shadow: 0 3px 10px rgba(255,80,0,0.35);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        transition: opacity 0.15s ease;
    }
    .mobile-floating-action-bar .mfab-order-btn:active {
        opacity: 0.85;
    }

    .mobile-floating-action-bar .mfab-cart-btn {
        flex: 1;
        background: #fff;
        color: #ff5000;
        border: 2px solid #ff5000;
        border-radius: 10px;
        padding: 12px 10px;
        font-size: 14px;
        font-weight: 700;
        min-height: 46px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        transition: background 0.15s ease;
    }
    .mobile-floating-action-bar .mfab-cart-btn:active {
        background: #fff4ee;
    }

    /* Push page body up so footer isn't hidden behind the bar when visible */
    body.mfab-active {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   FIX 4 — See More / See Less working on Android
   The JS uses scrollHeight check but on mobile the initial render may be
   synchronous before images load. Force a recheck approach via CSS:
   ensure descContent uses max-height transition and displays correctly.
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    #descContent {
        max-height: 280px !important;
        overflow: hidden !important;
        transition: max-height 0.4s ease !important;
    }

    #descContent.desc-expanded {
        max-height: 9000px !important;
    }

    /* Ensure See More button is touch-friendly */
    .desc-see-more-btn {
        min-height: 40px !important;
        padding: 8px 20px !important;
        font-size: 14px !important;
        border-radius: 20px !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    /* Fade overlay visible when collapsed */
    #descFadeOverlay {
        height: 70px !important;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   FIX 5 — Remove extra white space below footer on Android
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    /* Remove any extra margin / padding on the very bottom of the page */
    body {
        padding-bottom: 0 !important;
    }

    footer.page-footer {
        margin-bottom: 0 !important;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Remove gap below the copyright bar */
    .copyright-section,
    .footer-copyright,
    footer .bg-dark,
    footer [class*="copyright"] {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   FIX 6 — Responsive product details for ALL Android screen sizes
   Breakpoints: xs <360, sm 360-400, md 400-480, lg 480-767
   ────────────────────────────────────────────────────────────────────────── */

/* --- All mobiles: base tightening --- */
@media (max-width: 767.98px) {

    /* Product purchase area card */
    .product-purchase-section {
        padding: 12px !important;
        border-radius: 10px !important;
    }

    /* Product title */
    .product-title-1688 {
        font-size: 15px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }

    /* Rating / praise badge row */
    .product-purchase-section .d-flex.align-items-center.flex-wrap.gap-2.mb-2 {
        gap: 6px !important;
        margin-bottom: 8px !important;
    }

    /* Pricing strip */
    .pricing-strip-1688 {
        padding: 8px 10px !important;
        border-radius: 8px !important;
        margin-bottom: 10px !important;
    }
    .pricing-strip-1688 .fs-28 {
        font-size: 20px !important;
    }

    /* Gallery section */
    .product-gallery-section {
        padding: 10px !important;
        border-radius: 10px !important;
    }

    /* Variant trigger bar */
    .mobile-variant-sheet-trigger {
        padding: 10px 12px !important;
        border-radius: 10px !important;
    }
    .mobile-variant-sheet-trigger .fs-13 {
        font-size: 12px !important;
    }

    /* Action buttons */
    .product-action-buttons-1688 {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .btn-1688-order-now,
    .btn-1688-add-cart {
        width: 100% !important;
        padding: 12px 14px !important;
        font-size: 14px !important;
        min-height: 44px !important;
    }

    /* Save / wishlist button */
    .btn-1688-save {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Tabs navigation */
    .product-1688-nav-link {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }

    /* Seller section */
    .product-seller-section {
        padding: 10px !important;
        border-radius: 10px !important;
    }

    /* Vendor metrics grid */
    .vendor-1688-metrics-grid {
        padding: 10px !important;
    }
    .vendor-1688-metrics-grid .fs-12 {
        font-size: 11px !important;
    }

    /* Packing table responsive */
    .packing-1688-table-wrapper,
    .product-attributes-1688-table-wrapper {
        overflow-x: auto !important;
    }
    .packing-1688-table,
    .attributes-1688-table {
        min-width: 420px;
        font-size: 12px !important;
    }

    /* Rich text product description */
    .product-details-content-1688 {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
    .product-details-content-1688 img {
        max-width: 100% !important;
        height: auto !important;
    }
    .product-details-content-1688 table {
        width: 100% !important;
        display: block !important;
        overflow-x: auto !important;
    }
}

/* --- Very small phones: <360px --- */
@media (max-width: 359.98px) {
    .product-title-1688 {
        font-size: 13px !important;
    }
    .pricing-strip-1688 .fs-28 {
        font-size: 18px !important;
    }
    .mobile-variant-sheet-trigger .badge {
        display: none !important; /* hide variant count badge on tiny screens */
    }
    .product-1688-nav-link {
        font-size: 11px !important;
        padding: 7px 8px !important;
    }
    .btn-1688-order-now,
    .btn-1688-add-cart {
        font-size: 13px !important;
        min-height: 42px !important;
    }
    .mfab-order-btn,
    .mfab-cart-btn {
        font-size: 13px !important;
    }
}

/* --- Large phones / phablets: 480px–767px --- */
@media (min-width: 480px) and (max-width: 767.98px) {
    .product-title-1688 {
        font-size: 17px !important;
    }
    .pricing-strip-1688 .fs-28 {
        font-size: 24px !important;
    }
    .product-action-buttons-1688 {
        flex-direction: row !important;
    }
    .btn-1688-order-now,
    .btn-1688-add-cart {
        flex: 1 !important;
        width: auto !important;
    }
    .product-1688-nav-link {
        font-size: 13px !important;
        padding: 10px 14px !important;
    }
}

/* ==========================================================================
   v5.7 Part 2 — Fix: descContent must NOT use !important on max-height
   so the See More/Less JS can set inline styles freely.
   Also: floating bar body padding correction.
   ========================================================================== */

/* Override the !important set in the v5.7 block above.
   JS controls max-height via inline style — CSS only sets the INITIAL state. */
@media (max-width: 991.98px) {
    #descContent {
        /* Initial collapsed height — JS inline style overrides this */
        max-height: 280px;
        overflow: hidden;
        transition: max-height 0.4s ease;
        /* Remove the !important from the earlier rule by re-declaring here
           (later same-specificity non-!important wins over nothing, but since
           the earlier rule used !important we use a workaround: add padding-box
           reflow trick via display:block which doesn't hurt layout) */
        display: block;
    }
}

/* Force-override the earlier !important on #descContent max-height:
   Use inline-style approach — the JS sets style.maxHeight directly which
   takes priority over !important in stylesheets per CSS cascade spec §6.4.
   No extra CSS needed here — inline styles win. The earlier !important only
   applies when there is NO inline style on the element. */

/* Ensure floating bar doesn't overlap content when NOT visible */
@media (max-width: 991.98px) {
    body:not(.mfab-active) {
        padding-bottom: 0 !important;
    }

    /* Extra bottom space fix — ensure no phantom whitespace */
    .page-footer + * {
        display: none;
    }
}

/* ==========================================================================
   v5.8 — Hide footer copyright bar on Android / Mobile everywhere
   ========================================================================== */
@media (max-width: 991.98px) {
    /* Hide the entire bottom copyright section (CopyRight 6amTech@2021 bar) */
    footer .bg-white-overlay-50 {
        display: none !important;
    }
}


/* ==========================================================================
   v5.9 — Fix See More/Less, Remove Footer Blue Box, Fix Packing & Tables
   ========================================================================== */

/* 1. Bulletproof See More / See Less Toggle for Windows and Mobile */
#descContent.desc-expanded {
    max-height: none !important;
    overflow: visible !important;
    transition: max-height 0.4s ease !important;
}

#descContent:not(.desc-expanded) {
    max-height: 320px !important;
    overflow: hidden !important;
}

@media (max-width: 991.98px) {
    #descContent:not(.desc-expanded) {
        max-height: 280px !important;
        overflow: hidden !important;
    }
}

/* 2. Remove Dark Blue Footer Block on Android/Mobile */
@media (max-width: 991.98px) {
    footer.page-footer {
        display: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
}

/* 3. Fix Overlapping/Squashed Table Text in Product Attributes on Mobile (Screenshot 2) */
@media (max-width: 767.98px) {
    .product-details-content-1688 table,
    .rich-editor-html-content table {
        display: table !important;
        width: 100% !important;
        max-width: 100% !important;
        table-layout: auto !important;
    }
    .product-details-content-1688 table tr td,
    .rich-editor-html-content table tr td,
    .product-details-content-1688 table tr th,
    .rich-editor-html-content table tr th {
        width: auto !important;
        min-width: 75px !important;
        word-break: normal !important;
        white-space: normal !important;
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
    /* Only apply 38%/62% key-value width split when a row has EXACTLY 2 cells */
    .product-details-content-1688 table tr > td:first-child:nth-last-child(2),
    .rich-editor-html-content table tr > td:first-child:nth-last-child(2) {
        width: 38% !important;
        min-width: 105px !important;
        font-weight: 600 !important;
    }
    .product-details-content-1688 table tr > td:last-child:nth-child(2),
    .rich-editor-html-content table tr > td:last-child:nth-child(2) {
        width: 62% !important;
        word-break: break-word !important;
    }
}

/* 4. Fix Packing & Basic Attributes Tables (Screenshot 1 & 4) */
.packing-1688-table th,
.packing-1688-table thead th {
    background-color: #f8fafc !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    word-break: normal !important;
    padding: 10px 14px !important;
}
.packing-1688-table td {
    color: #1e293b !important;
    background-color: #ffffff !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    word-break: normal !important;
    padding: 10px 14px !important;
}
.product-packing-1688-table-wrapper,
.product-attributes-1688-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
}
.attributes-1688-table .attr-label {
    background-color: #f8fafc !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 10px 14px !important;
}
.attributes-1688-table .attr-val {
    color: #1e293b !important;
    background-color: #ffffff !important;
    font-size: 13px !important;
    padding: 10px 14px !important;
}

/* 5. Mobile Tab Navigation (Prevent Cutoff) */
@media (max-width: 991.98px) {
    .product-info-tabs-nav .nav-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 4px !important;
    }
    .product-1688-nav-link {
        white-space: nowrap !important;
        font-size: 13px !important;
        padding: 6px 12px !important;
    }
}

/* 6. Pricing Strip Discount Percentage & Rating Modal */
.pricing-strip-1688 del.original-price-del {
    display: inline-block !important;
}
.pricing-strip-1688 .discount-percent-badge {
    display: inline-block !important;
    background: #ff4d4f !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    vertical-align: middle !important;
}
.interactive-star-rating i {
    cursor: pointer;
    transition: transform 0.15s ease;
}
.interactive-star-rating i:hover {
    transform: scale(1.2);
}

/* =========================================================================
   7. WINDOWS / DESKTOP ONLY: 4-Column Balanced Product Attributes Table
   DO NOT touch or modify mobile / Android (< 768px).
   ========================================================================= */
@media screen and (min-width: 768px) {
    .product-details-content-1688 table,
    .rich-editor-html-content table {
        table-layout: fixed !important;
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: collapse !important;
    }

    .product-details-content-1688 table th,
    .product-details-content-1688 table td,
    .rich-editor-html-content table th,
    .rich-editor-html-content table td {
        word-break: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        hyphens: none !important;
        -webkit-hyphens: none !important;
        vertical-align: middle !important;
        padding: 9px 12px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        box-sizing: border-box !important;
    }

    /* Reset any width:1% or white-space:nowrap rules on desktop */
    .product-details-content-1688 table tbody tr td:first-child,
    .product-details-content-1688 table tbody tr td:first-child strong,
    .rich-editor-html-content table tbody tr td:first-child,
    .rich-editor-html-content table tbody tr td:first-child strong {
        white-space: normal !important;
    }

    /* 4-column balanced layout (Name | Value | Name | Value) */
    .product-details-content-1688 table tr > td:first-child:nth-last-child(4),
    .rich-editor-html-content table tr > td:first-child:nth-last-child(4),
    .product-details-content-1688 table tr > td[data-row]:nth-child(4n+1),
    .rich-editor-html-content table tr > td[data-row]:nth-child(4n+1) {
        width: 22% !important;
        min-width: 120px !important;
        background-color: #f8fafc !important;
        font-weight: 600 !important;
        color: #475569 !important;
    }

    .product-details-content-1688 table tr > td:first-child:nth-last-child(4) + td,
    .rich-editor-html-content table tr > td:first-child:nth-last-child(4) + td,
    .product-details-content-1688 table tr > td[data-row]:nth-child(4n+2),
    .rich-editor-html-content table tr > td[data-row]:nth-child(4n+2) {
        width: 28% !important;
        min-width: 150px !important;
        color: #1e293b !important;
    }

    .product-details-content-1688 table tr > td:first-child:nth-last-child(4) + td + td,
    .rich-editor-html-content table tr > td:first-child:nth-last-child(4) + td + td,
    .product-details-content-1688 table tr > td[data-row]:nth-child(4n+3),
    .rich-editor-html-content table tr > td[data-row]:nth-child(4n+3) {
        width: 22% !important;
        min-width: 120px !important;
        background-color: #f8fafc !important;
        font-weight: 600 !important;
        color: #475569 !important;
    }

    .product-details-content-1688 table tr > td:first-child:nth-last-child(4) + td + td + td,
    .rich-editor-html-content table tr > td:first-child:nth-last-child(4) + td + td + td,
    .product-details-content-1688 table tr > td[data-row]:nth-child(4n+4),
    .rich-editor-html-content table tr > td[data-row]:nth-child(4n+4) {
        width: 28% !important;
        min-width: 150px !important;
        color: #1e293b !important;
    }
}
