/* DESKTOP ICON BUTTONS */
.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.icon-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* MOBILE & TABLET CARD STYLES */
.mobile-card-wrapper {
    background: linear-gradient(180deg, #fef3c7, #ffffff);
    /* mh-cream to white */
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    overflow: hidden;
    flex-direction: column;
    height: 100%;
    margin: 0.5rem;
}

.mobile-card-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.mobile-card-image {
    height: 12rem;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.mobile-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #d97706, #f59e0b);
    /* mh-amber to mh-gold */
    color: #1a4b5f;
    /* mh-deep-teal */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.mobile-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.75rem;
}

.mobile-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a4b5f;
    /* mh-deep-teal */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-card-title a:hover {
    color: #f59e0b;
    /* mh-gold */
    transition: color 0.2s ease;
}

.mobile-card-location {
    font-size: 0.75rem;
    color: #2a7d7b;
    /* mh-teal */
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.25rem;
}

.mobile-card-specs-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.75rem 0;
    padding: 0.75rem 0;
    border-top: 1px solid #87a96b;
    /* mh-sage */
    border-bottom: 1px solid #87a96b;
    /* mh-sage */
}

.spec-item-icon {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1a4b5f;
    /* mh-deep-teal */
}

.spec-item-icon .icon-sm {
    margin-right: 0.5rem;
    height: 0.875rem;
    width: 0.875rem;
    color: #2a7d7b;
    /* mh-teal */
}

.mobile-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-card-price {
    font-size: 1.125rem;
    font-weight: 800;
    color: #d97706;
    /* mh-amber */
}

.mobile-card-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.mobile-icon-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mobile-icon-button.bg-mh-teal {
    background: linear-gradient(to right, #2a7d7b, #1a4b5f);
    /* mh-teal to mh-deep-teal */
}

.mobile-icon-button.bg-mh-olive {
    background: linear-gradient(to right, #6b8e23, #87a96b);
    /* mh-olive to mh-sage */
}

.mobile-details-button {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    background-color: #fef3c7;
    /* mh-cream */
    color: #1a4b5f;
    /* mh-deep-teal */
    transition: all 0.2s ease;
}

.mobile-details-button:hover {
    background-color: #f59e0b;
    /* mh-gold */
    color: #1a4b5f;
    /* mh-deep-teal */
    transform: scale(1.05);
}

.icon-sm {
    height: 0.875rem;
    width: 0.875rem;
    color: #2a7d7b;
    /* mh-teal */
}

/* Swiper Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
    color: #d97706;
    /* mh-amber */
    background: #fef3c7;
    /* mh-cream */
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #f59e0b;
    /* mh-gold */
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 1rem;
}
