@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #182d27;
  --ink-soft: #4d625b;
  --muted: #7d8b84;
  --line: #e5eae4;
  --paper: #f6f8f4;
  --white: #fff;
  --green: #2d684f;
  --green-dark: #1d523c;
  --green-soft: #e5eee8;
  --lime: #c9e395;
  --orange: #e88d65;
  --yellow: #f2c861;
  --shadow: 0 12px 35px rgb(24 45 39 / 7%);
  --font: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 15px; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #82aa67; outline-offset: 3px; }

.topbar { height: 76px; padding: 0 max(4vw, calc((100vw - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 26px; background: rgb(246 248 244 / 94%); border-bottom: 1px solid rgb(24 45 39 / 5%); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; transform: rotate(-5deg); }
.brand-mark svg { width: 23px; height: 23px; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: 'Manrope', var(--font); font-size: 16px; letter-spacing: -.4px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.desktop-nav { height: 100%; display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 15px; }
.nav-link { color: var(--ink-soft); font-size: 13px; transition: color .18s ease; }
.nav-link:hover, .nav-link.active { color: var(--green-dark); }
.nav-link.active { font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header-actions button { min-height: 38px; padding: 0 12px; border: 1px solid #dbe5dc; border-radius: 7px; background: #fff; color: #315242; font-size: 12px; cursor: pointer; white-space: nowrap; }
.header-actions button:hover { background: #f0f5f0; }
.header-label-short { display: none; }

main { width: min(1280px, calc(100% - 9vw)); margin-inline: auto; }
.hero { min-height: 422px; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 30px; padding: 50px 4.4% 46px; background: #e8efe9; border-radius: 0 0 28px 28px; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; inset: auto auto -108px -55px; width: 265px; height: 265px; border: 1px solid rgb(45 104 79 / 13%); border-radius: 50%; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 4px rgb(232 141 101 / 15%); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 22px 0 13px; font-size: clamp(39px, 5.3vw, 67px); line-height: 1.18; letter-spacing: -.06em; font-weight: 700; }
.hero h1 em, .buy-intro h2 em { color: var(--green); font-family: Georgia, 'Songti SC', serif; font-style: italic; font-weight: 500; letter-spacing: -.04em; }
.hero-copy > p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.hero-cta { display: inline-flex; gap: 23px; align-items: center; margin-top: 22px; height: 48px; padding: 0 21px; border-radius: 8px; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.hero-cta:hover { background: var(--green-dark); transform: translateY(-2px); }
.hero-cta svg { width: 16px; height: 16px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 15px; color: #60746c; font-size: 11px; }
.note-check { width: 17px; height: 17px; display: grid; place-items: center; background: #d2e2d6; color: var(--green-dark); border-radius: 50%; }
.note-check svg { width: 11px; height: 11px; stroke-width: 2.5; }
.hero-art { height: 326px; position: relative; isolation: isolate; }
.art-sun { position: absolute; top: 16px; right: 7%; width: 209px; height: 209px; border-radius: 50%; background: #d0e1ce; z-index: -2; }
.art-ring { position: absolute; border: 1px solid rgb(45 104 79 / 19%); border-radius: 50%; transform: rotate(-26deg); }
.ring-one { width: 376px; height: 167px; top: 104px; left: 4%; }
.ring-two { width: 330px; height: 125px; top: 128px; left: 9%; transform: rotate(34deg); }
.art-sticker { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 16px 28px rgb(41 80 60 / 13%); }
.sticker-main { right: 18%; top: 34px; width: 150px; height: 156px; border-radius: 49% 51% 56% 44% / 44% 42% 58% 56%; background: var(--green); color: #fff; transform: rotate(6deg); }
.sticker-main b { font-size: 27px; line-height: 1.18; letter-spacing: .05em; }
.sticker-main small { margin-top: 10px; color: #dce8df; font-size: 10px; }
.sticker-icon { margin-bottom: 5px; color: var(--lime); }
.sticker-icon svg { width: 20px; height: 20px; }
.sticker-small { left: 17%; bottom: 34px; width: 98px; height: 102px; border-radius: 50%; background: var(--yellow); color: #584823; transform: rotate(-11deg); }
.sticker-small b { margin-top: 7px; font-size: 15px; line-height: 1.35; }
.sticker-line { width: 22px; height: 3px; background: #a4863f; border-radius: 5px; }
.art-ticket { position: absolute; display: grid; grid-template-columns: 1fr 30px; align-items: center; column-gap: 10px; width: 158px; padding: 12px 13px; background: #fffdf7; border: 1px solid rgb(24 45 39 / 6%); border-radius: 10px; box-shadow: 0 10px 21px rgb(41 80 60 / 9%); }
.art-ticket span { grid-column: 1 / 3; color: #9a7954; font-size: 9px; letter-spacing: .1em; }
.art-ticket b { margin-top: 4px; font-size: 12px; line-height: 1.5; }
.art-ticket i { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #e8efe9; color: var(--green); font-style: normal; }
.art-ticket i svg { width: 16px; height: 16px; }
.ticket-left { top: 103px; left: -1%; transform: rotate(-6deg); }
.ticket-right { right: -2%; bottom: 39px; transform: rotate(5deg); }
.ticket-right i { background: #f6e8df; color: #c66f48; }
.art-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.dot-one { top: 12px; left: 30%; }
.dot-two { right: 3%; top: 126px; width: 8px; height: 8px; background: var(--green); }
.art-cross { position: absolute; right: 21%; bottom: 8px; color: #b2c48d; font-size: 26px; }

.catalog-section { padding: 70px 0 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
.section-eyebrow { font-family: 'Manrope', var(--font); font-size: 9px; letter-spacing: .19em; }
.section-heading h2, .buy-intro h2 { margin: 8px 0 0; font-size: clamp(26px, 3.5vw, 37px); letter-spacing: -.06em; line-height: 1.28; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 12px; }
.category-strip { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; padding: 5px 0 15px; }
.category-tab { width: fit-content; max-width: 100%; min-width: 0; flex: 0 0 auto; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink-soft); text-align: center; font-size: 12px; cursor: pointer; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.category-tab:hover { border-color: #a5bca9; color: var(--green-dark); }
.category-tab[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
.category-tab svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--green); }
.category-tab[aria-pressed="true"] svg { color: var(--lime); }
.category-tab span { min-width: 0; overflow-wrap: anywhere; }
.catalog-tools { display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subcategories { display: grid; gap: 12px; margin-bottom: 14px; }
.subcategories:empty { display: none; }
.category-level-title { margin: 0 0 7px; color: var(--muted); text-align: left; font-size: 10px; font-weight: 600; }
.category-level-options { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.subcat-button { width: fit-content; max-width: 100%; min-width: 0; flex: 0 0 auto; min-height: 44px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--muted); text-align: center; font-size: 11px; cursor: pointer; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.subcat-button:hover, .subcat-button[aria-pressed="true"] { background: var(--green-soft); border-color: #a5bca9; color: var(--green-dark); }
.subcat-button[aria-pressed="true"] { font-weight: 700; }
.category-prompt { grid-column: 1 / -1; padding: 34px 20px; border: 1px dashed #d5dfd6; border-radius: 10px; color: var(--muted); background: rgb(255 255 255 / 55%); text-align: center; font-size: 12px; }
.search-field { width: 234px; height: 40px; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; color: #839188; }
.search-field svg { width: 16px; height: 16px; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-field input::placeholder { color: #a2ada6; }
.search-field kbd { min-width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid #e5eae4; border-radius: 4px; background: var(--paper); color: #87938d; font: 10px var(--font); }
.product-heading { margin: 23px 0 16px; display: flex; justify-content: space-between; align-items: center; }
.product-heading > div { display: flex; align-items: baseline; gap: 10px; }
.product-heading h3 { margin: 0; font-size: 17px; letter-spacing: -.03em; }
.result-count { color: #8b9690; font-size: 10px; }
.sort-button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #65766e; font-size: 10px; cursor: pointer; }
.sort-button svg { width: 14px; height: 14px; color: var(--green); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.product-card { min-width: 0; padding: 10px; background: #fff; border: 1px solid rgb(24 45 39 / 6%); border-radius: 10px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-3px); border-color: #d2ded3; box-shadow: var(--shadow); }
.product-card.skeleton { pointer-events: none; }
.product-card.skeleton .product-visual { background: #eef2e8; animation: skeleton-pulse 1.2s ease-in-out infinite alternate; }
.product-card.skeleton .product-info { padding-top: 13px; }
.skeleton-line { width: 82%; height: 11px; border-radius: 5px; background: #e9eee8; animation: skeleton-pulse 1.2s ease-in-out infinite alternate; }
.skeleton-line.short { width: 47%; margin-top: 9px; }
@keyframes skeleton-pulse { from { opacity: .52; } to { opacity: 1; } }
.product-visual { width: 100%; height: 157px; display: grid; place-items: center; position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 7px; background: #eef2e8; color: inherit; cursor: pointer; }
.product-visual::before { content: ''; position: absolute; width: 132px; height: 132px; border: 1px solid rgb(45 104 79 / 12%); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.product-visual.tone-1 { background: #f3e9db; }
.product-visual.tone-1::before { border-color: rgb(177 117 70 / 15%); }
.product-visual.tone-2 { background: #e7eef0; }
.product-visual.tone-2::before { border-color: rgb(80 119 132 / 15%); }
.product-visual.tone-3 { background: #f1e8e7; }
.product-visual.tone-3::before { border-color: rgb(153 91 81 / 14%); }
.product-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.product-visual.has-image::before { display: none; }
.product-visual.has-image img { z-index: 1; }
.visual-mark { width: 68px; height: 68px; display: grid; place-items: center; position: relative; z-index: 1; background: #fffdf3; border: 1px solid rgb(24 45 39 / 5%); border-radius: 24px 23px 27px 19px; color: var(--green); transform: rotate(-5deg); box-shadow: 0 12px 20px rgb(24 45 39 / 8%); }
.tone-1 .visual-mark { color: #b16e45; background: #fff9ed; }
.tone-2 .visual-mark { color: #507784; background: #f6fbfb; }
.tone-3 .visual-mark { color: #a15c53; background: #fff6f1; }
.visual-mark svg { width: 29px; height: 29px; }
.product-badge { position: absolute; left: 9px; top: 9px; z-index: 2; padding: 5px 8px; border-radius: 4px; background: rgb(255 255 255 / 87%); color: var(--green-dark); font-size: 9px; font-weight: 700; }
.product-info { padding: 13px 3px 2px; }
.product-title { width: 100%; min-height: 39px; margin: 0; padding: 0; border: 0; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; background: transparent; color: var(--ink); text-align: left; font-family: inherit; font-size: 13px; line-height: 1.5; font-weight: 600; cursor: pointer; }
.product-title:hover { color: var(--green-dark); }
.product-description { min-height: 32px; max-height: 32px; margin: 5px 0 12px; overflow: hidden; color: #829087; font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-description p, .product-description div { display: inline; margin: 0; }
.product-description ul, .product-description ol { display: inline; margin: 0; padding: 0; list-style: none; }
.product-description li { display: inline; }
.product-description a { color: var(--green-dark); text-decoration: underline; }
.product-description img { max-width: 100%; max-height: 34px; vertical-align: middle; object-fit: contain; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.price { min-width: 0; color: #c56848; font-family: 'Manrope', var(--font); font-size: 19px; font-weight: 800; line-height: 1.1; }
.price small { font-family: var(--font); font-size: 10px; font-weight: 600; }
.price.consult-price { color: var(--green-dark); font-family: var(--font); font-size: 12px; }
.old-price { margin-left: 5px; color: #a1aaa5; font-size: 9px; text-decoration: line-through; }
.empty-state { grid-column: 1 / -1; min-height: 210px; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px dashed #d5dfd6; border-radius: 10px; background: rgb(255 255 255 / 55%); }
.empty-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #e8efe9; color: var(--green); }
.empty-icon svg { width: 22px; height: 22px; }
.empty-state h4 { margin: 14px 0 6px; font-size: 14px; }
.empty-state p { max-width: 320px; margin: 0; color: #829087; font-size: 11px; line-height: 1.8; }
.empty-state button { margin-top: 15px; border: 0; background: transparent; color: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; }
.more-wrap { padding-top: 22px; text-align: center; }
.more-button { display: inline-flex; align-items: center; gap: 13px; min-height: 42px; padding: 0 18px; border: 1px solid #dce4dc; border-radius: 6px; background: #fff; color: var(--green-dark); font-size: 11px; cursor: pointer; }
.more-button svg { width: 15px; height: 15px; }

.how-to-buy { display: grid; grid-template-columns: .78fr 1.52fr; align-items: center; gap: 45px; margin: 5px 0 66px; padding: 37px 4.2%; background: #e8efe9; border-radius: 12px; }
.buy-intro .eyebrow { font-size: 9px; }
.buy-intro h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 35px); }
.buy-intro p { max-width: 260px; margin: 12px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.8; }
.buy-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.step-card { min-height: 179px; padding: 15px 14px; position: relative; border: 1px solid rgb(45 104 79 / 11%); border-radius: 8px; background: rgb(255 255 255 / 70%); }
.step-number { position: absolute; top: 12px; right: 12px; color: #a8b6a8; font-family: 'Manrope', var(--font); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.step-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #e8efe9; color: var(--green); }
.step-icon svg { width: 17px; height: 17px; }
.step-card h3 { margin: 14px 0 6px; font-size: 13px; }
.step-card p { margin: 0; color: #74837b; font-size: 10px; line-height: 1.75; }
.footer { width: min(1280px, calc(100% - 9vw)); min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 auto; border-top: 1px solid var(--line); }
.footer-brand .brand-mark { width: 35px; height: 35px; border-radius: 11px; }
.footer-brand .brand-mark svg { width: 18px; height: 18px; }
.footer-brand strong { font-size: 13px; }
.footer-brand small { font-size: 9px; }
.footer > p, .back-top { margin: 0; color: #849188; font-size: 10px; }
.back-top { color: var(--green); }

.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-soft); cursor: pointer; }
.icon-button svg { width: 18px; height: 18px; }
.product-detail-dialog { width: min(1000px, calc(100% - 30px)); height: min(90vh, 900px); max-height: 90vh; display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 25px 90px rgb(12 33 23 / 26%); }
.product-detail-dialog:not([open]) { display: none; }
.product-detail-dialog::backdrop { background: rgb(17 34 26 / 58%); backdrop-filter: blur(3px); }
.product-detail-head { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.product-detail-head .eyebrow { font-size: 9px; }
.product-detail-head .icon-button { width: 44px; height: 44px; }
.product-detail-head h2 { max-width: min(70vw, 700px); margin: 5px 0 0; overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.product-detail-status { margin: 0; padding: 22px; color: var(--muted); text-align: center; font-size: 12px; }
.product-detail-dialog iframe { width: 100%; min-height: 0; height: auto; flex: 1 1 auto; display: block; border: 0; background: #fff; }
.product-detail-dialog iframe[hidden] { display: none; }
.detail-purchase-bar { flex: 0 0 auto; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.detail-purchase-button { width: 100%; min-height: 48px; border: 0; border-radius: 7px; background: #ff4d00; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.detail-purchase-button:hover, .order-buy-button:hover { background: #e84600; }
.order-confirm-dialog { position: fixed; inset: 50% auto auto 50%; width: min(460px, calc(100vw - 28px)); max-width: 100%; max-height: min(86dvh, 460px); margin: 0; padding: 0 14px calc(16px + env(safe-area-inset-bottom)); overflow-y: auto; transform: translate(-50%, -50%); border: 0; border-radius: 11px; background: #fff; color: #18334a; box-shadow: 0 20px 54px rgb(15 35 55 / 24%); }
.order-confirm-dialog:not([open]) { display: none; }
.order-confirm-dialog::backdrop { background: rgb(17 34 48 / 30%); }
.order-confirm-head { min-height: 51px; position: relative; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #e6e8eb; }
.order-confirm-head h2 { margin: 0; padding: 0 38px; color: #19364d; text-align: center; font-size: 13px; font-weight: 500; }
.order-close { width: 44px; height: 44px; position: absolute; top: 3px; right: -5px; display: grid; place-items: center; border: 0; background: transparent; color: #e2e5e9; cursor: pointer; }
.order-close svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 3; fill: none; }
.order-confirm-content { padding-bottom: 1px; }
.order-confirm-row { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px; border-bottom: 1px solid #edf0f2; color: #263d50; font-size: 12px; }
.order-confirm-row[hidden] { display: none; }
.order-confirm-row strong { color: #8996a0; font-size: 12px; font-weight: 400; text-align: right; }
.order-input-row { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.order-input-row label { font-size: 12px; }
.order-input-row input { width: 100%; min-width: 0; padding: 8px 0; border: 0; outline: 0; background: transparent; color: #263d50; text-align: right; font-size: 12px; }
.order-input-row input::placeholder { color: #98a2ad; opacity: 1; }
.order-input-row input:focus-visible { outline: 2px solid #4093f5; outline-offset: 2px; border-radius: 3px; }
.order-quantity-control { height: 44px; display: flex; align-items: stretch; overflow: hidden; border-radius: 5px; }
.order-quantity-control button { width: 42px; border: 0; background: #368bf0; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.order-quantity-control button:disabled { background: #d7d9dc; cursor: default; }
.order-quantity-control input { width: 72px; min-width: 0; padding: 0 4px; border: 1px solid #dce0e4; border-top: 0; border-bottom: 0; border-radius: 0; outline: 0; background: #fff; color: #213a4e; text-align: center; font: inherit; font-size: 12px; appearance: textfield; }
.order-quantity-control input:focus-visible { outline: 2px solid #4093f5; outline-offset: -2px; }
.order-quantity-control input::-webkit-inner-spin-button, .order-quantity-control input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.order-buy-button { width: 100%; min-height: 42px; margin-top: 42px; border: 0; border-radius: 6px; background: #ff4d00; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.order-cancel-button { width: 100%; min-height: 48px; margin-top: 8px; border: 0; background: transparent; color: #18334a; font-size: 13px; cursor: pointer; }
.payment-method-picker { display: flex; gap: 10px; margin: 14px 0 0; padding: 0; border: 0; }
.payment-method-picker legend { width: 100%; margin-bottom: 8px; color: #263d50; font-size: 12px; }
.payment-method-option { min-height: 44px; flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dce4e8; border-radius: 6px; color: #2b4254; font-size: 12px; cursor: pointer; }
.payment-method-option:has(input:checked) { border-color: #378df0; background: #f2f8ff; color: #2476d1; font-weight: 700; }
.payment-method-option input { accent-color: #378df0; }
.order-buy-button:disabled { opacity: .7; cursor: wait; }
.payment-dialog { width: min(460px, calc(100vw - 24px)); max-height: min(92dvh, 850px); padding: 17px 18px calc(16px + env(safe-area-inset-bottom)); overflow-y: auto; border: 0; border-radius: 14px; background: #fff; color: #243b4d; box-shadow: 0 24px 72px rgb(12 33 23 / 28%); }
.payment-dialog:not([open]) { display: none; }
.payment-dialog::backdrop { background: rgb(15 28 39 / 58%); backdrop-filter: blur(2px); }
.payment-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.payment-dialog-head h2 { margin: 4px 0 0; font-size: 18px; }
.payment-dialog-head .eyebrow { font-size: 9px; }
.payment-order-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 10px; padding-bottom: 10px; border-bottom: 1px solid #edf0f2; font-size: 12px; }
.payment-order-total strong { color: #e84d23; font-size: 18px; }
.payment-code-wrap { min-height: 180px; display: grid; place-items: center; padding: 8px; border: 1px solid #edf0f2; border-radius: 8px; background: #fafbfc; }
.payment-code-wrap img { width: min(100%, 340px); max-height: 54vh; display: block; object-fit: contain; }
.payment-code-wrap img[hidden] { display: none; }
.payment-code-error { margin: 24px 8px; color: #a04a34; text-align: center; font-size: 12px; }
.payment-order-number { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; }
.payment-order-number code { overflow-wrap: anywhere; color: #19364d; font-size: 12px; font-weight: 700; }
.payment-order-number button { min-height: 36px; padding: 0 11px; border: 1px solid #d9e2e8; border-radius: 5px; background: #fff; color: #31536d; cursor: pointer; }
.payment-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 6px; background: #fff3ec; color: #aa4623; font-size: 12px; font-weight: 700; line-height: 1.6; }
.payment-status-note { margin: 9px 0 0; color: #788692; text-align: center; font-size: 10px; line-height: 1.5; }
.utility-dialog { width: min(560px, calc(100vw - 24px)); max-height: min(88dvh, 760px); margin: auto; padding: 20px; overflow-y: auto; border: 0; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 24px 72px rgb(12 33 23 / 28%); }
.utility-dialog:not([open]) { display: none; }
.utility-dialog::backdrop { background: rgb(15 28 39 / 56%); backdrop-filter: blur(2px); }
.utility-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #e9eee9; }
.utility-dialog-head .eyebrow { margin-bottom: 5px; font-size: 9px; }
.utility-dialog-head h2 { margin: 0; font-size: 19px; }
.utility-dialog-copy, .orders-notice { margin: 15px 0; color: #6c7d73; font-size: 12px; line-height: 1.6; }
.orders-dialog { width: min(720px, calc(100vw - 24px)); }
.account-orders-list { display: grid; gap: 11px; }
.account-order-card { padding: 14px; border: 1px solid #e5ebe6; border-radius: 9px; background: #fff; }
.account-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.account-order-head h3 { margin: 0 0 5px; font-size: 14px; }
.account-order-number { color: #77857d; font-size: 10px; overflow-wrap: anywhere; }
.account-order-amount { color: #d65331; font-size: 15px; font-weight: 700; white-space: nowrap; }
.account-order-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; color: #687970; font-size: 11px; }
.account-order-meta strong { color: #344b3e; }
.account-order-status { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: .02em; }
.account-order-status.status-pending { border-color: #f0c970; background: #fff4d7; color: #825400; }
.account-order-status.status-processing { border-color: #8dc1ff; background: #e7f3ff; color: #155b9f; }
.account-order-status.status-completed { border-color: #80d5a0; background: #e5f8ed; color: #16683b; }
.account-order-status.status-incomplete { border-color: #f0a891; background: #fff0eb; color: #9e3f27; }
.account-order-status.status-refunded { border-color: #c5acec; background: #f1eafe; color: #62408d; }
.order-input-readonly { display: grid; grid-template-columns: minmax(100px, .35fr) minmax(0, 1fr); gap: 12px; margin-top: 10px; padding: 11px 12px; border: 1px solid #e3eae4; border-radius: 7px; background: #f7faf7; }
.order-input-readonly strong { color: #687970; font-size: 11px; }
.order-input-readonly p { min-width: 0; margin: 0; color: #30483a; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.account-order-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 10px; }
.account-order-actions button { min-height: 34px; padding: 0 11px; border: 1px solid #dce5dd; border-radius: 6px; background: #fff; color: #315242; font-size: 11px; cursor: pointer; }
.account-order-actions .refresh-order-button { margin-right: auto; border-color: #b8d8c1; background: #f3faf5; color: #236b45; }
.account-order-actions .refresh-order-button:disabled { cursor: wait; opacity: .6; }
.account-order-actions .delete-account-order { border-color: #f0d2cd; color: #b74735; }
.account-order-empty { padding: 28px 10px; color: #78877e; text-align: center; font-size: 12px; }
.service-options { display: grid; gap: 11px; padding-top: 15px; }
.service-row { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #e5ebe6; border-radius: 8px; background: #fcfdfb; }
.service-row > div span, .service-row > div strong { display: block; }
.service-row > div span { margin-bottom: 5px; color: #829087; font-size: 10px; }
.service-row > div strong { color: #2f4639; font-size: 13px; overflow-wrap: anywhere; }
.service-row a, .service-row button { min-height: 35px; display: inline-flex; align-items: center; justify-content: center; padding: 0 11px; border: 1px solid #dce5dd; border-radius: 6px; background: #fff; color: #315242; font-size: 11px; white-space: nowrap; cursor: pointer; }
.service-row a { text-decoration: none; }
.service-wechat-qr { display: block; width: min(220px, 70%); max-height: 300px; margin: 3px auto 0; object-fit: contain; }
.service-wechat-qr[hidden] { display: none; }
.service-unavailable { margin: 3px 0 0; color: #839087; text-align: center; font-size: 11px; }
.toast { max-width: calc(100% - 32px); position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 20; padding: 10px 15px; border-radius: 6px; background: #20392d; color: #fff; font-size: 11px; line-height: 1.5; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease; }
.toast.in-dialog-toast { position: absolute; bottom: 76px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1000px) {
  main, .footer { width: min(100% - 44px, 900px); }
  .category-strip { gap: 8px; }
  .category-tab { min-height: 48px; font-size: 11px; }
  .hero { padding-inline: 5%; grid-template-columns: 1fr .86fr; }
  .hero-art { transform: scale(.92); transform-origin: center right; margin-left: -15px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
  .how-to-buy { grid-template-columns: 1fr; gap: 22px; }
  .buy-intro p { max-width: 470px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 66px; }
  .topbar { height: 62px; padding-inline: 12px; gap: 7px; }
  .brand { gap: 8px; }
  .brand-mark { width: 35px; height: 35px; border-radius: 11px; }
  .brand-mark svg { width: 19px; height: 19px; }
  .brand strong { font-size: 14px; }
  .brand small { display: none; }
  .desktop-nav { display: none; }
  .header-actions { gap: 4px; }
  .header-actions button { min-height: 33px; padding-inline: 7px; border-radius: 6px; font-size: 10px; }
  .header-label-wide { display: none; }
  .header-label-short { display: inline; }
  main, .footer { width: calc(100% - 32px); }
  .hero { min-height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 29px 20px 16px; border-radius: 0 0 19px 19px; }
  .hero h1 { margin: 15px 0 9px; font-size: clamp(37px, 10vw, 48px); }
  .hero-copy > p { font-size: 12px; }
  .desktop-break { display: none; }
  .hero-cta { height: 42px; gap: 17px; margin-top: 15px; padding-inline: 16px; font-size: 11px; }
  .hero-note { margin-top: 12px; font-size: 10px; }
  .hero-art { width: min(100%, 350px); height: 218px; align-self: center; margin: -2px auto 0; transform: scale(.82); transform-origin: top center; }
  .art-sun { top: -6px; right: 11%; width: 165px; height: 165px; }
  .ring-one { width: 320px; height: 126px; top: 49px; left: 2%; }
  .ring-two { width: 280px; height: 104px; top: 67px; left: 8%; }
  .sticker-main { top: 0; right: 20%; width: 123px; height: 128px; }
  .sticker-main b { font-size: 22px; }
  .sticker-main small { margin-top: 7px; font-size: 9px; }
  .ticket-left { top: 56px; left: -1%; }
  .ticket-right { right: -2%; bottom: 7px; }
  .sticker-small { left: 17%; bottom: 0; width: 78px; height: 82px; }
  .sticker-small b { font-size: 13px; }
  .art-ticket { width: 137px; padding: 10px 10px; }
  .art-ticket b { font-size: 10px; }
  .art-ticket i { width: 25px; height: 25px; }
  .dot-one { top: -8px; left: 31%; }
  .dot-two { right: 5%; top: 112px; }
  .catalog-section { padding: 43px 0 40px; }
  .section-heading { display: block; margin-bottom: 15px; }
  .section-heading h2 { margin-top: 5px; font-size: 25px; }
  .section-heading > p { margin: 7px 0 0; font-size: 10px; }
  .section-eyebrow { font-size: 8px; }
  .category-strip, .category-level-options { gap: 7px; }
  .category-strip { margin: 0; padding: 4px 0 12px; }
  .category-tab { min-height: 58px; gap: 5px; padding: 8px 9px; border-radius: 7px; font-size: 10px; }
  .category-tab svg { width: 15px; height: 15px; }
  .subcategories { margin-bottom: 11px; }
  .catalog-tools { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 0 11px; }
  .search-field { width: 100%; height: 39px; }
  .search-field input { font-size: 12px; }
  .subcat-button { min-height: 44px; padding: 8px; font-size: 10px; }
  .product-heading { margin: 18px 0 11px; }
  .product-heading h3 { font-size: 15px; }
  .result-count { font-size: 9px; }
  .sort-button { min-height: 31px; font-size: 9px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-card { padding: 7px; border-radius: 8px; }
  .product-visual { height: auto; aspect-ratio: 1.03; border-radius: 6px; }
  .product-visual::before { width: 68%; height: 68%; }
  .visual-mark { width: 58px; height: 58px; border-radius: 20px 19px 22px 16px; }
  .visual-mark svg { width: 24px; height: 24px; }
  .product-badge { top: 6px; left: 6px; padding: 4px 6px; font-size: 8px; }
  .product-info { padding: 10px 2px 2px; }
  .product-title { min-height: 36px; font-size: 11px; line-height: 1.6; }
  .product-description { min-height: 29px; max-height: 29px; margin: 4px 0 9px; font-size: 9px; }
  .price { font-size: 17px; }
  .price small { font-size: 9px; }
  .price.consult-price { font-size: 10px; }
  .old-price { display: block; margin: 3px 0 0; font-size: 8px; }
  .empty-state { min-height: 190px; padding: 24px 18px; }
  .empty-state h4 { font-size: 13px; }
  .empty-state p { font-size: 10px; }
  .how-to-buy { gap: 17px; margin: 0 0 41px; padding: 22px 17px 17px; border-radius: 10px; }
  .buy-intro .eyebrow { font-size: 8px; }
  .buy-intro h2 { margin-top: 9px; font-size: 26px; }
  .buy-intro p { margin-top: 8px; font-size: 10px; }
  .buy-steps { gap: 6px; }
  .step-card { min-height: 151px; padding: 10px 9px; }
  .step-number { top: 9px; right: 9px; font-size: 8px; }
  .step-icon { width: 28px; height: 28px; border-radius: 8px; }
  .step-icon svg { width: 14px; height: 14px; }
  .step-card h3 { margin: 11px 0 5px; font-size: 11px; }
  .step-card p { font-size: 9px; line-height: 1.65; }
  .footer { min-height: 70px; gap: 10px; }
  .footer-brand .brand-mark { width: 30px; height: 30px; }
  .footer-brand { gap: 7px; }
  .footer-brand strong { font-size: 11px; }
  .footer-brand small { font-size: 8px; }
  .footer > p { display: none; }
  .back-top { font-size: 9px; }
  .product-detail-dialog { width: calc(100% - 12px); height: calc(100dvh - 12px); max-height: calc(100dvh - 12px); border-radius: 10px; }
  .product-detail-head { min-height: 64px; padding: 10px 13px; }
  .product-detail-head h2 { font-size: 16px; }
  .product-detail-status { padding: 18px 12px; }
  .detail-purchase-bar { padding-inline: 12px; }
  .order-confirm-dialog { width: min(460px, calc(100vw - 28px)); }
  .utility-dialog { padding: 16px; }
  .account-order-card { padding: 12px; }
  .order-buy-button { margin-top: 38px; }
  .toast { bottom: calc(14px + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  main, .footer { width: calc(100% - 24px); }
  .topbar { padding-inline: 12px; }
  .hero { padding-inline: 16px; }
  .product-grid { gap: 7px; }
  .product-card { padding: 6px; }
  .product-bottom { gap: 2px; }
  .price { font-size: 15px; }
}

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