:root {
    --f-bg: #fdf6ec;
    --f-bg-alt: #f6ecdc;
    --f-green: #d63b49;
    --f-gold: #d9b38c;
    --f-gold-light: #f0e3d2;
    --f-text: #5a4632;
    --f-muted: #847260;
    --f-border: #f0e3d2;
    --f-white: #fff;
    --f-display: "Songti SC", "STSong", "SimSun", Georgia, "Times New Roman", serif;
    --f-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    --f-shadow: 0 10px 26px rgb(160 106 60 / 16%);
    --f-radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--f-bg); color: var(--f-text); font-family: var(--f-body); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.f-container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 2000; padding: 10px 16px; background: var(--f-green); color: white; }
.skip-link:focus { top: 12px; }

.f-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--f-border); background: rgb(255 255 255 / 96%); backdrop-filter: blur(14px); }
.f-header__inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 28px; }
.f-logo { color: var(--f-green); font: 700 28px/1 var(--f-display); letter-spacing: 1px; white-space: nowrap; }
.f-logo span { color: var(--f-gold); margin-left: 5px; font-size: .72em; }
.f-nav { display: flex; align-items: center; justify-content: center; gap: 28px; font-size: 14px; font-weight: 600; }
.f-nav a { position: relative; padding: 25px 0; }
.f-nav a::after { position: absolute; right: 50%; bottom: 17px; left: 50%; height: 2px; background: var(--f-gold); content: ""; transition: .25s; }
.f-nav a:hover::after { right: 0; left: 0; }
.f-header__actions { display: flex; align-items: center; gap: 8px; }
.f-icon, .f-menu { position: relative; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: var(--f-bg-alt); color: #532b32; }
.f-member-link { width: auto; padding: 0 10px; gap: 4px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.f-cart-count { position: absolute; top: -3px; right: -3px; display: grid; min-width: 18px; height: 18px; padding: 0 4px; place-items: center; border-radius: 20px; background: var(--f-gold); color: #532b32; font-size: 10px; }
.f-menu { display: none; cursor: pointer; }
.f-menu span { display: block; width: 20px; height: 2px; margin: 2px auto; background: var(--f-green); }

.f-main { min-height: 60vh; }
.f-hero, .f-region-hero, .f-page-hero { padding: 78px 0; text-align: center; background: linear-gradient(135deg, #a06a3c, #8a5530); color: white; }
.f-hero h1, .f-region-hero h1, .f-page-hero h1 { margin: 8px 0 12px; color: var(--f-green); font: 600 clamp(42px, 6vw, 72px)/1.08 var(--f-display); letter-spacing: 3px; }
.f-hero > div > p:not(.f-eyebrow), .f-region-hero p:last-child, .f-page-hero p:last-child { max-width: 720px; margin: 0 auto; color: var(--f-muted); font-size: 17px; }
.f-page-hero--compact { padding: 58px 0; }
.f-page-hero--compact h1 { font-size: clamp(36px, 5vw, 58px); }
.f-eyebrow { margin: 0; color: #d9b38c; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.f-actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.f-btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 28px; border: 1px solid var(--f-green); border-radius: 8px; background: transparent; color: var(--f-green); cursor: pointer; font-weight: 700; transition: .3s; }
.f-hero-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.f-hero-banners:empty { display: none; }
.f-hero-banners a { display: block; overflow: hidden; border-radius: 10px; background: var(--f-bg-alt); box-shadow: var(--f-shadow); }
.f-hero-banners img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.f-region-banner { margin-top: 28px; }
.f-region-banner .f-hero-banners { margin-top: 0; }
.f-home-category-shortcuts__content { margin-top: 24px; padding: 18px 20px 20px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: rgb(255 255 255 / 82%); text-align: left; }
.f-home-category-shortcuts__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.f-home-category-shortcuts__head h2 { margin: 0; color: var(--f-green); font: 600 22px var(--f-display); }
.f-home-category-shortcuts__head a { color: #8a6a3f; font-size: 12px; white-space: nowrap; }
.f-category-shortcuts-list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.f-category-shortcut { display: flex; min-height: 46px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--f-border); border-radius: 8px; background: var(--f-bg); color: #532b32; text-align: center; transition: .2s; }
.f-category-shortcut:hover { border-color: var(--f-gold); background: white; transform: translateY(-1px); }
.f-category-shortcut strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.f-category-shortcut.is-parent { background: var(--f-bg-alt); }
.f-home-category-shortcuts-section { padding-top: 28px; }
.f-btn--primary { background: linear-gradient(135deg, #b57a48, var(--f-green)); color: white; }
.f-btn:hover { transform: translateY(-1px); box-shadow: var(--f-shadow); }

.f-section { padding: 68px 0; }
.f-section--alt { background: var(--f-bg-alt); }
.f-section-title { margin: 0 0 42px; color: var(--f-green); font: 600 38px/1.2 var(--f-display); text-align: center; }
.f-section-title::after { display: block; width: 60px; height: 2px; margin: 16px auto 0; background: var(--f-gold); content: ""; }
.f-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.f-section-head h2 { margin: 4px 0 0; color: var(--f-green); font: 600 36px/1.2 var(--f-display); }
.f-section-head > a { color: #8a6a3f; font-weight: 600; }
.f-panel { min-width: 0; padding: 28px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; box-shadow: var(--f-shadow); }
.f-panel h2 { margin: 0 0 18px; color: var(--f-green); font: 600 26px/1.2 var(--f-display); }
.f-panel .f-subtitle, .f-subtitle { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--f-border); font-size: 21px; }
.f-three-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.f-experience, .f-region-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.f-supporting-content { padding-block: 44px; }
.f-compact-feed .f-link-list,
.f-compact-feed .f-order-list,
.f-compact-feed .f-review-list { max-height: 250px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--f-gold-light) transparent; }
.f-seo-section { padding-top: 42px; }
.f-seo-disclosure { overflow: hidden; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; box-shadow: var(--f-shadow); }
.f-seo-disclosure summary { position: relative; padding: 20px 58px 20px 24px; color: var(--f-green); cursor: pointer; font: 600 21px/1.35 var(--f-display); list-style: none; }
.f-seo-disclosure summary::-webkit-details-marker { display: none; }
.f-seo-disclosure summary::after { position: absolute; top: 50%; right: 24px; content: "+"; color: #8a6a3f; font: 400 28px/1 var(--f-body); transform: translateY(-50%); }
.f-seo-disclosure[open] summary { border-bottom: 1px solid var(--f-border); }
.f-seo-disclosure[open] summary::after { content: "−"; }
.f-seo-disclosure .f-richtext { padding: 24px; color: var(--f-muted); }
.f-seo-disclosure .f-richtext > :first-child { margin-top: 0; }
.f-seo-disclosure .f-richtext > :last-child { margin-bottom: 0; }

.f-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.f-product-card { display: flex; overflow: hidden; height: 100%; flex-direction: column; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; box-shadow: 0 2px 10px rgb(0 0 0 / 4%); transition: .25s; }
.f-product-card:hover { transform: translateY(-4px); box-shadow: var(--f-shadow); }
.f-product-card__image { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--f-bg-alt); }
.f-product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.f-product-card:hover .f-product-card__image img { transform: scale(1.035); }
.f-card-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 9px; border-radius: 6px; background: linear-gradient(135deg, #b57a48, #8a5530); color: white; font-size: 11px; }
.f-product-card__body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.f-product-card__body h2, .f-product-card__body h3 { min-height: 2.7em; margin: 0 0 6px; color: var(--f-green); font: 600 17px/1.35 var(--f-display); }
.f-product-card__body p { overflow: hidden; min-height: 2.8em; margin: 0 0 12px; color: var(--f-muted); font-size: 13px; }
.f-product-card__body > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.f-product-card__body .f-product-card__selling { min-height: 0; color: var(--f-green); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.f-product-card__price-row { align-items: baseline !important; }
.f-product-card__body .f-product-card__summary { overflow: hidden; min-height: 1.4em; margin: 0 0 7px; color: var(--f-muted); font-size: 12px; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
.f-product-card__selling { display: inline-flex; align-self: flex-start; max-width: 100%; min-height: 0 !important; margin: 0 0 10px !important; padding: 4px 9px; overflow: hidden; border: 1px solid var(--f-gold-light); border-radius: 999px; background: var(--f-bg-alt); box-shadow: none; color: #532b32; font-size: 11px; font-weight: 600; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.f-product-card__price-row { margin-top: auto; }
.f-product-card small { color: var(--f-muted); }
.f-price, .f-price .price-current { color: var(--f-green); font-size: 18px; font-weight: 700; }
.f-market-price { margin-left: auto; color: var(--f-muted); font-size: 12px; font-weight: 400; white-space: nowrap; }
.price-normal, .price-holiday { display: block; color: var(--f-muted); font-size: 11px; font-weight: 400; }

.f-link-list, .f-order-list, .f-review-list { display: grid; gap: 0; }
.f-link-list a, .f-order-list > div { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--f-border); font-size: 14px; }
.f-link-list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-link-list time, .f-order-list span { flex: none; color: var(--f-muted); font-size: 12px; }
.f-review { padding: 14px 0; border-bottom: 1px solid var(--f-border); }
.f-review > div { display: flex; justify-content: space-between; }
.f-review span { color: var(--f-gold); letter-spacing: 1px; }
.f-review p { margin: 8px 0 0; color: var(--f-muted); font-size: 14px; }

.f-region-feature { display: grid; grid-template-columns: .65fr 1.35fr; gap: 36px; padding: 36px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; }
.f-region-feature h3 { margin: 0 0 8px; color: var(--f-green); font: 600 27px var(--f-display); }
.f-region-feature p { color: var(--f-muted); }
.f-region-tags { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.f-region-tags a { padding: 8px 13px; border: 1px solid var(--f-border); border-radius: 50px; background: var(--f-bg); color: #532b32; font-size: 13px; }
.f-region-tags a:hover { border-color: var(--f-gold); background: var(--f-gold-light); }
.f-shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.f-shop-card { padding: 22px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; }
.f-shop-card strong, .f-shop-card span { display: block; color: var(--f-green); }
.f-shop-card p { margin: 8px 0 0; color: var(--f-muted); font-size: 13px; }
.f-about { max-width: 800px; text-align: center; }
.f-about p { color: var(--f-muted); font-size: 16px; }

.f-breadcrumb { display: flex; gap: 9px; padding-top: 24px; padding-bottom: 24px; color: var(--f-muted); font-size: 13px; }
.f-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.f-breadcrumb li:not(:last-child)::after { margin-left: 8px; content: "/"; }
.f-breadcrumb .is-current { color: var(--f-green); }
.f-category-layout { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding-top: 56px; padding-bottom: 70px; }
.f-category-nav { position: sticky; top: 96px; display: grid; align-self: start; overflow: hidden; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; }
.f-category-nav a { padding: 13px 18px; border-bottom: 1px solid var(--f-border); color: var(--f-green); font-weight: 600; }
.f-category-sections { display: grid; gap: 22px; }
.f-category-block { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; }
.f-category-block h2 { margin: 5px 0; color: var(--f-green); font: 600 28px var(--f-display); }
.f-category-children { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.f-category-children a { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--f-border); border-radius: 6px; color: var(--f-green); font-size: 13px; }
.f-category-children img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.f-filter { border-bottom: 1px solid var(--f-border); background: white; }
.f-filter ul { display: flex; margin: 0; padding: 0 0 8px; overflow-x: auto; overscroll-behavior-inline: contain; touch-action: pan-x; scrollbar-width: none; list-style: none; }
.f-filter ul::-webkit-scrollbar,
.f-featured-group ul::-webkit-scrollbar,
.f-thumbs::-webkit-scrollbar,
.f-breadcrumb::-webkit-scrollbar { display: none; }
.f-filter li { flex: 0 0 auto; min-width: 112px; text-align: center; }
.f-filter a { display: block; padding: 12px 12px 7px; border-bottom: 2px solid transparent; white-space: nowrap; color: var(--f-muted); font-size: 13px; }
.f-filter a.on { border-bottom-color: var(--f-green); color: var(--f-green); font-weight: 700; }
.f-filter ul:focus-visible, .f-featured-group ul:focus-visible { outline: 2px solid var(--f-green); outline-offset: 3px; }
.f-category-title { background: white; }
.f-featured-groups { padding-bottom: 10px; border-bottom: 10px solid var(--f-bg-alt); background: white; }
.f-featured-group ul { display: flex; justify-content: center; min-width: 0; margin: 0; padding: 0; overflow-x: auto; overscroll-behavior-inline: contain; touch-action: pan-x; scrollbar-width: none; list-style: none; }
.f-featured-group li { position: relative; flex: 0 0 auto; min-width: 102px; text-align: center; }
.f-featured-group li + li::before { position: absolute; top: 50%; left: 0; width: 1px; height: 15px; background: var(--f-border); content: ""; transform: translateY(-50%); }
.f-featured-group a { display: block; margin: 0 10px; padding: 7px 15px; border-radius: 999px; white-space: nowrap; color: var(--f-muted); font-size: 13px; }
.f-featured-group a.on { background: var(--f-green); color: white; }
.f-listing { padding-top: 38px; padding-bottom: 80px; }
.f-loading { padding: 24px; color: var(--f-muted); text-align: center; }
.f-product-grid--single { grid-template-columns: minmax(0, 300px); justify-content: center; }
.f-list-state { margin: 22px 0; padding: 18px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; color: var(--f-muted); text-align: center; }
.f-list-error { color: #9f2f2f; }
.f-list-error button { margin-left: 8px; border: 0; background: transparent; color: var(--f-green); cursor: pointer; font-weight: 700; }
.f-list-more { margin: 24px auto 0; }
.hidden { display: none !important; }

/* Dynamic search keeps the shared PHP/query implementation. These stronger
   theme selectors intentionally override the later-loaded common locale CSS. */
body .cn-function-page { --cn-red: var(--f-green); --cn-red-dark: #d63b49; --cn-soft: var(--f-bg-alt); --cn-line: var(--f-border); background: var(--f-bg); color: var(--f-text); font-family: var(--f-body); }
body .cn-function-page .function-wrap { width: min(1080px, calc(100% - 40px)); }
body .cn-function-page .function-title { color: var(--f-green); font-family: var(--f-display); font-weight: 600; }
body .cn-function-page .function-card,
body .cn-function-page .address-card { border-color: var(--f-border); border-radius: var(--f-radius); background: white; box-shadow: var(--f-shadow); }
body .cn-function-page .btn { border-radius: 8px; }
body .cn-function-page .btn-primary { border-color: var(--f-green); background: var(--f-green); color: white; }
body .cn-function-page .btn-outline { border-color: var(--f-green); color: var(--f-green); background: white; }
body .cn-function-page .function-input:focus { border-color: var(--f-green); outline: 0; box-shadow: 0 0 0 3px rgb(160 106 60 / 18%); }
body .cn-function-page .account-nav a.active,
body .cn-function-page .pagination .current { border-color: var(--f-green); background: var(--f-green); color: white; }
body .cn-function-page .content-index-item h2 { color: var(--f-green); font-family: var(--f-display); }
body .cn-function-page .content-index-meta,
body .cn-function-page .search-eyebrow { color: #8a6a3f; }
body .cn-function-page .order-status-badge,
body .cn-function-page .order-section-number { background: var(--f-green); }
body .cn-function-page .order-payment-card,
body .cn-function-page .cn-checkout-summary,
body .cn-function-page .cn-auth-card { border-color: var(--f-gold); }
body .cn-function-page .order-summary-total strong,
body .cn-function-page .cn-checkout-product-price { color: var(--f-green); }
body .cn-function-page .cn-search-wrap { width: min(1200px, calc(100% - 40px)); max-width: 1200px; }
body .cn-function-page .cn-search-form { top: 82px; border-color: var(--f-border); border-radius: var(--f-radius); box-shadow: var(--f-shadow); }
body .cn-function-page .btn-primary { border-color: var(--f-green); background: var(--f-green); }
body .cn-product-search .cn-search-catalogs a.active,
body .cn-product-search .cn-search-quick-options a.active,
body .cn-product-search .cn-search-filter-options a.active { border-color: var(--f-green); background: var(--f-green); color: white; }
body .cn-product-search .cn-search-sort a.active,
body .cn-product-search .cn-search-active-filters a,
body .cn-product-search .cn-product-tags { color: var(--f-green); }
body .cn-product-search .cn-market-price { color: var(--f-muted); }
body .cn-product-search .product-results { gap: 20px; }
body .cn-product-search .cn-product-result { overflow: hidden; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; box-shadow: var(--f-shadow); }
body .cn-product-search .product-result-image { background: var(--f-bg-alt); }
body .cn-product-search .product-result-image img { width: 100%; height: 100%; object-fit: cover; }
body .cn-product-search .product-result-body { padding: 16px; }
body .cn-product-search .cn-product-result h2 { color: var(--f-green); font: 600 18px/1.35 var(--f-display); }
body .cn-product-search .cn-product-result p { color: var(--f-muted); }
body .cn-product-search .cn-product-result .product-result-meta strong { color: var(--f-green); }
body .cn-product-search .search-waterfall { text-align: center; }

/* Category and search cards share one www.gli.com.cn visual contract. */
.f-listing .f-product-grid { gap: 20px; }
.f-listing .f-product-card,
body .cn-product-search .cn-product-result { display: flex; overflow: hidden; height: 100%; flex-direction: column; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: #fff; box-shadow: var(--f-shadow); }
.f-listing .f-product-card__image,
body .cn-product-search .product-result-image { background: var(--f-bg-alt); }
.f-listing .f-product-card__body,
body .cn-product-search .product-result-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.f-listing .f-product-card__body h3,
body .cn-product-search .cn-product-result h2 { display: -webkit-box; overflow: hidden; min-height: 2.7em; margin: 0 0 6px; color: var(--f-green); font: 600 17px/1.35 var(--f-display); white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.f-listing .f-product-card__summary,
body .cn-product-search .cn-product-summary { overflow: hidden; min-height: 1.4em; margin: 0 0 7px; color: var(--f-muted); font-size: 12px; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
.f-listing .f-product-card__selling,
body .cn-product-search .cn-product-tags { display: inline-flex; align-self: flex-start; max-width: 100%; min-height: 0; margin: 0 0 10px; padding: 4px 9px; overflow: hidden; border: 1px solid #c39b43; border-radius: 999px; background: linear-gradient(135deg, #f0d992, #d0aa50); box-shadow: 0 3px 9px rgb(129 103 47 / 20%); color: #173526; font-size: 11px; font-weight: 700; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.f-listing .f-product-card__selling { border-color: var(--f-gold-light); background: var(--f-bg-alt); box-shadow: none; color: #532b32; font-weight: 600; }
.f-listing .f-product-card__price-row,
body .cn-product-search .product-result-meta { margin-top: auto; }

.f-detail { padding-top: 20px; padding-bottom: 70px; }
.f-detail__main { display: grid; grid-template-columns: 1.1fr .9fr; gap: 58px; padding: 22px 0 56px; }
.f-gallery__mobile { display: none; }
.f-gallery__hint { display: none; }
.f-gallery__desktop { min-width: 0; }
.f-gallery__main { overflow: hidden; aspect-ratio: 1; border-radius: var(--f-radius); background: var(--f-bg-alt); }
.f-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.f-thumbs { display: flex; gap: 10px; margin-top: 12px; padding-bottom: 4px; overflow-x: auto; scroll-snap-type: x proximity; }
.f-thumbs button { flex: 0 0 74px; width: 74px; height: 74px; padding: 0; overflow: hidden; border: 1px solid var(--f-border); border-radius: 6px; background: white; cursor: pointer; scroll-snap-align: start; }
.f-thumbs button.is-active { border-color: var(--f-green); box-shadow: 0 0 0 2px rgb(160 106 60 / 18%); }
.f-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.f-detail__info h1 { margin: 8px 0; color: var(--f-green); font: 600 clamp(34px, 4vw, 50px)/1.12 var(--f-display); }
.f-detail__type, .f-detail__summary { color: var(--f-muted); }
.f-detail__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; font-size: 13px; }
.f-badge { padding: 3px 9px; border-radius: 20px; background: var(--f-gold-light); color: #735b2b; }
.f-rating-summary { color: #8a6a3f; font-weight: 700; }
.f-detail__price { display: grid; gap: 5px; padding: 22px; border-left: 3px solid var(--f-gold); background: var(--f-bg-alt); }
.f-detail__price small { color: var(--f-muted); }
.f-detail__price #detail-price-presentation { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.f-detail__price .price-current,
.f-detail__price .price-normal,
.f-detail__price .price-holiday { color: var(--f-green); font-size: 24px; font-weight: 700; }
.f-detail__price .price-normal + .price-holiday { margin-left: 0; }
.f-detail__price .price-normal > span,
.f-detail__price .price-holiday > span { color: #8a6a3f; font-size: 12px; font-weight: 700; }
.f-variants { margin-top: 26px; }
.f-variants h2 { font-size: 16px; }
.f-variants > div { display: flex; flex-wrap: wrap; gap: 8px; }
.f-variants button { padding: 9px 14px; border: 1px solid var(--f-border); border-radius: 5px; background: white; cursor: pointer; }
.f-variants button.on { border-color: var(--f-green); background: var(--f-green); color: white; }
.f-variants button[disabled], .f-variants button[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.f-quantity { display: flex; align-items: center; gap: 8px; margin: 24px 0; }
.f-quantity label { margin-right: 8px; font-weight: 600; }
.f-quantity button, .f-quantity input { width: 42px; height: 40px; border: 1px solid var(--f-border); background: white; text-align: center; }
.f-buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-message { color: #b42318; }
.f-guarantee { display: grid; gap: 5px; margin-top: 20px; padding: 18px; border: 1px solid var(--f-border); border-radius: var(--f-radius); }
.f-guarantee span { color: var(--f-muted); font-size: 13px; }
.f-detail-tabs { position: sticky; top: 72px; z-index: 20; display: flex; gap: 30px; padding: 16px 20px; border-block: 1px solid var(--f-border); background: rgb(253 251 247 / 95%); }
.f-detail-tabs a { color: var(--f-green); font-weight: 600; }
.f-detail-section { padding: 42px 0; border-bottom: 1px solid var(--f-border); }
.f-detail-section h2 { color: var(--f-green); font: 600 30px var(--f-display); }
.f-detail-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.f-detail-section__heading h2 { margin: 4px 0 0; }
.f-parameters > div { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--f-border); }
.f-parameters dt, .f-parameters dd { margin: 0; padding: 12px; }
.f-parameters dt { color: var(--f-muted); }
.f-article-sections { display: grid; gap: 22px; }
.f-article-sections article { padding: 24px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; }
.f-article-sections h3 { margin: 0 0 10px; color: var(--f-green); }
.f-product-card + .f-article-sections { margin-top: 20px; }
.f-detail-images { display: grid; gap: 18px; margin-top: 26px; }
.f-detail-images figure { margin: 0; }
.f-detail-images img, .f-category-description-images img { width: min(100%, 790px); height: auto; margin: 18px auto; }
.f-rating-panel { display: grid; min-width: 210px; padding: 16px 20px; border-left: 3px solid var(--f-gold); background: var(--f-bg-alt); }
.f-rating-panel strong { color: var(--f-green); font: 600 32px/1 var(--f-display); }
.f-rating-panel span, .f-rating-panel small { color: var(--f-muted); }
.f-detail-section .f-review-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.f-detail-section .f-review { padding: 20px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; }
.f-detail-section .f-review header { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.f-detail-section .f-review header > div { display: flex; gap: 12px; }
.f-detail-section .f-review time, .f-detail-section .f-review footer { color: var(--f-muted); font-size: 12px; }
.f-detail-section .f-review footer { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--f-border); }
.f-detail-dock { display: none; }

.f-content-page { background: linear-gradient(180deg, var(--f-bg-alt), var(--f-bg) 380px); }
.f-content-page .f-breadcrumb { min-width: 0; }
.f-content-page .f-breadcrumb span[aria-current="page"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-content { max-width: 920px; margin-bottom: 80px; padding: 48px 68px 54px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; box-shadow: var(--f-shadow); }
.f-content header { padding-bottom: 30px; border-bottom: 1px solid var(--f-border); text-align: center; }
.f-content h1 { margin: 8px 0; color: var(--f-green); font: 600 clamp(34px, 5vw, 52px)/1.2 var(--f-display); }
.f-content-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 18px; color: var(--f-muted); font-size: 13px; }
.f-content-cover { overflow: hidden; margin: 32px 0 0; border-radius: var(--f-radius); background: var(--f-bg-alt); }
.f-content-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.f-richtext { overflow-wrap: anywhere; }
.f-richtext img { height: auto !important; margin: 18px auto; }
.f-richtext table { display: block; max-width: 100%; overflow-x: auto; }
.f-content .f-richtext { padding: 38px 0; font-size: 16px; line-height: 1.9; }
.f-content .f-richtext h2, .f-content .f-richtext h3 { color: var(--f-green); font-family: var(--f-display); }
.f-content .f-richtext a { color: #8a6a3f; text-decoration: underline; text-underline-offset: 3px; }
.f-content-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 24px; border-top: 1px solid var(--f-border); color: var(--f-green); }
.f-content-pager a { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--f-border); border-radius: 8px; background: var(--f-bg); }
.f-content-pager a:last-child { text-align: right; }
.f-content-pager small { color: var(--f-muted); }
.f-content-pager strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-content-footer { padding-top: 28px; text-align: center; }

.f-promises { padding: 34px 0; border-top: 1px solid var(--f-border); background: var(--f-bg-alt); }
.f-promises__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.f-promises__grid div { display: grid; grid-template-columns: 36px 1fr; }
.f-promises b { grid-row: span 2; font-size: 23px; }
.f-promises span { color: var(--f-muted); font-size: 12px; }
.f-footer { padding: 54px 0 22px; background: #8a5530; color: rgb(255 255 255 / 85%); }
.f-footer .f-logo { color: white; }
.f-footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 38px; }
.f-footer h3 { margin: 0 0 15px; color: white; font: 600 18px var(--f-display); }
.f-footer__grid > div > a:not(.f-logo) { display: block; margin: 7px 0; font-size: 13px; }
.f-footer__about p { max-width: 420px; color: rgb(255 255 255 / 64%); font-size: 13px; }
.f-footer__faq { margin-top: 38px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 18%); }
.f-footer__faq h3 { margin: 0 0 12px; color: white; font: 600 18px var(--f-display); }
.f-footer__faq-list > div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.f-footer__faq-list a { color: rgb(255 255 255 / 78%); font-size: 13px; }
.f-friends, .f-copyright { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 15%); font-size: 12px; }
.f-friends a { margin-right: 12px; }
.f-mobile-dock { display: none; }

@media (max-width: 960px) {
    .f-menu { display: block; }
    .f-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; padding: 10px 20px 20px; border-bottom: 1px solid var(--f-border); background: white; box-shadow: var(--f-shadow); }
    .f-nav:not(.is-open) { display: none !important; }
    .f-nav.is-open { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
    .f-nav a { padding: 12px 0; border-bottom: 1px solid var(--f-border); }
    .f-nav a::after { display: none; }
    .f-three-columns { grid-template-columns: 1fr; }
    .f-product-grid { grid-template-columns: repeat(3, 1fr); }
    .f-category-layout { grid-template-columns: 1fr; }
    .f-category-nav { position: static; display: flex; overflow-x: auto; }
    .f-category-nav a { flex: none; }
    .f-category-block { grid-template-columns: 1fr; }
    .f-detail__main { gap: 34px; }
}

@media (max-width: 720px) {
    .f-detail-tabs a[href="#delivery"],
    .f-detail-section#delivery { display: none; }
    .f-container { width: min(100% - 28px, 1200px); }
    .f-header__inner { min-height: 62px; gap: 12px; }
    body:has(.f-main) .f-header,
    body:has(.f-detail) .f-header,
    body:has(.cn-product-search) .f-header { position: relative; }
    .f-header__actions { margin-left: auto; }
    .f-nav { top: 62px; }
    .f-logo { font-size: 24px; }
    .f-icon { width: 36px; height: 36px; }
    .f-member-link { width: 36px; padding: 0; }
    .f-member-label { display: none; }
.f-hero, .f-region-hero, .f-page-hero { padding: 78px 0; text-align: center; background: linear-gradient(135deg, #a06a3c, #8a5530); color: white; }
    .f-hero h1, .f-region-hero h1, .f-page-hero h1 { letter-spacing: 1px; }
    .f-hero-banners { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
    .f-home-category-shortcuts__content { margin-top: 18px; padding: 14px 12px; }
    .f-home-category-shortcuts__head { margin-bottom: 8px; }
    .f-home-category-shortcuts__head h2 { font-size: 19px; }
    .f-category-shortcuts-list { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; touch-action: pan-x; }
    .f-category-shortcuts-list::-webkit-scrollbar { display: none; }
    .f-category-shortcut { flex: 0 0 112px; min-height: 42px; padding: 7px 9px; }
    .f-category-shortcut strong { font-size: 12px; }
    .f-home-category-shortcuts-section { padding-top: 18px; }
    .f-section { padding: 38px 0; }
    .f-supporting-content { padding-block: 30px; }
    .f-section-head { align-items: start; }
    .f-section-head h2 { font-size: 29px; }
    .f-section-head > a { font-size: 13px; }
    .f-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .f-original-product-section > .f-container { width: min(100% - 10px, 1200px); }
    .f-hero .f-original-product-section--lead { margin-inline: -8px; }
    .f-original-product-section .f-product-grid { gap: 8px; }
    .f-original-product-section--lead .f-product-grid { margin-top: 24px; text-align: left; }
    .f-original-product-section--single .f-product-grid { grid-template-columns: minmax(0, 1fr); }
    .f-original-product-section--single .f-product-card { display: grid; grid-template-columns: minmax(0, 52%) 1fr; }
    .f-original-product-section--single .f-product-card__body { align-self: center; }
    .f-product-card__body { padding: 12px; }
    .f-product-card__body h2, .f-product-card__body h3 { font-size: 15px; }
    .f-product-card__body p { display: none; }
    .f-product-card__body .f-product-card__summary { display: block; min-height: 1.4em; margin-bottom: 6px; white-space: nowrap; text-overflow: ellipsis; }
    .f-product-card__body .f-product-card__selling { display: inline-flex; margin-bottom: 8px; font-size: 11px; }
    .f-product-card__body > div { align-items: end; }
    .f-market-price { font-size: 10px; }
    .f-product-card small { font-size: 10px; }
    .f-region-feature, .f-experience, .f-region-summary { grid-template-columns: 1fr; }
    .f-region-feature { padding: 24px; }
    .f-compact-feed .f-link-list,
    .f-compact-feed .f-order-list,
    .f-compact-feed .f-review-list,
    .f-compact-feed .f-shop-grid { display: flex; width: 100%; min-width: 0; max-height: none; gap: 10px; padding: 2px 2px 10px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
    .f-compact-feed .f-link-list::-webkit-scrollbar,
    .f-compact-feed .f-order-list::-webkit-scrollbar,
    .f-compact-feed .f-review-list::-webkit-scrollbar,
    .f-compact-feed .f-shop-grid::-webkit-scrollbar { display: none; }
    .f-compact-feed .f-link-list > a,
    .f-compact-feed .f-order-list > div,
    .f-compact-feed .f-review-list > .f-review,
    .f-compact-feed .f-shop-grid > .f-shop-card { flex: 0 0 min(82%, 300px); min-height: 82px; padding: 14px; border: 1px solid var(--f-border); border-radius: 9px; background: var(--f-bg); scroll-snap-align: start; }
    .f-compact-feed .f-link-list > a,
    .f-compact-feed .f-order-list > div { display: grid; align-content: center; justify-content: stretch; gap: 4px; }
    .f-compact-feed .f-link-list time,
    .f-compact-feed .f-order-list span { white-space: normal; }
    .f-compact-feed .f-review { border-bottom: 1px solid var(--f-border); }
    .f-compact-feed .f-shop-card p { overflow: hidden; margin-bottom: 0; white-space: nowrap; text-overflow: ellipsis; }
    .f-region-tags { flex-wrap: nowrap; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
    .f-region-tags::-webkit-scrollbar { display: none; }
    .f-region-tags a { flex: 0 0 auto; }
    .f-seo-section { padding-top: 30px; }
    .f-seo-disclosure summary { padding: 17px 50px 17px 18px; font-size: 18px; }
    .f-seo-disclosure summary::after { right: 18px; }
    .f-seo-disclosure .f-richtext { position: relative; max-height: 62vh; padding: 18px; overflow-y: auto; font-size: 14px; }
    .f-category-children { grid-template-columns: repeat(2, 1fr); }
    .f-main .f-breadcrumb { flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
    .f-filter .f-container, .f-featured-groups .f-container { width: 100%; padding-inline: 6px; }
    .f-filter ul { padding-bottom: 2px; }
    .f-filter li { min-width: 96px; }
    .f-filter a { padding: 8px 7px 5px; font-size: 12px; }
    .f-category-title { padding: 10px 0 6px; }
    .f-category-title h1 { margin: 0; font-size: 23px; }
    .f-category-title p { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
    .f-featured-groups { padding-bottom: 4px; border-bottom-width: 4px; }
    .f-featured-group ul { justify-content: flex-start; }
    .f-featured-group li { flex: 1 0 82px; min-width: 82px; }
    .f-featured-group a { margin-inline: 3px; padding: 5px 8px; font-size: 12px; }
    .f-listing { width: calc(100% - 10px); padding-top: 10px; }
    .f-listing .f-product-grid { gap: 6px; }
    .f-detail { padding-top: 0; padding-bottom: 50px; }
    .f-detail .f-breadcrumb { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
    .f-detail__main { grid-template-columns: 1fr; gap: 26px; padding-top: 4px; padding-bottom: 38px; }
    .f-gallery__desktop { display: none; }
    .f-gallery__mobile { display: flex; width: 100%; overflow-x: auto; border-radius: var(--f-radius); background: var(--f-bg-alt); overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pinch-zoom; -webkit-overflow-scrolling: touch; }
    .f-gallery__mobile::-webkit-scrollbar { display: none; }
    .f-gallery__slide { flex: 0 0 100%; width: 100%; aspect-ratio: 1; scroll-snap-align: center; scroll-snap-stop: always; }
    .f-gallery__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
    .f-gallery__hint { display: block; margin: 8px 0 0; color: var(--f-muted); font-size: 12px; text-align: center; }
    .f-detail__info h1 { margin-bottom: 14px; font-size: 34px; }
    .f-detail__price { margin-bottom: 16px; padding: 16px 18px; }
    .f-detail__price #detail-price-presentation { display: grid; gap: 2px; }
    .f-detail__price .price-current,
    .f-detail__price .price-normal,
    .f-detail__price .price-holiday { font-size: 22px; }
    .f-detail__type { margin-bottom: 6px; }
    .f-detail__meta { margin: 16px 0; }
    .f-detail-tabs { top: 62px; overflow-x: auto; white-space: nowrap; }
    .f-detail-section__heading { display: grid; align-items: start; }
    .f-rating-panel { min-width: 0; }
    .f-detail-section .f-review-list { grid-template-columns: 1fr; }
    .f-buy-actions { display: none; }
    .f-detail-dock { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1100; display: grid; grid-template-columns: .6fr .8fr 1.2fr 1.2fr; min-height: 54px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--f-border); background: white; box-shadow: 0 -5px 18px rgb(0 0 0 / 10%); }
    .f-detail-dock > * { display: grid; place-items: center; border: 0; background: white; color: var(--f-green); font-size: 12px; }
    .f-detail-dock button:last-child { background: var(--f-green); color: white; }
    .f-parameters > div { grid-template-columns: 110px 1fr; }
    .f-content { width: min(100% - 28px, 920px); margin-bottom: 48px; padding: 34px 22px 38px; }
    .f-content-meta { display: grid; gap: 4px; }
    .f-content .f-richtext { padding: 28px 0; font-size: 15px; }
    .f-content-pager { grid-template-columns: 1fr; }
    .f-content-pager a:last-child { text-align: left; }
    .f-promises__grid { grid-template-columns: repeat(2, 1fr); }
    .f-footer { padding-bottom: 78px; }
    .f-footer__faq { margin-top: 24px; padding-top: 20px; }
    .f-footer__faq-list > div { display: block; max-height: 70px; overflow: hidden; }
    .f-footer__faq-list a { display: inline-block; margin: 0 12px 8px 0; font-size: 12px; }
    .f-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .f-footer__about { grid-column: 1 / -1; }
    body .cn-function-page .cn-search-wrap { width: 100%; }
    body .cn-function-page .function-wrap { width: 100%; }
    body .cn-function-page .cn-search-form { position: static; top: auto; }
    body .cn-product-search .product-results { gap: 6px; }
    body .cn-product-search .product-result-body { padding: 8px; }
    .f-listing .f-product-card__body,
    body .cn-product-search .product-result-body { padding: 8px; }
    .f-listing .f-product-card__body h3,
    body .cn-product-search .cn-product-result h2 { min-height: 2.7em; font-size: 13px; }
    .f-listing .f-product-card__selling,
    body .cn-product-search .cn-product-tags { margin-bottom: 8px; padding: 3px 7px; font-size: 10px; }
    .f-mobile-dock { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1000; display: grid; grid-template-columns: repeat(5, 1fr); min-height: 56px; border-top: 1px solid var(--f-border); background: white; box-shadow: 0 -4px 18px rgb(0 0 0 / 8%); }
    .f-mobile-dock a { display: grid; place-items: center; color: var(--f-green); font-size: 12px; }
    .f-detail-dock ~ .f-mobile-dock { display: none; }
}

@media (max-width: 420px) {
    .f-actions { display: grid; }
    .f-section-title { font-size: 32px; }
    .f-panel { padding: 20px; }
    .f-promises__grid, .f-footer__grid { grid-template-columns: 1fr; }
    .f-footer__about { grid-column: auto; }
    .f-header__actions { gap: 5px; }
    .f-icon, .f-menu { width: 34px; height: 34px; }
}
/* ============ Gli banner-style components ============ */
.f-category-pills { display: flex; flex-direction: column; gap: 8px; }
.f-category-pill { display: block; padding: 12px 18px; border: 1px solid var(--f-border); border-radius: 8px; background: white; color: var(--f-green); font-weight: 600; font-size: 14px; transition: .2s; }
.f-category-pill:hover { border-color: var(--f-gold); background: var(--f-bg-alt); transform: translateX(3px); }
.f-category-blocks { display: grid; gap: 22px; }
.f-category-block__head { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; }
.f-category-block__head h2 { margin: 0; color: var(--f-green); font: 600 26px/1.25 var(--f-display); }
.f-category-block__more { color: #8a6a3f; font-size: 12px; white-space: nowrap; }
.f-category-block__more:hover { color: var(--f-green); }
.f-category-child { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid var(--f-border); border-radius: 8px; background: var(--f-bg); color: #532b32; font-size: 13px; transition: .2s; }
.f-category-child:hover { border-color: var(--f-gold); background: white; transform: translateY(-1px); }
.f-category-child img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.f-category-title p { max-width: 720px; margin: 12px auto 0; color: var(--f-muted); font-size: 15px; }
.f-list-more { border-radius: 8px; }
.f-list-state { border-radius: var(--f-radius); }
.f-product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.f-section-subtitle { margin: -30px 0 36px; color: var(--f-muted); font-size: 15px; text-align: center; }
.f-home-triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.f-two-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.f-panel-title { margin: 0 0 18px; color: var(--f-green); font: 600 26px/1.25 var(--f-display); }

.f-detail__info h1 { margin: 4px 0 0; color: var(--f-green); font: 600 clamp(26px, 3vw, 34px)/1.25 var(--f-display); }
.f-detail__price { margin: 18px 0; padding: 16px 20px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: linear-gradient(135deg, #fdf6ec, var(--f-bg-alt)); }
.f-detail__price .f-price, .f-detail__price .price-current { font-size: 26px; }
.f-detail__price small { display: block; margin-top: 6px; color: var(--f-muted); font-size: 12px; }
.f-quantity { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.f-quantity label { color: var(--f-muted); font-size: 13px; }
.f-quantity button { width: 38px; height: 38px; border: 1px solid var(--f-border); border-radius: 8px; background: white; color: var(--f-green); cursor: pointer; font-size: 18px; transition: .2s; }
.f-quantity button:hover { border-color: var(--f-gold); background: var(--f-bg-alt); }
.f-quantity input { width: 64px; height: 38px; border: 1px solid var(--f-border); border-radius: 8px; background: white; color: var(--f-text); text-align: center; }
.f-guarantee { margin-top: 16px; padding: 14px 18px; border: 1px solid var(--f-gold); border-radius: var(--f-radius); background: var(--f-bg); }
.f-guarantee strong { display: block; color: var(--f-green); font-size: 14px; }
.f-guarantee span { display: block; margin-top: 4px; color: var(--f-muted); font-size: 12px; }
.f-detail-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 4px; }
.f-detail-tabs a { padding: 9px 20px; border: 1px solid var(--f-border); border-radius: 8px; background: white; color: var(--f-muted); font-size: 13px; font-weight: 600; transition: .2s; }
.f-detail-tabs a:hover { border-color: var(--f-gold); color: var(--f-green); }
.f-detail-section { padding: 34px 38px; margin-top: 18px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; box-shadow: var(--f-shadow); }
.f-detail-section h2 { margin: 0 0 18px; color: var(--f-green); font: 600 26px/1.25 var(--f-display); }
.f-variants button { border-radius: 8px; }
.f-parameters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.f-parameters > div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--f-border); }
.f-parameters dt { color: var(--f-muted); font-size: 13px; }
.f-parameters dd { margin: 0; color: var(--f-text); font-size: 13px; }
.f-article-sections article { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--f-border); }
.f-article-sections h3 { color: var(--f-green); font: 600 20px/1.3 var(--f-display); }
.f-review { border: 1px solid var(--f-border); border-radius: var(--f-radius); background: var(--f-bg); }
.f-rating-panel { padding: 12px 18px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: var(--f-bg); text-align: center; }
.f-rating-panel strong { display: block; color: var(--f-green); font: 700 30px/1 var(--f-display); }
.f-rating-panel span, .f-rating-panel small { display: block; margin-top: 4px; color: var(--f-muted); font-size: 12px; }

.f-content-page .f-content { padding: 48px clamp(28px, 6vw, 68px) 72px; }
.f-content__head { padding: 34px 38px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; box-shadow: var(--f-shadow); }
.f-content__head h1 { margin: 8px 0 14px; color: var(--f-green); font: 600 clamp(30px, 4vw, 44px)/1.25 var(--f-display); }
.f-content-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--f-muted); font-size: 13px; }
.f-content-cover { margin-top: 28px; overflow: hidden; border-radius: var(--f-radius); box-shadow: var(--f-shadow); }
.f-content-page .f-content-body { margin-top: 28px; padding: 0 clamp(16px, 3vw, 24px); color: var(--f-text); }
.f-content-body p { line-height: 1.9; }
.f-content-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.f-content-pager__link { display: block; padding: 18px 22px; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; box-shadow: var(--f-shadow); transition: .2s; }
.f-content-pager__link:hover { transform: translateY(-2px); border-color: var(--f-gold); }
.f-content-pager__link small { display: block; color: var(--f-muted); font-size: 12px; }
.f-content-pager__link strong { display: block; margin-top: 4px; color: var(--f-green); font: 600 16px/1.4 var(--f-display); }
.f-content-pager__link--next { text-align: right; }
.f-content-footer { margin-top: 26px; text-align: center; }

/* Search page navigation aligned with category page */
body .cn-function-page.cn-product-search .cn-search-wrap { width: min(1200px, calc(100% - 40px)); max-width: 1200px; }
body .cn-function-page.cn-product-search .cn-search-form { top: 84px; border: 1px solid var(--f-border); border-radius: 12px; padding: 10px; box-shadow: 0 12px 30px rgb(160 106 60 / 14%); }
body .cn-function-page.cn-product-search .cn-search-form .function-input { border-radius: 8px; }
body .cn-function-page.cn-product-search .cn-search-form .btn { border-radius: 8px; }
body .cn-function-page.cn-product-search .cn-search-catalogs,
body .cn-function-page.cn-product-search .cn-search-quick,
body .cn-function-page.cn-product-search .cn-search-sort { gap: 8px; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; box-shadow: var(--f-shadow); padding: 10px 12px; }
body .cn-function-page.cn-product-search .cn-search-catalogs::-webkit-scrollbar,
body .cn-function-page.cn-product-search .cn-search-sort::-webkit-scrollbar { display: none; }
body .cn-function-page.cn-product-search .cn-search-catalogs { margin-top: 18px; }
body .cn-function-page.cn-product-search .cn-search-catalogs a,
body .cn-function-page.cn-product-search .cn-search-sort a { flex: 0 0 auto; min-width: 0; padding: 9px 20px; border: 1px solid var(--f-border); border-radius: 8px; background: var(--f-bg); color: #532b32; font-weight: 600; white-space: nowrap; transition: .2s; }
body .cn-function-page.cn-product-search .cn-search-catalogs a:hover,
body .cn-function-page.cn-product-search .cn-search-sort a:hover { border-color: var(--f-gold); background: white; transform: translateY(-1px); }
body .cn-function-page.cn-product-search .cn-search-catalogs a.active,
body .cn-function-page.cn-product-search .cn-search-sort a.active { border-color: var(--f-green); background: linear-gradient(135deg, #b57a48, var(--f-green)); color: white; }
body .cn-function-page.cn-product-search .cn-search-quick { overflow: visible; border-top: 1px solid var(--f-border); margin-top: 0; }
body .cn-function-page.cn-product-search .cn-search-quick summary,
body .cn-function-page.cn-product-search .cn-filter-toggle { border-radius: 8px; background: var(--f-bg); margin: 2px; color: #532b32; }
body .cn-function-page.cn-product-search .cn-search-quick summary::after { color: var(--f-green); }
body .cn-function-page.cn-product-search .cn-search-quick-options { border: 1px solid var(--f-border); border-radius: var(--f-radius); box-shadow: 0 12px 30px rgb(160 106 60 / 18%); }
body .cn-function-page.cn-product-search .cn-search-quick-options a { border-radius: 8px; background: var(--f-bg); }
body .cn-function-page.cn-product-search .cn-search-quick-options a.active { background: linear-gradient(135deg, #b57a48, var(--f-green)); color: white; }
body .cn-function-page.cn-product-search .cn-search-filters { margin: 14px 0; border: 1px solid var(--f-border); border-radius: var(--f-radius); padding: 16px; background: white; box-shadow: var(--f-shadow); }
body .cn-function-page.cn-product-search .cn-search-filter-options a,
body .cn-function-page.cn-product-search .cn-search-active-filters a { border: 1px solid var(--f-border); border-radius: 8px; background: var(--f-bg); color: #532b32; }
body .cn-function-page.cn-product-search .cn-search-filter-options a:hover,
body .cn-function-page.cn-product-search .cn-search-active-filters a:hover { border-color: var(--f-gold); background: white; }
body .cn-function-page.cn-product-search .cn-search-filter-options a.active { border-color: var(--f-green); background: linear-gradient(135deg, #b57a48, var(--f-green)); color: white; }
body .cn-function-page.cn-product-search .cn-search-active-filters a { color: var(--f-green); }
body .cn-function-page.cn-product-search .cn-search-sort { margin: 12px 0; }
body .cn-function-page.cn-product-search .product-results { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
body .cn-function-page.cn-product-search .cn-product-result { overflow: hidden; border: 1px solid var(--f-border); border-radius: var(--f-radius); background: white; box-shadow: 0 2px 10px rgb(0 0 0 / 4%); transition: .25s; }
body .cn-function-page.cn-product-search .cn-product-result:hover { transform: translateY(-4px); box-shadow: var(--f-shadow); }
body .cn-function-page.cn-product-search .cn-product-result .product-result-image { display: block; aspect-ratio: 1; overflow: hidden; background: var(--f-bg-alt); }
body .cn-function-page.cn-product-search .cn-product-result .product-result-image img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
body .cn-function-page.cn-product-search .cn-product-result:hover .product-result-image img { transform: scale(1.035); }
body .cn-function-page.cn-product-search .cn-product-result .product-result-body { padding: 14px; }
body .cn-function-page.cn-product-search .cn-product-result h2 { min-height: 2.7em; margin: 0 0 6px; color: var(--f-green); font: 600 16px/1.35 var(--f-display); }
body .cn-function-page.cn-product-search .cn-product-result p { color: var(--f-muted); }
body .cn-function-page.cn-product-search .cn-product-result .cn-product-tags { color: var(--f-green); }
body .cn-function-page.cn-product-search .cn-product-result .product-result-meta strong { color: var(--f-green); font-size: 18px; }
body .cn-function-page.cn-product-search .cn-product-result .cn-market-price { color: var(--f-muted); }
body .cn-function-page.cn-product-search .cn-product-result .product-result-placeholder { color: #532b32; background: var(--f-bg-alt); }

@media (max-width: 960px) {
    .f-category-nav { position: static; display: block; overflow-x: auto; scrollbar-width: none; }
    .f-category-nav::-webkit-scrollbar { display: none; }
    .f-category-pills { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
    .f-category-pills::-webkit-scrollbar { display: none; }
    .f-category-pill { flex: 0 0 auto; white-space: nowrap; transform: none; }
    .f-category-pill:hover { transform: none; }
    .f-home-triple { grid-template-columns: 1fr; }
    body .cn-function-page.cn-product-search .product-results { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 720px) {
    body .cn-function-page.cn-product-search .cn-search-wrap { width: 100%; max-width: none; padding-inline: 6px; }
    .f-category-block { grid-template-columns: 1fr; }
    .f-detail-section { padding: 22px 18px; }
    .f-parameters { grid-template-columns: 1fr; }
    .f-content-page .f-content { padding: 28px 20px 42px; }
    .f-content__head { padding: 22px 18px; }
    .f-content-page .f-content-body { margin-top: 22px; padding-inline: 16px; }
    .f-content-pager { grid-template-columns: 1fr; }
    .f-content-pager__link--next { text-align: left; }
    .f-product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .f-section-subtitle { margin: -18px 0 24px; font-size: 13px; }
    .f-two-panels { grid-template-columns: 1fr; }
    body .cn-function-page.cn-product-search .cn-search-form { position: static; padding: 8px; border-radius: 8px; box-shadow: none; }
    body .cn-function-page.cn-product-search .cn-search-catalogs { margin-top: 10px; }
    body .cn-function-page.cn-product-search .cn-search-catalogs a,
    body .cn-function-page.cn-product-search .cn-search-sort a { padding: 8px 14px; font-size: 12px; }
    body .cn-function-page.cn-product-search .product-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    body .cn-function-page.cn-product-search .cn-product-result .product-result-body { padding: 10px; }
    body .cn-function-page.cn-product-search .cn-product-result h2 { font-size: 14px; }
}
@media (max-width: 720px) {
    .f-product-grid--trim-mobile-odd > .f-product-card:last-child:nth-child(odd) { display: none; }
}
