* {
    box-sizing: border-box;
    font-family: "Kumbh Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "YOPQ" 300;
   
}

/* Отключение подсветки нажатий */
.mp-nav-btn,
.mp-dropdown-btn,
.how-it-works,
.connect-wallet,
.subscribe-updates,
.mp-search-input,
.mp-clear-icon {
    -webkit-tap-highlight-color: transparent; /* Для мобильных */
    outline: none; /* Для компьютеров */
}

.mp-nav-btn:focus,
.mp-dropdown-btn:focus,
.how-it-works:focus,
.connect-wallet:focus,
.subscribe-updates:focus,
.mp-search-input:focus,
.mp-clear-icon:focus {
    outline: none; /* Убираем outline при фокусе */
}

.marketplace-content{
    overflow-x: hidden;
}

/* Хедер */
.mp-header {
    background-color: #212a33;
    border-bottom: 1px solid #212a33;
    padding: 10px 14px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mp-logo {
    height: 33px;
    margin-bottom: 10px;
}

.mp-nav-buttons {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    width: 100%;
    height: 40px;
}

.mp-nav-buttons::-webkit-scrollbar {
    display: none;
}

.mp-nav-btn {
    background: none;
    border: none;
    color: #8c9aa9;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.mp-nav-btn.mp-active {
    color: white;
    position: relative;
}

.mp-nav-btn.mp-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 5%;
    width: 90%;
    height: 4px;
    border-radius: 3px 3px 0 0;
    background-color: #4db2ff;
}

.mp-new-tag {
    background-color: #3598e3;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 5px;
    font-weight: 600;
}

/* Контейнер */
.mp-container {
    padding: 12px;
    text-align: center;
    min-height: calc(100vh - 120px);
}

.mp-main-title {
    color: white;
    font-weight: bold;
    font-size: 21px;
    margin: 8px 0;
}

.mp-subtitle {
    color: #8c9aa9;
    font-size: 12px;
    margin: 0 10px 15px;
}

.mp-bold {
    font-weight: 600 !important;
}

.mp-learn-more {
    color: #4db2ff;
    text-decoration: none;
    margin-left: 5px;
}

.mp-chevron {
    width: 13px;
    height: 13px;
    vertical-align: middle;
}

.mp-chevron-offer {
    width: 13px;
    height: 13px;
    vertical-align: middle;
}

/* Поиск */
.mp-search-container.mp-full-width {
    width: 100%;
    max-width: 100%;
    margin: 0; /* Убираем все отступы */
    position: relative;
    border-radius: 8px; /* Убираем скругления, чтобы поле было вплотную к краям */
    border: none;
    background-color: #232c36;
}

.mp-search-icon {
    width: 15px;
    height: 15px;
    position: absolute;
    left: 8px; /* Минимальный отступ слева для красоты */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    margin-left: 8px;
}

.mp-search-input {
    width: 100%;
    padding: 12px 36px 12px 28px; /* padding только для текста, чтобы не перекрывал иконки */
    border-radius: 8px; /* Убираем скругления, чтобы поле было вплотную к краям */
    border: none;
    background-color: #232c3600;
    color: white;
    font-size: 14px;
    margin-left: 18px; /* Убираем все отступы */
    
}

.mp-search-input::placeholder {
    color: #84909d;
    margin-left: 10px !important;
}

.mp-clear-icon {
    width: 18px;
    height: 18px;
    position: absolute;
    right: 8px; /* Минимальный отступ справа */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    margin-right: 8px;
}

/* Результаты и дропдауны */
.mp-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mp-results-title {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.mp-dropdowns {
    display: flex;
    gap: 10px;
}

.mp-dropdown {
    position: relative;
}

.mp-dropdown-btn {
    background-color: #242e38;
    color: white;
    font-weight: bold;
    font-size: 13px;
    padding: 5px 9px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1px;
    width: 87px;
    height: 28px;
    justify-content: space-between;
}

.mp-dropdown-btn:hover,
.mp-dropdown-btn.active {
    background-color: #3f9de5;
}

.mp-checkmark-icon {
    width: 14px;
    height: 10px;
}

.mp-sort-icon {
    width: 18px;
    height: 18px;
}

.mp-dropdown-chevron {
    width: 13px;
    height: 13px;
}

/* Выпадающее меню */
.mp-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #2e3945;
    border-radius: 8px; /* Увеличиваем радиус до 8px */
    min-width: 160px;
    z-index: 1;
    overflow: hidden; /* Чтобы скругление работало сверху и снизу */
}

/* Пункты меню */
.mp-dropdown-content a {
    color: white;
    padding: 8px 8px 8px 10px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}

/* Активный пункт и ховер */
.mp-dropdown-content a:hover,
.mp-dropdown-content a.mp-active {
    background-color: transparent; /* Убираем цвет фона */
}

/* Иконка галочки */
.mp-check-icon {
    width: 18px;
    height: 14px;
    margin-right: 5px;
}

/* Карточка */
.mp-card {
    background-color: #212a33;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

.mp-card-header {
    display: flex;
    background-color: rgb(41, 52, 64);
    padding: 7px 2%;
    color: #8c9aa9;
    font-size: 12px;
    font-weight: bold;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.mp-header-left {
    width: 60%;
    text-align: left;
    font-weight: 700;
    margin-left: 8px;
}

.mp-header-right {
    width: 40%;
    text-align: left;
    font-weight: 700;
}

.mp-card-content {
    display: flex;
    background-color: #212a33;
    padding: 5px 2%;
    margin-left: 8px;
}

.mp-content-left {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mp-content-right {
    width: 40%;
    display: flex;
    flex-direction: column;
    position: relative; /* Делаем контейнер позиционированным для абсолютного шеврона */
}

.mp-amount {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 1px;
}

.mp-bold-white {
    color: white;
    font-weight: bold;
    font-size: 13px;
}

.mp-taken-tag {
    color: #ff8633;
    font-size: 10px;
    font-weight: bold;
    background: rgba(243, 134, 61, 0.08);
    border-radius: 4px;
    padding: 2px 6px;
}

.mp-converted.mp-bright-blue {
    color: #4db2ff;
    font-size: 11px;
    align-self: flex-start;
}

.mp-offer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8c9aa9;
    font-size: 11px;
    font-weight: normal;
}

.mp-chevron {
    width: 11px;
    height: 11px;
}

/* Шеврон в оферте */
.mp-content-right .mp-offer {
    width: 17px !important;
    height: 17px !important;
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0.7;
}

/* Футер */
.mp-footer {
    background-color: #111417;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.mp-footer a {
    color: #6d8394;
    font-size: 12px;
    text-decoration: none;
    padding: 14px 20px;
    display: inline-block;
}