.favorites-page {
    padding: 80px 40px;
}

.favorites-container {
    max-width: 1200px;
    margin: 0 auto;
}

.favorites-title {
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #595959;
    margin-bottom: 60px;
}

.favorites-empty {
    font-size: 12px;
    color: #999;
}

.favorites-grid {
    display: grid;
    /*grid-template-columns: repeat(4, 1fr);*/
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
}

.favorite-item {
    width: 100%;
}

.favorite-media {
    position: relative;
}

.favorite-media img {
    width: 100%;
    height: auto;
    display: block;
}

.favorite-actions {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fav-heart {
    width: 17px;
    height: 17px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.cart-box {
    width: 15px;
    height: 15px;

    position: relative;
}



.favorite-caption {
    margin-top: 10px;
    font-family: Inter, sans-serif;
    font-size: 8px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #595959;
}


.favorite-media {
    position: relative;
    padding-right: 30px;
}



.pdfExportBtn-wrap input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 52px;
    height: 52px;
    border: 1px solid #808080;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    margin: 0;
}

.pdfExportBtn-wrap input[type="checkbox"]:hover {
    border-color: #666;
}

.pdfExportBtn-wrap input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 21px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.398438 8.59212L9.29706 20.2588L21.3984 0.258788' stroke='%23595959'/%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
}

button#pdfExportBtn {
    height: 52px;
    width: 100%;
    justify-content: center;
}

.pdfExportBtn-wrap label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    max-width: 504px;
    color: #595959;
    text-transform: uppercase;
}

.pdfExportBtn-wrap span {
    flex-grow: 1;
}

.pdfExportBtn-wrap span a {
    color: #595959;
    text-decoration: underline;
}

.pdfExportBtn-wrap {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
    margin-right: 12px;
}

.favorites-page-wrap {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
        gap: 40px;
}
@media (max-width: 991px) {
 .favorites-page-wrap {

    flex-direction: column-reverse;
    gap: 120px;

}
}

@media (max-width: 1024px) {
    .favorites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
   
    .favorites-grid {
        grid-template-columns: 1fr;
    }
}