.barter-theme-purple {
    --barter-accent: var(--barter-accent);
    --barter-accent-hover: var(--barter-accent-hover);
    --barter-accent-deep: var(--barter-accent-deep);
    --barter-accent-rgb: 176, 0, 91;
    --barter-accent-soft: var(--barter-accent-soft);
    --barter-accent-soft-strong: var(--barter-accent-soft-strong);
    --barter-accent-border: var(--barter-accent-border);
    --barter-accent-border-strong: var(--barter-accent-border-strong);
}

.barter-theme-red {
    --barter-accent: #ff0000;
    --barter-accent-hover: #d90000;
    --barter-accent-deep: #c90000;
    --barter-accent-rgb: 255, 0, 0;
    --barter-accent-soft: #FFF5F5;
    --barter-accent-soft-strong: #FFEDED;
    --barter-accent-border: #FFD6D6;
    --barter-accent-border-strong: #FFCACA;
}

.barter-page {
    padding: 44px 0 70px;
    color: #111827;
    background: #F3F3F3;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
}

.barter-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
}

.barter-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
}

.barter-intro {
    min-width: 0;
}

.barter-title {
    margin: 0;
    color: #101828;
    font-family: 'Rubik-ExtraBold', 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -2.4px;
}

.barter-title span {
    color: var(--barter-accent);
}

.barter-subtitle {
    max-width: 820px;
    margin: 6px 0 0;
    color: #6B7280;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: normal;
}

.barter-top-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 6px;
}

.barter-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #667085;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    cursor: pointer;
    white-space: nowrap;
}

.barter-help-icon {
    width: 18px;
    color: #6B7280;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    flex: 0 0 18px;
}

.barter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.barter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #111827;
    font-family: 'Rubik-Medium', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.15px;
    cursor: pointer;
    white-space: nowrap;
}

.barter-tab-active {
    background: var(--barter-accent);
    color: #ffffff;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(var(--barter-accent-rgb), 0.25);
}

.barter-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.barter-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #D9DEE8;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-family: 'Rubik-Medium', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.1px;
    cursor: pointer;
}

.barter-filter-btn span:first-child {
    color: var(--barter-accent);
}

.barter-filter-arrow {
    color: #98A2B3;
    font-size: 18px;
    line-height: 1;
}

.barter-extra-filters {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
    padding: 18px 16px;
    border: 1px solid #EAECF0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: none;
    box-sizing: border-box;
}

.barter-extra-filters-open {
    display: grid;
}

.barter-extra-filter {
    min-width: 0;
}

.barter-extra-label {
    display: block;
    margin-bottom: 10px;
    color: #5F6B7A;
    font-family: 'Rubik-SemiBold', 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 16px;
    text-transform: uppercase;
}

.barter-extra-select {
    width: 100%;
    height: 48px;
    padding: 0 44px 0 16px;
    border: 1px solid #D9DEE8;
    border-radius: 11px;
    background: #F3F2F1;
    color: #101828;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    box-sizing: border-box;
    outline: none;
}

.barter-extra-select span {
    color: #98A2B3;
    font-size: 18px;
    line-height: 1;
}

.barter-extra-select:focus {
    border-color: #D9DEE8;
    background: #F3F2F1;
    box-shadow: none;
}

.barter-extra-select option {
    min-height: 44px;
    padding: 12px 16px;
    background: #F3F2F1;
    color: #101828;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 44px;
}

.barter-extra-select option:checked {
    background: #E7E5E4;
    color: #101828;
}

.barter-extra-select option:hover {
    background: #E7E5E4;
}

.barter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.barter-tag {
    height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    background: #ffffff;
    font-family: 'Rubik-Medium', 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.1px;
    cursor: pointer;
}

.barter-tag-red {
    border: 1px solid #FDA29B;
    color: #D92D20;
    background: #FFF1F1;
}

.barter-tag-blue {
    border: 1px solid #B2CCFF;
    color: #155EEF;
    background: #EFF4FF;
}

.barter-tag-green {
    border: 1px solid #A6F4C5;
    color: #039855;
    background: #ECFDF3;
}

.barter-tag-purple {
    border: 1px solid #D6BBFB;
    color: #7A5AF8;
    background: #F4F3FF;
}

.barter-tag-orange {
    border: 1px solid #FDBA74;
    color: #EA580C;
    background: #FFF7ED;
}

.barter-found {
    margin-top: 28px;
    color: #667085;
    font-size: 15px;
}



.barter-tab-icon {
    font-size: 14px;
    line-height: 1;
    flex: 0 0 auto;
}

.barter-filter-svg {
    width: 16px;
    height: 16px;
    color: var(--barter-accent);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 16px;
    overflow: visible;
}

.barter-filter-svg circle {
    fill: var(--barter-accent);
    stroke: var(--barter-accent);
    stroke-width: 1.8;
}

.barter-filter-btn-active {
    border-color: rgba(var(--barter-accent-rgb), 0.35);
    background: var(--barter-accent-soft);
}


.barter-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 18px;
}

.barter-card {
    position: relative;
    min-height: 330px;
    padding: 24px 20px 20px;
    border: 1px solid var(--barter-accent-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(var(--barter-accent-rgb), 0.06);
    box-sizing: border-box;
    overflow: hidden;
}

.barter-card-timer {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 13px;
    border-radius: 0 0 0 10px;
    color: #ffffff;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.barter-card-timer-orange {
    background: #F97316;
}

.barter-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.barter-card-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex: 0 0 42px;
    color: #ffffff;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.2px;
    background: radial-gradient(circle at 35% 30%, #d9d0bd 0, #7e7766 34%, #25231f 100%);
    overflow: hidden;
}

.barter-card-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.barter-card-brand-box {
    min-width: 0;
}

.barter-card-brand {
    color: var(--barter-accent);
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 20px;
}

.barter-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    color: #667085;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.barter-card-title {
    margin: 18px 0 8px;
    color: var(--barter-accent);
    font-family: 'Rubik-ExtraBold', 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 21px;
    font-weight: 800;
    line-height: 25px;
    letter-spacing: -0.35px;
}

.barter-card-text {
    margin: 0;
    color: #4B5563;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.barter-card-requirements {
    margin-top: 14px;
    padding: 14px 14px 12px;
    border: 1px solid #EAECF0;
    border-radius: 12px;
    background: #F8FAFC;
}

.barter-card-requirements-title {
    margin-bottom: 7px;
    color: #475467;
    font-family: 'Rubik-Medium', 'Rubik', sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 12px;
    text-transform: uppercase;
}

.barter-card-requirements ul {
    margin: 0;
    padding-left: 16px;
    color: #4B5563;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

.barter-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.barter-card-tags span {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: #F2F4F7;
    color: #475467;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
}

.barter-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #EAECF0;
}

.barter-card-responses {
    color: #475467;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    white-space: nowrap;
}

.barter-card-responses b {
    font-family: 'Rubik-Medium', 'Rubik', sans-serif;
    font-weight: 500;
}

.barter-card-action {
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--barter-accent);
    color: #ffffff;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(var(--barter-accent-rgb), 0.28);
    white-space: nowrap;
}

.barter-card-action:hover {
    background: var(--barter-accent-hover);
}



.barter-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.barter-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #E4E7EC;
    border-radius: 50%;
    background: #ffffff;
    color: #101828;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
}

.barter-page-btn-active {
    border-color: var(--barter-accent);
    background: var(--barter-accent);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(var(--barter-accent-rgb), 0.18);
}

.barter-page-btn:hover {
    border-color: var(--barter-accent);
    color: var(--barter-accent);
}

.barter-page-btn-active:hover {
    color: #ffffff;
}

.barter-pagination a {
    text-decoration: none;
}

.barter-page-arrow {
    font-size: 20px;
    font-weight: 700;
}

.barter-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #667085;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 900px) {
    .barter-top {
        display: block;
    }

    .barter-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .barter-top-actions {
        margin-top: 22px;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .barter-page {
        zoom: 1.25;
        padding: 28px 0 46px;
    }

    .barter-container {
        padding: 0 15px;
    }

    .barter-title {
        font-size: 36px;
        line-height: 1.08;
        letter-spacing: -0.8px;
    }

    .barter-subtitle {
        margin-top: 10px;
        font-size: 15px;
    }

    .barter-top-actions {
        display: block;
    }

    .barter-help-btn {
        margin-bottom: 14px;
    }

    .barter-tabs {
        width: 100%;
        box-sizing: border-box;
    }

    .barter-tab {
        flex: 1;
        padding: 0 10px;
        font-size: 14px;
    }

    .barter-filters {
        gap: 10px;
        margin-top: 24px;
    }

    .barter-filter-btn {
        height: 40px;
        padding: 0 13px;
        font-size: 14px;
    }

    .barter-extra-filters {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
        border-radius: 18px;
    }

    .barter-tags {
        gap: 8px;
    }

    .barter-tag {
        font-size: 12px;
    }

    .barter-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .barter-card {
        padding: 22px 18px 18px;
        border-radius: 22px;
    }

    .barter-card-title {
        font-size: 20px;
        line-height: 24px;
    }
}



.barter-view {
    display: none;
}

.barter-view-active {
    display: block;
}

.barter-offer-view {
    padding-top: 34px;
}

.barter-offer-card {
    width: 100%;
    max-width: 735px;
    margin: 0 auto;
    padding: 38px 32px 44px;
    border: 1px solid var(--barter-accent-border-strong);
    border-radius: 24px;
    background: #ffffff;
    box-sizing: border-box;
}

.barter-offer-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.barter-offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--barter-accent);
    color: #ffffff;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.barter-offer-title {
    margin: 0;
    color: #101828;
    font-family: 'Rubik-ExtraBold', 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.8px;
}

.barter-offer-subtitle {
    margin: 3px 0 0;
    color: #667085;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    line-height: 18px;
}

.barter-offer-progress {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.barter-offer-progress-line {
    height: 5px;
    border-radius: 999px;
    background: #E4E7EC;
}

.barter-offer-progress-line-active {
    background: var(--barter-accent);
}

.barter-offer-step-label {
    padding-left: 8px;
    color: #98A2B3;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 11px;
    line-height: 14px;
    text-transform: uppercase;
    white-space: nowrap;
}

.barter-offer-form {
    margin-top: 28px;
}

.barter-offer-section {
    padding: 24px 20px;
    border-radius: 18px;
    background: #F8F9FB;
}

.barter-offer-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--barter-accent);
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.barter-offer-section-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--barter-accent);
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
}

.barter-offer-field {
    display: block;
    min-width: 0;
}

.barter-offer-field + .barter-offer-field,
.barter-offer-grid {
    margin-top: 18px;
}

.barter-offer-field span {
    display: block;
    margin-bottom: 8px;
    color: #101828;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
}

.barter-offer-field input,
.barter-offer-field select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #D9DEE8;
    border-radius: 16px;
    background: #ffffff;
    color: #101828;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    box-sizing: border-box;
}

.barter-offer-field input::placeholder {
    color: #98A2B3;
}

.barter-offer-field input:focus,
.barter-offer-field select:focus {
    border-color: var(--barter-accent);
    box-shadow: 0 0 0 3px rgba(var(--barter-accent-rgb), 0.10);
}

.barter-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.barter-modal-body-lock {
    overflow: hidden;
}

.barter-how-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5000;
    padding: 55px 14px;
    background: rgba(17, 24, 39, 0.58);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    overflow: hidden;
    box-sizing: border-box;
}

.barter-how-modal-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.barter-how-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 110px);
    padding: 46px 50px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.30);
    box-sizing: border-box;
    overflow-y: auto;
}

.barter-how-close {
    position: absolute;
    top: 46px;
    right: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #98A2B3;
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.barter-how-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 48px 26px 0;
}

.barter-how-head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--barter-accent);
    color: var(--barter-accent);
    flex: 0 0 40px;
}


.barter-how-head-icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--barter-accent);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.barter-how-title {
    margin: 0;
    color: #101828;
    font-family: 'Rubik-ExtraBold', 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.barter-how-section {
    margin-top: 22px;
}

.barter-how-section-label {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 16px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--barter-accent);
    color: #ffffff;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.barter-how-section-brands {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid #EAECF0;
}

.barter-how-section-brands .barter-how-section-label,
.barter-how-section-brands .barter-how-num {
    background: #101828;
}

.barter-how-steps,
.barter-how-steps-compact {
    display: block;
}

.barter-how-step {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 0 0 32px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
}

.barter-how-step:after {
    content: '';
    position: absolute;
    left: 21px;
    top: 46px;
    bottom: 22px;
    width: 2px;
    background: #EAECF0;
}

.barter-how-step:last-child {
    padding-bottom: 0;
}

.barter-how-step:last-child:after {
    content: none;
}

.barter-how-num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--barter-accent);
    color: #ffffff;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.barter-how-content h3 {
    margin: 0 0 7px;
    color: #101828;
    font-family: 'Rubik-ExtraBold', 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 24px;
    letter-spacing: -0.2px;
}

.barter-how-content p {
    margin: 0;
    color: #475467;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.barter-how-note {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin-top: 10px;
    padding: 0 10px;
    border-radius: 999px;
    background: #F4F3FF;
    color: #2563EB;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}


.barter-how-note-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.barter-how-time {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: #EEF4FF;
    color: #2563EB;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}

.barter-how-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #98A2B3;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}

.barter-how-link svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 15px;
}

.barter-how-step:nth-child(2) .barter-how-note {
    background: #FEF3F2;
    color: #D92D20;
}

.barter-how-step:nth-child(3) .barter-how-note {
    background: #ECFDF3;
    color: #039855;
}

.barter-how-step:nth-child(4) .barter-how-note {
    background: #FAF5FF;
    color: #9333EA;
}

.barter-how-rules {
    margin-top: 26px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #FFFBEB;
    border: 1px solid #FCD34D;
}

.barter-how-rules h3 {
    margin: 0 0 10px;
    color: #344054;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
}

.barter-how-rules h3:before {
    content: '⚠️';
    margin-right: 8px;
}

.barter-how-rules ul {
    margin: 0;
    padding-left: 18px;
    color: #475467;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.barter-how-rules strong {
    color: #344054;
    font-family: 'Rubik-SemiBold', 'Rubik', sans-serif;
    font-weight: 600;
}

.barter-how-rules li::marker {
    color: #D97706;
}

.barter-how-rules li + li {
    margin-top: 7px;
}

@media (max-width: 768px) {
    .barter-how-modal {
        padding: 14px;
    }

    .barter-how-box {
        max-height: calc(100vh - 28px);
        padding: 32px 28px;
        border-radius: 22px;
    }

    .barter-how-close {
        top: 32px;
        right: 28px;
    }

    .barter-how-head {
        margin-right: 34px;
    }

    
.barter-how-head-icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--barter-accent);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.barter-how-title {
        font-size: 21px;
    }

    .barter-how-content h3 {
        font-size: 17px;
        line-height: 22px;
    }

    .barter-how-content p,
    .barter-how-rules ul {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 420px) {
    .barter-how-box {
        padding: 26px 18px;
    }

    .barter-how-close {
        top: 26px;
        right: 18px;
    }

    .barter-how-head-icon {
        width: 36px;
        height: 36px;
    }

    .barter-how-step {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
    }

    .barter-how-num {
        width: 36px;
        height: 36px;
    }

    .barter-how-step:after {
        left: 18px;
        top: 40px;
        bottom: 18px;
    }
}


@media (max-width: 768px) {
    .barter-offer-view {
        padding-top: 24px;
    }

    .barter-offer-card {
        padding: 24px 16px 30px;
        border-radius: 20px;
    }

    .barter-offer-title {
        font-size: 21px;
    }

    .barter-offer-progress {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .barter-offer-step-label {
        grid-column: 1 / -1;
        padding-left: 0;
        text-align: right;
    }

    .barter-offer-section {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .barter-offer-grid {
        grid-template-columns: 1fr;
    }
}

.barter-offer-card {
    max-width: 735px;
    padding: 38px 32px 34px;
    border-radius: 24px;
}

.barter-offer-form {
    margin-top: 28px;
}

.barter-offer-section {
    margin-top: 24px;
    padding: 26px 20px 26px;
    border-radius: 18px;
    background: #F8F9FB;
}

.barter-offer-section:first-child {
    margin-top: 0;
}

.barter-offer-section-title {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.barter-offer-field + .barter-offer-field {
    margin-top: 18px;
}

.barter-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.barter-offer-grid-three {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 0;
}

.barter-offer-field span {
    margin-bottom: 8px;
    color: #0B1220;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
}

.barter-offer-field span small {
    color: #98A2B3;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.barter-offer-field input,
.barter-offer-field select,
.barter-offer-field textarea {
    width: 100%;
    border: 1px solid #D9DEE8;
    border-radius: 16px;
    background: #ffffff;
    color: #101828;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    box-sizing: border-box;
}

.barter-offer-field input,
.barter-offer-field select {
    height: 50px;
    padding: 0 16px;
}

.barter-offer-field textarea {
    min-height: 112px;
    padding: 18px 16px;
    resize: vertical;
    line-height: 22px;
}

.barter-offer-wishes textarea {
    min-height: 80px;
}

.barter-offer-field input::placeholder,
.barter-offer-field textarea::placeholder {
    color: #A6ADBD;
}

.barter-offer-field input:focus,
.barter-offer-field select:focus,
.barter-offer-field textarea:focus {
    border-color: var(--barter-accent);
    box-shadow: 0 0 0 3px rgba(var(--barter-accent-rgb), 0.10);
}

.barter-offer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.barter-offer-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 0 17px;
    border: 1px solid #D9DEE8;
    border-radius: 999px;
    background: #ffffff;
    color: #101828;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.barter-offer-tag:hover,
.barter-offer-tag-active {
    border-color: var(--barter-accent);
    color: var(--barter-accent);
    background: var(--barter-accent-soft-strong);
}

.barter-offer-input-suffix {
    position: relative;
}

.barter-offer-input-suffix input {
    padding-right: 42px;
}

.barter-offer-input-suffix em {
    position: absolute;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
    color: #98A2B3;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
}

.barter-offer-hint-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 10px;
    color: #98A2B3;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    line-height: 18px;
}

.barter-offer-counter {
    margin-left: auto;
}

.barter-offer-label-icon {
    display: flex !important;
    align-items: center;
    gap: 7px;
}

.barter-offer-requirement-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: center;
    gap: 10px;
}

.barter-offer-requirement-row + .barter-offer-requirement-row {
    margin-top: 10px;
}

.barter-offer-remove {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #FFF1F3;
    color: #F04438;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.barter-offer-add {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--barter-accent);
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    cursor: pointer;
}

.barter-offer-wishes {
    margin-top: 18px;
}

.barter-offer-preview {
    margin-top: 24px;
    padding: 20px 22px 22px;
    border: 2px dashed #D9DEE8;
    border-radius: 18px;
    background: #ffffff;
}

.barter-offer-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    color: #667085;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
}

.barter-offer-preview-head small {
    color: #A6ADBD;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 10px;
    font-weight: 700;
}

.barter-offer-preview-eye {
    margin-right: 4px;
}

.barter-offer-preview-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #EEF1F5;
    border-radius: 14px;
    background: #FAFBFC;
    color: #A6ADBD;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
}

.barter-offer-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    margin-top: 28px;
    border: 0;
    border-radius: 13px;
    background: var(--barter-accent);
    color: #ffffff;
    font-family: 'Rubik-ExtraBold', 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 22px;
    letter-spacing: -0.25px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(var(--barter-accent-rgb), 0.30);
}

.barter-offer-submit:hover {
    background: var(--barter-accent-hover);
}

.barter-offer-note {
    max-width: 560px;
    margin: 20px auto 0;
    color: #A6ADBD;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
}

@media (max-width: 768px) {
    .barter-offer-card {
        padding: 24px 16px 28px;
    }

    .barter-offer-grid,
    .barter-offer-grid-three {
        grid-template-columns: 1fr;
    }

    .barter-offer-section {
        padding: 22px 16px;
    }

    .barter-offer-preview-head {
        display: block;
    }

    .barter-offer-preview-head small {
        display: block;
        margin-top: 4px;
    }

    .barter-offer-submit {
        height: 54px;
        font-size: 16px;
    }
}

/* ===== Barter form fix 17 ===== */
.barter-offer-grid {
    align-items: start;
}

.barter-offer-grid > .barter-offer-field,
.barter-offer-grid-three > .barter-offer-field {
    margin-top: 0 !important;
    align-self: start;
}

.barter-offer-grid .barter-offer-field + .barter-offer-field,
.barter-offer-grid-three .barter-offer-field + .barter-offer-field {
    margin-top: 0 !important;
}

.barter-offer-field select {
    appearance: auto;
    color: #101828;
}

.barter-offer-field select option {
    min-height: 44px;
    padding: 12px 16px;
    background: #ffffff;
    color: #101828;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 44px;
}

.barter-offer-field select option:checked {
    background: #F2F4F7;
    color: #101828;
}

.barter-offer-field select option:hover {
    background: #F2F4F7;
}

.barter-offer-submit {
    gap: 10px;
}

.barter-offer-submit-icon {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: translateY(-1px);
    flex: 0 0 23px;
}


.barter-native-select {
    display: none !important;
}

.barter-custom-select {
    position: relative;
    width: 100%;
    z-index: 1;
}

.barter-custom-select-open {
    z-index: 50;
}

.barter-custom-select-btn {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    padding: 0 44px 0 18px;
    border: 1px solid #D9DEE8;
    border-radius: 16px;
    background: #ffffff;
    color: #101828;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.barter-extra-filter .barter-custom-select-btn {
    height: 48px;
    border-radius: 11px;
    background: #F3F2F1;
}

.barter-custom-select-btn:after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #111827;
    border-bottom: 2px solid #111827;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.barter-custom-select-open .barter-custom-select-btn {
    border-color: var(--barter-accent);
    box-shadow: 0 0 0 3px rgba(var(--barter-accent-rgb), 0.10);
}

.barter-extra-filter .barter-custom-select-open .barter-custom-select-btn {
    border-color: #D9DEE8;
    box-shadow: none;
}

.barter-custom-select-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #9CA3AF;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
}

.barter-custom-select-open .barter-custom-select-list {
    display: block;
}

.barter-custom-select-option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    background: #ffffff;
    color: #101828;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.barter-offer-field .barter-custom-select-option {
    min-height: 46px;
    padding: 12px 18px;
}

.barter-custom-select-option:hover {
    background: #F2F4F7;
}

.barter-custom-select-option-active,
.barter-custom-select-option-active:hover {
    background: #1F6FD1;
    color: #ffffff;
}

@media (max-width: 768px) {
    .barter-custom-select-btn {
        height: 48px;
        border-radius: 14px;
    }

    .barter-custom-select-option {
        min-height: 44px;
    }
}

/* ===== Barter v22: grey dropdown only in feed filters ===== */
.barter-extra-filter .barter-custom-select-list {
    background: #F3F2F1;
}

.barter-extra-filter .barter-custom-select-option {
    background: #F3F2F1;
}

.barter-extra-filter .barter-custom-select-option:hover {
    background: #E9E7E6;
}

.barter-extra-filter .barter-custom-select-option-active,
.barter-extra-filter .barter-custom-select-option-active:hover {
    background: #1F6FD1;
    color: #ffffff;
}


.barter-response-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5000;
    padding: 55px 14px;
    background: rgba(17, 24, 39, 0.58);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    overflow: hidden;
    box-sizing: border-box;
}

.barter-response-modal-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.barter-response-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 110px);
    padding: 32px 32px 36px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.30);
    box-sizing: border-box;
    overflow-y: auto;
}

.barter-response-close {
    position: absolute;
    top: 32px;
    right: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #98A2B3;
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.barter-response-title {
    margin: 0 42px 24px 0;
    color: #101828;
    font-family: 'Rubik-ExtraBold', 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.35px;
}

.barter-response-offer {
    padding: 16px;
    border-radius: 18px;
    background: #F8F9FB;
}

.barter-response-offer-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.barter-response-offer-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #E4E7EC;
    color: #101828;
    font-family: 'Rubik-ExtraBold', 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: 800;
    flex: 0 0 56px;
}

.barter-response-offer-main h3 {
    margin: 5px 0 3px;
    color: #101828;
    font-family: 'Rubik-ExtraBold', 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 26px;
    letter-spacing: -0.3px;
}

.barter-response-brand {
    margin-bottom: 5px;
    color: var(--barter-accent);
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.barter-response-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #667085;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    line-height: 18px;
}

.barter-response-desc {
    margin: 22px 0 14px;
    color: #475467;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
}

.barter-response-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.barter-response-stat {
    min-height: 80px;
    padding: 14px 10px;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

.barter-response-stat strong {
    display: block;
    margin-bottom: 5px;
    color: #101828;
    font-family: 'Rubik-ExtraBold', 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 20px;
}

.barter-response-stat:first-child strong,
.barter-response-stat-time strong {
    color: #EF4444;
    font-size: 21px;
    line-height: 24px;
}

.barter-response-stat span {
    display: block;
    color: #475467;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
}

.barter-response-requirements {
    margin-top: 20px;
    padding: 17px 16px;
    border: 1px solid #FBBF24;
    border-radius: 16px;
    background: #FFFBEB;
}

.barter-response-requirements h3 {
    margin: 0 0 10px;
    color: #101828;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.barter-response-requirements h3:before {
    content: '🧳';
    margin-right: 8px;
}

.barter-response-requirements ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #101828;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    line-height: 24px;
}

.barter-response-requirements li:before {
    content: '✓';
    margin-right: 10px;
    color: #22C55E;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-weight: 700;
}

.barter-response-form {
    margin-top: 22px;
}

.barter-response-field {
    display: block;
}

.barter-response-field + .barter-response-field,
.barter-response-grid + .barter-response-field {
    margin-top: 17px;
}

.barter-response-field span,
.barter-response-label-icon {
    display: block;
    margin-bottom: 9px;
    color: #101828;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
}

.barter-response-label-icon {
    color: #101828;
}

.barter-response-profile-input {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    height: 46px;
    border: 1px solid #D9DEE8;
    border-radius: 16px;
    background: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
}

.barter-response-profile-input span {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0 0 0 16px;
    color: #A6ADBD;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
}

.barter-response-profile-input input,
.barter-response-field input,
.barter-response-field textarea {
    width: 100%;
    border: 1px solid #D9DEE8;
    border-radius: 16px;
    background: #ffffff;
    color: #101828;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    box-sizing: border-box;
}

.barter-response-profile-input input {
    height: 44px;
    border: 0;
    border-radius: 0;
    padding: 0 16px 0 0;
}

.barter-response-field input {
    height: 46px;
    padding: 0 16px;
}

.barter-response-field textarea {
    min-height: 112px;
    padding: 18px 16px;
    resize: vertical;
    line-height: 22px;
}

.barter-response-profile-input input::placeholder,
.barter-response-field input::placeholder,
.barter-response-field textarea::placeholder {
    color: #A6ADBD;
}

.barter-response-field input:focus,
.barter-response-field textarea:focus,
.barter-response-profile-input:focus-within {
    border-color: var(--barter-accent);
    box-shadow: 0 0 0 3px rgba(var(--barter-accent-rgb), 0.10);
}

.barter-response-hint {
    margin-top: 9px;
    color: #667085;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    line-height: 18px;
}

.barter-response-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.barter-response-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 10px;
    color: #667085;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    line-height: 18px;
}

.barter-response-confirm {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #B2CCFF;
    border-radius: 14px;
    background: #EFF8FF;
    color: #475467;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 13px;
    line-height: 18px;
    cursor: pointer;
}

.barter-response-confirm input {
    width: 14px;
    height: 14px;
    margin: 2px 0 0;
    flex: 0 0 14px;
}

.barter-response-confirm b {
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-weight: 700;
    color: #344054;
}

.barter-response-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.barter-response-cancel,
.barter-response-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 16px;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    cursor: pointer;
    box-sizing: border-box;
}

.barter-response-cancel {
    border: 2px solid var(--barter-accent);
    background: #ffffff;
    color: var(--barter-accent);
}

.barter-response-submit {
    gap: 10px;
    border: 0;
    background: var(--barter-accent);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(var(--barter-accent-rgb), 0.28);
}

.barter-response-submit-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 20px;
}

.barter-response-field .barter-custom-select-option {
    min-height: 46px;
    padding: 12px 18px;
}

@media (max-width: 768px) {
    .barter-response-modal {
        padding: 14px;
    }

    .barter-response-box {
        max-height: calc(100vh - 28px);
        padding: 28px 24px;
        border-radius: 22px;
    }

    .barter-response-close {
        top: 28px;
        right: 24px;
    }

    .barter-response-title {
        font-size: 22px;
    }

    .barter-response-stats,
    .barter-response-grid,
    .barter-response-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .barter-response-box {
        padding: 24px 18px;
    }

    .barter-response-offer-head {
        gap: 12px;
    }

    .barter-response-offer-avatar {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .barter-response-offer-main h3 {
        font-size: 19px;
        line-height: 23px;
    }
}


/* ===== Barter response modal fix 24 ===== */
.barter-response-grid .barter-response-field,
.barter-response-grid .barter-response-field + .barter-response-field {
    margin-top: 0;
}

.barter-response-label-icon {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.barter-response-link-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: var(--barter-accent);
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===== Barter response platform select ===== */
.barter-response-field select[data-barter-native-validation] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #D9DEE8;
    border-radius: 16px;
    background: #ffffff;
    color: #101828;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
}

.barter-response-field select[data-barter-native-validation]:focus {
    border-color: var(--barter-accent);
    box-shadow: 0 0 0 3px rgba(var(--barter-accent-rgb), 0.10);
}


/* ===== Barter notifications ===== */
.barter-toast {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 7000;
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: calc(100vw - 36px);
    min-height: 54px;
    padding: 0 22px;
    border-radius: 12px;
    background: var(--barter-accent-deep);
    color: #ffffff;
    font-family: 'Rubik-Medium', 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 21px;
    box-shadow: 0 14px 32px rgba(var(--barter-accent-rgb), 0.28);
    opacity: 0;
    transform: translateY(-18px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    box-sizing: border-box;
}

.barter-toast-show {
    opacity: 1;
    transform: translateY(0);
}

.barter-toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--barter-accent-deep);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 17px;
}

.barter-toast-info {
    background: #475467;
}

.barter-toast-info .barter-toast-icon {
    color: #475467;
}

@media (max-width: 768px) {
    .barter-toast {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
        min-height: 48px;
        padding: 0 16px;
        font-size: 14px;
    }
}

/* ===== Barter copy notification ===== */
.barter-toast-info,
.barter-toast-info .barter-toast-icon {
    background: var(--barter-accent-deep);
}

.barter-toast-info .barter-toast-icon {
    background: rgba(255, 255, 255, 0.92);
    color: var(--barter-accent-deep);
}


/* ===== Barter live offer preview ===== */
.barter-offer-preview-box.barter-offer-preview-filled {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.barter-offer-preview-card {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 22px 18px 18px;
    border-radius: 14px;
    box-shadow: none;
}

.barter-offer-preview-card .barter-card-title {
    margin-top: 16px;
    font-size: 19px;
    line-height: 23px;
}

.barter-offer-preview-card .barter-card-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.barter-offer-preview-card .barter-card-requirements {
    margin-top: 12px;
}

.barter-offer-preview-card .barter-card-bottom {
    margin-top: 14px;
    padding-top: 12px;
}

.barter-offer-preview-price {
    color: var(--barter-accent);
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

/* ===== Barter preview alignment ===== */
.barter-offer-preview-card {
    text-align: left;
}

.barter-offer-preview-card .barter-card-requirements,
.barter-offer-preview-card .barter-card-requirements-title,
.barter-offer-preview-card .barter-card-requirements ul,
.barter-offer-preview-card .barter-card-requirements li {
    text-align: left;
}

.barter-filter-select-wrap {
    min-width: 190px;
}

.barter-filter-select-wrap .barter-custom-select-btn {
    gap: 8px;
    height: 42px;
    padding: 0 40px 0 16px;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-family: 'Rubik-Medium', 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 500;
    box-shadow: none;
}

.barter-custom-select-label {
    min-width: 0;
}

.barter-custom-select-icon {
    width: 14px;
    color: var(--barter-accent);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    flex: 0 0 14px;
}

.barter-filter-select-wrap .barter-custom-select-btn:after {
    right: 17px;
    width: 7px;
    height: 7px;
    border-color: #98A2B3;
}

.barter-filter-select-wrap .barter-custom-select-open .barter-custom-select-btn {
    border-color: rgba(var(--barter-accent-rgb), 0.35);
    background: var(--barter-accent-soft);
    box-shadow: none;
}

.barter-filter-select-wrap .barter-custom-select-list {
    border-color: #D9DEE8;
    border-radius: 12px;
    overflow: hidden;
}

.barter-filter-select-wrap .barter-custom-select-option {
    min-height: 40px;
    padding: 9px 15px;
    font-size: 14px;
}

.barter-filter-reset {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 3px;
    color: var(--barter-accent);
    font-family: 'Rubik-Medium', 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.barter-filter-reset:hover {
    color: var(--barter-accent-deep);
    text-decoration: underline;
}

.barter-tag-active {
    box-shadow: inset 0 0 0 1px currentColor, 0 4px 10px rgba(16, 24, 40, 0.08);
}

.barter-empty-state {
    grid-column: 1 / -1;
    padding: 48px 24px;
    border: 1px dashed #D9DEE8;
    border-radius: 20px;
    background: #ffffff;
    color: #667085;
    text-align: center;
}

.barter-empty-state h2 {
    margin: 0;
    color: #101828;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 27px;
}

.barter-empty-state p {
    max-width: 440px;
    margin: 10px auto 0;
    font-family: 'Rubik-Regular', 'Rubik', sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.barter-empty-state a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 18px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--barter-accent);
    color: #ffffff;
    font-family: 'Rubik-Bold', 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.barter-empty-state a:hover {
    background: var(--barter-accent-hover);
}

@media (max-width: 768px) {
    .barter-filter-select-wrap {
        min-width: 0;
        flex: 1 1 100%;
    }

    .barter-filter-select-wrap .barter-custom-select-btn {
        height: 40px;
        font-size: 14px;
    }

    .barter-filter-reset {
        height: 40px;
    }

    .barter-empty-state {
        padding: 36px 18px;
    }
}


.barter_text_color {
    color: var(--barter-accent) !important;
}

.barter_back_color {
    background-color: var(--barter-accent) !important;
}

.barter-response-cancel.barter_text_color {
    border-color: currentColor;
}

.barter-theme-red .barter-card-action:hover,
.barter-theme-red .barter-offer-submit:hover,
.barter-theme-red .barter-empty-state a:hover {
    background-color: var(--barter-accent-hover);
    color: #ffffff;
}
