/* Бэкенд: модальное окно причины отклонения (jQuery .show() ставит display:block,
   поэтому центрируем .dialog-body абсолютно, а не флексом). */
.tilepro-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}
.tilepro-modal .dialog-background {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
}
.tilepro-modal .dialog-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 460px;
    max-width: 92vw;
    box-sizing: border-box;
    background: #fff;
    color: #1f2937;
    border-radius: 10px;
    padding: 20px 22px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .3);
}
.tilepro-modal .dialog-body h3 {
    margin: 0 0 14px;
}
.tilepro-modal .dialog-body .field .name {
    margin-bottom: 6px;
}
.tilepro-modal .dialog-body textarea {
    width: 100%;
    box-sizing: border-box;
}
.tilepro-modal .dialog-buttons {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Бэкенд: контент выравниваем влево (по умолчанию .article центрируется max-width:960/margin:auto) */
.tilepro-content .article {
    max-width: 1280px;
    margin-left: 0;
    margin-right: 0;
}
.tilepro-content .article .article-body {
    padding: 1.75rem 2rem;
}

.tilepro-work-types table input.short {
    width: 180px;
}
.tilepro-work-types .hint {
    margin-top: .25rem;
}
.tilepro-backend .hint {
    color: #888;
    margin-top: 4px;
}
.tilepro-backend .badge.warning {
    background: #f0ad4e;
    color: #fff;
}
.tilepro-backend .badge.success {
    background: #2d8a5e;
    color: #fff;
}
.tilepro-backend .badge.error {
    background: #dc3545;
    color: #fff;
}
.tilepro-backend .paging {
    margin-top: 16px;
}
.tilepro-backend .paging a,
.tilepro-backend .paging span {
    display: inline-block;
    margin-right: 6px;
    padding: 4px 8px;
}
.tilepro-list__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.tilepro-list__intro {
    width: 100%;
    color: #666;
    margin: 0;
}
.tilepro-filters {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.tilepro-filters__row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}
.tilepro-filters__field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-width: 160px;
}
.tilepro-filters__field label {
    font-size: .8125rem;
    color: #666;
}
.tilepro-filters__field select,
.tilepro-filters__field input {
    min-width: 160px;
}
.tilepro-filters__actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.tilepro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.tilepro-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}
.tilepro-card__link {
    display: block;
    padding: 1.25rem;
    color: inherit;
    text-decoration: none;
}
.tilepro-card__link:hover {
    background: #fafafa;
}
.tilepro-card__title {
    margin: 0 0 .75rem;
    font-size: 1.125rem;
}
.tilepro-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    color: #666;
    font-size: .875rem;
    margin-bottom: .75rem;
}
.tilepro-card__text {
    color: #333;
    line-height: 1.5;
    margin: 0 0 .75rem;
}
.tilepro-card__date {
    color: #999;
    font-size: .8125rem;
}
.tilepro-empty {
    padding: 2rem;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}
.tilepro-paging {
    margin-top: 1.5rem;
}
.tilepro-paging a,
.tilepro-paging span {
    display: inline-block;
    margin-right: .5rem;
    padding: .25rem .5rem;
}
.tilepro-paging .selected {
    font-weight: bold;
}
.tilepro-view__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    margin-bottom: 1rem;
    color: #444;
}
.tilepro-view__text {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    white-space: normal;
}
.tilepro-back {
    margin-bottom: 1rem;
}
.tilepro-my__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.tilepro-my__header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.tilepro-my-profile__saved,
.tilepro-my-profile__errors {
    margin-bottom: 1rem;
}
.tilepro-my-profile .my__profile-fields {
    margin-bottom: 1rem;
}
.tilepro-my-profile .wa-field-photo img {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
}
.tilepro-my-profile__delete-photo {
    display: block;
    margin-top: .5rem;
}
.tilepro-my-profile .my__profile-submit {
    margin-top: 0;
}
.tilepro-status {
    display: inline-block;
    padding: .2rem .55rem;
    border-radius: 4px;
    font-size: .8125rem;
    color: #fff;
    font-style: normal;
    font-weight: normal;
}
.tilepro-my .tilepro-status.badge.warning,
.tilepro-status_warning { background: #f0ad4e; }
.tilepro-my .tilepro-status.badge.success,
.tilepro-status_success { background: #2d8a5e; }
.tilepro-my .tilepro-status.badge.error,
.tilepro-status_error { background: #dc3545; }
.tilepro-reject-reason {
    margin-top: .75rem;
    color: #c0392b;
}
.tilepro-my .my__item-body {
    display: block;
}
.tilepro-my__footer .my__item-product-link {
    justify-content: flex-start;
    width: 100%;
}
.tilepro-my__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: .5rem;
    width: 100%;
}
.tilepro-backend-view__text {
    line-height: 1.6;
    white-space: normal;
}
.tilepro-backend-view__photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .75rem;
}
.tilepro-backend-view__photo {
    display: block;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.tilepro-backend-view__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.tilepro-backend-view__videos {
    margin: 0;
    padding: 0;
    list-style: none;
}
.tilepro-backend-view__videos li {
    margin-bottom: 1rem;
}
.tilepro-backend-view__videos iframe {
    display: block;
    width: 100%;
    max-width: 560px;
    height: 315px;
    margin-bottom: .5rem;
    border: 0;
}
.tilepro-form-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
}
.tilepro-city-field {
    position: relative;
}
.tilepro-city-suggestions {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: .25rem;
    background: #fff;
    color: #222;
    border: 1px solid #bbb;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    max-height: 240px;
    overflow-y: auto;
}
.tilepro-city-suggestions__item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: #fff;
    color: #222 !important;
    padding: .65rem .85rem;
    cursor: pointer;
    font: inherit;
    line-height: 1.4;
}
.tilepro-city-suggestions__item:hover,
.tilepro-city-suggestions__item:focus {
    background: #f0f0f0;
    color: #111 !important;
}
.tilepro-photos__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: .75rem;
}
.tilepro-photos__item {
    position: relative;
    box-sizing: border-box;
    width: 100px;
    height: 100px;
    max-width: 100px;
    min-width: 100px;
    flex: 0 0 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    background: #f7f7f7;
}
.tilepro-photos__item img {
    width: 100%;
    height: 100%;
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    display: block;
}
.tilepro-my .tilepro-photos__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.tilepro-my .tilepro-photos__item {
    width: 100px;
    height: 100px;
    max-width: 100px;
    flex: 0 0 100px;
}
.tilepro-my .tilepro-photos__item img {
    width: 100px;
    height: 100px;
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
}
.tilepro-photos__delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.65);
    color: #fff;
    cursor: pointer;
    line-height: 1;
}
.tilepro-photos__badge {
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: rgba(45,138,94,.9);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
}
.tilepro-photos__controls {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}
.tilepro-photos__controls input[type=file],
.tilepro-photos__input {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}
.tilepro-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    margin-top: .5rem;
}
.tilepro-videos__row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
    width: 100%;
}
.tilepro-videos__row input,
.tilepro-videos__row input.long {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    max-width: none;
    margin: 0;
}
.tilepro-videos__remove {
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    line-height: 34px;
    text-align: center;
}
.tilepro-my .tilepro-videos__row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.tilepro-my .tilepro-videos__row input.long {
    width: auto !important;
    flex: 1 1 auto;
}
.tilepro-my .tilepro-videos__remove {
    flex: 0 0 36px;
}
.tilepro-card__cover {
    margin: -1.25rem -1.25rem 1rem;
    height: 160px;
    overflow: hidden;
}
.tilepro-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tilepro-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.tilepro-gallery__item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    aspect-ratio: 1;
}
.tilepro-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tilepro-videos-view {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.tilepro-videos-view__frame {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.tilepro-videos-view__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.tilepro-videos-view__label {
    margin-bottom: .35rem;
    font-weight: 600;
}
.tilepro-view__machines {
    margin-top: var(--grid-gutter);
    padding: calc(var(--grid-gutter) * 1.5) calc(var(--grid-gutter) * 1.5) calc(var(--grid-gutter) * 2);
    border-top: 1px solid var(--form-border, #e5e5e5);
}
.tilepro-view__machines-title {
    margin: 0 0 calc(var(--grid-gutter) * 1.5);
    font-weight: 600;
    line-height: 1.2;
}
.tilepro-view__machines-list {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--grid-gutter) * 1.5);
}
.tilepro-view__machine {
    width: 88px;
    flex: 0 0 88px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
}
.tilepro-view__machine:hover .tilepro-view__machine-image {
    border-color: var(--color-primary, #007bff);
}
.tilepro-view__machine:hover .tilepro-view__machine-sku {
    color: var(--color-primary, #007bff);
}
.tilepro-view__machine-image {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid var(--box-border, #e5e5e5);
    border-radius: var(--border-radius, 4px);
    background: var(--color-white, #fff);
    overflow: hidden;
}
.tilepro-view__machine-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.tilepro-view__machine-sku {
    margin-top: .35rem;
    font-size: var(--font-size-sm, .875rem);
    line-height: 1.2;
    word-break: break-word;
}
.tilepro-view__price-empty {
    display: block;
}
.tilepro-view .product__form > .popup__scroll {
    padding: calc(var(--grid-gutter) * 1.5);
    padding-bottom: 0;
}
.tilepro-view .product__price {
    padding: 0 !important;
    margin: 13px 0 calc(var(--grid-gutter) * 1.5);
    line-height: 1.2;
}
.tilepro-view .product__form > .popup__scroll::after {
    content: '';
    display: block;
    border-bottom: 1px solid var(--form-border, #e5e5e5);
}
.tilepro-view .product__button {
    height: auto;
    min-height: 0;
    margin-top: 0;
    margin-bottom: var(--grid-gutter);
    border-top: 0;
    flex-wrap: wrap;
    width: 100%;
}
.tilepro-view .product__button-buy {
    width: 100%;
}
.tilepro-view .product__button-buy .tilepro-view__phone-btn {
    width: 100%;
    height: auto !important;
    min-height: calc(var(--catalog-height, 45px) + var(--grid-gutter));
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px 16px !important;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.2;
}
.tilepro-view .product__button-buy .tilepro-view__phone-btn._loading {
    opacity: .75;
    cursor: wait;
}
.tilepro-view .product__button-buy .tilepro-view__phone-btn._revealed,
.tilepro-view .product__button-buy .tilepro-view__phone-btn._revealed:disabled {
    opacity: 1;
    cursor: default;
    pointer-events: none;
}
.tilepro-view__phone-btn-title {
    display: block;
    font-size: var(--font-size-lg, 1.125rem);
    font-weight: var(--font-weight-bold, 700);
    line-height: 1.2;
}
.tilepro-view__phone-btn-number {
    display: none;
    font-size: var(--font-size-lg, 1.125rem);
    font-weight: var(--font-weight-bold, 700);
    line-height: 1.2;
    letter-spacing: .01em;
}
.tilepro-view .product__button-buy .tilepro-view__phone-btn._revealed .tilepro-view__phone-btn-number {
    display: block;
}
@media screen and (max-width: 900px) {
    .tilepro-view .product__form > .popup__scroll {
        padding: 10px 10px 0;
    }
    .tilepro-view .product__price {
        margin-bottom: 10px;
    }
    .tilepro-view__machines {
        margin-top: var(--grid-gutter);
        padding: calc(var(--grid-gutter) * 1.5) 10px calc(var(--grid-gutter) * 2);
    }
    .tilepro-view .product__button {
        margin-bottom: var(--grid-gutter);
        padding: 10px;
    }
    .tilepro-view .product__button-buy .tilepro-view__phone-btn {
        min-height: 45px;
    }
}
.tilepro-view .product__photo-big img,
.tilepro-view .product__photo-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.tilepro-view .product__photo-big.swiper,
.tilepro-view .product__photo-big img {
    cursor: zoom-in;
}
.tilepro-view .product__photo-thumbs .swiper-slide {
    cursor: pointer;
}
.tilepro-view .product__photo-big .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.tilepro-list__section-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}
.tilepro-masters {
    margin-bottom: 2rem;
}
.tilepro-masters__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-bottom: 1rem;
}
.tilepro-masters__title {
    margin: 0;
    font-size: 1.25rem;
}
.tilepro-masters__count {
    color: #666;
    font-size: .875rem;
}
.tilepro-masters__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.tilepro-master-card {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}
.tilepro-master-card:hover {
    background: #fafafa;
}
.tilepro-master-card__avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tilepro-master-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tilepro-master-card__avatar-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
}
.tilepro-master-card__name {
    font-weight: 600;
    margin-bottom: .35rem;
}
.tilepro-master-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .75rem;
    color: #666;
    font-size: .875rem;
}
.tilepro-master {
    padding-bottom: 2rem;
}
.tilepro-master-page {
    --tilepro-blue: #1a73e8;
    --tilepro-blue-dark: #1558b0;
    --tilepro-surface: #f6f7f9;
    --tilepro-border: #e6e8ec;
    --tilepro-text-muted: #6b7280;
    padding-bottom: 2.5rem;
    color: #1f2937;
}
.container.tilepro-app {
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
}
.tilepro-master-page__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    margin-bottom: 1.25rem;
    font-size: .875rem;
    color: var(--tilepro-text-muted);
}
.tilepro-master-page__breadcrumbs a {
    color: inherit;
    text-decoration: none;
}
.tilepro-master-page__breadcrumbs a:hover {
    color: var(--tilepro-blue);
}
.tilepro-master-page__breadcrumbs-sep {
    opacity: .55;
}
.tilepro-master-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
    margin-bottom: 1.25rem;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--tilepro-border);
    border-radius: 14px;
}
.tilepro-master-hero__profile {
    display: flex;
    gap: 1.75rem;
    min-width: 0;
}
.tilepro-master-hero__main {
    display: flex;
    gap: 1.5rem;
    min-width: 0;
}
.tilepro-master-hero__avatar {
    position: relative;
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tilepro-master-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tilepro-master-hero__avatar-placeholder {
    font-size: 2rem;
    font-weight: 700;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.tilepro-master-hero__info {
    min-width: 0;
}
.tilepro-master-hero__title-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .35rem;
}
.tilepro-master-hero__name {
    margin: 0;
    font-size: clamp(1.625rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: #101828;
}
.tilepro-master-hero__verified {
    display: inline-flex;
    flex: 0 0 auto;
}
.tilepro-master-hero__location {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .85rem;
    color: var(--tilepro-text-muted);
    font-size: .9375rem;
}
.tilepro-master-hero__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .85rem;
    margin-bottom: 1rem;
    font-size: .9375rem;
}
.tilepro-master-hero__stat {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #101828;
}
.tilepro-master-hero__stat strong {
    font-weight: 700;
    color: #101828;
}
.tilepro-master-hero__stat_rating .tilepro-rating__star {
    font-size: 1.0625rem;
}
.tilepro-master-hero__stat-muted {
    font-weight: 500;
    color: var(--tilepro-text-muted);
}
.tilepro-master-hero__stat-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--tilepro-border);
    flex: 0 0 auto;
}
.tilepro-master-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}
.tilepro-master-hero__tag {
    display: inline-block;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: #eaf2fe;
    color: var(--tilepro-blue);
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1.2;
}
.tilepro-master-hero__price {
    font-size: 15px;
    color: var(--tilepro-text-muted);
    line-height: 1.45;
}
.tilepro-master-hero__price-strong {
    color: #101828;
    font-weight: 600;
}
.tilepro-master-hero__price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #101828;
}
.tilepro-master-hero__price-note {
    font-size: .8125rem;
    color: var(--tilepro-text-muted);
}
.tilepro-master-hero__contact {
    padding-left: 2rem;
    border-left: 1px solid var(--tilepro-border);
}
.tilepro-master-hero__contact-title {
    margin: 0 0 1rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #101828;
}
.tilepro-master-hero__contact-actions {
    display: grid;
    gap: .65rem;
}
.tilepro-master-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    min-height: 44px;
    padding: .65rem 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
    appearance: none;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
}
.tilepro-master-page .tilepro-master-hero__btn,
.tilepro-master-page .tilepro-master-tabs__btn {
    background-image: none;
}
.tilepro-master-page .tilepro-master-tabs__btn {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
    min-height: 0;
    width: auto;
    margin: 0 0 -1px;
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.2;
}
.tilepro-master-page .tilepro-master-tabs__btn._active {
    font-weight: 600;
}
.tilepro-master-page .tilepro-master-tabs__btn:hover,
.tilepro-master-page .tilepro-master-tabs__btn:focus,
.tilepro-master-page .tilepro-master-tabs__btn._active {
    background: transparent;
    box-shadow: none;
}
.tilepro-master-hero__btn_primary {
    background: var(--tilepro-blue);
    color: #fff;
}
.tilepro-master-hero__btn_primary:hover {
    background: var(--tilepro-blue-dark);
    color: #fff;
}
.tilepro-master-hero__btn_outline {
    background: #fff;
    border-color: var(--tilepro-border);
    color: #344054;
}
.tilepro-master-hero__btn_outline:hover {
    border-color: var(--tilepro-blue);
    color: var(--tilepro-blue);
}
.tilepro-master-hero__btn_telegram {
    color: var(--tilepro-blue);
    border-color: #bcd6fb;
}
.tilepro-master-hero__btn_telegram:hover {
    background: #f3f8ff;
    border-color: var(--tilepro-blue);
}
.tilepro-master-hero__btn._loading {
    opacity: .75;
    cursor: wait;
}
.tilepro-master-hero__phones {
    display: none;
    flex-direction: column;
    gap: .35rem;
}
.tilepro-master-hero__phones._visible {
    display: flex;
}
.tilepro-master-hero__phones a,
.tilepro-master-hero__phones span {
    font-size: 1rem;
    font-weight: 600;
}
.tilepro-master-hero__contact-list {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin-top: .9rem;
}
.tilepro-master-hero__contact-list[hidden] {
    display: none;
}
.tilepro-master-hero__contact-row {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.tilepro-master-hero__contact-label {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
}
.tilepro-master-hero__contact-row a,
.tilepro-master-hero__contact-row > span:not(.tilepro-master-hero__contact-label) {
    font-size: var(--font-normal, 16px);
    color: #1a73e8;
    text-decoration: none;
    word-break: break-word;
}
.tilepro-master-hero__contact-list .tilepro-master-hero__phones {
    display: flex;
    margin: 0;
}
.tilepro-master-hero__contact-meta {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
    font-size: .875rem;
    color: var(--tilepro-text-muted);
}
.tilepro-master-hero__contact-meta a {
    color: inherit;
    word-break: break-all;
}
.tilepro-master-hero__contact-meta-item {
    display: inline-flex;
    align-items: flex-start;
    gap: .4rem;
}
.tilepro-master-hero__contact-meta-item svg {
    flex: 0 0 auto;
    margin-top: .15rem;
    color: var(--tilepro-text-muted);
}
.tilepro-master-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    align-items: start;
}
.tilepro-master-page__aside {
    display: grid;
    gap: 1.25rem;
    align-content: start;
}
.tilepro-master-reviews-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--tilepro-border);
    border-radius: 14px;
}
.tilepro-master-reviews-card__title {
    margin: 0 0 1rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #101828;
}
.tilepro-master-reviews-card__list {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}
.tilepro-master-reviews-card .tilepro-review {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.tilepro-master-reviews-card .tilepro-review__text {
    font-size: .875rem;
    line-height: 1.5;
}
.tilepro-master-overview {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 1.25rem;
    align-items: start;
}
.tilepro-master-block {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--tilepro-border);
    border-radius: 14px;
}
.tilepro-master-block__title {
    margin: 0 0 .75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #101828;
}
.tilepro-master-block__text {
    line-height: 1.65;
    color: #344054;
}
.tilepro-master-block__checklist {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: .65rem;
}
.tilepro-master-block__checklist li {
    position: relative;
    padding-left: 1.75rem;
    font-size: .9375rem;
    color: #344054;
    line-height: 1.4;
}
.tilepro-master-block__checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4 4 10-10' stroke='%231a73e8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tilepro-master-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    align-content: start;
}
.tilepro-master-cards__item {
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid var(--tilepro-border);
    border-radius: 10px;
}
.tilepro-master-cards__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: .75rem;
    border-radius: 10px;
    background: #eaf2fe;
    color: var(--tilepro-blue);
}
.tilepro-master-cards__title {
    margin: 0 0 .35rem;
    font-size: .9375rem;
    font-weight: 600;
}
.tilepro-master-cards__text {
    margin: 0;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--tilepro-text-muted);
}
.tilepro-master-stats {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--tilepro-border);
    border-radius: 12px;
}
.tilepro-master-stats__title {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 600;
}
.tilepro-master-stats__grid {
    display: grid;
    gap: .85rem;
}
.tilepro-master-stats__item {
    display: flex;
    align-items: baseline;
    gap: .5rem;
}
.tilepro-master-stats__value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--tilepro-blue);
}
.tilepro-master-stats__label {
    font-size: .875rem;
    color: var(--tilepro-text-muted);
}
.tilepro-master-tabs-wrap {
    background: #fff;
    border: 1px solid var(--tilepro-border);
    border-radius: 14px;
    overflow: hidden;
}
.tilepro-master-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.75rem;
    margin-bottom: 0;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--tilepro-border);
    background: #fff;
}
.tilepro-master-tabs__btn {
    position: relative;
    margin: 0 0 -1px;
    padding: 1.1rem 0;
    border: 0;
    background: transparent;
    color: var(--tilepro-text-muted);
    font: inherit;
    font-size: .9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: color .15s ease;
}
.tilepro-master-tabs__btn::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: transparent;
    transition: background .15s ease;
}
.tilepro-master-tabs__btn:hover {
    color: #101828;
}
.tilepro-master-tabs__btn:hover::after {
    background: #cdd2da;
}
.tilepro-master-tabs__btn._active {
    color: var(--tilepro-blue);
    font-weight: 600;
}
.tilepro-master-tabs__btn._active::after,
.tilepro-master-tabs__btn._active:hover::after {
    background: var(--tilepro-blue);
}
.tilepro-master-panel {
    margin-bottom: 0;
    padding: 1.5rem;
}
.tilepro-master-panel__hint {
    margin: 0;
    color: var(--tilepro-text-muted);
    font-size: .9375rem;
}
.tilepro-master-panel__empty_compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.25rem;
}
.tilepro-master-panel__empty_compact .tilepro-master-hero__btn {
    width: auto;
    min-width: 220px;
}
.tilepro-master-reviews-preview__actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-start;
}
.tilepro-master-reviews-preview__actions .tilepro-master-hero__btn {
    width: auto;
    min-width: 160px;
}
.tilepro-master-gallery[hidden] {
    display: none !important;
}
@media screen and (max-width: 1024px) {
    .tilepro-master-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .tilepro-master-hero__contact {
        padding-left: 0;
        padding-top: 1.5rem;
        border-left: 0;
        border-top: 1px solid var(--tilepro-border);
    }
    .tilepro-master-page__grid {
        grid-template-columns: 1fr;
    }
    .tilepro-master-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tilepro-master-portfolio {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media screen and (max-width: 860px) {
    .tilepro-master-overview {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 640px) {
    .tilepro-master-hero__profile {
        flex-direction: column;
        align-items: flex-start;
    }
    .tilepro-master-cards {
        grid-template-columns: 1fr;
    }
    .tilepro-master-portfolio {
        grid-template-columns: 1fr;
    }
    .tilepro-master-tabs {
        padding: 0 .75rem;
        gap: .25rem 1rem;
    }
    .tilepro-master-panel {
        padding: 1rem .75rem;
    }
}
.tilepro-master-panel[hidden] {
    display: none !important;
}
.tilepro-master-panel__text {
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.tilepro-master-panel__subtitle {
    margin: 0 0 1rem;
    font-size: 1.0625rem;
}
.tilepro-master-panel__empty {
    padding: 2rem;
    text-align: center;
    color: var(--tilepro-text-muted);
    background: #fff;
    border: 1px dashed var(--tilepro-border);
    border-radius: 12px;
}
.tilepro-master-portfolio__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.tilepro-master-portfolio__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #101828;
}
.tilepro-master-portfolio__title span {
    margin-left: .35rem;
    color: var(--tilepro-text-muted);
    font-size: .875rem;
    font-weight: 500;
}
.tilepro-master-portfolio {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.tilepro-master-portfolio__item,
.tilepro-master-portfolio__photo,
.tilepro-master-portfolio__more {
    position: relative;
    display: block;
    min-height: 220px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--tilepro-border);
    background: #eef2f7;
    color: inherit;
    text-decoration: none;
}
.tilepro-master-portfolio__photo {
    width: 100%;
    padding: 0;
    cursor: zoom-in;
    font: inherit;
    appearance: none;
}
.tilepro-master-portfolio__item img,
.tilepro-master-portfolio__photo img,
.tilepro-master-portfolio__placeholder {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.tilepro-master-portfolio__placeholder {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
}
.tilepro-master-portfolio__caption {
    display: grid;
    gap: .15rem;
    padding: .75rem .85rem;
    background: #fff;
    font-size: .8125rem;
    color: var(--tilepro-text-muted);
}
.tilepro-master-portfolio__caption strong {
    color: #101828;
    font-size: .875rem;
}
.tilepro-master-portfolio__more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: #1f2733;
    color: #fff;
    font: inherit;
    cursor: pointer;
}
.tilepro-master-portfolio__more img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .45;
}
.tilepro-master-portfolio__more-label {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}
.tilepro-master-portfolio__more-label small {
    font-size: .875rem;
    font-weight: 600;
}
.tilepro-master-portfolio__all {
    border: 0;
    background: transparent;
    color: var(--tilepro-blue);
    font: inherit;
    font-weight: 600;
    font-size: .9375rem;
    cursor: pointer;
    padding: 0;
}
.tilepro-master-portfolio__all:hover {
    text-decoration: underline;
}
.tilepro-master-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: .75rem;
}
.tilepro-master-gallery__item {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--tilepro-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: zoom-in;
}
.tilepro-master-gallery__item img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.tilepro-master-contacts {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--tilepro-border);
    border-radius: 14px;
}
.tilepro-master-contacts__item {
    display: grid;
    gap: .35rem;
}
.tilepro-master-contacts__label {
    font-size: .8125rem;
    color: var(--tilepro-text-muted);
}
@media screen and (max-width: 1024px) {
    .tilepro-master-hero {
        grid-template-columns: 1fr;
    }
    .tilepro-master-page__grid {
        grid-template-columns: 1fr;
    }
    .tilepro-master-portfolio {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media screen and (max-width: 640px) {
    .tilepro-master-hero__main {
        flex-direction: column;
        align-items: flex-start;
    }
    .tilepro-master-cards {
        grid-template-columns: 1fr;
    }
    .tilepro-master-portfolio {
        grid-template-columns: 1fr;
    }
}
.tilepro-master__breadcrumbs {
    margin-bottom: 1rem;
}
.tilepro-master__breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #666;
    font-size: .875rem;
}
.tilepro-master__breadcrumbs a {
    color: inherit;
}
.tilepro-master__header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}
.tilepro-master__avatar {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tilepro-master__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tilepro-master__avatar-placeholder {
    font-size: 2rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
}
.tilepro-master__name {
    margin: 0 0 .5rem;
    font-size: 1.75rem;
}
.tilepro-master__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    color: #666;
}
.tilepro-master__section {
    margin-bottom: 2rem;
}
.tilepro-master__section-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}
.tilepro-master__about {
    line-height: 1.6;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}
.tilepro-master__contacts {
    display: grid;
    gap: .75rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}
.tilepro-master__contact-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
}
.tilepro-master__contact-label {
    min-width: 90px;
    color: #666;
    font-size: .875rem;
}
.tilepro-master__phone-btn._loading {
    opacity: .75;
    cursor: wait;
}
.tilepro-master__phones {
    display: none;
    flex-wrap: wrap;
    gap: .5rem 1rem;
}
.tilepro-master__phones._visible {
    display: flex;
}
.tilepro-master__photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .75rem;
}
.tilepro-master__photo {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: zoom-in;
}
.tilepro-master__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.tilepro-master__machines {
    margin: 0;
    padding: 0;
    border-top: 0;
}
@media screen and (max-width: 640px) {
    .tilepro-master__header {
        flex-direction: column;
        align-items: flex-start;
    }
}
.tilepro-rating {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--tilepro-border, #e3eaf3);
    border-radius: 14px;
}
.tilepro-rating__title {
    margin: 0 0 1rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #101828;
}
.tilepro-rating__summary {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.25rem;
}
.tilepro-rating__score {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #101828;
}
.tilepro-rating__summary-meta {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.tilepro-rating__stars {
    display: flex;
    gap: .1rem;
}
.tilepro-rating__stars_center {
    justify-content: center;
}
.tilepro-rating__summary .tilepro-rating__star {
    font-size: 1.25rem;
}
.tilepro-rating__star {
    color: #d0d5dd;
    font-size: 1.125rem;
    line-height: 1;
}
.tilepro-rating__star._filled,
.tilepro-rating__star._half {
    color: #f5a623;
}
.tilepro-rating__count {
    color: var(--tilepro-text-muted, #667085);
    font-size: .875rem;
}
.tilepro-rating__bars {
    display: grid;
    gap: .45rem;
    margin-bottom: 1rem;
}
.tilepro-rating__bar-row {
    display: grid;
    grid-template-columns: 14px 1fr 28px;
    align-items: center;
    gap: .5rem;
    font-size: .8125rem;
    color: var(--tilepro-text-muted, #667085);
}
.tilepro-rating__bar-track {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #eef2f7;
    overflow: hidden;
}
.tilepro-rating__bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f5a623;
}
.tilepro-rating__bar-count {
    text-align: right;
}
.tilepro-rating__empty {
    margin: 0 0 1rem;
    color: var(--tilepro-text-muted, #667085);
    font-size: .875rem;
}
.tilepro-rating__link {
    margin-top: .5rem;
}
.tilepro-master-hero__rating-value {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-weight: 600;
    color: #101828;
}
.tilepro-master-hero__rating-value a {
    color: var(--tilepro-blue, #1a73e8);
    text-decoration: none;
    font-weight: 500;
}
.tilepro-master-hero__rating-value a:hover {
    text-decoration: underline;
}
.tilepro-master-reviews-preview__actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}
.tilepro-reviews-page__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.tilepro-reviews-page__master {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.tilepro-reviews-page__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: #eef2f7;
}
.tilepro-reviews-page__avatar_placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #667085;
    text-transform: uppercase;
}
.tilepro-reviews-page__title {
    margin: 0 0 .25rem;
    font-size: clamp(1.375rem, 2vw, 1.875rem);
}
.tilepro-reviews-page__city {
    color: var(--tilepro-text-muted, #667085);
}
.tilepro-reviews-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.5rem;
    align-items: start;
}
.tilepro-reviews-page__list-title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
}
.tilepro-review {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--tilepro-border, #e3eaf3);
    border-radius: 12px;
    margin-bottom: 1rem;
}
.tilepro-review__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}
.tilepro-review__author {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.tilepro-review__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 44px;
}
.tilepro-review__avatar_placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
    color: #667085;
    font-weight: 700;
    font-size: .875rem;
}
.tilepro-review__name {
    font-weight: 600;
}
.tilepro-review__date {
    color: var(--tilepro-text-muted, #667085);
    font-size: .8125rem;
}
.tilepro-review__text {
    line-height: 1.65;
    color: #344054;
}
.tilepro-review-form {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--tilepro-border, #e3eaf3);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}
.tilepro-review-form__title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
}
.tilepro-review-form__field {
    margin-bottom: 1rem;
}
.tilepro-review-form__label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 600;
    font-size: .875rem;
}
.tilepro-review-form__stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: .25rem;
}
.tilepro-review-form__star {
    cursor: pointer;
}
.tilepro-review-form__star input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.tilepro-review-form__star span {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    color: #d0d5dd;
    transition: color .15s ease;
}
.tilepro-review-form__star._active span,
.tilepro-review-form__star._hover span,
.tilepro-review-form__star input:checked ~ span {
    color: #f5a623;
}
.tilepro-review-form__error {
    margin-top: .35rem;
    color: #c0392b;
    font-size: .8125rem;
}
.tilepro-review-form__notice {
    margin: 0;
    padding: .85rem 1rem;
    border-radius: 8px;
    background: var(--tilepro-surface, #f4f8fc);
    color: #344054;
}
.tilepro-review-form__notice_success {
    background: #ecfdf3;
    color: #027a48;
    margin-bottom: 1rem;
}
.tilepro-review-form__notice_error {
    background: #fef3f2;
    color: #b42318;
    margin-bottom: 1rem;
}
.tilepro-review-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--tilepro-border, #e3eaf3);
    border-radius: 8px;
    padding: .75rem;
    font: inherit;
    resize: vertical;
}
@media screen and (max-width: 900px) {
    .tilepro-reviews-page__grid {
        grid-template-columns: 1fr;
    }
    .tilepro-reviews-page__aside {
        order: -1;
    }
}

/* ====== Master page: typography matched to shop product page ======
   Shop theme tokens (desktop): base 14px, md 15, lg 16, xl 18, xxl 22, xxxl 24;
   headings h1 28 / h2 26 / h3 24 / h4 22 / h5 20 / h6 18.
   NOTE: shop theme sets html{font-size:62.5%} (1rem=10px), so px is used here
   to stay independent of the root scale. */
.tilepro-master-page {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-page__breadcrumbs {
    font-size: 13px;
}
.tilepro-master-page .tilepro-master-hero__avatar-placeholder {
    font-size: 28px;
}
.tilepro-master-page .tilepro-master-hero__name {
    font-size: 24px;
}
.tilepro-master-page .tilepro-master-hero__location {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-hero__stats {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-hero__stat_rating .tilepro-rating__star {
    font-size: 16px;
}
.tilepro-master-page .tilepro-master-hero__tag {
    font-size: 13px;
}
.tilepro-master-page .tilepro-master-hero__price-value {
    font-size: 22px;
}
.tilepro-master-page .tilepro-master-hero__price-note {
    font-size: 13px;
}
.tilepro-master-page .tilepro-master-hero__contact-title {
    font-size: 18px;
}
.tilepro-master-page .tilepro-master-hero__phones a,
.tilepro-master-page .tilepro-master-hero__phones span {
    font-size: 16px;
}
.tilepro-master-page .tilepro-master-hero__contact-meta {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-hero__btn {
    font-size: 15px;
}
.tilepro-master-page .tilepro-master-tabs__btn {
    font-size: 15px;
}
.tilepro-master-page .tilepro-master-block__title {
    font-size: 18px;
}
.tilepro-master-page .tilepro-master-block__text {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-block__checklist li {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-cards__title {
    font-size: 15px;
}
.tilepro-master-page .tilepro-master-cards__text {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-panel__hint {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-panel__subtitle {
    font-size: 16px;
}
.tilepro-master-page .tilepro-master-portfolio__title {
    font-size: 22px;
}
.tilepro-master-page .tilepro-master-portfolio__title span {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-portfolio__caption {
    font-size: 13px;
}
.tilepro-master-page .tilepro-master-portfolio__caption strong {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-portfolio__more-label {
    font-size: 24px;
}
.tilepro-master-page .tilepro-master-portfolio__more-label small {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-portfolio__all {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-contacts__label {
    font-size: 13px;
}
.tilepro-master-page .tilepro-master-contacts__item a {
    font-size: 14px;
}
.tilepro-master-page .tilepro-master-reviews-card__title {
    font-size: 18px;
}
.tilepro-master-page .tilepro-master-reviews-card .tilepro-review__text {
    font-size: 14px;
}
.tilepro-master-page .tilepro-rating__title {
    font-size: 18px;
}
.tilepro-master-page .tilepro-rating__score {
    font-size: 28px;
}
.tilepro-master-page .tilepro-rating__star {
    font-size: 16px;
}
.tilepro-master-page .tilepro-rating__summary .tilepro-rating__star {
    font-size: 18px;
}
.tilepro-master-page .tilepro-rating__count {
    font-size: 13px;
}
.tilepro-master-page .tilepro-rating__bar-row {
    font-size: 12px;
}
.tilepro-master-page .tilepro-rating__empty {
    font-size: 14px;
}
.tilepro-master-page .tilepro-review__name {
    font-size: 14px;
}
.tilepro-master-page .tilepro-review__text {
    font-size: 14px;
}
.tilepro-master-page .tilepro-review__date {
    font-size: 13px;
}
.tilepro-master-page .tilepro-review__avatar_placeholder {
    font-size: 14px;
}

/* ====== Announcement form: check groups ====== */
.tilepro-checkgroup {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.tilepro-checkgroup_col {
    flex-direction: column;
    gap: 10px;
}
.tilepro-checkgroup__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}
.tilepro-checkgroup__item input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #1a73e8;
}

/* ====== Masters search page ====== */
.tilepro-search {
    --tilepro-blue: #1a73e8;
    --tilepro-blue-dark: #1558b0;
    --tilepro-border: #e6e8ec;
    --tilepro-muted: #6b7280;
    --tilepro-ink: #1f2937;
    color: var(--tilepro-ink);
    font-size: 14px;
    line-height: 1.5;
}
/* Единый фон #f9f9f9 на всех страницах tilepro (каталог, мастер, объект, ЛК) — во всю
   ширину окна, включая поля слева/справа. tilepro.css грузится только на страницах
   приложения, магазин не затрагивается. Карточки имеют свой белый фон и остаются белыми. */
html,
body {
    background-color: #f9f9f9 !important;
}
.tilepro-search,
.tilepro-master-page {
    background-color: transparent;
}
.tilepro-search * {
    box-sizing: border-box;
}

.tilepro-search__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.tilepro-search__title {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--tilepro-ink);
}
.tilepro-search__subtitle {
    margin: 0;
    font-size: 15px;
    color: var(--tilepro-muted);
    max-width: 560px;
}
.tilepro-search__header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 6px;
}
.tilepro-search__reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tilepro-blue);
    font-size: 14px;
    text-decoration: none;
}
.tilepro-search__reset:hover {
    color: var(--tilepro-blue-dark);
}
.tilepro-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid transparent;
    background: var(--tilepro-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    padding: 12px 22px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s ease;
}
.tilepro-search__add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    background: #fff;
    color: var(--tilepro-blue);
    border: 1px solid var(--tilepro-blue);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.tilepro-search__add:hover {
    background: var(--tilepro-blue);
    color: #fff;
}
.tilepro-search__submit:hover {
    background: var(--tilepro-blue-dark);
}

.tilepro-search__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

/* Sidebar */
.tilepro-search__sidebar {
    background: #fff;
    border: 1px solid var(--tilepro-border);
    border-radius: 14px;
    padding: 20px;
}
.tilepro-search__sidebar-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
}
.tilepro-search__field {
    margin-bottom: 16px;
}
.tilepro-search__label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--tilepro-muted);
}
.tilepro-search__select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--tilepro-border);
    border-radius: 9px;
    background: #fff;
    font-size: 14px;
    color: var(--tilepro-ink);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.tilepro-search__select:focus {
    outline: none;
    border-color: var(--tilepro-blue);
}
.tilepro-search__checks {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tilepro-search__check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    cursor: pointer;
}
.tilepro-search__check input {
    width: 17px;
    height: 17px;
    accent-color: var(--tilepro-blue);
    margin: 0;
}

/* Main column */
.tilepro-search__main {
    min-width: 0;
}
.tilepro-search__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #f1f2f4;
    border: 1px solid var(--tilepro-border);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.tilepro-search__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--tilepro-border);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 13px;
    color: var(--tilepro-ink);
    text-decoration: none;
}
.tilepro-search__chip svg {
    color: var(--tilepro-muted);
}
.tilepro-search__chip:hover {
    border-color: var(--tilepro-blue);
    color: var(--tilepro-blue);
}
.tilepro-search__chip:hover svg {
    color: var(--tilepro-blue);
}

.tilepro-search__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.tilepro-search__found {
    font-size: 15px;
    font-weight: 600;
}
.tilepro-search__toolbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tilepro-search__sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--tilepro-muted);
}
.tilepro-search__sort .tilepro-search__select {
    width: auto;
    min-width: 150px;
    height: 36px;
    padding-right: 32px;
}
.tilepro-search__view {
    display: inline-flex;
    border: 1px solid var(--tilepro-border);
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
}
.tilepro-search__view-btn {
    border: 0;
    background: #fff;
    color: var(--tilepro-muted);
    padding: 7px 9px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}
.tilepro-search__view-btn + .tilepro-search__view-btn {
    border-left: 1px solid var(--tilepro-border);
}
.tilepro-search__view-btn._active {
    background: var(--tilepro-blue);
    color: #fff;
}

/* Master cards list */
.tilepro-search__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tilepro-mcard {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto auto;
    gap: 18px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--tilepro-border);
    border-radius: 14px;
    padding: 18px 20px;
}
.tilepro-mcard__avatar {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    background: #eef1f5;
}
.tilepro-mcard__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tilepro-mcard__avatar-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}
.tilepro-mcard__online {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
}
.tilepro-mcard__avatar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.tilepro-mcard__avatar-col .tilepro-mcard__avatar {
    flex: 0 0 auto;
}
.tilepro-mcard__avatar-col .tilepro-mcard__rating {
    margin-top: 0;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 13px;
    text-align: center;
}
.tilepro-mcard__info {
    min-width: 0;
}
.tilepro-mcard__name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 700;
    color: var(--tilepro-ink);
    text-decoration: none;
}
.tilepro-mcard__name:hover {
    color: var(--tilepro-blue);
}
.tilepro-mcard__verified {
    flex: none;
}
.tilepro-mcard__city {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    font-size: 13px;
    color: var(--tilepro-muted);
}
.tilepro-mcard__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}
.tilepro-mcard__tag {
    background: #eaf2fe;
    color: var(--tilepro-blue);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.tilepro-mcard__about {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
}
.tilepro-mcard__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 14px;
}
.tilepro-mcard__rating .tilepro-rating__star._filled {
    color: #f5a623;
}
.tilepro-mcard__rating strong {
    font-weight: 700;
}
.tilepro-mcard__rating-count {
    color: var(--tilepro-muted);
    font-size: 13px;
}
.tilepro-mcard__rating_empty {
    color: var(--tilepro-muted);
    font-size: 13px;
}

/* Photo strip */
.tilepro-mcard__photos {
    display: grid;
    grid-template-columns: repeat(4, 56px);
    gap: 6px;
    align-self: center;
}
.tilepro-mcard__photo {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef1f5;
    display: block;
}
.tilepro-mcard__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tilepro-mcard__photo-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, .55);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

/* Aside (price + actions) */
.tilepro-mcard__aside {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    min-width: 168px;
    padding-left: 16px;
    border-left: 1px solid var(--tilepro-border);
    align-self: stretch;
}
.tilepro-mcard__fav {
    position: absolute;
    top: 0;
    right: 0;
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    color: #c2c7d0;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    transition: background .15s, color .15s;
}
.tilepro-mcard__fav:hover {
    background: rgba(239,68,68,.1);
    color: #ef4444;
}
.tilepro-mcard__fav._active {
    color: #ef4444;
}
.tilepro-mcard__fav._active svg path {
    fill: #ef4444;
    stroke: #ef4444;
}
.tilepro-mcard__price {
    font-size: 17px;
    font-weight: 700;
    color: var(--tilepro-ink);
    text-align: right;
}
.tilepro-mcard__price-note {
    font-size: 12px;
    color: var(--tilepro-muted);
    text-align: right;
    margin-bottom: 8px;
}
.tilepro-mcard__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tilepro-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 9px;
    text-decoration: none;
    white-space: nowrap;
}
.tilepro-mcard__btn:hover {
    background: var(--tilepro-blue-dark);
    color: #fff;
}

.tilepro-search__empty {
    background: #fff;
    border: 1px solid var(--tilepro-border);
    border-radius: 14px;
    padding: 40px 24px;
    text-align: center;
    color: var(--tilepro-muted);
}
.tilepro-search__empty p {
    margin: 0 0 16px;
}

/* Grid view */
.tilepro-search__list_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.tilepro-search__list_grid .tilepro-mcard {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
        "avatar info"
        "photos photos"
        "aside aside";
}
.tilepro-search__list_grid .tilepro-mcard__avatar-col {
    grid-area: avatar;
}
.tilepro-search__list_grid .tilepro-mcard__avatar {
    width: 64px;
    height: 64px;
}
.tilepro-search__list_grid .tilepro-mcard__info {
    grid-area: info;
}
.tilepro-search__list_grid .tilepro-mcard__photos {
    grid-area: photos;
    grid-template-columns: repeat(4, 1fr);
}
.tilepro-search__list_grid .tilepro-mcard__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
}
.tilepro-search__list_grid .tilepro-mcard__aside {
    grid-area: aside;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-left: 0;
    border-top: 1px solid var(--tilepro-border);
    padding-left: 0;
    padding-top: 14px;
    min-width: 0;
}
.tilepro-search__list_grid .tilepro-mcard__fav {
    display: none;
}
.tilepro-search__list_grid .tilepro-mcard__price-note {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .tilepro-mcard {
        grid-template-columns: 72px minmax(0, 1fr);
        grid-template-areas:
            "avatar info"
            "photos photos"
            "aside aside";
    }
    .tilepro-mcard__avatar-col { grid-area: avatar; }
    .tilepro-mcard__info { grid-area: info; }
    .tilepro-mcard__photos {
        grid-area: photos;
        grid-template-columns: repeat(4, 1fr);
    }
    .tilepro-mcard__photo { width: 100%; aspect-ratio: 1/1; height: auto; }
    .tilepro-mcard__aside {
        grid-area: aside;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-left: 0;
        border-top: 1px solid var(--tilepro-border);
        padding-left: 0;
        padding-top: 14px;
        min-width: 0;
    }
    .tilepro-mcard__fav { position: static; margin-left: auto; order: 3; }
    .tilepro-mcard__price-note { margin-bottom: 0; }
}
@media (max-width: 860px) {
    .tilepro-search__layout {
        grid-template-columns: 1fr;
    }
    .tilepro-search__title { font-size: 24px; }
    .tilepro-search__list_grid {
        grid-template-columns: 1fr;
    }
}
