/* MEGAZE 顶部 Logo */
header a:has(img[src*="megaze-logo"]) {
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    display: inline-block !important;
}

header img[src*="megaze-logo"] {
    width: 215px !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
}

/* 手机端 */
@media (max-width: 768px) {
    header img[src*="megaze-logo"] {
        width: 170px !important;
    }
}
.home .products {
    display: none !important;
}/* ABOUT — What we do */
.about-capabilities,
.about-process {
    max-width: 1440px;
    margin: 90px auto 0;
}

.about-capabilities > h2,
.about-process > h2 {
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.08;
    margin: 18px 0 42px;
    max-width: 760px;
}

/* 4项能力 */
.about-capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #d9d9d9;
}

.about-capability-grid article {
    padding: 30px 36px 34px 0;
    border-bottom: 1px solid #d9d9d9;
}

.about-capability-grid article:nth-child(odd) {
    border-right: 1px solid #d9d9d9;
}

.about-capability-grid article:nth-child(even) {
    padding-left: 36px;
}.productgrid img {
    background: #ffffff !important;
}

.about-capability-grid h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.25;
}

.about-capability-grid p {
    margin: 0;
    max-width: 520px;
    line-height: 1.6;
    color: #5f666b;
}


/* ABOUT — From idea to shelf */
.about-process {
    margin-top: 95px;
    margin-bottom: 75px;
}

.about-process-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
}

.about-process-row div {
    padding: 26px 24px 28px 0;
}

.about-process-row span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: #8a8f93;
    margin-bottom: 14px;
}

.about-process-row strong {
    display: block;
    font-size: 19px;
    line-height: 1.25;
}


/* About 页面公司图，与流程留出呼吸感 */
.about-process + img,
.about-process + .brandshot {
    margin-top: 20px;
}


/* Mobile */
@media (max-width: 768px) {

    .about-capabilities,
    .about-process {
        margin-top: 60px;
    }

    .about-capability-grid {
        grid-template-columns: 1fr;
    }

    .about-capability-grid article,
    .about-capability-grid article:nth-child(even) {
        padding: 23px 0;
        border-right: 0;
    }

    .about-process-row {
        grid-template-columns: 1fr;
    }

    .about-process-row div {
        padding: 18px 0;
        border-bottom: 1px solid #d9d9d9;
    }

    .about-process-row div:last-child {
        border-bottom: 0;
    }
}.productgrid article {
    display: flex;
    flex-direction: column;
}

.productgrid article > a {
    display: block;
}

.productgrid article img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}

/* 标题统一高度和位置 */
.productgrid article h2,
.productgrid article h3,
.productgrid article .product-title {
    min-height: 2.8em;
    margin-top: 18px;
    margin-bottom: 10px;
    line-height: 1.35;
}

/* SKU 和描述的节奏统一 */
.productgrid article p {
    margin-top: 0;
}/* 产品网格 */
.productgrid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 60px;
    row-gap: 70px;
}

/* 每一个产品收窄，并在自己的栏目中居中 */
.productgrid article {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

/* 图片区域 */
.productgrid article img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    object-fit: contain;
    background: #fff !important;
}

/* 标题 */
.productgrid article h2,
.productgrid article h3 {
    margin-top: 18px;
    margin-bottom: 20px;
    line-height: 1.25;
}

/* SKU 和文字 */
.productgrid article p {
    margin-top: 0;
    line-height: 1.55;
}.productgrid article {
    text-align: center;
}

.productgrid article h2,
.productgrid article h3,
.productgrid article p {
    text-align: center;
}