:root {
  --ink: #1a1613;
  --espresso: #211a16;
  --cream: #f7f2e9;
  --paper: #eee6da;
  --sand: #c8bbab;
  --copper: #cf7140;
  --copper-dark: #a64e28;
  --white: #fffaf3;
  --ease: cubic-bezier(.32,.72,0,1);
  --catalog-content: min(1440px, calc(100vw - 72px));
  --font-title: "Noto Sans SC","Source Han Sans SC","Microsoft YaHei",sans-serif;
  --font-body: "Noto Sans SC","Source Han Sans SC","Microsoft YaHei",sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.7 var(--font-body); }
body.has-inquiry-bar { padding-bottom: 112px; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
svg { width: 1.1em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
[hidden], [data-product-card][hidden] { display: none !important; }
.catalog-wrap { width: var(--catalog-content); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--white); border-radius: 999px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 22px; border: 1px solid transparent; border-radius: 999px; background: transparent; font-weight: 700; line-height: 1.2; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--copper); color: #1d120d; }
.button-primary:hover { background: #de8050; }
.button-secondary { border-color: rgba(26,22,19,.3); background: rgba(255,250,243,.58); }
.button-secondary:hover { border-color: var(--copper-dark); }

.site-header { position: fixed; inset: 16px 0 auto; z-index: 50; pointer-events: none; }
.site-nav { width: var(--catalog-content); min-height: 68px; margin: 0 auto; padding: 8px 10px 8px 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; border: 1px solid rgba(255,250,243,.55); border-radius: 20px; background: rgba(247,242,233,.92); box-shadow: 0 18px 50px rgba(33,26,22,.10); backdrop-filter: blur(18px); pointer-events: auto; }
.brand { width: 154px; display: inline-flex; align-items: center; }
.brand img { width: 100%; height: 42px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(18px,2.4vw,38px); font-size: 14px; font-weight: 700; }
.desktop-nav a { position: relative; padding: 11px 0; }
.desktop-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--copper); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-control select { min-height: 42px; max-width: 112px; padding: 0 30px 0 12px; border: 0; background: transparent; font-size: 13px; }
.nav-cta { min-height: 46px; padding-inline: 18px; font-size: 14px; }
.menu-toggle { width: 46px; height: 46px; display: none; align-content: center; justify-items: center; gap: 5px; border: 1px solid var(--sand); border-radius: 50%; background: var(--white); }
.menu-toggle > span:not(.sr-only) { width: 18px; height: 1px; background: var(--ink); }
.mobile-nav { width: min(560px, calc(100vw - 32px)); margin: 8px auto 0; padding: 16px; display: grid; gap: 4px; border-radius: 20px; background: var(--cream); box-shadow: 0 20px 50px rgba(33,26,22,.18); pointer-events: auto; }
.mobile-nav > a:not(.button) { padding: 11px 10px; border-bottom: 1px solid rgba(33,26,22,.1); }

.section-index { margin: 0 0 18px; color: var(--copper-dark); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 64px; margin-bottom: 42px; }
.section-heading h2, .more-heading h2, .results-heading h2, .rfq-preview h2 { margin: 0; font: 700 clamp(36px,4vw,62px)/1.08 var(--font-title); letter-spacing: -.04em; }
.section-heading > p, .more-heading > p { max-width: 620px; margin: 0; color: #635a52; }

.catalog-hero { min-height: 570px; display: grid; align-items: center; overflow: hidden; background: radial-gradient(circle at 76% 30%, rgba(207,113,64,.16), transparent 34%), linear-gradient(145deg,#f8f3eb,#ece2d5); }
.hero-layout { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(36px,6vw,92px); padding: 122px 0 54px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 760px; margin: 0; font: 720 clamp(43px,4.4vw,72px)/1.08 var(--font-title); letter-spacing: -.055em; }
.hero-copy > p { max-width: 680px; margin: 26px 0 32px; color: #5f554d; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; height: 390px; }
.hero-product { position: absolute; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 26px; background: rgba(255,250,243,.7); box-shadow: 0 25px 70px rgba(58,38,27,.16); }
.hero-product img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.hero-product-1 { inset: 0 34% 14% 0; transform: rotate(-3deg); }
.hero-product-2 { inset: 9% 1% 30% 58%; transform: rotate(4deg); }
.hero-product-3 { inset: 56% 0 0 56%; transform: rotate(-2deg); }
.hero-product-4 { inset: 58% 48% 0 20%; transform: rotate(3deg); }

.catalog-collections { padding: 86px 0 66px; }
.catalog-collections .section-heading { margin-bottom: 30px; }
.category-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.category-card { position: relative; min-width: 0; height: 210px; overflow: hidden; border-radius: 18px; background: var(--paper); color: var(--white); isolation: isolate; }
.category-card > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: transform .55s var(--ease), filter .55s var(--ease); }
.category-card:hover > img { transform: scale(1.035); filter: saturate(1); }
.category-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg,rgba(26,22,19,.04) 28%,rgba(26,22,19,.86)); }
.category-copy { position: absolute; inset: auto 14px 13px; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3px 9px; }
.category-copy small { grid-column: 1 / -1; color: #f4ad82; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.category-copy strong { font: 700 clamp(16px,1.25vw,19px)/1.18 var(--font-title); }
.category-copy i { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.46); border-radius: 50%; font-style: normal; }
.category-copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.category-card:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.product-toolbar { margin: 0 0 28px; padding: 18px; border: 1px solid #ddd2c5; border-radius: 18px; background: rgba(255,250,243,.58); }
.toolbar-shell { display: grid; grid-template-columns: minmax(260px,440px) 1fr auto; align-items: center; gap: 14px 18px; }
.search-field { position: relative; display: grid; gap: 5px; font-size: 12px; font-weight: 800; }
.search-field input, .drawer-search input { width: 100%; height: 44px; padding: 0 42px 0 15px; border: 1px solid #d5cabd; border-radius: 11px; background: var(--white); }
.search-field svg { position: absolute; right: 14px; bottom: 14px; }
.desktop-filters { grid-column: 1 / -1; min-width: 0; display: grid; gap: 9px; padding-top: 2px; }
.filter-group { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 0; padding: 0; border: 0; }
.filter-group legend { float: left; min-width: 68px; margin-right: 5px; color: #675d55; font-size: 12px; font-weight: 800; }
.filter-group label { display: inline-flex; }
.filter-group input { position: absolute; opacity: 0; pointer-events: none; }
.filter-group span { min-height: 32px; display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid #d5cabd; border-radius: 999px; background: rgba(255,250,243,.72); font-size: 12px; font-weight: 700; line-height: 1.25; }
.filter-group input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.filter-group input:focus-visible + span { outline: 3px solid var(--copper); outline-offset: 2px; }
.toolbar-status { justify-self: end; min-width: 80px; font-size: 12px; text-align: right; }
.toolbar-status span { font-weight: 800; }
.active-filter-row { grid-column: 1 / -1; min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid #e2d8cc; }
.active-filter-label { color: #675d55; font-size: 12px; font-weight: 800; }
.active-filters { min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters [data-active-filter] { min-height: 30px; display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px 4px 11px; border: 1px solid #cfc1b2; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 700; }
.active-filters [data-active-filter] > span:last-child { color: var(--copper-dark); font-size: 16px; line-height: 1; }
.active-filter-empty { color: #81756b; font-size: 12px; }
.active-filter-row > [data-clear-filters], [data-clear-inquiry] { padding: 0; border: 0; background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.open-filters { display: none; }

.product-results { padding: 68px 0 112px; scroll-margin-top: 112px; }
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.results-heading h2 { font-size: clamp(38px,4.4vw,58px); }
.results-heading > p { margin: 0; color: #6e635a; }
.product-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px 12px; }
.product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ddd2c5; border-radius: 19px; background: rgba(255,250,243,.76); box-shadow: 0 10px 28px rgba(53,39,30,.045); }
.product-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.025); }
.product-image-fallback { width: 100%; height: 100%; display: grid; place-items: center; padding: 24px; background: linear-gradient(145deg,#e9ded0,#f8f3eb); color: #5d5047; text-align: center; font-weight: 800; }
.product-copy { flex: 1; display: flex; flex-direction: column; padding: 14px; }
.product-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.product-meta { margin: 0 0 4px; color: var(--copper-dark); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.product-card h3 { display: -webkit-box; min-height: 2.56em; margin: 0; overflow: hidden; font: 700 clamp(17px,1.25vw,20px)/1.28 var(--font-title); letter-spacing: -.025em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-model { flex: 0 0 auto; margin: 1px 0 0; padding: 3px 7px; border-radius: 999px; background: var(--paper); font-size: 10px; font-weight: 800; }
.product-card dl { margin: 12px 0 14px; display: grid; gap: 4px; }
.product-card dl div { display: grid; grid-template-columns: 58px 1fr; gap: 8px; padding-top: 6px; border-top: 1px solid #e1d8cc; font-size: 12px; line-height: 1.4; }
.product-card dt { color: #81756b; }
.product-card dd { margin: 0; font-weight: 650; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product-actions .button { min-height: 38px; padding: 8px 9px; font-size: 12px; }
.empty-results { padding: 70px 24px; border: 1px dashed var(--sand); border-radius: 22px; text-align: center; }
.empty-results h3 { margin: 0; font: 700 32px/1.2 var(--font-title); }
.empty-results > p:not(.section-index) { color: #6d6259; }
.empty-actions { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }

.buyer-guidance { padding: 98px 0 118px; border-top: 1px solid #ddd2c5; }
.guidance-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.guidance-list article { min-height: 290px; padding: 28px; display: flex; flex-direction: column; border: 1px solid #d8cec1; border-radius: 22px; background: rgba(255,250,243,.55); }
.guidance-list article > span { color: var(--copper-dark); font-size: 12px; font-weight: 800; }
.guidance-list h3 { margin: 38px 0 12px; font: 700 25px/1.3 var(--font-title); }
.guidance-list p { margin: 0; color: #665b52; }
.guidance-list a { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 9px; font-weight: 800; }

.rfq-preview { padding: 110px 0 0; background: var(--espresso); color: var(--white); }
.rfq-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(42px,7vw,110px); padding-bottom: 100px; }
.rfq-preview .section-index { color: #e69364; }
.rfq-preview h2 { font-size: clamp(42px,5vw,70px); }
.rfq-preview p { color: #c9beb3; }
.rfq-preview form { padding: 30px; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: rgba(255,255,255,.055); }
.rfq-preview label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; }
.rfq-preview input, .rfq-preview textarea { width: 100%; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(0,0,0,.16); color: var(--white); }
.rfq-preview input { height: 46px; padding: 0 13px; }
.rfq-preview textarea { min-height: 92px; padding: 12px 13px; resize: vertical; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 20px; }
.rfq-preview form > p { margin: 14px 0 0; font-size: 12px; }
.site-footer { padding: 68px 0 24px; border-top: 1px solid rgba(255,255,255,.12); background: var(--espresso); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 42px; }
.footer-grid > div { display: grid; align-content: start; gap: 9px; }
.footer-grid img { width: 170px; filter: brightness(0) invert(1); }
.footer-grid p { max-width: 360px; margin: 12px 0 0; }
.footer-grid strong { margin-bottom: 6px; }
.footer-grid a { color: #c9beb3; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #a99d92; font-size: 12px; }

.inquiry-bar { position: fixed; left: 50%; bottom: 20px; z-index: 45; width: min(680px,calc(100vw - 40px)); transform: translateX(-50%); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(33,26,22,.96); color: var(--white); box-shadow: 0 18px 70px rgba(17,12,9,.3); backdrop-filter: blur(16px); }
.inquiry-summary { width: 100%; min-height: 54px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; border: 0; background: transparent; color: inherit; font-weight: 800; }
.inquiry-items { max-height: 180px; overflow: auto; padding: 0 16px 12px; }
.inquiry-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.inquiry-item-image { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; border-radius: 8px; background: var(--white); }
.inquiry-item > span { min-width: 0; flex: 1; }
.inquiry-item button { border: 0; background: transparent; color: #f0a176; text-decoration: underline; }
.inquiry-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 10px 14px; border-top: 1px solid rgba(255,255,255,.12); }
.inquiry-actions .button { min-height: 42px; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(26,22,19,.48); }
.filter-drawer { position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(430px,100vw); padding: 22px; overflow-y: auto; background: var(--cream); box-shadow: -20px 0 70px rgba(33,26,22,.2); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer-header h2 { margin: 0; font: 700 30px/1.2 var(--font-title); }
.drawer-header button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--sand); border-radius: 50%; background: var(--white); }
.drawer-search { display: grid; gap: 7px; margin-bottom: 22px; font-size: 13px; font-weight: 800; }
.filter-drawer .filter-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0; }
.filter-drawer .filter-group legend { float: none; grid-column: 1 / -1; margin: 0 0 4px; font-size: 14px; }
.filter-drawer .filter-group span { width: 100%; justify-content: center; }
.drawer-actions { position: sticky; bottom: -22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px -22px -22px; padding: 14px 22px; border-top: 1px solid #ddd2c5; background: var(--cream); }
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 9px; }
.whatsapp span { padding: 8px 12px; border-radius: 999px; background: var(--white); box-shadow: 0 8px 24px rgba(33,26,22,.12); font-size: 12px; font-weight: 800; }
.whatsapp b { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #275d45; color: white; font-size: 13px; }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .site-nav { grid-template-columns: auto 1fr; }
  .nav-actions { justify-content: end; }
  .menu-toggle { display: grid; }
  .language-control { display: none; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  :root { --catalog-content: min(calc(100% - 32px),680px); }
  .site-header { top: 10px; }
  .site-nav { min-height: 62px; padding: 7px 8px 7px 14px; border-radius: 17px; }
  .brand { width: 132px; }
  .nav-cta { display: none; }
  .catalog-hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 28px; padding: 110px 0 48px; }
  .hero-copy h1 { font-size: clamp(40px,8vw,58px); }
  .hero-media { height: 330px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .toolbar-shell { grid-template-columns: 1fr auto auto; }
  .desktop-filters { display: none; }
  .open-filters { display: inline-flex; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guidance-list { grid-template-columns: 1fr; }
  .guidance-list article { min-height: 230px; }
  .rfq-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 600px) {
  :root { --catalog-content: calc(100% - 28px); }
  body { font-size: 16px; }
  body.has-inquiry-bar { padding-bottom: 142px; }
  .site-nav { width: calc(100% - 20px); }
  .brand { width: 128px; }
  .hero-layout { padding-top: 100px; }
  .hero-copy h1 { font-size: 40px; line-height: 1.12; }
  .hero-copy h1 br { display: none; }
  .hero-copy > p { margin: 20px 0 25px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-media { height: 280px; }
  .hero-product { border-radius: 18px; }
  .section-heading h2, .more-heading h2, .results-heading h2, .rfq-preview h2 { font-size: 37px; }
  .catalog-collections { padding-top: 78px; }
  .category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
  .category-card { height: 112px; border-radius: 12px; }
  .category-copy { inset: auto 7px 7px; display: block; }
  .category-copy small, .category-copy i { display: none; }
  .category-copy strong { font-size: 14px; line-height: 1.25; }
  .toolbar-shell { grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .search-field span { display: none; }
  .search-field input { height: 44px; }
  .toolbar-status { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .active-filter-row { grid-template-columns: 1fr auto; }
  .active-filter-label { grid-column: 1 / -1; }
  .product-results { padding-top: 54px; scroll-margin-top: 160px; }
  .results-heading { align-items: start; }
  .results-heading > p { padding-top: 9px; font-size: 13px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 8px; }
  .product-card h3 { display: block; min-height: 0; overflow: visible; -webkit-line-clamp: unset; }
  .product-copy { padding: 12px; }
  .product-heading { display: block; }
  .product-model { display: inline-flex; margin-top: 7px; }
  .product-actions { grid-template-columns: 1fr; }
  .empty-actions { flex-direction: column; }
  .buyer-guidance { padding: 74px 0 90px; }
  .rfq-preview { padding-top: 82px; }
  .rfq-layout { padding-bottom: 76px; }
  .rfq-preview form { padding: 20px; }
  .preview-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
  .inquiry-bar { left: 14px; right: 14px; bottom: 14px; width: auto; transform: none; border-radius: 17px; }
  .whatsapp { right: 14px; bottom: 82px; }
  body.has-inquiry-bar .whatsapp { bottom: 144px; }
  .whatsapp span { display: none; }
  .filter-drawer { width: 100%; }
}

@media (hover: none) {
  .product-card:hover .product-media img, .category-card:hover > img { transform: none; }
}

@media (min-width: 1680px) {
  .product-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
}

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