@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

.property-checkout {
    padding: 50px 0;
    color: var(--text-color2);
    font-size: 16px;
    line-height: 25px;
    box-sizing: border-box;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.property-checkout__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 550px);
    gap: 60px;
    align-items: flex-start;
}

.property-checkout__content {
    min-width: 0;
}

.property-checkout__back-link {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    text-decoration: none;
    letter-spacing: 0.15px;
    transition: color 0.15s ease;
}

.property-checkout__back-link::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-top: 1px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex-shrink: 0;
    opacity: 0.85;
}

.property-checkout__back-link:hover {
    color: var(--bp-navy);
}

.property-checkout__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 46px;
    color: var(--primary);
    margin: 0 0 40px;
}

.property-checkout__section .property-checkout__heading {
    font-size: 24px;
    line-height: 1.4;
    color: var(--primary);
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--light-border);
}

.property-checkout__section:not(:first-child) {
    margin-top: 60px;
}

.property-checkout__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #efefef;
}

.property-checkout__section:first-of-type .property-checkout__row:last-child {
    border-bottom: 0;
    padding-bottom: 4px;
}

.property-checkout__row .form_title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color2);
    margin-bottom: 8px;
}

.property-checkout__row p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
}

.property-checkout__edit {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color2);
    text-decoration: underline !important;
    white-space: nowrap;
}

.property-checkout__edit:hover {
    color: #0f172a;
}

.property-checkout__form {
    margin-top: 26px;
}

.property-checkout__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
}

.property-checkout__field {
    margin-bottom: 25px;
}

.property-checkout__field label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color2);
    margin-bottom: 12px;
}

.property-checkout__field .form_control {
    width: 100%;
    border: 1px solid var(--light-border);
    border-radius: 10px;
    min-height: 50px;
    padding: 0 20px;
    background-color: var(--white);
    color: var(--text-color2);
    font-size: 16px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.property-checkout__field input::placeholder {
    color: var(--text-color2);
    opacity: 0.7;
}

.property-checkout__submit {
    min-width: 200px;
    justify-content: center;
    align-items: center;
}

.property-checkout__summary-card {
    position: sticky;
    background-color: var(--white);
    border: 1px solid var(--light-border);
    border-radius: 15px;
    padding: 35px 35px;
    top: 100px;
}

.property-checkout__summary-property {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.property-checkout__summary-property .img {
    width: 150px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
}

.property-checkout__summary-property h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: var(--primary);
    margin: 0;
}

.property-checkout__summary-property p {
    font-size: 14px;
    font-weight: 500;
    margin: 8px 0 0;
    color: #6b7280;
}

.property-checkout__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 6px;
    margin: 12px 0 0;
    font-size: 18px;
    line-height: 19px;
}

.property-checkout__stars {
    font-size: 18px;
    color: #78716c;
}

.property-checkout__rating-text {
    color: #78716c;
}

.property-checkout__rating-value {
    font-weight: 600;
}

.property-checkout__summary-divider {
    border-top: 1px solid var(--light-border);
    margin-top: 25px;
    margin-bottom: 25px;
}

.property-checkout__summary-card h4 {
    font-size: 18px;
    margin: 0 0 20px;
    color: var(--primary);
}

.property-checkout__price-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.property-checkout__price-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
    color: #6b7280;
    font-size: 16px;
}

.property-checkout__price-list li:last-child {
    margin-bottom: 0;
}

.property-checkout__price-list strong {
    color: var(--text-color2);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.property-checkout__total {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: -5px 0 0;
}

.property-checkout__total span,
.property-checkout__total strong {
    font-size: 16px;
    font-weight: 700;
}
