.yn-search-box {
    font-family: Arial, sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 12px;
    box-sizing: border-box;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.yn-search-box .filter-same-tags-label {
    color: #333;
    line-height: 34px;
}

.yn-search-box .filter-same-tags {
    display: flex;
    flex-wrap: wrap;
    background-color: #ff6b000f;
    padding: 2px 6px;
}

.yn-search-box .selected-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    min-height: 28px;
    padding: 6px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.yn-search-box .filter-tag {
    background: #ff6b0008;
    border-radius: 0px;
    padding: 3px 10px;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #FF6B00;
    /* border: 1px solid #bbdefb; */
}

.yn-search-box .filter-tag .remove-btn {
    margin-left: 4px;
    cursor: pointer;
    color: #FF6B00;
    font-weight: bold;
}

.yn-search-box .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.yn-search-box .filter-btn {
    padding: 3px 6px;
    border-radius: 2px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.2s;
    color: #000;
}

.yn-search-box .filter-btn.active {
    background: #FF6B00;
    color: white;
    border-color: #FF6B00;
}

.yn-search-box .toggle-expand-btn,
.yn-search-box .toggle-advanced-btn {
    padding: 5px 10px;
    border-radius: 12px;
    border: 1px dashed #999;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    color: #555;
}

.yn-search-box .toggle-expand-btn.expanded {
    border: 1px solid #999;
}

.yn-search-box .advanced-toggle-container {
    text-align: center;
    margin-top: 10px;
}

.yn-search-box .toggle-advanced-btn {
    color: #FF6B00;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #FF6B00;
    background: #ff6b0008;
}

.yn-search-box .toggle-on-submit {
    color: #FF6B00;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #FF6B00;
    background: #ff6b0008;
}

.yn-search-box .advanced-filters {
    display: none;
}

.yn-search-box .filter-group {
    margin-bottom: 10px;
}

.yn-search-box .filter-group-title {
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
    line-height: 31px;
    padding-right: 10px;
}

.yn-search-box .filter-scroll {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 6px;
}

.opt-show {
    display: block !important;
}

.time-show {
    display: none;
}

@media (min-width: 480px) {
    .yn-search-box {
        padding: 14px;
    }

    .yn-search-box .filter-btn {
        padding: 4px 8px;
        font-size: 13px;
    }

    .yn-search-box .filter-group {
        display: flex;
        margin-bottom: 10px;
    }

    .yn-search-box .filter-group-title {
        font-weight: bold;
        margin-bottom: 6px;
        color: #333;
        font-size: 14px;
        line-height: 31px;
        padding-right: 10px;
        min-width: 120px;
        text-align: right;
    }
}

/**==========搜索结果==============**/
.yn-search-result {}

.yn-search-result .result-item {
    margin-bottom: 20px;
    margin-top: 20px;
}

.yn-search-result .img-box img {
    width: 100vw;
    height: calc(100vw * 0.63);
    border-radius: 4px;
}

.yn-search-result .content-box {
    padding: 16px 10px;
    width: 100%;
}

.yn-search-result .name {
    text-decoration: underline;
    color: #333;
}

.yn-search-result .name a {
    color: #333;
}

.yn-search-result .result-item:hover .name {
    text-decoration: unset;
}

.yn-search-result .price-box {
    display: flex;
}

.yn-search-result .price-box .price {
    line-height: 2.4;
}

.yn-search-result .price-box .price-sell {
    font-size: 20px;
}

.yn-search-result .btns {
    display: flex;
    justify-content: flex-end;
}

.yn-search-result .btn-box .yn-btn {
    padding: 4px 8px;
    color: #fff;
    border: 1px solid #FF9C01;
    background-color: #FF9C01;
    border-radius: 4px;
    margin: 0 6px;
    width: 120px;
    text-align: center;

    cursor: pointer;
}

.yn-search-result .btn-box .yn-btn a {
    color: #fff;
}

.yn-search-result .btn-box .yn-btn:hover {
    border: 1px solid #FF6B00;
    background-color: #FF6B00;
}


@media (min-width: 480px) {

    .yn-search-result .img-box img {
        width: 300px;
        height: 190px;
        min-width: 300px;
        min-height: 190px;
        max-width: 300px;
        max-height: 190px;
    }

    .yn-search-result .result-item {
        display: flex;
    }

    .yn-search-result .content-box {
        display: flex;
        justify-content: space-between;
        padding-top: 0;
    }

    .yn-search-result .btns {
        display: block;
    }

    .yn-search-result .btn-box .yn-btn {
        margin: 10px 0;
    }

    .yn-search-result .price-box {
        margin: 10px 0;
    }
}

/**==========分页==============**/

.yn-list-pagination {
    display: flex;
    justify-content: flex-end;
}

.yn-list-pagination .pagination-container {
    font-family: Arial, sans-serif;
    margin: 20px 0;
    text-align: center;
}

.yn-list-pagination .pagination {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 4px;
}

.yn-list-pagination .pagination a {
    min-width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 12px;

    display: inline-block;
    padding: 0 4px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.yn-list-pagination .pagination a:hover:not(.active):not(.disabled) {
    background-color: #f1f1f1;
}

.yn-list-pagination .pagination a.active {
    background-color: #FF9C01;
    color: white;
    border-color: #FF9C01;
    font-weight: bold;
}

.yn-list-pagination .pagination a.disabled {
    color: #ccc;
    pointer-events: none;
    border-color: #eee;
}

.yn-list-pagination .pagination .ellipsis {
    pointer-events: none;
    border: none;
    padding: 0 2px;
}

@media (min-width:576px) {

    .yn-list-pagination .pagination a {
        min-width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }
}


.yn_font_list_price {
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    color: #606266;
    font-weight: lighter;
    text-decoration-line: line-through;
    font-style: italic;
  }
  
  .yn_font_list_price_sell {
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    color: #D23201;
  }