

/* Start:/local/components/custom/masters/templates/.default/style.css?17716913984298*/
/* Список мастеров */
.masters-list {
    padding: 20px 0;
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.master-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.master-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.master-card__photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.master-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.master-card__photo--placeholder {
    color: #ccc;
}

.master-card__info {
    padding: 20px;
}

.master-card__name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #333;
}

.master-card__city {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.master-card__about {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
}

/* Детальная страница мастера */
.master-detail {
    padding: 20px 0;
}

.master-detail__back {
    display: inline-block;
    margin-bottom: 30px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.master-detail__back:hover {
    color: #333;
}

.master-profile {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    margin-bottom: 50px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.master-profile__photo {
    width: 400px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.master-profile__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.master-profile__name {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
}

.master-profile__login {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.master-profile__city {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.master-profile__email {
    margin-bottom: 20px;
}

.master-profile__email a {
    color: #007bff;
    text-decoration: none;
}

.master-profile__about h3,
.master-profile__social h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
}

.master-profile__about p {
    line-height: 1.6;
    color: #555;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.master-profile__social {
    padding-top: 20px;
    font-weight: bold;
}

/* Товары */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(313px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-img {
    width: 100%;
    height: 313px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.product-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-img--placeholder {
    color: #ccc;
    font-size: 14px;
}

.product-info {
    padding: 20px;
}

.product-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.product-title:hover {
    color: #007bff;
}

.product-detail .product-header {
    font-size: 26px;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.product-status {
    font-size: 14px;
    color: #28a745;
}

.masters-empty,
.products-empty {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

@media (max-width: 1024px) {
    .master-profile {
        grid-template-columns: 1fr;
    }

    .master-profile__photo {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .masters-grid,
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

/* End */
/* /local/components/custom/masters/templates/.default/style.css?17716913984298 */
