.topbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--color-line);
    display: flex;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 1rem;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
    gap: 0.6rem;
}

.brand-mark {
    align-items: center;
    background: var(--color-primary);
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.85rem;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.top-nav {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.top-nav a {
    color: var(--color-muted);
    font-weight: 700;
}

.page-shell {
    margin: 0 auto;
    max-width: 1120px;
    padding: 2rem 1rem;
}

.hero-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
}

.hero-panel h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-copy {
    color: var(--color-muted);
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.auth-shell {
    display: grid;
    min-height: 100vh;
    padding: 1rem;
    place-items: center;
}

.auth-card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    max-width: 430px;
    padding: 1.5rem;
    width: 100%;
}

.form-stack {
    display: grid;
    gap: 1rem;
}

.form-stack label {
    display: grid;
    gap: 0.35rem;
}

.form-stack span {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.form-stack input {
    border: 1px solid var(--color-line);
    border-radius: 8px;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    width: 100%;
}

.form-stack input:focus {
    border-color: var(--color-primary);
    outline: 3px solid rgba(23, 105, 224, 0.14);
}

.home-page {
    background: #f6f9ff;
    padding-bottom: 76px;
}

.home-page .topbar {
    display: none;
}

.home-app {
    margin: 0 auto;
    max-width: 720px;
    padding: 0.9rem 0.9rem 1.2rem;
}

.home-top {
    align-items: center;
    background: rgba(246, 249, 255, 0.94);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto 1fr;
    padding: 0.25rem 0 0.85rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.home-logo {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
    min-width: 0;
}

.home-logo span {
    align-items: center;
    background: var(--color-primary);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.home-logo strong {
    color: #12213a;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-search {
    align-items: center;
    background: #fff;
    border: 1px solid #deebfb;
    border-radius: 8px;
    display: grid;
    gap: 0.4rem;
    grid-template-columns: 1fr auto;
    min-width: 0;
    padding: 0.25rem;
}

.home-search input {
    border: 0;
    min-height: 34px;
    min-width: 0;
    outline: 0;
    padding: 0 0.55rem;
}

.home-search button {
    background: #eaf3ff;
    border: 0;
    border-radius: 8px;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 800;
    min-height: 34px;
    padding: 0 0.75rem;
}

.home-banner {
    background: #fff;
    box-shadow: 0 14px 32px rgba(18, 73, 145, 0.12);
    margin-bottom: 0.9rem;
    overflow: hidden;
    position: relative;
}

.home-banner.is-rounded {
    border-radius: 8px;
}

.home-banner-track {
    aspect-ratio: 16 / 8;
    min-height: 170px;
    position: relative;
}

.home-banner-slide {
    color: #fff;
    display: block;
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.28s ease;
}

.home-banner-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.home-banner-slide img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-banner-slide::after {
    background: linear-gradient(180deg, rgba(5, 21, 50, 0), rgba(5, 21, 50, 0.58));
    content: "";
    inset: 0;
    position: absolute;
}

.home-banner-slide span {
    bottom: 1rem;
    display: grid;
    gap: 0.2rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
    position: absolute;
    z-index: 2;
}

.home-banner-slide strong {
    font-size: 1.2rem;
    line-height: 1.25;
}

.home-banner-slide em {
    font-style: normal;
    opacity: 0.9;
}

.home-banner-dots {
    bottom: 0.7rem;
    display: flex;
    gap: 0.35rem;
    position: absolute;
    right: 0.9rem;
    z-index: 3;
}

.home-banner-dots button {
    background: rgba(255, 255, 255, 0.55);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 7px;
    padding: 0;
    width: 7px;
}

.home-banner-dots button.is-active {
    background: #fff;
    width: 18px;
}

.home-section {
    background: #fff;
    border: 1px solid #e1ebf7;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(24, 83, 151, 0.08);
    margin-bottom: 0.9rem;
    padding: 1rem;
}

.home-section.compact {
    padding: 0;
}

.home-section > h2,
.home-section-title h2,
.home-text-block h2 {
    color: #12213a;
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.home-section-title {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.home-section-title h2 {
    margin-bottom: 0.15rem;
}

.home-section-title p,
.home-text-block p {
    color: var(--color-muted);
    margin-bottom: 0;
}

.home-nav-grid {
    display: grid;
    gap: 0.75rem 0.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-nav-grid.cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-nav-item {
    align-items: center;
    display: grid;
    gap: 0.45rem;
    justify-items: center;
    min-width: 0;
    text-align: center;
}

.home-nav-item span {
    align-items: center;
    background: #eef6ff;
    border-radius: 8px;
    color: var(--color-primary);
    display: inline-flex;
    font-weight: 900;
    height: 44px;
    justify-content: center;
    overflow: hidden;
    width: 44px;
}

.home-nav-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-nav-item strong {
    color: #243650;
    font-size: 0.82rem;
    line-height: 1.25;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.home-content-list {
    display: grid;
    gap: 0.8rem;
}

.home-content-card {
    border: 1px solid #e3edf8;
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 92px 1fr;
    min-width: 0;
    padding: 0.65rem;
}

.home-content-card:not(:has(.home-content-cover)) {
    grid-template-columns: 1fr;
}

.home-content-cover {
    align-items: center;
    aspect-ratio: 1 / 0.78;
    background: #edf5ff;
    border-radius: 8px;
    color: var(--color-primary);
    display: flex;
    font-size: 1.4rem;
    font-weight: 900;
    justify-content: center;
    overflow: hidden;
}

.home-content-cover img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-content-info {
    min-width: 0;
}

.home-content-info h3 {
    color: #16263f;
    font-size: 0.98rem;
    line-height: 1.35;
    margin-bottom: 0.25rem;
    overflow-wrap: anywhere;
}

.home-content-info p {
    color: var(--color-muted);
    display: -webkit-box;
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 0.45rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-content-info time {
    color: #8b9bb0;
    font-size: 0.78rem;
}

.home-image-ad {
    border-radius: 8px;
    display: block;
    overflow: hidden;
    position: relative;
}

.home-image-ad img {
    display: block;
    max-height: 220px;
    object-fit: cover;
    width: 100%;
}

.home-image-ad strong {
    background: rgba(12, 32, 64, 0.58);
    bottom: 0.75rem;
    color: #fff;
    left: 0.75rem;
    max-width: calc(100% - 1.5rem);
    padding: 0.25rem 0.5rem;
    position: absolute;
}

.home-brand,
.home-contact {
    display: grid;
    gap: 0.9rem;
}

.home-contact {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(21, 184, 214, 0.04)),
        #ffffff;
    border: 1px solid #dce9f8;
    border-radius: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1rem;
}

.home-brand img {
    border-radius: 8px;
    max-height: 220px;
    object-fit: cover;
    width: 100%;
}

.home-brand h3,
.home-contact h3 {
    font-size: 1.08rem;
    margin-bottom: 0.35rem;
}

.home-brand p,
.home-contact p {
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.home-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
}

.home-contact-button {
    align-items: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #d9e6f6;
    border-radius: 10px;
    color: #0f294d;
    display: grid;
    gap: 0.16rem;
    min-height: 48px;
    min-width: 118px;
    padding: 0.5rem 0.75rem;
}

.home-contact-button.primary {
    background: linear-gradient(135deg, #1677ff, #0f5ed9);
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(22, 119, 255, 0.22);
    color: #ffffff;
}

.home-contact-button span {
    font-size: 0.92rem;
    font-weight: 900;
}

.home-contact-button small {
    color: inherit;
    font-size: 0.72rem;
    opacity: 0.78;
}

.home-link-button {
    background: var(--color-primary);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    min-height: 38px;
    padding: 0.45rem 0.8rem;
}

.home-contact dl {
    display: grid;
    gap: 0.55rem;
    margin: 0;
}

.home-contact dl div {
    display: grid;
    gap: 0.4rem;
    grid-template-columns: 44px 1fr;
}

.home-contact dt {
    color: var(--color-primary);
    font-weight: 800;
}

.home-contact dd {
    color: #243650;
    margin: 0;
    overflow-wrap: anywhere;
}

.home-contact-qr {
    align-items: center;
    color: #6b7c92;
    display: grid;
    font-size: 0.74rem;
    gap: 0.35rem;
    justify-items: center;
}

.home-contact-qr img {
    border: 1px solid #e1ebf7;
    border-radius: 8px;
    height: 96px;
    object-fit: cover;
    width: 96px;
}

.home-text-block.align-center {
    text-align: center;
}

.home-empty {
    align-items: center;
    background: #f5f9ff;
    border: 1px dashed #cfe0f5;
    border-radius: 8px;
    color: var(--color-muted);
    display: grid;
    gap: 0.25rem;
    justify-items: center;
    min-height: 94px;
    padding: 1rem;
    text-align: center;
}

.home-empty span {
    color: #2d5f9e;
    font-weight: 900;
}

.home-empty p {
    margin: 0;
}

.home-bottom-nav {
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #dfeaf7;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    left: 0;
    margin: 0 auto;
    max-width: 720px;
    min-height: 60px;
    position: fixed;
    right: 0;
    z-index: 30;
}

.home-bottom-nav a {
    align-items: center;
    color: #758399;
    display: grid;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.1rem;
    justify-items: center;
    padding: 0.35rem 0;
}

.home-bottom-nav a.is-active {
    color: var(--color-primary);
}

.home-bottom-nav span {
    font-size: 1.12rem;
    line-height: 1;
}

.content-page {
    background: #f6f9ff;
    padding-bottom: 78px;
}

.content-shell {
    margin: 0 auto;
    max-width: 760px;
    padding: 1rem;
}

.content-detail,
.content-related,
.content-state-card {
    background: #fff;
    border: 1px solid #e1ebf7;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(24, 83, 151, 0.08);
    margin-bottom: 1rem;
    padding: 1rem;
}

.content-hero h1 {
    color: #12213a;
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    overflow-wrap: anywhere;
}

.content-badges,
.content-meta,
.content-actions,
.content-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.content-badges {
    margin-bottom: 0.75rem;
}

.content-badges span {
    background: #eef6ff;
    border-radius: 8px;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.22rem 0.55rem;
}

.content-subtitle,
.content-summary,
.content-state-card p,
.content-lock p,
.content-external p,
.content-download p {
    color: var(--color-muted);
}

.content-meta {
    color: #8b9bb0;
    font-size: 0.86rem;
    margin-bottom: 0.9rem;
}

.content-cover {
    border-radius: 8px;
    display: block;
    max-height: 380px;
    object-fit: cover;
    width: 100%;
}

.content-summary {
    background: #f5f9ff;
    border-left: 3px solid var(--color-primary);
    margin: 0.9rem 0 0;
    padding: 0.75rem 0.85rem;
}

.content-media,
.content-download,
.content-external,
.content-lock {
    background: #f8fbff;
    border: 1px solid #dce9f8;
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
}

.content-media video,
.content-media audio {
    display: block;
    width: 100%;
}

.content-body {
    color: #243650;
    margin-top: 1.1rem;
    overflow-wrap: anywhere;
}

.content-body img {
    border-radius: 8px;
    height: auto;
    max-width: 100%;
}

.content-body a {
    color: var(--color-primary);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.content-body pre {
    background: #0f172a;
    border-radius: 8px;
    color: #e2e8f0;
    overflow-x: auto;
    padding: 0.9rem;
}

.content-body code {
    overflow-wrap: anywhere;
}

.content-body blockquote {
    border-left: 3px solid #9bbcf0;
    color: #455a78;
    margin: 1rem 0;
    padding-left: 0.85rem;
}

.content-related-grid {
    display: grid;
    gap: 0.75rem;
}

.content-card {
    border: 1px solid #e3edf8;
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 86px 1fr;
    padding: 0.65rem;
}

.content-card-cover {
    align-items: center;
    aspect-ratio: 1 / 0.76;
    background: #edf5ff;
    border-radius: 8px;
    color: var(--color-primary);
    display: flex;
    font-size: 1.35rem;
    font-weight: 900;
    justify-content: center;
    overflow: hidden;
}

.content-card-cover img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.content-card-body {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.content-card-meta {
    color: var(--color-primary);
    font-size: 0.76rem;
    font-weight: 800;
}

.content-card strong {
    color: #16263f;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.content-card em {
    color: var(--color-muted);
    display: -webkit-box;
    font-size: 0.84rem;
    font-style: normal;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.content-state-card {
    min-height: 240px;
}

.category-page {
    background: #f6f9ff;
    padding-bottom: 78px;
}

.category-shell {
    margin: 0 auto;
    max-width: 720px;
    padding: 1rem;
}

.category-hero,
.category-card {
    background: #ffffff;
    border: 1px solid #e1ebf7;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(24, 83, 151, 0.08);
}

.category-hero {
    margin-bottom: 0.9rem;
    padding: 1rem;
}

.category-hero h1 {
    color: #12213a;
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
}

.category-hero p {
    color: var(--color-muted);
    margin: 0;
}

.category-back {
    color: var(--color-primary);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
}

.category-grid {
    display: grid;
    gap: 0.85rem;
}

.category-card {
    align-items: center;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: auto 1fr;
    padding: 0.85rem;
}

.category-card-icon {
    align-items: center;
    background: linear-gradient(135deg, #eef6ff, #f4fbff);
    border: 1px solid #dcecff;
    border-radius: 8px;
    color: var(--color-primary);
    display: inline-flex;
    font-size: 1.3rem;
    font-weight: 900;
    height: 58px;
    justify-content: center;
    overflow: hidden;
    width: 58px;
}

.category-card-icon img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.category-card-body {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.category-card-body strong {
    color: #16263f;
    font-size: 1rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.category-card-body em {
    color: var(--color-muted);
    display: -webkit-box;
    font-size: 0.86rem;
    font-style: normal;
    line-height: 1.45;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.category-content-list {
    margin-bottom: 0;
}

.profile-page {
    background: #f6f9ff;
    padding-bottom: 78px;
}

.profile-page .topbar {
    display: none;
}

.profile-shell {
    margin: 0 auto;
    max-width: 720px;
    padding: 0.9rem 0.9rem 1.2rem;
}

.profile-top {
    align-items: center;
    background: rgba(246, 249, 255, 0.94);
    display: grid;
    gap: 0.6rem;
    grid-template-columns: 1fr auto 1fr;
    padding: 0.25rem 0 0.85rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.profile-top a,
.profile-top span {
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.profile-top span {
    justify-self: end;
}

.profile-top h1 {
    color: #12213a;
    font-size: 1.08rem;
    margin: 0;
}

.profile-card,
.profile-section,
.profile-action {
    background: #fff;
    border: 1px solid #e1ebf7;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(24, 83, 151, 0.08);
}

.profile-card {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr;
    margin-bottom: 0.9rem;
    padding: 1rem;
}

.profile-avatar {
    align-items: center;
    background: #eef6ff;
    border: 1px solid #d9e9fb;
    border-radius: 8px;
    color: var(--color-primary);
    display: inline-flex;
    font-size: 1.3rem;
    font-weight: 900;
    height: 72px;
    justify-content: center;
    overflow: hidden;
    width: 72px;
}

.profile-avatar.large {
    height: 86px;
    width: 86px;
}

.profile-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.profile-card-body {
    min-width: 0;
}

.profile-card-body h2 {
    color: #12213a;
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.2rem;
    overflow-wrap: anywhere;
}

.profile-card-body p:not(.eyebrow) {
    color: var(--color-muted);
    margin-bottom: 0.45rem;
}

.profile-status {
    background: #e8f7f1;
    border-radius: 8px;
    color: var(--color-success);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.18rem 0.55rem;
}

.profile-actions {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.profile-action {
    display: grid;
    gap: 0.18rem;
    padding: 0.85rem 1rem;
}

.profile-action strong,
.profile-feature strong {
    color: #16263f;
}

.profile-action span,
.profile-feature span,
.profile-section-title p,
.profile-info-list dt,
.profile-form small {
    color: var(--color-muted);
}

.profile-action.danger strong {
    color: var(--color-danger);
}

.profile-section {
    margin-bottom: 0.9rem;
    padding: 1rem;
}

.profile-section-title {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.profile-section-title h2 {
    color: #12213a;
    font-size: 1.05rem;
    margin: 0;
}

.profile-section-title p {
    margin: 0;
}

.profile-feature-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-feature {
    background: #f8fbff;
    border: 1px dashed #cfe0f5;
    border-radius: 8px;
    display: grid;
    gap: 0.2rem;
    min-height: 76px;
    padding: 0.75rem;
}

.profile-feature.is-disabled {
    opacity: 0.8;
}

.profile-info-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.profile-info-list div {
    border-bottom: 1px solid #edf3fb;
    display: grid;
    gap: 0.35rem;
    grid-template-columns: 100px 1fr;
    padding-bottom: 0.75rem;
}

.profile-info-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.profile-info-list dt,
.profile-info-list dd {
    margin: 0;
}

.profile-info-list dd {
    color: #243650;
    overflow-wrap: anywhere;
}

.profile-form {
    gap: 1rem;
}

.avatar-edit-row {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr;
}

.avatar-edit-row label {
    min-width: 0;
}

.shop-page {
    background: #f5f7fa;
    padding-bottom: 164px;
}

.shop-page .topbar {
    display: none;
}

.shop-shell {
    margin: 0 auto;
    max-width: 720px;
    padding: 0.9rem;
}

.shop-top {
    align-items: center;
    display: grid;
    gap: 0.2rem;
    grid-template-columns: 1fr;
    margin-bottom: 0.85rem;
}

.shop-top a {
    color: #1677ff;
    font-size: 0.86rem;
    font-weight: 800;
}

.shop-top h1 {
    color: #10243d;
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 0;
}

.detail-top {
    grid-template-columns: 1fr;
}

.shop-filter-panel,
.shop-guide-panel,
.shop-list-section,
.shop-detail-card,
.shop-contact-bar {
    background: #ffffff;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(27, 78, 143, 0.07);
    margin-bottom: 0.85rem;
    padding: 1rem;
}

.shop-guide-panel {
    display: grid;
    gap: 0.75rem;
}

.shop-guide-head {
    align-items: flex-start;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
}

.shop-guide-head h2 {
    color: #10243d;
    font-size: 1.05rem;
    margin: 0 0 0.24rem;
}

.shop-guide-head p {
    color: #6b7890;
    font-size: 0.84rem;
    line-height: 1.45;
    margin: 0;
}

.shop-guide-head > span {
    background: #eef6ff;
    border-radius: 999px;
    color: #1677ff;
    flex: 0 0 auto;
    font-size: 0.76rem;
    font-weight: 900;
    padding: 0.22rem 0.56rem;
}

.shop-guide-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-guide-grid a {
    background: linear-gradient(135deg, #fff9e8, #f5fbff);
    border: 1px solid #e7edf7;
    border-radius: 8px;
    display: grid;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.62rem 0.7rem;
}

.shop-guide-grid strong {
    color: #10243d;
    font-size: 0.9rem;
}

.shop-guide-grid small {
    color: #6b7890;
    font-size: 0.74rem;
    line-height: 1.35;
}

.shop-filter-panel form {
    display: grid;
    gap: 0.75rem;
}

.shop-filter-search-row {
    align-items: end;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: minmax(220px, 420px) auto;
    justify-content: start;
}

.shop-filter-search-row .shop-filter-actions {
    padding-bottom: 0;
}

.shop-filter-panel label {
    display: grid;
    gap: 0.35rem;
}

.shop-filter-panel .shop-search {
    align-items: center;
    gap: 0.45rem;
    grid-template-columns: auto minmax(0, 1fr);
    min-width: 0;
}

.shop-filter-panel .shop-search input {
    min-width: 0;
    padding-left: 0.42rem;
}

.shop-filter-panel span {
    color: #6b7890;
    font-size: 0.84rem;
    font-weight: 800;
}

.shop-filter-panel input,
.shop-filter-panel select {
    background: #ffffff;
    border: 1px solid #dfe8f5;
    border-radius: 8px;
    min-height: 40px;
    padding: 0.55rem 0.65rem;
    width: 100%;
}

.shop-filter-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-filter-actions {
    display: flex;
    gap: 0.65rem;
}

.shop-filter-actions .button {
    font-size: 0.82rem;
    min-height: 40px;
    padding: 0.46rem 0.72rem;
    white-space: nowrap;
}

.shop-filter-actions .button b {
    color: inherit;
    font: inherit;
}

.shop-filter-actions .label-short {
    display: none;
}

.shop-filter-panel .shop-filter-actions .button.primary,
.shop-filter-panel .shop-filter-actions .button.primary b,
.shop-filter-panel .shop-filter-actions .button.primary span {
    color: #ffffff !important;
}

.shop-filter-panel .shop-filter-actions .button.secondary,
.shop-filter-panel .shop-filter-actions .button.secondary b,
.shop-filter-panel .shop-filter-actions .button.secondary span {
    color: #1677ff !important;
}

.shop-section-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.shop-section-title h2,
.shop-detail-card h2 {
    color: #10243d;
    font-size: 1.05rem;
    margin: 0;
}

.shop-section-title span {
    color: #7b8798;
    font-weight: 800;
}

.shop-card-list {
    display: grid;
    gap: 0;
}

.shop-card {
    align-items: center;
    border-bottom: 1px solid #f1c955;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 54px;
    padding: 0.55rem 0;
}

.shop-card:first-child {
    padding-top: 0;
}

.shop-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.shop-card:hover .shop-card-title strong {
    color: #005eff;
}

.shop-card-cover {
    align-items: center;
    background: #ffca3a;
    border-radius: 3px;
    color: #ffffff;
    display: flex;
    font-size: 0.84rem;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    overflow: hidden;
    width: 28px;
}

.shop-card-cover-dynamic {
    align-items: flex-start;
    aspect-ratio: 4 / 3;
    background: #f7dfb7 var(--shop-cover-bg) center / cover no-repeat;
    border: 1px solid #ead6b1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
    color: #4a210b;
    display: grid;
    flex: 0 0 96px;
    font-size: 0.66rem;
    gap: 0.08rem;
    height: auto;
    justify-content: stretch;
    line-height: 1.1;
    padding: 0.46rem 2.6rem 0.35rem 0.48rem;
    width: 96px;
}

.shop-card-cover-dynamic span,
.shop-card-cover-dynamic strong,
.shop-card-cover-dynamic em {
    background: rgba(255, 248, 229, 0.82);
    border-radius: 999px;
    display: block;
    font-style: normal;
    overflow: hidden;
    padding: 0.08rem 0.28rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-card-cover-dynamic strong {
    color: #d65014;
}

.shop-card-cover img,
.shop-detail-cover img,
.shop-gallery img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.shop-card-body {
    display: grid;
    gap: 0.16rem;
    min-width: 0;
}

.shop-card-title {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    min-width: 0;
}

.shop-card-title strong {
    color: #005eff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-card-title em {
    background: #fff7ed;
    border-radius: 3px;
    color: #c2410c;
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
    padding: 0.1rem 0.32rem;
}

.shop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.shop-tags span {
    background: #eef6ff;
    border-radius: 8px;
    color: #1677ff;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
}

.shop-card-meta {
    color: #005eff;
    display: block;
    font-size: 0.8rem;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-detail-meta {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

.shop-detail-meta div {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: 44px 1fr;
}

.shop-detail-meta dt {
    color: #7b8798;
    font-weight: 800;
}

.shop-detail-meta dd {
    color: #243650;
    margin: 0;
    overflow-wrap: anywhere;
}

.shop-card-price {
    color: #e11d48;
    font-size: 0.86rem;
    font-weight: 900;
    white-space: nowrap;
}

.shop-empty {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    min-height: 160px;
    text-align: center;
}

.shop-empty strong {
    color: #10243d;
    font-size: 1.1rem;
}

.shop-empty p {
    color: #7b8798;
    margin: 0;
}

.shop-detail-cover {
    align-items: center;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #eef6ff, #f4fbff);
    border-radius: 8px;
    color: #1677ff;
    display: flex;
    font-size: 2rem;
    font-weight: 900;
    justify-content: center;
    margin-bottom: 0.9rem;
    overflow: hidden;
}

.shop-detail-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.shop-detail-head h2 {
    color: #10243d;
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 0 0 0.45rem;
    overflow-wrap: anywhere;
}

.shop-detail-head > strong {
    color: #e11d48;
    flex: 0 0 auto;
    font-size: 1.12rem;
}

.shop-gallery {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.9rem;
}

.shop-gallery img {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
}

.shop-description {
    color: #243650;
    margin-top: 0.75rem;
}

.shop-dynamic-cover {
    aspect-ratio: 4 / 3;
    background: #f6ddb4 var(--shop-cover-bg) center / cover no-repeat;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    margin: 0.8rem 0 1rem;
    overflow: hidden;
    position: relative;
}

.shop-cover-copy {
    color: #4a210b;
    display: grid;
    gap: clamp(0.42rem, 1.6vw, 0.8rem);
    left: 6%;
    position: absolute;
    top: 8%;
    width: min(56%, 430px);
}

.shop-cover-copy > span {
    color: #5b2a12;
    font-size: clamp(0.78rem, 2.5vw, 1.4rem);
    font-weight: 900;
}

.shop-cover-copy > strong {
    color: #49200d;
    font-size: clamp(1.1rem, 4.5vw, 2.4rem);
    line-height: 1.08;
    text-shadow: 0 1px 0 #fff4df;
}

.shop-cover-fields {
    display: grid;
    gap: clamp(0.25rem, 1vw, 0.55rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-cover-fields p {
    align-items: center;
    background: rgba(255, 232, 74, 0.92);
    border: 2px solid rgba(92, 44, 18, 0.8);
    border-radius: 999px;
    box-shadow: 0 2px 0 rgba(92, 44, 18, 0.18);
    display: flex;
    gap: 0.24rem;
    margin: 0;
    min-width: 0;
    padding: clamp(0.2rem, 0.8vw, 0.46rem) clamp(0.36rem, 1vw, 0.7rem);
}

.shop-cover-fields b,
.shop-cover-fields em {
    display: block;
    font-size: clamp(0.58rem, 1.65vw, 0.98rem);
    font-style: normal;
    line-height: 1.1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cover-fields b {
    flex: 0 0 auto;
}

.shop-cover-fields em {
    color: #d44712;
    font-weight: 900;
}

.shop-description p {
    margin-bottom: 0.65rem;
}

.shop-description img {
    border-radius: 8px;
    cursor: zoom-in;
    display: block;
    height: auto;
    margin: 0.75rem 0;
    max-width: 100%;
}

.shop-global-image-card {
    padding: 0.75rem;
}

.shop-global-image-card img {
    border-radius: 8px;
    display: block;
    height: auto;
    width: 100%;
}

.shop-description a {
    color: #0b65d8;
    text-decoration: underline;
}

.shop-advantage-grid {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.shop-advantage-grid div {
    background: #f8fbff;
    border: 1px dashed #d8e6f6;
    border-radius: 8px;
    padding: 0.8rem;
}

.shop-advantage-grid strong {
    color: #10243d;
}

.shop-advantage-grid p {
    color: #66758c;
    margin: 0.35rem 0 0;
}

.shop-contact-bar {
    align-items: center;
    bottom: 74px;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    left: 50%;
    margin: 0;
    max-width: calc(720px - 1.8rem);
    position: fixed;
    transform: translateX(-50%);
    width: calc(100% - 1.8rem);
    z-index: 26;
}

.shop-contact-bar span {
    color: #7b8798;
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
}

.shop-contact-bar strong {
    color: #10243d;
    display: block;
    overflow-wrap: anywhere;
}

.shop-list-section .pagination {
    margin-top: 0.9rem;
}

@media (max-width: 520px) {
    .shop-page {
        overflow-x: hidden;
    }

    .shop-shell {
        padding: 0.65rem;
    }

    .shop-top {
        margin-bottom: 0.55rem;
    }

    .shop-top h1 {
        font-size: 1.18rem;
    }

    .shop-filter-panel {
        margin-bottom: 0.65rem;
        padding: 0.75rem;
    }

    .shop-guide-panel {
        gap: 0.55rem;
        margin-bottom: 0.65rem;
        overflow: hidden;
        padding: 0.72rem;
    }

    .shop-guide-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
    }

    .shop-guide-head > div {
        min-width: 0;
    }

    .shop-guide-head h2 {
        font-size: 0.98rem;
    }

    .shop-guide-head {
        align-items: flex-start;
        gap: 0.45rem;
    }

    .shop-guide-head p {
        font-size: 0.82rem;
        line-height: 1.5;
        overflow: visible;
        white-space: normal;
    }

    .shop-guide-head > span {
        font-size: 0.68rem;
        justify-self: end;
        margin-right: 0;
        max-width: 76px;
        overflow: hidden;
        padding: 0.18rem 0.42rem;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .shop-guide-grid {
        gap: 0.42rem;
    }

    .shop-guide-grid a {
        gap: 0.18rem;
        padding: 0.5rem 0.55rem;
    }

    .shop-guide-grid small {
        display: block;
        font-size: 0.72rem;
        line-height: 1.35;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .shop-filter-panel form {
        gap: 0.5rem;
    }

    .shop-filter-search-row {
        align-items: end;
        gap: 0.4rem;
        grid-template-columns: minmax(0, 1fr) auto;
        justify-content: stretch;
    }

    .shop-filter-search-row:has(.shop-filter-actions a) {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .shop-filter-search-row .shop-filter-actions {
        display: flex;
        gap: 0.28rem;
        min-width: 0;
    }

    .shop-search {
        min-width: 0;
    }

    .shop-filter-search-row .shop-search {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .shop-filter-panel label {
        align-items: center;
        gap: 0.34rem;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .shop-filter-panel span {
        font-size: 0.74rem;
        white-space: nowrap;
    }

    .shop-filter-panel input,
    .shop-filter-panel select {
        border-radius: 7px;
        font-size: 16px;
        min-height: 34px;
        padding: 0.34rem 0.42rem;
    }

    .shop-filter-panel input[type="search"] {
        padding-left: 0.24rem;
    }

    .shop-filter-panel input[type="search"]::placeholder {
        font-size: 13px;
    }

    .shop-filter-panel .shop-filter-search-row .shop-search {
        align-items: center;
        display: grid;
        gap: 0.34rem;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .shop-filter-grid {
        gap: 0.45rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-filter-actions {
        gap: 0.45rem;
        margin-top: 0.05rem;
    }

    .shop-filter-actions .button {
        font-size: 12px;
        line-height: 1;
        min-height: 34px;
        min-width: 46px;
        padding: 0.38rem 0.34rem;
        width: auto;
    }

    .shop-filter-actions .button.primary {
        background: #1677ff;
        color: #ffffff;
    }

    .shop-filter-actions .button.primary span {
        color: #ffffff;
    }

    .shop-filter-panel .shop-filter-actions .button.primary,
    .shop-filter-panel .shop-filter-actions .button.primary span,
    .shop-filter-panel .shop-filter-actions .button.primary .label-full,
    .shop-filter-panel .shop-filter-actions .button.primary .label-short {
        color: #ffffff !important;
    }

    .shop-filter-actions .button.secondary {
        background: #ffffff;
        border-color: #d8e5f5;
        color: #1677ff;
    }

    .shop-filter-actions .label-full {
        display: none;
    }

    .shop-filter-actions .label-short {
        display: inline;
    }

    .shop-detail-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-contact-bar {
        align-items: center;
        flex-direction: row;
    }

    .shop-contact-bar .button {
        flex: 0 0 auto;
        width: auto;
    }
}

@media (min-width: 760px) {
    .home-page {
        padding-bottom: 92px;
    }

    .home-app {
        padding-top: 1.2rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-brand,
    .home-contact {
        align-items: center;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .home-brand img {
        order: 2;
    }
}

/* 008 front home UI refresh */
.home-page {
    background: #f5f7fa;
    padding-bottom: 82px;
}

.home-app {
    max-width: 720px;
    padding: 0.85rem 0.85rem 1.35rem;
}

.home-top {
    background: rgba(245, 247, 250, 0.92);
    display: grid;
    grid-template-columns: 1fr;
    padding: 0.2rem 0 0.9rem;
    backdrop-filter: blur(14px);
}

.home-top-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-width: 0;
}

.home-logo {
    gap: 0.7rem;
}

.home-logo > img {
    background: linear-gradient(135deg, #1677ff, #15b8d6);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(22, 119, 255, 0.24);
    height: 40px;
    object-fit: cover;
    width: 40px;
}

.home-logo strong {
    color: #0f1f33;
    display: grid;
    font-size: 1.05rem;
    line-height: 1.2;
}

.home-logo em {
    color: #7a8799;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 600;
    margin-top: 0.16rem;
}

.home-user-entry {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(27, 78, 143, 0.08);
    color: #1677ff;
    display: inline-flex;
    flex: 0 0 auto;
    height: 40px;
    justify-content: center;
    overflow: hidden;
    min-width: 48px;
    padding: 0 0.7rem;
}

.home-user-entry img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-user-entry:has(img) {
    min-width: 40px;
    padding: 0;
    width: 40px;
}

.home-user-entry span {
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.home-search {
    border: 1px solid #dfe8f5;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(30, 82, 144, 0.07);
    padding: 0.32rem;
}

.home-search input {
    color: #23364d;
    min-height: 38px;
}

.home-search button {
    background: #1677ff;
    color: #ffffff;
    min-height: 38px;
    padding: 0 0.9rem;
}

.home-search-results {
    border: 1px solid #dfe8f5;
}

.home-search-results .home-section-title > a {
    color: #1677ff;
    font-size: 0.82rem;
    font-weight: 800;
}

.home-result-group {
    display: grid;
    gap: 0.7rem;
}

.home-result-group + .home-result-group {
    border-top: 1px solid #edf2f8;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
}

.home-result-group h3 {
    color: #10243d;
    font-size: 0.95rem;
}

.home-shop-result-list {
    display: grid;
    gap: 0.65rem;
}

.home-shop-result {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e6eef8;
    border-radius: 8px;
    display: grid;
    gap: 0.7rem;
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 0.65rem;
}

.home-shop-result-cover {
    align-items: center;
    aspect-ratio: 1 / 0.78;
    background: linear-gradient(135deg, #eef6ff, #f4fbff);
    border-radius: 8px;
    color: #1677ff;
    display: flex;
    font-weight: 900;
    justify-content: center;
    overflow: hidden;
}

.home-shop-result-cover img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-shop-result strong {
    color: #10243d;
    display: -webkit-box;
    font-size: 0.92rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-shop-result p {
    color: #66788f;
    font-size: 0.78rem;
    margin: 0.16rem 0 0.22rem;
}

.home-shop-result small {
    color: #f04438;
    font-size: 0.78rem;
    font-weight: 900;
}

.home-banner {
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(24, 78, 145, 0.16);
    cursor: grab;
    margin-bottom: 0.85rem;
    touch-action: pan-y;
    user-select: none;
}

.home-banner:active {
    cursor: grabbing;
}

.home-banner-track {
    aspect-ratio: 16 / 7.5;
    min-height: 168px;
}

.home-banner-slide::after {
    background: linear-gradient(180deg, rgba(5, 21, 50, 0) 0%, rgba(5, 21, 50, 0) 72%, rgba(5, 21, 50, 0.12) 100%);
}

.home-banner-slide span {
    display: none;
}

.home-banner-slide strong {
    display: -webkit-box;
    font-size: 1.18rem;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(5, 21, 50, 0.42);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-banner-slide em {
    display: -webkit-box;
    font-size: 0.84rem;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(5, 21, 50, 0.36);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.home-banner-dots {
    bottom: 0.85rem;
    gap: 0.4rem;
}

.home-banner-dots button {
    background: rgba(255, 255, 255, 0.58);
    height: 6px;
    transition: width 0.2s ease, background 0.2s ease;
    width: 6px;
}

.home-banner-dots button.is-active {
    background: #ffffff;
    width: 20px;
}

.home-section {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(27, 78, 143, 0.07);
    margin-bottom: 0.85rem;
    padding: 1rem;
}

.home-section > h2,
.home-section-title h2,
.home-text-block h2 {
    color: #10243d;
    font-size: 1.02rem;
    margin-bottom: 0.75rem;
}

.home-section-title {
    margin-bottom: 0.8rem;
}

.home-section-title p,
.home-text-block p {
    color: #7b8798;
    font-size: 0.84rem;
}

.home-nav-grid,
.home-nav-grid.cols-5 {
    gap: 0.85rem 0.45rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-nav-item {
    gap: 0.5rem;
}

.home-nav-item span {
    background: linear-gradient(180deg, #eef6ff, #e8f1ff);
    border: 1px solid #dcecff;
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    color: #1677ff;
    height: 48px;
    width: 48px;
}

.home-nav-item strong {
    color: #2b3d54;
    font-size: 0.8rem;
    font-weight: 700;
}

.home-content-list {
    gap: 0.78rem;
}

.home-content-card {
    background: #ffffff;
    border: 1px solid #e7eef8;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(20, 64, 120, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-content-card:hover {
    box-shadow: 0 14px 26px rgba(20, 64, 120, 0.1);
    transform: translateY(-1px);
}

.home-content-cover {
    background: linear-gradient(135deg, #eef6ff, #f4fbff);
    border-radius: 8px;
}

.home-content-info h3 {
    display: -webkit-box;
    font-size: 0.98rem;
    margin-bottom: 0.32rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-content-info p {
    color: #69788c;
    -webkit-line-clamp: 2;
}

.home-content-info time {
    color: #94a3b8;
}

.home-content-list.is-featured .home-content-card {
    gap: 0.82rem;
    grid-template-columns: 1fr;
    padding: 0.72rem;
}

.home-content-list.is-featured .home-content-cover {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.home-content-list.is-featured .home-content-info {
    padding: 0 0.1rem 0.08rem;
}

.home-content-list.is-featured .home-content-info h3 {
    font-size: 1.05rem;
}

.home-content-list.is-compact {
    gap: 0;
}

.home-content-list.is-compact .home-content-card {
    border: 0;
    border-bottom: 1px solid #edf2f8;
    border-radius: 0;
    box-shadow: none;
    grid-template-columns: 72px 1fr;
    padding: 0.72rem 0;
}

.home-content-list.is-compact .home-content-card:first-child {
    padding-top: 0;
}

.home-content-list.is-compact .home-content-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.home-content-list.is-compact .home-content-cover {
    aspect-ratio: 1 / 0.78;
}

.home-content-list.is-compact .home-content-info h3 {
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}

.home-content-list.is-compact .home-content-info p {
    font-size: 0.8rem;
    margin-bottom: 0.24rem;
    -webkit-line-clamp: 1;
}

.home-content-list.is-scroll {
    cursor: grab;
    display: flex;
    gap: 0.75rem;
    margin: 0 -1rem;
    overflow-x: auto;
    padding: 0 1rem 0.15rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    user-select: none;
}

.home-content-list.is-scroll.is-dragging {
    cursor: grabbing;
}

.home-content-list.is-scroll .home-content-card {
    cursor: grab;
}

.home-content-list.is-scroll.is-dragging .home-content-card {
    cursor: grabbing;
    pointer-events: none;
}

.home-content-list.is-scroll img,
.home-banner img {
    -webkit-user-drag: none;
    user-select: none;
}

.home-content-list.is-scroll::-webkit-scrollbar {
    display: none;
}

.home-content-list.is-scroll .home-content-card {
    flex: 0 0 76%;
    grid-template-columns: 1fr;
    padding: 0.65rem;
    scroll-snap-align: start;
}

.home-content-list.is-scroll .home-content-cover {
    aspect-ratio: 16 / 9;
}

.home-contact {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(21, 184, 214, 0.04)),
        #ffffff;
    border: 1px solid #dce9f8;
    border-radius: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.95rem;
}

.home-contact h3 {
    color: #10243d;
}

.home-contact dl {
    gap: 0.5rem;
}

.home-contact dl div {
    background: #ffffff;
    border: 1px solid #edf2f8;
    border-radius: 8px;
    grid-template-columns: 48px 1fr;
    padding: 0.52rem 0.6rem;
}

.home-contact dt {
    color: #1677ff;
}

.home-contact-qr img {
    background: #ffffff;
    border: 1px solid #dfe8f5;
    box-shadow: 0 10px 24px rgba(20, 64, 120, 0.08);
    padding: 0.4rem;
}

@media (max-width: 520px) {
    .home-contact {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .home-contact-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-contact-button {
        min-width: 0;
    }

    .home-contact-qr {
        justify-self: start;
    }
}

.home-bottom-nav {
    border-top: 1px solid #e1e9f4;
    box-shadow: 0 -10px 24px rgba(30, 82, 144, 0.08);
    max-width: 720px;
}

.home-bottom-nav a {
    color: #7b8798;
    font-size: 0;
    gap: 0.18rem;
}

.home-bottom-nav a::after {
    content: "";
    font-size: 0.76rem;
}

.home-bottom-nav a:nth-child(1)::after {
    content: "首页";
}

.home-bottom-nav a:nth-child(2)::after {
    content: "分类";
}

.home-bottom-nav a:nth-child(3)::after {
    content: "我的";
}

.home-bottom-nav span {
    align-items: center;
    display: inline-flex;
    font-size: 0;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.home-bottom-nav span::before {
    font-size: 1.05rem;
    line-height: 1;
}

.home-bottom-nav a:nth-child(1) span::before {
    content: "⌂";
}

.home-bottom-nav a:nth-child(2) span::before {
    content: "▦";
}

.home-bottom-nav a:nth-child(3) span::before {
    content: "○";
}

.home-bottom-nav a.is-active {
    color: #1677ff;
}

/* Global frontend back entry */
.global-back-link {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
    color: #111827;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 700;
    gap: 0.28rem;
    left: max(24px, calc(50% - 560px));
    min-height: 40px;
    padding: 0.45rem 0.75rem 0.45rem 0.55rem;
    position: fixed;
    top: 32px;
    z-index: 80;
}

@media (min-width: 761px) and (max-width: 1180px) {
    .global-back-link {
        left: 24px;
    }
}

.global-back-link span {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 0.8;
}

@media (max-width: 760px) {
    .global-back-link {
        left: 12px;
        top: 12px;
    }

    body:has(.global-back-link) .content-shell,
    body:has(.global-back-link) .category-shell,
    body:has(.global-back-link) .profile-shell {
        padding-top: 4rem;
    }

    body:has(.global-back-link) .shop-shell {
        padding-top: 0.65rem;
    }
}

.shop-top > a[data-back-link],
.profile-top > a[data-back-link],
.category-back[data-back-link],
.content-footer-actions a[data-back-link] {
    display: none;
}

.global-back-link {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

body.is-back-link-visible .global-back-link {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

body.lightbox-open {
    overflow: hidden;
}

.is-lightbox-image {
    cursor: zoom-in;
}

.image-lightbox {
    align-items: center;
    background: rgba(8, 17, 34, 0.86);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: fixed;
    z-index: 2000;
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox img {
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    max-height: calc(100vh - 54px);
    max-width: min(1080px, calc(100vw - 28px));
    object-fit: contain;
}

.image-lightbox-close {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 0;
    border-radius: 999px;
    color: #10243d;
    cursor: pointer;
    display: flex;
    font-size: 28px;
    font-weight: 400;
    height: 42px;
    justify-content: center;
    line-height: 1;
    position: fixed;
    right: 16px;
    top: 16px;
    width: 42px;
}

.image-lightbox-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 0;
    border-radius: 999px;
    color: #10243d;
    cursor: pointer;
    display: flex;
    font-size: 42px;
    height: 48px;
    justify-content: center;
    line-height: 1;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    z-index: 2001;
}

.image-lightbox-nav.prev {
    left: 16px;
}

.image-lightbox-nav.next {
    right: 16px;
}

.image-lightbox-count {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    bottom: 18px;
    color: #10243d;
    font-size: 0.86rem;
    font-weight: 800;
    left: 50%;
    padding: 0.28rem 0.7rem;
    position: fixed;
    transform: translateX(-50%);
    z-index: 2001;
}

@media (max-width: 640px) {
    .image-lightbox {
        padding: 10px;
    }

    .image-lightbox img {
        max-height: calc(100vh - 92px);
    }

    .image-lightbox-nav {
        background: rgba(255, 255, 255, 0.72);
        font-size: 34px;
        height: 40px;
        width: 40px;
    }

    .image-lightbox-nav.prev {
        left: 8px;
    }

    .image-lightbox-nav.next {
        right: 8px;
    }
}

/* Final homepage navigation override: data comes from admin navigation */
.home-services-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(23, 70, 120, 0.07);
    margin-bottom: 1rem;
    padding: 16px 18px 18px;
}

.home-services-section > h2 {
    color: #071527;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 16px;
}

.home-services-section .home-nav-grid.is-service-card,
.home-services-section .home-nav-grid.is-service-card.cols-5 {
    display: grid;
    gap: 10px 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-services-section .home-nav-grid.is-color-grid,
.home-services-section .home-nav-grid.is-color-grid.cols-5 {
    display: grid;
    gap: 14px 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-services-section .home-nav-item {
    align-items: center;
    display: grid;
    justify-items: center;
    min-height: auto;
    min-width: 0;
    padding: 0;
    text-align: center;
}

.home-services-section .home-nav-grid.is-service-card .home-nav-item {
    gap: 9px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item {
    gap: 5px;
}

.home-services-section .home-nav-item span {
    align-items: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    justify-content: center;
    overflow: hidden;
}

.home-services-section .home-nav-grid.is-service-card .home-nav-item span {
    background: #1e91f2;
    box-shadow: 0 10px 22px rgba(30, 145, 242, 0.2);
    height: 56px;
    width: 56px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item span {
    height: 38px;
    width: 38px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-orange span {
    background: #ff7a1a;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-red span {
    background: #ef3f4f;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-blue span {
    background: #2563eb;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-pink span {
    background: #e43f82;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-purple span {
    background: #8b5cf6;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-green span {
    background: #12b991;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-coral span {
    background: #ff625c;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-dark span {
    background: #0f172a;
}

.home-services-section .home-nav-default-icon {
    height: 32px;
    width: 32px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-default-icon {
    height: 26px;
    width: 26px;
}

.home-services-section .home-nav-default-icon rect,
.home-services-section .home-nav-default-icon path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.home-services-section .home-nav-item img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-services-section .home-nav-item strong {
    color: #000000;
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    max-width: 100%;
    min-height: auto;
    overflow-wrap: anywhere;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item strong {
    font-weight: 500;
}

/* Final override: navigation module is fully backend-driven */
.home-services-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(23, 70, 120, 0.07);
    margin-bottom: 1rem;
    padding: 16px 18px 18px;
}

.home-services-section > h2 {
    color: #071527;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 16px;
}

.home-services-section .home-nav-grid.is-service-card,
.home-services-section .home-nav-grid.is-service-card.cols-5 {
    display: grid;
    gap: 10px 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-services-section .home-nav-grid.is-color-grid,
.home-services-section .home-nav-grid.is-color-grid.cols-5 {
    display: grid;
    gap: 14px 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-services-section .home-nav-item {
    align-items: center;
    display: grid;
    justify-items: center;
    min-height: auto;
    min-width: 0;
    padding: 0;
    text-align: center;
}

.home-services-section .home-nav-grid.is-service-card .home-nav-item {
    gap: 9px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item {
    gap: 5px;
}

.home-services-section .home-nav-item span {
    align-items: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    justify-content: center;
    overflow: hidden;
}

.home-services-section .home-nav-grid.is-service-card .home-nav-item span {
    background: #1e91f2;
    box-shadow: 0 10px 22px rgba(30, 145, 242, 0.2);
    height: 56px;
    width: 56px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item span {
    height: 38px;
    width: 38px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-orange span {
    background: #ff7a1a;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-red span {
    background: #ef3f4f;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-blue span {
    background: #2563eb;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-pink span {
    background: #e43f82;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-purple span {
    background: #8b5cf6;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-green span {
    background: #12b991;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-coral span {
    background: #ff625c;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-dark span {
    background: #0f172a;
}

.home-services-section .home-nav-default-icon {
    height: 32px;
    width: 32px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-default-icon {
    height: 26px;
    width: 26px;
}

.home-services-section .home-nav-default-icon rect,
.home-services-section .home-nav-default-icon path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.home-services-section .home-nav-item img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-services-section .home-nav-item strong {
    color: #000000;
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    max-width: 100%;
    min-height: auto;
    overflow-wrap: anywhere;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item strong {
    font-weight: 500;
}

/* Backend-driven navigation module styles */
.home-services-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(23, 70, 120, 0.07);
    margin-bottom: 1rem;
    padding: 16px 18px 18px;
}

.home-services-section > h2 {
    color: #071527;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 16px;
}

.home-services-section .home-nav-grid {
    display: grid;
}

.home-services-section .home-nav-grid.is-service-card,
.home-services-section .home-nav-grid.is-service-card.cols-5 {
    gap: 10px 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-services-section .home-nav-grid.is-color-grid,
.home-services-section .home-nav-grid.is-color-grid.cols-5 {
    gap: 14px 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-services-section .home-nav-item {
    align-items: center;
    display: grid;
    justify-items: center;
    min-width: 0;
    text-align: center;
}

.home-services-section .home-nav-grid.is-service-card .home-nav-item {
    gap: 9px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item {
    gap: 5px;
}

.home-services-section .home-nav-item span {
    align-items: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    justify-content: center;
    overflow: hidden;
}

.home-services-section .home-nav-grid.is-service-card .home-nav-item span {
    background: #1e91f2;
    box-shadow: 0 10px 22px rgba(30, 145, 242, 0.2);
    height: 56px;
    width: 56px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item span {
    height: 38px;
    width: 38px;
}

.home-services-section .home-nav-item.tone-orange span {
    background: #ff7a1a;
}

.home-services-section .home-nav-item.tone-red span {
    background: #ef3f4f;
}

.home-services-section .home-nav-item.tone-blue span {
    background: #2563eb;
}

.home-services-section .home-nav-item.tone-pink span {
    background: #e43f82;
}

.home-services-section .home-nav-item.tone-purple span {
    background: #8b5cf6;
}

.home-services-section .home-nav-item.tone-green span {
    background: #12b991;
}

.home-services-section .home-nav-item.tone-coral span {
    background: #ff625c;
}

.home-services-section .home-nav-item.tone-dark span {
    background: #0f172a;
}

.home-services-section .home-nav-grid.is-service-card .home-nav-item span {
    background: #1e91f2;
}

.home-services-section .home-nav-default-icon {
    height: 32px;
    width: 32px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-default-icon {
    height: 26px;
    width: 26px;
}

.home-services-section .home-nav-default-icon rect,
.home-services-section .home-nav-default-icon path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.home-services-section .home-nav-item img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-services-section .home-nav-item strong {
    color: #000000;
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item strong {
    font-weight: 500;
}

@media (min-width: 760px) {
    .home-page {
        padding-bottom: 92px;
    }

    .home-app {
        padding-top: 1rem;
    }
}

/* 008 service navigation refresh */
.home-services-section {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(27, 78, 143, 0.06);
    padding: 20px;
}

.home-services-section > h2 {
    color: #111827;
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 16px;
}

.home-services-section .home-nav-grid,
.home-services-section .home-nav-grid.cols-5 {
    display: grid;
    gap: 16px 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-services-section .home-nav-item {
    align-items: start;
    border-radius: 12px;
    display: grid;
    gap: 9px;
    justify-items: center;
    min-height: 94px;
    min-width: 0;
    padding: 2px 0;
    text-align: center;
}

.home-services-section .home-nav-item span {
    align-items: center;
    background: linear-gradient(135deg, #1677ff, #1bb8d8);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(22, 119, 255, 0.22);
    color: #ffffff;
    display: inline-flex;
    height: 64px;
    justify-content: center;
    overflow: hidden;
    width: 64px;
}

.home-services-section .home-nav-item img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-services-section .home-nav-default-icon {
    height: 36px;
    width: 36px;
}

.home-services-section .home-nav-default-icon rect,
.home-services-section .home-nav-default-icon path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.home-services-section .home-nav-item strong {
    color: #111827;
    display: -webkit-box;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    max-width: 100%;
    min-height: 35px;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 430px) {
    .home-services-section {
        padding: 20px;
    }

    .home-services-section .home-nav-grid,
    .home-services-section .home-nav-grid.cols-5 {
        gap: 15px 8px;
    }

    .home-services-section .home-nav-item span {
        height: 60px;
        width: 60px;
    }
}

@media (max-width: 375px) {
    .home-services-section .home-nav-grid,
    .home-services-section .home-nav-grid.cols-5 {
        gap: 14px 6px;
    }

    .home-services-section .home-nav-item span {
        height: 58px;
        width: 58px;
    }
}

/* User requested platform shortcut grid */
.home-platform-grid {
    display: grid;
    gap: 14px 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0.1rem 0 1rem;
    padding: 0 2px;
}

.home-platform-item {
    align-items: center;
    display: grid;
    gap: 5px;
    justify-items: center;
    min-width: 0;
    text-align: center;
}

.home-platform-item span {
    align-items: center;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-size: 24px;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    line-height: 1;
    width: 38px;
}

.home-platform-item img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-platform-item strong {
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.home-platform-item.tone-orange span {
    background: #ff7a1a;
}

.home-platform-item.tone-red span {
    background: #f04455;
}

.home-platform-item.tone-crimson span {
    background: #e92037;
}

.home-platform-item.tone-dark span {
    background: #020617;
}

.home-platform-item.tone-pink span {
    background: #ea3f83;
}

.home-platform-item.tone-purple span {
    background: #8b5cf6;
}

.home-platform-item.tone-green span {
    background: #18c6a4;
}

.home-platform-item.tone-coral span {
    background: #ff6860;
}

.home-services-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(23, 70, 120, 0.07);
    margin-bottom: 1rem;
    padding: 16px 18px 18px;
}

.home-services-section > h2 {
    color: #071527;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 16px;
}

.home-services-section .home-nav-grid.is-service-card,
.home-services-section .home-nav-grid.is-service-card.cols-5 {
    display: grid;
    gap: 10px 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-services-section .home-nav-grid.is-color-grid,
.home-services-section .home-nav-grid.is-color-grid.cols-5 {
    display: grid;
    gap: 14px 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-services-section .home-nav-item {
    align-items: center;
    display: grid;
    justify-items: center;
    min-height: auto;
    min-width: 0;
    padding: 0;
    text-align: center;
}

.home-services-section .home-nav-grid.is-service-card .home-nav-item {
    gap: 9px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item {
    gap: 5px;
}

.home-services-section .home-nav-item span {
    align-items: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    justify-content: center;
    overflow: hidden;
}

.home-services-section .home-nav-grid.is-service-card .home-nav-item span {
    background: #1e91f2;
    box-shadow: 0 10px 22px rgba(30, 145, 242, 0.2);
    height: 56px;
    width: 56px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item span {
    height: 38px;
    width: 38px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-orange span {
    background: #ff7a1a;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-red span {
    background: #ef3f4f;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-blue span {
    background: #2563eb;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-pink span {
    background: #e43f82;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-purple span {
    background: #8b5cf6;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-green span {
    background: #12b991;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-coral span {
    background: #ff625c;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item.tone-dark span {
    background: #0f172a;
}

.home-services-section .home-nav-default-icon {
    height: 32px;
    width: 32px;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-default-icon {
    height: 26px;
    width: 26px;
}

.home-services-section .home-nav-default-icon rect,
.home-services-section .home-nav-default-icon path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.home-services-section .home-nav-item img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-services-section .home-nav-item strong {
    color: #000000;
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    max-width: 100%;
    min-height: auto;
    overflow-wrap: anywhere;
}

.home-services-section .home-nav-grid.is-color-grid .home-nav-item strong {
    font-weight: 500;
}

/* 008C configurable bottom navigation */
.home-bottom-nav {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    max-width: 720px;
    min-height: 60px;
}

.home-bottom-nav a {
    color: #7b8798;
    font-size: 12px;
    gap: 0.14rem;
    line-height: 1.2;
    min-width: 0;
}

.home-bottom-nav a::after,
.home-bottom-nav a:nth-child(1)::after,
.home-bottom-nav a:nth-child(2)::after,
.home-bottom-nav a:nth-child(3)::after {
    content: none;
}

.home-bottom-nav span {
    color: currentColor;
    font-size: 0;
    height: 24px;
    width: 24px;
}

.home-bottom-nav span::before,
.home-bottom-nav a:nth-child(1) span::before,
.home-bottom-nav a:nth-child(2) span::before,
.home-bottom-nav a:nth-child(3) span::before {
    content: none;
}

.home-bottom-nav svg {
    display: block;
    fill: currentColor;
    height: 23px;
    width: 23px;
}

.home-bottom-nav img {
    display: block;
    height: 24px;
    object-fit: contain;
    width: 24px;
}

.home-bottom-nav a.is-active {
    color: #1677ff;
}
