

/* Start:/local/components/dev/catalog.detail/templates/.default/style.css?178453481626141*/
.central-swiper{
    max-width: 600px;
    width: 100%;
    height: 800px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

#mini-swiper .swiper-slide{
    width: 100px!important;
}
#tableSizesModal .modal-content .btn-close {
    /*position: absolute;*/
    /*top: -3px;*/
    /*right: -3px;*/
}
#tableSizesModal .modal-content{
    padding: 0px;
}
@media (max-width: 600px) {
    .mini-swiper {
       max-width: 100%;
        width: 100%;
        overflow: hidden;
    }
    /*.mini-swiper-detail {
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }*/
}
.central-swiper-detail .swiper-slide{
    background-color: #E9EBEC!important;
}

.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 32px;
    justify-content: flex-start;
}
.photo-gallery a {
    display: block;
    width: 100%;
    max-width: 600px;
    flex: 1 1 240px;
    text-align: center;
}
.photo-gallery__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    background: #faf8f4;
    transition: box-shadow .2s;
    max-height: 800px;
    object-fit: contain;
}
.photo-gallery a:hover .photo-gallery__img {
    box-shadow: 0 4px 32px rgba(0,0,0,0.16);
}
@media (max-width: 700px) {
    .photo-gallery {
        gap: 8px;
    }
    .photo-gallery a {
        max-width: 100%;
    }
}

.mini-swiper-detail .swiper-slide {
    border: 2px solid rgba(0, 0, 0, 0);
}

@media (max-width: 991px) {
    .bread-crumbs {
        display: none;
    }
}

.product-controls--unavailable {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.product-controls__unavailable {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 12px;
    background: #e9ebec;
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}
/* ===== Product reviews ===== */
/* Сброс clamp/-webkit-box от .spec-content__description — иначе ломается ширина */
.product-reviews-wrap.spec-content__description {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: none;
    overflow: visible;
    overflow-x: hidden;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: initial;
    text-overflow: unset;
    margin-bottom: 0;
    margin-top: 0;
    box-sizing: border-box;
}

.product-reviews-anchor {
    display: block;
    position: relative;
    top: -80px;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

.product-review {
    scroll-margin-top: 90px;
}

.product-reviews-wrap .spec-content__description h4,
.product-reviews-wrap h4.product-reviews__title {
    font-size: 1.125em;
    font-weight: 600;
    margin: 0 0 20px;
}

.product-reviews-wrap .product-reviews__empty,
.product-reviews-wrap p.product-reviews__empty {
    font-size: 1em;
    font-weight: 400;
    margin: 0;
}

.product-reviews-wrap.spec-content__description_open,
.product-reviews-wrap.spec-content__description:not(.spec-content__description_hide) {
    display: block !important;
    height: auto !important;
    max-height: none;
    overflow: visible;
    overflow-x: hidden;
}

.product-reviews-wrap.spec-content__description_hide {
    display: none !important;
}

.product-reviews {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 30px 0 24px;
    font-family: "Montserrat", sans-serif;
    color: var(--dark-gray);
    box-sizing: border-box;
    min-width: 0;
}

.product-reviews__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 490px;
    gap: 90px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.product-reviews__title {
    margin: 0 0 20px;
    font-size: 1.125em;
    font-weight: 600;
    line-height: 1.3;
}

.product-reviews-wrap .product-reviews__title {
    margin: 0 0 20px;
}

.product-reviews__empty {
    margin: 0;
    color: var(--dark-gray);
    font-size: 1em;
    font-weight: 400;
    line-height: 1.4;
}

.product-reviews__summary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.product-reviews__summary-card {
    border: 0;
    border-radius: 16px;
    padding: 24px 20px;
    background: #f6f6f6;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.product-reviews__summary-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: 18px;
    min-width: 0;
    max-width: 100%;
}

.product-reviews__score {
    font-size: 2em;
    font-weight: 700;
    line-height: 1;
}

.product-reviews__summary-stars,
.product-review__stars,
.product-reviews__stars-row {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.product-reviews__star {
    display: inline-flex;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #e0e0e0;
    line-height: 0;
}

.product-reviews__star.is-active {
    color: #ffc107;
}

.product-reviews__star-icon {
    width: 24px;
    height: 24px;
    display: block;
    fill: currentColor;
}

.product-reviews__stars-row--summary .product-reviews__star,
.product-reviews__stars-row--summary .product-reviews__star-icon {
    width: 24px;
    height: 24px;
}

.product-reviews__based {
    font-size: 0.8125em;
    color: var(--text-light-gray);
    min-width: 0;
}

.product-reviews__bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    width: 100%;
    min-width: 0;
}

.product-reviews__bar-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.product-reviews__bar-label {
    font-size: 0.8125em;
    color: var(--dark-gray);
}

.product-reviews__bar-track {
    height: 6px;
    border-radius: 99px;
    background: #e5e5e5;
    overflow: hidden;
    min-width: 0;
}

.product-reviews__bar-fill {
    height: 100%;
    border-radius: 99px;
    background: #ffc107;
}

.product-reviews__bar-count {
    font-size: 0.75em;
    color: var(--text-light-gray);
    min-width: 28px;
}

.product-reviews__recommend {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    font-size: 0.8125em;
    line-height: 1.35;
}

.product-reviews__recommend-icon {
    display: inline-flex;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--dark-gray);
}

.product-reviews__recommend-text {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-reviews__leave-btn {
    width: 100%;
    border: 0;
    border-radius: 37px;
    min-height: 48px;
    padding: 12px 16px;
    background: var(--dark-gray);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s;
}

.product-reviews__leave-btn:hover {
    background: var(--brown);
}

.product-review {
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #efefef;
}

.product-review:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
}

.product-review__head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.product-review__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c9d8ea;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.product-review__name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.product-review__name {
    font-weight: 600;
    font-size: 0.9375em;
}

.product-review__dot,
.product-review__date,
.product-review__variant {
    color: var(--text-light-gray);
    font-size: 0.875em;
}

.product-review__variant {
    margin-top: 4px;
}

.product-review__media {
    margin: 12px 0 16px;
    position: relative;
    max-width: none;
    width: 100%;
}

.product-review-media-swiper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-right: 0;
}

.product-review-media-swiper:has(.product-review-media-next) {
    padding-right: 24px;
}

/* Фиксированная ширина превью: одинаковые отступы при любом числе фото */
.product-review-media-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.product-review-media-swiper .swiper-slide {
    width: 120px !important;
    max-width: 120px !important;
    flex: 0 0 120px !important;
    height: auto;
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
}

.product-review__media-item {
    display: block;
    width: 100%;
    max-width: none;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #fff;
    border: 1px solid #d0d0d0;
    box-sizing: border-box;
}

.product-review__media-item img,
.product-review__media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-review__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    pointer-events: none;
}

.product-review__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 9px 0 9px 14px;
    border-color: transparent transparent transparent var(--dark-gray);
}

.product-review-video-modal {
    width: min(920px, 92vw);
    max-width: 100%;
}

.product-review-video-modal__player {
    display: block;
    width: 100%;
    max-height: 80vh;
    background: #000;
    border-radius: 8px;
}

.product-review-video-modal__hint {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #fff;
    text-align: center;
}

.product-review-video-modal__hint a {
    color: #fff;
    text-decoration: underline;
}

.fancybox-slide--html .fancybox-content {
    background: transparent;
    overflow: visible;
}

.product-review-media-prev,
.product-review-media-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 20px;
    height: 36px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(71, 65, 65, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    padding: 0;
}

.product-review-media-prev {
    left: 0;
}

.product-review-media-next {
    right: 0;
}

.product-review-media-prev.swiper-button-disabled,
.product-review-media-next.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 991px) {
    .product-reviews-wrap.spec-content__description:not(.spec-content__description_hide) {
        display: block !important;
        width: 100%;
        max-width: 100%;
        height: auto !important;
        overflow-x: hidden;
        overflow-y: visible;
        box-sizing: border-box;
    }

    .product-reviews-wrap.spec-content__description_hide {
        display: none !important;
    }

    .product-reviews {
        width: 100%;
        max-width: 100%;
        padding: 16px 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .product-reviews__layout {
        display: flex !important;
        flex-direction: column;
        grid-template-columns: none;
        gap: 16px;
        width: 100%;
        max-width: 100%;
    }

    .product-reviews__main,
    .product-reviews__summary {
        order: 0;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: 0 0 auto;
    }

    .product-reviews__summary {
        order: -1;
    }

    .product-reviews__summary-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 16px;
        border-radius: 16px;
        overflow: hidden;
    }

    .product-reviews__score {
        font-size: 1.75em;
    }

    .product-reviews__summary-top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 8px;
        margin-bottom: 12px;
        min-width: 0;
        max-width: 100%;
    }

    .product-reviews__based {
        flex: 1 1 140px;
        font-size: 0.6875em;
    }

    .product-reviews__star,
    .product-reviews__star-icon {
        width: 16px;
        height: 16px;
    }

    .product-reviews__stars-row--summary .product-reviews__star,
    .product-reviews__stars-row--summary .product-reviews__star-icon {
        width: 18px;
        height: 18px;
    }

    .product-reviews__bar-row {
        grid-template-columns: 58px minmax(0, 1fr) auto;
        gap: 6px;
    }

    .product-reviews__bar-label {
        font-size: 0.75em;
    }

    .product-reviews__recommend {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        align-items: flex-start;
        font-size: 0.75em;
        padding: 8px 10px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .product-reviews__recommend-text {
        min-width: 0;
    }

    .product-reviews__leave-btn {
        width: 100%;
        min-height: 44px;
        font-size: 0.9375em;
    }

    .product-reviews__title {
        margin: 0 0 14px;
        font-size: 1.125em;
    }

    .product-review {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
        box-sizing: border-box;
    }

    .product-review__head {
        gap: 10px;
        margin-bottom: 10px;
    }

    .product-review__avatar {
        width: 36px;
        height: 36px;
        font-size: 0.875em;
    }

    .product-review__media {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        margin: 10px 0 12px;
    }

    .product-review-media-swiper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .product-review-media-swiper:has(.product-review-media-next) {
        padding-right: 20px;
    }

    .product-review-media-swiper .swiper-slide {
        width: 96px !important;
        max-width: 96px !important;
        flex: 0 0 96px !important;
    }

    .product-review__media-item {
        width: 100%;
        border-radius: 10px;
    }

    .product-review__play {
        width: 36px;
        height: 36px;
    }

    .product-review__play::before {
        border-width: 7px 0 7px 11px;
    }

    .product-review-media-prev,
    .product-review-media-next {
        color: rgba(71, 65, 65, 0.7);
    }

    .product-review-media-prev {
        left: 2px;
    }

    .product-review-media-next {
        right: 2px;
    }

    .product-review__text {
        font-size: 0.875em;
    }

    .product-review__admin-reply {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 12px 14px;
        font-size: 0.8125em;
    }

    .product-review__footer {
        flex-wrap: wrap;
    }
}

.product-review__text {
    font-size: 0.9375em;
    line-height: 1.55;
    margin-bottom: 14px;
}

.product-review__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-review__reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: var(--dark-gray);
    font-family: inherit;
    font-size: 0.875em;
    padding: 0;
    cursor: pointer;
}

.product-review__votes {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.product-review__vote {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: var(--dark-gray);
    font-family: inherit;
    font-size: 0.875em;
    cursor: pointer;
    padding: 0;
}

.product-review__vote:disabled {
    opacity: 0.55;
    cursor: default;
}

.product-review__vote.is-active {
    color: var(--brown);
    opacity: 1;
}

.product-review__admin-reply {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #f6f6f6;
    font-size: 0.875em;
    line-height: 1.5;
}

.product-reviews__pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.product-reviews__page {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--dark-gray);
    font-family: inherit;
    font-size: 0.9375em;
    cursor: pointer;
}

.product-reviews__page.is-active {
    background: #ececec;
}

.product-reviews__page--next {
    font-size: 1.25em;
}

.product-review-modal-dialog {
    width: calc(100% - 32px);
    max-width: 560px;
    margin: 1rem auto;
}

#productReviewModal {
    z-index: 1060;
}

#productReviewModal .modal-content.product-review-modal,
.product-review-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    max-height: min(90vh, 820px);
    margin: 0;
    border-radius: 20px;
    border: 0;
    padding: 28px 28px 20px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.product-review-modal.is-loading > :not(.product-review-modal__loader) {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}

.product-review-modal__loader {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.product-review-modal__loader[hidden] {
    display: none !important;
}

.product-review-modal__loader-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid rgba(71, 65, 65, 0.15);
    border-top-color: var(--dark-gray, #474141);
    animation: product-review-spin 0.75s linear infinite;
}

.product-review-modal__loader-text {
    font-size: 0.9375em;
    font-weight: 500;
    color: var(--dark-gray, #474141);
    letter-spacing: 0.01em;
}

@keyframes product-review-spin {
    to {
        transform: rotate(360deg);
    }
}

.product-review-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.product-review-modal__title {
    flex-shrink: 0;
    text-align: center;
    font-size: 1.375em;
    font-weight: 600;
    margin: 0 0 20px;
    padding-right: 24px;
}

.product-review-modal__form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
}

.product-review-modal__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.product-review-modal__scroll::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none;
}

.product-review-modal__footer {
    flex-shrink: 0;
    padding-top: 14px;
    background: #fff;
}

.product-review-modal__block {
    margin-bottom: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-review-modal__block--rules {
    margin-bottom: 8px;
}

.product-review-modal__label {
    font-size: 0.9375em;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-review-modal__product-name {
    color: var(--text-light-gray);
    font-size: 0.875em;
    margin-bottom: 10px;
}

.product-review-modal__stars {
    display: flex;
    gap: 6px;
}

.product-review-modal__star {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #e5e5e5;
    line-height: 0;
}

.product-review-modal__star.is-active {
    color: #ffc107;
}

.product-review-modal__star .product-reviews__star-icon {
    width: 28px;
    height: 28px;
}

.product-review-modal__textarea {
    width: 100%;
    max-width: 100%;
    min-height: 120px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 14px;
    resize: vertical;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9375em;
    box-sizing: border-box;
}

.product-review-modal__textarea:focus {
    outline: none;
    border-color: var(--dark-gray);
}

.product-review-modal__upload {
    border: 1px dashed var(--border-gray);
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    color: var(--text-light-gray);
    font-size: 0.875em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: border-color .2s, background-color .2s;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-review-modal__upload.is-dragover {
    border-color: var(--dark-gray);
    background: #fafafa;
}

.product-review-modal__file {
    display: none;
}

.product-review-modal__previews {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-review-modal__preview {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #e9ebec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75em;
}

.product-review-modal__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-review-modal__preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    line-height: 1;
    cursor: pointer;
}

.product-review-modal__hint {
    margin-top: 8px;
    font-size: 0.75em;
    color: var(--text-light-gray);
}

.product-review-modal__rules {
    margin: 0;
    font-size: 0.8125em;
    color: var(--text-light-gray);
    line-height: 1.45;
}

.product-review-modal__rules a {
    text-decoration: underline;
    color: var(--dark-gray);
}

.product-review-modal__error {
    margin-bottom: 12px;
    color: var(--soft-red);
    font-size: 0.875em;
}

.product-review-modal__submit {
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 37px;
    min-height: 52px;
    background: var(--dark-gray);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
}

.product-review-modal__submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.product-review-modal__submit:hover:not(:disabled) {
    background: var(--brown);
}

/* Чат/кнопка вверх не перекрывают модалку отзыва */
body.modal-open:has(#productReviewModal.show) .chat,
body.modal-open:has(#productReviewModal.show) .btn-to-top,
body.product-review-modal-open .chat,
body.product-review-modal-open .btn-to-top {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

@media (max-width: 991px) {
    .product-review-modal-dialog {
        width: calc(100% - 20px);
        max-width: 100%;
        margin: 10px auto;
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
    }

    #productReviewModal .modal-content.product-review-modal,
    .product-review-modal {
        margin: 0;
        padding: 20px 14px 12px;
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 16px;
        box-sizing: border-box;
    }

    .product-review-modal__title {
        font-size: 1.125em;
        margin-bottom: 14px;
        padding-right: 28px;
    }

    .product-review-modal__close {
        top: 12px;
        right: 12px;
    }

    .product-review-modal__block {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--border-gray);
        border-radius: 12px;
        background: #fff;
    }

    .product-review-modal__block--rules {
        margin-bottom: 4px;
    }

    .product-review-modal__label {
        font-size: 0.875em;
        margin-bottom: 6px;
    }

    .product-review-modal__product-name {
        font-size: 0.8125em;
        margin-bottom: 8px;
    }

    .product-review-modal__star,
    .product-review-modal__star .product-reviews__star-icon {
        width: 26px;
        height: 26px;
    }

    .product-review-modal__textarea {
        min-height: 96px;
        padding: 12px;
        font-size: 0.875em;
        border-color: transparent;
        background: transparent;
        resize: none;
    }

    .product-review-modal__upload {
        padding: 16px 10px;
        border-style: dashed;
        font-size: 0.8125em;
    }

    .product-review-modal__upload img {
        width: 56px;
        height: auto;
    }

    .product-review-modal__preview {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .product-review-modal__rules {
        font-size: 0.75em;
        line-height: 1.4;
    }

    .product-review-modal__footer {
        padding-top: 10px;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .product-review-modal__submit {
        min-height: 48px;
        font-size: 0.9375em;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .product-reviews__layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 490px);
        gap: 40px;
    }
}

/* End */
/* /local/components/dev/catalog.detail/templates/.default/style.css?178453481626141 */
