/* Filter Component Styles */

.filter-section-header i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.filter-section-content.collapse:not(.show) {
    display: none;
}

.filter-section-content.show {
    display: block;
}

.transition-icon.rotated {
    transform: rotate(180deg);
}

.badge-pill {
    padding: 0.2rem 0.5rem;
    background-color: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1);
}

.filter-sidebar .form-control {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
}

.filter-sidebar .filter-order option {
    background-color: #1a1a1a !important;
    color: white !important;
}

.filter-sidebar .form-control:focus {
    background-color: rgba(255,255,255,0.1);
    border-color: #107c10;
    color: white;
}

/* Arrow for Select */
.custom-select-with-arrow {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba(255,255,255,0.7)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right .75rem center !important;
    background-size: 14px 14px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 2.5rem !important;
}

/* Mobile overrides for header inside partial */
.mobile-filter-sidebar .main-filter-header h5 {
    display: none !important;
}

.mobile-filter-sidebar .main-filter-header {
    justify-content: flex-end !important;
    margin-bottom: 0.5rem !important;
    margin-top: -0.5rem !important;
}

/* Remove spinners from number inputs */
.no-spinners::-webkit-outer-spin-button,
.no-spinners::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinners {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Mobile Filter Sidebar Specifics */
.mobile-filter-sidebar {
    background-color: #121212 !important;
    color: white !important;
}

.mobile-filter-sidebar .form-control {
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: white !important;
}

.mobile-filter-sidebar .form-control:focus {
    background-color: #222 !important;
    border-color: #107c10 !important;
    color: white !important;
}

.mobile-filter-sidebar .text-dim {
    color: rgba(255,255,255,0.6) !important;
}

.mobile-filter-sidebar .badge-pill {
    background-color: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.7) !important;
}

.text-success {
    color: #107c10 !important;
}
/* Shared Card Image & Tags */
.card-img-wrapper {
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: #000;
}

.card-img-blur-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.card-img-blur {
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.5);
    transform: translate(-5%, -5%);
}

.card-details {
    position: relative;
    z-index: 2;
    object-fit: contain;
    height: 200px;
    background: transparent;
    width: 100%;
}

.top-tag-discount {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.desconto-badge {
    background: #e51937;
    color: white;
    padding: 6px 14px;
    border-radius: 0 0 0 16px;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: -2px 2px 15px rgba(0, 0, 0, 0.6);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.card-tag-green {
    background: linear-gradient(135deg, #107c10, #34a834) !important;
    color: white !important;
    font-weight: 800 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 2px 6px !important;
    font-size: 0.7rem !important;
    border-radius: 4px !important;
}
