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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f7f7f7;
    color: #1f1f26;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 32px 24px;
    min-height: 100vh;
}

/* Sidepanel Illustration */
.sidebar-illustration {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Sidepanel */
.sidepanel {
    position: sticky;
    top: 24px;
    align-self: start;
}

.sidepanel-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.sidepanel h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f1f26;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f1f26;
}

.filter-group label::after {
    content: 'ⓘ';
    color: #2a7de1;
    font-size: 16px;
    font-weight: 400;
}

.checkbox-label::after {
    display: none;
}

.input {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.input:focus {
    outline: none;
    border-color: #2a7de1;
}

.input-small {
    width: 65px;
    padding: 7px 9px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    font-size: 14px;
}

.button-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.btn-filter {
    padding: 12px 16px;
    border: 2px solid #e3e3e3;
    background: white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #1f1f26;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
}

.btn-filter:hover {
    border-color: #2a7de1;
    background: #f0f7ff;
}

.btn-filter.active {
    background: #f0f7ff;
    color: #2a7de1;
    border-color: #2a7de1;
    border-width: 2px;
    font-weight: 600;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: #e3e3e3;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2a7de1;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2a7de1;
    cursor: pointer;
    border: none;
}

.slider-value {
    font-size: 13px;
    font-weight: 700;
    color: #2a7de1;
    min-width: 48px;
}

.inline-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2a7de1;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: #2a7de1;
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.btn-primary:hover {
    background: #1e5bb3;
}

/* Main content */
.main-content {
    min-height: 100vh;
}

.header {
    margin-bottom: 20px;
}

.header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1f1f26;
}

.subtitle {
    font-size: 14px;
    color: #484751;
}

.offers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Offer card */
.offer-card {
    background: white;
    border-radius: 8px;
    padding: 20px 24px;
    box-shadow: none;
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 24px;
    align-items: center;
    transition: box-shadow 0.2s;
    min-height: 120px;
}

.offer-card:hover {
    box-shadow: none;
}

.offer-logo {
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f8fa;
    border-radius: 8px;
    overflow: hidden;
    padding: 12px;
}

.company-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-logo-text {
    font-weight: 700;
    color: #484751;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.offer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.offer-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f1f26;
    margin-bottom: 4px;
}

.offer-details {
    font-size: 14px;
    color: #484751;
    line-height: 1.5;
}

.offer-price-section {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.offer-price {
    font-size: 28px;
    font-weight: 700;
    color: #1f1f26;
    line-height: 1;
}

.offer-price-label {
    font-size: 13px;
    color: #484751;
    margin-top: 4px;
}

.btn-offer {
    padding: 12px 28px;
    background: #2a7de1;
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-offer:hover {
    background: #1e5bb3;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 2px dashed #2a7de1;
    margin-top: 8px;
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.promo-icon {
    font-size: 48px;
}

.promo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.promo-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f1f26;
}

.promo-subtitle {
    font-size: 14px;
    color: #484751;
}

.btn-promo {
    padding: 12px 28px;
    background: #2a7de1;
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-promo:hover {
    background: #1e5bb3;
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }

    .sidepanel {
        position: static;
    }

    .offer-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .offer-price-section {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}