:root {
    --bg: #f3eee4;
    --paper: #fbf7f0;
    --card: #fffdf8;
    --brown: #6b4a32;
    --brown-deep: #4a3224;
    --green: #2c4a3e;
    --green-deep: #1e342c;
    --cream: #f7f1e6;
    --text: #3a322c;
    --muted: #8a7a6a;
    --line: #e4d9c8;
    --price: #8a3e2c;
    --header-h: 58px;
    --bar-h: 56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: #d8cfc0;
    color: var(--text);
    font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page {
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg);
    position: relative;
    overflow-x: hidden;
    padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 12px);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: var(--header-h);
    background: rgba(251, 247, 240, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 16px 7px;
}
.topbar .brand {
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.14em;
}
.topbar .season {
    margin-top: 2px;
    font-size: 12px;
    color: var(--brown);
    letter-spacing: 0.12em;
}

.hero {
    position: relative;
    background: var(--brown-deep);
    overflow: hidden;
}
.hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}
.hero .cap {
    position: absolute;
    left: 12px;
    bottom: 10px;
    color: #f7f1e6;
    font-size: 11px;
    letter-spacing: 0.18em;
    background: rgba(30, 52, 44, 0.45);
    padding: 4px 8px;
    border-radius: 2px;
}

.intro {
    padding: 16px 16px 8px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--brown-deep);
}
.intro strong { color: var(--green); font-weight: 600; }

.list { padding: 4px 12px 8px; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 1px 0 rgba(74, 50, 36, 0.04);
}
.card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    background: #e8dfd2;
}
.card .body { padding: 12px 14px 14px; }
.card h2 {
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--brown-deep);
    letter-spacing: 0.12em;
}
.card h2 .weight {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    font-weight: 400;
    color: var(--brown);
    letter-spacing: 0.04em;
    border: 1px solid var(--line);
    padding: 1px 8px;
    border-radius: 10px;
    background: var(--cream);
    vertical-align: middle;
}
.card .desc {
    margin: 6px 0 8px;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.04em;
}
.card .price {
    font-family: "Noto Serif SC", serif;
    color: var(--price);
    font-size: 20px;
    font-weight: 700;
}
.card .price small {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    margin-left: 4px;
}
.card .buy {
    display: block;
    width: 100%;
    margin-top: 12px;
    border: 1px solid var(--green);
    background: transparent;
    color: var(--green);
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: 0.16em;
    cursor: pointer;
}
.card .buy:active { background: var(--green); color: var(--cream); }

.contact {
    margin: 8px 12px 16px;
    padding: 16px 14px 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    text-align: center;
}
.contact h3 {
    font-family: "Noto Serif SC", serif;
    font-size: 15px;
    letter-spacing: 0.18em;
    color: var(--green);
    margin-bottom: 12px;
}
.contact .qr {
    width: min(148px, 42vw);
    height: auto;
    aspect-ratio: 1;
    max-width: 100%;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 0 auto;
}
.contact p {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}
.contact a.tel {
    display: inline-block;
    margin-top: 6px;
    color: var(--brown-deep);
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.08em;
    font-weight: 700;
    line-height: 1.3;
    height: auto;
    min-height: 0;
}
.contact .addr {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    text-align: left;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
}
.contact .addr b {
    display: block;
    color: var(--brown);
    font-weight: 600;
    margin-bottom: 2px;
}

.buybar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 430px;
    height: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--green);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 30;
    text-decoration: none;
    letter-spacing: 0.22em;
    font-size: 16px;
    font-weight: 600;
    border: 0;
    cursor: pointer;
}
.buybar:active { background: var(--green-deep); }

.mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 24, 18, 0.45);
    z-index: 40;
}
.mask.on { display: block; }
.sheet {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: var(--paper);
    border-radius: 16px 16px 0 0;
    padding: 18px 18px calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    text-align: center;
}
.sheet.on { display: block; }
.sheet h4 {
    font-family: "Noto Serif SC", serif;
    letter-spacing: 0.16em;
    color: var(--green);
    margin-bottom: 12px;
}
.sheet img {
    width: min(180px, 52vw);
    height: auto;
    aspect-ratio: 1;
    max-width: 100%;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    margin: 0 auto;
}
.sheet p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.sheet .close {
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: var(--brown);
    font-size: 13px;
    letter-spacing: 0.12em;
    cursor: pointer;
}

@media (min-width: 431px) {
    .page { box-shadow: 0 0 0 1px #cfc3b0, 0 12px 40px rgba(74, 50, 36, 0.12); }
}
