.pd-page,
.pd-breadcrumbs {
    --pd-violet: #8080d8;
    --pd-violet-dark: #6a6acb;
    --pd-violet-soft: #efeffb;
    --pd-text: rgba(6, 6, 11, 0.8);
    --pd-muted: rgba(6, 6, 11, 0.5);
    --pd-surface: rgba(128, 128, 216, 0.05);
    --pd-neutral: rgba(6, 6, 11, 0.05);
    --pd-field: #f9f9fd;
    --pd-line-strong: rgba(6, 6, 11, 0.1);
    --pd-line: rgba(6, 6, 11, 0.05);
    --pd-green: #2fbf71;
    --pd-green-light: #5bd88f;
    --pd-orange: #f5a623;
    --pd-red: #e5534b;
    --pd-star: #ffb400;
    --pd-star-off: #dadaea;
    --pd-clamp: 8;
    letter-spacing: -0.04em;

    max-width: 1280px;
    margin: 0 auto;
    color: var(--pd-text);
}

.pd-page {
    padding: 24px 12px 40px;
}

.pd-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-top: 40px;
    color: var(--pd-muted);
    font-size: 12px;
}

.pd-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.pd-page *,
.pd-page *::before,
.pd-page *::after {
    box-sizing: border-box;
}

.pd-page img {
    display: block;
    max-width: 100%;
}

:where(.pd-page) a {
    color: inherit;
    text-decoration: none;
}

.pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pd-btn--primary {
    background: var(--pd-violet);
    color: #fff !important;
}

.pd-btn--primary:hover {
    background: var(--pd-violet-dark);
}

.pd-btn--soft {
    height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--pd-neutral);
    color: var(--pd-text);
}

.pd-btn--soft:hover {
    background: var(--pd-violet-soft);
}

.pd-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
        background: transparent;
    color: var(--pd-violet);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.pd-icon-btn:hover {
    background: #8080D81A;
}

.pd-icon-btn.is-done {
    background: var(--pd-green);
    color: #fff;
}

.pd-chip {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    background: #fff;
    font-size: 13px;
    white-space: nowrap;
}

.pd-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    line-height: 1;
}

.pd-score--high { background: linear-gradient(90deg, rgba(76, 213, 133, 0.5), #08bf55); }
.pd-score--medium { background: var(--pd-orange); }
.pd-score--low { background: var(--pd-red); }

.pd-score--lg {
    min-width: 64px;
    height: 44px;
    padding: 0 14px;
    border-radius: 16px;
    font-size: 26px;
}

.pd-score--badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 32px;
    height: 22px;
    padding: 0 6px;
    border: 2px solid #fff;
    border-radius: 11px;
    font-size: 12px;
}

.pd-top {
    display: flex;
    flex-direction: column;
}

.pd-side { display: contents; }
.pd-gallery  { order: 1; }
.pd-head     { order: 2; }
.pd-promo    { order: 3; }
.pd-about    { order: 4; }
.pd-map      { order: 5; }
.pd-ask      { order: 6; }
.pd-feedback { order: 7; }

.pd-head,
.pd-promo,
.pd-about,
.pd-map,
.pd-ask,
.pd-feedback {
    margin-top: 24px;
}

.pd-head {
    margin-top: 20px;
}

.pd-block-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
}

.pd-gallery {
    position: relative;
}

.pd-gallery__stage {
    position: relative;
}

.pd-gallery__slides {
    position: relative;
    z-index: 1;
    aspect-ratio: 16 / 10;
    border-radius: 64px;
    overflow: hidden;
    background: var(--pd-surface);
}

.pd-gallery__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.pd-gallery__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.pd-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #06060B33;
    color: var(--pd-text);
    cursor: pointer;
    transform: translateY(-50%);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

.pd-gallery__arrow--prev { left: 24px; }
.pd-gallery__arrow--next { right: 24px; }

.pd-gallery__counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    z-index: 2;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(30, 30, 45, 0.55);
    color: #fff;
    font-size: 12px;
    transform: translateX(-50%);
}

.pd-gallery__thumbs {
    display: none;
}

.pd-head__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.pd-head__category {
    margin-bottom: 4px;
    color: var(--pd-muted);
    font-size: 13px;
}

.pd-head__title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.pd-logo {
    position: relative;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    margin-top: 4px;
}

.pd-logo__img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--pd-surface);
}

.pd-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    justify-content: flex-start;
}

.pd-actions__main {
    position: relative;
}

.pd-actions__main::before {
    content: "";
    position: absolute;
    top: 55%;
    left: calc(100% + 4px);
    width: 36px;
    height: 46px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2272%22 height=%2248%22 viewBox=%220 0 72 48%22 fill=%22none%22%3E%3Cpath d=%22M47.3492 38.6391C45.3835 36.9614 43.3513 35.5649 41.7682 33.7851C40.0181 31.8176 38.3508 29.6468 37.2473 27.2944C35.9532 24.5353 37.1147 21.8218 39.5246 20.3967C42.1106 18.8674 44.9492 19.347 47.1198 21.7918C49.9242 24.9503 51.1574 28.7662 51.7012 32.8368C51.8341 33.8308 51.8884 34.8348 51.9733 35.7746C57.539 39.1236 59.6972 38.3768 70.8756 29.2628C72.7174 30.7697 71.9668 32.3333 70.9575 33.8393C67.5738 38.888 59.4059 42.1968 53.3989 40.9873C52.791 40.865 52.189 40.7139 51.4637 40.5486C51.021 41.2954 50.6709 41.9564 50.2556 42.5754C47.2605 47.0391 42.3983 49.0795 37.2116 47.4343C34.2159 46.4841 31.3198 44.9065 28.7318 43.1203C24.2685 40.0396 20.8159 35.8898 17.8998 31.4056C14.376 25.9869 11.1196 20.4013 7.74011 14.8923C7.23418 14.0675 6.68781 13.2666 6.00069 12.2092C5.11777 14.2757 4.51707 16.0368 3.60815 17.6289C3.2611 18.2368 1.87594 18.961 1.54526 18.7515C0.835026 18.3014 0.477634 17.2921 0.0347716 16.4809C-0.0640881 16.2998 0.0753614 15.9906 0.113477 15.7416C0.722523 11.7712 1.39329 7.80875 1.9249 3.82855C2.3944 0.313251 3.08857 -0.323914 6.64078 0.127536C10.7177 0.64574 14.2239 2.46374 17.4057 4.91134C18.4342 5.70252 19.3501 6.6787 18.107 8.26916C14.446 8.51486 11.8106 5.39464 7.834 4.7081C8.41207 5.97857 8.72671 6.87644 9.20231 7.68327C13.319 14.6661 17.2462 21.7702 21.6892 28.5491C24.0966 32.2221 27.1864 35.5431 30.3745 38.6186C32.3343 40.509 34.9106 41.9974 37.4776 43.0244C41.7792 44.7456 45.1124 43.1519 47.3492 38.6391ZM46.6181 33.092L47.4768 32.554C47.3208 30.0664 46.5454 27.7518 45.1686 25.628C43.8962 23.6654 42.5881 22.9971 41.5939 23.856C40.1781 25.0792 40.9575 26.4505 41.7835 27.5174C43.2854 29.4571 44.9951 31.2423 46.6181 33.092Z%22 fill=%22%2392ED00%22/%3E%3C/svg%3E");
    pointer-events: none;
}

.pd-actions .establishment-fav-button-wrapper {
    position: static;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.pd-chips {
    display: flex;
    gap: 8px;
    flex-basis: 100%;
    margin-top: 2px;
}

.pd-info {
    margin-top: 16px;
    padding: 4px 16px;
    border-radius: 20px;
    background: var(--pd-surface);
}

.pd-info__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
}

.pd-info__row + .pd-info__row {
    border-top: 1px solid var(--pd-line);
}

.pd-info__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pd-violet-soft);
    color: var(--pd-violet);
}

.pd-info__text {
    padding-top: 4px;
    font-size: 15px;
    line-height: 1.4;
}

.pd-info__text--schedule {
    white-space: pre-line;
}

.pd-promo__banner {
    border-radius: 20px;
    overflow: hidden;
}

.pd-tabs {
    display: flex;
}

.pd-tabs__btn {
    padding: 10px 12px;
    border: 0;
    border-bottom: 2px solid var(--pd-line-strong);
    background: none;
    color: var(--pd-muted);
    font: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.pd-tabs__btn:hover {
    color: var(--pd-text);
}

.pd-tabs__btn.is-active {
    border-bottom-color: var(--pd-violet);
    color: var(--pd-text);
}

.pd-tabs__panel {
    display: none;
    padding-top: 16px;
}

.pd-tabs__panel.is-active {
    display: block;
}

.pd-about__text {
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.pd-about__text.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--pd-clamp);
    overflow: hidden;
}

.pd-about__more {
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pd-violet);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.pd-about__more:hover {
    color: var(--pd-violet-dark);
}

.pd-contacts__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 500;
}

.pd-contacts {
    display: grid;
    gap: 16px;
}

.pd-contacts__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pd-contacts__label {
    color: var(--pd-muted);
    font-size: 13px;
}

.pd-contacts__value {
    color: var(--pd-violet);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.pd-contacts__value:hover {
    color: var(--pd-violet-dark);
}

.pd-map__canvas {
    width: 100%;
    height: 160px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--pd-surface);
}

.pd-map__address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--pd-muted);
    font-size: 14px;
}

.pd-map__copy {
    display: inline-flex;
    padding: 4px;
    border: 0;
    background: none;
    color: var(--pd-muted);
    cursor: pointer;
}

.pd-map__copy:hover {
    color: var(--pd-violet);
}

.pd-map__copy.is-done {
    color: var(--pd-green);
}

.pd-ask__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.pd-ask__text {
    margin: 0 0 14px;
    color: var(--pd-muted);
    font-size: 13px;
    line-height: 1.45;
}

.pd-breadcrumbs a:hover {
    color: var(--pd-violet);
}

.pd-breadcrumbs__current {
    color: var(--pd-text);
}

.pd-stars {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 2px;
    white-space: nowrap;
    background: linear-gradient(90deg, var(--pd-star) calc(var(--rating, 0) / 5 * 100%), var(--pd-star-off) 0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.pd-stars::before {
    content: "★★★★★";
}

.pd-rate {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    background: var(--pd-surface);
}

.pd-rate__summary {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pd-rate__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-rate__count {
    color: var(--pd-muted);
    font-size: 13px;
}

.pd-rate__label {
    margin-bottom: 8px;
    font-size: 14px;
}

.pd-rate__login {
    margin: 0;
    color: var(--pd-muted);
    font-size: 14px;
}

.pd-rate__stars {
    position: relative;
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
}

.pd-rate__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pd-rate__star {
    display: inline-flex;
    cursor: pointer;
}

.pd-rate__icon {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--pd-violet);
    stroke-width: 1.5;
    transition: fill 0.15s, stroke 0.15s;
}

.pd-rate__radio:checked ~ .pd-rate__star .pd-rate__icon,
.pd-rate__star:hover .pd-rate__icon,
.pd-rate__star:hover ~ .pd-rate__star .pd-rate__icon {
    fill: var(--pd-star);
    stroke: var(--pd-star);
}

.pd-rate__radio:focus-visible + .pd-rate__star .pd-rate__icon {
    outline: 2px solid var(--pd-violet);
    outline-offset: 2px;
    border-radius: 6px;
}

.pd-form {
    margin-top: 16px;
}

.pd-form__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pd-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--pd-surface);
}

.pd-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-form__textarea {
    flex: 1 1 auto;
    min-width: 0;
    height: 110px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 4px 24px 24px 24px;
    background: var(--pd-field);
    color: var(--pd-text);
    font: inherit;
    font-size: 14px;
    line-height: 1.45;
    resize: vertical;
    transition: border-color 0.2s, background-color 0.2s;
}

.pd-form__textarea::placeholder {
    color: var(--pd-muted);
}

.pd-form__textarea:focus {
    outline: none;
    border-color: var(--pd-violet);
    background: #fff;
}

.pd-form__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.pd-form__submit {
    flex: 0 0 auto;
}

.pd-reviews__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pd-line);
}

.pd-reviews__title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.pd-reviews__count {
    color: var(--pd-muted);
    font-size: 12px;
}

.pd-sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: var(--pd-neutral);
    color: var(--pd-text);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.pd-sort:hover {
    background: var(--pd-violet-soft);
}

.pd-review {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas:
        "avatar head"
        "body   body";
    column-gap: 12px;
    row-gap: 10px;
    padding: 20px 0;
    border-bottom: 1px solid var(--pd-line);
}

.pd-review:last-child {
    border-bottom: 0;
}

.pd-review__avatar {
    grid-area: avatar;
}

.pd-review__head {
    grid-area: head;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.pd-review__name {
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.pd-review__meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-review__date {
    color: var(--pd-muted);
    font-size: 13px;
}

.pd-review__body {
    grid-area: body;
}

.pd-review__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.pd-review__delete {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pd-muted);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.pd-review__delete:hover {
    color: var(--pd-red);
}

.pd-more {
    display: block;
    height: 40px;
    margin: 12px auto 0;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: var(--pd-neutral);
    color: var(--pd-text);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.pd-more:hover {
    background: var(--pd-violet-soft);
}

.pd-share {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(30, 30, 45, 0.45);
}

.pd-share.is-open {
    display: flex;
}

.pd-share__content {
    width: 100%;
    max-width: 360px;
    padding: 20px;
    border-radius: 24px;
    background: #fff;
}

.pd-share__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pd-share__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.pd-share__close {
    padding: 0 4px;
    border: 0;
    background: none;
    color: var(--pd-muted);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.pd-share__close:hover {
    color: var(--pd-text);
}

.pd-share__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd-share__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    font-size: 15px;
    transition: background-color 0.2s;
}

.pd-share__option:hover {
    background: var(--pd-surface);
}

.pd-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    z-index: 10000;
    padding: 10px 20px;
    border-radius: 16px;
    background: #8080d8;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(-50%);
    transition: opacity 0.3s ease;
}

/* mobile */
.pd-breadcrumbs {
    gap: 4px 8px;
    padding: 16px 12px;
    font-size: 14px;
    line-height: 20px;
}

.pd-head,
.pd-promo,
.pd-about,
.pd-map,
.pd-ask,
.pd-feedback {
    margin-top: 48px;
}

.pd-head {
    margin-top: 32px;
}

.pd-gallery__stage {
    width: 296px;
    margin: 0 auto;
}

.pd-gallery__stage::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 296px;
    height: 296px;
    border-radius: 40px;
    background: #F1F0FF;
    transform: rotate(-10deg);
}

.pd-gallery__slides {
    aspect-ratio: 1 / 1;
    border-radius: 40px;
}

.pd-gallery__arrow {
    width: 40px;
    height: 40px;
    color: #fff;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.pd-gallery__arrow--prev { left: -20px; }
.pd-gallery__arrow--next { right: -20px; }

.pd-gallery__counter {
    bottom: 8px;
    width: 56px;
    padding: 8px;
    border-radius: 32px;
    background: rgba(6, 6, 11, 0.2);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.pd-head__top {
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.pd-head__category {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 20px;
}

.pd-head__titles {
    flex: 0 1 259px;
    min-width: 0;
}

.pd-head__title {
    font-size: 24px;
    line-height: 32px;
}

.pd-logo {
    width: 48px;
    height: 48px;
    margin-top: 0;
}

.pd-score--badge {
    top: -8px;
    right: auto;
    left: 35px;
    min-width: 33px;
    height: 28px;
    padding: 2px 6px;
    border-radius: 360px;
    font-size: 14px;
    line-height: 20px;
}

.pd-actions {
    gap: 24px 16px;
    margin-top: 24px;
}

.pd-actions .pd-btn {
    height: 48px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 16px;
}

.pd-icon-btn {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
}

.pd-actions__main::before {
    top: calc(100% + 6px);
    right: calc(100% + 44px);
    width: 72px;
    height: 48px;
}

.pd-chips {
    gap: 4px;
    margin-top: 0;
}

.pd-chip {
    height: 30px;
    padding: 4px 6px;
    border-color: var(--pd-line-strong);
    border-radius: 360px;
    color: var(--pd-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.pd-info {
    margin-top: 32px;
    padding: 8px 16px;
    border-radius: 24px;
}

.pd-info__row {
    gap: 8px;
    padding: 12px 0;
}

.pd-info__icon {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
}

.pd-info__text {
    padding-top: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.pd-block-title {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.pd-promo__banner {
    height: 160px;
    border-radius: 24px;
}

.pd-promo .pd-promo__banner :is(a, div, picture, img) {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
}

.pd-promo .pd-promo__banner img {
    object-fit: cover;
}

.pd-tabs__btn {
    padding: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.pd-tabs__panel {
    padding-top: 24px;
}

.pd-about__text {
    font-size: 14px;
    line-height: 20px;
}

.pd-about__more {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.pd-contacts__title {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 24px;
}

.pd-contacts__item {
    gap: 8px;
}

.pd-contacts__label,
.pd-contacts__value {
    font-size: 14px;
    line-height: 20px;
}

.pd-map__canvas {
    height: 240px;
    border: 1px solid var(--pd-line);
    border-radius: 24px;
}

.pd-map__address {
    margin-top: 16px;
    font-size: 14px;
    line-height: 20px;
}

.pd-ask__title {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.pd-ask__text {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 20px;
}

.pd-btn--soft {
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    color: #0d0d16;
    font-size: 14px;
    line-height: 14px;
}

.pd-btn--soft svg {
    width: 16px;
    height: 16px;
}

.pd-rate {
    gap: 16px;
    padding: 24px;
    border-radius: 24px;
}

.pd-rate__summary {
    gap: 12px;
    height: 64px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pd-line);
}

.pd-rate__meta {
    gap: 4px;
}

.pd-rate__count,
.pd-rate__label {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
}

.pd-rate__input {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-rate__stars {
    gap: 8px;
}

.pd-rate__icon {
    width: 40px;
    height: 40px;
}

.pd-score--lg {
    min-width: 60px;
    height: 40px;
    padding: 4px 12px;
    border-radius: 360px;
    font-size: 24px;
    line-height: 32px;
}

.pd-form {
    margin-top: 24px;
}

.pd-form__row {
    gap: 8px;
}

.pd-avatar {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
}

.pd-form__textarea {
    height: 120px;
    padding: 16px;
    border-radius: 4px 12px 12px 12px;
    font-size: 14px;
    line-height: 20px;
}

.pd-form__footer {
    margin-top: 16px;
}

.pd-form__submit {
    height: 40px;
    min-width: 107px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 14px;
}

.pd-form:has(.pd-form__textarea:placeholder-shown) .pd-form__submit {
    opacity: 0.5;
    pointer-events: none;
}

.pd-reviews__head {
    margin-top: 48px;
    padding-bottom: 0;
    border-bottom: 0;
}

.pd-reviews__title {
    font-size: 20px;
    line-height: 28px;
}

.pd-reviews__count {
    font-size: 13px;
}

.pd-sort {
    height: 36px;
    padding: 8px 14px;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.pd-reviews {
    margin-top: 24px;
}

.pd-review {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
        "avatar name"
        "meta   meta"
        "body   body";
    column-gap: 12px;
    row-gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--pd-line-strong);
    border-bottom: 0;
}

.pd-review__head {
    display: contents;
}

.pd-review__name {
    grid-area: name;
    align-self: center;
    font-size: 16px;
    line-height: 24px;
}

.pd-review__meta {
    grid-area: meta;
    gap: 8px;
}

.pd-review__date {
    color: rgba(6, 6, 11, 0.4);
    font-size: 14px;
    line-height: 20px;
}

.pd-review__body {
    margin-top: 4px;
}

.pd-review__text {
    font-size: 14px;
    line-height: 20px;
}

@media (min-width: 768px) {
    .pd-page {
        padding: 24px 24px 40px;
        --pd-clamp: 10;
    }

    .pd-head__title {
        font-size: 34px;
    }

    .pd-logo {
        width: 60px;
        height: 60px;
    }

    .pd-map__canvas {
        height: 220px;
    }

    .pd-breadcrumbs {
        padding-left: 24px;
        padding-right: 24px;
    }

    .pd-rate {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
    }

    .pd-rate__summary {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .pd-rate__summary + .pd-rate__input {
        padding-left: 24px;
        border-left: 1px solid var(--pd-line);
    }

    .pd-review {
        grid-template-columns: 52px minmax(0, 1fr) auto;
        grid-template-areas:
            "avatar name meta"
            "body   body body";
        column-gap: 16px;
        row-gap: 16px;
    }

    .pd-review__meta {
        align-self: center;
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .pd-page {
        padding: 48px 0 80px;
    }

    .pd-top {
        display: grid;
        grid-template-columns: minmax(0, 411px) minmax(0, 628px);
        column-gap: 132px;
        justify-content: start;
        align-items: start;
    }

    .pd-side {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 48px;
        grid-column: 1;
        grid-row: 1 / span 5;
        position: sticky;
        top: 88px;
        align-self: start;
        min-height: calc(100vh - 112px);
    }

    .pd-head     { grid-column: 2; grid-row: 1; margin-top: 0; }
    .pd-promo    { grid-column: 2; grid-row: 2; margin-top: 48px; }
    .pd-about    { grid-column: 2; grid-row: 3; margin-top: 45px; }
    .pd-map      { grid-column: 2; grid-row: 4; margin-top: 48px; }
    .pd-ask      { max-width: 302px; }
    .pd-feedback { grid-column: 2; grid-row: 5; margin-top: 48px; }

    .pd-gallery__stage {
        width: 100%;
        margin: 0;
    }

    .pd-gallery__stage::before {
        width: 411px;
        height: 411px;
        border-radius: 64px;
    }

    .pd-gallery__slides {
        border-radius: 64px;
    }

    .pd-gallery__slides {
        aspect-ratio: 1 / 1;
    }

    .pd-gallery__arrow {
        width: 48px;
        height: 48px;
        color: #fff;
    }

    .pd-gallery__arrow--prev { left: -24px; }
    .pd-gallery__arrow--next { right: -24px; }

    .pd-gallery__counter {
        display: none;
    }

    .pd-gallery__thumbs {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 48px;
    }

    .pd-gallery__thumb {
        width: 90px;
        height: 90px;
        padding: 4px;
        border: 1px solid transparent;
        border-radius: 20px;
        overflow: hidden;
        background: #fff;
        cursor: pointer;
        transition: border-color 0.2s;
    }

    .pd-gallery__thumb.is-active {
        border-color: var(--pd-violet);
    }

    .pd-gallery__thumb img {
        width: 100%;
        height: 100%;
        border-radius: 16px;
        object-fit: cover;
    }

    .pd-head__top {
        justify-content: flex-start;
        gap: 24px;
    }

    .pd-head__category {
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 24px;
    }

    .pd-head__titles {
        flex-basis: 520px;
    }

    .pd-head__title {
        font-size: 40px;
        line-height: 48px;
    }

    .pd-logo {
        width: 64px;
        height: 64px;
    }

    .pd-logo .pd-score--badge {
        top: -12px;
        right: auto;
        left: 48px;
        min-width: 36px;
        height: 32px;
        padding: 4px 6px;
        border-radius: 360px;
        font-size: 16px;
        line-height: 24px;
    }

    .pd-actions {
        flex-wrap: nowrap;
        gap: 16px;
        margin-top: 32px;
    }

    .pd-actions .pd-btn {
        height: 48px;
        padding: 0 28px;
        border-radius: 12px;
        font-size: 16px;
        line-height: 16px;
    }

    .pd-icon-btn {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .pd-actions__main::before {
        top: 32px;
        right: calc(100% + 12px);
        left: auto;
        width: 56px;
        height: 82px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2256%22 height=%2282%22 viewBox=%220 0 56 82%22 fill=%22none%22%3E%3Cpath d=%22M10.9211 53.9254C12.8783 51.6868 14.5076 49.3723 16.5841 47.5693C18.8794 45.5762 21.412 43.6774 24.1565 42.4206C27.3754 40.9467 30.5412 42.2695 32.2038 45.0141C33.9881 47.9592 33.4285 51.1921 30.5762 53.6642C26.8913 56.8581 22.4394 58.2626 17.6904 58.882C16.5307 59.0333 15.3593 59.0951 14.2629 59.1918C10.3558 65.5305 11.2271 67.9884 21.8601 80.7194C20.102 82.8171 18.2778 81.9622 16.5209 80.8127C10.6307 76.9591 6.77034 67.6567 8.18146 60.8155C8.32419 60.1231 8.50049 59.4375 8.69329 58.6114C7.82208 58.1073 7.05084 57.7085 6.32868 57.2355C1.121 53.8245 -1.25939 48.287 0.659985 42.3799C1.7685 38.9681 3.60908 35.6697 5.69302 32.7224C9.28714 27.6391 14.1285 23.707 19.3602 20.3859C25.682 16.3727 32.1985 12.664 38.6257 8.81513C39.5879 8.23893 40.5223 7.61667 41.756 6.83412C39.345 5.82857 37.2904 5.14444 35.433 4.10929C34.7237 3.71403 33.8788 2.13649 34.1233 1.75988C34.6483 0.951003 35.8258 0.543974 36.7723 0.0396026C36.9836 -0.0729877 37.3444 0.0858299 37.6349 0.129239C42.267 0.822875 46.8898 1.5868 51.5334 2.19225C55.6345 2.72696 56.3779 3.51755 55.8512 7.56312C55.2466 12.2063 53.1256 16.1995 50.2701 19.8232C49.3471 20.9945 48.2082 22.0376 46.3526 20.6219C46.066 16.4524 49.7063 13.451 50.5072 8.92206C49.025 9.58042 47.9775 9.93875 47.0362 10.4804C38.8895 15.1689 30.6014 19.6415 22.6927 24.7016C18.4076 27.4433 14.5331 30.9622 10.9449 34.5932C8.73944 36.8252 7.00305 39.7593 5.80482 42.6829C3.79675 47.5819 5.65615 51.378 10.9211 53.9254ZM17.3926 53.0929L18.0203 54.0708C20.9226 53.8932 23.6229 53.0101 26.1006 51.442C28.3904 49.9929 29.1701 48.5031 28.168 47.3709C26.741 45.7584 25.1411 46.646 23.8964 47.5867C21.6334 49.2973 19.5507 51.2445 17.3926 53.0929Z%22 fill=%22%2392ED00%22/%3E%3C/svg%3E");
    }

    .pd-chips {
        flex-basis: auto;
        gap: 4px;
        margin: 0 0 0 auto;
    }

    .pd-chip {
        height: 34px;
        padding: 4px 8px;
        border-color: var(--pd-line-strong);
        border-radius: 360px;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        color: var(--pd-text);
    }

    .pd-info {
        margin-top: 32px;
        padding: 8px 24px;
        border-radius: 24px;
    }

    .pd-info__row {
        gap: 12px;
        padding: 16px 0;
    }

    .pd-info__icon {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .pd-info__text {
        padding-top: 0;
        font-size: 20px;
        font-weight: 500;
        line-height: 32px;
    }

    .pd-block-title {
        margin-bottom: 24px;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
    }

    .pd-promo__banner {
        height: 160px;
        border-radius: 24px;
    }

    .pd-tabs__btn {
        padding: 16px;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
    }

    .pd-tabs__panel {
        padding-top: 24px;
    }

    .pd-about__text {
        font-size: 16px;
        line-height: 24px;
    }

    .pd-contacts__title {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 32px;
    }

    .pd-contacts__item {
        gap: 8px;
    }

    .pd-contacts__label,
    .pd-contacts__value {
        font-size: 16px;
        line-height: 24px;
    }

    .pd-map__canvas {
        height: 240px;
        border: 1px solid var(--pd-line);
        border-radius: 24px;
    }

    .pd-map__address {
        margin-top: 24px;
        font-size: 16px;
        line-height: 24px;
    }

    .pd-ask__title {
        margin-bottom: 8px;
        font-size: 20px;
        font-weight: 500;
        line-height: 28px;
    }

    .pd-ask__text {
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 24px;
    }

    .pd-btn--soft {
        height: 48px;
        padding: 0 24px;
        color: #0d0d16;
        font-size: 16px;
    }

    .pd-rate {
        gap: 48px;
        justify-content: flex-start;
        padding: 24px;
        border-radius: 24px;
    }

    .pd-rate__summary {
        flex: 0 0 266.5px;
        height: 64px;
        gap: 16px;
        border-right: 1px solid var(--pd-line);
    }

    .pd-rate__summary + .pd-rate__input {
        padding-left: 0;
        border-left: 0;
    }

    .pd-rate__meta {
        gap: 8px;
    }

    .pd-rate__count,
    .pd-rate__label {
        margin-bottom: 0;
        font-size: 16px;
        line-height: 24px;
    }

    .pd-rate__input {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .pd-rate__stars {
        gap: 8px;
    }

    .pd-score--lg {
        min-width: 72px;
        height: 48px;
        padding: 4px 12px;
        border-radius: 360px;
        font-size: 32px;
        line-height: 40px;
    }

    .pd-form {
        margin-top: 24px;
    }

    .pd-form__row {
        gap: 16px;
    }

    .pd-avatar {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .pd-form__textarea {
        height: 120px;
        padding: 16px;
        font-size: 16px;
        line-height: 24px;
    }

    .pd-form__footer {
        margin-top: 16px;
    }

    .pd-form__submit {
        height: 48px;
        min-width: 137px;
        padding: 0 28px;
        border-radius: 12px;
        font-size: 16px;
        line-height: 16px;
    }

    .pd-rate__icon {
        width: 32px;
        height: 32px;
    }

    .pd-reviews__head {
        margin-top: 48px;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .pd-reviews__title {
        font-size: 24px;
        line-height: 32px;
    }

    .pd-reviews__count {
        font-size: 16px;
    }

    .pd-sort {
        height: 40px;
        padding: 8px 14px;
        gap: 4px;
        font-size: 16px;
        font-weight: 500;
    }

    .pd-review {
        grid-template-columns: 52px minmax(0, 1fr) auto;
        padding: 32px 0;
    }

    .pd-review__body {
        margin-top: 0;
    }

    .pd-review__name {
        font-size: 16px;
        line-height: 24px;
    }

    .pd-review__date {
        font-size: 16px;
        line-height: 24px;
    }

    .pd-review__text {
        font-size: 16px;
        line-height: 24px;
    }

    .pd-breadcrumbs {
        gap: 8px;
        padding: 16px 0;
        font-size: 14px;
        line-height: 20px;
    }

    .pd-breadcrumbs a:first-child {
        color: var(--pd-text);
    }

    .pd-breadcrumbs__current {
        color: var(--pd-muted);
    }
}