.download-list-page {
    background: #f7f7f7;
    color: #333;
    min-height: 100vh;
}

.download-hero {
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)), url("../download/images/download_banner.jpg") center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.download-hero__inner {
    width: 100%;
    max-width: 980px;
    padding: 0 24px 18px;
}

.download-hero h1 {
    margin: 0 0 12px;
    font-size: 44px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0;
}

.download-hero p {
    margin: 0 auto 22px;
    font-size: 18px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .95);
    max-width: 660px;
}

.download-search {
    position: relative;
    width: 620px;
    max-width: 100%;
    height: 48px;
    margin: 0 auto;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.download-search input {
    width: 100%;
    height: 48px;
    border: 0;
    padding: 0 58px 0 30px;
    color: #333;
    font-size: 15px;
    background: transparent;
}

.download-search input::-webkit-input-placeholder {
    color: #999;
    font-size: 15px;
}

.download-search button[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    width: 58px;
    height: 48px;
    border: 0;
    background: url("../download/images/download_icon1.svg") center center/16px 16px no-repeat;
    cursor: pointer;
}

.download-search__close {
    display: none;
}

.download-search-panel {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    z-index: 30;
    padding: 20px 24px 22px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .16);
    text-align: left;
}

.download-list-page.is-search-open .download-search-panel {
    display: block;
}

.download-search-group {
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid #e5e5e5;
}

.download-search-group:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.download-search-group h4 {
    margin: 0 0 12px;
    color: #333;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.download-search-suggestion {
    display: block;
    width: 100%;
    min-height: 28px;
    border: 0;
    padding: 4px 0;
    background: transparent;
    color: #666;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.download-search-suggestion:hover {
    color: #21a8ff;
    text-decoration: underline;
}

.download-search-empty {
    color: #888;
    font-size: 14px;
    line-height: 1.4;
}

.download-search-overlay {
    display: none;
}

.download-body {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 60px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 36px 0px 70px;
}

.download-sidebar {
    min-width: 0;
    position: sticky;
    top: 10px;
    align-self: start;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #d5d5d5 transparent;
}

.download-sidebar__head,
.download-filter-apply,
.download-mobile-filter-button,
.selected-panel
{
    display: none;
}
.download-sidebar__head.is-open, .selected-panel.is-open {
    display: flex;
}

.download-sidebar::-webkit-scrollbar {
    width: 4px;
}

.download-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.download-sidebar::-webkit-scrollbar-thumb {
    background: #d5d5d5;
    border-radius: 4px;
}

.selected-panel {
    margin-bottom: 20px;
}
.download-sidebar__head{
    justify-content: space-between;
    margin-bottom: 8px;

}
.selected-panel__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}
.selected-filter{
    background-color: #fff;
    padding: 2px 2px 2px 8px;
}

.selected-panel__head span {
    color: #189cf4;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 5px;
}

.download-sidebar__head button {
    border: 0;
    background: none;
    color: #189cf4;
    cursor: pointer;
    font-size: 14px;
}

.selected-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
}

.selected-tag {
    position: relative;
    height: 36px;
    border: 0;
    border-radius: 2px;
    padding: 0 30px 0 18px;
    background: #fff;
    color: #666;
    font-size: 14px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.selected-tag.is-active,
.selected-tag:hover {
    background: #111;
    color: #fff;
}

.selected-tag span {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    background: url("../download/images/download_icon3.svg") center center/8px 8px no-repeat;
}

.selected-tag.is-active span,
.selected-tag:hover span {
    filter: brightness(0) invert(1);
}

.filter-card {
    margin-bottom: 18px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .06);
    overflow: hidden;
    padding-bottom: 14px;
}

.filter-card__title {
    position: relative;
    width: 100%;
    height: 72px;
    border: 0;
    padding: 0 54px 0 24px;
    background: #fff;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.filter-card__title i {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 18px;
    height: 11px;
    margin-top: -5px;
    background: url("../download/images/download_icon2.svg") center center/18px 11px no-repeat;
    transition: transform .26s ease;
    transform: rotate(90deg);
}

.filter-card.is-open .filter-card__title i {
    transform: rotate(180deg);
}

.filter-card__body {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height .32s ease, padding .32s ease, opacity .24s ease, transform .32s ease;
}

.filter-card.is-open .filter-card__body {
    max-height: 260px;
    padding: 0 24px 12px;
    opacity: 1;
    transform: translateY(0);
}

.filter-card label {
    display: flex;
    align-items: center;
    min-height: 36px;
    margin: 0 0 12px;
    color: #333;
    font-size: 15px;
    line-height: 1.35;
    cursor: pointer;
}

.filter-card label:last-child {
    margin-bottom: 0;
}

.filter-card input[type="checkbox"] {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin: 0 12px 0 0;
    border: 1px solid #777;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    cursor: pointer;
}

.filter-card input[type="checkbox"]:checked {
    border-color: #111;
    background: #111;
    position: relative;
}

.filter-card input[type="checkbox"]:checked:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.download-results {
    min-width: 0;
}

.download-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    margin: 0 0 16px;
}

.download-count {
    color: #999;
    font-size: 14px;
}

.download-count strong {
    color: #111;
    font-weight: 700;
}

.sort-select {
    position: relative;
    z-index: 5;
}

.sort-select__button {
    position: relative;
    min-width: 66px;
    height: 34px;
    border: 0;
    padding: 0 24px 0 8px;
    background: transparent;
    color: #666;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    text-align: right;
}

.sort-select__button i {
    position: absolute;
    top: 50%;
    right: 2px;
    width: 12px;
    height: 7px;
    margin-top: -3px;
    background: url("../download/images/download_icon5.svg") center center/12px 7px no-repeat;
    transform: rotate(90deg);
}

.sort-select.is-open .sort-select__button i {
    transform: rotate(180deg);
}

.sort-select__menu {
    display: none;
    position: absolute;
    top: 36px;
    right: 0;
    width: 150px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.sort-select.is-open .sort-select__menu {
    display: block;
}

.sort-select__menu button {
    width: 100%;
    height: 34px;
    border: 0;
    padding: 0 14px;
    background: #fff;
    color: #555;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.sort-select__menu button:hover {
    background: #f5f5f5;
    color: #111;
}

.download-list {
    display: grid;
    gap: 16px;
}

.download-item {
    display: grid;
    grid-template-columns: 220px minmax(220px, 1fr) 140px 110px 34px;
    align-items: center;
    min-height: 68px;
    padding: 14px 30px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    opacity: 1;
    transform: translateY(0);
    transition: opacity .22s ease var(--item-delay, 0ms), transform .22s ease var(--item-delay, 0ms), box-shadow .2s ease;
    will-change: opacity, transform;
}

.download-item.is-entering {
    opacity: .78;
    transform: translateY(8px);
}

.download-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
}

@keyframes downloadItemIn {
    from {
        opacity: .78;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-item__model {
    padding-right: 16px;
    color: #333;
    font-size: 14px;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.download-item__model > *{
    font-weight: 700;
}

.download-item__title {
    color: #21a8ff;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: underline;
}

.download-item__title:hover {
    color: #007ed0;
}

.download-item__type,
.download-item__date {
    color: #333;
    font-size: 14px;
}

.download-item__date {
    text-align: center;
}

.download-item__icon {
    width: 34px;
    height: 34px;
    justify-self: end;
    background: url("../download/images/download_icon4.svg") center center/18px 17px no-repeat;
    border-radius: 50%;
}

.download-item__icon:hover {
    background-color: #f2f2f2;
}

.download-loading {
    margin: 18px 0 0;
    color: #999;
    font-size: 14px;
    text-align: center;
}

.download-empty {
    min-height: 560px;
    padding: 110px 20px 40px;
    text-align: center;
}

.download-empty img {
    width: 310px;
    max-width: 80%;
    height: auto;
    margin-bottom: 26px;
}

.download-empty h3 {
    margin: 0 0 12px;
    color: #111;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 400;
}

.download-empty p {
    margin: 0 0 28px;
    color: #999;
    font-size: 16px;
    line-height: 1.45;
}

.download-empty__actions {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.download-empty__actions button,
.download-empty__actions a {
    width: 250px;
    height: 42px;
    border-radius: 2px;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
}

.download-empty__actions button {
    border: 1px solid #111;
    background: #fff;
    color: #111;
    cursor: pointer;
}

.download-empty__actions a {
    display: block;
    border: 1px solid #111;
    background: #111;
    color: #fff;
}

.download-page-lock {
    overflow: hidden;
    touch-action: none;
}


/* 弹窗 */
#hubspot-popup-wrapper{display:flex; justify-content: center; align-items: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; display: none; }
#hubspot-popup-wrapper.on{display: flex; }
.hubspot-popup-mask{position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, .5);}
.hubspot-popup-content {
  position: relative;
  max-width: 700px;
  width: 90%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 2vh;
  max-height: 90%;
  overflow-y: auto;
}
.hubspot-popup-content .hubspot-popup-close{
  position: absolute;
  width: 30px;
  height: 30px;
  right: 8px;
  top: 8px;
	background-color: #ececec;;
	z-index: 1;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
}
.hubspot-popup-close::before, .hubspot-popup-close::after { position:absolute; content:''; background: #000; border-radius: 2px; transform:rotate(45deg);}
.hubspot-popup-close::before { width: 1px; height: 21px; left: 14px; top: 4px; }
.hubspot-popup-close::after { width: 21px; height: 1px; left:4px; top:14px; }
#dosubmit {
  background-color: #121212;
  color: #fff;
  border: none;
  padding: 12px 72px;
  border-radius: 6px;
  font-size: var(--font-16);
  cursor: pointer;
  transition: opacity 0.3s;
}
/* 弹窗 end */


@media screen and (max-width: 1200px) {
    .download-body {
        grid-template-columns: 290px minmax(0, 1fr);
        gap: 34px;
        padding-left: 28px;
        padding-right: 28px;
    }

    .download-item {
        grid-template-columns: 120px minmax(180px, 1fr) 120px 96px 34px;
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media screen and (max-width: 900px) {
    .download-hero {
        height: 340px;
    }

    .download-hero h2 {
        font-size: 34px;
    }

    .download-hero p {
        font-size: 15px;
    }

    .download-body {
        display: block;
        padding: 26px 18px 48px;
    }

    .download-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        padding-right: 0;
        margin-bottom: 24px;
    }

    .download-item {
        grid-template-columns: 1fr 34px;
        gap: 8px 14px;
        padding: 18px;
    }

    .download-item__model,
    .download-item__title,
    .download-item__type,
    .download-item__date {
        grid-column: 1;
        padding: 0;
        text-align: left;
    }

    .download-item__icon {
        grid-column: 2;
        grid-row: 1 / 5;
        align-self: center;
    }
}

@media screen and (max-width: 767px) {
    .download-list-page {
        background: #f6f6f6;
    }

    .download-hero {
        position: relative;
        height: 240px;
        align-items: flex-start;
        background: linear-gradient(rgba(0, 0, 0, .30), rgba(0, 0, 0, .30)), url("../download/images/download_banner_mobile.jpg") center center/cover no-repeat;
    }

    .download-hero__inner {
        position: static;
        padding: 46px 28px 0;
    }

    .download-hero h2 {
        margin-bottom: 12px;
        font-size: 30px;
        line-height: 1.1;
    }

    .download-hero p {
        max-width: 330px;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 1.65;
    }

    .download-hero p br,
    .download-empty p br {
        display: none;
    }

    .download-search {
        position: absolute;
        top: calc(100% + 30px);
        left: 26px;
        right: 26px;
        bottom: auto;
        width: auto;
        height: 58px;
        margin: 0;
        border-radius: 2px;
        box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
        z-index: 20;
    }

    .download-search input {
        height: 58px;
        padding: 0 58px 0 20px;
        font-size: 14px;
    }

    .download-search input::-webkit-input-placeholder {
        font-size: 14px;
    }

    .download-search button[type="submit"],
    .download-search__close {
        height: 58px;
    }

    .download-list-page.is-search-open .download-search {
        position: fixed;
        top: 28px;
        left: 28px;
        right: 62px;
        bottom: auto;
        z-index: 1201;
        background: #f5f5f5;
        border-radius: 4px;
        box-shadow: none;
    }

    .download-list-page.is-search-open .download-search input {
        background: #f5f5f5;
        border-radius: 4px;
    }

    .download-list-page.is-search-open:before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 50vh;
        min-height: 332px;
        z-index: 1199;
        background: #fff;
    }

    .download-list-page.is-search-docked .download-search {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: auto;
        height: 68px;
        padding: 10px 26px;
        background: #fff;
        box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
        z-index: 80;
    }

    .download-list-page.is-search-docked.is-mobile-menu-visible .download-search {
        top: 55px;
    }

    .download-list-page.is-search-docked .download-search input {
        height: 48px;
        background: #f5f5f5;
        border-radius: 2px;
    }

    .download-list-page.is-search-docked .download-search button[type="submit"] {
        top: 10px;
        right: 26px;
        height: 48px;
    }

    .download-list-page.is-search-docked .download-body {
        padding-top: 86px;
    }

    .download-list-page.is-search-docked.is-mobile-menu-visible .download-body {
        padding-top: 141px;
    }

    .download-list-page.is-search-open .download-search__close {
        display: block;
        position: absolute;
        top: 0;
        right: -50px;
        width: 44px;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .download-list-page.is-search-open .download-search__close:before,
    .download-list-page.is-search-open .download-search__close:after {
        content: "";
        position: absolute;
        top: 28px;
        left: 14px;
        width: 20px;
        height: 2px;
        background: #111;
    }

    .download-list-page.is-search-open .download-search__close:before {
        transform: rotate(45deg);
    }

    .download-list-page.is-search-open .download-search__close:after {
        transform: rotate(-45deg);
    }

    .download-list-page.is-search-open .download-search-panel {
        position: fixed;
        top: 86px;
        left: 0;
        right: 0;
        padding: 18px 28px 28px;
        border: 0;
        box-shadow: none;
        overflow-y: auto;
        z-index: 1200;
    }

    .download-search-group {
        padding-bottom: 18px;
        margin-bottom: 16px;
    }

    .download-search-group h4 {
        margin-bottom: 10px;
        font-size: 15px;
    }

    .download-search-suggestion {
        min-height: 30px;
        color: #666;
        font-size: 14px;
    }

    .download-search-suggestion:hover {
        color: #21a8ff;
    }

    .download-body {
        display: block;
        padding: 116px 26px 54px;
    }

    .download-body.is-search-open .download-search-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1100;
        background: rgba(0, 0, 0, .68);
    }

    .download-sidebar {
        position: fixed;
        inset: 0;
        z-index: 1300;
        display: block;
        box-sizing: border-box;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        max-height: none;
        margin: 0;
        padding: 40px 24px 18px;
        overflow-y: auto;
        background: #fff;
        transform: translateX(-100%);
        transition: transform .24s ease;
    }

    .download-body.is-filter-open .download-sidebar {
        transform: translateX(0);
    }

    .download-sidebar__head {
        display: flex;
        background: #fff;
        color: #666;
        font-size: 17px;
    }

    .download-sidebar__head span {
        position: relative;
        padding-left: 30px;
    }

    .download-sidebar__head span i,
    .download-mobile-filter-button:before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 20px;
        height: 20px;
        margin-top: -10px;
        background: url("../download/images/download_icon6.svg") center center/20px 20px no-repeat;
    }

    .download-filter-apply {
        display: block;
        width: 100%;
        margin: 28px 0 0;
        height: 48px;
        border: 0;
        border-radius: 2px;
        background: #111;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
    }

    .selected-panel {
        margin-bottom: 8px;
    }

    .selected-tags {
        grid-template-columns: 1fr;
    }

    .filter-card {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .filter-card__title {
        height: 84px;
        padding: 0 42px 0 28px;
        font-size: 18px;
    }

    .filter-card__title i {
        right: 28px;
        width: 12px;
        height: 7px;
        background-size: 12px 7px;
        opacity: .65;
    }

    .filter-card.is-open .filter-card__body {
        max-height: 330px;
        padding: 0 28px 14px;
    }

    .filter-card label {
        min-height: 34px;
        margin-bottom: 12px;
        font-size: 16px;
    }

    .download-toolbar {
        align-items: center;
        margin-bottom: 16px;
    }

    .download-mobile-filter-button {
        display: block;
        position: relative;
        width: 36px;
        height: 36px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .download-mobile-filter-button:before {
        left: 7px;
        background-size: 20px 20px;
    }

    .sort-select__button {
        min-width: 112px;
        height: 36px;
        padding-right: 22px;
        color: #555;
        font-size: 13px;
    }

    .download-list {
        gap: 14px;
    }

    .download-item {
        grid-template-columns: minmax(0, 1fr) 34px;
        gap: 6px 14px;
        padding: 18px 18px 16px;
        border-radius: 0;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
    }

    .download-item:hover {
        transform: none;
    }

    .download-item__model {
        font-size: 13px;
        flex-direction: unset;
        flex-wrap: wrap;
        gap: 4px 20px;
    }
    .download-item__model > *{
        font-weight: 400;
    }

    .download-item__title {
        font-size: 15px;
        line-height: 1.18;
    }

    .download-item__type,
    .download-item__date {
        display: inline-block;
        grid-row: 3;
        color: #555;
        font-size: 12px;
    }

    .download-item__type {
        grid-column: 1;
        justify-self: start;
    }

    .download-item__date {
        grid-column: 1;
        justify-self: end;
        margin-left: 0;
        padding-right: 4px;
    }

    .download-item__icon {
        width: 34px;
        height: 34px;
        margin-top: -3px;
    }

    .download-empty {
        min-height: 420px;
        padding: 76px 20px 40px;
        background: #fff;
    }

    .download-empty img {
        width: 190px;
        margin-bottom: 18px;
    }

    .download-empty h3 {
        font-size: 17px;
    }

    .download-empty p {
        margin-bottom: 24px;
        font-size: 14px;
        line-height: 1.45;
    }

    .download-empty__actions {
        gap: 10px;
    }

    .download-empty__actions button,
    .download-empty__actions a {
        width: 136px;
        height: 48px;
        line-height: 46px;
    }
    .selected-panel__head{
        gap: 5px;
    }
}

@media screen and (max-width: 520px) {
    .download-hero {
        height: 240px;
    }

    .download-hero__inner {
        padding-left: 26px;
        padding-right: 26px;
    }

    .download-hero h2 {
        font-size: 28px;
    }

    .download-hero p br,
    .download-empty p br {
        display: none;
    }

    .download-search input {
        padding-left: 20px;
        font-size: 14px;
    }

    .selected-tags {
        grid-template-columns: 1fr;
    }

    .download-toolbar {
        align-items: center;
        gap: 10px;
    }

    .download-empty {
        min-height: 420px;
        padding-top: 76px;
    }

    .download-empty__actions {
        display: flex;
        gap: 10px;
    }

    .download-empty__actions button,
    .download-empty__actions a {
        width: 136px;
        max-width: none;
    }
}

