.byd-interior-picker {
    position: relative;
    max-width: 100%;
    margin: 60px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.byd-interior-image-wrapper {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.byd-interior-img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.5s ease;
}

/* Hộp chọn màu đè lên ảnh - giống 100% ảnh bạn gửi */
.byd-interior-selector {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 380px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}


/* Text bên trái */
.byd-selector-text {
    text-align: left;
    flex: 1;
}

.byd-selector-text .label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 4px 0;
    font-weight: 500;
}

.byd-selector-text .name {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.byd-selector-text .note {
    font-size: 13px;
    color: #888;
    margin: 4px 0 0 0;
}

/* Nút chọn màu */
.byd-interior-swatches {
    display: flex;
    gap: 12px;
}

.byd-interior-swatch {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    overflow: hidden;
}

.byd-interior-swatch.active {
    border-color: #007bff;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(0,123,255,0.3);
}

/* Dấu tick xanh */
.byd-interior-swatch.active::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0,0,0,0.6);
    z-index: 2;
}

/* Lớp màu thực tế */
.byd-interior-swatch span {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 9px;
}

/* Responsive */
@media (max-width: 768px) {
    .byd-interior-selector {
        min-width: 300px;
        padding: 14px 18px;
        bottom: 20px;
    }
    .byd-selector-text .name { font-size: 20px; }
    .byd-interior-swatch { width: 42px; height: 42px; }
}

/* ========================================= */
/* MOBILE: Khung chọn màu nội thất xuống dưới ảnh */
/* ========================================= */
@media (max-width: 768px) {
    /* Bước 1: Bỏ absolute của wrapper để selector không còn đè */
    .byd-interior-image-wrapper {
        position: static !important;
        overflow: visible !important;
        margin-bottom: 30px; /* khoảng cách giữa ảnh và khung chọn */
    }

    /* Bước 2: Đưa khung chọn màu ra khỏi ảnh, thành block bình thường */
    .byd-interior-selector {
        position: static !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        border-radius: 0 0 16px 16px;
        padding: 18px 20px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.25);
        border: 3px solid transparent;
    }

    /* Thu nhỏ text và nút cho mobile */
    .byd-selector-text .label {
        font-size: 13px;
    }
    .byd-selector-text .name {
        font-size: 22px;
    }
    .byd-selector-text .note {
        font-size: 12.5px;
    }

    .byd-interior-swatches {
        gap: 12px;
    }
    .byd-interior-swatch {
        width: 48px;
        height: 48px;
    }
}