.search-box {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    background: #1a1d21;
    border: 1px solid #2a2d31;
    border-radius: 12px;
    max-height: 60vh;
    overflow-y: auto;
    z-index: 999;
    display: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
    animation: slideDown 0.2s ease;
}

.search-results.show {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px;
    min-height: 56px;

    border-bottom: 1px solid #2a2d31;
    cursor: pointer;

    transition: background 0.15s ease;
}

.search-result-item:hover {
    background: #4c7fbd;
    color: #fff;
}

.search-result-item:hover .search-result-description {
    color: #fff;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 40px;
    height: 40px;

    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #333;

    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-category {
    color: #00d4ff;
    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.search-result-description {
    color: #aaa;
    font-size: 11px;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-results,
.search-loading {
    padding: 14px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.search-loading {
    color: #00d4ff;
}

.search-results::-webkit-scrollbar {
    width: 4px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 2px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.txt-search:focus {
    border-color: #00d4ff !important;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2) !important;
}

@media (max-width: 390px) {
    .search-results {
        position: fixed;
        top: 110px;
        right: 10px;
        width: auto;
        max-width: 300px;
        margin-left: 90px;
        max-height: calc(100vh - 90px);
        border-radius: 14px;
        z-index: 10000;
    }

    .container {
        padding: 5px;
    }
}

@media (max-width: 768px) {
    .us-grid-clayover {
        padding: 10px;
    }

    #append-rate {
        display: none;
    }
}

@media screen and (min-width: 400px) and (max-width: 430px) {
    .search-results {
        position: fixed;
        top: 110px;
        right: 10px;
        width: auto;
        max-width: 300px;
        margin-left: 130px;
        max-height: calc(100vh - 90px);
        border-radius: 14px;
        z-index: 10000;
    }

    .container {
        padding: 5px;
    }

    .us-grid-clayover {
        grid-template-columns: repeat(var(--col));
    }
}

@media (min-width: 1900px) {
    .search-box {
        position: relative;
        margin: 0 auto;
    }

    .search-results {
        position: absolute;
        left: 90%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 280px;
        top: calc(100% + 2px);
    }

    .container {
        padding: 5px;
    }
}

@media screen and (min-width: 1300px) and (max-width: 1370px) {
    .search-box {
        position: relative;
        margin: 0 auto;
    }

    .search-results {
        position: absolute;
        left: 87%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 280px;
        top: calc(100% + 2px);
    }

    .container {
        padding: 10px;
    }
}

.img-thumbnail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 5px;
}

.img-thumbnail img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 5px;
}

.img-thumbnail h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
}

.img-thumbnail {
    flex-wrap: nowrap;
}

.img-thumbnail h1 {
    display: inline-block;
}

.for-information {
    width: 100%;
    color: #d7dde1;
    min-height: 80vh;
}

.for-information h1 {
    font-size: 24px;
    color: #ffcc00;
    margin-bottom: 20px;
    font-weight: bold;
}

.for-information h2,
.for-information h3,
.for-information h4 {
    font-weight: bold;
    font-size: 20px;
    margin: 16px 0;
}

.for-information p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.8;
}

.for-information a {
    color: #e5d412;
}

.full-information {
    background-color: #1b67c1;
    border-radius: 5px;
    overflow: hidden;
}

.pad-info {
    padding: 20px;
    box-sizing: border-box;
}

.inner-mobile-menu {
    padding: 10px;
}