.qr-company-name {
    display: block;
    max-width: 180px;
    overflow: hidden;
    color: var(--title-color);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-profile-cover {
    margin: 14px 15px 22px;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.qr-cover-band {
    position: relative;
    min-height: 132px;
    background: linear-gradient(135deg, #0baf9a 0%, #1d4ed8 100%);
}

.qr-cover-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--qr-cover-image, url("../images/banner/home1.jpg"));
    background-position: center;
    background-size: cover;
    opacity: 0.24;
}

.qr-profile-row {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 0 18px 18px;
}

.qr-profile-logo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    margin-top: -48px;
    overflow: hidden;
    border: 5px solid #ffffff;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.qr-profile-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-profile-info {
    min-width: 0;
    padding-top: 12px;
}

.qr-profile-info h1 {
    margin: 0 0 6px;
    overflow: hidden;
    color: #222222;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-profile-info p {
    margin: 0;
    color: #777777;
    font-size: 14px;
    line-height: 1.35;
}

.qr-simple-header {
    min-height: 54px;
}

.index-page > .search-box {
    position: relative;
    display: block;
    margin: 0 15px 20px;
}

.index-page > .search-box input {
    width: 100%;
    padding: 10px 47px;
    border: 1px solid #ceefeb;
    border-radius: 4px;
    background-color: #fafafa;
    color: #222222;
}

.index-page > .search-box input::placeholder {
    color: #cacaca;
}

.index-page > .search-box .search,
.index-page > .search-box .mic {
    position: absolute;
    top: 50%;
    z-index: 1;
    font-size: 21px;
    transform: translateY(-50%);
}

.index-page > .search-box .search {
    left: 16px;
}

.index-page > .search-box .mic {
    right: 16px;
}

.qr-company-meta {
    max-width: 155px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-empty {
    padding: 28px 18px;
    color: var(--content-color);
    text-align: center;
}

.qr-search-submit {
    display: inline-grid;
    place-items: center;
    color: inherit;
    cursor: pointer;
}

.qr-detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 34px;
    border-radius: 18px;
    background: var(--theme-color);
    color: #ffffff;
}

.qr-detail-button svg {
    width: 18px;
    height: 18px;
}

.qr-product-image {
    object-fit: contain;
    background: #f8fafc;
}

.qr-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    color: #ffffff;
}

.qr-panel-link {
    color: var(--theme-color);
    font-weight: 700;
}

.shop-page.search-active .nav-tab {
    display: none;
}

.shop-page.search-active .tab-content > .tab-pane {
    display: block;
    opacity: 1;
}

.shop-page.search-active .banner {
    display: none;
}

.menu-search-empty {
    display: none;
}

.product-section .qr-description {
    line-height: 1.65;
}

@media (max-width: 480px) {
    .qr-profile-cover {
        margin: 10px 15px 18px;
    }

    .qr-cover-band {
        min-height: 106px;
    }

    .qr-profile-row {
        align-items: center;
        gap: 12px;
        padding: 0 14px 14px;
    }

    .qr-profile-logo {
        width: 86px;
        height: 86px;
        flex-basis: 86px;
        margin-top: -34px;
        border-width: 4px;
        border-radius: 16px;
    }

    .qr-profile-info h1 {
        font-size: 18px;
        white-space: normal;
    }
}
