/* ============================================
   Explore / Browse Page Layout
   ============================================
   Container, header, search bar, and filter UI.
   Card styles are in components/cards.css.
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-secondary);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 40px 0 0 0;
}

.header {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
}

.search-container {
    flex: 1;
    position: relative;
}

.search-input {
    padding: 12px 20px 12px 55px;
    width: 1065px;
    height: 50px;
    border: 1px solid #221616;
    border-radius: 25px;
    font-size: 20px;
    color: #221616;
    font-style: normal;
    font-weight: 400;
    outline: none;
    background: var(--bg-primary);
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #007bff;
}

.search-input::placeholder {
    color: #221616;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.like_header_png {
    width: 24px;
    height: 24px;
}

.filter {
    width: 18px;
    height: 18px;
}

.filters-btn {
    padding: 12px 20px;
    border: 1px solid #221616;
    background: var(--bg-primary);
    border-radius: 25px;
    width: 125px;
    color: #221616;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.filters-btn:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
}


/* --- Responsive: page layout only --- */

@media (max-width: 1590px) {
    .search-input {
        width: 850px;
    }
}

@media (max-width: 1315px) {
    .search-input {
        width: 600px;
    }
}

@media (max-width: 1100px) {
    .search-input {
        width: 400px;
    }
}

@media (max-width: 875px) {
    .search-input {
        width: 400px;
    }
}

@media (max-width: 750px) {
    .container {
        padding: 20px 15px 0;
    }
    .search-input {
        width: 100%;
    }
    .search-container {
        width: 70%;
    }
}

@media (max-width: 614px) {
    .search-container {
        width: 80%;
    }
    .filters-btn {
        gap: 5px;
        width: 71px;
        height: 27px;
        border: 0.5px solid #221616;
        background: var(--bg-primary);
        padding: 0 5px;
        cursor: pointer;
    }
    .header {
        gap: 10px;
        margin-bottom: 20px;
    }
    .search-input {
        height: 27px;
        border: 0.5px solid #221616;
        font-size: 14px;
        padding: 10px 20px 12px 40px;
        min-width: 27px;
        width: 100%;
    }
    .search {
        width: 16px;
        height: 16px;
    }
    .filter-image {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .filter {
        width: 10px;
        height: 10px;
    }
    .filter-text {
        color: #221616;
        font-family: var(--font-primary);
        font-size: 14px;
        font-style: normal;
        line-height: 1;
    }
}
