/* Category Page Custom Styles */

.category-card-hover {
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #eee !important;
    border-radius: 5px !important;
}

.category-card-hover:hover {
    /* border-color: var(--bs-primary) !important; */
    /* transform: translateY(-5px); */
}

.category-card-hover .symbol {
    transition: all 0.3s ease;
    border-radius: 0 !important;
}

/* Subcategory images */
.category-card-hover img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

/* Utilities */
.min-h-150px {
    min-height: 150px !important;
}

.min-h-180px {
    min-height: 180px !important;
}

.min-h-50px {
    min-height: 50px !important;
}

.min-h-200px {
    min-height: 200px !important;
}

.min-h-250px {
    min-height: 250px !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ls-1 {
    letter-spacing: 1px;
}

/* Category grid body */
.category-card-hover .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Product Cards (Grid) - Homepage Model */
.product-card-modern {
    border: 0 !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    transition: all 0.3s ease;
    border-radius: 12px !important;
}

.product-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Remove purple borders from ANY hover */
.product-card-modern:hover,
.category-card-hover:hover,
.product-list-row:hover {
    outline: none !important;
}

/* Product List Rows - "Natural" */
.product-list-row {
    border: none !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease !important;
    border-radius: 0 !important;
}

.product-list-row-wrapper:not(:last-child) .product-list-row {
    border-bottom: 1px solid #eee !important;
}

.product-list-row:hover {
    background-color: #fcfcfc;
}

/* List view image */
.product-list-row .bgi-size-contain {
    background-size: contain !important;
    background-color: #fff !important;
}

/* Toolbar select */
#product-sort {
    background-color: #fff !important;
    border: 1px solid #e1e1e1 !important;
    cursor: pointer;
}

/* View Mode Toggle Buttons - Natural */
#product-view-mode .btn {
    border-radius: 0 !important;
}

#product-view-mode .btn.active {
    background-color: #131143 !important;
    border-color: #131143 !important;
    color: #fff !important;
}

#product-view-mode .btn.active i {
    color: #fff !important;
}

#product-view-mode .btn:not(.active):hover {
    background-color: #f8f9fa;
    border-color: #ccc !important;
}

/* Breadcrumbs refinement */
.breadcrumb-item a {
    color: #888;
    font-weight: 400 !important;
}

/* "Nenhum produto encontrado" Refinement */
.empty-state-container {
    border: none !important;
    background: transparent !important;
    padding: 60px 0 !important;
}

.empty-state-container i {
    margin-bottom: 30px !important;
}

/* Layout helpers */
.col-xl-20-percent {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 1399px) {
    .col-xl-20-percent {
        width: 25%;
    }
}

@media (max-width: 991px) {
    .col-xl-20-percent {
        width: 33.33%;
    }
}

@media (max-width: 767px) {
    .col-xl-20-percent {
        width: 50%;
    }

    .product-list-row .col-2 {
        width: 60px;
    }

    .product-list-row .col-7 {
        flex: 1;
    }

    .product-list-row .h-60px {
        height: 50px !important;
    }

    .product-list-row .p-6 {
        padding: 1rem !important;
    }

    #product-sort {
        width: 120px !important;
        font-size: 11px !important;
    }
}