.myworks-title {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 19px;
    line-height: 100%;
    color: #222222;
    margin-bottom: 10px;
}

.myworks-subtitle {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #444444;
    margin-bottom: 30px;
}

.myworks-grid {
    display: block;
    margin-left: -12px;
}

.myworks-card {
    width: calc(33% - 24px);
    margin-left: 12px;
    margin-bottom: 34px;
    float: left;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}



.myworks-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}


.myworks-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.myworks-card-link:hover {
    text-decoration: none;
}


.myworks-card-title {
    font-family: Inter;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 19px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #222222;
}


.myworks-card-desc {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #444444;
}


.myworks-gallery-thumbs {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    position: relative;
}


.myworks-thumb {
    width: 70px;
    height: 70px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ccc;
    position: relative;
    z-index: 1;
    margin-left: -14px;
    flex-shrink: 0;
}

.myworks-thumb:first-child {
    margin-left: 0;
}


.myworks-thumb-count {
    background: #000;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}


.myworks-card-price {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #444444;
    line-height: 1.3;
    margin-top: auto;
}

.myworks-card-price strong {
    display: inline-block;
    font-size: 28px;
    color: #222222;
    margin-top: 4px;
    font-weight: 500;
}



.myworks-client-review {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.myworks-review-title {
    font-family: Inter;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 19px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #222222;
    margin-bottom: 10px;
}

.myworks-review-text {
    font-family: Inter;
    font-weight: 300;
    font-style: Italic;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #444444;
}


/* ================== МОБИЛЬНАЯ АДАПТАЦИЯ ================== */
@media (max-width: 768px) {
    .myworks-card {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 16px;
        border-radius: 14px;
    }

    .myworks-card-title {
        font-size: 17px;
        line-height: 120%;
    }

    .myworks-card-desc {
        font-size: 14px;
        line-height: 140%;
    }

    .myworks-card-price {
        font-size: 14px;
    }

    .myworks-card-price strong {
        font-size: 22px;
    }

    .myworks-gallery-thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0;
    }

    .myworks-thumb {
        width: 50px;
        height: 50px;
        margin-left: -10px;
    }

    .myworks-thumb:first-child {
        margin-left: 0;
    }

    .myworks-thumb-count {
        font-size: 12px;
    }

    .myworks-review-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .myworks-review-text {
        font-size: 14px;
        line-height: 130%;
    }

    .myworks-client-review {
        padding: 12px 14px;
    }
}



/* Lightbox */
.lw-modal{position:fixed;inset:0;display:none;z-index:1000}
.lw-modal.is-open{display:block}
.lw-overlay{position:absolute;inset:0;background:rgba(0,0,0,.65)}
.lw-dialog{
    position:absolute;inset:auto 0 0 0;top:50%;transform:translateY(-50%);
    margin:auto;max-width:90vw;max-height:90vh;display:flex;align-items:center;justify-content:center;
}
.lw-image{max-width:90vw;max-height:90vh;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.35);background:#000}
.lw-close{
    position:absolute;top:-44px;right:0;width:40px;height:40px;border:0;background:#fff;border-radius:50%;
    font-size:22px;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.25); padding: 20px 20px 20px 20px;
}
.lw-nav{
    position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;
    background:#fff;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.25);font-size:26px;line-height:1;
}
.lw-prev{left:-54px; padding: 20px 20px 20px 20px;}
.lw-next{right:-54px; padding: 20px 20px 20px 20px;}
.lw-counter{
    position:absolute;bottom:-42px;left:0;right:0;margin:auto;width:max-content;
    background:#fff;border-radius:20px;padding:6px 12px;font-size:13px;box-shadow:0 6px 20px rgba(0,0,0,.2)
}

@media (max-width:768px){
    .lw-prev{left:6px}.lw-next{right:6px}
    .lw-close{top:6px;right:6px}
    .lw-counter{bottom:6px}
}
