/* ========== FILTER STYLES ========== */

.wca-filter-container {
    background: transparent;
}

.wca-filter-container h3 {
    margin: 0 0 20px;
    color: #333;
}

.wca-filter-fields {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    min-height: 110px;
    padding: 1.25rem 0;
    background-color: #333;
    position: fixed;
    z-index: 5;
    width: 100%;
}
.wca-filter-fields .wca-filter-h1 h1 {
    margin-bottom: 0;
    font-size: 40px;
}

.wca-filter-field {
    flex: 1;
    min-width: 170px;
    max-width: max-content;
}

.wca-filter-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
    font-size: 14px;
    display: none;
}

.wca-filter-field select,
.wca-filter-field input {
    width: 100%;
    padding: 10px 0;
    min-height: 60px;
    border: none;
    background: transparent;
    color: white;
    border-bottom: 2px solid #CAAB76;
    border-radius: 0;
    font-size: 16px;
    max-width: 230px;
    cursor: pointer ;
}
.wca-filter-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1); /* deixa branco */
    opacity: 1;
}


.wca-filter-field select:focus option{
    color: #0d0c0c !important;
    cursor: pointer;
}
.wca-filter-field select option:checked {
  color: #0d0c0c;
}

.wca-filter-field select:disabled {
    opacity: .5;
}
.wca-filter-field select option {
    color: #0d0c0c;
}
.wca-filter-field select option:hover {
    color: #0d0c0c;
    background-color: #ccc;
}

.wca-filter-field select:focus,
.wca-filter-field input:focus {
    border-color: #FF9D00;
    outline: none;
}

#wca-filter-btn {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    /* border: none; */
    border: 2px solid #CAAB76;
    border-radius: 0;
    width: 100%;
    max-width: 170px;
    font-size: 20px;
    cursor: pointer;
    background: #0d0c0c;
    opacity: .7;
    transition: all .4s;
}

#wca-filter-btn:hover {
    opacity: 1;
}

/* Results */
.wca-filter-fields ~ .wca-filter-results {
    padding-top: 160px;
}
.wca-filter-results {
    margin-top: 25px;
    max-width: 1296px;
    padding: 0 1.25rem;
    margin: 0 auto;
}

.wca-filter-loading {
    text-align: center;
    padding: 30px;
    color: #666;
}

.wca-filter-empty {
    text-align: center;
    padding: 30px;
    color: #999;
    font-style: italic;
}

.wca-filter-count {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.wca-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.wca-product-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.wca-product-card figure {
    overflow: hidden;
}
.wca-product-card figure img {
    width: 100%;
    height: 100%;
    aspect-ratio: 420/520;
    object-fit: cover;
    display: block;
    transition: all .4s;
}
.wca-product-card:hover figure img {
    transform: scale(1.05);
}

.wca-product-card .card-body {
    position: relative;
    overflow: hidden;
}
.wca-product-card article {
    max-width: 420px;
    margin: 0 auto;
}
.wca-product-card .card-body::after {    
    content: '';
    position: absolute;
    left: 0;
    top: 55%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FF9D00 0.96%, #FFD562 44.71%, #FF9D00 100%);
    transform: translateY(-50%) scaleY(1);
    transform-origin: center;
    transition: transform .4s ease;
}
.wca-product-card:hover .card-body::after {    
    transform: translateY(-50%) scaleY(100);
    background: white;
} 
.wca-product-card .card-body > div {
    padding: 18px;
}
.wca-product-card .card-body > div * {    
    position: relative;
    z-index: 2;
    transition: all .4s;
}

.wca-product-card h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.wca-product-card h4 a {
    color: white;
    text-decoration: none;
    font-style: normal;
    font-size: 24px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #FF9D00 0.96%, #FFD562 44.71%, #FF9D00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.wca-product-card:hover  h4 a{
    color: #0d0c0c;
    background: transparent;
    -webkit-text-fill-color: #0d0c0c;
}

.wca-product-card .price {
    color: #FF9D00;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.wca-product-card .especialidades {
    font-size: 16px;
    text-transform: uppercase;
    max-width: 80%;
    margin: 16px auto 20px;
}
.wca-product-card .slots-preview {
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    padding: 8px 10px;
    border-radius: 6px;
}

.wca-product-card .view-btn {
    opacity: 0;
    padding: .625rem;
    border: none;
    border-radius: 0;
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3125rem;
    line-height: 1;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    color: white;
    text-align: center;
    text-decoration: none;
    background: #000;
    transition: all .5s;
}

.wca-product-card:hover .especialidades {
    color: #0d0c0c;
}
.wca-product-card:hover .view-btn {
    opacity: 1;
}
.wca-product-card .view-btn:hover {
    opacity: 1;
    color: #0d0c0c;
    background: linear-gradient(90deg, #FF9D00 0.96%, #FFD562 44.71%, #FF9D00 100%);
}
.wca-filter-header {
    text-align: center;
    margin:60px auto;
    max-width: 630px;
}
.wca-filter-header p {
    font-size: 24px;
}
.wca-filter-header h2 {
    font-size: 40px;
}


@media screen and (max-width: 1199px) {
    .wca-filter-fields {
        row-gap: 16px;
    }
    .wca-filter-fields .wca-filter-h1 {
        width: 100%;
        text-align: center;
    }
    .wca-filter-fields ~ .wca-filter-results {
        padding-top: 200px;
    }
}
@media screen and (max-width: 991px) {
    
    .wca-product-card .especialidades {
        max-width: 100%;
    }
    .wca-filter-field {
        min-width: 150px;
    }
    .wca-product-card .card-body::after {
        top: 60%;
    }
}
@media screen and (max-width: 767px) {
    .wca-filter-fields {
        padding: 1.25rem .625rem;
    }
    .wca-filter-fields {
        column-gap: 16px;
    }
    .wca-filter-field select, .wca-filter-field input {
        max-width: 100%;
    }
    #wca-filter-btn,
    .wca-filter-field {
        min-width: calc(50% - 8px);
    }
    .wca-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}