.badges-on-sold-out {
    background-color: #db1215;
    border-radius: 28px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 28px;
    color: var(--white);
    width: max-content;
}


.toast-container {
    transition: transform 0.3s ease-in-out;
}

.toast {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.toast-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.toast-body {
    padding: 1rem;
    font-size: 16px;
}


.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.tf-field {
    position: relative;
    display: flex;
    align-items: center;
}

.tf-field-input {
    padding-right: 40px; /* Adjust for button space */
}


/* Rotate the pseudo-element when the menu is expanded */
.nav-ul-mb .nav-mb-item .btn-open-sub:not(.collapsed)::before {
    transform: rotate(90deg);
    transition: transform 0.3s ease; /* Smooth transition */
}


.reply-btn {
    display: inline-flex;
    align-items: center;
    background-color: #f1f5f9; /* soft gray-blue */
    color: #1e293b; /* slate-800 */
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 6px;
    width: auto;           /* make sure it's not full width */
    max-width: fit-content; /* ensure it wraps to content */
}

.reply-btn i {
    font-size: 14px;
    color: #3b82f6; /* blue-500 */
    transition: color 0.3s ease;
}

.reply-btn:hover {
    background-color: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.reply-btn:hover i {
    color: #ffffff;
}

.tf-product-info-buy-button .btns-full {
    width: 100%;
    margin-top: 10px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    height: 44px;
    background-color: #ffc520;
    border-radius: 3px;
    font-weight: 500;
    color: rgb(37, 59, 128);
}


.tf-product-info-buy-button .payment-more-option {
    width: 100%;
    margin-top: 10px;
    color: rgb(134, 134, 134);
    text-align: center;
    text-decoration: underline;
}

.btn-reseller {
    background-color: var(--primary);;
    color: white;
    padding: 10px 13px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.btn-reseller:hover {
    background-color: var(--primary);;
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--primary);;
    }
    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(255, 87, 34, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}

.collection-inner {
    position: relative;
    height: 250px !important; /* Set the height you want */
    background-color: #f8f9fa; /* Light background color in case the image fails to load */
    background-size: cover;
    background-position: center;
    overflow: hidden; /* Ensures image doesn't overflow outside the container */
}

.collection-inner .collection-content {
    position: absolute;
    bottom: 20px; /* Push the content slightly up from the bottom */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 1;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Optional: Adds shadow for text legibility */
}

.collection-inner:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.collection-item .collection-title:hover {
    background-color: var(--main) !important;
    color: var(--white) !important;
}


 #toast-container {
     position: fixed;
     top: 20px;
     right: 20px;
     z-index: 1055;
 }

.toast {
    display: flex;
    align-items: center;
    min-width: 250px;
    max-width: 350px;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    color: #fff;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    background-color: #28a745;
}

.toast.danger {
    background-color: #dc3545;
}

.toast .close-btn {
    margin-left: auto;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.loader-product {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
}

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