/* [KH-P07D4-SMART-GARAGE-PROFILE-REAL-VEHICLES:BEGIN] */
#kh-smart-garage-r1a-static[data-kh-garage-p07d4="real-vehicles"] {
    min-height: 0;
    overflow: hidden;
}

#kh-smart-garage-r1a-static[data-kh-garage-p07d4="real-vehicles"] .kh-garage-r2-trigger {
    z-index: 1;
}

#kh-smart-garage-r1a-static[data-kh-garage-p07d4="real-vehicles"] .kh-garage-r1a-header {
    position: relative;
    z-index: 3;
    pointer-events: none;
}

#kh-smart-garage-r1a-static[data-kh-garage-p07d4="real-vehicles"] .kh-garage-r1c-showcase,
#kh-smart-garage-r1a-static[data-kh-garage-p07d4="real-vehicles"] .kh-garage-r1a-categories,
#kh-smart-garage-r1a-static[data-kh-garage-p07d4="real-vehicles"] .kh-garage-r1c-copy-panel {
    display: none !important;
}

/* [KH-P07D4R2-HIDDEN-STATE-CASCADE-FIX:BEGIN] */
#kh-smart-garage-r1a-static[data-kh-garage-p07d4="real-vehicles"] [hidden] {
    display: none !important;
}
/* [KH-P07D4R2-HIDDEN-STATE-CASCADE-FIX:END] */

.kh-garage-p07d4-preview {
    position: relative;
    z-index: 4;
    margin-top: 14px;
    pointer-events: auto;
}

.kh-garage-p07d4-state {
    min-height: 96px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: linear-gradient(
        145deg,
        rgba(16, 31, 48, 0.78),
        rgba(12, 21, 36, 0.72)
    );
    color: rgba(226, 232, 240, 0.82);
}

.kh-garage-p07d4-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
}

.kh-garage-p07d4-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(125, 211, 252, 0.22);
    border-top-color: rgba(125, 211, 252, 0.96);
    border-radius: 50%;
    animation: kh-garage-p07d4-spin 0.9s linear infinite;
}

.kh-garage-p07d4-list {
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 2px 1px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.kh-garage-p07d4-list::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.kh-garage-p07d4-vehicle,
.kh-garage-p07d4-add {
    position: relative;
    flex: 0 0 148px;
    min-width: 0;
    min-height: 132px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 17px;
    color: #f8fafc;
    background: linear-gradient(
        145deg,
        rgba(31, 47, 66, 0.92),
        rgba(20, 31, 48, 0.9)
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 20px rgba(2, 8, 23, 0.18);
    text-align: left;
    scroll-snap-align: start;
    cursor: pointer;
    touch-action: manipulation;
}

.kh-garage-p07d4-vehicle:focus-visible,
.kh-garage-p07d4-add:focus-visible,
.kh-garage-p07d4-open-all:focus-visible {
    outline: 2px solid rgba(125, 211, 252, 0.92);
    outline-offset: 2px;
}

.kh-garage-p07d4-vehicle-media {
    position: relative;
    display: flex;
    width: 100%;
    height: 66px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 13px;
    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(56, 189, 248, 0.2),
            transparent 54%
        ),
        rgba(15, 23, 42, 0.68);
}

.kh-garage-p07d4-vehicle-icon {
    font-size: 30px;
    line-height: 1;
}

.kh-garage-p07d4-vehicle-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kh-garage-p07d4-vehicle-title,
.kh-garage-p07d4-vehicle-meta,
.kh-garage-p07d4-add-label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kh-garage-p07d4-vehicle-title {
    margin-top: 9px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.kh-garage-p07d4-vehicle-meta {
    margin-top: 4px;
    color: rgba(203, 213, 225, 0.68);
    font-size: 10px;
    line-height: 1.2;
}

.kh-garage-p07d4-add {
    flex-basis: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-style: dashed;
    border-color: rgba(96, 165, 250, 0.42);
    background: linear-gradient(
        145deg,
        rgba(30, 64, 175, 0.19),
        rgba(15, 23, 42, 0.78)
    );
}

.kh-garage-p07d4-add-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.28);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.2);
    font-size: 26px;
    line-height: 1;
}

.kh-garage-p07d4-add-label {
    width: 100%;
    margin-top: 9px;
    color: rgba(219, 234, 254, 0.9);
    font-size: 10px;
    font-weight: 750;
}

.kh-garage-p07d4-empty,
.kh-garage-p07d4-error {
    text-align: center;
}

.kh-garage-p07d4-state-title {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 800;
}

.kh-garage-p07d4-state-text {
    margin-top: 5px;
    color: rgba(203, 213, 225, 0.7);
    font-size: 11px;
    line-height: 1.4;
}

.kh-garage-p07d4-open-all {
    position: relative;
    z-index: 5;
    display: flex;
    width: 100%;
    min-height: 34px;
    margin-top: 4px;
    align-items: center;
    justify-content: space-between;
    padding: 6px 4px 0;
    border: 0;
    color: rgba(191, 219, 254, 0.86);
    background: transparent;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
    touch-action: manipulation;
}

.kh-garage-p07d4-open-all::after {
    content: "›";
    width: 28px;
    height: 28px;
    border: 1px solid rgba(125, 211, 252, 0.42);
    border-radius: 50%;
    color: #e0f2fe;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
}

@keyframes kh-garage-p07d4-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 390px) {
    .kh-garage-p07d4-vehicle {
        flex-basis: 136px;
    }

    .kh-garage-p07d4-add {
        flex-basis: 84px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kh-garage-p07d4-spinner {
        animation: none;
    }

    .kh-garage-p07d4-list {
        scroll-behavior: auto;
    }
}
/* [KH-P07D4-SMART-GARAGE-PROFILE-REAL-VEHICLES:END] */
