.object-detail-page {

    .object-title {
        font-size: 32px;
        font-weight: 700;
        color: #0b2e4c;
        margin: 0 0 24px 0;
    }

    .object-main-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 15px;

        @media (max-width: 992px) {
            grid-template-columns: 1fr;
        }

        .object-gallery {
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-width: 0;
            width: 100%;

            .object-gallery__main {

                .object-gallery__item {
                    overflow: hidden;
                    aspect-ratio: 16 / 9;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: block;
                    }
                }

                .owl-nav {
                    margin: 0;
                    width: 100%;

                    button.owl-prev,
                    button.owl-next {
                        position: absolute;
                        top: 50%;
                        transform: translateY(-50%);
                        width: 36px;
                        height: 36px;
                        border-radius: 50%;
                        background: rgba(11, 46, 76, 0.8);
                        color: #ffffff;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-size: 20px;
                        line-height: 1;
                        transition: background 0.2s ease;
                        margin: 0;

                        &:hover {
                            background: #0b2e4c;
                        }
                    }

                    button.owl-prev {
                        left: 10px;
                        transform: translateY(-50%) rotate(180deg) !important;
                    }
                    button.owl-next { right: 10px; }
                }
            }

            .object-gallery__thumbs {
                .object-gallery__thumb {
                    aspect-ratio: 4 / 3;
                    overflow: hidden;
                    cursor: pointer;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: block;
                        transition: opacity 0.2s ease;
                    }
                }

                .owl-item {
                    opacity: 0.6;
                    transition: opacity 0.2s ease, border-color 0.2s ease;
                    border: 2px solid transparent;

                    &:hover {
                        opacity: 0.9;
                    }

                    &.is-active {
                        opacity: 1;
                        border-color: #007bb8;
                    }
                }
            }
        }

        .object-card {
            border: 0.7px solid rgba(0, 41, 83, 0.20);
            box-shadow: 0 2px 8px 0 rgba(28, 28, 28, 0.25);
            padding: 16px;
            background: #ffffff;
            display: flex;
            flex-direction: column;

            .object-card__category {
                font-size: 12px;
                color: var(--color-blue);
                margin-bottom: 6px;
            }

            .object-card__title {
                font-size: 20px;
                font-weight: 700;
                color: var(--color-blue);
                line-height: 140%;
                margin: 0 0 16px 0;
            }

            .object-params-grid {
                display: flex;
                flex-direction: column;
                gap: 16px;
                margin-bottom: 40px;

                .object-params-grid__top {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 16px 20px;

                    > .object-param-item:only-child {
                        grid-column: 1 / -1;
                    }

                    @media (max-width: 768px) {
                        grid-template-columns: 1fr;
                    }
                }

                .object-params-grid__bottom {
                    display: grid;
                    grid-template-columns: 1fr 1fr 1fr 1fr;
                    gap: 16px 24px;

                    @media (max-width: 768px) {
                        grid-template-columns: 1fr 1fr;
                    }
                }

                .object-params-grid__top,
                .object-params-grid__bottom {
                    @media (max-width: 480px) {
                        grid-template-columns: 1fr;
                    }
                }

                .object-params-grid__divider {
                    border: none;
                    margin: 0;
                    border-top: 1px solid rgba(0, 0, 0, 0.10);
                }

                .object-param-item {
                    display: flex;
                    align-items: flex-start;
                    gap: 10px;

                    svg {
                        width: 24px;
                        height: 24px;
                        flex-shrink: 0;
                    }

                    .object-param-item__content {
                        display: flex;
                        flex-direction: column;

                        .object-param-item__label {
                            font-size: 12px;
                            color: rgba(0, 41, 83, 0.50);;
                            margin-bottom: 2px;
                            font-weight: 400;
                            line-height: 20px;
                            white-space: nowrap;
                        }

                        .object-param-item__value {
                            font-size: 16px;
                            font-weight: 400;
                            color: var(--color-blue);
                            line-height: 24px;
                        }
                    }
                }
            }

            .object-card__footer {
                background: #F4F8FC;
                padding: 16px;

                .object-price-block {
                    margin-bottom: 16px;

                    .object-price-block__label {
                        font-size: 14px;
                        font-weight: 600;
                        color: #0b2e4c;
                        margin-bottom: 4px;
                    }

                    .object-price-block__value {
                        font-size: 24px;
                        font-weight: 800;
                        color: #0b2e4c;
                    }
                }

                .object-actions {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 12px;

                    @media(max-width: 992px) {
                        grid-template-columns: 1fr;
                    }

                    .btn-object {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        padding: 10px 35px;
                        white-space: nowrap;
                        font-size: 16px;
                        font-weight: 600;
                        border-radius: 25px;
                        text-decoration: none;
                        cursor: pointer;
                        transition: all 0.2s ease;
                        border: 1px solid transparent;
                        text-align: center;

                        &.btn-object_primary {
                            background: #0b2e4c;
                            color: #ffffff;

                            &:hover {
                                background: #14446e;
                            }
                        }

                        &.btn-object_secondary {
                            background: transparent;
                            color: #0b2e4c;
                            border-color: #0b2e4c;

                            &:hover {
                                background: #0b2e4c;
                                color: #ffffff;
                            }
                        }
                    }
                }
            }
        }
    }

    .object-description {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        color: var(--color-blue);
        margin-bottom: 40px;

        p {
            margin-bottom: 16px;
        }
    }

    .object-reviews-wrapper {
        margin-bottom: 40px;

        .object-review-box {
            display: flex;
            flex-direction: column;
            margin-bottom: 20px;
            padding: 28px 32px;
            border: 0.7px solid rgba(0, 41, 83, 0.20);
            box-shadow: 0 2px 8px 0 rgba(28, 28, 28, 0.08);
            background: #ffffff;

            &:last-child {
                margin-bottom: 0;
            }

            .review-label {
                font-size: 20px;
                font-weight: 700;
                color: var(--color-blue);
                margin-bottom: 16px;
            }

            .object-review-box__body {
                display: flex;
                align-items: flex-start;
                gap: 16px;
            }

            .review-author-avatar {
                width: 185px;
                height: 220px;
                flex-shrink: 0;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    display: block;
                }
            }

            .review-quote {
                flex-shrink: 0;
                width: 48px;
                height: 48px;
            }

            .review-content {
                display: flex;
                flex-direction: column;
                flex-grow: 1;

                .review-text {
                    font-size: 16px;
                    line-height: 24px;
                    color: var(--color-blue);
                    margin: 20px 0 16px;

                    p {
                        margin: 0 0 8px 0;

                        &:last-child {
                            margin-bottom: 0;
                        }
                    }
                }

                .review-author {
                    font-size: 16px;

                    strong {
                        font-weight: 700;
                        color: var(--color-blue);
                    }
                }
            }

            @media (max-width: 576px) {
                padding: 20px;

                .object-review-box__body {
                    flex-direction: column;
                    gap: 16px;
                }

                .review-author-avatar {
                    width: 100%;
                    height: 200px;
                }

                .review-quote {
                    display: none;
                }
            }
        }
    }
}