* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    color: #111;
    background: white;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}



.header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 4%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: white;
}

.brand-logo {
    display: block;
    width: 390px;
}

.brand-logo img {
    width: 390px;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-top: 20px;
}

.nav a {
    font-size: 18px;
    line-height: 1;
}

.nav a:hover {
    opacity: .55;
}

.home-page {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.home-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
}

.home-title {
    position: absolute;
    right: 20%;
    top: 42%;
    color: white;
    text-align: center;
}

.home-title p {
    font-size: 80px;
    line-height: 1.3;
    font-weight: 300;
}



.story-page {
    min-height: 65vh;
    padding: 84px 10%;
    display: grid;
    grid-template-columns: 1.4fr .72fr;
    gap: 12%;
    align-items: center;
}

.story-text {
    max-width: 620px;
}

.story-label {
    display: inline-block;
    padding: 7px 10px;
    margin-bottom: 38px;
    background: #000;
    color: #fff;
    font-size: 15px;
}

.story-text h2 {
    margin-bottom: 38px;
    font-size: 29px;
    font-weight: 600;
}

.story-text p {
    margin-bottom: 39px;
    font-size: 16px;
    line-height: 1.35;
}

.story-image {
    width: 320px;
}

.story-image img {
    width: 320px;
    height: auto;
    object-fit: contain;
}




.page-title {
    margin-bottom: 10px;
    text-align: center;
    font-size: 27px;
    font-weight: 400;
}

.page-title.left {
    text-align: left;
}




.products-page {
    padding: 38px 7% 90px;
    background: #eeeeee;
}

.product-filter {
    width: 320px;
    height: 30px;
    margin: 5px auto 58px;
    display: flex;
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
}

.product-filter input {
    display: none;
}

.product-filter label {
    width: 33.333%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
}

#all:checked + label,
#classic:checked + label,
#seasonal:checked + label {
    background: #f4cccc;
}


.product-grid {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 55px;
}

.product-card {
    width: 100%;
    min-height: 315px;
    background: #fff;
    border-radius: 21px;
    overflow: hidden;
    box-shadow: 10px 17px 19px rgba(0, 0, 0, .18);
}

.product-card img {
    width: 100%;
    height: 225px;
    object-fit: contain;
    background: #fff;
}

.product-info {
    padding: 10px 22px 20px;
}

.product-info h3 {
    margin-bottom: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
}

.product-info p {
    font-size: 13px;
    line-height: 1.3;
    color: #555;
}


/* HTML + CSS 筛选 */

#classic:checked ~ .product-grid .seasonal-card {
    display: none;
}

#seasonal:checked ~ .product-grid .classic-card {
    display: none;
}




.favorites-page {
    min-height: 1000px;
    padding: 38px 4%;
    background: #fff;
}

.favorites-page .page-title {
    margin-bottom: 40px;
}

.favorite-row {
    min-height: 270px;
    display: grid;
    grid-template-columns: 235px 340px 225px;
    column-gap: 45px;
    align-items: center;
    justify-content: center;
}

.favorite-row.second {
    margin-left: 145px;
}

.favorite-row.third {
    margin-left: 0;
}

.favorite-name {
    display: flex;
    align-items: center;
    gap: 25px;
}

.favorite-name span {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #efd0d0;
}

.favorite-name h3 {
    font-size: 20px;
    font-weight: 400;
}

.favorite-row > p {
    font-size: 15px;
    line-height: 1.35;
}

.favorite-row > img {
    width: 225px;
    height: 215px;
    border-radius: 20px;
    object-fit: cover;
}


.ranking-page {
    min-height: 610px;
    padding: 38px 4%;
    background: #edf4e8;
}

.ranking-page .page-title {
    margin-bottom: 65px;
}

.ranking-row {
    width: 82%;
    margin: 0 auto 82px;
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 0;
}

.ranking-row h3 {
    font-size: 20px;
    font-weight: 400;
}

.ranking-row div {
    font-size: 15px;
}

.ranking-product {
    margin-bottom: 3px;
}

.ranking-row div p:last-child {
    line-height: 1.35;
}


.locations-page {
    min-height: 650px;
    padding: 45px 8% 100px;
}

.locations-grid {
    width: 900px;
    max-width: 100%;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
}

.location-card {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 10px 17px 20px rgba(0, 0, 0, .17);
}

.location-card > img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.location-text {
    min-height: 145px;
    padding: 17px;
    background: #f3cccc;
}

.location-text h3 {
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: 400;
}

.location-text p {
    font-size: 14px;
    line-height: 1.4;
}


.footer {
    min-height: 285px;
    padding: 45px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8%;
    background: #561d22;
    color: white;
}

.footer h3 {
    margin-bottom: 27px;
    font-size: 21px;
    font-weight: 400;
}

.footer p,
.footer a {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.45;
}

.footer a:hover {
    opacity: .55;
}



@media (max-width: 800px) {

    .header {
        padding: 18px 20px;
    }

    .brand-logo {
        width: 150px;
    }

    .brand-logo img {
        width: 150px;
    }

    .nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav a {
        font-size: 10px;
    }

    .home-title {
        left: 5%;
        right: 5%;
    }

    .home-title p {
        font-size: 32px;
    }

    .story-page {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 70px 8%;
    }

    .story-image,
    .story-image img {
        width: 100%;
        height: auto;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .favorite-row,
    .favorite-row.second,
    .favorite-row.third {
        margin-left: 0;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 35px 0;
    }

    .favorite-row > img {
        width: 225px;
    }

    .ranking-row {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 60px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}
/* ========================================================= */
/* ============= 以下是新增的 Brand Story 页面样式 ============= */
/* ========================================================= */

/* 1. 全屏覆盖页面基础样式 */
.full-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff; /* 设计图是纯白背景 */
    z-index: 9999; /* 确保在最上层 */
    overflow-y: auto; /* 内容超出高度时滚动 */
    display: none; /* 默认隐藏，点击跳转后显示 */
    box-sizing: border-box;
}

/* 当 URL 锚点匹配 #page-3 时显示此页面 */
.full-page:target {
    display: block;
}

/* 2. 页面内容容器：铺满屏幕且留有设计图中的边框距离 */
.page-content {
    width: 100%;
    max-width: 1400px; /* 限制最大宽度，保证大屏不会太散 */
    margin: 0 auto; /* 水平居中 */
    padding: 60px 5vw; /* 上下60px，左右5vw的留白 */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* 3. 顶部标题样式 */
.story-header-box {
    margin-bottom: 50px;
}

.story-label-new {
    display: inline-block;
    background-color: #000000; /* 黑底 */
    color: #ffffff; /* 白字 */
    font-size: 14px;
    font-weight: bold;
    padding: 8px 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.story-title-new {
    font-size: 32px;
    font-weight: 600;
    color: #111111;
    margin: 0;
}

/* 4. 左右分栏布局（网格布局） */
.story-layout-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 左右等宽 */
    gap: 60px; /* 左右间距 */
    margin-bottom: 70px; /* 上下两块的间距 */
    align-items: center; /* 垂直居中对齐 */
}

/* 5. 文字块样式 */
.story-text-block p {
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: justify;
}

/* 6. 图片块样式 */
.story-image-block img {
    width: 100%;
    height: auto;
    border-radius: 12px; /* 图片圆角 */
    object-fit: cover;
    display: block;
}

/* 7. 右下角小 Logo 样式 */
.small-logo-box {
    display: flex;
    justify-content: flex-end; /* 靠右对齐 */
    margin-top: 30px;
}

.small-logo-box img {
    width: 120px;
    height: auto;
}

/* 8. Return 按钮的包装盒 */
.return-button-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* 9. Return 按钮样式（完全按照设计图，灰底圆角） */
.return-btn {
    display: inline-block;
    padding: 16px 70px;
    background-color: #eeeeee; /* 浅灰底色 */
    color: #333333; /* 深色字体 */
    font-size: 20px;
    font-weight: normal;
    border-radius: 40px;
    text-decoration: none; /* 去除下划线 */
    transition: all 0.3s ease;
    cursor: pointer;
}

.return-btn:hover {
    background-color: #dddddd;
    transform: scale(1.02);
}

/* 10. 响应式适配（移动端） */
@media (max-width: 800px) {
    .story-layout-row {
        grid-template-columns: 1fr; /* 移动端变为单列，垂直排列 */
        gap: 30px;
    }
    .reverse-row {
        display: flex;
        flex-direction: column-reverse; /* 让原本右边的文字跑到下边 */
    }
    .story-title-new {
        font-size: 24px;
    }
    .return-btn {
        padding: 12px 40px;
        font-size: 16px;
    }
}
/* ========== Work Cards 【新版响应式CSS】 ========== */
.work-cards-section {
    background-color: #f7e9eb;
    padding: 48px 64px;
    font-family: system-ui, sans-serif;
    box-sizing: border-box; /* 重点：padding不会撑大板块宽度 */
    width:100%;
}

.wc-title {
    font-size: 24px;
    font-weight: 500;
    margin:0 0 16px;
}

.wc-intro {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.6;
    margin:0 0 32px;
}

.wc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 电脑：4列 */
    gap: 24px;
    margin-bottom: 40px;
}

.wc-card {
    background-color: #ffffff;
    padding:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing: border-box;
}

.wc-card img {
    max-width: 100%;
    height: auto; /* 保持图片原始比例，绝不拉伸 */
    display:block;
}

.wc-bottom-text {
    max-width: 900px;
    font-size:16px;
    line-height:1.6;
}

.wc-bottom-text ul {
    list-style:none;
    padding:0;
    margin:8px 0;
}

/* ===== 平板适配：窗口小于768px → 4列变成2列 ===== */
@media screen and (max-width:768px){
    .work-cards-section{
        padding:32px 24px; /* 减小左右边距 */
    }
    .wc-grid{
        grid-template-columns: repeat(2,1fr);
        gap:16px;
    }
    .wc-title{
        font-size:20px;
    }
}

/* ===== 手机适配：窗口小于480px → 2列变成1单列，卡片竖排 ===== */
@media screen and (max-width:480px){
    .work-cards-section{
        padding:24px 16px;
    }
    .wc-grid{
        grid-template-columns: 1fr;
        gap:16px;
    }
    .wc-title{
        font-size:18px;
    }
    .wc-intro, .wc-bottom-text{
        font-size:15px;
    }
}
/* ========== Mini Program & Events 板块 CSS 粘贴到你CSS末尾 ========== */
.mini-program-section {
    background-color: #ffffff;
    padding: 48px 64px;
    box-sizing: border-box;
    width:100%;
}
.mp-title {
    font-size:24px;
    font-weight:500;
    margin:0 0 24px;
}
.mp-top-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:20px;
    margin-bottom:32px;
}
.mp-top-card img {
    max-width:100%;
    height:auto;
    display:block;
}
.mp-top-desc {
    max-width:1100px;
    font-size:16px;
    line-height:1.6;
    margin:0 0 16px;
}

.events-section {
    background-color: #f7e9eb;
    padding:48px 64px;
    box-sizing: border-box;
    width:100%;
}
.event-title {
    font-size:24px;
    font-weight:500;
    margin:0 0 32px;
}
.events-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap:32px;
}
.events-text {
    font-size:16px;
    line-height:1.6;
}
.event-image img {
    max-width:100%;
    height:auto;
    display:block;
}

/* ===== 平板响应式 ===== */
@media screen and (max-width:768px){
    .mini-program-section,.events-section{
        padding:32px 24px;
    }
    .mp-top-grid{
        grid-template-columns: repeat(2,1fr);
    }
    .events-wrap{
        grid-template-columns: 1fr;
    }
}
/* ===== 手机响应式 ===== */
@media screen and (max-width:480px){
    .mini-program-section,.events-section{
        padding:24px 16px;
    }
    .mp-top-grid{
        grid-template-columns: 1fr;
    }
    .mp-title,.event-title{
        font-size:20px;
    }
    .mp-top-desc,.events-text{
        font-size:15px;
    }
}
/* ============================================
   Why It's Closing + Fans' Messages
   高保真还原：一条挂绳 + 两排正方形便签 + 斜正交替
   ============================================ */

.closing-fans-section {
    width: 100%;
    box-sizing: border-box;
    background-color: #ece7e1;
    padding: 48px 64px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
}

/* 上半部分文字区 */
.closing-copy-block {
    max-width: 900px;
    margin-bottom: 32px;
}

.closing-copy-block h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
}

.closing-copy-block p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 14px;
}

.closing-copy-block ul {
    padding-left: 20px;
    margin: 0 0 14px;
}

.closing-copy-block li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* 粉丝留言墙整体 */
.fans-messages-area {
    margin-top: 48px;
}

.fans-messages-area h2 {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

/* 一条横向挂绳 */
.clothesline {
    position: relative;
    width: 100%;
    height: 4px;
    margin-bottom: 24px;
}

.clothesline-rope {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgba(60, 60, 60, 0.35) 8%,
        rgba(60, 60, 60, 0.55) 50%,
        rgba(60, 60, 60, 0.35) 92%,
        rgba(0, 0, 0, 0) 100%
    );
    transform: translateY(-50%);
}

/* 便签墙：两排 */
.sticky-wall {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sticky-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 正方形便签基础样式 */
.sticky-note-square {
    aspect-ratio: 1 / 1;
    background-color: #f7f4ef;
    border: 1px solid #d9d4cc;
    border-radius: 2px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sticky-note-square p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #333;
    word-break: break-word;
    hyphens: auto;
}

/* 斜一张、正一张交替 */
.sticky-tilt-left {
    transform: rotate(-1.8deg);
}

.sticky-tilt-right {
    transform: rotate(1.6deg);
}

.sticky-straight {
    transform: rotate(0deg);
}

/* 第一排顺序：斜左、正、斜右、正 */
.sticky-row-top .sticky-note-square:nth-child(1) {
    transform: rotate(-1.8deg);
}

.sticky-row-top .sticky-note-square:nth-child(2) {
    transform: rotate(0deg);
}

.sticky-row-top .sticky-note-square:nth-child(3) {
    transform: rotate(1.6deg);
}

.sticky-row-top .sticky-note-square:nth-child(4) {
    transform: rotate(0deg);
}

/* 第二排顺序：斜右、正、斜左、正 */
.sticky-row-bottom .sticky-note-square:nth-child(1) {
    transform: rotate(1.6deg);
}

.sticky-row-bottom .sticky-note-square:nth-child(2) {
    transform: rotate(0deg);
}

.sticky-row-bottom .sticky-note-square:nth-child(3) {
    transform: rotate(-1.8deg);
}

.sticky-row-bottom .sticky-note-square:nth-child(4) {
    transform: rotate(0deg);
}

/* ================= 平板适配 ================= */
@media screen and (max-width: 768px) {
    .closing-fans-section {
        padding: 32px 24px;
    }

    .sticky-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .sticky-note-square p {
        font-size: 13.5px;
    }
}

/* ================= 手机适配 ================= */
@media screen and (max-width: 480px) {
    .closing-fans-section {
        padding: 24px 16px;
    }

    /* 手机端保持两排结构，但每排变成两张，避免文字太挤 */
    .sticky-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .sticky-note-square {
        padding: 14px;
    }

    .sticky-note-square p {
        font-size: 14px;
        line-height: 1.55;
    }

    /* 手机端仍保留轻微交替倾斜 */
    .sticky-row-top .sticky-note-square:nth-child(1) {
        transform: rotate(-1.4deg);
    }

    .sticky-row-top .sticky-note-square:nth-child(2) {
        transform: rotate(0deg);
    }

    .sticky-row-bottom .sticky-note-square:nth-child(1) {
        transform: rotate(1.4deg);
    }

    .sticky-row-bottom .sticky-note-square:nth-child(2) {
        transform: rotate(0deg);
    }
}