/* INFR-TECH / V2_浅暖黄色版本 — Paper, Oat & Ink.
   Local-only palette layered after light-theme.css. Shared layout stays in V1.
   Warm paper is the canvas, not a yellow filter over photographs or products. */

html[data-infr-theme="light"][data-infr-palette="warm"] {
  --theme-bg: #faf9f5 !important;
  --theme-surface: #fffefa !important;
  --theme-accent: #89543b !important;
  --theme-accent2: #78674f !important;
  --theme-muted: #706b61 !important;
  --theme-text-muted: #706b61 !important;
  --theme-text: #46433e !important;
  --theme-text-strong: #30302e !important;
  --theme-border: #dedcd1 !important;
  --theme-grad: linear-gradient(125deg, #393630 0%, #514a40 100%) !important;
  --theme-hero-bg: linear-gradient(105deg, #faf9f5 4%, #f5f4ed 58%, #f0eee6 100%) !important;
  --scrollbar-thumb: #bbb4a5;
  --background: #faf9f5;
  --foreground: #46433e;
  --card: #fffefa;
  --card-foreground: #46433e;
  --popover: #fffefa;
  --popover-foreground: #46433e;
  --primary: #3c3932;
  --primary-foreground: #fffefa;
  --secondary: #f0eee6;
  --secondary-foreground: #46433e;
  --muted: #f5f4ed;
  --muted-foreground: #706b61;
  --accent: #f3e9df;
  --accent-foreground: #89543b;
  --border: #dedcd1;
  --input: #d5d0c3;
  --ring: #a56b4d;
  --infr-ink: #30302e;
  --infr-gold: #89543b;
  --infr-gold-soft: #f3e9df;
  --infr-line: #dedbd0;
  --infr-line-hover: #b8aa95;
  --infr-inner-highlight: inset 0 1px 0 #fffffff0;
  --infr-card-shadow: var(--infr-inner-highlight), 0 1px 2px #41362506, 0 8px 24px #41362508;
  --infr-card-shadow-hover: var(--infr-inner-highlight), 0 3px 8px #4136250b, 0 17px 32px #41362512;
  --infr-home-photo-overlay: linear-gradient(100deg, #faf9f5f5 0%, #faf9f5e6 36%, #f5f3eac2 60%, #f0ebe061 83%, #e7dfd11a 100%);
  --infr-product-photo-overlay: linear-gradient(90deg, #f1eadc5c 0%, #faf8f0d6 24%, #faf9f3d9 41%, #faf9f3d9 61%, #f5f0e6a6 82%, #e8e1d347 100%);
  --infr-channel-photo-overlay: linear-gradient(90deg, #f1eadc5c 0%, #faf8f1db 30%, #faf9f5e6 42%, #faf8f1de 62%, #efe8dc80 100%);
  --infr-about-photo-overlay: linear-gradient(100deg, #faf9f5f2 0%, #faf9f5eb 32%, #f5f2e9bf 60%, #eae2d55c 100%);
}

/* Calm type hierarchy and accessible, deliberately restrained accents. */
html[data-infr-theme="light"][data-infr-palette="warm"] ::selection { background: #e9d8c9; color: #3c332c; }
html[data-infr-theme="light"][data-infr-palette="warm"] :is(button, a, input, select, textarea):focus-visible { outline-color: #9a684cc4; }
html[data-infr-theme="light"][data-infr-palette="warm"] :is(a, button) { -webkit-tap-highlight-color: #9a684c18; }
html[data-infr-theme="light"][data-infr-palette="warm"] :is(h2, h3) { letter-spacing: -.025em; }
html[data-infr-theme="light"][data-infr-palette="warm"] h1 [style*="background: linear-gradient(90deg"] {
  background-image: linear-gradient(105deg, #85543e, #74513e) !important;
}
html[data-infr-theme="light"][data-infr-palette="warm"] [style*="color: rgb(200, 216, 232)"] { color: #625c51 !important; }

/* A paper masthead with the existing light-background company artwork. */
html[data-infr-theme="light"][data-infr-palette="warm"] header {
  background: #faf9f5fa !important;
  border-bottom-color: #dcd6cbd9 !important;
  box-shadow: inset 0 1px 0 #fffefa, 0 3px 18px #41362507 !important;
}
html[data-infr-theme="light"][data-infr-palette="warm"] header a.group:has(> img) {
  background: linear-gradient(110deg, #fffefa, #f5f1e8);
  border-color: #e0d8c9;
  box-shadow: inset 0 1px 0 #fffefa, 0 2px 6px #41362506;
}
html[data-infr-theme="light"][data-infr-palette="warm"] footer a.group:has(> img.h-9) { background: #30302e; }
html[data-infr-theme="light"][data-infr-palette="warm"] header nav a { color: #5e5a52 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] header nav a:hover,
html[data-infr-theme="light"][data-infr-palette="warm"] header > .overflow-hidden a:hover {
  color: #80503a !important;
  background: #f1ece3 !important;
  border-color: #e2d8cb !important;
}
html[data-infr-theme="light"][data-infr-palette="warm"] header nav a[aria-current="page"] {
  color: #80503a !important;
  background: #f3eae0 !important;
  border-color: #dfcdbb !important;
}
html[data-infr-theme="light"][data-infr-palette="warm"] header :is(a[href^="tel:"], button[title]) { color: #6b6357 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] header button[title]:hover { color: #80503a !important; background: #f0ece3 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] header button[aria-label="Toggle menu"] { color: #3c3932 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] header > .overflow-hidden { box-shadow: 0 14px 22px #4136250a; }

/* Daylit architectural photography, with paper protection behind the words. */
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-hero { background: #f3efe6; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-hero h1 {
  color: #30302e;
  font-weight: 750;
  letter-spacing: -.04em;
}
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-hero h1 > span:first-child { color: #30302e !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-hero h1 > .bg-clip-text { color: #89543b !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-hero .flex.flex-col > span:first-child {
  color: #80563d !important;
  background: #faf3e8 !important;
  border-color: #e2d6c4 !important;
}
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-hero p.text-lg { color: #686154 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-actions > a:first-child {
  background: #3c3932 !important;
  border-color: #302d28;
  border-radius: 9px;
  box-shadow: inset 0 1px 0 #ffffff24, 0 2px 5px #41362510, 0 10px 20px #41362516 !important;
}
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-actions > a:first-child:hover { background: #282620 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-quicklinks a {
  color: #655b4e !important;
  background: #fffdf7d9 !important;
  border-color: #d7cbb9 !important;
  box-shadow: var(--infr-inner-highlight), 0 2px 4px #41362506;
}
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-quicklinks a:hover {
  color: #80503a !important;
  border-color: #bda68e !important;
  background: #f7eee3 !important;
}
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-contact {
  color: #494237 !important;
  background: #fffdf7d9 !important;
  border-color: #c6baa8 !important;
  border-radius: 9px;
  box-shadow: var(--infr-inner-highlight), 0 2px 4px #41362505;
}
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-contact:hover { background: #fffefa !important; border-color: #a1937d !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-hero .mt-16.grid > div {
  background: linear-gradient(135deg, #fffefaf2 0%, #f4f0e7e8 100%) !important;
  border-color: #d8cfbe !important;
  box-shadow: var(--infr-inner-highlight), inset 0 -1px 0 #d9cdb326, 0 5px 15px #41362508, 0 14px 28px #41362506;
}
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-hero .mt-16.grid .text-2xl { color: #78543c !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-hero .mt-16.grid .text-sm { color: #706b61 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-hero .mt-16.grid .w-px { background: linear-gradient(180deg, transparent 0%, #c3b89f 22%, #c3b89f 78%, transparent 100%) !important; }

/* Almost-white cards, oat dividers, and a warm closing invitation. */
html[data-infr-theme="light"][data-infr-palette="warm"] section.py-14.border-y { background: #fffefa !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] section.py-14.border-y .h-20 { background: #faf9f5 !important; border-color: #e5e0d5 !important; box-shadow: var(--infr-inner-highlight), 0 2px 6px #41362504; }
html[data-infr-theme="light"][data-infr-palette="warm"] section.py-14.border-y .h-20:hover { border-color: #c9bda9 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] section .overflow-hidden.h-40 { border-bottom-color: #ded7c9; }
html[data-infr-theme="light"][data-infr-palette="warm"] section .rounded-3xl.text-center,
html[data-infr-theme="light"][data-infr-palette="warm"] .max-w-5xl.mx-auto.relative.overflow-hidden.rounded-3xl.border,
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .relative.rounded-3xl.text-center {
  background: linear-gradient(120deg, #f0ebe0 0%, #faf7ef 100%) !important;
  border-color: #ded3c1 !important;
  box-shadow: var(--infr-card-shadow);
}

/* Catalog controls and cards retain their readable engineering hierarchy. */
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-hero { background: linear-gradient(110deg, #f0eadf 0%, #faf9f5 60%, #f1ece2 100%) !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-hero .infr-product-badge { color: #80563d !important; background: #fffdf5d9 !important; border-color: #dcccc0 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-hero h1,
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .relative.rounded-2xl.overflow-hidden h2 { color: #30302e !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-hero p { color: #6c6355 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] nav[aria-label="Breadcrumb"] a { color: #776e60 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] nav[aria-label="Breadcrumb"] a:hover,
html[data-infr-theme="light"][data-infr-palette="warm"] nav[aria-label="Breadcrumb"] li > span { color: #89543b !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] nav[aria-label="Breadcrumb"] li > svg { color: #968d7f !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .flex.flex-col.gap-4.mb-8.p-4 { background: #fffefa !important; box-shadow: var(--infr-card-shadow); }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .flex.flex-wrap.gap-2 > button:hover { border-color: #bca68e !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .flex.gap-1.rounded-xl { background: #efede5 !important; border-color: #dad3c6; box-shadow: var(--infr-inner-highlight), 0 2px 4px #41362503; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .flex.gap-1.rounded-xl > button { color: #756b5d !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .flex.gap-1.rounded-xl > button:hover { background: #faf9f5 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .flex.gap-1.rounded-xl > button[style*="linear-gradient"],
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page a[style*="linear-gradient"][style*="var(--theme-accent)"] {
  color: #fffefa !important;
  background: #3c3932 !important;
  box-shadow: 0 3px 8px #41362512 !important;
}
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .flex.gap-1.rounded-xl > button:first-child { color: #93452f !important; background: #f8eae2 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .flex.gap-1.rounded-xl > button:first-child:hover { background: #f2dfd3 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .flex.gap-1.rounded-xl > button:first-child[style*="linear-gradient"] { color: #fff !important; background: #a45238 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .group.relative.flex.flex-col:is(.rounded-2xl, .rounded-xl) { background: #fffefa !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .group.relative.flex.flex-col.rounded-2xl:focus-within { box-shadow: var(--infr-inner-highlight), 0 0 0 2px #9a684c1c, 0 12px 28px #4136250d !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .group.relative.flex.flex-col.rounded-2xl > a > .relative { background: #f7f6f1 !important; border-color: #e7e2d8 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .group.relative.flex.flex-col.rounded-2xl > a .absolute.bottom-3 { color: #79573f !important; background: #faf2e7f2 !important; border-color: #e0cfb9 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .group.relative.flex.flex-col.rounded-2xl > a .absolute.top-3.left-3 { color: #70563d !important; background: #f4ead8f2 !important; border-color: #e0cfb3; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .group.relative.flex.flex-col.rounded-2xl .font-mono { color: #766d60 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .group.relative.flex.flex-col.rounded-2xl .text-lg.font-bold { color: #38352f !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-page .group.relative.flex.flex-col.rounded-2xl .pt-3\.5 { border-top-color: #ebe6db !important; }

/* White product photography is untouched; only its frame and UI become warm. */
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail > section:first-of-type { background: #f7f6f0 !important; border-bottom-color: #e6e0d4; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail h1 { color: #30302e; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail > section:first-of-type img.h-8.w-auto.object-contain { background: #37342f; border-color: #4d463d; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail > section:first-of-type img.h-8.w-auto.object-contain[src*="/catalog-260917/"] { background: #fff; border-color: #ded7ca; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail [class*="text-[#8BA8C8]"],
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail [style*="color: rgb(139, 168, 200)"] { color: #746b5d !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail [class*="text-[#00D4AA]"] { color: #89543b !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail [style*="color: rgb(74, 107, 138)"] { color: #7b7161 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail [style*="background: rgb(7, 12, 17)"] { background: #f0ece3 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .grid.lg\:grid-cols-2.gap-5 > .rounded-2xl { background: #fffefa !important; box-shadow: var(--infr-inner-highlight), 0 3px 12px #41362506; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .rounded-2xl > .px-5.py-3 { background: #f0ebe0 !important; border-bottom-color: #dbd0bf !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .divide-y > .flex { border-color: #e8e1d5 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .divide-y > .flex:nth-child(even) { background: #faf9f5; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .divide-y > .flex:hover { background: #f5efe4 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .divide-y > .flex > .text-xs { color: #7b7161 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .divide-y > .flex > .text-sm { color: #4b4438 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .flex.gap-2.mb-6 > button { border-color: #ded3c3 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .group.relative.rounded-2xl.cursor-default {
  --theme-text: #f5f0e8;
  --theme-text-strong: #fffefa;
  --theme-muted: #d2c7b7;
  background: #3a352e !important;
}
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .group.relative.rounded-2xl.cursor-default [class*="text-[#00D4AA]"] { color: #edc6a6 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .group.relative.rounded-2xl.cursor-default [style*="color: rgb(139, 168, 200)"] { color: #d2c7b7 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .infr-product-detail .rounded-xl.p-4.text-center { background: #f2eee4 !important; border-color: #e3d9c8 !important; }

/* Secondary-channel title protection inherits the four tuned overlay tokens. */
html[data-infr-theme="light"][data-infr-palette="warm"] section:is(.relative.py-24.px-6, .pt-28.pb-14, [class*="min-h-[540px]"], :has(> .relative.max-w-6xl.py-24.text-center)):has(h1) { background: #f4f0e7 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] section:is(.relative.py-24.px-6, .pt-28.pb-14, [class*="min-h-[540px]"], :has(> .relative.max-w-6xl.py-24.text-center)):has(h1) h1 { color: #30302e !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] section:is(.relative.py-24.px-6, .pt-28.pb-14, [class*="min-h-[540px]"], :has(> .relative.max-w-6xl.py-24.text-center)):has(h1) p[style*="var(--theme-muted)"] { color: #6b6254 !important; }

/* Form states and footer use the same paper/ink vocabulary as the content. */
html[data-infr-theme="light"][data-infr-palette="warm"] :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  background-color: #fffefa !important;
  color: #494237 !important;
  border-color: #d8cebd !important;
  box-shadow: inset 0 1px 2px #41362504 !important;
  caret-color: #89543b;
}
html[data-infr-theme="light"][data-infr-palette="warm"] :is(input, textarea)::placeholder { color: #7b7161 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] :is(input, textarea, select):focus { border-color: #ac8866 !important; background-color: #fffefa !important; box-shadow: var(--infr-inner-highlight), 0 0 0 2px #89543b17 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] select option { background: #fffefa; color: #494237; }
html[data-infr-theme="light"][data-infr-palette="warm"] :is(button, a)[style*="background: var(--theme-grad)"] { box-shadow: 0 5px 14px #41362516 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] [role="dialog"],
html[data-infr-theme="light"][data-infr-palette="warm"] [data-slot="dialog-content"] { background: #fffefa !important; color: #494237 !important; border-color: #e0d7c8 !important; box-shadow: 0 24px 80px #41362533 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .fixed.rounded-2xl.shadow-2xl.flex.flex-col { box-shadow: 0 15px 60px #41362524, 0 2px 10px #4136250a !important; border-color: #d8c9b3 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] .fixed.bottom-6.right-5 .shadow-md { background: #3c3932 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] footer { background: #f0eee6 !important; border-top-color: #d8d1c3 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] footer h4 { color: #494237 !important; }
html[data-infr-theme="light"][data-infr-palette="warm"] footer :is(a, a span):hover,
html[data-infr-theme="light"][data-infr-palette="warm"] footer a:hover svg { color: #89543b !important; }

@media (max-width: 600px) {
  html[data-infr-theme="light"][data-infr-palette="warm"] .infr-home-hero > [style*="background: var(--theme-hero-bg)"] {
    background: linear-gradient(105deg, #faf9f5f2 0%, #f8f5edd9 56%, #eee6d98c 100%) !important;
  }
  html[data-infr-theme="light"][data-infr-palette="warm"] .infr-products-hero > [style*="background: var(--theme-bg)"],
  html[data-infr-theme="light"][data-infr-palette="warm"] section:is(.relative.py-24.px-6, .pt-28.pb-14, :has(> .relative.max-w-6xl.py-24.text-center)):has(h1) > .absolute.inset-0[style*="background:"][style*="var(--theme-bg)"] {
    background: linear-gradient(180deg, #f4efe4b3 0%, #faf9f4eb 28%, #f8f5edeb 78%, #ebe3d6a6 100%) !important;
  }
}
