#global_action_loader {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    text-align: center;
    /* padding-top: 40vh; */
}

#global_action_loader img {
    width: 100px;
    height: 100px;
}

#global_progress_bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: rgb(254, 236, 0);
    /* Blue color - change to match your theme */
    z-index: 9999;
    transition: width 0.4s ease, opacity 0.4s ease;
    width: 0%;
    opacity: 0;
}

super[xrole] {
    font-size: 10px;
}

.overflowed-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.invalid-feedback {
    margin-top: 0;
}

.profile-avatar-large {
    position: relative;
}

.profile-avatar-overlay {
    display: none;
}

.profile-avatar-large.editable {
    cursor: pointer;
}

.profile-avatar-large.editable .profile-avatar-overlay {
    display: block;
    position: absolute;
    bottom: 0px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 0px 5px;
    border-radius: 50%;
}

.bi-spin {
    display: inline-block;
    animation: bi-spin 1s linear infinite;
}

@keyframes bi-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* newsletter submission button animation */
.submit-loader {
    position: relative;
    /* font-weight: bold;
    font-size: 1.0rem; */
    padding: 0 !important;
    min-width: 140px;

}

/* hide loading by default */
.submit-loader .loader-text[data-state="loading"] {
    display: none;
}

/* show normal text by default */
.submit-loader [data-state="normal"] {
    display: inline-block;
}

/* spinning animation only applies when loading is active */
.submit-loader.spinning .loader-text span {
    display: inline-block;
    animation: bounce 1s ease-in-out infinite;
}

/* stagger letters for wave effect */
.submit-loader.spinning .loader-text span:nth-child(1) {
    animation-delay: 0s;
}

.submit-loader.spinning .loader-text span:nth-child(2) {
    animation-delay: 0.1s;
}

.submit-loader.spinning .loader-text span:nth-child(3) {
    animation-delay: 0.2s;
}

.submit-loader.spinning .loader-text span:nth-child(4) {
    animation-delay: 0.3s;
}

.submit-loader.spinning .loader-text span:nth-child(5) {
    animation-delay: 0.4s;
}

.submit-loader.spinning .loader-text span:nth-child(6) {
    animation-delay: 0.5s;
}

.submit-loader.spinning .loader-text span:nth-child(7) {
    animation-delay: 0.6s;
}

.submit-loader.spinning .loader-text span:nth-child(8) {
    animation-delay: 0.7s;
}

.submit-loader.spinning .loader-text span:nth-child(9) {
    animation-delay: 0.8s;
}

.submit-loader.spinning .loader-text span:nth-child(10) {
    animation-delay: 0.9s;
}

.submit-loader.spinning .loader-text span:nth-child(11) {
    animation-delay: 1s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-6px);
    }
}

/* When spinning, show loader and hide normal text */
.submit-loader.spinning .loader-text[data-state="loading"] {
    display: inline-block;
}

.submit-loader.spinning [data-state="normal"] {
    display: none;
}

.secondary {
    background: white !important;
    border: 1px solid var(--main-color) !important;
    color: var(--main-color) !important;
}

.message-admin {
    background-color: #e1f5fe;
    color: #000;
    padding: 8px 12px;
    border-radius: 16px 16px 16px 0;
    margin: 4px 0;
    max-width: 70%;
    word-wrap: break-word;

    /* Add this */
    margin-right: auto;
    /* push to left */
}

.message-customer {
    background-color: #c8e6c9;
    color: #000;
    padding: 8px 12px;
    border-radius: 16px 16px 0 16px;
    margin: 4px 0;
    max-width: 70%;
    word-wrap: break-word;

    /* Add this */
    margin-left: auto;
    /* push to right */
}

/* Optional: style the timestamp */
.message-customer small,
.message-admin small {
    color: #555;
    font-size: 10px;
    margin-top: 2px;
    display: block;
}

/* Optional: chat container flex setup */
.message-container {
    display: flex;
    flex-direction: column;
}

.coupon-input {
    margin: 0;
    margin-top: 10px;
}

#checkout-document {
    border: 1px solid #dfdfdf;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.l-social-buttons a img {
    width: 20px;
    height: 20px;
}

.line-through {
    text-decoration: line-through;
}

/* Animation for the magnifying glass */
.magnifier {
    animation: search-move 3s infinite ease-in-out;
}

@keyframes search-move {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-20px, 10px);
    }

    66% {
        transform: translate(-10px, -15px);
    }
}

.searching-mail {
    animation: float 4s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.transition-hover:hover {
    transform: scale(1.05);
    background-color: #f57c00 !important;
    transition: all 0.3s ease;
}

.funny-svg {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    animation: wiggle 2s infinite ease-in-out;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(-5deg) translateY(0);
    }

    50% {
        transform: rotate(5deg) translateY(-10px);
    }
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    padding: 0 2px;
    transition: color 0.2s;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #ffc107;
    /* Gold color */
}

.wishlist-icon,
.videocall-icon {
    border: none;
}

.lang-btn.active {
    background: #093c38 !important;
    color: white !important;
}

.home-collection-section{
    max-height: 700px;
    overflow: hidden;
}

.collection-img{
    max-height: 650px !important;  
}

/* Locked "read-only" <select> for Shipping address country (see
   lockShippingCountry() in custom.js). A native `disabled` select would not
   submit its value with the form, so this uses pointer-events instead. */
select.form-control[data-readonly="true"] {
    pointer-events: none;
    background-color: #e9ecef;
    opacity: .85;
}
