/* Base layout and container */
body {
    background-color: #fff;
}

.object-item-section {
    background-color: #f6faff;
    border-radius: 40px 40px 0 0;
    padding: 50px 45px 100px;
    font-family: 'SF Pro Display', sans-serif;
    margin-top: 40px;
    /* Optional spacing if needed */
}

.object-item-container {
    max-width: 1350px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    display: flex;
    border: 1px solid #e7e7e7;
    overflow: clip;
}

/* Slider (Left Column) */
.object-item-slider {
    height: 800px;
    max-height: calc(100vh - 60px);
    width: 60%;
    flex-shrink: 0;
    position: sticky;
    top: 30px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    /*overflow: hidden;*/
}

@media screen and (max-width: 1200px) {
    .object-item-slider {
        margin-bottom: 0;
    }
}

.object-item-slider .swiper-main {
    width: 100%;
    flex: 1;
    min-height: 0;
}

.object-item-slider .swiper-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbs Overlay */
.object-item-slider .swiper-thumbs {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    height: 75px;
    z-index: 10;
}

.object-item-slider .swiper-thumbs .swiper-slide {
    width: 112px;
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}

.object-item-slider .swiper-thumbs .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: background 0.3s;
    pointer-events: none;
}

.object-item-slider .swiper-thumbs .swiper-slide-thumb-active {
    border: 2px solid #fff;
}

.object-item-slider .swiper-thumbs .swiper-slide-thumb-active::after {
    background: transparent;
}

.object-item-slider .swiper-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Nav Arrows */
.object-item-slider .swiper-button-prev,
.object-item-slider .swiper-button-next {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #1f9dff;
}

.object-item-slider .swiper-button-prev::after,
.object-item-slider .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

/* Info Side (Right Column) */
.object-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 46px 60px;
    border-left: 1px solid #e7e7e7;
}

.object-item-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.object-item-info h1 {
    font-size: 35px;
    font-weight: 500;
    color: #2c2929;
    margin: 0;
    line-height: 1.2;
    max-width: 283px;
}

.object-item-info h6 {
    color: #2C2929;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    opacity: 0.6;
    margin-top: 12px;
}

.badge-warning,
.badge-combined {
    background-color: #ce7f00;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 160px;
    white-space: nowrap;
}

.badge-combined {
    background-color: #1f9dff;
}

.badge-success {
    background-color: #2db615;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 160px;
    white-space: nowrap;
}

.object-item-info .details-list {
    border-top: 1px solid #e7e7e7;
    margin-bottom: 30px;
}

.object-item-info .details-list .detail-item {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #e7e7e7;
    font-size: 16px;
}

.object-item-info .details-list .detail-item .label {
    color: #2c2929;
    opacity: 0.6;
}

.object-item-info .details-list .detail-item .value {
    color: #2c2929;
    font-weight: 500;
}

.object-item-info .details-list .detail-item .text-blue {
    color: #1f9dff;
}

/* Description Section */
.description-section {
    margin-bottom: 40px;
}

.description-section h3 {
    font-size: 18px;
    font-weight: 500;
    color: #2c2929;
    margin: 0 0 10px 0;
}

.description-section p {
    font-size: 16px;
    color: #2c2929;
    opacity: 0.6;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.description-section .read-more {
    all: unset;
    display: block;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #1f9dff;
    text-decoration: none;
}

/* Actions (Buttons) */
.object-item-info .actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.object-item-info .actions-row {
    display: flex;
    gap: 19px;
}

.object-item-info .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.object-item-info .btn-primary {
    background-color: #1f9dff;
    color: #fff;
    width: 100%;
}

.object-item-info .btn-primary:hover {
    background-color: #1585de;
}

.object-item-info .btn-outline {
    background-color: transparent;
    color: #1f9dff;
    border: 1px solid #1f9dff;
    flex: 1;
    gap: 6px;
}

.object-item-info .btn-outline:hover {
    background-color: #f6faff;
}

.object-item-info .btn-outline img {
    width: 24px;
    height: 24px;
}

/* Form Section */
.object-item-form-section {
    background: #F6FAFF;
    padding: 0 45px 100px;
    font-family: 'SF Pro Display', sans-serif;
}

.form-container {
    max-width: 1350px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 20px;
    padding: 50px 70px;
}

.form-container h2 {
    font-size: 40px;
    font-weight: 500;
    color: #2c2929;
    margin: 0 0 40px 0;
}

.form-container .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-container .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-container .form-group label {
    font-size: 16px;
    color: #2c2929;
    opacity: 0.7;
}

.form-container .form-group input {
    background: #f6faff;
    border: none;
    border-radius: 10px;
    padding: 17px 20px;
    font-size: 20px;
    color: #2c2929;
    width: 100%;
    outline: none;
    box-sizing: border-box;
}

.form-container .form-group input::placeholder {
    color: #b0c3da;
}

.form-container button[type="submit"] {
    background: #1f9dff;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    height: 60px;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.form-container button[type="submit"]:hover {
    background: #1585de;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .object-item-container {
        flex-direction: column;
    }

    .object-item-slider {
        position: relative;
        top: auto;
        align-self: auto;
        width: 100%;
        height: 500px;
        border-right: none;
        border-bottom: 1px solid #e7e7e7;
        border-radius: 20px 20px 0 0;
    }

    .form-container .form-row {
        flex-direction: column;
    }

    .object-item-info h1 {
        max-width: 85%;
    }
}

@media (max-width: 768px) {

    .object-item-section,
    .object-item-form-section {
        padding: 20px;
    }

    .object-item-info {
        padding: 20px;
    }

    .object-item-slider {
        height: 350px;
    }

    .object-item-slider .swiper-thumbs {
        bottom: 10px;
        left: 10px;
        right: 10px;
        height: 60px;
    }

    .object-item-slider .swiper-thumbs .swiper-slide {
        height: 60px;
        width: 90px;
    }

    .object-item-info-header {
        flex-direction: column;
        gap: 15px;
    }

    .object-item-info .actions-row {
        flex-direction: column;
    }

    .form-container {
        padding: 30px 20px;
    }
}

.object-item-slider .swiper-main .swiper-slide {
    height: 100%;
}


.form-container .form-group input.input-error {
    box-shadow: inset 0 0 0 1px #ff4d4f;
}
