/* ============================================================
   Largo Camino 展示站样式
   SECTION: base */
:root {
  --ink: #1c1c1a;
  --paper: #f5f3ed;
  --warm-white: #fbfaf7;
  --sand: #e6dfd3;
  --clay: #a65339;
  --gold: #b3905e;
  --green: #21372f;
  --line: rgba(28, 28, 26, 0.19);
  --display: "Manrope", "Noto Sans SC", sans-serif;
  --body: "Noto Sans SC", "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
img { max-width: 100%; }

/* SECTION: header */
.announcement { min-height: 36px; padding: 9px 3.4vw; display: flex; justify-content: space-between; gap: 16px; background: var(--ink); color: #f1eee7; font: 10px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.announcement-copy { margin-left: auto; opacity: .7; }
.announcement a { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.site-header { min-height: 86px; padding: 0 3.4vw; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--paper); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font: 700 17px/.9 var(--display); letter-spacing: .04em; }
.brand-name small { display: block; margin-top: 4px; font: 500 8px/1 var(--mono); letter-spacing: .3em; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a { padding: 12px 0 9px; position: relative; font-size: 13px; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; height: 1px; width: 0; bottom: 5px; left: 0; background: var(--ink); transition: width .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-action, .text-link { font-size: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; white-space: nowrap; }
.lang-switch { display: flex; border: 1px solid var(--line); }
.lang-switch button { padding: 6px 9px; border: 0; background: transparent; font: 10px/1 var(--mono); letter-spacing: .04em; color: #6d6c66; transition: background .2s, color .2s; }
.lang-switch button.active { color: var(--warm-white); background: var(--ink); }
.menu-button { display: none; width: 38px; height: 38px; border: 0; background: transparent; padding: 10px 6px; }
.menu-button span { height: 1.5px; background: var(--ink); display: block; margin: 6px 0; transition: transform .2s ease; }

/* SECTION: hero */
.hero { display: grid; grid-template-columns: 47% 53%; grid-template-rows: 1fr auto; position: relative; overflow: hidden; background: var(--sand); }
.hero-copy { grid-row: 1; padding: clamp(46px, 6.5vw, 100px) 5vw 56px 7.3vw; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 22px; color: #4c4c47; font: 10px/1.3 var(--mono); letter-spacing: .11em; }
.hero h1 { margin-bottom: 25px; font: 700 clamp(44px, 5vw, 82px)/.98 var(--display); letter-spacing: -.09em; }
h1 em, h2 em { font-style: normal; color: var(--clay); }
.hero-description { width: min(330px, 100%); margin-bottom: 34px; color: #52514c; font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.button { border: 1px solid transparent; min-height: 45px; padding: 0 18px; display: inline-flex; gap: 16px; justify-content: center; align-items: center; font-weight: 600; font-size: 12px; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-dark { color: var(--warm-white); background: var(--ink); }
.button-light { color: var(--ink); background: var(--warm-white); }
.button-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--warm-white); background: var(--ink); }
.hero-visual { grid-row: 1; min-height: 420px; position: relative; overflow: hidden; background: #f5ead9; }
.hero-carousel { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.active { opacity: 1; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 3.5%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid #a08768; border-radius: 50%; background: rgba(255,255,255,.6); transition: background .25s, border-color .25s, transform .25s; }
.hero-dots button.active { background: #7c5c3a; border-color: #7c5c3a; transform: scale(1.25); }
.hero-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; color: #4a3822; background: rgba(255,255,255,.82); box-shadow: 0 3px 12px rgba(60, 40, 20, .18); font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.hero-arrow:hover { color: #fff; background: #7c5c3a; transform: translateY(-50%) scale(1.08); }
.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }
.visual-label { position: absolute; margin: 0; font: 10px/1.35 var(--mono); letter-spacing: .07em; color: #35302b; z-index: 2; }
.label-top { top: 8%; right: 9%; } .label-bottom { bottom: 10%; left: 9%; }
.hero-stamp { position: absolute; z-index: 2; width: 74px; aspect-ratio: 1; right: 6%; bottom: 16%; display: grid; place-items: center; border: 1px solid rgba(179,144,94,.6); border-radius: 50%; background: rgba(251,250,247,.75); transform: rotate(12deg); }
.hero-stamp img { width: 60%; height: auto; }
.hero-footer { grid-column: 1 / -1; grid-row: 2; padding: 14px 7.3vw; display: flex; align-items: center; gap: 13px; color: #f1eee7; background: rgba(28,28,26,.92); font: 10px/1.5 var(--mono); letter-spacing: .06em; }

/* SECTION: sections common */
.intro-section { max-width: 1280px; margin: 0 auto; padding: clamp(90px, 12vw, 170px) 8vw; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.intro-section h2, .section-heading h2, .craft-section h2 { margin-bottom: 0; font: 700 clamp(32px, 3.8vw, 54px)/1.14 var(--display); letter-spacing: -.075em; }
.intro-section h2 span:last-child, .intro-section h2 > span:nth-of-type(2) { color: var(--clay); }
.intro-section > p:last-child { margin-bottom: 8px; color: #5c5b55; font-size: 14px; line-height: 2; }
.collections-section, .featured-section { padding: 0 3.4vw clamp(90px, 10vw, 150px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 35px; gap: 25px; flex-wrap: wrap; }
.section-heading .eyebrow { margin-bottom: 15px; }

/* SECTION: collections */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-card { min-height: 430px; padding: 18px; position: relative; overflow: hidden; color: var(--ink); display: block; }
.category-men { background: #c1c3bb; } .category-women { background: #d8c4b6; } .category-kids { background: #c8bd9f; }
.category-number { font: 10px/1 var(--mono); }
.category-art { position: absolute; width: 72%; height: 78%; left: 14%; top: 4%; object-fit: contain; transition: transform .45s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(17px 21px 12px rgba(0,0,0,.16)); }
.category-card:hover .category-art { transform: translateY(-12px) rotate(-4deg); }
.category-bottom { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.category-bottom h3 { grid-column: 1; margin: 0 0 8px; font: 700 30px/1 var(--display); letter-spacing: -.075em; }
.category-bottom span { grid-column: 1; color: #4d4d48; font: 9px/1 var(--mono); letter-spacing: .1em; }
.category-bottom i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 18px; font-style: normal; }

/* SECTION: featured toolbar */
.featured-section { background: var(--warm-white); padding-top: clamp(70px, 8vw, 120px); }
.filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-tab { padding: 7px 12px; border: 0; color: #63625c; background: transparent; font-size: 12px; transition: background .2s, color .2s; }
.filter-tab:hover, .filter-tab.active { color: var(--warm-white); background: var(--ink); }
.tab-count { margin-left: 6px; font: 9px/1 var(--mono); opacity: .62; }
.catalogue-toolbar { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.search-box { flex: 1 1 260px; max-width: 380px; min-height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s ease; }
.search-box:focus-within { border-color: var(--ink); }
.search-icon { font-size: 17px; line-height: 1; opacity: .55; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 14px; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-clear { width: 22px; height: 22px; flex-shrink: 0; border: 0; border-radius: 50%; color: var(--warm-white); background: var(--line); font-size: 15px; line-height: 1; }
.search-clear:hover { background: var(--ink); }
.toolbar-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.result-count { margin: 0; color: #6d6c66; font: 10px/1.4 var(--mono); letter-spacing: .04em; }
.sort-box { display: flex; align-items: center; gap: 8px; color: #6d6c66; font-size: 12px; }
.sort-box select { padding: 9px 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 13px; }
.adv-toggle { padding: 9px 12px; border: 1px solid var(--line); background: var(--paper); font-size: 12px; display: inline-flex; align-items: center; gap: 7px; }
.adv-toggle:hover { border-color: var(--ink); }
.adv-dot { color: var(--clay); font-size: 9px; }
.print-button { padding: 9px 12px; border: 1px solid var(--ink); background: transparent; font-size: 12px; display: inline-flex; align-items: center; gap: 7px; transition: background .2s, color .2s; }
.print-button:hover { background: var(--ink); color: var(--warm-white); }
.adv-panel { margin-bottom: 26px; padding: 16px; display: flex; gap: 18px; flex-wrap: wrap; align-items: end; border: 1px dashed var(--line); background: var(--paper); }
.adv-group { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: #6d6c66; }
.adv-group select { min-width: 120px; padding: 8px; border: 1px solid var(--line); background: var(--warm-white); font-size: 13px; }
.adv-clear { padding: 8px 12px; border: 0; background: transparent; color: var(--clay); font-size: 12px; border-bottom: 1px solid currentColor; }
#product-grid[hidden], .grid-empty[hidden], .search-clear[hidden], .adv-panel[hidden], .quote-badge[hidden], .adv-dot[hidden] { display: none !important; }

/* SECTION: product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 12px; }
.product-card { min-width: 0; cursor: pointer; }
.product-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.product-image { height: clamp(225px, 24vw, 330px); position: relative; overflow: hidden; background: #ffffff; }
.product-card:nth-child(2n) .product-image { background: #ffffff; }
.product-card:nth-child(3n) .product-image { background: #ffffff; }
.product-card:nth-child(5n) .product-image { background: #ffffff; }
.product-image.img-failed { display: grid; place-items: center; }
.product-image.img-failed::after { content: "—"; color: #8a8880; font: 16px/1 var(--mono); }
.real-product-image { width: 100%; height: 100%; display: block; padding: 10px; object-fit: contain; }
.image-badge { position: absolute; z-index: 2; top: 9px; left: 9px; padding: 4px 7px; color: var(--warm-white); background: rgba(28, 28, 26, .78); font: 9px/1 var(--mono); letter-spacing: .06em; }
.card-quote { position: absolute; z-index: 3; top: 8px; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(251,250,247,.94); color: var(--ink); font-size: 17px; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.14); transition: background .2s, color .2s, transform .2s; }
.card-quote:hover { transform: scale(1.1); }
.card-quote.added { background: var(--gold); color: #fff; }
.quick-view { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 8px 0; color: var(--ink); background: rgba(251, 250, 247, .93); text-align: center; font: 9px/1 var(--mono); letter-spacing: .1em; opacity: 0; transform: translateY(100%); transition: opacity .22s ease, transform .22s ease; }
.product-card:hover .quick-view, .product-card:focus-within .quick-view { opacity: 1; transform: translateY(0); }
.product-meta { padding: 14px 2px 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; }
.product-meta h3 { margin: 0; font: 600 14px/1.4 var(--body); }
.product-meta span { color: #6d6c66; font: 10px/1.7 var(--mono); letter-spacing: .04em; }
.product-meta button { grid-column: 2; grid-row: 1 / 3; width: 31px; height: 31px; border: 1px solid var(--line); background: transparent; font-size: 16px; transition: color .2s, background .2s; }
.product-meta button:hover { color: var(--warm-white); background: var(--ink); }

/* SECTION: empty state */
.grid-empty { padding: 90px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; border: 1px dashed var(--line); text-align: center; }
.empty-title { margin: 0; font: 700 24px/1.2 var(--display); letter-spacing: -.05em; }
.empty-hint { margin: 0 0 12px; max-width: 420px; color: #6d6c66; font-size: 13px; line-height: 1.8; }
.featured-footer { margin-top: 72px; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); gap: 30px; flex-wrap: wrap; }
.featured-footer p { margin: 0; color: #5b5a54; font-size: 13px; }

/* SECTION: craft */
.craft-section { padding: clamp(100px, 12vw, 170px) 8vw; background: #e7e1d7; }
.craft-intro { display: grid; grid-template-columns: 1fr 1fr; }
.craft-list { margin-top: 70px; border-top: 1px solid var(--line); }
.craft-item { min-height: 130px; padding: 22px 0; display: grid; grid-template-columns: 16% 31% 1fr; align-items: start; border-bottom: 1px solid var(--line); }
.craft-item span { font: 10px/1.5 var(--mono); }
.craft-item h3 { margin: 0; font: 600 22px/1.2 var(--display); letter-spacing: -.055em; }
.craft-item p { max-width: 430px; margin: 0; color: #5b5a54; font-size: 13px; line-height: 1.85; }
.factory-statements { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); }
.factory-statements p { display: flex; flex-direction: column; gap: 13px; margin: 0; }
.factory-statements strong { font: 700 clamp(36px, 3.8vw, 52px)/1 var(--display); letter-spacing: -.08em; color: var(--gold); }
.factory-statements span { color: #63615a; font-size: 12px; }

/* SECTION: contact */
.contact-section { padding: clamp(100px, 12vw, 160px) 8vw; background: var(--clay); color: #fff9f2; }
.contact-heading h2 { margin-bottom: 60px; font: 700 clamp(36px, 4.8vw, 70px)/1.06 var(--display); letter-spacing: -.08em; }
.contact-heading .eyebrow { color: #ffe3d4; }
.contact-heading h2 em { color: #f3c4a6; }
.inquiry-form { max-width: 860px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 25px; }
.inquiry-form label { display: flex; flex-direction: column; gap: 9px; color: #ffe5d6; font-size: 12px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(255,249,242,.55); outline: none; color: #fff9f2; background: transparent; font-size: 16px; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: rgba(255,249,242,.55); }
.inquiry-form select option { color: var(--ink); }
.inquiry-form textarea { resize: vertical; }
.full-width { grid-column: 1 / -1; }
.form-footer { margin-top: 10px; padding-top: 21px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,249,242,.45); gap: 20px; flex-wrap: wrap; }
.form-footer p { margin: 0; color: #ffdfcf; font-size: 12px; }
.form-footer .button { background: #fff9f2; color: var(--clay); }

/* SECTION: footer */
.site-footer { min-height: 160px; padding: 44px 3.4vw 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; background: var(--ink); color: #f5f0e7; }
.site-footer .brand-logo { filter: brightness(0) invert(1); height: 40px; }
.site-footer p { margin: 8px 0 0; color: #b9b7ae; font-size: 12px; }
.site-footer > div { grid-column: 1 / -1; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid #50504b; color: #aaa9a2; font: 9px/1 var(--mono); }
.site-footer > div a { color: #f5f0e7; }

/* SECTION: product dialog */
.product-dialog { width: min(820px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; padding: 0; border: 0; color: var(--ink); background: var(--warm-white); box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.product-dialog::backdrop { background: rgba(22, 22, 20, .65); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; z-index: 4; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--ink); background: var(--warm-white); font-size: 24px; line-height: 1; }
.dialog-nav { position: absolute; z-index: 3; top: 50%; width: 38px; height: 38px; transform: translateY(-50%); border: 0; border-radius: 50%; color: var(--ink); background: rgba(251, 250, 247, .92); box-shadow: 0 3px 12px rgba(0, 0, 0, .16); font-size: 23px; line-height: 1; transition: background .2s, color .2s; }
.dialog-nav:hover:not(:disabled) { color: var(--warm-white); background: var(--ink); }
.dialog-nav:disabled { opacity: .28; cursor: default; }
.dialog-prev { left: 12px; } .dialog-next { right: 12px; }
.dialog-art { position: relative; width: 44%; float: left; min-height: 430px; overflow: hidden; background: #ffffff; }
.dialog-art .dialog-main-image { height: 430px; width: 100%; padding: 0; object-fit: contain; cursor: zoom-in; }
.tint-tag { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 5px 9px; background: rgba(28,28,26,.8); color: #fff; font: 9px/1.4 var(--mono); }
.zoom-button { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 7px 11px; border: 0; color: var(--warm-white); background: rgba(28, 28, 26, .74); font: 10px/1 var(--mono); letter-spacing: .06em; transition: background .2s; }
.zoom-button:hover { background: var(--ink); }
.dialog-copy { padding: 60px 40px 40px; margin-left: 44%; }
.dialog-copy h2 { margin-bottom: 18px; font: 700 30px/1.1 var(--display); letter-spacing: -.065em; }
.dialog-counter { margin-left: 12px; font: 10px/1 var(--mono); opacity: .72; }
.param-list { margin: 0 0 22px; padding: 0; list-style: none; }
.param-list li { padding: 8px 0; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); font-size: 12px; }
.param-list li span { color: #77756e; }
.param-list li strong { text-align: right; font-weight: 600; }
.color-row { margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch { padding: 5px 8px 5px 5px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--warm-white); font-size: 11px; transition: border-color .2s, box-shadow .2s; }
.color-swatch:hover { border-color: var(--ink); }
.color-swatch.active { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.swatch-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.dialog-thumbnails { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; }
.dialog-thumbnail { width: 48px; height: 48px; padding: 0; overflow: hidden; border: 1px solid transparent; background: #e9e6df; }
.dialog-thumbnail.active { border-color: var(--ink); }
.dialog-thumbnail img { width: 100%; height: 100%; display: block; object-fit: cover; }
.dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dialog-actions .button.is-added { background: var(--gold); }
.dialog-hint { margin: 0; color: #8a887f; font: 9px/1.5 var(--mono); letter-spacing: .05em; }

/* SECTION: lightbox */
.lightbox { width: min(1180px, calc(100vw - 32px)); max-width: calc(100vw - 32px); margin: auto; padding: 0; border: 0; background: transparent; color: var(--warm-white); }
.lightbox::backdrop { background: rgba(18, 18, 16, .94); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: calc(100vh - 150px); display: block; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--ink); background: var(--warm-white); font-size: 26px; line-height: 1; }
.lightbox-caption { margin: 14px 2px 0; font: 10px/1.6 var(--mono); letter-spacing: .08em; }

/* SECTION: quote drawer */
.quote-float { position: fixed; z-index: 65; right: 22px; bottom: 22px; min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 26px; color: var(--warm-white); background: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.28); font-size: 13px; font-weight: 600; transition: transform .2s; }
.quote-float:hover { transform: translateY(-3px); }
.quote-badge { min-width: 21px; height: 21px; padding: 0 5px; display: grid; place-items: center; border-radius: 11px; background: var(--gold); color: #fff; font: 11px/1 var(--mono); }
.quote-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); height: 100vh; max-height: 100vh; margin: 0 auto 0 0; padding: 0; border: 0; color: var(--ink); background: var(--warm-white); box-shadow: -12px 0 40px rgba(0,0,0,.25); }
.quote-drawer::backdrop { background: rgba(22,22,20,.45); }
.quote-head { padding: 22px 22px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.quote-head h2 { margin: 0; font: 700 20px/1.2 var(--display); letter-spacing: -.04em; }
.quote-head .dialog-close { position: static; width: 32px; height: 32px; background: var(--sand); }
.quote-body { max-height: calc(100vh - 220px); overflow: auto; padding: 10px 22px; }
.quote-item { padding: 14px 0; display: grid; grid-template-columns: 56px 1fr auto auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.quote-item img { width: 56px; height: 56px; object-fit: cover; background: #e9e6df; }
.quote-info strong { display: block; font: 600 13px/1.4 var(--mono); }
.quote-info span { color: #77756e; font-size: 11px; }
.quote-qty { display: flex; flex-direction: column; gap: 3px; font: 9px/1.3 var(--mono); color: #77756e; }
.quote-qty input { width: 86px; padding: 6px 8px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; }
.quote-remove { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: #8a887f; font-size: 17px; }
.quote-remove:hover { background: var(--sand); color: var(--ink); }
.quote-empty { padding: 30px 22px; margin: 0; color: #8a887f; font-size: 13px; text-align: center; }
.quote-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); background: var(--warm-white); }
.quote-foot .text-link { border-color: var(--line); color: #77756e; font-size: 12px; }

/* SECTION: toast */
.toast { position: fixed; z-index: 70; left: 50%; bottom: 86px; max-width: calc(100vw - 32px); padding: 15px 19px; color: #fff; background: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 13px; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .3s, transform .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* SECTION: reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* SECTION: print area */
.print-area { display: none; }
/* SECTION: contact layout & category view */
.contact-layout { display: grid; grid-template-columns: minmax(0, 860px) minmax(250px, 360px); gap: 60px; align-items: start; }
.contact-info { border-left: 1px solid rgba(255, 249, 242, .35); padding-left: 34px; }
.contact-info h3 { margin-bottom: 24px; font: 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #ffe3d4; }
.contact-info ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 22px; }
.contact-info li { display: flex; flex-direction: column; gap: 7px; }
.contact-info li span { font: 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.contact-info li strong { font-size: 14px; font-weight: 600; line-height: 1.55; letter-spacing: .01em; }
.contact-info a { border-bottom: 1px solid rgba(255, 249, 242, .5); }

.category-view { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--paper); }
.category-view[hidden] { display: none; }
.category-view-bar { flex-shrink: 0; display: flex; align-items: center; gap: 22px; min-height: 80px; padding: 14px 3.4vw; border-bottom: 1px solid var(--line); background: var(--warm-white); }
.category-view-bar h2 { margin: 0; font: 700 clamp(22px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -.04em; }
.category-view-count { margin-left: auto; font: 10px/1 var(--mono); letter-spacing: .08em; color: rgba(28, 28, 26, .6); }
.category-view-body { flex: 1; overflow-y: auto; padding: 40px 3.4vw 100px; }
body.view-open { overflow: hidden; }

@media print {
  body > *:not(.print-area) { display: none !important; }
  .print-area { display: block !important; padding: 10mm 12mm; }
  @page { margin: 0; }
}
.print-head { padding-bottom: 12px; display: flex; justify-content: space-between; align-items: end; gap: 20px; border-bottom: 2px solid #1c1c1a; }
.print-brand { display: flex; align-items: center; gap: 14px; }
.print-brand img { width: 56px; height: auto; }
.print-head h1 { margin: 0 0 4px; font: 700 24px/1.2 var(--display); }
.print-contact { margin: 0; font: 9px/1.6 var(--body); color: #333; }
.print-meta { margin: 0; text-align: right; font: 9px/1.7 var(--mono); }
.print-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.print-card { border: 1px solid #c8c5bd; padding: 6px; break-inside: avoid; }
.print-card img { width: 100%; height: 130px; object-fit: contain; background: #ffffff; }
.print-code { margin-top: 5px; font: 700 12px/1.3 var(--mono); }
.print-params { display: flex; flex-wrap: wrap; gap: 3px 8px; font: 8px/1.5 var(--mono); color: #444; }

/* SECTION: responsive */
@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav { gap: 16px; }
}
@media (max-width: 800px) {
  .announcement { padding-inline: 20px; }
  .announcement-copy { display: none; }
  .site-header { min-height: 70px; padding-inline: 20px; flex-wrap: wrap; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; display: none; margin: 0; padding: 14px 20px 19px; flex-direction: column; align-items: flex-start; gap: 3px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0,0,0,.05); }
  .main-nav.open { display: flex; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .header-action { display: none; }
  .header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
  .hero { display: block; min-height: auto; }
  .hero-copy { min-height: 460px; padding: 65px 28px 110px; }
  .hero-visual { min-height: 380px; aspect-ratio: auto; }
  .hero-slide { object-fit: cover; }
  .hero-footer { padding-inline: 28px; }
  .intro-section { padding: 90px 28px; display: block; }
  .intro-section h2 { margin-bottom: 36px; }
  .collections-section, .featured-section { padding-inline: 20px; }
  .section-heading { align-items: flex-start; }
  .section-heading .text-link { display: none; }
  .category-grid { gap: 9px; }
  .category-card { min-height: 260px; padding: 12px; }
  .category-bottom { left: 12px; right: 12px; bottom: 12px; }
  .category-bottom h3 { font-size: 21px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 9px; }
  .product-image { height: 48vw; }
  .filter-tabs { overflow-x: auto; width: 100%; padding-bottom: 5px; }
  .filter-tab { white-space: nowrap; }
  .catalogue-toolbar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .toolbar-right { justify-content: space-between; }
  .featured-footer { margin-top: 48px; align-items: flex-start; flex-direction: column; }
  .craft-section { padding: 95px 28px; }
  .craft-intro { display: block; }
  .craft-item { min-height: 0; grid-template-columns: 16% 1fr; gap: 0; }
  .craft-item p { grid-column: 2; margin-top: 14px; }
  .factory-statements { margin-top: 60px; grid-template-columns: 1fr; gap: 30px; }
  .contact-section { padding: 90px 28px; }
  .contact-layout { display: block; }
  .contact-info { margin-top: 46px; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 249, 242, .35); padding-top: 30px; }
  .category-view-bar { flex-wrap: wrap; gap: 12px 18px; padding: 12px 20px; }
  .category-view-count { margin-left: 0; width: 100%; }
  .category-view-body { padding: 26px 20px 90px; }
  .contact-heading h2 { margin-bottom: 45px; }
  .inquiry-form { display: block; }
  .inquiry-form label { margin-bottom: 28px; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .site-footer { padding: 40px 20px 20px; grid-template-columns: 1fr; }
  .dialog-art { width: 100%; min-height: 280px; float: none; }
  .dialog-art .dialog-main-image { height: 300px; }
  .dialog-copy { margin: 0; padding: 30px 24px; }
  .dialog-nav { width: 32px; height: 32px; font-size: 19px; }
  .dialog-prev { left: 6px; } .dialog-next { right: 6px; }
  .dialog-actions { flex-direction: column; align-items: stretch; }
  .dialog-actions .button { width: 100%; }
  .dialog-hint { display: none; }
  .print-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (hover: none) {
  .quick-view { display: none; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 42px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 240px; }
  .product-meta h3 { font-size: 12px; }
  .product-meta span { font-size: 8px; }
  .product-meta button { width: 27px; height: 27px; }
  .lang-switch button { padding: 6px 6px; font-size: 9px; }
}
