/* =====================================================================
   Gli visual-template layer (source: _reference/asp-cn/website_cn/
   template/qgcake/template_10/gli.html).
   Loaded after the base theme css; overrides the red accent with the
   brown bakery palette and adds the banner/band component styles used
   by index.html and diqu_index.html.
   ===================================================================== */
:root {
    --f-green: #a06a3c;
    --f-green-d: #8a5530;
    --f-brown: #a06a3c;
    --f-brown-d: #8a5530;
    --f-card: #fffdf8;
}

body .cn-function-page {
    --cn-red: var(--f-green);
    --cn-red-dark: var(--f-green-d);
}

/* Top utility ribbon */
.f-utility { background: #8a5530; color: #f0e3d2; font-size: 12px; padding: 6px 0; }
.f-utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* Hero banner (gli.html .hero-banner) */
.f-home-hero { position: relative; padding: 56px 0 62px; overflow: hidden; background: linear-gradient(135deg, #a06a3c, #8a5530); color: #fff; text-align: center; }
.f-home-hero::before { position: absolute; top: -140px; left: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 12%), transparent 60%); content: ""; }
.f-home-hero::after { position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 10%), transparent 60%); content: ""; }
.f-home-hero__inner { position: relative; z-index: 1; }
.f-home-hero__cake { display: block; margin: 0 auto 18px; font-size: 92px; line-height: 1; filter: drop-shadow(0 16px 20px rgb(0 0 0 / 25%)); animation: f-float 5s ease-in-out infinite; }
@keyframes f-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.f-home-hero__tag { display: inline-block; margin-bottom: 16px; padding: 6px 22px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 30px; background: rgb(255 255 255 / 15%); font-size: 12.5px; letter-spacing: 1px; }
.f-home-hero h1 { margin: 0 0 14px; color: #fff; font: 600 clamp(34px, 5vw, 46px) / 1.15 var(--f-display); }
.f-home-hero h1 em { margin-left: 8px; font-style: normal; color: #ffd9a8; }
.f-home-hero p { max-width: 560px; margin: 0 auto 26px; font-size: 15px; opacity: .92; }
.f-home-hero__actions { display: flex; justify-content: center; gap: 12px; }
.f-home-hero__actions .f-btn--primary { border-color: #fff; background: #fff; color: var(--f-brown-d); }
.f-home-hero__actions .f-btn--ghost { border-color: rgb(255 255 255 / 55%); color: #fff; }
.f-home-hero__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; margin-top: 34px; }
.f-home-hero__stat b { display: block; color: #ffd9a8; font: 700 24px / 1.2 var(--f-display); }
.f-home-hero__stat span { font-size: 12px; opacity: .9; }

/* Region hero on the brown banner */
.f-region-hero h1 { color: #fff; }
.f-region-hero p { color: rgb(255 255 255 / 88%); }

/* Section banner header (gli.html .band) */
.f-band { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding: 14px 22px; border: 1px solid var(--f-border); border-left: 6px solid var(--f-green); border-radius: 10px; background: #fff; }
.f-band__icon { font-size: 24px; line-height: 1; }
.f-band h2 { margin: 0; color: var(--f-green); font: 600 21px / 1.3 var(--f-display); }
.f-band__sub { color: var(--f-muted); font-size: 13px; }
.f-band__more { margin-left: auto; color: var(--f-brown-d); font-size: 13px; font-weight: 600; white-space: nowrap; }
.f-band__more:hover { color: var(--f-green); }
.f-band--panel { margin-bottom: 18px; padding: 10px 16px; }
.f-band--panel h2 { font-size: 18px; }
.f-band--panel .f-band__sub { font-size: 12px; }

/* Product cards get the gli.html color strip */
.f-product-card { border-top: 4px solid var(--f-gold); }
.f-product-card:nth-child(odd) { border-top-color: var(--f-green); }
.f-product-panel { padding: 22px; }
.f-product-panel .f-product-grid { gap: 14px; }

/* Article rows (gli.html .artlist/.art) */
.f-artlist { display: grid; grid-template-columns: 1fr; gap: 12px; }
.f-art { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--f-border); border-bottom: 3px solid var(--f-gold); border-radius: 10px; background: #fff; transition: .25s; }
.f-art:hover { border-bottom-color: var(--f-green); transform: translateX(4px); }
.f-art__icon { flex: none; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 10px; background: linear-gradient(150deg, #fdf3e4, #f7e6cd); font-size: 22px; }
.f-art__text { min-width: 0; }
.f-art__text h4 { margin: 0; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.f-art__text time { display: block; margin-top: 2px; color: var(--f-muted); font-size: 12px; }

/* Review cards (gli.html .rvlist/.rv) */
.f-review-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.f-review--card { padding: 18px; border-top: 4px solid var(--f-gold); background: #fff; }
.f-review--card .f-review__stars { display: block; margin-bottom: 10px; color: var(--f-gold); font-size: 13px; letter-spacing: 2px; }
.f-review--card p { margin: 0 0 10px; font-size: 14px; line-height: 1.7; }
.f-review--card .f-review__who { color: var(--f-muted); font-size: 12.5px; }
.f-home .f-compact-feed .f-review-list,
.f-main .f-compact-feed .f-review-list { max-height: none; overflow-y: visible; }

/* Store info rows (gli.html .shoplist/.shop and .addrlist/.addr) */
.f-shoplist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.f-shop { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--f-border); border-left: 5px solid var(--f-green); border-radius: 10px; background: #fff; }
.f-shop__icon { font-size: 24px; line-height: 1.3; }
.f-shop b { display: block; margin-bottom: 3px; color: var(--f-text); font-size: 14.5px; }
.f-shop p, .f-shop span { margin: 0; color: var(--f-muted); font-size: 12.5px; }

/* Region pills (gli.html .regions/.region) */
.f-region-tags { display: block; }
.f-region-tags__content { display: flex; flex-wrap: wrap; gap: 10px; }
.f-regions { display: flex; flex-wrap: wrap; gap: 10px; }
.f-region { padding: 10px 18px; border: 1px solid var(--f-border); border-radius: 8px; background: #fff; color: var(--f-muted); font-size: 13px; transition: .25s; }
.f-region:hover { border-color: var(--f-green); background: var(--f-green); color: #fff; transform: translateY(-2px); }
.f-inline-regions a { color: var(--f-brown-d); }
.f-ind-theme-gli.f-independent-region nav.f-region-tags > .f-inline-regions { display: flex; flex-wrap: wrap; gap: 10px; }

/* About block (gli.html .about) */
.f-about { overflow: hidden; border: 1px solid var(--f-border); border-radius: 12px; background: #fff; }
.f-about__hd { padding: 20px 28px; background: linear-gradient(135deg, #a06a3c, #8a5530); color: #fff; font: 600 22px / 1.3 var(--f-display); }
.f-about__bd { display: grid; grid-template-columns: 1fr 240px; gap: 30px; align-items: center; padding: 30px 28px; }
.f-about__bd p { margin: 0 0 12px; color: #6a5540; font-size: 14px; line-height: 2; text-indent: 2em; }
.f-about__bd p:last-child { margin-bottom: 0; }
.f-about__pic { font-size: 96px; text-align: center; filter: drop-shadow(0 14px 18px rgb(90 70 50 / 18%)); }

/* Footer follows gli.html .footer */
.f-footer { border-top: 6px solid var(--f-green); background: #5a4632; }
.f-footer .f-logo { color: #fff; }
.f-footer__grid > div > p { margin: 5px 0; color: rgb(255 255 255 / 64%); font-size: 12.5px; }

/* Fixed promo bar (gli.html .fixedbar) */
.f-home-fixedbar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 300; padding: 13px 0; border-top: 4px solid var(--f-green); background: #fff; box-shadow: 0 -5px 24px rgb(90 70 50 / 14%); transform: translateY(0); transition: transform .4s; }
.f-home-fixedbar.is-hidden { transform: translateY(120%); }
.f-home-fixedbar__inner { display: flex; max-width: 1200px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 16px; padding: 0 26px; }
.f-home-fixedbar__text { display: flex; align-items: center; gap: 12px; }
.f-home-fixedbar__em { font-size: 26px; }
.f-home-fixedbar__text b { display: block; color: var(--f-text); font-size: 15px; }
.f-home-fixedbar__text span { color: var(--f-muted); font-size: 12.5px; }
.f-home-fixedbar__actions { display: flex; gap: 10px; }
.f-home-fixedbar__actions .f-btn { min-height: 40px; padding: 0 22px; font-size: 13.5px; }
.f-home-fixedbar__close { position: absolute; top: -11px; right: 22px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--f-green); color: #fff; cursor: pointer; }
body:has(.f-home-fixedbar) .f-footer { padding-bottom: 96px; }

@media (max-width: 960px) {
    .f-home-hero__stats { gap: 28px; }
    .f-shoplist { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .f-utility { display: none; }
    .f-home-hero { padding: 42px 0 46px; }
    .f-home-hero__cake { font-size: 62px; }
    .f-home-hero h1 { font-size: 29px; }
    .f-home-hero p { font-size: 13.5px; }
    .f-home-hero__stats { gap: 20px; margin-top: 26px; }
    .f-home-hero__stat b { font-size: 19px; }
    .f-home-hero__actions .f-btn { min-height: 40px; padding: 0 18px; font-size: 13px; }
    .f-band { gap: 10px; margin-bottom: 20px; padding: 11px 14px; }
    .f-band h2 { font-size: 18px; }
    .f-band__sub { display: none; }
    .f-band__more { font-size: 12px; }
    .f-artlist, .f-shoplist { grid-template-columns: 1fr; }
    .f-review-list { grid-template-columns: 1fr; gap: 12px; }
    .f-region-tags__content, .f-regions { flex-wrap: nowrap; padding-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
    .f-region-tags__content::-webkit-scrollbar, .f-regions::-webkit-scrollbar { display: none; }
    .f-region { flex: 0 0 auto; }
    .f-about__hd { padding: 16px 18px; font-size: 19px; }
    .f-about__bd { grid-template-columns: 1fr; padding: 22px 18px; text-align: center; }
    .f-about__bd p { text-align: left; text-indent: 0; }
    .f-about__pic { display: none; }
    .f-home-fixedbar { display: none; }
    body:has(.f-home-fixedbar) .f-footer { padding-bottom: 78px; }
}

/* Nested region shop grid: let inner f-shoplist rows join the outer grid. */
.f-shoplist .f-shoplist { display: contents; }


/* Footer slogan line */
.f-footer__slogan { margin-top: 10px; color: rgb(255 255 255 / 72%); font-size: 13px; line-height: 1.7; }
.f-footer__grid > div > p { margin: 5px 0; }

/* Footer per docs/site-optimization-checklist.md section 8: brand line +
   help center (faq_list) + friends (home only) + copyright + mobile dock. */
.f-footer__brand { margin-bottom: 10px; text-align: center; }
.f-footer__brand .f-logo { color: #fff; font-size: 26px; }
.f-footer__brand p { max-width: 720px; margin: 6px auto 0; color: rgb(255 255 255 / 64%); font-size: 13px; line-height: 1.7; }
.f-footer__brand .f-footer__slogan { color: rgb(255 255 255 / 78%); }
.f-footer__faq-cat { display: block; }
.f-footer__faq-cat h3 { display: inline-block; margin: 0 10px 0 0; color: #fff; font: 600 14px/1.8 var(--f-body); }
.f-footer__faq-cat a { display: inline-block; margin: 0 12px 8px 0; color: rgb(255 255 255 / 78%); font-size: 13px; }
.f-footer__faq-cat a:hover { color: #fff; }
/* Compact footer: keep help center grouped but side by side, and turn the
   friend links into an inline link cloud instead of a tall vertical list. */
.f-footer { padding-top: 38px; }
.f-footer__faq-list > div { display: block; }
.f-footer__faq-cat { display: inline-block; vertical-align: top; margin: 0 28px 10px 0; }
.f-footer__faq-cat h3 { display: block; margin: 0 0 4px; font-size: 13px; }
.f-footer__faq-cat a { display: inline-block; margin: 0 12px 6px 0; font-size: 12.5px; line-height: 1.5; }
.f-friends { margin-top: 16px; font-size: 12px; }
.f-friends strong { color: #fff; font-weight: 600; }
.f-friends a { display: inline-block; margin: 0 12px 6px 0; color: rgb(255 255 255 / 70%); font-size: 12.5px; }
.f-friends a:hover { color: #fff; }
.f-copyright { margin-top: 12px; font-size: 12px; }
/* Specificity fix for grouped faq cats and mobile clipping. */
.f-footer__faq-list > .f-footer__faq-cat { display: inline-block; }
@media (max-width: 720px) {
    .f-footer__faq-list > div { max-height: none; overflow: visible; }
    .f-footer__faq-cat { display: block; margin: 0 0 8px; }
    .f-footer__brand p { font-size: 12px; line-height: 1.6; }
}
/* Final compact footer rules (win over earlier blocks). */
.f-footer__faq-list > .f-footer__faq-cat,
.f-footer__faq-cat { display: inline; margin: 0; }
.f-footer__faq-cat h3 { display: inline; margin: 0 10px 0 0; font-size: 13px; color: #fff; }
.f-footer__faq-cat a { display: inline; margin: 0 14px 0 0; font-size: 12.5px; line-height: 1.9; }
.f-footer__faq-list { line-height: 1.9; }
.f-friends .f-link-list { display: block; }
.f-friends .f-link-list a,
.f-friends a { display: inline; margin: 0 14px 0 0; padding: 0; border: 0; color: rgb(255 255 255 / 70%); font-size: 12.5px; line-height: 1.9; }
.f-friends strong { color: #fff; }
@media (max-width: 720px) {
    .f-footer__faq-list > div { max-height: none; overflow: visible; }
}
/* Trim vertical rhythm after removing the brand intro line. */
.f-footer { padding-top: 30px; }
.f-footer__brand { margin-bottom: 6px; }
.f-footer__brand p { margin: 4px auto 0; }
.f-footer__faq { margin-top: 22px; }
.f-footer__faq-cat a { margin-right: 12px; }
.f-friends { margin-top: 12px; }
.f-copyright { margin-top: 8px; }
/* Storefront-owned price labels and phone footer. */
.price-current{white-space:nowrap}
.price-module{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.price-module>.price-normal,.price-module>.price-holiday{display:inline-flex;align-items:baseline;gap:3px;margin:0;color:inherit;font-size:1em;font-weight:700;line-height:1.25;white-space:nowrap}
.price-module>.price-normal>span,.price-module>.price-holiday>span{font-size:.72em;font-weight:600}
html.js .price-module{visibility:hidden}
html.js .price-module.js-ready{visibility:visible}
.price-market{margin-left:8px;text-decoration:line-through;white-space:nowrap}
@media(max-width:767px){body>footer{display:none!important}}
@media(max-width:520px){.price-module{display:inline-grid;gap:2px}.price-module>.price-normal,.price-module>.price-holiday{display:flex}
}

/* Stable section anchors keep the rhythm intact when an empty product module is omitted at render time. */
.f-ind-theme-gli.f-independent-flow{display:flex;flex-direction:column}
.f-ind-theme-gli.f-independent-flow>section{width:100%}
@media (min-width:901px){
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--1{order:10}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--2{order:20}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--3{order:30}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-support--1{order:35}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--4{order:40}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--5{order:50}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--6{order:60}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-support--2{order:65}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--7{order:70}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--8{order:80}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--9{order:90}

.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-support--3{order:75}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-support--4{order:85}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-support--5{order:1050}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--1{order:10}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--1{order:35}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--2{order:45}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--2{order:20}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--3{order:30}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--4{order:40}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--3{order:65}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--5{order:50}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--6{order:60}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--4{order:75}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--5{order:85}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--7{order:70}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--8{order:80}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--6{order:1060}
}
@media (max-width:900px){
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--1{order:10}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--2{order:20}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--3{order:30}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--4{order:40}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--5{order:50}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--6{order:60}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--7{order:70}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--8{order:80}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-product--9{order:90}

.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-support--1{order:1010}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-support--2{order:1020}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-support--3{order:1030}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-support--4{order:1040}
.f-ind-theme-gli.f-independent-home.f-independent-flow>section.f-independent-support--5{order:1050}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--1{order:10}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--2{order:20}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--3{order:30}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--4{order:40}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--5{order:50}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--6{order:60}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--7{order:70}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-product--8{order:80}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--1{order:1010}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--2{order:1020}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--3{order:1030}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--4{order:1040}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--5{order:1050}
.f-ind-theme-gli.f-independent-region.f-independent-flow>section.f-independent-support--6{order:1060}
}


/* Independent mobile rhythm normalization: gli */
@media (max-width: 720px) {
  .f-ind-theme-gli > .f-home-banners { padding-bottom: 0; }
  .f-ind-theme-gli > .f-home-category-shortcuts-section { padding-top: 14px; padding-bottom: 0; }
  .f-ind-theme-gli > .f-original-product-section { padding-block: 30px; }
  .f-ind-theme-gli .f-original-product-section .f-section-title { margin-bottom: 18px; }
  .f-ind-theme-gli .f-original-product-section .f-product-grid { column-gap: 8px; row-gap: 12px; }
  .f-ind-theme-gli .f-original-product-section .f-product-grid + .f-product-grid { margin-top: 12px; }
}
/* mobile-long-copy-last:independent */
@media (max-width:900px) {
  .f-independent-flow {
    display:flex!important;
    flex-direction:column!important;
  }
  .f-independent-flow > .f-seo-section,
  .f-independent-flow > .f18-seo-section,
  .f-independent-flow > .sy-seo-section,
  .f-independent-flow > .h9-seo-section {
    order:9999!important;
  }

  /* Keep verbose regional descriptions out of the mobile first screen.
     The complete service copy remains available in the bottom SEO section. */
  .f-independent-region .sy-region-hero__copy > p {
    display:none!important;
  }
  .f-ind-theme-gli.f-independent-region .f-region-hero p:not(.f-eyebrow) {
    display:none!important;
  }
}

/* Home and region: shrinkable content and balanced product rows. */
.f-ind-theme-gli { width: 100%; max-width: 100%; min-width: 0; }
.f-ind-theme-gli > section,
.f-ind-theme-gli .f-container,
.f-ind-theme-gli :is(.f-panel, .f-artlist, .f-art, .f-product-card) { min-width: 0; max-width: 100%; }
.f-ind-theme-gli .f-art__text { flex: 1; }
.f-ind-theme-gli .f-two-panels { grid-template-columns: minmax(0, 1fr); }
.f-ind-theme-gli .f-product-panel { padding: 0; border: 0; background: transparent; box-shadow: none; }
.f-ind-theme-gli .f-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.f-ind-theme-gli .f-home-banners > .f-container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.f-ind-theme-gli .f-hero-banners { min-width: 0; max-width: 100%; margin-top: 0; }
.f-ind-theme-gli .f-hero-banners img { height: auto !important; aspect-ratio: 9 / 5 !important; object-fit: contain !important; }
@media (max-width: 720px) {
    .f-ind-theme-gli .f-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .f-ind-theme-gli .f-home-banners > .f-container { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* Region advertising replaces the duplicated opening introduction. */
.f-ind-theme-gli.f-independent-region .f-home-banners .f-hero-banners { min-width: 0; max-width: 100%; margin-top: 0; }
.f-ind-theme-gli.f-independent-region .f-home-banners .f-hero-banners img { height: auto !important; aspect-ratio: 9 / 5 !important; object-fit: contain !important; }

/* Keep the original promotion after all products and supporting content. */
.f-ind-theme-gli > :is(.f-home-hero, .f-region-hero) { order: 10000; }
.f-ind-theme-gli > .f-home-banners { padding-top: 0 !important; }
.f-ind-theme-gli .f-two-panels { grid-template-columns: minmax(0, 1fr); }
.f-ind-theme-gli .f-band { min-width: 0; flex-wrap: wrap; }
.f-ind-theme-gli .f-band h2 { min-width: 0; overflow-wrap: anywhere; }
.f-ind-theme-gli .f-band__icon, .f-ind-theme-gli .f-band__more { flex-shrink: 0; }
.f-ind-theme-gli .f-category-shortcut { min-width: 0; }
.f-ind-theme-gli .f-category-shortcut strong { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.f-ind-theme-gli .f-artlist { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 721px) {
    .f-ind-theme-gli .f-product-grid:has(> .f-product-card:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.f-ind-theme-gli.unified-home-region .f-independent-product .f-product-section-title { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.f-ind-theme-gli.unified-home-region > :is(.f-home-hero, .f-region-hero) { display: block !important; }
.f-ind-theme-gli .f-region-hero { background: linear-gradient(135deg, #a06a3c, #8a5530); }
.f-ind-theme-gli .f-region-hero .seo-region-breadcrumb { color: #fff; }

/* GLI 2026-10-12: fallback centering for older Chromium/360 engines.
   This overrides min() and margin-inline from the original theme. */
.f-container { width: calc(100% - 40px); max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
body .cn-function-page .function-wrap { width: calc(100% - 40px); max-width: 1080px; margin-left: auto !important; margin-right: auto !important; }
body .cn-function-page .cn-search-wrap,
body .cn-function-page.cn-product-search .cn-search-wrap { width: calc(100% - 40px); max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
.f-content-page .f-container, .f-category-index .f-container,
.f-category-browse .f-container, .f-detail.f-container { margin-left: auto !important; margin-right: auto !important; }
@media (min-width: 901px) {
  .f-independent-home .f-container, .f-independent-region .f-container { max-width: 1180px; }
}
/* Home: only the short description follows the carousel; calls to action
   and all four delivery facts stay in the physical last section. */
.f-ind-theme-gli.f-independent-home > .f-home-banners { padding: 0 !important; }
.f-ind-theme-gli.f-independent-home > .f-home-intro { order: -1; padding: 14px 0 0; text-align: center; }
.f-ind-theme-gli.f-independent-home .f-home-intro__tag { display: block; font-size: 12px; color: #73583e; }
.f-ind-theme-gli.f-independent-home .f-home-intro h1 { margin: 4px 0 6px; color: #694626; font: 600 29px/1.3 Georgia, "Microsoft YaHei", serif; }
.f-ind-theme-gli.f-independent-home .f-home-intro h1 em { margin-left: 8px; font-style: normal; }
.f-ind-theme-gli.f-independent-home .f-home-intro p { margin: 0 auto; max-width: 1100px; color: #5a4632; font-size: 13px; line-height: 1.65; }
.f-ind-theme-gli.f-independent-home > .f-home-category-shortcuts-section { padding: 8px 0 14px; }
.f-ind-theme-gli.f-independent-home .f-home-category-shortcuts__content { margin-top: 0; padding: 12px 16px; }
.f-ind-theme-gli.f-independent-home > .f-original-product-section { padding: 25px 0; }
.f-ind-theme-gli.f-independent-home > .f-supporting-content,
.f-ind-theme-gli.f-independent-home > .f-home-shops,
.f-ind-theme-gli.f-independent-home > .f-home-regions,
.f-ind-theme-gli.f-independent-home > .f-home-about { padding: 22px 0; }
.f-ind-theme-gli.f-independent-home .f-band { margin-bottom: 14px; }
.f-ind-theme-gli.f-independent-home > .f-home-service-summary { order: 2000; padding: 25px 0 30px; background: #f1e3d1; text-align: center; }
.f-ind-theme-gli.f-independent-home .f-home-service-summary .f-home-hero__actions { display: flex; justify-content: center; gap: 12px; }
.f-ind-theme-gli.f-independent-home .f-home-service-summary .f-btn--ghost { border-color: #a06a3c; color: #694626; }
.f-ind-theme-gli.f-independent-home .f-home-service-summary .f-home-hero__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 18px; }
.f-ind-theme-gli.f-independent-home .f-home-service-summary .f-home-hero__stat { flex: 0 1 210px; }
.f-ind-theme-gli.f-independent-home .f-home-service-summary .f-home-hero__stat b { display: block; color: #694626; font: 700 21px/1.3 Georgia, "Microsoft YaHei", serif; }
.f-ind-theme-gli.f-independent-home .f-home-service-summary .f-home-hero__stat span { display: block; color: #73583e; font-size: 12px; }
@media (max-width: 720px) {
  .f-container { width: calc(100% - 28px); }
  .f-original-product-section > .f-container { width: calc(100% - 10px); }
  body .cn-function-page.cn-product-search .cn-search-wrap { width: 100%; }
  .f-ind-theme-gli.f-independent-home > .f-home-intro { padding: 12px 0 0; }
  .f-ind-theme-gli.f-independent-home .f-home-intro h1 { font-size: 23px; }
  .f-ind-theme-gli.f-independent-home .f-home-intro p { font-size: 12px; }
  .f-ind-theme-gli.f-independent-home > .f-original-product-section { padding: 24px 0; }
  .f-ind-theme-gli.f-independent-home > .f-home-service-summary { padding: 20px 0; }
  .f-ind-theme-gli.f-independent-home .f-home-service-summary .f-home-hero__stat { flex: 0 1 calc(50% - 16px); }
  .f-ind-theme-gli.f-independent-home .f-home-service-summary .f-home-hero__stat b { font-size: 17px; }
}
