.sale-card {
    height: 600px !important; /* Ensures all cards are the same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media only screen and (max-width : 450px) {
    .sale-card {
        margin-bottom: 54px !important;
    }
    .container, .container2 {
        width: 100%;
    }
}
.sale-image img {
    width: 100%; /* Ensures the image takes the full width of the card */
    height: 420px !important; /* Sets a fixed height for the image */
    object-fit: cover !important; /* Ensures the image covers the area without distortion */
}
.sale-content {
    flex-grow: 1; /* Allows the content to grow and fill available space */
}
.sale-action {
    margin-top: auto; /* Pushes the action section to the bottom */
}
.sale-btn {
    width:180px;
    margin-top:-6px;
    border-radius: 18px !important;
    background-color: #ffeb3b !important;
    color: #000000;
}

.nav-hdr {
    font-size: 16px;
    color: #f8f6f6;
    font-family: Avenir, Helvetica, Roboto;
}

nav ul li.active {
    background-color: #2E2E30 !important;
}

nav ul li a {
    letter-spacing: initial;
}

.collection.cilh23 .collection-item {
    line-height: 2.3rem;
}
.loginBtn:hover {
    color: #000 !important;
}

/* ===== Dropdown Container ===== */
.dropdown-content {
    background-color: #000 !important;
    top: 63px !important;
    transform: none !important;
    border: 1px solid #9e9e9e !important; /* Light grey border */
    border-radius: 8px !important; /* Rounded corners */
    padding: 8px 0 !important; /* Inner spacing */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; /* Subtle shadow */
    overflow: hidden; /* Ensures rounded corners clip content */
    animation: fadeIn 0.2s ease-out; /* Smooth fade-in */
}

/* Dropdown fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Dropdown Items ===== */
.dropdown-content li {
    min-height: 3rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0 16px !important; /* Horizontal padding */
}

/* First/last child rounding */
.dropdown-content li:first-child {
    border-top-left-radius: 7px; /* Slightly less than container to account for border */
    border-top-right-radius: 7px;
}
.dropdown-content li:last-child {
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

/* Hover effect */
.dropdown-content li:hover {
    background-color: #000 !important; /* Slightly lighter than #000 for depth */
}

/* ===== Link Styling ===== */
.dropdown-content li > a {
    color: #9e9e9e !important;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    left: 0;
    font-size: 0.95rem; /* Slightly smaller text */
}

/* Dash animation */
.dropdown-content li > a::before {
    content: "—";
    color: transparent;
    margin-right: 0;
    transition: all 0.3s ease;
    position: absolute;
    left: -10px;
}

/* Hover effects */
.dropdown-content li:hover > a {
    color: #fff !important;
    left: 5px; /* Slide right */
}

.dropdown-content li:hover > a::before {
    color: #fff;
    left: 0; /* Dash slides in */
}

/* Fix Materialize defaults */
.dropdown-content li > a {
    line-height: 2rem !important;
    height: 3rem !important;
    display: flex !important;
    align-items: center !important;
}
/* Add a caret rotation animation */
.nav-hdr.dropdown-trigger i {
    transition: transform 0.3s ease;
}
.nav-hdr.dropdown-trigger.active i {
    transform: rotate(180deg);
}

input[type="checkbox"].darkcheckbox:checked + span:not(.lever)::before {
    border-right: 2px solid var(--highlight-color);
    border-bottom: 2px solid var(--highlight-color);
}