.deals-page{
    max-width:1480px;
    margin:0 auto;
    padding:26px 18px 56px;
}

.deals-hero{
    display:flex;
    align-items:center;
    gap:22px;
    padding:28px;
    border:1px solid #dbe7ff;
    border-radius:28px;
    background:linear-gradient(135deg,#ffffff 0%,#f4f8ff 58%,#eef4ff 100%);
    box-shadow:0 18px 45px rgba(14,35,78,.08);
    margin-bottom:22px;
}

.deals-hero__icon{
    width:70px;
    height:70px;
    border-radius:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff0f2;
    color:#ff2148;
    font-size:32px;
    flex:0 0 auto;
}

.deals-hero__eyebrow{
    display:inline-flex;
    margin-bottom:6px;
    color:#0b63ff;
    font-size:13px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.deals-hero h1{
    margin:0;
    font-size:34px;
    line-height:1.1;
    color:#061642;
}

.deals-hero p{
    margin:10px 0 0;
    max-width:780px;
    color:#43506b;
    line-height:1.55;
}

.deals-hero__stats{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:16px;
}

.deals-hero__stats span{
    display:inline-flex;
    padding:8px 12px;
    border-radius:999px;
    background:#fff;
    border:1px solid #dbe7ff;
    color:#061642;
    font-size:13px;
    font-weight:800;
}

.deals-layout{
    display:grid;
    grid-template-columns:320px minmax(0,1fr);
    gap:20px;
    align-items:start;
}

.deals-filters-panel{
    position:sticky;
    top:18px;
}

.deals-filters{
    padding:20px;
    border:1px solid #dbe7ff;
    border-radius:26px;
    background:#fff;
    box-shadow:0 16px 38px rgba(14,35,78,.07);
}

.deals-filters__header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
}

.deals-filters__header span,
.deals-results__header span{
    display:block;
    margin-bottom:4px;
    color:#0b63ff;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.deals-filters__header h2,
.deals-results__header h2{
    margin:0;
    color:#061642;
    font-size:22px;
    line-height:1.1;
}

.deals-filters__reset{
    color:#0b63ff;
    font-weight:800;
    font-size:13px;
    text-decoration:none;
}

.deals-filter{
    margin-bottom:13px;
}

.deals-filter label{
    display:block;
    margin-bottom:6px;
    color:#1c2b4a;
    font-size:13px;
    font-weight:900;
}

.deals-filter input,
.deals-filter select{
    width:100%;
    height:44px;
    border:1px solid #dbe7ff;
    border-radius:14px;
    background:#f8fbff;
    color:#061642;
    padding:0 12px;
    font-weight:700;
    outline:none;
}

.deals-filter input:focus,
.deals-filter select:focus{
    border-color:#0b63ff;
    box-shadow:0 0 0 4px rgba(11,99,255,.10);
}

.deals-filter--price > div{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}

.deals-filter-check{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:12px;
    border:1px solid #dbe7ff;
    border-radius:16px;
    background:#f8fbff;
    color:#1c2b4a;
    font-size:13px;
    font-weight:800;
    line-height:1.35;
    margin:4px 0 15px;
}

.deals-filter-check input{
    margin-top:2px;
}

.deals-filters__submit{
    width:100%;
    height:46px;
    border:0;
    border-radius:16px;
    background:#0b63ff;
    color:#fff;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 12px 24px rgba(11,99,255,.22);
}

.deals-results{
    min-width:0;
}

.deals-results__header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:18px 20px;
    border:1px solid #dbe7ff;
    border-radius:24px;
    background:#fff;
    box-shadow:0 12px 30px rgba(14,35,78,.06);
    margin-bottom:16px;
}

.deals-results__header p{
    margin:0;
    color:#43506b;
    font-size:13px;
    font-weight:800;
}

.deals-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

.deal-card{
    display:grid;
    grid-template-columns:118px minmax(0,1fr);
    gap:14px;
    padding:14px;
    border:1px solid #dbe7ff;
    border-radius:22px;
    background:#fff;
    box-shadow:0 14px 34px rgba(14,35,78,.06);
}

.deal-card__image{
    position:relative;
    min-height:150px;
    border-radius:18px;
    background:#f5f8fd;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    text-decoration:none;
}

.deal-card__image img{
    width:100%;
    height:100%;
    object-fit:contain;
    padding:10px;
}

.deal-card__discount{
    position:absolute;
    top:8px;
    right:8px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    height:28px;
    padding:0 9px;
    border-radius:999px;
    background:#ff2148;
    color:#fff;
    font-size:12px;
    font-weight:900;
}

.deal-card__discount--bonus{
    background:#0b63ff;
}

.deal-card__content{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.deal-card__tags{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:7px;
}

.deal-card__tags a,
.deal-card__tags span{
    display:inline-flex;
    padding:4px 8px;
    border-radius:999px;
    background:#eef4ff;
    color:#0b63ff;
    font-size:11px;
    font-weight:900;
    text-decoration:none;
}

.deal-card h3{
    margin:0 0 7px;
    font-size:15px;
    line-height:1.3;
    color:#061642;
}

.deal-card h3 a{
    color:inherit;
    text-decoration:none;
}

.deal-card__store{
    color:#273653;
    font-size:13px;
    font-weight:700;
    margin-bottom:6px;
}

.deal-card__bonus{
    display:inline-flex;
    align-self:flex-start;
    align-items:center;
    gap:6px;
    margin:0 0 7px;
    padding:5px 9px;
    border-radius:999px;
    background:#eef9f0;
    color:#0d7a35;
    font-size:12px;
    font-weight:900;
    line-height:1.2;
}

.deal-card__price{
    display:flex;
    align-items:baseline;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:10px;
}

.deal-card__price strong{
    color:#ff2148;
    font-size:18px;
    font-weight:950;
}

.deal-card__price small{
    color:#7a859b;
    font-size:12px;
    font-weight:800;
    text-decoration:line-through;
}

.deal-card__meta{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-bottom:12px;
}

.deal-card__meta span{
    display:inline-flex;
    align-items:center;
    padding:5px 9px;
    border-radius:999px;
    border:1px solid #dbe7ff;
    background:#f8fbff;
    color:#061642;
    font-size:12px;
    font-weight:800;
}

.deal-card__actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:auto;
}

.deal-card__actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border-radius:12px;
    background:#0b63ff;
    color:#fff;
    text-decoration:none;
    font-size:12px;
    font-weight:900;
}

.deal-card__actions a + a{
    background:#eef4ff;
    color:#0b63ff;
}

.deals-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:22px;
}

.deals-pagination a{
    min-width:40px;
    min-height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 12px;
    border-radius:14px;
    border:1px solid #dbe7ff;
    background:#fff;
    color:#0b63ff;
    text-decoration:none;
    font-weight:900;
}

.deals-pagination a.is-active{
    background:#0b63ff;
    color:#fff;
    border-color:#0b63ff;
}

.deals-empty{
    padding:38px;
    text-align:center;
    border:1px dashed #bfd1f3;
    border-radius:24px;
    background:#fff;
    color:#43506b;
}

.deals-empty strong{
    display:block;
    margin-bottom:8px;
    color:#061642;
    font-size:20px;
}

.deals-empty a{
    display:inline-flex;
    margin-top:10px;
    min-height:42px;
    padding:0 16px;
    align-items:center;
    border-radius:14px;
    background:#0b63ff;
    color:#fff;
    text-decoration:none;
    font-weight:900;
}

@media (max-width:1180px){
    .deals-layout{
        grid-template-columns:1fr;
    }

    .deals-filters-panel{
        position:static;
    }

    .deals-filters{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }

    .deals-filters__header,
    .deals-filter--full,
    .deals-filter-check,
    .deals-filters__submit{
        grid-column:1/-1;
    }

    .deals-filter{
        margin-bottom:0;
    }
}

@media (max-width:980px){
    .deals-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:720px){
    .deals-page{
        padding:16px 12px 42px;
    }

    .deals-hero{
        align-items:flex-start;
        padding:20px;
        border-radius:22px;
    }

    .deals-hero__icon{
        width:52px;
        height:52px;
        border-radius:18px;
        font-size:24px;
    }

    .deals-hero h1{
        font-size:26px;
    }

    .deals-filters{
        grid-template-columns:1fr;
        padding:16px;
        border-radius:22px;
    }

    .deals-results__header{
        align-items:flex-start;
        flex-direction:column;
    }

    .deals-grid{
        grid-template-columns:1fr;
    }

    .deal-card{
        grid-template-columns:105px minmax(0,1fr);
        padding:12px;
        border-radius:20px;
    }

    .deal-card__image{
        min-height:135px;
    }
}

@media (max-width:460px){
    .deal-card{
        grid-template-columns:92px minmax(0,1fr);
        gap:10px;
    }

    .deal-card__image{
        min-height:120px;
    }

    .deal-card h3{
        font-size:14px;
    }

    .deal-card__actions a{
        width:100%;
    }
}
