.field-description {
    color: #5E6366;
    font-size: 0.75rem;
    line-height: 16px !important;
}

.field-validation-error {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--bs-form-invalid-color);
}

.field-validation-valid {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--bs-form-valid-color);
}

.validation-summary-errors {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--bs-form-invalid-color);
}

.pointer {
    cursor: pointer;
}

.card-icon {
    font-size: 40px;
    line-height: 1;
}

.card-height {
    height: 156px;
}

.text-truncate-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em; /* Adjust based on font size */
    line-height: 1.5em;
}

.form-border {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cdcfd2;
    padding: 10px;
    border-radius: 5px;
}
.flip-card {
    width: 100%;
    height: 120px;
    perspective: 1200px;
    -webkit-perspective: 1200px;
    -moz-perspective: 1200px;
    -ms-perspective: 1200px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transition: transform 0.6s ease;
    -webkit-transition: -webkit-transform 0.6s ease;
    -moz-transition: -moz-transform 0.6s ease;
    -ms-transition: -ms-transform 0.6s ease;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: card shadow */
    color: var(--bs-body-color);
    word-wrap: break-word;
    background-color: var(--bs-card-bg) !important;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
}

.flip-card-back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
}

.flip-card.clicked .flip-card-inner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
}

.progress-wrapper {
    position: relative;
    height: 150px;
    margin-top: 20px;
    overflow-x: visible; /* Allow milestones to render correctly */
}

.progress-milestone {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 8px;
    background-color: #525ce5;
    border-radius: 3px;
    z-index: 0;
}

.progress-bar {
    height: 100%;
    background-color: #28a745;
    border-radius: 20px;
    transition: width 0.4s ease;
}
.milestone {
    position: absolute;
    top: 15px;
    text-align: center;
    transform: translateX(-50%);
    width: 80px;
    z-index: 2;
}

.milestone .circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #525ce5;
    border: 1px solid #ccc;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px auto;
}

.milestone.approved .circle {
    background-color: #28a745;
    border-color: #28a745;
}

.milestone-label {
    font-size: 0.75rem;
    margin-top: 5px;
}
.no-interaction {
    pointer-events: none; /* Block interaction */
    background-color: #e9ecef; /* Gray background like disabled */
    color: #6c757d; /* Muted text color like disabled */
}
.w-5 {
    width: 5% !important;
}
.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}
.selected-container {
    display: flex;
    flex-direction: column;
}

.selected-box {
    border: 1px solid #ccc;
    height: 100px; /* Fixed height */
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f9fa;
    overflow-y: auto; /* Enable scrolling */
}

.selected-item {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    margin: 5px 0;
    border-radius: 3px;
    cursor: pointer;
}

.selected-item:hover {
    background-color: #0056b3;
}
#CartPopUp {
    z-index: 1060 !important;
}
.vh-70 {
    height: 70vh !important;
}
.fs-7{
    font-size: 12px;
}
.custom-cart-tabs .nav-tabs .nav-link.active {
    background-color: #ffffff !important;
    color: #000;
    border-color: #dee2e6 #dee2e6 #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.custom-cart-tabs .tab-pane.active .card-body {
    background-color: #ffffff !important;
}
.custom-cart-tabs .nav-tabs .nav-link {
    background-color: #f5f7fa !important;
}
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}
.hover-card {
    transition: transform 0.2s ease, border 0.2s ease;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.hover-card:hover {
    transform: scale(1.01);
    border: 1px solid #007bff;
    z-index: 1;
}
.hover-card:hover .add-cart-btn {
    display: block !important;
}
.quantity-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* translucent so border shows through */
    pointer-events: none;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.hover-card:hover .quantity-container {
    display: flex;
    pointer-events: auto;
}
.fixed-card {
    width: 100%;
    max-width: 500px; /* Optional max size */
    height: auto;
    padding: 0.75rem
}
.fixed-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}   
.truncate-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
#ViewProduct:hover .card {
    transform: scale(1.03);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}
.bulk-offer-card {
    cursor: pointer;
}
.vertical-divider {
    position: absolute;
    top: 0;
    right: 30px;
    width: 1px;
    height: 100%;
    background-color: #dee2e6;
}
.marquee-wrap {
    overflow: hidden;
    position: relative;
    height: 40px;
    width: 100%;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    padding-top: 8px;
}

.marquee-content {
    display: inline-block;
    padding-right: 3rem; /* gap between repeats */
    font-size: 1.05rem;
}

/* Continuous animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
/* Base styles for all screens (no background) */
.cant-find-sidebar {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    font-size: 0.85rem;
    color: #0d6efd; /* text color */
    border-radius: 8px;
    cursor: pointer;
}

/* Desktop link hover only */
.cant-find-sidebar a#btnLetUsKnow {
    color: #0d6efd;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    padding: 2px 6px;
    border-radius: 4px;
}
 /* Highlight the link on hover */
.cant-find-sidebar a#btnLetUsKnow:hover {
    background-color: #525ce5;
    color: #ffffff;
    text-decoration: none;
}

/* Mobile-only icon */
.cant-find-sidebar i#btnLetUsKnow {
    font-size: 1.4rem;
    color: #0d6efd;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: color .3s;
}

/* Mobile icon hover */
@media (max-width: 991.98px) {
    .cant-find-sidebar i#btnLetUsKnow:hover {
        color: #ffffff;
        background-color: #525ce5;
        border-radius: 50%;
        padding: 2px;
    }
}
.cant-find-sidebar-banner {
    background: linear-gradient(90deg, #36d1c4 0%, #5b86e5 100%);
    border-radius: 2rem;
    color: #fff;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
    font-size: 1rem;
    font-weight: 500;
    min-height: 48px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cant-find-sidebar-banner .mdi-help-circle {
    color: #fff;
    border-radius: 50%;
    padding: 0.25rem;
}

.cant-find-sidebar-banner a#btnLetUsKnow {
    color: #36d1c4 !important;
    background: #fff !important;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.cant-find-sidebar-banner a#btnLetUsKnow:hover {
    background: #e6f7f7 !important;
    color: #2d6a8a !important;
}
.category-tile {
    display: inline-block;
    background-color: #f1f1f1;
    color: #333;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

.category-tile:hover {
    background-color: #e6e6e6;
    transform: translateY(-2px);
}
.category-tile-select {
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.category-tile-select:hover {
    background-color: #f8f9fa;
}

.category-tile-select.selected {
    background-color: #0d6efd; /* Bootstrap blue */
    color: white;
    border-color: #0d6efd;
}
.readonly-dd {
    pointer-events: none; 
}