:root {
    --ip-line: #ddd;
    --ip-primary: black;
    --ip-bg-dark: #333;
}

.ip-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.ip-catalogue {
    display: grid;
    gap: 24px;
    grid-template-columns: 280px 1fr;
    align-items: start;
}

.ip-side {
    position: sticky;
    top: 84px;
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: 12px;
    padding: 16px;
}

.ip-side h4 {
    margin: .2rem 0 1rem;
    font-size: 1.2rem;
}

.ip-filter-group {
    margin: 16px 0;
}

.ip-filter-group label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}

.ip-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: .45rem 0;
}

.ip-check label {
    font-size: 1rem;
    font-weight: normal;
}

.ip-range {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ip-range .row {
    display: flex;
    gap: 10px;
}

.ip-range input[type=number] {
    width: 100%;
    border: 1px solid var(--ip-line);
    border-radius: 10px;
    padding: .55rem .6rem;
}

.ip-searchbar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--ip-line);
    border-radius: 999px;
    padding: .6rem 1rem;
    margin-bottom: 12px;
}

.ip-searchbar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    background: transparent;
}

.ip-btn {
    font-weight: 600;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s;
    cursor: pointer;
    font-size: .85rem;
}

.ip-btn-sm {
    padding: 12px 50px;
    font-weight: 600;
    border-radius: 999px;
    text-align: center;
    cursor: pointer;
    font-size: 1.1rem;
}

.ip-btn-primary {
    background-color: black ;
    border-color: black ;
    color: white;
}

.ip-btn-primary:hover {
    background-color: #333 ;
    border-color: #333 ;
}

.ip-btn-outline {
    background-color: transparent;
    border: 1px solid var(--ip-primary);
    color: var(--ip-primary);
}

.ip-btn-outline:hover {
    background-color: var(--ip-primary);
    color: white;
}

.ip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.ip-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ip-line);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.ip-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.ip-card-details {
    padding: 0 12px;
    margin-top: 12px;
}

.ip-card-details h4 {
    margin: 0 0 6px 0;
}

.ip-card-details .price {
    color: #111;
    font-weight: 700;
}

.ip-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding: 0 12px;
}
/* Style the range slider track to be light gray */
input[type="range"]::-webkit-slider-runnable-track {
    background: #ccc;
    height: 4px;
    border-radius: 2px;
}

input[type="range"]::-moz-range-track {
    background: #ccc;
    height: 4px;
    border-radius: 2px;
}

/* Style the range slider thumb (the "ball") to be black */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: black;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: black;
    margin-top: -6px; /* This centers the thumb on the track */
}


.ip-btn-reset {
    flex-grow: 1;
    text-align: center;
    line-height: 1.5; /* This ensures the text is vertically centered */
}
