/* Homepage presentation layer. Keeps the existing navigation, data and actions intact. */
.home-view {
    --home-ink: #242424;
    --home-muted: #767676;
    --home-line: #e6e6e6;
    --home-soft: #f5f5f5;
    --home-accent: #8d001a;
    color: var(--home-ink);
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

.site-header {
    background: rgba(255, 255, 255, .98);
    border-top: 0;
    border-bottom-color: #dedede;
}

.header-inner {
    width: 100%;
    max-width: none;
    height: 60px;
    padding: 0 clamp(24px, 2.35vw, 48px);
    display: flex;
    grid-template-columns: none;
    gap: clamp(28px, 3vw, 58px);
}

.mega-menu {
    top: 60px;
}

.header-inner > .mobile-menu {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.brand strong {
    font-size: clamp(25px, 1.55vw, 30px);
    letter-spacing: -1.3px;
}

.brand span {
    font-size: clamp(14px, .9vw, 17px);
}

.desktop-nav {
    min-width: 0;
    flex: 1;
    justify-self: auto;
}

.desktop-nav .navbar-nav {
    justify-content: center;
    gap: clamp(20px, 1.9vw, 38px);
}

.desktop-nav .navbar-nav > li > a {
    font-size: clamp(13px, .78vw, 15px);
    letter-spacing: .01em;
}

.header-actions {
    margin-left: auto;
    justify-self: auto;
    gap: clamp(10px, .8vw, 16px);
}

.home-view .notice-panel {
    width: min(calc(100% - 48px), 1080px);
    min-height: 104px;
    margin: 20px auto 16px;
    padding: 0;
    background: var(--home-soft);
}

.home-view .notice-panel ul {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 16px 28px;
    min-height: 104px;
    background: transparent;
    color: #4b4b4b;
    font-size: 13px;
    line-height: 1.9;
}

.home-view .notice-panel li::marker {
    color: #8a8a8a;
}

.home-view .notice-panel .notice-item a {
    position: relative;
    display: inline-block;
}

.home-view .notice-panel .notice-item a::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .24s ease;
}

.home-view .notice-panel .notice-item a:hover::after,
.home-view .notice-panel .notice-item a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.home-view .notice-panel:has(.notice-item) .notice-empty {
    display: none;
}

.home-view .notice-panel .notice-empty {
    list-style-position: inside;
    color: #777;
}

.home-view .hero-carousel {
    position: relative;
    box-sizing: border-box;
    height: auto;
    min-height: calc(100svh - 201px);
    padding-bottom: 52px;
    overflow: hidden;
    background: #fff;
}

.home-view .hero,
.home-view .hero .swiper-wrapper,
.home-view .hero .swiper-slide,
.home-view .hero .swiper-slide > a {
    height: auto;
}

.home-view .hero {
    position: static;
    overflow: visible;
    touch-action: pan-y pinch-zoom;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.home-view .hero .swiper-wrapper {
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.home-view .hero .swiper-slide {
    width: min(48vw, calc(100svh - 253px));
    opacity: .78;
    transition: opacity .45s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    contain: layout paint;
}

.home-view .hero.is-dragging .swiper-slide {
    transition: none;
}

.home-view .hero .swiper-slide > a {
    display: block;
    -webkit-user-drag: none;
    user-drag: none;
}

.home-view .hero .swiper-slide-active {
    opacity: 1;
}

.home-view .hero .swiper-slide .item {
    position: relative;
    height: auto;
    aspect-ratio: 1 / 1;
    justify-content: flex-end;
    padding: clamp(26px, 2.6vw, 48px);
    background-color: #efefed;
    background-position: center;
    background-size: cover;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.home-view .hero .swiper-slide .item::after {
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .58));
}

.home-view .hero .swiper-slide .item span {
    font-size: 11px;
    letter-spacing: .2em;
}

.home-view .hero .swiper-slide .item strong {
    max-width: 92%;
    margin-top: 9px;
    font-size: clamp(22px, 1.8vw, 32px);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.home-view .hero .swiper-slide .item small {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
}

.home-view .hero .b-prev,
.home-view .hero .b-next {
    top: auto;
    bottom: 9px;
    width: 23px;
    height: 23px;
    margin: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-view .hero .b-prev {
    left: calc(50% - 88px);
}

.home-view .hero .b-next {
    right: calc(50% - 88px);
}

.home-view .hero .b-pag {
    right: auto;
    bottom: 20px !important;
    left: 50%;
    width: auto;
    display: flex;
    justify-content: center;
    transform: translateX(-50%);
}

.home-view .hero .b-prev::after,
.home-view .hero .b-next::after {
    color: #34363a;
    font-size: 16px;
    font-weight: 400;
}

.home-view .hero .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    margin: 0 5px !important;
    background: #bfc1c4;
    opacity: 1;
    cursor: pointer;
}

.home-view .hero .swiper-pagination-bullet-active {
    background: #34363a;
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px #34363a;
    transform: scale(.82);
}

.home-view .catalog-section {
    width: min(calc(100% - 64px), 1580px);
    margin: 0 auto;
    padding: 0 0 96px;
}

.home-view .category-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border: 1px solid var(--home-line);
    border-top: 0;
}

.home-view .category-tabs button {
    height: 54px;
    padding: 0 12px;
    border-right: 1px solid var(--home-line);
    background: #f7f7f7;
    color: #656565;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
}

.home-view .category-tabs button:last-child {
    border-right: 0;
}

.home-view .category-tabs button.active {
    border-top: 0;
    background: #fff;
    color: #111;
    box-shadow: inset 0 -3px 0 #222;
}

.home-view .catalog-section h1 {
    margin: 52px 0 30px;
    text-align: left;
    color: #333;
    font-size: clamp(28px, 2vw, 36px);
    line-height: 1.2;
    letter-spacing: -.035em;
}

.home-view .product-grid,
.home-view .prod-tabs .product-grid.active {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 58px 20px;
}

.home-view .product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.home-view .product-image {
    order: 1;
    padding-top: 100%;
    background: #f1f1ef;
}

.home-view .product-image img {
    object-fit: cover;
}

.home-view .new-badge {
    padding: 5px 8px;
    background: var(--home-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}

.home-view .swatches {
    order: 2;
    height: 18px;
    gap: 7px;
    margin: 10px 3px 0;
}

.home-view .swatches i {
    width: 14px;
    height: 14px;
    border-width: 1px;
    background-position: center;
    background-size: cover;
}

.home-view .product-name {
    display: -webkit-box;
    order: 3;
    min-height: 46px;
    margin: 7px 3px 10px;
    overflow: hidden;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-view .product-bottom {
    order: 4;
    margin: auto 3px 0;
}

.home-view .product-bottom b {
    color: #222;
    font-size: 18px;
    font-weight: 700;
}

.home-view .product-bottom small {
    color: var(--home-muted);
    font-size: 11px;
}

.home-view .product-bottom button {
    width: 36px;
    height: 36px;
    padding: 0;
    border-color: #e5d4aa;
    background: #fffaf0;
    color: #c7a85d;
}

.home-view .product-bottom button svg {
    width: 18px;
    height: 18px;
    margin: 8px 0;
}

.home-view .home-pagination {
    display: none;
    margin: 56px 0 0;
    text-align: center;
}

.home-view .home-pagination.active {
    display: block;
}

.home-view .home-pagination:empty {
    display: none;
}

.home-view .home-pagination .pagination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.home-view .home-pagination .pagination > li {
    margin: 0;
}

.home-view .home-pagination .pagination > li > a,
.home-view .home-pagination .pagination > li > span {
    min-width: 38px;
    height: 38px;
    padding: 8px 12px;
    border: 1px solid #dedede;
    border-radius: 0;
    background: #fff;
    color: #333;
    line-height: 20px;
}

.home-view .home-pagination .pagination > .active > span,
.home-view .home-pagination .pagination > .active > span:hover {
    border-color: #222;
    background: #222;
    color: #fff;
}

@media (max-width: 1199px) {
    .home-view .product-grid,
    .home-view .prod-tabs .product-grid.active {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .header-inner {
        width: 100%;
        height: 64px;
        padding: 0 12px;
        gap: 7px;
    }

    .header-inner > .mobile-menu {
        display: grid !important;
        width: 28px;
        height: 36px;
        flex: 0 0 28px;
        padding: 6px 2px;
        place-items: center;
        border: 0;
        background: transparent;
    }

    .header-inner > .mobile-menu svg {
        width: 21px;
        height: 21px;
    }

    .brand {
        gap: 5px;
    }

    .brand strong {
        font-size: 23px;
        letter-spacing: -1.2px;
    }

    .brand span {
        font-size: 13px;
    }

    .header-actions {
        gap: 1px;
    }

    .header-actions > a,
    .header-actions > button {
        display: grid;
        width: 29px;
        height: 36px;
        padding: 6px 4px;
        place-items: center;
    }

    .header-actions .desktop-action {
        display: grid !important;
    }

    .header-actions svg {
        width: 20px;
        height: 20px;
    }

    .mobile-drawer {
        top: 64px;
    }

    .home-view .notice-panel {
        width: calc(100% - 20px);
        margin: 14px 10px;
    }

    .home-view .notice-panel ul {
        padding: 15px 22px;
        font-size: 12px;
        line-height: 1.85;
    }

    .home-view .hero .swiper-slide .item {
        padding: 22px;
    }

    .home-view .hero-carousel {
        min-height: 0;
        padding-bottom: 40px;
    }

    .home-view .hero .swiper-slide {
        width: auto;
    }

    .home-view .hero .b-pag {
        bottom: 14px !important;
    }

    .home-view .hero .swiper-slide .item strong {
        max-width: 100%;
        font-size: 21px;
    }

    .home-view .hero .swiper-slide .item small {
        font-size: 12px;
    }

    .home-view .hero .b-prev,
    .home-view .hero .b-next {
        display: none;
    }

    .home-view .catalog-section {
        width: calc(100% - 24px);
        padding-bottom: 60px;
    }

    .home-view .category-tabs {
        grid-template-columns: repeat(4, 126px);
        margin: 0 -12px;
        overflow-x: auto;
        border-right: 0;
        border-left: 0;
        scrollbar-width: none;
    }

    .home-view .category-tabs::-webkit-scrollbar {
        display: none;
    }

    .home-view .category-tabs button {
        height: 48px;
        font-size: 13px;
    }

    .home-view .catalog-section h1 {
        margin: 34px 0 24px;
        font-size: 28px;
    }

    .home-view .product-grid,
    .home-view .prod-tabs .product-grid.active {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px 9px;
    }

    .home-view .new-badge {
        padding: 4px 6px;
        font-size: 10px;
    }

    .home-view .swatches {
        height: 15px;
        gap: 5px;
        margin: 8px 1px 0;
        overflow: hidden;
    }

    .home-view .swatches i {
        width: 11px;
        height: 11px;
        flex: 0 0 11px;
    }

    .home-view .product-name {
        min-height: 58px;
        margin: 6px 1px 9px;
        font-size: 12px;
        line-height: 1.55;
        -webkit-line-clamp: 3;
    }

    .home-view .product-bottom {
        margin-inline: 1px;
    }

    .home-view .product-bottom b {
        font-size: 14px;
    }

    .home-view .product-bottom small {
        font-size: 9px;
    }

    .home-view .product-bottom button {
        width: 31px;
        height: 31px;
    }

    .home-view .product-bottom button svg {
        width: 15px;
        height: 15px;
        margin: 7px 0;
    }

    .home-view .home-pagination {
        margin-top: 38px;
        overflow-x: auto;
    }

    .home-view .home-pagination .pagination > li > a,
    .home-view .home-pagination .pagination > li > span {
        min-width: 34px;
        height: 34px;
        padding: 6px 10px;
        line-height: 20px;
    }
}

@media (max-width: 374px) {
    .header-inner {
        padding-inline: 8px;
        gap: 4px;
    }

    .brand strong {
        font-size: 21px;
    }

    .brand span {
        font-size: 12px;
    }

    .header-actions > a,
    .header-actions > button {
        width: 26px;
    }

    .home-view .product-grid,
    .home-view .prod-tabs .product-grid.active {
        gap-inline: 7px;
    }
}

/* News / announcement detail page, aligned with the restrained editorial reference. */
.news-detail-main {
    background: #f3f3f3;
    color: #242424;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

.news-breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid #ededed;
}

.news-breadcrumb {
    display: flex;
    width: min(calc(100% - 64px), 1120px);
    min-height: 56px;
    margin: 0 auto;
    align-items: center;
    gap: 13px;
    overflow: hidden;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
}

.news-breadcrumb a {
    flex: 0 0 auto;
    color: #666;
}

.news-breadcrumb a:hover,
.news-breadcrumb a:focus-visible {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-breadcrumb .current {
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-detail-page.placeholder-page {
    display: block;
    padding: 64px 24px 104px;
    background: #f3f3f3;
}

.news-detail-page .news-content {
    box-sizing: border-box;
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 64px 72px 76px;
    background: #fff;
}

.news-detail-page .news-content .title {
    text-align: left;
}

.news-detail-page .news-content .title h1 {
    margin: 0;
    color: #202020;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .015em;
    line-height: 1.55;
}

.news-detail-page .news-content .time {
    display: flex;
    margin: 14px 0 0;
    align-items: center;
    gap: 18px;
    color: #3f3f3f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    text-align: left;
}

.news-detail-page .news-content .time span {
    margin: 0;
}

.news-detail-page .news-content .content {
    margin-top: 64px;
    padding: 0;
    border-radius: 0;
    color: #292929;
    font-size: 15px;
    letter-spacing: .025em;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.news-detail-page .news-content .content p {
    margin: 0 0 34px !important;
    padding: 0 !important;
    color: #292929 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    letter-spacing: .025em !important;
    line-height: 1.9 !important;
}

.news-detail-page .news-content .content h2,
.news-detail-page .news-content .content h3,
.news-detail-page .news-content .content h4 {
    margin: 48px 0 18px !important;
    color: #202020 !important;
    font-family: inherit !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: .015em !important;
    line-height: 1.65 !important;
}

.news-detail-page .news-content .content a {
    margin-top: 0;
    border-bottom: 0;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-detail-page .news-content .content img,
.news-detail-page .news-content .content video {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 34px auto;
}

.news-detail-page .news-content .content table {
    display: table;
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px 0 !important;
    border-collapse: collapse;
    table-layout: auto;
}

.news-detail-page .news-content .content th,
.news-detail-page .news-content .content td {
    padding: 10px 12px !important;
    border: 1px solid #d9d9d9 !important;
    color: #292929 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
}

.news-detail-page .news-content .content td p,
.news-detail-page .news-content .content th p {
    margin: 0 !important;
    font-size: inherit !important;
}

.news-detail-page .news-content .content .sxp {
    margin-top: 56px;
    padding-top: 22px;
    border-top: 1px solid #e2e2e2;
    color: #666;
    font-size: 13px;
}

.news-detail-page .news-content .fh-box {
    margin-top: 42px;
    font-size: 13px;
}

.news-detail-page .news-content .fh-box a {
    margin-top: 0;
}

@media (min-width: 761px) and (max-width: 1180px) {
    .news-breadcrumb {
        width: calc(100% - 48px);
    }

    .news-detail-page.placeholder-page {
        padding: 48px 24px 80px;
    }

    .news-detail-page .news-content {
        padding: 52px 48px 64px;
    }
}

@media (max-width: 760px) {
    .news-breadcrumb {
        width: calc(100% - 32px);
        min-height: 48px;
        gap: 9px;
        font-size: 11px;
    }

    .news-detail-page.placeholder-page {
        padding: 24px 12px 56px;
    }

    .news-detail-page .news-content {
        padding: 32px 22px 44px;
    }

    .news-detail-page .news-content .title h1 {
        font-size: 21px;
        line-height: 1.5;
    }

    .news-detail-page .news-content .time {
        gap: 12px;
    }

    .news-detail-page .news-content .content {
        margin-top: 44px;
    }

    .news-detail-page .news-content .content p {
        margin-bottom: 28px !important;
        font-size: 14px !important;
        line-height: 1.85 !important;
    }

    .news-detail-page .news-content .content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .news-detail-page .news-content .content th,
    .news-detail-page .news-content .content td {
        min-width: 120px;
        padding: 8px 9px !important;
        font-size: 12px !important;
    }

    .news-detail-page .news-content .content .sxp {
        gap: 16px;
        font-size: 12px;
    }

    .news-detail-page .news-content .fh-box a::before,
    .news-detail-page .news-content .fh-box a::after {
        width: 42px;
    }
}
