/* elegate — 基础：字体、变量、重置、容器、通用小件。只使用 eg- 前缀的 class。 */

/* Inter：与生产完全相同——同一份 Inter 5.2.8 可变字体文件，按生产的声明方式（Cloudflare Fonts 改写的 Google Fonts Inter:300,400,600,700）
   每个字符子集 × 300/400/600/700 各一条、字重固定。只有这四档，所以样式里写 500 时会按 CSS 字体匹配规则落到 400（生产即如此）。 */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/inter/inter-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/inter/inter-greek.woff2") format("woff2");
    unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/inter/inter-cyrillic.woff2") format("woff2");
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/inter/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/inter/inter-greek-ext.woff2") format("woff2");
    unicode-range: U+1F00-1FFF;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/inter/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/inter/inter-vietnamese.woff2") format("woff2");
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/inter/inter-cyrillic.woff2") format("woff2");
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/inter/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/inter/inter-greek.woff2") format("woff2");
    unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/inter/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/inter/inter-vietnamese.woff2") format("woff2");
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/inter/inter-greek-ext.woff2") format("woff2");
    unicode-range: U+1F00-1FFF;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/inter/inter-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/inter/inter-greek.woff2") format("woff2");
    unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/inter/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/inter/inter-cyrillic.woff2") format("woff2");
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/inter/inter-vietnamese.woff2") format("woff2");
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/inter/inter-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/inter/inter-greek-ext.woff2") format("woff2");
    unicode-range: U+1F00-1FFF;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/inter/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/inter/inter-cyrillic.woff2") format("woff2");
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/inter/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/inter/inter-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/inter/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/inter/inter-vietnamese.woff2") format("woff2");
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/inter/inter-greek-ext.woff2") format("woff2");
    unicode-range: U+1F00-1FFF;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/inter/inter-greek.woff2") format("woff2");
    unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
    font-display: swap;
}


:root {
    --eg-primary: #00abc5;
    --eg-on-primary: #fff;
    --eg-text: #333e48;
    --eg-muted: #7c7c7c;
    --eg-line: #ddd;
    --eg-bg: #fff;
    --eg-bg-soft: #f8f8f8;
    --eg-bg-bar: #eaeaea;
    --eg-price: #e23e3e;
    --eg-link: #0062bd;
    /* 交互状态（按生产的样式规则）：链接悬停加深、主色加深、输入框聚焦边框 */
    --eg-link-hover: #29323a;
    --eg-primary-dark: #0097ae;
    --eg-focus: #68a5fe;
    --eg-focus-select: #ffeb80;
    --eg-font: Inter, "Open Sans", HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; /* 与生产 body 的后备栈逐字一致 */
    --eg-container: 100%;
    --eg-gutter: 15px;
    --eg-radius: 8px;
    --eg-ease: 200ms ease;
}

@media (min-width: 576px) { :root { --eg-container: 540px; } }
@media (min-width: 768px) { :root { --eg-container: 720px; } }
@media (min-width: 992px) { :root { --eg-container: 960px; } }
@media (min-width: 1200px) { :root { --eg-container: 1200px; } } /* 生产 .container{max-width:1200px}：1200–1479 内容宽 1170 */
@media (min-width: 1480px) { :root { --eg-container: 1430px; } }

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 生产（Bootstrap reboot）原样：表单控件继承字体。否则按钮是浏览器默认的 Arial 13.33px（搜索按钮即如此） */
button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

.eg-body {
    margin: 0;
    background: var(--eg-bg);
    color: var(--eg-text);
    font-family: var(--eg-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.714;
    letter-spacing: -0.01em;
    /* 生产 body 原样：长单词断行（页脚电话号码在 180px 内折行）、字距调整、抗锯齿、定位上下文 */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    word-wrap: break-word;
    position: relative;
}

/* img / a 的默认样式由 reboot.css 按生产的元素选择器提供（原先 .eg-body img / .eg-body a 优先级更高，
   会压过插件自己的样式，如底部导航分类弹层的 36×36 图片被拉高）。 */

.eg-body address {
    font-style: normal;
}

.eg-container {
    width: 100%;
    max-width: var(--eg-container);
    margin-inline: auto;
    padding-inline: var(--eg-gutter);
}

.eg-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eg-skip {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 1000;
    padding: 8px 16px;
    background: #fff;
    color: var(--eg-text);
    border-radius: 4px;
}

.eg-skip:focus {
    left: 8px;
}

.eg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    flex: none;
}

/* ---------- 字形图标（与生产同一套字形：从旧主题图标字体按需提取的 9 个字形，字体度量不变） ----------
 * .eg-gi：主题自己的图标（elegate_icon() 输出）；.ec / .ec-*：插件沿用旧主题写法输出的图标。
 * 基础规则与旧主题 .ec 相同：inline-block、字号继承、行高 1、垂直居中。 */
@font-face {
    font-family: "eg-icons";
    src: url("../fonts/eg-icons/eg-icons.woff2") format("woff2"),
        url("../fonts/eg-icons/eg-icons.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.eg-gi,
.ec {
    display: inline-block;
    width: auto;
    height: auto;
    font: normal normal normal 14px/1 eg-icons;
    font-size: inherit;
    text-rendering: auto;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 伪元素只设 content（生产也只有 .ec-*::before{content}），字体与行高都从 .eg-gi / .ec 继承 */
.eg-gi--cart::before, .ec-add-to-cart::before { content: "\61"; }
.eg-gi--compare::before, .ec-compare::before { content: "\64"; }
.eg-gi--heart::before, .ec-favorites::before { content: "\67"; }
.eg-gi--bag::before, .ec-shopping-bag::before { content: "\6e"; }
.eg-gi--support::before, .ec-support::before { content: "\6f"; }
.eg-gi--user::before, .ec-user::before { content: "\72"; }
.eg-gi--close::before, .ec-close-remove::before { content: "\77"; }
.eg-gi--arrow::before { content: "\79"; }
.eg-gi--menu::before, .ec-menu::before { content: "\e908"; }

/* 生产 .off-canvas-wrapper #page { overflow: hidden }：外层容器裁掉溢出（如商品页长标题面包屑），文档不出现横向滚动 */
.eg-site {
    overflow: hidden;
    overflow: clip; /* 裁剪效果相同，但不成为滚动容器，里面的 position: sticky 仍相对屏幕生效（旧浏览器退回 hidden） */
}

/* 生产 .site-content：下边距 40px（2.857em），不设最小高度（内容短时页脚紧跟内容） */
.eg-main {
    display: block;
    margin-bottom: 2.857em;
}

/* 生产 #content：<768 下边距 5.714em */
@media (max-width: 767.98px) {
    .eg-main { margin-bottom: 5.714em; }
}

.eg-entry__title {
    margin: 32px 0 16px;
    font-size: 35px;
    font-weight: 500;
    line-height: 1.2;
}

/* 普通页面标题：生产 .page .entry-header { 居中; margin-bottom: 2.857em } 与其中 h1 { 2.857em; 字距 -.025em; 下边距 0 }，
   各宽度相同（字重 / 行高来自 reboot h1） */
.page .eg-entry__head {
    margin-bottom: 2.857em;
    text-align: center;
}

.page .eg-entry__head .eg-entry__title {
    margin: 0;
    font-size: 2.857em;
    letter-spacing: -.025em;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- 面包屑（生产 .woocommerce-breadcrumb 的规则原样，全站通用；显示与否按页面类型另行控制） ---------- */
/* 默认显示（生产 ≥981 全站显示，≤980 的隐藏规则在下方），个别页面类型另有隐藏规则 */
.eg-crumbs {
    padding: 9px 15px;
    margin: 0 -15px 1.6em;
    background-color: rgb(246.5, 246.5, 246.5);
    white-space: nowrap;
    overflow: scroll;
}

.eg-crumbs a:hover { color: var(--eg-link-hover); }

.eg-crumbs__sep {
    margin: 0 10px;
}

/* 分隔符后面紧跟的链接（中间各级）是胶囊 */
.eg-crumbs__sep + a {
    padding: .465em .929em;
    border-radius: .357em;
    display: inline-block;
    transition: background-color var(--eg-ease), color var(--eg-ease);
}

@media (min-width: 768px) {
    .eg-crumbs {
        background-color: transparent;
        padding: 1.786em 0 1.6em;
        overflow: visible;
        margin: 0;
    }

    .eg-crumbs__sep {
        margin: 0 1.429em;
    }

    .eg-crumbs__sep + a {
        background-color: rgb(241.4, 241.4, 241.4);
    }

    .eg-crumbs__sep + a:focus,
    .eg-crumbs__sep + a:hover {
        background-color: rgb(228.65, 228.65, 228.65);
    }
}

/* ---------- 404（生产 Electro 404 的规则原样：Bootstrap display-3 / lead / my-4 / pb-5 / 栅格 + .info-404 专属两条） ---------- */
.eg-404__head {
    padding-bottom: 3rem;
    text-align: center;
}

.eg-404__code {
    margin: 0 0 .5rem;
    font-size: calc(1.525rem + 3.3vw);
    font-weight: 300;
    line-height: 1.2;
}

.eg-404__lead {
    margin: 0 0 1rem;
    font-size: 1.09375rem;
    font-weight: 300;
}

.eg-404__rule {
    height: 1px;
    margin: 1.5rem 0;
    color: inherit;
    background-color: currentColor;
    border: 0;
    opacity: .25;
}

.eg-404__form {
    padding-bottom: 3rem;
}

.eg-404__form form {
    margin-bottom: 0;
}

.eg-404 .search-field {
    width: 40%;
    display: inline-block;
}

.eg-404 .eg-404__form button {
    padding: .594rem 3rem;
    margin-left: 15px;
}

.eg-404__row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -.9375rem;
}

.eg-404__row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 .9375rem;
}

@media (min-width: 576px) {
    .eg-404__main { flex: 0 0 auto; width: 66.66666667%; }
    .eg-404__side { flex: 0 0 auto; width: 33.33333333%; }
}

@media (min-width: 1200px) {
    .eg-404__code { font-size: 4rem; }
}

/* 生产子主题：@media (max-width:980px){.woocommerce-breadcrumb{display:none!important}}，全站一律 */
@media (max-width: 980px) {
    .eg-crumbs { display: none !important; }
}

@media (min-width: 981px) {
    .eg-notfound .eg-crumbs { display: block; }
}

/* ---------- 正文区的标题层级（页面内容里直接写的 h1–h6） ----------
   用 :where 把特异性压到最低，版块 / 组件自己的标题样式都能覆盖。 */
:where(.eg-entry__content) :where(h1, h2, h3, h4, h5, h6) {
    margin: 0 0 8px;
    font-weight: 500;
    line-height: 1.2;
}

:where(.eg-entry__content) :where(h1) { font-size: 40px; }
:where(.eg-entry__content) :where(h2) { font-size: 35px; }
:where(.eg-entry__content) :where(h3) { font-size: 28px; }
:where(.eg-entry__content) :where(h4) { font-size: 21px; }
:where(.eg-entry__content) :where(h5) { font-size: 18px; }
:where(.eg-entry__content) :where(h6) { font-size: 14px; }

:where(.eg-entry__content) :where(p) { margin: 0 0 16px; }

/* 正文里内嵌的视频、地图等不得超出版心（手机上尤其会撑出横向滚动） */
:where(.eg-entry__content) :where(iframe, embed, object, video) {
    max-width: 100%;
}

/* ---------- 文章与列表（兜底模板） ---------- */
.eg-entry__meta,
.eg-listing__meta {
    margin: -8px 0 16px;
    color: var(--eg-muted);
    font-size: 13px;
}

.eg-entry__cover {
    margin: 0 0 24px;
}

.eg-entry__cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.eg-listing {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.eg-listing__item {
    display: grid;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--eg-line);
}

.eg-listing__thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.eg-listing__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.eg-listing__title a:hover { color: var(--eg-link-hover); }

.eg-listing__excerpt p { margin: 0; }

.eg-empty-state {
    padding: 24px 0 48px;
}

.eg-empty-state .search-form {
    display: flex;
    gap: 12px;
    max-width: 560px;
}

.eg-empty-state .search-field {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 9px 20px;
    border: 1px solid var(--eg-line);
    border-radius: 22px;
    font: inherit;
}

.eg-empty-state .search-submit {
    padding: 9px 28px;
    border: 0;
    border-radius: 22px;
    background: var(--eg-primary);
    color: var(--eg-on-primary);
    font: inherit;
    cursor: pointer;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 40px;
}

.nav-links .page-numbers {
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #e7e7e7;
    border-radius: 20px;
}

.nav-links .page-numbers.current {
    border-color: var(--eg-primary);
    background: var(--eg-primary);
    color: var(--eg-on-primary);
}

@media (min-width: 768px) {
    .eg-listing__item:has(.eg-listing__thumb) {
        grid-template-columns: 240px minmax(0, 1fr);
    }
}

/* ---------- 交互状态的全局默认（生产：链接悬停统一加深为 rgb(41,50,58)） ----------
   用 :where 压低特异性，组件自己的悬停样式仍可覆盖。 */
:where(a):hover { color: var(--eg-link-hover); }

/* 原始 HTML 块里的信息卡（生产首页顶部四张卡）。样式原本写在块内 <style>，
   块内容过滤时不再输出 <style>，按生产原样搬到这里；颜色走主题主色。 */
.eg-html .eg-features {
    --eg-teal: var(--eg-primary, #00abc5);
    --eg-teal-dark: #007a8e;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 100%;
    margin: 24px auto;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}
.eg-html .eg-features * { box-sizing: border-box; }
.eg-html .eg-tile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 18px;
    background: #f5f6f6;
    border: 1px solid #ececec;
    border-radius: 10px;
    text-decoration: none;
    color: #444;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.eg-html .eg-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); background: #fff; }
.eg-html .eg-ico { flex: 0 0 auto; color: var(--eg-teal); display: flex; }
.eg-html .eg-ico svg { width: 40px; height: 40px; }
.eg-html .eg-txt { flex: 1 1 auto; font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .2px; }
.eg-html .eg-txt small { display: block; font-size: 12px; font-weight: 500; color: var(--eg-teal-dark); margin-top: 3px; letter-spacing: 0; }
.eg-html .eg-go {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--eg-teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease;
}
.eg-html .eg-go svg { width: 14px; height: 14px; }
.eg-html .eg-tile:hover .eg-go { transform: translateX(3px); }
.eg-html .eg-tile--hot { background: #e3f4f8; border: 2px solid var(--eg-teal); }
.eg-html .eg-tile--hot:hover { background: #d6eff5; }
.eg-html .eg-tile--hot .eg-txt { color: #063b45; }
.eg-html .eg-badge {
    position: absolute;
    top: -10px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e2452b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    padding: 4px 9px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(226, 69, 43, .35);
}
.eg-html .eg-badge svg { width: 13px; height: 13px; }
@media (max-width: 980px) { .eg-html .eg-features { grid-template-columns: repeat(2, 1fr); } }
/* 手机（<768）：4 格排成一行，每格「图标在上、文字在下」。
   原来 <520 是 4 行单列通栏（占首屏约 370px），现在一行约 110px。
   文字是西语大写长词，窄格里最多折 3 行，字号 11px；右箭头在窄格里没位置，手机上隐藏（整块仍是链接，点击区域 = 整格，高度 ≥ 44px）。
   OFERTAS 角标居中压在上沿，保留红色胶囊和主色边框的突出样式。 */
@media (max-width: 767.98px) {
    .eg-html .eg-features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 20px auto 12px; }
    .eg-html .eg-tile {
        flex-direction: column;
        justify-content: flex-start;
        gap: 6px;
        min-height: 96px;
        padding: 12px 2px 8px;
        text-align: center;
    }
    .eg-html .eg-ico svg { width: 30px; height: 30px; }
    .eg-html .eg-txt { flex: 0 1 auto; font-size: 11px; line-height: 1.2; letter-spacing: 0; overflow-wrap: anywhere; text-wrap: balance; }
    .eg-html .eg-txt small { font-size: 10.5px; margin-top: 2px; }
    .eg-html .eg-go { display: none; }
    .eg-html .eg-tile--hot { padding-top: 14px; }
    .eg-html .eg-badge { right: auto; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: 0; padding: 3px 6px; white-space: nowrap; }
    .eg-html .eg-badge svg { width: 11px; height: 11px; }
}
/* 320 宽一格只有约 68px：角标（图标 + 文字 + 内边距）约 74px 会比格子宽、压到隔壁格。
   窄屏去掉角标里的图标、收紧内边距。 */
@media (max-width: 359.98px) {
    .eg-html .eg-badge svg { display: none; }
    .eg-html .eg-badge { padding: 3px 5px; }
    /* 格内可用宽度只有约 64px，「COMENZAR」「TU NEGOCIO」放不下会被 overflow-wrap 从中间拆开或折成 4 行：去掉格内左右内边距、字距收 0.2px，仅 320 档字号退到 10.5px，保证最多 3 行、整词不拆。 */
    .eg-html .eg-tile { padding-left: 0; padding-right: 0; }
    .eg-html .eg-txt { font-size: 10.5px; letter-spacing: -.2px; }
}
@media (prefers-reduced-motion: reduce) {
    .eg-html .eg-tile, .eg-html .eg-go { transition: none; }
    .eg-html .eg-tile:hover, .eg-html .eg-tile:hover .eg-go { transform: none; }
}
