.download-center-section {
    --background: 26 26 26;
    --text-color: 128 128 128;
    --active: #f39800;
}

download-center {
    display: block;
}

download-center .download-center-header{
    background: rgb(var(--background));
    color: rgb(var(--text-color));
}
download-center .section {
    padding-block: 0;
    --active: #f39800
}

download-center .yg-form-tab {
    display: flex;
    align-items: center;
    gap: 24px;
}

download-center .yg-form-tab-bar {
    display: flex;
    gap: 24px;
    justify-content: center;
}

download-center .yg-form-tab-item {
    padding-block: 16px;

    cursor: pointer;
    user-select: none;
    transition: background 0.2s, color 0.2s;
}

download-center .yg-form-tab-item.active {
    color: var(--active);
    border-bottom: 2px solid var(--active);
    font-weight: 600;
}


download-center .download-center-body {
    padding-block-start: 96px;
    padding-block-end: 96px;
}

download-center .yg-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

download-center .download-search {
    position: relative;
    align-self: center;
    width: min(100%, 640px);
    margin-inline: auto;
}

download-center .download-search-label {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

download-center .search-icon{
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}
download-center .download-search-input {
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    border: 1px solid #E6E6E6;
    border-radius: 12px;
    background: #FFF;
    color: #2E2E2E;
    font-size: 16px;
    line-height: 140%;
}

download-center .download-search-input::placeholder {
    color: #808080;
}

download-center .download-search-input:focus {
    border-color: #F39800;
    outline: 2px solid rgba(243, 152, 0, 0.15);
    outline-offset: 0;
}

download-center .download-search-results {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 320px;
    overflow: auto;
    padding: 8px;
    border: 1px solid #E6E6E6;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

download-center .download-search-results[hidden] {
    display: none;
}

download-center .download-search-result,
download-center .download-search-empty {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 140%;
}

download-center .download-search-result {
    border: 0;
    background: transparent;
    color: #2E2E2E;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

download-center .download-search-result:hover,
download-center .download-search-result:focus-visible {
    background: rgba(243, 152, 0, 0.08);
    color: #F39800;
    outline: none;
}

download-center .download-search-empty {
    color: #808080;
}

download-center .yg-form-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

download-center .yg-form-header-title {
    font-family: var(--title-font);
    font-size: var(--h3-font-size);
    font-weight: 650;
    line-height: 140%;
    letter-spacing: -0.32px;
}

download-center .yg-form-header-link {
    display: flex;
    align-items: flex-end;
}

download-center .yg-form-header-link-text {
    color: #04F;

    font-size: var(--text-3-font-size);
    font-weight: 400;
    line-height: 140%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

download-center .yg-box {
    width: 100%;
}

download-center .yg-box table {
    border-collapse: collapse;
    width: 100%;
    color: #2E2E2E;
}

download-center table:not(.table--bordered) :is(th, td):first-child {
    padding: 20px;
}

download-center .yg-box table {
    border: 1px solid #e6e6e6;
    border-collapse: separate;
    border-spacing: 0;
    /* 保持单元格无间隙 */
    border-radius: 12px;
    overflow: hidden;
}

download-center .yg-box th,
.yg-box td {
    padding: 20px;
    text-align: left;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}

download-center table tbody tr:first-child {
    color: #000;
    font-weight: 650;
    line-height: 140%;
}

download-center .yg-box a {
    color: #04F;
    text-decoration: underline;
}

download-center .yg-form-main {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
}

download-center .yg-form-tab {
    display: flex;
    width: 222px;
    max-height: 720px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    overflow: auto;
}

download-center ::-webkit-scrollbar {
    width: 6px;
    /* 垂直滚动条宽度 */
}

download-center ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    /* 轨道颜色 */
}

download-center ::-webkit-scrollbar-thumb {
    background-color: #F39800;
    /* 滑块颜色 */
    border-radius: 8px;
    /* 圆角滑块 */
}

download-center ::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}


download-center .yg-form-tab-item {
    padding-bottom: 12px;

    color: #808080;
    font-style: normal;
    font-weight: 650;
    line-height: 138%;
    /* 22.4px */
    cursor: pointer;
}

download-center .yg-excel-container {
    display: none;
}

download-center .yg-form-tab-item.yg-form-tab-active {
    color: #F39800;
    border-bottom: 4px solid var(--Brand-6, #F39800);
    padding-bottom: 8px;
    cursor: default;
}

download-center .yg-excel-container.yg-excel-container-active {
    display: block;
}

download-center .yg-pc-excel {
    display: flex;
}

download-center .yg-mobile-excel {
    display: none;
}

@media(max-width:900px) {

    download-center .download-center-body {
        padding-block-start: 40px;
        padding-block-end: 40px;
    }

    download-center .yg-form {
        gap: 0;
    }

    download-center .download-search {
        width: 100%;
        margin-bottom: 24px;
    }

    download-center .download-search-input {
        min-height: 52px;
        font-size: 14px;
    }

    download-center .download-search-results {
        position: static;
        margin-top: 12px;
    }

    download-center .yg-excel-container2 {
        width: 100%;
    }

    download-center .yg-form-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        align-self: stretch;
    }

    download-center .yg-form-header-title {
        font-size: 22px;
    }

    download-center .yg-form-header-link-text {
        font-size: 14px;
    }

    download-center .yg-pc-excel {
        display: none;
    }

    download-center .yg-mobile-excel {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        align-self: stretch;
    }

    download-center .excel-cards {
        display: grid;
        row-gap: 16px;
        column-gap: 8px;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    download-center .excel-card {
        border-radius: 12px;
        background: #fff;
        overflow: hidden;
        border: 1px solid #eee;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    download-center .excel-card-body {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    download-center .excel-row {
        display: flex;
        justify-content: space-between;
        font-size: 11px;
    }

    download-center .excel-row .label {
        color: #555;
    }

    download-center .excel-row .value {
        font-weight: 600;
        color: #222;
    }

    download-center.shopify-section .section {
        position: static;
        overflow: visible;
    }

    download-center .excel-card-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #F39800;
        /* 橙色 */
        text-decoration: none;
        padding: 10px 0;
        transition: background 0.3s;
        font-size: 14px;
        font-weight: 650;
        line-height: 140%;
    }

    download-center .excel-card-footer:hover {
        background: #e48d00;
    }

    download-center .excel-card-footer .icon {
        margin-right: 8px;
        width: 24px;
        height: 24px;
    }

    download-center .excel-cards {
        display: none;
    }

    download-center .yg-cards-box.active .excel-cards {
        display: grid;
        /* 展开 */
    }

    download-center yg-excel-viewer3 > .excel-cards {
        display: grid;
    }

    download-center yg-excel-viewer3 .excel-card-box .excel-card {
        display: none;
    }

    download-center yg-excel-viewer3 .excel-card-box.active .excel-card {
        display: flex;
    }

    download-center .cards-header {
        cursor: pointer;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-block: 20px;
        background: #FFF;
        border-bottom: 1px solid var(--Grey-3, #E6E6E6);

        position: sticky;
        top: 48px;
    }

    download-center .yg-cards-box .toggle-icon {
        transition: transform 0.2s;
        transform: rotate(0deg);

    }

    download-center yg-excel-viewer3 .excel-card-box .toggle-icon {
        transition: transform 0.2s;
        transform: rotate(0deg);
    }

    download-center .yg-cards-box.active .toggle-icon {
        transform: rotate(180deg);
    }

    download-center yg-excel-viewer3 .excel-card-box.active .toggle-icon {
        transform: rotate(180deg);
    }

}