/* ==========================================================================
   Charles Brown Luxury — main stylesheet
   ========================================================================== */
:root {
	--brown: #5e4119;
	--green: #00bf63;
	--green-d: #00a355;
	--gold: #e7b740;
	--dark: #21170c;
	--ink: #241a10;
	--muted: #6f6353;
	--line: #e7dfd2;
	--paper: #fbf8f3;
	--sand: #f3ece1;
	--white: #fff;
	--wechat: #07c160;
	--r: 16px;
	--r-lg: 24px;
	--shadow: 0 1px 2px rgba(33, 23, 12, .06), 0 8px 24px rgba(33, 23, 12, .07);
	--shadow-lg: 0 20px 60px rgba(33, 23, 12, .18);
	--f-head: "Poppins", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-body: "Poppins", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1280px;
	--pad: 16px;
	--hdr: 68px;
	--logo-h: 58px;
	--grid-cols: 4;
}
@media (min-width: 768px) { :root { --pad: 28px; --hdr: 82px; } }
.lang-zh { --f-head: "Poppins", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --f-body: "Poppins", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--gold); color: var(--dark); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 860px; }
.h2 { font-size: clamp(28px, 4vw, 40px); }
.h3 { font-size: 24px; margin-bottom: 14px; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s; white-space: nowrap; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 20px; height: 20px; }
.btn--green, .btn--wa { background: var(--green); color: #fff; box-shadow: 0 6px 16px -6px rgba(0, 191, 99, .6); }
.btn--green:hover, .btn--wa:hover { background: var(--green-d); }
.btn--wechat { background: var(--dark); color: #fff; }
.btn--wechat .ic { color: var(--wechat); }
.btn--wechat:hover { background: #3a2a18; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--brown); }
.btn--gold { background: var(--gold); color: var(--dark); }
.btn--gold:hover { background: #f0c655; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brown); color: var(--brown); }
.btn--outline { background: transparent; color: var(--green-d); border-color: var(--green); box-shadow: none; }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green-d); box-shadow: none; }
.btn--light:hover { background: #f0fff6; }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.btn--lg { min-height: 54px; padding: 12px 26px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); padding: 8px 0; }
.linkbtn:hover { color: var(--brown); }
.round { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: .2s; }
.round:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.pill .ic { width: 16px; height: 16px; }
.pill--gold { background: var(--gold); color: var(--dark); }
.pill--sun { background: #ffd24a; color: #5a3a00; }
.pill--snow { background: #dcecff; color: #173a63; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--sand); color: var(--brown); font-size: 13px; font-weight: 700; }
.tag--gold { background: #fbefcf; color: #7a5a08; }
.tag .ic { width: 15px; height: 15px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--brown); color: #f4e9d6; font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; padding-block: 6px; }
.topbar__msg { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar__msg strong { color: #fff; font-weight: 700; white-space: nowrap; }
.topbar__icons { display: inline-flex; gap: 4px; color: var(--gold); }
.topbar__icons .ic { width: 17px; height: 17px; }
.topbar__sub { opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__right { display: none; align-items: center; gap: 18px; white-space: nowrap; }
.topbar__right a, .topbar__tag { display: inline-flex; align-items: center; gap: 6px; }
.topbar__right a:hover { color: var(--gold); }
.topbar__right .ic { width: 16px; height: 16px; color: var(--gold); }
@media (max-width: 599px) { .topbar__sub, .topbar__icons .ic:nth-child(n+2) { display: none; } .topbar__in { justify-content: center; } }
@media (min-width: 900px) { .topbar__right { display: flex; } }

/* ---------- Header ---------- */
.hdr { position: relative; z-index: 60; background: var(--dark); color: #f3e8d4; border-bottom: 1px solid rgba(231, 183, 64, .18); }


.hdr__in { display: flex; align-items: center; gap: 12px; height: var(--hdr); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: calc(var(--logo-h) * .82); width: auto; }
@media (min-width: 768px) { .logo img { height: var(--logo-h); } }
.hdr__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: inherit; transition: background .2s, color .2s; position: relative; }
.hdr__icon:hover { background: rgba(255, 255, 255, .08); color: var(--gold); }
.hdr__icon .ic { width: 22px; height: 22px; }
.hdr__burger { margin-left: -8px; }
.hdr__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr__wa { display: none; min-height: 42px; padding: 8px 18px; margin-left: 6px; }
@media (min-width: 1100px) { .hdr__wa { display: inline-flex; } }
.badge { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; border: 2px solid var(--dark); }
.badge.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Language dropdown */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 5px; height: 42px; padding: 0 10px; border-radius: 99px; font-weight: 700; font-size: 14px; }
.lang__btn:hover, .lang.open .lang__btn { background: rgba(255, 255, 255, .08); color: var(--gold); }
.lang__btn .ic { width: 18px; height: 18px; }
.lang__btn .ic:last-child { width: 14px; height: 14px; opacity: .7; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; z-index: 5; }
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.lang__menu a b { display: inline-grid; place-items: center; min-width: 34px; height: 24px; border-radius: 6px; background: var(--sand); font-size: 12px; }
.lang__menu a:hover { background: var(--sand); }
.lang__menu a.on { color: var(--green-d); }
.lang__menu a .ic { margin-left: auto; width: 18px; }
@media (max-width: 420px) { .lang__btn span { display: none; } }

/* Nav */
.nav__list { display: flex; }
.nav__list > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; font-weight: 600; font-size: 15px; border-radius: 99px; transition: color .2s, background .2s; }
.nav__list > li > a:hover, .nav__list > li.current-menu-item > a, .nav__list > li.current-menu-ancestor > a, .nav__list > li.current_page_parent > a { color: var(--gold); }
.nav__chev { width: 16px !important; height: 16px !important; opacity: .7; transition: transform .2s; }
.nav__head, .nav__foot, .nav-scrim { display: none; }
.nav .sub-menu { display: none; }

@media (min-width: 1024px) {
	.hdr__burger { display: none; }
	.nav { margin-left: 18px; }
	.nav__list > li { position: static; }
	.nav__list > li:hover > a .nav__chev { transform: rotate(180deg); }
	.has-mega > .mega, .nav__list > li > .sub-menu { position: absolute; left: 0; right: 0; top: 100%; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
	.nav__list > li:hover > .mega, .nav__list > li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
	.nav__list > li { position: relative; }
	.nav__list > li.has-mega { position: static; }
	.nav__list > li > .sub-menu { display: block; left: 0; right: auto; min-width: 220px; background: #fff; color: var(--ink); border-radius: 14px; padding: 8px; box-shadow: var(--shadow-lg); }
	.nav__list > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; }
	.sub-menu a:hover { background: var(--sand); }
	.mega { background: #fff; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(33, 23, 12, .35); }
	.mega__in { max-width: var(--wrap); margin: auto; padding: 26px var(--pad) 30px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; position: relative; }
	.mega__top { display: block; }
	.mega__top img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; background: var(--sand); margin-bottom: 10px; transition: transform .3s; }
	.mega__top:hover img { transform: scale(1.03); }
	.mega__top span { font-family: var(--f-head); font-size: 20px; }
	.mega__top:hover span { color: var(--brown); }
	.mega__col ul { margin-top: 6px; }
	.mega__col li a { display: block; padding: 4px 0; font-size: 14px; color: var(--muted); }
	.mega__col li a:hover { color: var(--green-d); }
	.mega__all { position: absolute; right: var(--pad); bottom: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--green-d); }
}
@media (max-width: 1023px) {
	.nav { position: fixed; inset: 0 auto 0 0; width: min(88vw, 380px); background: var(--dark); z-index: 80; transform: translateX(-102%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
	.nav.open { transform: none; }
	.nav-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 70; opacity: 0; transition: opacity .3s; }
	.nav.open + .nav-scrim { display: block; opacity: 1; }
	.nav__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.nav__logo { height: 48px; width: auto; }
	.nav__list { flex-direction: column; padding: 10px 8px; }
	.nav__list > li > a { justify-content: space-between; padding: 14px 12px; font-size: 18px; font-family: var(--f-head); border-radius: 10px; }
	.nav__list > li.open > a .nav__chev { transform: rotate(180deg); }
	.mega, .nav .sub-menu { display: none; }
	.nav__list > li.open > .mega, .nav__list > li.open > .sub-menu { display: block; }
	.mega__in { padding: 4px 12px 12px; display: grid; gap: 4px; }
	.mega__top { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-weight: 700; }
	.mega__top img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
	.mega__col ul { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 4px 10px 64px; }
	.mega__col li a { display: block; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); font-size: 13px; color: #d8c8ad; }
	.mega__all { display: flex; align-items: center; gap: 6px; padding: 10px; color: var(--gold); font-weight: 700; }
	.nav .sub-menu a { display: block; padding: 8px 20px; color: #d8c8ad; }
	.nav__foot { display: grid; gap: 10px; margin-top: auto; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
	.nav__langs { display: flex; gap: 6px; }
	.nav__langs a { flex: 1; text-align: center; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-weight: 700; font-size: 14px; }
	.nav__langs a.on { background: var(--gold); color: var(--dark); }
	.nav__foot .btn--wechat { background: rgba(255, 255, 255, .08); }
}

/* Search panel */
.search-panel { background: var(--dark); border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 0 18px; }
.search-form { display: flex; align-items: center; gap: 10px; position: relative; }
.search-form > .ic { position: absolute; left: calc(var(--pad) + 16px); color: var(--muted); width: 20px; height: 20px; }
.search-form input { flex: 1; min-width: 0; height: 52px; padding: 0 16px 0 48px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 16px; }
.search-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(231, 183, 64, .25); }
.search-form .btn { min-height: 52px; }
.search-panel .btn--dark { background: var(--gold); color: var(--dark); }
.search-form--page { max-width: 620px; margin-top: 18px; padding: 0; }
.search-form--page > .ic { left: 16px; }

/* ---------- Sections ---------- */

.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.shead__t { font-size: clamp(26px, 3.4vw, 38px); }
.shead__s { color: var(--muted); margin-top: 4px; font-size: 15px; }
.shead__link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--green-d); white-space: nowrap; font-size: 15px; }
.shead__link:hover { color: var(--brown); }
.shead__link .ic { width: 18px; height: 18px; transition: transform .2s; }
.shead__link:hover .ic { transform: translateX(3px); }

/* Heroes (two square banners) */
.heroes { display: grid; grid-template-columns: 1fr; gap: 14px; padding-top: 14px; }
@media (min-width: 640px) { .heroes { grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 26px; } }
.hero { position: relative; aspect-ratio: 1/1; border-radius: var(--r); overflow: hidden; isolation: isolate; color: #fff; display: block; background: var(--sand); }
@media (min-width: 768px) { .hero { border-radius: var(--r-lg); } }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; z-index: -2; }
.hero:hover .hero__img { transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 12, 4, 0) 38%, rgba(20, 12, 4, .78) 100%); }
.hero__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero__t { font-family: var(--f-head); font-weight: 600; font-size: 30px; line-height: 1.15; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.hero__p { display: none; }
@media (min-width: 640px) and (max-width: 1023px) { .hero__txt { padding: 18px; gap: 8px; } .hero__t { font-size: 24px; } .hero .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; } }
@media (min-width: 1024px) { .hero__txt { padding: 38px; gap: 14px; } .hero__t { font-size: 40px; max-width: 16ch; } .hero__p { display: block; max-width: 40ch; opacity: .92; } }
@media (max-width: 639px) { .hero { aspect-ratio: 1/1; } }

/* Advantages */
.adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
@media (min-width: 900px) { .adv { gap: 14px; margin-top: 22px; } }
.adv__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 10px 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .2s, box-shadow .2s; }
.adv__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.adv__ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: var(--c); box-shadow: 0 8px 16px -8px var(--c); }
.adv__ic .ic { width: 19px; height: 19px; }
.adv__t { font-family: var(--f-body); font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.adv__p { display: none; }
@media (min-width: 768px) { .adv__item { flex-direction: row; text-align: left; padding: 12px 14px; gap: 12px; } .adv__ic { width: 44px; height: 44px; border-radius: 13px; } .adv__ic .ic { width: 22px; height: 22px; } .adv__t { font-size: 14.5px; } .adv__p { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; } }

/* Category slider */
.cats { margin-top: 44px; }
.slider-nav { display: flex; gap: 8px; }
.cats__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 10px) / 3); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.cats__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .cats__track { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; } }
@media (min-width: 1100px) { .cats__track { grid-auto-columns: calc((100% - 5 * 18px) / 6); gap: 18px; } }
.cats__item { scroll-snap-align: start; }
.cats__item a { display: block; text-align: center; }
.cats__img { display: block; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: var(--sand); position: relative; }
.cats__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cats__item a:hover img { transform: scale(1.06); }
.cats__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: .2s; }
.cats__item a:hover .cats__img::after { box-shadow: inset 0 0 0 3px var(--gold); }
.cats__name { display: block; margin-top: 8px; font-weight: 800; font-size: 13px; line-height: 1.25; }
.cats__count { display: block; font-size: 12px; color: var(--muted); }
@media (min-width: 768px) { .cats__name { font-size: 16px; } .cats__count { font-size: 13px; } }
@media (max-width: 767px) { .cats .slider-nav { display: none; } }

/* Product grid */
.prods { margin-top: 48px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr)); gap: 18px; } .grid--home { grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Product card */
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; container-type: inline-size; transition: box-shadow .25s, transform .25s, border-color .25s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #dccfb9; }
.pcard__media { display: block; aspect-ratio: 4/5; background: var(--sand); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__tag { position: absolute; top: 10px; left: 10px; max-width: calc(100% - 70px); padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--brown); font-size: 11.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(6px); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.pcard__tag:hover { background: var(--gold); color: var(--dark); }
.pcard__new { position: absolute; top: 10px; right: 10px; padding: 4px 9px; border-radius: 99px; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 12px; flex: 1; }
.pcard__title { font-family: var(--f-body); font-size: 14px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard__title a:hover { color: var(--brown); }
.pcard__dots { display: flex; gap: 4px; }
.pcard__dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.pcard__actions { display: flex; gap: 6px; margin-top: auto; padding-top: 6px; }
.btn-ic { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; min-width: 38px; padding: 0 8px; border-radius: 12px; font-size: 13px; font-weight: 700; transition: .2s; flex: 1; }
.btn-ic .ic { width: 19px; height: 19px; }
.btn-ic span { display: none; }
.btn-ic--cart { flex: 0 0 38px; border: 1.5px solid var(--brown); color: var(--brown); }
.btn-ic--cart:hover, .btn-ic--cart.is-added { background: var(--brown); color: #fff; }
.btn-ic--wechat { background: var(--dark); color: var(--wechat); }
.btn-ic--wechat span { color: #fff; }
.btn-ic--wechat:hover { background: #3a2a18; }
.btn-ic--wa { background: var(--green); color: #fff; }
.btn-ic--wa:hover { background: var(--green-d); }
@container (min-width: 250px) { .btn-ic span { display: inline; } .pcard__body { padding: 16px; } .pcard__title { font-size: 16px; } }
@container (min-width: 330px) { .btn-ic { height: 42px; } .btn-ic--cart { flex-basis: 42px; } }
.rating { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 1px; }
.stars__bg { color: #e3d9c7; }
.stars__fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.stars--sm { font-size: 13px; }
.stars__num { font-weight: 800; }
.stars__count { color: var(--muted); }

/* Promo banners */
.promos { margin-top: 48px; }
.promo { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; background: var(--dark); }
@media (min-width: 768px) { .promo { aspect-ratio: 5/2; } }
.promo picture, .promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.promo:hover img { transform: scale(1.04); }
.promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 12, 4, .82) 0%, rgba(20, 12, 4, .45) 55%, rgba(20, 12, 4, 0) 100%); }
.promo__txt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 22px; max-width: 560px; }
@media (min-width: 768px) { .promo__txt { justify-content: center; } }
.promo__t { font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.1; }
.promo--ward .promo__t { color: var(--gold); }
.promo__p { opacity: .9; font-size: 14px; max-width: 34ch; }
@media (min-width: 768px) { .promo__txt { padding: 40px; gap: 14px; } .promo__p { font-size: 16px; } }

/* CTA strip */
.cta { margin-top: 56px; background: var(--dark); color: #efe3cf; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 191, 99, .25), transparent 70%); }
.cta__in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 18px; }
.cta__txt { display: flex; align-items: center; gap: 14px; }
.cta__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--dark); flex: none; }
.cta__t { font-size: 24px; color: #fff; }
.cta__p { font-size: 14px; opacity: .8; }
.cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta__btns .btn { min-height: 44px; }
@media (max-width: 599px) { .cta__btns { width: 100%; } .cta__btns .btn { flex: 1; } }

/* ---------- Footer ---------- */
.ftr { margin-top: 0; background: #17100a; color: #cbbba1; font-size: 14.5px; }
.cta + .ftr, .main + .ftr { margin-top: 0; }
.ftr__grid { display: grid; gap: 30px; padding-block: 48px 36px; }
@media (min-width: 768px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; } }
.ftr__logo img { height: 84px; width: auto; margin-bottom: 14px; }
.ftr__brand p { max-width: 36ch; line-height: 1.7; }
.ftr__h { font-family: var(--f-head); font-size: 20px; color: var(--gold); margin-bottom: 14px; }
.ftr__col li { margin-bottom: 8px; }
.ftr__col a:hover { color: var(--gold); }
.ftr__line { display: flex; gap: 10px; margin-bottom: 10px; line-height: 1.5; }
.ftr__line .ic { color: var(--gold); margin-top: 2px; width: 18px; height: 18px; }
.ftr__qr { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 8px; padding-right: 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); text-align: left; transition: background .2s; }
.ftr__qr:hover { background: rgba(255, 255, 255, .12); }
.ftr__qr img { width: 72px; height: 72px; border-radius: 8px; background: #fff; padding: 3px; }
.ftr__qr span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; }
.ftr__qr .ic { color: var(--wechat); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .07); transition: .2s; }
.socials a:hover { background: var(--gold); color: var(--dark); }
.ftr__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.ftr__bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 16px calc(16px + env(safe-area-inset-bottom)); }
.ftr__langs { display: flex; gap: 14px; }
.ftr__langs a.on { color: var(--gold); font-weight: 700; }

/* Floating */
.fab-wa { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 50; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 10px 26px -6px rgba(0, 191, 99, .7); transition: transform .2s; }
.fab-wa:hover { transform: scale(1.07); }
.fab-wa .ic { width: 30px; height: 30px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; right: 24px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 49; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 120; transform: translate(-50%, 30px); opacity: 0; visibility: hidden; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--dark); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); transition: .3s; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ic { color: var(--green); }
.toast button { color: var(--gold); font-weight: 800; margin-left: 6px; }

/* Language suggestion */
.lang-suggest { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); max-width: calc(100vw - 100px); font-size: 14px; font-weight: 600; }
.lang-suggest .hdr__icon { width: 34px; height: 34px; }

/* ---------- Drawer (inquiry cart) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__bg { position: absolute; inset: 0; background: rgba(15, 10, 5, .55); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(100%, 440px); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s ease; }
.drawer.open .drawer__bg { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 20px; background: var(--dark); color: #fff; }
.drawer__head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.drawer__head h2 .ic { color: var(--gold); }
.drawer__head small { font-family: var(--f-body); font-size: 13px; opacity: .7; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px; }
.drawer__foot { display: grid; gap: 10px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.cart-note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.drawer__foot .linkbtn { justify-self: center; font-size: 13px; }
.cart-list { display: grid; gap: 10px; }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.citem img { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.citem__t { font-weight: 700; font-size: 14px; line-height: 1.3; }
.citem__m { font-size: 12.5px; color: var(--muted); margin: 3px 0 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.citem__m i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.citem__rm { align-self: start; color: var(--muted); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.citem__rm:hover { background: #fdeceb; color: #c0392b; }
.cart-empty { text-align: center; padding: 40px 10px; }
.cart-empty__ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--sand); color: var(--brown); margin-bottom: 16px; }
.cart-empty__ic .ic { width: 38px; height: 38px; }
.cart-empty h3 { font-size: 22px; margin-bottom: 8px; }
.cart-empty p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.cart-list:not(:empty) + .cart-empty { display: none; }

/* Quantity */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; overflow: hidden; }
.qty button { display: grid; place-items: center; width: 44px; height: 46px; color: var(--brown); transition: background .2s; }
.qty button:hover { background: var(--sand); }
.qty input { width: 64px; height: 46px; border: 0; text-align: center; font-weight: 800; font-size: 16px; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty input:focus { outline: none; }
.qty--sm button { width: 32px; height: 32px; }
.qty--sm input { width: 44px; height: 32px; font-size: 14px; }
.qty--sm .ic { width: 16px; height: 16px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; }
.modal__bg { position: absolute; inset: 0; background: rgba(15, 10, 5, .6); }
.modal__box { position: relative; width: min(100%, 400px); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 30px 24px 24px; text-align: center; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal__x { position: absolute; right: 10px; top: 10px; color: var(--ink); }
.modal__x:hover { background: var(--sand); color: var(--ink); }
.modal__ic { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wechat); color: #fff; margin-bottom: 10px; }
.modal__ic .ic { width: 32px; height: 32px; }
.modal__box h2 { font-size: 26px; margin-bottom: 14px; }
.modal__qr { width: 220px; height: auto; margin: 0 auto 12px; border-radius: 14px; border: 1px solid var(--line); padding: 8px; }
.modal__hint { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.modal__id { margin-bottom: 8px; }
.modal__msg { display: grid; gap: 8px; text-align: left; }
.modal__msg textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 13px; resize: none; background: var(--paper); }

/* ---------- Page banners ---------- */
.pbanner { position: relative; isolation: isolate; color: #fff; background: var(--dark); min-height: 230px; display: flex; align-items: flex-end; overflow: hidden; }
@media (min-width: 768px) { .pbanner { min-height: 340px; } }
.pbanner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pbanner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 12, 4, .85) 0%, rgba(20, 12, 4, .55) 45%, rgba(20, 12, 4, .08) 100%); }
.pbanner__in { padding-block: 28px 30px; }
.pbanner__t { font-size: clamp(32px, 5vw, 56px); margin: 8px 0 6px; }
.pbanner__p { max-width: 56ch; opacity: .9; font-size: 15px; }
.pbanner .pill { margin-top: 10px; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a:hover { color: var(--green-d); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumbs--light ol { color: rgba(255, 255, 255, .75); }
.crumbs--light [aria-current] { color: #fff; }
.crumbs--light a:hover { color: var(--gold); }

/* Catalog toolbar */
.catalog { padding-top: 20px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.toolbar__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.toolbar__count { font-size: 14px; color: var(--muted); font-weight: 600; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; white-space: nowrap; transition: .2s; }
.chip:hover { border-color: var(--brown); }
.chip.on { background: var(--dark); color: #fff; border-color: var(--dark); }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { height: 40px; padding: 0 34px 0 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241a10' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; -webkit-appearance: none; appearance: none; font-weight: 700; color: var(--ink); }
.empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--r-lg); }
.empty__ic { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--sand); color: var(--brown); margin-bottom: 14px; }
.empty__ic .ic { width: 34px; height: 34px; }
.empty p { max-width: 46ch; margin: 0 auto 18px; color: var(--muted); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 34px; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.pager .page-numbers.current { background: var(--dark); color: #fff; border-color: var(--dark); }
.pager a.page-numbers:hover { border-color: var(--brown); }

/* ---------- Product page ---------- */
.pdp-top { padding-top: 16px; }
.pdp { display: grid; gap: 22px; padding-top: 14px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: start; } .pdp__info { position: sticky; top: 20px; } }
.gallery__main { position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.gallery__main > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery__main.can-zoom { cursor: zoom-in; }
.gallery__lens { position: absolute; width: 190px; height: 190px; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .15s, transform .15s; border: 3px solid #fff; box-shadow: 0 12px 34px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(0, 0, 0, .1); background-repeat: no-repeat; background-color: var(--sand); }
.gallery__main.lens-on .gallery__lens { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gallery__hint { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .9); font-size: 12px; font-weight: 700; transition: opacity .2s; }
.gallery__main.lens-on .gallery__hint { opacity: 0; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); opacity: .92; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__main .pcard__new { top: 14px; right: 14px; font-size: 12px; padding: 5px 12px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.gallery__thumbs button { flex: none; width: 76px; border-radius: 12px; overflow: hidden; opacity: .65; box-shadow: 0 0 0 2px transparent; transition: .2s; background: var(--sand); }
.gallery__thumbs button.on, .gallery__thumbs button:hover { opacity: 1; box-shadow: 0 0 0 2px var(--brown); }
.gallery__thumbs img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.pdp__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pdp__t { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pdp__meta .stars { font-size: 18px; }
.pdp__meta .stars__num { color: var(--ink); font-size: 15px; }
.pdp__sku b { color: var(--ink); }
.pdp__lead { margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: #4a3d2e; }
.opt { margin-top: 20px; }
.opt__label { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.opt__label b { font-weight: 800; color: var(--brown); }
.opt__label small { font-weight: 500; color: var(--muted); }
.opt--row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 3px #fff, 0 0 0 4px var(--line); transition: box-shadow .2s, transform .2s; }
.swatch:hover { transform: scale(1.07); }
.swatch.on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 3px #fff, 0 0 0 5px var(--brown); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes span { min-width: 48px; padding: 8px 12px; text-align: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.moq { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fbefcf; color: #6a4e08; font-size: 14px; }
.pdp__buy { display: grid; gap: 10px; margin-top: 24px; }
.pdp__chat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdp__chat .btn { padding-inline: 10px; font-size: 14.5px; }
.ship { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 14px; border-radius: 16px 40px 16px 16px; background: linear-gradient(135deg, #f5c65a 0%, var(--gold) 100%); color: var(--dark); box-shadow: 0 12px 28px -14px rgba(231, 183, 64, .9); overflow: hidden; }
.ship::after { content: ""; position: absolute; right: -24px; top: -24px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.ship__ic { display: flex; flex: none; }
.ship__ic .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #fff; color: var(--brown); box-shadow: var(--shadow); margin-left: -8px; border: 2px solid var(--gold); }
.ship__ic .ic:first-child { margin-left: 0; background: var(--dark); color: var(--gold); }
.ship__ic .ic:nth-child(2) { background: var(--green); color: #fff; }
.ship__t { font-family: var(--f-body); font-size: 14px; font-weight: 700; line-height: 1.3; }
.ship__p { font-size: 13.5px; color: #3d2a08; line-height: 1.5; margin-top: 2px; position: relative; z-index: 1; }
.pdp__whole { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.pdp__whole .ic { color: var(--green); }
.pdp-more { display: grid; gap: 24px; margin-top: 44px; }
@media (min-width: 900px) { .pdp-more { grid-template-columns: 1.5fr 1fr; gap: 48px; } }
.pdp-more > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.spec div:last-child { border: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 700; text-align: right; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(10, 6, 2, .94); display: grid; place-items: center; overflow: auto; }
.lightbox img { max-width: 96vw; max-height: 92vh; width: auto; object-fit: contain; border-radius: 10px; touch-action: pinch-zoom; }
.lightbox .hdr__icon { position: fixed; top: 14px; right: 14px; color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- Prose ---------- */
.prose { font-size: 16.5px; line-height: 1.75; color: #3c3126; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 30px; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 24px; margin-top: 1.4em; color: var(--ink); }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-top: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); transform: rotate(45deg); }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose ol li { margin-top: .5em; padding-left: 4px; }
.prose ol li::marker { color: var(--brown); font-weight: 800; }
.prose a { color: var(--green-d); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: #fff; border-radius: 0 14px 14px 0; font-family: var(--f-head); font-size: 22px; color: var(--ink); }
.prose img { border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.prose--intro { margin-bottom: 26px; }

/* ---------- Blog ---------- */
.bhero { background: var(--sand); padding: 26px 0 30px; position: relative; overflow: hidden; }
.bhero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(231, 183, 64, .35), transparent 70%); pointer-events: none; }
.bhero__t { font-size: clamp(34px, 5vw, 58px); margin: 12px 0 8px; }
.bhero__p { color: var(--muted); max-width: 60ch; font-size: 16px; }
.bhero .chips { margin-top: 20px; }
.blog { padding-top: 30px; }
.bgrid { display: grid; gap: 18px; }
@media (min-width: 700px) { .bgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .bgrid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.bcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.bcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.bcard__media { aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bcard:hover .bcard__media img { transform: scale(1.05); }
.bcard__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.bcard__cat { padding: 3px 10px; border-radius: 99px; background: var(--sand); color: var(--brown); font-weight: 800; }
.bcard__t { font-size: 24px; }
.bcard__t a:hover { color: var(--brown); }
.bcard__x { color: #5e5040; font-size: 15px; }
.bcard__more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font-weight: 800; color: var(--green-d); font-size: 14.5px; }
@media (min-width: 1000px) { .bcard--big { grid-column: span 3; flex-direction: row; } .bcard--big .bcard__media { flex: 1.3; aspect-ratio: auto; min-height: 380px; } .bcard--big .bcard__body { flex: 1; padding: 40px; justify-content: center; } .bcard--big .bcard__t { font-size: 38px; } .bcard--big .bcard__more { margin-top: 10px; } }
@media (min-width: 700px) and (max-width: 999px) { .bcard--big { grid-column: span 2; } }
.bgrid--3 .bcard--big { grid-column: auto; flex-direction: column; }
.search-posts { margin-top: 30px; }

/* Article */
.article__head { padding-top: 22px; }
.article__head .bcard__meta { margin-top: 18px; }
.article__t { font-size: clamp(34px, 5vw, 56px); margin: 12px 0 14px; }
.article__lead { font-size: 19px; color: #4a3d2e; line-height: 1.6; }
.article__img { margin: 28px auto 0; }
.article__img img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16/7; object-fit: cover; }
.article__body { padding-top: 30px; }
.article__share { display: flex; align-items: center; gap: 8px; margin: 34px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.article__share a, .article__share button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); transition: .2s; }
.article__share a:hover, .article__share button:hover { background: var(--dark); color: #fff; }
.page-body { padding-top: 30px; }
.comments { margin-top: 40px; }

/* ---------- About ---------- */
.about-hero { background: var(--sand); padding: 26px 0 40px; overflow: hidden; }
.about-hero__in { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .about-hero__in { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.about-hero__txt .pill { margin-top: 18px; }
.about-hero__t { font-size: clamp(34px, 5vw, 58px); margin: 14px 0 16px; }
.about-hero__p { color: #4a3d2e; font-size: 17px; line-height: 1.7; }
.about-hero__p p + p { margin-top: 1em; }
.about-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.about-hero__img { position: relative; margin: 0; }
.about-hero__img > img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 48% 52% 30px 30px / 38% 38% 30px 30px; box-shadow: var(--shadow-lg); }
.about-hero__badge { position: absolute; left: -10px; bottom: 26px; display: grid; justify-items: start; gap: 2px; padding: 14px 18px; background: var(--dark); color: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); }
.about-hero__badge img { height: 32px; width: auto; }
.about-hero__badge b { font-family: var(--f-head); font-weight: 600; font-size: 18px; color: var(--gold); }
.about-hero__badge small { opacity: .7; }
.stats { background: var(--dark); color: #fff; }
.stats__in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 34px; }
@media (min-width: 768px) { .stats__in { grid-template-columns: repeat(4, 1fr); } }
.stats__item { text-align: center; }
.stats__item b { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(38px, 5vw, 56px); color: var(--gold); line-height: 1; }
.stats__item span { font-size: 14px; opacity: .8; }
.story { display: grid; gap: 30px; margin-top: 56px; }
@media (min-width: 900px) { .story { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.story .h2 { margin-bottom: 14px; }
.story__adv { display: grid; gap: 12px; }
.steps { margin-top: 56px; }
.steps__list { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 700px) { .steps__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps__list { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.steps__item { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.steps__n { position: absolute; right: 14px; top: 2px; font-family: var(--f-head); font-size: 86px; line-height: 1; color: var(--sand); z-index: 0; }
.steps__ic { position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green); color: #fff; margin-bottom: 16px; }
.steps__item:nth-child(2) .steps__ic { background: var(--gold); color: var(--dark); }
.steps__item:nth-child(3) .steps__ic { background: var(--brown); }
.steps__item:nth-child(4) .steps__ic { background: #2f7d6d; }
.steps__item h3 { position: relative; font-size: 22px; margin-bottom: 6px; }
.steps__item p { position: relative; color: var(--muted); font-size: 14.5px; }

/* ---------- Contact ---------- */
.ccards { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 900px) { .ccards { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.ccard { position: relative; padding: 28px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; overflow: hidden; }
.ccard h2 { font-size: 28px; }
.ccard p { color: var(--muted); font-size: 14.5px; }
.ccard__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--sand); color: var(--brown); }
.ccard__ic .ic { width: 30px; height: 30px; }
.ccard--wa { background: var(--green); color: #fff; border: 0; border-radius: 60px 24px 24px 24px; }
.ccard--wa::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.ccard--wa p { color: rgba(255, 255, 255, .9); }
.ccard--wa .ccard__ic { background: #fff; color: var(--green); }
.ccard__big { font-family: var(--f-head); font-weight: 600; font-size: 24px; position: relative; z-index: 1; }
.ccard--wa .btn { margin-top: auto; position: relative; z-index: 1; }
.ccard--wc .ccard__ic { background: var(--wechat); color: #fff; }
.ccard__qr { width: 160px; border-radius: 14px; border: 1px solid var(--line); padding: 6px; margin-top: 4px; }
.ccard--addr { background: var(--dark); color: #efe3cf; border: 0; border-radius: 24px 24px 60px 24px; }
.ccard--addr .ccard__ic { background: var(--gold); color: var(--dark); }
.ccard--addr h3 { font-family: var(--f-body); font-size: 14px; font-weight: 800; color: var(--gold); margin-top: 6px; }
.ccard--addr p { color: #cbbba1; }
.ccard--addr address { font-style: normal; line-height: 1.6; }
.ccard--addr .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .25); margin-top: auto; }
.cform-wrap { display: grid; gap: 22px; margin-top: 28px; margin-bottom: 56px; }
@media (min-width: 900px) { .cform-wrap { grid-template-columns: 1fr 1fr; } .cform-wrap--single { grid-template-columns: 1fr; max-width: 760px; } }
.cform { display: grid; gap: 14px; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cform__row { display: grid; gap: 14px; }
@media (min-width: 600px) { .cform__row { grid-template-columns: 1fr 1fr; } }
.cform label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.cform input, .cform textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 15px; font-weight: 500; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(231, 183, 64, .2); background: #fff; }
.cform .is-invalid { border-color: #d9534f; }
.cform .btn { justify-self: start; }
.cform__msg { font-weight: 700; font-size: 14.5px; }
.cform__msg.ok { color: var(--green-d); }
.cform__msg.err { color: #c0392b; }
.hp { position: absolute !important; left: -9999px !important; }
.cmap { border-radius: var(--r-lg); overflow: hidden; min-height: 360px; background: var(--sand); border: 1px solid var(--line); }
.cmap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* 404 */
.nf { text-align: center; padding-block: 50px 20px; }
.nf__crown { margin: 0 auto; width: 110px; }
.nf__code { font-family: var(--f-head); font-weight: 700; font-size: clamp(90px, 16vw, 160px); line-height: 1; color: var(--gold); }
.nf__t { font-size: clamp(28px, 4vw, 40px); margin: 6px 0 10px; }
.nf__p { color: var(--muted); max-width: 48ch; margin: 0 auto; }
.nf .search-form { margin: 24px auto 0; }
.nf__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Utility spacing: last section before footer */
.main > :last-child:not(.cta) { margin-bottom: 64px; }
.wp-caption, .alignnone { max-width: 100%; }
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { margin-inline: auto; }
.cta .btn--wechat, .ftr .btn--wechat { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.cta .btn--wechat:hover { background: rgba(255, 255, 255, .18); }
