@media (max-width: 420px) {
    .mobile-card-col {
        width: 100% !important;
    }
}

.shop-product-img {
    aspect-ratio: 1/1;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 575.98px) {

    .shop-product-title {
        font-size: 0.85rem !important;
    }

    .shop-product-price {
        font-size: 1rem !important;
    }

    .shop-product-btn {
        font-size: 0.7rem !important;
        padding-top: 0.3rem !important;
        padding-bottom: 0.4rem !important;
        width: auto !important;
        min-width: 100px;
    }
}

.product-card-modern {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 140, 0, 0.2) !important;
}

@media (hover: hover) {
    .product-card-modern:hover {
        transform: translateY(-10px);
    }

    .product-card-modern:hover .card-actions {
        opacity: 1;
        bottom: 10px;
    }

    .product-card-modern:hover img {
        transform: scale(1.1);
    }
}

.extra-small {
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.divider-slant {
    position: absolute;
    top: 0;
    right: 30%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-20deg);
    pointer-events: none;
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

/* Filter Section Refinements */
.input-group-text {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

#shop-min-price, #shop-max-price {
    border-color: rgba(0, 0, 0, 0.05) !important;
    font-weight: 500;
}

#shop-min-price:focus, #shop-max-price:focus {
    box-shadow: none;
    background-color: #fff !important;
    border-color: var(--bs-primary) !important;
}

#categoryDropdown {
    border-color: rgba(0, 0, 0, 0.1) !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

#categoryDropdown:hover {
    background-color: var(--bs-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Live Search Previews */
#search-preview-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1050;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


