.sy-products-page,
.sy-product-detail {
    background: #f7f7f5;
    color: #202020;
}

.sy-products-hero {
    min-height: 460px;
    padding-top: 120px;
    background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.24)), url("https://www.macio.com.cn/Uploads/Single/202410/6711b9c10f63f.jpg") center/cover no-repeat;
    color: #fff;
}

.sy-products-hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 140px;
}

.sy-products-hero p {
    margin: 0 0 12px;
    font-size: 18px;
    letter-spacing: 0;
}

.sy-products-hero h1 {
    margin: 0;
    font-size: 46px;
    font-weight: 400;
}

.sy-products-hero article {
    max-width: 620px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.sy-products-shell,
.sy-product-detail-head,
.sy-product-gallery,
.sy-product-lower {
    max-width: 1440px;
    margin: 0 auto;
}

.sy-products-shell {
    padding-top: 58px;
    padding-bottom: 120px;
}

.sy-product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 34px;
    color: #777;
    font-size: 14px;
}

.sy-product-breadcrumb a {
    color: #555;
}

.sy-product-filter {
    margin-bottom: 70px;
}

.sy-product-filter-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: start;
    gap: 18px;
    padding: 26px 0;
    border-bottom: 1px solid #dedbd6;
}

.sy-product-filter-row strong {
    font-size: 18px;
    font-weight: 400;
}

.sy-product-filter-row div {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
}

.sy-product-filter-row a {
    color: #555;
    font-size: 15px;
}

.sy-product-filter-row a.active,
.sy-product-filter-row a:hover {
    color: #111;
}

.sy-product-search {
    display: flex;
    max-width: 520px;
    height: 50px;
    margin: 30px auto 0;
    background: #fff;
}

.sy-product-search input {
    flex: 1;
    min-width: 0;
    padding: 0 20px;
    border: 1px solid #ddd;
    border-right: 0;
    background: #fff;
}

.sy-product-search button {
    width: 96px;
    border: 0;
    background: #202020;
    color: #fff;
    cursor: pointer;
}

.sy-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 60px 20px;
}

.sy-product-card {
    min-width: 0;
}

.sy-product-card-image {
    display: block;
    aspect-ratio: 345 / 380;
    overflow: hidden;
    background: #fff;
}

.sy-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.sy-product-card:hover .sy-product-card-image img {
    transform: scale(1.04);
}

.sy-product-card-body {
    position: relative;
    min-height: 132px;
    padding: 28px 54px 0 0;
}

.sy-product-card-body p {
    margin: 0 0 7px;
    color: #8d7a67;
    font-size: 13px;
}

.sy-product-card-body h2 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.sy-product-card-body h2 a {
    color: #191919;
}

.sy-product-card-body article {
    display: -webkit-box;
    overflow: hidden;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sy-product-card-more {
    position: absolute;
    top: 28px;
    right: 0;
    width: 42px;
    height: 42px;
    overflow: hidden;
    color: transparent;
    border: 1px solid #d7d2ca;
}

.sy-product-card-more::before,
.sy-product-card-more::after {
    content: "";
    position: absolute;
    background: #8d7a67;
}

.sy-product-card-more::before {
    width: 16px;
    height: 1px;
    left: 13px;
    top: 20px;
}

.sy-product-card-more::after {
    width: 1px;
    height: 16px;
    left: 20px;
    top: 13px;
}

.sy-product-detail-head {
    padding-top: 150px;
    padding-bottom: 42px;
}

.sy-product-detail-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 770px);
    gap: 80px;
    padding-bottom: 52px;
    border-bottom: 1px solid #dedbd6;
}

.sy-product-detail-title p {
    margin: 0 0 12px;
    color: #8d7a67;
    font-size: 15px;
}

.sy-product-detail-title h1 {
    max-width: 560px;
    margin: 0 0 20px;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.25;
}

.sy-product-detail-title article {
    max-width: 520px;
    color: #666;
    font-size: 18px;
    line-height: 1.7;
}

.sy-product-selling h2,
.sy-product-gallery h2,
.sy-product-specs h2,
.sy-product-lead h2 {
    margin: 0 0 22px;
    font-size: 28px;
    font-weight: 400;
}

.sy-product-selling article,
.sy-product-lead p {
    max-width: 720px;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.sy-product-selling ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.sy-product-selling li {
    padding-left: 18px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    border-left: 2px solid #8d7a67;
}

.sy-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.sy-product-button,
.sy-product-lead button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 48px;
    padding: 0 24px;
    border: 1px solid #202020;
    color: #202020;
    background: transparent;
    cursor: pointer;
}

.sy-product-button.primary,
.sy-product-lead button {
    background: #202020;
    color: #fff;
}

.sy-product-gallery {
    padding-top: 72px;
    padding-bottom: 88px;
}

.sy-product-gallery h2 {
    position: relative;
    margin-bottom: 34px;
    padding-left: 18px;
}

.sy-product-gallery h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .25em;
    width: 3px;
    height: 1.1em;
    background: #8d7a67;
}

.sy-product-gallery-stage {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ebe7df;
    box-shadow: 0 24px 60px rgba(25, 25, 25, .06);
}

.sy-product-gallery-stage figure {
    display: none;
    margin: 0;
    aspect-ratio: 16 / 9;
    max-height: 640px;
}

.sy-product-gallery-stage figure.active {
    display: block;
}

.sy-product-gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sy-product-gallery-thumbs {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding: 0 0 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.sy-product-gallery-thumbs button {
    flex: 0 0 clamp(138px, 13vw, 196px);
    padding: 0;
    aspect-ratio: 16 / 9;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
    opacity: .72;
    transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.sy-product-gallery-thumbs button.active {
    border-color: #8d7a67;
    opacity: 1;
}

.sy-product-gallery-thumbs button:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.sy-product-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sy-product-lower {
    display: grid;
    grid-template-columns: minmax(320px, 520px) 1fr;
    gap: 48px;
    padding-bottom: 120px;
}

.sy-product-specs,
.sy-product-lead {
    padding: 36px;
    background: #fff;
}

.sy-product-specs dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    margin: 0;
    border-top: 1px solid #eee;
}

.sy-product-specs dt,
.sy-product-specs dd {
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.sy-product-specs dt {
    color: #222;
}

.sy-product-lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.sy-product-lead-form .wide,
.sy-product-lead-form button {
    grid-column: 1 / -1;
}

.sy-product-lead input,
.sy-product-lead select,
.sy-product-lead textarea {
    width: 100%;
    padding: 0 16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
}

.sy-product-lead input,
.sy-product-lead select {
    height: 48px;
}

.sy-product-lead textarea {
    padding-top: 14px;
    resize: vertical;
}

.sy-product-empty {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

@media (max-width: 1024px) {
    .sy-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sy-product-detail-intro,
    .sy-product-lower {
        grid-template-columns: 1fr;
    }
    .sy-product-gallery {
        padding-top: 52px;
        padding-bottom: 64px;
    }
}

@media (max-width: 640px) {
    .sy-products-hero {
        min-height: 360px;
    }
    .sy-products-hero-inner {
        padding-top: 100px;
    }
    .sy-products-hero h1,
    .sy-product-detail-title h1 {
        font-size: 32px;
    }
    .sy-product-filter-row {
        grid-template-columns: 1fr;
    }
    .sy-product-grid,
    .sy-product-selling ul,
    .sy-product-lead-form {
        grid-template-columns: 1fr;
    }
    .sy-product-gallery h2 {
        margin-bottom: 24px;
    }
    .sy-product-detail .sy-product-gallery-stage figure {
        aspect-ratio: 4 / 3;
        max-height: none;
    }
    .sy-product-gallery-thumbs {
        gap: 10px;
        margin-top: 16px;
    }
    .sy-product-gallery-thumbs button {
        flex-basis: 120px;
    }
    .sy-product-specs,
    .sy-product-lead {
        padding: 24px;
    }
}

.sy-archive-page {
    background: #f7f7f5;
    color: #202020;
}

.sy-archive-hero,
.sy-products-hero,
.sy-video-hero {
    min-height: 420px;
    padding-top: 118px;
    background-image: linear-gradient(rgba(0,0,0,.32), rgba(0,0,0,.26)), var(--sy-archive-banner-image, url("https://www.macio.com.cn/Uploads/Single/202410/6711b9c10f63f.jpg"));
    background-position: center;
    background-size: cover;
    color: #fff;
}

.sy-archive-hero-inner,
.sy-products-hero-inner,
.sy-video-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 118px;
}

.sy-archive-hero p,
.sy-products-hero p,
.sy-video-hero p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sy-archive-hero h1,
.sy-products-hero h1,
.sy-video-hero h1 {
    margin: 0;
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.18;
    font-weight: 400;
}

.sy-archive-hero article,
.sy-products-hero article,
.sy-video-hero article {
    max-width: 620px;
    margin-top: 20px;
    color: rgba(255,255,255,.88);
    font-size: 16px;
    line-height: 1.75;
}

.sy-archive-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 64px;
    padding-bottom: 110px;
}

.sy-archive-card {
    min-width: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(32,32,32,.08);
}

.sy-archive-card h2 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 400;
}

.sy-archive-card h2 a {
    color: #202020;
}

.sy-archive-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.75;
}

.sy-product-detail-head,
.sy-product-gallery,
.sy-product-lower {
    max-width: 1180px;
}

.sy-product-detail-head {
    padding-top: 132px;
    padding-bottom: 34px;
}

.sy-product-breadcrumb {
    margin-bottom: 22px;
}

.sy-product-detail-intro {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: 48px;
    padding: 42px;
    border: 1px solid rgba(32,32,32,.08);
    background: #fff;
    box-shadow: 0 22px 54px rgba(31, 30, 27, .06);
}

.sy-product-detail-title h1 {
    max-width: 640px;
    margin-bottom: 18px;
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1.18;
}

.sy-product-detail-title article {
    max-width: 620px;
    font-size: 16px;
}

.sy-product-selling {
    padding-left: 36px;
    border-left: 1px solid #ebe7df;
}

.sy-product-selling h2,
.sy-product-gallery h2,
.sy-product-specs h2,
.sy-product-lead h2 {
    font-size: 24px;
    line-height: 1.25;
}

.sy-product-selling ul {
    grid-template-columns: 1fr;
    gap: 10px;
}

.sy-product-gallery {
    padding-top: 48px;
    padding-bottom: 64px;
}

.sy-product-gallery-stage {
    border-color: rgba(32,32,32,.08);
    box-shadow: 0 18px 46px rgba(31,30,27,.06);
}

.sy-product-gallery-stage figure {
    aspect-ratio: 16 / 10;
    max-height: 560px;
    background: #f1efeb;
}

.sy-product-gallery-stage img {
    object-fit: contain;
}

.sy-product-gallery-thumbs {
    gap: 12px;
    margin-top: 18px;
}

.sy-product-gallery-thumbs button {
    flex-basis: 150px;
}

.sy-product-lower {
    grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 104px;
}

.sy-product-specs,
.sy-product-lead {
    border: 1px solid rgba(32,32,32,.08);
    box-shadow: 0 14px 34px rgba(31,30,27,.04);
}

.sy-product-lead {
    padding: 38px 42px;
}

.sy-product-lead p {
    max-width: 640px;
    font-size: 15px;
}

@media (max-width: 1024px) {
    .sy-archive-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sy-product-detail-intro {
        grid-template-columns: 1fr;
    }

    .sy-product-selling {
        padding-left: 0;
        padding-top: 28px;
        border-left: 0;
        border-top: 1px solid #ebe7df;
    }
}

@media (max-width: 640px) {
    .sy-archive-hero,
    .sy-products-hero,
    .sy-video-hero {
        min-height: 340px;
        padding-top: 92px;
    }

    .sy-archive-hero-inner,
    .sy-products-hero-inner,
    .sy-video-hero-inner {
        padding-top: 86px;
    }

    .sy-archive-list {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 72px;
    }

    .sy-product-detail-head {
        padding-top: 104px;
    }

    .sy-product-detail-intro {
        padding: 26px;
    }

    .sy-product-gallery-stage figure {
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .sy-product-lower {
        gap: 18px;
    }
}
