/* ===== СТИЛИ РАЗДЕЛА MARKET: карточки подарков, фильтры, коллекции/модели, бандлы ===== */




/* Filter sheet styles */
.filter-sheet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #2c2c2e;
    cursor: pointer;
    transition: background 0.15s;
}


.filter-sheet-item:active { background: rgba(255,255,255,0.05); }


.filter-sheet-item.selected { background: transparent; }


.filter-sheet-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}


.filter-sheet-item-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    background: #2c2c2e;
    transition: opacity 0.2s ease;
}


.filter-sheet-item-imgwrap {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #2c2c2e;
    flex-shrink: 0;
}


.filter-sheet-item-imgwrap .filter-sheet-item-img {
    position: absolute;
    inset: 0;
}


.filter-sheet-item-imgwrap .filter-sheet-item-img-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -9px;
    margin-left: -9px;
}


.filter-sheet-item-ph {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #2c2c2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}


.filter-sheet-item-name {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
}


.filter-sheet-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #3a3a3c;
    display: flex;
    align-items: center;
    justify-content: center;
}


.filter-sheet-item.selected .filter-sheet-check {
    background: #007aff;
    border-color: #007aff;
}


.filter-sheet-item.selected .filter-sheet-check::after {
    content: '✓';
    font-size: 12px;
    color: #fff;
    font-weight: 700;
}



.banners-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    padding: 16px 8px;
    padding-left: calc(8px + var(--safe-area-left));
    padding-right: calc(8px + var(--safe-area-right));
}



.banners-wrapper {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    position: relative;
    z-index: 2;
}



.banners-wrapper::-webkit-scrollbar {
    display: none;
}



.banner-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-right: 12px;
}



.banner-item:last-child {
    margin-right: 0;
}



.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}



.filters-section {
    width: 100%;
    padding: 0 16px;
    padding-left: calc(16px + var(--safe-area-left));
    padding-right: calc(16px + var(--safe-area-right));
    margin-top: 20px;
}



.quick-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}



.quick-search-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #1a1a1a;
    border-radius: 99em;
    padding: 12px 16px;
    flex: 1;
    min-width: 0;
    box-shadow: var(--glass-shadow);
}



.quick-search-icon {
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    flex-shrink: 0;
}



.quick-search-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
}



.quick-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}



.filters-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    width: 100%;
    padding: 4px;
    position: relative;
    border-radius: 99em;
    background-color: #1a1a1a;
    box-shadow: var(--glass-shadow);
}



.filter-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    flex: 1;
    text-align: center;
    border-radius: 99em;
    position: relative;
    z-index: 1;
}



.filter-tab.active {
    color: var(--primary);
    background-color: rgba(0, 0, 0, 0.35);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        inset 1px 1px 0 0 rgba(255, 255, 255, 0.15),
        inset -1px -1px 0 0 rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.15);
}



.filter-tab:active {
    transform: scale(0.97);
}



.filters-row {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    padding-bottom: 4px;
}



.filter-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #1a1a1a;
    box-shadow: var(--glass-shadow);
    border: none;
    border-radius: 99em;
    padding: 12px 20px;
    flex: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 0;
}



.filter-btn:active {
    background-color: #1f1f1ff2;
    transform: scale(0.97);
}



.collection-btn {
    background-color: #1a1a1a;
    border: none;
}



.collection-btn:active {
    background-color: #1f1f1ff2;
}



.collection-btn-text {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}



.collection-btn-arrow {
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease;
}



.collection-btn:active .collection-btn-arrow {
    transform: translateY(2px);
}



.view-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #212020;
    box-shadow: var(--glass-shadow);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}



.view-toggle-btn:active {
    background-color: #1f1f1ff2;
    transform: scale(0.95);
}



.view-toggle-btn .view-icon {
    transition: opacity 0.2s ease;
}



.view-toggle-btn .view-icon.hidden {
    display: none;
}



.filter-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #212020;
    box-shadow: var(--glass-shadow);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}



.filter-expand-btn:active {
    background-color: #1f1f1ff2;
    transform: scale(0.95);
}



.filter-expand-btn.active {
    background-color: #ffffff;
    color: #1a1a1a;
}



.filter-expand-btn.active .filter-expand-icon {
    transform: rotate(180deg);
}



.filter-expand-icon {
    transition: transform 0.2s ease;
}



.price-filter-panel {
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    max-height: 80px;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease, margin 0.3s ease;
}



.price-filter-panel.hidden {
    max-height: 0;
    opacity: 0;
    padding: 0 16px;
    margin-bottom: 0;
    pointer-events: none;
}



.price-filter-slider-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}



.price-filter-slider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    outline: none;
}



.price-filter-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}



.price-filter-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}



.price-filter-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    min-width: 80px;
}



.price-filter-value {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}



.price-filter-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}



.filter-label {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}



.filter-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 6px;
}



.filter-value span {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.2;
}



.filter-arrows {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    flex-shrink: 0;
}



.filter-arrows svg {
    width: 8px;
    height: 4px;
}



.filter-more-btn {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    flex-shrink: 0;
    color: #000000;
}



.filter-more-btn:active {
    opacity: 0.7;
}



.filter-more-btn svg {
    width: 16px;
    height: 16px;
}



.nft-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 16px;
    padding-left: calc(16px + var(--safe-area-left));
    padding-right: calc(16px + var(--safe-area-right));
    margin-top: 20px;
    padding-bottom: 20px;
}



.nft-cards-grid.list-view {
    grid-template-columns: 1fr;
    gap: 0;
}



.nft-cards-grid.list-view .nft-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}



.nft-cards-grid.list-view .nft-card * {
    transition: none !important;
}



.nft-cards-grid.list-view .nft-card-image {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}



.nft-cards-grid.list-view .nft-card-image .nft-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}



.nft-cards-grid.list-view .nft-card-content {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
}



.nft-cards-grid.list-view .nft-card-info {
    display: contents;
}



.nft-cards-grid.list-view .nft-card-title {
    grid-column: 1;
    grid-row: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}



.nft-cards-grid.list-view .nft-card-id {
    grid-column: 1;
    grid-row: 2;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}



.nft-cards-grid.list-view .nft-card-footer {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
}



.nft-cards-grid.list-view .nft-card-price-btn {
    padding: 8px 14px;
    font-size: 14px;
    min-width: 90px;
    justify-content: center;
    transition: none;
}



.nft-cards-grid.list-view .nft-card-cart-btn {
    width: 36px;
    height: 36px;
}



.nft-cards-grid.hidden,
.bundles-grid.hidden {
    display: none !important;
}



.load-more-btn {
    display: block;
    width: calc(100% - 32px);
    margin: 20px 16px 28px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 99em;
    box-shadow: var(--glass-shadow);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.15),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.1);
}



.load-more-btn:active {
    transform: scale(0.97);
    background: rgba(80, 80, 87, 0.6);
}



.bundle-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: var(--glass-shadow);
}



.bundle-card:active {
    transform: scale(0.98);
}



.bundle-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    margin: 8px;
}



.bundle-preview-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2a2d 0%, #1f1f21 100%);
}



.bundle-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.bundle-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}



.bundle-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}



.bundle-count {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}



.bundle-footer {
    padding: 0 12px 12px;
}



.bundle-price-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 99em;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    box-shadow: var(--glass-shadow);
}



.bundle-price-btn:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.18);
}



.bundle-price-btn .ton-icon-small {
    width: 16px;
    height: 16px;
}



.bundle-drawer {
    padding-bottom: calc(16px + var(--safe-area-bottom));
}



.bundle-list {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 16px;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
}



.bundle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #2c2c2e;
}



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



.bundle-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}



.bundle-item-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: linear-gradient(135deg, #2a2a2d 0%, #1f1f21 100%);
}



.bundle-item-info {
    display: flex;
    flex-direction: column;
}



.bundle-item-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}



.bundle-item-id {
    color: #9ca3af;
    font-size: 12px;
}



.nft-card {
    background: rgba(40, 39, 39, 0.65);
    box-shadow: var(--card-glass-shadow);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border: none;
}



@supports (corner-shape: squircle) {
    .nft-card {
        corner-shape: squircle;
        border-radius: 60px;
    }
}



.nft-card-image {
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
    border-radius: 26px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #9d6b5a 0%, #7a4d40 55%, #6c4338 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}



@supports (corner-shape: squircle) {
    .nft-card-image {
        corner-shape: squircle;
        border-radius: 50px;
    }
}



.nft-card-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='46' height='46'><path d='M14 34 a9 9 0 1 1 18 0' fill='none' stroke='rgba(0,0,0,0.22)' stroke-width='3.4' stroke-linecap='round'/></svg>");
    background-size: 42px 42px;
    pointer-events: none;
}



.nft-card-content .drawer-price-btn {
    width: 100%;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 6px 14px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}



.nft-card-content .drawer-price-label {
    font-size: 12px;
    color: #1f2937;
    font-weight: 500;
}



.nft-card-content .drawer-price-value {
    font-size: 14px;
    color: #1f2937;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}



.nft-card-content .drawer-price-icon {
    width: 14px;
    height: 14px;
    color: #1f2937;
    flex-shrink: 0;
}



.nft-card-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}



.nft-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.nft-card-id {
    font-size: 12px;
    color: #6d6d71;
    margin: 0;
    margin-top: 2px;
    line-height: 1.2;
    font-weight: 600;
}



.nft-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-top: auto;
    padding-top: 6px;
}



.nft-card-price-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 34px;
    background: #1689ff;
    border: none;
    border-radius: 99em;
    padding: 0 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 0;
    overflow: hidden;
    flex: 1;
    box-shadow: var(--card-glass-shadow);
}



.nft-card-price-btn > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}



.nft-card-price-btn .ton-icon-small {
    flex-shrink: 0;
}



.nft-card-price-btn:hover {
    background: color-mix(in srgb, #1689ff 90%, transparent);
}



.nft-card-price-btn:active {
    background: color-mix(in srgb, #1689ff 80%, transparent);
    transform: scale(0.96);
}



.nft-card-cart-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
    background: #3a3a3a;
    border: none;
    border-radius: 99em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    flex-shrink: 0;
    box-shadow: var(--card-glass-shadow);
    position: relative;
    overflow: hidden;
}



.nft-card-cart-btn:hover {
    background: color-mix(in srgb, #3a3a3a 80%, transparent);
}



.nft-card-cart-btn:active {
    transform: scale(0.88);
}



.nft-card-cart-btn svg {
    position: absolute;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s ease;
}



.nft-card-cart-btn .cart-icon-outline {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}



.nft-card-cart-btn .check-icon-outline {
    opacity: 0;
    transform: scale(0.3) rotate(-45deg);
    width: 16px;
    height: 16px;
}



.nft-card-cart-btn.in-cart .cart-icon-outline {
    opacity: 0;
    transform: scale(0.3) rotate(45deg);
}



.nft-card-cart-btn.in-cart .check-icon-outline {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}



.confirm-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99em;
    padding: 12px 16px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}



.confirm-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}



.confirm-card-img {
    width: 48px;
    height: 48px;
    border-radius: 99em;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
}



.confirm-card-info {
    display: flex;
    flex-direction: column;
}



.confirm-card-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}



.confirm-card-id {
    color: #9ca3af;
    font-size: 12px;
}



.confirm-card-right {
    display: flex;
    gap: 16px;
    text-align: right;
}



.confirm-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}



.confirm-price-val {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}



.confirm-price-label {
    color: #636366;
    font-size: 11px;
}



.collection-search-wrapper {
    position: relative;
    margin-bottom: 16px;
    width: 100%;
}



.collection-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8e8e93;
    font-size: 18px;
}



.collection-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 99em;
    padding: 14px 20px 14px 48px;
    color: #fff;
    font-size: 15px;
    outline: none;
    box-shadow: var(--glass-shadow);
    transition: background 0.2s;
}



.collection-search-input:focus {
    background: rgba(255, 255, 255, 0.16);
}



.collection-search-input::placeholder {
    color: #636366;
}



.collection-list {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 16px;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
}



.collection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #2c2c2e;
    cursor: pointer;
}



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



.collection-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}



.collection-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #3a3a3c;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s;
}



.collection-item.selected .collection-checkbox {
    background: #007aff;
    border-color: #007aff;
}



.collection-item.selected .collection-checkbox::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}



.collection-item-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}



.collection-item-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}



.collection-item-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}



.collection-item-price {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}



.collection-item-label {
    color: #636366;
    font-size: 11px;
}



#collectionDrawer .collection-search-input {
    font-size: 16px;
}



.nft-card-cart-btn.in-cart {
    background: rgba(73, 223, 100, 0.15);
    color: #49df64;
    box-shadow: 0 0 12px rgba(73, 223, 100, 0.2), var(--glass-shadow);
}



/* ── Cart button add/remove animation (точно как в эталоне) ── */
.nft-card-cart-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 99em;
    background: #49df64;
    opacity: 0;
    transform: scale(0.4);
    pointer-events: none;
}



.nft-card-cart-btn.pop::after {
    animation: cartRingPulse 0.45s ease-out;
}



.filter-sheet-item-img-spinner {
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-top-color: rgba(255, 255, 255, 0.75);
    animation: imgSpin 0.7s linear infinite;
    transform-origin: center center;
    flex-shrink: 0;
}




/* ── Price button glow on card ────────────────────────────── */
.nft-card-price-btn:active {
    box-shadow: 0 0 12px rgba(35, 130, 255, 0.2);
}



/* ── Banner ы ──────────────────────────────── */
.banner-item:active {
    transform: scale(0.98);
}



/* ── Bundle card: hide placeholder arc ── */
.nft-card[data-bundle-id] .nft-card-image::before {
    display: none;
}
