@import "/statics/home/components/hx-second-header.css";
@import "/statics/home/components/hx-inner-banner.css";
@import "/statics/home/components/hx-sell-point-grid.css";
@import "/statics/home/components/hx-sell-point-introduce.css";
@import "/statics/home/components/hx-sell-point-introduce-swiper.css";
@import "/statics/home/components/hx-sell-point-introduce-template-apple.css";
@import "/statics/home/components/hx-introduce-cat.css";
@import "/statics/home/components/hx-introduce-deer.css";
@import "/statics/home/components/hx-introduce-emu.css";
@import "/statics/home/components/hx-introduce-grid.css";

:root {
    /* 用于快速设置响应尺寸 */
    --page-news-details-ratio: 1;

    /* 此页面中元素间距的一些关键值 */
    --page-news-details-size-top: calc(120px * var(--page-news-details-ratio));
    --page-news-details-size-bot: calc(56px * var(--page-news-details-ratio));
    --page-news-details-size-mid: calc(80px * var(--page-news-details-ratio));
}

.view-product-details {
    background: #000000;
    color: #ffffff;
}

.view-product-details[bgTheme="white"] {
    background: var(--app-page-background);
    color: var(--app-text-color);

    /* hx-sell-point-introduce */
    --hx-sell-point-introduce-text-color: var(--app-text-color);

    /* --hx-sell-point-introduce-swiper */
    --hx-sell-point-introduce-swiper-text-color-active: var(--app-theme-color);
    --hx-sell-point-introduce-swiper-pagination-item-bg: repeating-linear-gradient(
            90deg,
            rgba(248, 248, 248, 1) 0px,
            rgba(248, 248, 248, 1) 1px,
            transparent 2px,
            transparent 10px
    );

    /* --hx-introduce-grid */
    --hx-introduce-grid-text-color: var(--app-text-color);
    --hx-introduce-grid-item-background: #ffffff;
}

/* 各个模块之间的间隔 */
.gap-block {
    height: var(--page-news-details-size-top);
}

.gap-block.mid {
    height: var(--page-news-details-size-bot);
}

/* Banner */
.banner-container {
    --hx-inner-banner-min-height: 500px; /* 最小高度 */
    --hx-inner-banner-ratio: 950 / 1920; /* 宽高比 */
    --hx-inner-banner-max-height: 950px; /* 最大高度 */
    --hx-inner-banner-title-font-weight: 400;
    --hx-inner-banner-title-margin: 0; /* 标题间距 */
}

/* 1680 */
@media (max-width: 1680px) {
    :root {
        /* 用于快速设置响应尺寸 */
        --page-news-details-ratio: 0.9;
    }
}

/* 1440 */
@media (max-width: 1440px) {
    :root {
        /* 用于快速设置响应尺寸 */
        --page-news-details-ratio: 0.85;
    }
}

/* 1366 */
@media (max-width: 1366px) {
    :root {
        /* 用于快速设置响应尺寸 */
        --page-news-details-ratio: 0.8;
    }
}

/* 1280 */
@media (max-width: 1280px) {
    :root {
        /* 用于快速设置响应尺寸 */
        --page-news-details-ratio: 0.75;
    }
}

/* 1024 */
@media (max-width: 1024px) {
    :root {
        /* 用于快速设置响应尺寸 */
        --page-news-details-ratio: 0.7;
    }
}

/* 992 */
@media (max-width: 992px) {
    :root {
        /* 用于快速设置响应尺寸 */
        --page-news-details-ratio: 0.65;
    }
}

/* 768 */
@media (max-width: 768px) {
    :root {
        /* 用于快速设置响应尺寸 */
        --page-news-details-ratio: 0.5;
    }
}

/* 576 */
@media (max-width: 576px) {
    :root {
        /* 用于快速设置响应尺寸 */
        --page-news-details-ratio: 0.4;
    }
}
