.cbh-car-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 28px;
}

.cbh-car-showcase-head {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}

.cbh-price-box {
    flex: 0 0 auto;
    min-width: 160px;
    padding: 14px 18px;
    border: 1px solid rgba(79, 70, 229, 0.18);
    border-radius: var(--cb-radius);
    background: var(--cb-primary-light);
    color: var(--cb-primary);
    text-align: right;
}

.cbh-price-box span,
.cbh-price-box small {
    display: block;
}

.cbh-price-box span {
    font-size: 22px;
    font-weight: 800;
}

.cbh-price-box small {
    color: var(--cb-text-gray);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.cbh-car-gallery {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: var(--cb-radius);
    background: #F3F4F6;
    aspect-ratio: 16 / 9;
}

.cbh-car-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.cbh-car-gallery figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 13px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.92);
    color: var(--cb-text-dark);
    font-size: 12px;
    font-weight: 800;
}

.cbh-gallery-dots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 30px;
}

.cbh-gallery-dots button {
    overflow: hidden;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--cb-radius);
    background: #F3F4F6;
    cursor: pointer;
}

.cbh-gallery-dots button.active {
    border-color: var(--cb-primary);
}

.cbh-gallery-dots img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cbh-detail-block {
    padding: 24px 0;
    border-top: 1px solid var(--cb-border);
}

.cbh-car-detail-grid > .cb-content-box > p {
    margin-bottom: 18px;
}

.cbh-spec-table {
    overflow: hidden;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
}

.cbh-spec-table div {
    display: grid;
    grid-template-columns: 170px 1fr;
    min-height: 52px;
    border-bottom: 1px solid var(--cb-border);
}

.cbh-spec-table div:last-child {
    border-bottom: 0;
}

.cbh-spec-table span,
.cbh-spec-table strong {
    display: flex;
    align-items: center;
    padding: 13px 18px;
}

.cbh-spec-table span {
    background: #F8FAFC;
    color: var(--cb-text-gray);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cbh-spec-table strong {
    color: var(--cb-text-dark);
}

.cb-feature-tags svg {
    width: 18px;
    height: 18px;
    color: var(--cb-primary);
}

.cbh-detail-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cbh-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--cb-text-gray);
    font-size: 14px;
    font-weight: 700;
}

.cbh-contact-line svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: var(--cb-primary);
}

.cbh-sidebar-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.cbh-sidebar-actions .cbh-btn {
    width: 100%;
    padding: 12px 16px;
    white-space: nowrap;
}

.cbh-social-icons {
    display: flex;
    gap: 12px;
}

.cbh-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--cb-radius);
    background: var(--cb-primary-light);
    color: var(--cb-primary);
}

.cbh-social-icons svg {
    width: 20px;
    height: 20px;
}

.cbh-rental-booking {
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    background: var(--cb-bg-white);
    box-shadow: var(--cb-shadow);
    padding: 24px;
}

.cbh-booking-head {
    margin-bottom: 18px;
}

.cbh-rental-booking h2 {
    margin: 8px 0 7px;
    color: var(--cb-text-dark);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.cbh-rental-booking p {
    color: var(--cb-text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.cbh-rental-booking .cbh-booking-trust-line {
    margin-bottom: 10px;
    color: var(--cb-primary);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

.cbh-rental-booking .cbh-main-form {
    display: grid;
    gap: 14px;
}

.cbh-rental-booking .cb-form-group {
    margin-bottom: 0;
}

.cbh-rental-booking .cb-form-group label {
    margin-bottom: 7px;
    color: var(--cb-text-dark);
    font-size: 13px;
    font-weight: 800;
}

.cbh-rental-booking .cb-input-icon-wrap {
    position: relative;
}

.cbh-rental-booking .cb-input-icon-wrap svg {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 17px;
    height: 17px;
    color: var(--cb-text-light);
    pointer-events: none;
    transform: translateY(-50%);
    transition: color 0.2s ease;
}

.cbh-rental-booking .cb-form-group input {
    width: 100%;
    min-height: 48px;
    padding: 12px 15px 12px 44px;
    border: 1px solid var(--cb-border);
    border-radius: 10px;
    background: #fff;
    color: var(--cb-text-dark);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cbh-rental-booking .cb-form-group input::placeholder {
    color: var(--cb-text-light);
}

.cbh-rental-booking .cb-form-group input:focus {
    border-color: var(--cb-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.cbh-rental-booking .cb-input-icon-wrap:focus-within svg {
    color: var(--cb-primary);
}

.cbh-rental-booking input[type="date"] {
    color-scheme: light;
    cursor: pointer;
}

.cbh-rental-booking input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.65;
}

.cbh-rental-booking .cbh-btn-primary {
    min-height: 50px;
    margin-top: 2px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.22);
}

.cbh-rental-booking .cbh-btn-primary:hover {
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.28);
    transform: translateY(-1px);
}

.cbh-rental-booking .cbh-btn-primary:active {
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.2);
    transform: translateY(0);
}

.cbh-rental-booking .developer-btn-loader {
    width: 17px;
    height: 17px;
}

.cbh-booking-trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--cb-border);
}

.cbh-booking-trust-items span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 9px;
    border: 1px solid rgba(79, 70, 229, 0.16);
    border-radius: 999px;
    background: var(--cb-primary-light);
    color: var(--cb-primary);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.cbh-category-car-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -6px 0 16px;
}

.cbh-category-car-features > span {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 30px;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid rgba(209, 213, 219, 0.82);
    border-radius: 8px;
    background: #FAFBFF;
    color: var(--cb-text-gray);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.cbh-category-car-features > span > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cbh-category-car-features svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    color: var(--cb-primary);
    opacity: 0.82;
}

.cbh-category-car-features > .cbh-category-car-feature-more {
    background: #F8FAFF;
    color: var(--cb-primary);
}

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

    .cbh-detail-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .cbh-car-showcase-head,
    .cbh-sidebar-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cbh-price-box {
        width: 100%;
        text-align: left;
    }

    .cbh-car-gallery {
        aspect-ratio: 4 / 3;
    }

    .cbh-spec-table div {
        grid-template-columns: 1fr;
    }

    .cbh-rental-booking {
        padding: 20px;
    }

    .cbh-rental-booking h2 {
        font-size: 20px;
    }

    .cbh-rental-booking .cb-form-group input,
    .cbh-rental-booking .cbh-btn-primary {
        min-height: 50px;
    }

    .cbh-booking-trust-items span {
        max-width: calc(50% - 4px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
    
