/* =========================================================
   趣生活平台
   首页 SaaS 风格
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Hiragino Sans GB",
        "Microsoft YaHei",
        sans-serif;

    color: #172033;
    background: #f7f8fc;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}


/* =========================================================
   页面主体
   ========================================================= */

.gz-home {
    min-height: 100vh;
    background: #f7f8fc;
}


/* =========================================================
   顶部导航
   ========================================================= */

.gz-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.gz-header-inner {
    width: min(1180px, calc(100% - 40px));
    height: 72px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.gz-logo {
    display: flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;
}

.gz-logo-mark {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: white;

    font-size: 20px;
    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            #635bff,
            #8b5cf6
        );

    box-shadow:
        0 8px 20px rgba(99, 91, 255, 0.25);
}

.gz-logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.gz-logo-text strong {
    font-size: 15px;
    font-weight: 750;
    color: #172033;
}

.gz-logo-text span {
    margin-top: 3px;

    font-size: 10px;
    color: #8b93a7;
}


/* 导航 */

.gz-nav {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-left: 50px;
    margin-right: auto;
}

.gz-nav a {
    position: relative;

    padding: 9px 15px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;

    color: #667085;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.gz-nav a:hover {
    color: #635bff;
    background: #f5f3ff;
}

.gz-nav a.active {
    color: #635bff;
    background: #f4f2ff;
}


/* 顶部按钮 */

.gz-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.gz-login-button,
.gz-register-button,
.gz-user-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 15px;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 650;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.gz-login-button {
    color: #4b5565;
}

.gz-login-button:hover {
    background: #f1f3f7;
}

.gz-register-button {
    color: white;

    background:
        linear-gradient(
            135deg,
            #635bff,
            #7658e8
        );

    box-shadow:
        0 6px 16px rgba(99, 91, 255, 0.20);
}

.gz-register-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 9px 22px rgba(99, 91, 255, 0.28);
}

.gz-user-button {
    gap: 8px;
    padding-left: 7px;
}

.gz-user-button:hover {
    background: #f5f6fa;
}

.gz-user-avatar {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    color: white;

    font-size: 12px;
    font-weight: 700;

    background: #635bff;
}

.gz-user-name {
    max-width: 100px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* 手机菜单 */

.gz-mobile-menu {
    display: none;

    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 10px;

    background: #f4f5f8;

    color: #344054;

    font-size: 20px;

    cursor: pointer;
}

.gz-mobile-nav {
    display: none;
}


/* =========================================================
   Hero
   ========================================================= */

.gz-hero {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f8f7ff 0%,
            #f5f8ff 50%,
            #f8f9fc 100%
        );

    border-bottom: 1px solid #eceef4;
}

.gz-hero-inner {
    position: relative;
    z-index: 2;

    width: min(900px, calc(100% - 40px));

    margin: 0 auto;

    padding:
        82px
        0
        72px;

    text-align: center;
}


/* 背景光 */

.gz-hero-glow {
    position: absolute;

    width: 380px;
    height: 380px;

    border-radius: 50%;

    filter: blur(70px);

    opacity: 0.35;

    pointer-events: none;
}

.gz-glow-one {
    top: -180px;
    left: 5%;

    background: #c9c4ff;
}

.gz-glow-two {
    right: 0;
    bottom: -230px;

    background: #c6e4ff;
}


/* Badge */

.gz-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 12px;

    border: 1px solid #e6e2ff;

    border-radius: 999px;

    color: #665ddf;

    background: rgba(255, 255, 255, 0.75);

    font-size: 12px;
    font-weight: 650;
}

.gz-hero-badge span {
    font-size: 13px;
}


/* 标题 */

.gz-hero h1 {
    margin: 21px 0 13px;

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.12;

    letter-spacing: -2px;

    font-weight: 800;

    color: #151b2c;
}

.gz-hero h1 span {
    background:
        linear-gradient(
            135deg,
            #635bff,
            #8b5cf6
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.gz-hero-description {
    max-width: 600px;

    margin: 0 auto 31px;

    color: #747d91;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   搜索框
   ========================================================= */

.gz-search-box {
    width: min(720px, 100%);
    height: 62px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    padding: 7px;

    background: white;

    border: 1px solid #e3e6ef;

    border-radius: 15px;

    box-shadow:
        0 16px 45px rgba(37, 48, 80, 0.10);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.gz-search-box:focus-within {
    border-color: #aaa4ff;

    box-shadow:
        0 18px 50px rgba(99, 91, 255, 0.13);
}

.gz-search-icon {
    width: 48px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 18px;
}

.gz-search-box input {
    flex: 1;

    min-width: 0;

    height: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #20283a;

    font-size: 14px;
}

.gz-search-box input::placeholder {
    color: #a0a7b5;
}

.gz-search-box button {
    height: 48px;

    padding: 0 25px;

    border: 0;
    border-radius: 11px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #635bff,
            #7658e8
        );

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(99, 91, 255, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.gz-search-box button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 10px 22px rgba(99, 91, 255, 0.28);
}


/* 热门搜索 */

.gz-hot-search {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 16px;

    margin-top: 17px;

    font-size: 12px;
}

.gz-hot-search > span {
    color: #9aa1b1;
}

.gz-hot-search a {
    color: #70798b;

    transition:
        color 0.2s ease;
}

.gz-hot-search a:hover {
    color: #635bff;
}


/* =========================================================
   主体
   ========================================================= */

.gz-main {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 64px 0 70px;
}


/* =========================================================
   Section
   ========================================================= */

.gz-section {
    margin-bottom: 72px;
}

.gz-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 25px;
}

.gz-section-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: #635bff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.gz-section-header h2 {
    margin: 0;

    color: #182033;

    font-size: 24px;
    line-height: 1.3;

    font-weight: 780;
}

.gz-section-header p {
    margin: 7px 0 0;

    color: #8991a3;

    font-size: 13px;
}

.gz-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 8px 11px;

    border-radius: 8px;

    color: #687286;

    font-size: 13px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.gz-view-all:hover {
    color: #635bff;
    background: #f3f2ff;
}

.gz-view-all span {
    font-size: 16px;
}


/* =========================================================
   分类卡片
   ========================================================= */

.gz-category-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}

.gz-category-card {
    position: relative;

    min-height: 104px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 19px;

    background: white;

    border: 1px solid #e9ebf1;

    border-radius: 14px;

    box-shadow:
        0 5px 18px rgba(31, 41, 61, 0.035);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.gz-category-card:hover {
    transform: translateY(-3px);

    border-color: #dcd9ff;

    box-shadow:
        0 14px 30px rgba(38, 48, 80, 0.09);
}

.gz-category-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    font-size: 22px;
}

.icon-purple {
    background: #f0edff;
}

.icon-blue {
    background: #eaf4ff;
}

.icon-pink {
    background: #fff0f6;
}

.icon-green {
    background: #eafaf2;
}

.icon-orange {
    background: #fff5e8;
}

.icon-cyan {
    background: #e9f9fc;
}

.gz-category-card strong {
    display: block;

    color: #20283a;

    font-size: 15px;
    font-weight: 700;
}

.gz-category-card div:nth-child(2) span {
    display: block;

    margin-top: 5px;

    color: #9aa2b1;

    font-size: 12px;
}

.gz-card-arrow {
    margin-left: auto;

    color: #b3b9c5;

    font-size: 17px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.gz-category-card:hover .gz-card-arrow {
    color: #635bff;

    transform: translateX(3px);
}


/* =========================================================
   商圈
   ========================================================= */

.gz-area-grid {
    display: grid;

    grid-template-columns:
        1.35fr
        1fr
        1fr;

    grid-template-rows:
        160px
        160px;

    gap: 14px;
}

.gz-area-card {
    position: relative;

    overflow: hidden;

    display: flex;
    align-items: flex-end;

    padding: 22px;

    border-radius: 15px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #303a5c,
            #556187
        );

    box-shadow:
        0 8px 25px rgba(31, 41, 61, 0.08);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.gz-area-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -55px;
    top: -65px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);
}

.gz-area-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(31, 41, 61, 0.14);
}

.gz-area-large {
    grid-row: span 2;

    background:
        linear-gradient(
            135deg,
            #51489d,
            #7566cf
        );
}

.gz-area-card:nth-child(2) {
    background:
        linear-gradient(
            135deg,
            #1f6d94,
            #328daf
        );
}

.gz-area-card:nth-child(3) {
    background:
        linear-gradient(
            135deg,
            #85556e,
            #b87894
        );
}

.gz-area-card:nth-child(4) {
    background:
        linear-gradient(
            135deg,
            #476d61,
            #639c8a
        );
}

.gz-area-content {
    position: relative;
    z-index: 2;
}

.gz-area-content span {
    display: block;

    margin-bottom: 5px;

    opacity: 0.72;

    font-size: 11px;
}

.gz-area-content strong {
    display: block;

    font-size: 20px;
    font-weight: 750;
}

.gz-area-large .gz-area-content strong {
    font-size: 27px;
}

.gz-area-content small {
    display: block;

    margin-top: 5px;

    opacity: 0.75;

    font-size: 11px;
}

.gz-area-number {
    position: absolute;

    z-index: 2;

    top: 18px;
    right: 19px;

    opacity: 0.25;

    font-size: 30px;
    font-weight: 800;
}


/* =========================================================
   门店
   ========================================================= */

.gz-store-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.gz-store-card {
    overflow: hidden;

    background: white;

    border: 1px solid #e8eaf0;

    border-radius: 15px;

    box-shadow:
        0 5px 18px rgba(31, 41, 61, 0.04);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.gz-store-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 35px rgba(31, 41, 61, 0.11);
}

.gz-store-image {
    position: relative;

    height: 205px;

    background-size: cover;
    background-position: center;

    overflow: hidden;
}


/*
   临时使用渐变作为门店图片占位。
   后续接入真实门店图片后直接替换。
*/

.store-image-one {
    background:
        linear-gradient(
            135deg,
            #403b72,
            #8378c9
        );
}

.store-image-two {
    background:
        linear-gradient(
            135deg,
            #245d7b,
            #72a8bf
        );
}

.store-image-three {
    background:
        linear-gradient(
            135deg,
            #744c62,
            #c2879e
        );
}

.gz-store-tag {
    position: absolute;

    top: 13px;
    left: 13px;

    padding: 5px 8px;

    border-radius: 6px;

    color: white;

    background:
        rgba(23, 32, 51, 0.72);

    backdrop-filter: blur(8px);

    font-size: 10px;
    font-weight: 700;
}

.gz-favorite {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 50%;

    color: white;

    background:
        rgba(23, 32, 51, 0.50);

    backdrop-filter: blur(8px);

    font-size: 19px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.gz-favorite:hover {
    background:
        rgba(99, 91, 255, 0.90);

    transform: scale(1.05);
}

.gz-store-body {
    padding: 17px;
}

.gz-store-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.gz-store-title-row h3 {
    min-width: 0;

    margin: 0;

    overflow: hidden;

    color: #1c2435;

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.gz-store-rating {
    flex-shrink: 0;

    color: #e49b27;

    font-size: 12px;
    font-weight: 700;
}

.gz-store-category {
    margin: 8px 0;

    color: #7f8798;

    font-size: 12px;
}

.gz-store-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding-top: 11px;

    border-top: 1px solid #f0f1f4;

    color: #9ba2b0;

    font-size: 11px;
}


/* =========================================================
   地区
   ========================================================= */

.gz-district-section {
    margin-bottom: 70px;

    padding: 30px;

    border: 1px solid #e8eaf0;

    border-radius: 17px;

    background: white;
}

.gz-district-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;
}

.gz-district-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 13px 15px;

    border-radius: 9px;

    color: #566073;

    background: #f7f8fa;

    font-size: 13px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.gz-district-grid a:hover {
    color: #635bff;

    background: #f2f0ff;

    transform: translateY(-1px);
}

.gz-district-grid a span {
    color: #adb3bf;
}


/* =========================================================
   CTA
   ========================================================= */

.gz-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 31px 34px;

    border-radius: 17px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #272d48,
            #454c72
        );

    box-shadow:
        0 15px 35px rgba(36, 44, 73, 0.15);
}

.gz-cta-content {
    display: flex;
    align-items: center;

    gap: 16px;
}

.gz-cta-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.12);

    font-size: 20px;
}

.gz-cta h2 {
    margin: 0 0 5px;

    font-size: 19px;
    font-weight: 750;
}

.gz-cta p {
    margin: 0;

    color: rgba(255, 255, 255, 0.66);

    font-size: 12px;
}

.gz-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 0;

    padding: 11px 18px;

    border-radius: 9px;

    color: #252b43;

    background: white;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.gz-cta-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   Footer
   ========================================================= */

.gz-footer {
    border-top: 1px solid #e7e9ef;

    background: #ffffff;
}

.gz-footer-inner {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 35px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.gz-footer-brand .gz-logo {
    display: inline-flex;
}

.gz-footer-brand p {
    margin: 12px 0 0;

    color: #9aa1af;

    font-size: 11px;
}

.gz-footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.gz-footer-links a {
    color: #858d9e;

    font-size: 12px;

    transition:
        color 0.2s ease;
}

.gz-footer-links a:hover {
    color: #635bff;
}

.gz-footer-bottom {
    padding:
        16px
        20px;

    border-top: 1px solid #f0f1f4;

    text-align: center;

    color: #a4aab5;

    font-size: 10px;
}


/* =========================================================
   平板
   ========================================================= */

@media (max-width: 900px) {

    .gz-nav {
        margin-left: 25px;
    }

    .gz-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .gz-store-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .gz-store-card:last-child {
        display: none;
    }

    .gz-area-grid {
        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            170px
            170px;
    }

    .gz-area-large {
        grid-row: span 2;
    }

    .gz-district-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   手机
   ========================================================= */

@media (max-width: 680px) {

    .gz-header-inner {
        width: calc(100% - 28px);
        height: 62px;
    }

    .gz-logo-text span {
        display: none;
    }

    .gz-logo-text strong {
        font-size: 14px;
    }

    .gz-logo-mark {
        width: 35px;
        height: 35px;

        border-radius: 10px;
    }

    .gz-nav,
    .gz-header-actions {
        display: none;
    }

    .gz-mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gz-mobile-nav {
        position: absolute;

        left: 14px;
        right: 14px;

        top: 66px;

        padding: 8px;

        border: 1px solid #e5e7ee;

        border-radius: 13px;

        background: rgba(255, 255, 255, 0.98);

        box-shadow:
            0 15px 35px rgba(25, 35, 55, 0.12);

        display: none;
    }

    .gz-mobile-nav.show {
        display: block;
    }

    .gz-mobile-nav a {
        display: block;

        padding: 12px 13px;

        border-radius: 8px;

        color: #4f586b;

        font-size: 13px;
        font-weight: 600;
    }

    .gz-mobile-nav a:hover {
        color: #635bff;
        background: #f4f2ff;
    }


    /* Hero */

    .gz-hero-inner {
        width: calc(100% - 28px);

        padding:
            55px
            0
            50px;
    }

    .gz-hero h1 {
        margin-top: 17px;

        font-size: 39px;

        letter-spacing: -1.5px;
    }

    .gz-hero-description {
        margin-bottom: 25px;

        font-size: 13px;
    }

    .gz-search-box {
        height: 56px;

        padding: 6px;

        border-radius: 13px;
    }

    .gz-search-icon {
        width: 40px;
    }

    .gz-search-box button {
        height: 44px;

        padding: 0 16px;

        border-radius: 9px;

        font-size: 13px;
    }

    .gz-hot-search {
        justify-content: flex-start;

        gap: 10px 13px;

        margin-left: 3px;

        font-size: 11px;
    }


    /* Main */

    .gz-main {
        width: calc(100% - 28px);

        padding:
            45px
            0
            50px;
    }

    .gz-section {
        margin-bottom: 52px;
    }

    .gz-section-header {
        align-items: flex-end;

        margin-bottom: 18px;
    }

    .gz-section-header h2 {
        font-size: 21px;
    }

    .gz-section-header p {
        max-width: 230px;

        font-size: 11px;
    }

    .gz-view-all {
        flex-shrink: 0;

        font-size: 11px;
    }


    /* 分类 */

    .gz-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .gz-category-card {
        min-height: 90px;

        padding: 13px;

        gap: 10px;

        border-radius: 12px;
    }

    .gz-category-icon {
        width: 39px;
        height: 39px;

        border-radius: 10px;

        font-size: 18px;
    }

    .gz-category-card strong {
        font-size: 13px;
    }

    .gz-category-card div:nth-child(2) span {
        margin-top: 3px;

        font-size: 10px;
    }

    .gz-card-arrow {
        display: none;
    }


    /* 商圈 */

    .gz-area-grid {
        display: flex;

        overflow-x: auto;

        margin-right: -14px;
        padding-right: 14px;

        gap: 10px;

        scrollbar-width: none;
    }

    .gz-area-grid::-webkit-scrollbar {
        display: none;
    }

    .gz-area-card,
    .gz-area-large {
        width: 220px;
        min-width: 220px;
        height: 155px;

        flex-shrink: 0;
    }

    .gz-area-large {
        grid-row: auto;
    }

    .gz-area-content strong,
    .gz-area-large .gz-area-content strong {
        font-size: 20px;
    }


    /* 门店 */

    .gz-store-grid {
        display: flex;

        overflow-x: auto;

        margin-right: -14px;
        padding-right: 14px;

        gap: 12px;

        scrollbar-width: none;
    }

    .gz-store-grid::-webkit-scrollbar {
        display: none;
    }

    .gz-store-card,
    .gz-store-card:last-child {
        display: block;

        width: 285px;
        min-width: 285px;
    }

    .gz-store-image {
        height: 175px;
    }


    /* 地区 */

    .gz-district-section {
        margin-bottom: 50px;

        padding: 20px 16px;

        border-radius: 14px;
    }

    .gz-district-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .gz-district-grid a {
        padding: 11px 12px;

        font-size: 12px;
    }


    /* CTA */

    .gz-cta {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;

        padding: 23px 20px;

        border-radius: 14px;
    }

    .gz-cta h2 {
        font-size: 17px;
    }

    .gz-cta p {
        line-height: 1.6;
    }

    .gz-cta-button {
        width: 100%;

        justify-content: center;
    }


    /* Footer */

    .gz-footer-inner {
        align-items: flex-start;
        flex-direction: column;

        width: calc(100% - 28px);

        padding: 28px 0;
    }

    .gz-footer-links {
        flex-wrap: wrap;

        gap: 12px 20px;
    }

}


/* =========================================================
   超小屏幕
   ========================================================= */

@media (max-width: 380px) {

    .gz-hero h1 {
        font-size: 34px;
    }

    .gz-search-box button {
        padding: 0 13px;
    }

    .gz-category-card {
        padding: 11px;
    }

    .gz-category-icon {
        width: 36px;
        height: 36px;
    }

}
/* =========================================================
   地区筛选
   ========================================================= */

.gz-location-filter {
    width: min(720px, 100%);

    margin: 12px auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}


.gz-location-item {
    height: 46px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 12px;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid #e3e6ef;

    border-radius: 10px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.gz-location-item:focus-within {
    border-color: #aaa4ff;

    box-shadow:
        0 5px 18px rgba(99, 91, 255, 0.10);
}


.gz-location-icon {
    flex-shrink: 0;

    font-size: 14px;
}


.gz-location-item select {
    width: 100%;

    min-width: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #4d5668;

    font-size: 13px;

    cursor: pointer;
}


.gz-location-item select:disabled {
    color: #b4bac6;

    cursor: not-allowed;
}


/* =========================================================
   首页卡片整体紧凑化
   ========================================================= */


/* ---------- 热门分类 ---------- */

.gz-category-grid {
    gap: 11px;
}


.gz-category-card {
    min-height: 82px;

    padding: 14px;

    gap: 11px;

    border-radius: 12px;
}


.gz-category-icon {
    width: 40px;
    height: 40px;

    border-radius: 10px;

    font-size: 19px;
}


.gz-category-card strong {
    font-size: 14px;
}


.gz-category-card div:nth-child(2) span {
    margin-top: 3px;

    font-size: 11px;
}


.gz-card-arrow {
    font-size: 15px;
}


/* ---------- 热门商圈 ---------- */

.gz-area-grid {
    grid-template-rows:
        125px
        125px;

    gap: 11px;
}


.gz-area-card {
    padding: 17px;

    border-radius: 12px;
}


.gz-area-content strong {
    font-size: 18px;
}


.gz-area-large .gz-area-content strong {
    font-size: 23px;
}


.gz-area-content span {
    margin-bottom: 3px;

    font-size: 10px;
}


.gz-area-content small {
    margin-top: 3px;

    font-size: 10px;
}


.gz-area-number {
    top: 13px;
    right: 15px;

    font-size: 24px;
}


/* ---------- 热门门店 / 技师 ---------- */

.gz-store-grid {
    gap: 13px;
}


.gz-store-card {
    border-radius: 12px;
}


.gz-store-image {
    height: 145px;
}


.gz-store-body {
    padding: 13px;
}


.gz-store-title-row h3 {
    font-size: 14px;
}


.gz-store-category {
    margin: 6px 0;

    font-size: 11px;
}


.gz-store-meta {
    gap: 7px;

    padding-top: 8px;

    font-size: 10px;
}


.gz-store-tag {
    top: 10px;
    left: 10px;

    padding: 4px 7px;

    font-size: 9px;
}


.gz-favorite {
    top: 9px;
    right: 9px;

    width: 30px;
    height: 30px;

    font-size: 17px;
}


/* =========================================================
   地区筛选移动端
   ========================================================= */

@media (max-width: 680px) {

    .gz-location-filter {
        grid-template-columns:
            1fr;

        gap: 8px;

        margin-top: 10px;
    }


    .gz-location-item {
        height: 44px;
    }


    /* 分类 */

    .gz-category-card {
        min-height: 78px;

        padding: 11px;
    }


    .gz-category-icon {
        width: 37px;
        height: 37px;

        font-size: 17px;
    }


    /* 商圈 */

    .gz-area-card,
    .gz-area-large {
        width: 205px;
        min-width: 205px;

        height: 135px;
    }


    /* 门店 / 技师 */

    .gz-store-card,
    .gz-store-card:last-child {
        width: 260px;
        min-width: 260px;
    }


    .gz-store-image {
        height: 145px;
    }

}


/* =========================================================
   超小屏幕
   ========================================================= */

@media (max-width: 380px) {

    .gz-location-item {
        height: 42px;
    }


    .gz-category-card {
        min-height: 74px;

        padding: 10px;
    }


    .gz-category-icon {
        width: 34px;
        height: 34px;
    }


    .gz-area-card,
    .gz-area-large {
        width: 195px;
        min-width: 195px;

        height: 130px;
    }


    .gz-store-card,
    .gz-store-card:last-child {
        width: 250px;
        min-width: 250px;
    }

}
/* =========================================================
   首页卡片尺寸优化
   最后覆盖，确保不会被前面的样式覆盖
   ========================================================= */

/* ---------- 分类 ---------- */

.gz-category-grid {
    gap: 10px !important;
}

.gz-category-card {
    min-height: 72px !important;
    height: 72px !important;
    padding: 10px 12px !important;
    gap: 9px !important;
    border-radius: 10px !important;
}

.gz-category-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 9px !important;
    font-size: 17px !important;
}

.gz-category-card strong {
    font-size: 13px !important;
}

.gz-category-card div:nth-child(2) span {
    margin-top: 2px !important;
    font-size: 10px !important;
}

.gz-card-arrow {
    font-size: 13px !important;
}


/* ---------- 商圈 ---------- */

.gz-area-grid {
    grid-template-rows: 105px 105px !important;
    gap: 10px !important;
}

.gz-area-card {
    min-height: 105px !important;
    height: 105px !important;
    padding: 13px !important;
    border-radius: 10px !important;
}

.gz-area-large {
    min-height: 105px !important;
    height: 105px !important;
}

.gz-area-content strong {
    font-size: 16px !important;
}

.gz-area-large .gz-area-content strong {
    font-size: 20px !important;
}

.gz-area-content span {
    margin-bottom: 2px !important;
    font-size: 9px !important;
}

.gz-area-content small {
    margin-top: 2px !important;
    font-size: 9px !important;
}

.gz-area-number {
    top: 10px !important;
    right: 12px !important;
    font-size: 20px !important;
}


/* ---------- 门店 ---------- */

.gz-store-grid {
    gap: 10px !important;
}

.gz-store-card {
    border-radius: 10px !important;
}

.gz-store-image {
    height: 120px !important;
}

.gz-store-body {
    padding: 10px !important;
}

.gz-store-title-row h3 {
    font-size: 13px !important;
}

.gz-store-category {
    margin: 4px 0 !important;
    font-size: 10px !important;
}

.gz-store-meta {
    gap: 5px !important;
    padding-top: 5px !important;
    font-size: 9px !important;
}

.gz-store-tag {
    top: 7px !important;
    left: 7px !important;
    padding: 3px 6px !important;
    font-size: 8px !important;
}

.gz-favorite {
    top: 7px !important;
    right: 7px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 15px !important;
}


/* =========================================================
   手机端
   ========================================================= */

@media (max-width: 680px) {

    .gz-category-card {
        min-height: 68px !important;
        height: 68px !important;
        padding: 9px 10px !important;
    }

    .gz-category-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 16px !important;
    }

    .gz-area-card,
    .gz-area-large {
        width: 190px !important;
        min-width: 190px !important;
        height: 115px !important;
        min-height: 115px !important;
    }

    .gz-store-card,
    .gz-store-card:last-child {
        width: 235px !important;
        min-width: 235px !important;
    }

    .gz-store-image {
        height: 115px !important;
    }
}


@media (max-width: 380px) {

    .gz-category-card {
        min-height: 64px !important;
        height: 64px !important;
    }

    .gz-category-icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
    }

    .gz-area-card,
    .gz-area-large {
        width: 180px !important;
        min-width: 180px !important;
        height: 110px !important;
        min-height: 110px !important;
    }

    .gz-store-card,
    .gz-store-card:last-child {
        width: 225px !important;
        min-width: 225px !important;
    }

    .gz-store-image {
        height: 110px !important;
    }
}
/* =========================================================
   门店 / 技师卡片：缩窄
   ========================================================= */

.gz-store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.gz-store-card {
    width: auto !important;
    min-width: 0 !important;
}

/* 图片 */
.gz-store-image {
    height: 105px !important;
}

/* 内容 */
.gz-store-body {
    padding: 9px !important;
}

.gz-store-title-row h3 {
    font-size: 13px !important;
}

.gz-store-category {
    font-size: 10px !important;
}

.gz-store-meta {
    font-size: 9px !important;
}


/* =========================================================
   手机端保持横向卡片
   ========================================================= */

@media (max-width: 680px) {

    .gz-store-grid {
        grid-template-columns: none !important;
        display: flex !important;
        gap: 8px !important;
        overflow-x: auto;
    }

    .gz-store-card,
    .gz-store-card:last-child {
        width: 205px !important;
        min-width: 205px !important;
        flex: 0 0 205px !important;
    }

    .gz-store-image {
        height: 95px !important;
    }
}
/* =========================================================
   热门商圈与热门门店之间的空白优化
   ========================================================= */

/* 商圈区域本身不要额外撑高 */
.gz-section:has(.gz-area-grid) {
    margin-bottom: 25px !important;
    padding-bottom: 0 !important;
}

/* 商圈网格 */
.gz-area-grid {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
}

/* 商圈卡片 */
.gz-area-card,
.gz-area-large {
    height: 105px !important;
    min-height: 105px !important;
}

/* 下一块门店区域不要出现额外顶部空白 */
.gz-section#stores {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 门店标题区域 */
.gz-section#stores .gz-section-header {
    margin-top: 0 !important;
}
/* =========================================================
   首页整体内容密度优化 V2
   解决：
   1. 区块之间留白过大
   2. 卡片区域过于松散
   3. 少量数据时 Grid 被拉伸
   4. 门店 / 技师区域过高
   ========================================================= */


/* =========================================================
   一、首页主要内容区域
   ========================================================= */

.gz-section {
    margin-top: 0 !important;
    margin-bottom: 42px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* 第一个内容区不要离 Hero 太远 */
.gz-section:first-of-type {
    margin-top: 0 !important;
}


/* =========================================================
   二、区块标题
   ========================================================= */

.gz-section-header {
    margin-bottom: 16px !important;
}

.gz-section-header h2 {
    margin-bottom: 4px !important;
}

.gz-section-header p {
    margin-top: 0 !important;
}


/* =========================================================
   三、热门分类
   ========================================================= */

.gz-category-grid {
    display: grid !important;

    /*
       不要让只有 1~2 个分类时卡片自动拉伸
    */
    grid-template-columns: repeat(4, 210px) !important;

    justify-content: start !important;

    gap: 10px !important;

    height: auto !important;
    min-height: 0 !important;
}

.gz-category-card {
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;

    height: 70px !important;
    min-height: 70px !important;

    padding: 10px !important;
}


/* =========================================================
   四、热门商圈
   ========================================================= */

.gz-area-grid {
    display: grid !important;

    grid-template-columns: repeat(4, 210px) !important;

    grid-template-rows: repeat(2, 100px) !important;

    justify-content: start !important;

    gap: 10px !important;

    width: auto !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* 商圈卡片 */

.gz-area-card,
.gz-area-large {
    width: 210px !important;
    min-width: 210px !important;

    height: 100px !important;
    min-height: 100px !important;

    padding: 12px !important;

    box-sizing: border-box !important;
}


/* =========================================================
   五、热门门店
   ========================================================= */

.gz-store-grid {
    display: grid !important;

    /*
       固定卡片宽度，不再把一张卡拉伸到整行
    */
    grid-template-columns: repeat(4, 210px) !important;

    justify-content: start !important;

    gap: 10px !important;

    width: auto !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


.gz-store-card {
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;

    height: auto !important;

    margin: 0 !important;

    border-radius: 9px !important;
}


/* 门店图片 */

.gz-store-image {
    height: 100px !important;
}


/* 门店内容 */

.gz-store-body {
    padding: 8px !important;
}


/* =========================================================
   六、推荐技师
   ========================================================= */

.gz-technician-grid,
.gz-store-grid.technician-grid {
    display: grid !important;

    grid-template-columns: repeat(4, 210px) !important;

    justify-content: start !important;

    gap: 10px !important;

    width: auto !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
}


/*
   如果技师复用了 store-card
*/
.gz-technician-grid .gz-store-card,
.gz-store-grid.technician-grid .gz-store-card {
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;

    margin: 0 !important;
}


/* =========================================================
   七、压缩区块之间的距离
   ========================================================= */

.gz-category-grid {
    margin-bottom: 0 !important;
}

.gz-area-grid {
    margin-bottom: 0 !important;
}

.gz-store-grid {
    margin-bottom: 0 !important;
}


/* =========================================================
   八、避免内容区被固定高度撑开
   ========================================================= */

.gz-section,
.gz-category-grid,
.gz-area-grid,
.gz-store-grid {
    box-sizing: border-box !important;
}


/* =========================================================
   九、如果外层有固定最小高度，全部取消
   ========================================================= */

.gz-section {
    min-height: 0 !important;
}

.gz-category-grid,
.gz-area-grid,
.gz-store-grid {
    min-height: 0 !important;
}


/* =========================================================
   十、桌面端整体内容最大宽度
   ========================================================= */

@media (min-width: 1000px) {

    .gz-section {
        max-width: 1100px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

}


/* =========================================================
   十一、手机端
   ========================================================= */

@media (max-width: 680px) {

    .gz-section {
        margin-bottom: 30px !important;
    }


    .gz-category-grid {
        display: flex !important;

        overflow-x: auto !important;

        grid-template-columns: none !important;

        gap: 8px !important;
    }


    .gz-category-card {
        flex: 0 0 190px !important;

        width: 190px !important;
        min-width: 190px !important;

        height: 66px !important;
    }


    .gz-area-grid {
        display: flex !important;

        overflow-x: auto !important;

        grid-template-columns: none !important;
        grid-template-rows: none !important;

        gap: 8px !important;
    }


    .gz-area-card,
    .gz-area-large {
        flex: 0 0 190px !important;

        width: 190px !important;
        min-width: 190px !important;

        height: 105px !important;
        min-height: 105px !important;
    }


    .gz-store-grid {
        display: flex !important;

        overflow-x: auto !important;

        grid-template-columns: none !important;

        gap: 8px !important;
    }


    .gz-store-card {
        flex: 0 0 200px !important;

        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
    }


    .gz-store-image {
        height: 95px !important;
    }

}
/* =========================================================
   热门分类进一步压缩
   ========================================================= */

.gz-category-grid {
    grid-template-columns: repeat(4, 190px) !important;
    gap: 8px !important;
}

.gz-category-card {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;

    height: 58px !important;
    min-height: 58px !important;

    padding: 8px 10px !important;
    gap: 8px !important;

    border-radius: 9px !important;
}

.gz-category-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;

    border-radius: 8px !important;
    font-size: 15px !important;
}

.gz-category-card strong {
    font-size: 12px !important;
    line-height: 1.3 !important;
}

.gz-category-card div:nth-child(2) span {
    margin-top: 1px !important;
    font-size: 9px !important;
}

.gz-card-arrow {
    font-size: 12px !important;
}


/* ==========================================
   手机底部导航栏：固定、全宽、四等分
========================================== */

.mobile-bottom-nav {
    display: none;
}

@media screen and (max-width: 768px) {

    body {
        padding-bottom: 0 !important;
    }

    body .app-main {
        width: 100% !important;
        min-width: 0 !important;
        padding-bottom: 90px !important;
        box-sizing: border-box !important;
    }

    body nav.mobile-bottom-nav {
        position: fixed !important;

        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

        width: 100% !important;
        max-width: none !important;
        height: calc(62px + env(safe-area-inset-bottom)) !important;

        margin: 0 !important;
        padding: 0 0 env(safe-area-inset-bottom) !important;

        background: #ffffff !important;
        border-top: 1px solid #e8edf3 !important;
        box-shadow: 0 -3px 14px rgba(15, 23, 42, 0.08) !important;

        box-sizing: border-box !important;
        z-index: 2147483647 !important;
    }

    body nav.mobile-bottom-nav > a.mobile-nav-item {
        display: flex !important;
        flex: none !important;

        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: center !important;
        text-decoration: none !important;
        color: #8b95a7 !important;

        box-sizing: border-box !important;
        gap: 4px !important;
    }

    body nav.mobile-bottom-nav > a > .mobile-nav-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        height: 25px !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 24px !important;
        line-height: 1 !important;
    }

    body nav.mobile-bottom-nav > a > .mobile-nav-text {
        display: block !important;

        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;

        text-align: center !important;
        white-space: nowrap !important;

        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    body nav.mobile-bottom-nav > a.mobile-nav-item.active {
        color: #1677ff !important;
        font-weight: 600 !important;
    }
}
