.landing-banner {
    height: 100vh;
    background: url("/sites/kdhoangkim/home/img/banner.jpeg")
        center center no-repeat;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-bottom: -100px;
    z-index: 1;
}


/* ---------- Ô tìm sản phẩm ở trang chủ ---------- */

/*
 * Khối này nằm BÊN TRONG banner/hero (xem chỗ @include ở index.blade.php).
 * Nền hero của site là ảnh/dải màu, nên thẻ để trắng đặc + bóng đổ cho chắc
 * đọc, thay vì kính mờ dễ chìm khi ảnh nền sáng.
 * Nằm trong .hero-text-box của banner; dùng lại --main-color/--main-bg-lighter của bộ Sneat.
 */
.site-search {
    margin-top: 1.5rem;
    max-width: 100%;
}

.site-search-card {
    display: block;
    background: #fff;
    border: 0;
    border-radius: .5rem;
    box-shadow: 0 .5rem 1.5rem rgba(75, 70, 92, .18);
    padding: .875rem;
    text-align: left;
}

.site-search-row {
    display: flex;
    gap: .5rem;
}

.site-search-input {
    flex: 1;
    min-width: 0;
    padding: .7rem 1rem;
    border: 1px solid #dbdade;
    border-radius: .375rem;
    background: #fff;
    color: #5d596c;
    font-size: .95rem;
}

.site-search-input:focus {
    outline: none;
    border-color: var(--main-color, #f8d239);
    box-shadow: 0 0 0 .2rem rgba(75, 70, 92, .12);
}

.site-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    flex: 0 0 auto;
    padding: .7rem 1.4rem;
    border: 0;
    border-radius: .375rem;
    background: var(--main-color, #f8d239);
    color: #282209;
    font-weight: 700;
}

.site-search-btn:hover {
    background: var(--main-color-hover, #d1b02c);
    color: #282209;
}

.site-search-platforms {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .375rem;
    margin-top: .625rem;
}

.site-search-platform {
    margin: 0;
}

/* Ẩn ô chọn thật, phần nhìn thấy là thẻ span bên trong */
.site-search-platform input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.site-search-platform span {
    display: flex;
    align-items: center;
    gap: .375rem;
    padding: .3rem .625rem;
    border: 1px solid #dbdade;
    border-radius: .375rem;
    background: #f8f7fa;
    color: #5d596c;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
}

.site-search-platform img {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    object-fit: contain;
    /* Sàn chưa chọn thì logo nhạt đi cho mắt bắt ngay sàn đang chọn */
    opacity: .5;
    transition: opacity .15s;
}

.site-search-platform input:checked + span {
    border-color: var(--main-color, #f8d239);
    background: #fff;
}

.site-search-platform input:checked + span img {
    opacity: 1;
}

.site-search-platform input:focus-visible + span {
    outline: 2px solid var(--main-color, #f8d239);
    outline-offset: 2px;
}

.site-search-note {
    color: #6f6b7d;
    font-size: .75rem;
    margin-left: auto;
}

@media (max-width: 767.98px) {
    .site-search {
        max-width: 100%;
    }

    .site-search-btn span {
        display: none;
    }

    /* Màn hẹp thì dòng chú thích chiếm cả hàng, chen ngang sẽ vỡ bố cục */
    .site-search-note {
        margin-left: 0;
        width: 100%;
    }
}
