/* Jewelives — Nordic minimal design system */
:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --surface-alt: #F3EEE5;
  --surface-warm: #F6E8DA;   /* warm light peach for footer & accents */
  --ink: #2A2722;
  --ink-soft: #5C5750;
  --ink-faint: #8F8A81;
  --line: #E8E1D5;
  --accent: #D98A54;        /* warm terracotta from brand orange */
  --accent-deep: #B56A38;
  --sage: #7C8B7A;
  --sage-deep: #5F7161;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(38, 36, 31, 0.07);
  --shadow-soft: 0 4px 14px rgba(38, 36, 31, 0.05);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.14em; font-size: 18px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; margin-left: 10px;
  padding: 3px 6px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.lang-switch button {
  border: none; background: none; font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; color: var(--ink-faint); cursor: pointer; padding: 4px 8px; border-radius: 999px;
  transition: all .18s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { color: #fff; background: var(--accent); }
.lang-switch .ls-sep { color: var(--line); font-size: 10px; padding: 0 1px; }
.main-nav .lang-switch { margin-left: -8px; flex: 0 0 auto; }
.brand img { transition: none; }
.brand svg { display: block; }
.main-nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.main-nav a {
  font-size: 14px; color: var(--ink-soft); padding: 6px 2px;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); border-color: var(--accent); font-weight: 600; }
.nav-auth { margin-left: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all .2s; line-height: 1.2;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { color: var(--ink-soft); background: var(--surface); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Loading spinner ---------- */
.spin {
  display: inline-block; width: 15px; height: 15px; vertical-align: -3px;
  margin-right: 8px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--accent);
  animation: jl-spin .8s linear infinite;
}
@keyframes jl-spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F8EFE3 0%, var(--bg) 100%); }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 72px 24px 84px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { margin-top: 20px; font-size: 17px; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.hero-media::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px;
  border-radius: var(--radius-lg); background: var(--surface-alt); z-index: -1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 700; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.01em; }
.section-head p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--accent);
}
.stat-card .num { font-size: 34px; font-weight: 700; color: var(--accent-deep); }
.stat-card .lbl { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--surface-alt); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .25s ease, transform .25s ease;
}
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card .cat-label {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(251, 248, 243, 0.96); border-radius: 10px; padding: 12px 16px;
  border: 1px solid #EFDDC9;
  display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px;
}
.cat-card .cat-count { color: var(--accent-deep); font-size: 13px; font-weight: 700; }

/* ---------- Product grid ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 30px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-size: 13.5px; color: var(--ink-soft); cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--ink-faint); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.search-input {
  margin-left: auto; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-size: 14px; min-width: 220px; color: var(--ink); outline: none;
}
.search-input:focus { border-color: var(--accent); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .pc-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-alt); }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-card .pc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .pc-code { font-size: 12px; letter-spacing: 0.12em; color: var(--accent-deep); font-weight: 700; }
.product-card .pc-name { font-size: 16px; font-weight: 650; line-height: 1.35; }
.product-card .pc-tag { font-size: 13.5px; color: var(--ink-soft); }
.product-card .pc-feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.product-card .pc-actions {
  display: flex; gap: 8px; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line);
}
.product-card .pc-actions .btn { flex: 1; justify-content: center; }
.product-card .pc-inquire { flex: 1.3; }
.feat-tag {
  font-size: 11.5px; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-alt); color: var(--ink-soft); border: 1px solid var(--line);
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(38, 36, 31, 0.45); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--radius-lg); max-width: 980px; width: 100%;
  max-height: 90vh; overflow: auto; position: relative; box-shadow: var(--shadow);
}
.modal-close {
  position: absolute; top: 14px; right: 16px; z-index: 5; width: 36px; height: 36px;
  border-radius: 50%; border: none; background: rgba(250,249,246,.9); font-size: 18px;
  cursor: pointer; color: var(--ink); box-shadow: var(--shadow-soft);
}
.modal-grid { display: grid; grid-template-columns: 1.15fr 1fr; }
.modal-grid .m-img { background: var(--surface-alt); }
.modal-grid .m-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-grid .m-body { padding: 36px 32px; }
.modal-grid .m-body h3 { font-size: 22px; line-height: 1.3; }
.modal-grid .m-body .m-code { font-size: 12px; letter-spacing: .12em; color: var(--accent-deep); font-weight: 700; margin-bottom: 8px; }
.modal-grid .m-body p { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; }
.m-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.m-colors { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
.m-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-soft); max-width: 560px; margin: 0 auto;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); font-size: 14.5px; color: var(--ink); outline: none; font-family: inherit;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 10px; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; display: none; }
.alert.error { background: #FBEAE3; color: #9C4A1F; border: 1px solid #EFCDBC; display: block; }
.alert.success { background: #EAF0E8; color: #3E5740; border: 1px solid #D3E0CF; display: block; }
.alert.info { background: var(--surface-alt); color: var(--ink-soft); border: 1px solid var(--line); display: block; }
.alert.warn { background: #FDF3E2; color: #8A5B16; border: 1px solid #F0DCAE; display: block; line-height: 1.6; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; background: var(--surface-alt); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.tab-btn {
  flex: 1; text-align: center; padding: 9px 0; border-radius: 999px; border: none;
  background: transparent; font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
}
.tab-btn.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-soft); }

/* ---------- Tables / lists ---------- */
.list-item {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 16px 20px; margin-bottom: 12px;
}
.list-item .li-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.list-item .li-title { font-weight: 600; font-size: 14.5px; }
.list-item .li-meta { font-size: 12.5px; color: var(--ink-faint); }
.list-item .li-body { margin-top: 8px; font-size: 14px; color: var(--ink-soft); white-space: pre-wrap; }

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cert-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 14px; text-align: center;
}
.cert-card .c-name { font-weight: 700; font-size: 14px; }
.cert-card .c-desc { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }

/* ---------- Feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.check-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-soft); }
.check-list li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--sage); position: relative;
}
.check-list li { position: relative; padding-left: 2px; }
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}

/* ---------- Catalog band ---------- */
.catalog-band {
  background: linear-gradient(120deg, #2E2C27 0%, #4A463E 100%);
  border-radius: var(--radius-lg); color: #F5F2EC; padding: 52px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap;
}
.catalog-band h3 { font-size: 26px; }
.catalog-band p { margin-top: 10px; color: #C9C3B6; max-width: 52ch; }
.catalog-band .btn-primary { background: var(--accent); }
.band-ico { font-size: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-warm); color: var(--ink-soft); margin-top: 90px; border-top: 1px solid #EFDDC9; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 30px;
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px;
}
.site-footer h4 { color: var(--ink); font-size: 14px; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--accent-deep); }
.footer-links { display: grid; gap: 8px; font-size: 14px; }
.footer-contact { display: grid; gap: 12px; font-size: 14px; }
.footer-contact b {
  font-weight: 600; color: var(--ink); margin-right: 2px;
  font-variant-numeric: tabular-nums;
}
.footer-contact span { line-height: 1.6; }
.footer-contact .fc-line { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .fc-ico {
  width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px;
  color: var(--accent); display: block;
}
.footer-contact .fc-wa { color: var(--wa-deep); }
.footer-social { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(201,123,74,0.10); color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, transform .15s;
}
.footer-social a:hover { background: rgba(201,123,74,0.22); color: var(--accent-deep); transform: translateY(-2px); }
.footer-social-sm a {
  width: 28px; height: 28px;
  background: rgba(201,123,74,0.10);
}
.footer-bottom { border-top: 1px solid #EFDDC9; }
.footer-bottom-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px; font-size: 12.5px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-faint);
}

/* ---------- Auth layout ---------- */
.auth-wrap { max-width: 560px; margin: 0 auto; padding: 64px 24px 90px; }
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-head h1 { font-size: 30px; }
.auth-head p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.link-btn { background: none; border: none; color: var(--accent-deep); font-size: 13.5px; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- User chip ---------- */
.user-chip { display: none; align-items: center; gap: 10px; position: relative; }
.user-chip.show { display: flex; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--sage); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.user-menu {
  position: absolute; top: 44px; right: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); min-width: 220px; padding: 8px; display: none; z-index: 60;
}
.user-menu.open { display: block; }
.user-menu .um-email { padding: 10px 12px; font-size: 13px; color: var(--ink-soft); border-bottom: 1px solid var(--line); word-break: break-all; }
.user-menu a, .user-menu button {
  display: block; width: 100%; text-align: left; padding: 10px 12px; font-size: 14px;
  background: none; border: none; color: var(--ink); cursor: pointer; border-radius: 8px; font-family: inherit;
}
.user-menu a:hover, .user-menu button:hover { background: var(--surface-alt); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, #F8EFE3, var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 44px); }
.page-hero p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; max-width: 60ch; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--bg); padding: 12px 22px; border-radius: 999px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Inquiry cart ---------- */
.cart-btn {
  position: relative; width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  cursor: pointer; transition: all .2s;
}
.cart-btn:hover { border-color: var(--ink-faint); color: var(--ink); }
.cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  display: none; align-items: center; justify-content: center; border: 2px solid var(--bg);
}

.product-card { position: relative; }
.pc-pick {
  position: absolute; top: 12px; left: 12px; z-index: 3; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow-soft); transition: all .2s;
}
.pc-pick input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.pc-pick:hover { color: var(--ink); border-color: var(--ink-faint); }
.pc-pick:has(input:checked) { background: var(--accent); border-color: var(--accent); color: #fff; }
.pc-pick.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.sel-tools { display: flex; gap: 8px; margin-left: 4px; }
.sel-tools .chip { font-size: 12.5px; padding: 7px 14px; }

.cart-backdrop { position: fixed; inset: 0; background: rgba(38, 36, 31, .45); z-index: 110; display: none; }
.cart-backdrop.open { display: block; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--surface); z-index: 120; transform: translateX(105%);
  transition: transform .3s ease; display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(38, 36, 31, .14);
}
.cart-drawer.open { transform: none; }
.cd-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cd-head h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.cd-count {
  min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--accent);
  color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.cd-close { border: none; background: none; font-size: 17px; cursor: pointer; color: var(--ink-faint); padding: 4px 6px; }
.cd-close:hover { color: var(--ink); }
.cd-body { flex: 1; overflow: auto; padding: 14px 22px; }
.cart-line { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: none; }
.cl-img { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 10px; overflow: hidden; background: var(--surface-alt); }
.cl-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-info { flex: 1; min-width: 0; }
.cl-code { font-size: 11.5px; letter-spacing: .1em; color: var(--accent-deep); font-weight: 700; }
.cl-name { font-size: 13.5px; line-height: 1.35; margin-top: 2px; }
.cl-remove { border: none; background: none; color: var(--ink-faint); cursor: pointer; font-size: 14px; padding: 6px 4px; }
.cl-remove:hover { color: #9C4A1F; }
.cd-empty { text-align: center; padding: 54px 14px; color: var(--ink-soft); font-size: 14px; }
.cd-empty-ico { font-size: 36px; margin-bottom: 12px; }
.cd-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: stretch; gap: 9px; }
.cd-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cd-foot .btn { flex: 1; text-align: center; }

.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(38, 36, 31, .08);
  transform: translateY(115%); transition: transform .3s ease;
}
.cart-bar.show { transform: none; }
.cb-inner { max-width: var(--maxw); margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cb-text { font-size: 14.5px; color: var(--ink-soft); }
.cb-text strong { color: var(--accent-deep); font-size: 16px; }
.cb-actions { display: flex; gap: 10px; }
body.has-cart-bar { padding-bottom: 90px; }

/* ---------- Selected products panel (contact page) ---------- */
.sel-panel { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; }
.sel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.sel-head strong { color: var(--ink); }
.sel-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sel-chip {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px 6px 12px; font-size: 13px;
}
.sel-chip .sc-code { color: var(--accent-deep); font-weight: 700; font-size: 11.5px; letter-spacing: .08em; }
.sel-chip .sc-name { color: var(--ink-soft); max-width: 26ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-chip button { border: none; background: none; color: var(--ink-faint); cursor: pointer; font-size: 13px; line-height: 1; padding: 2px; }
.sel-chip button:hover { color: #9C4A1F; }
.inq-items { margin-top: 10px; font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Catalog download gate ---------- */
.gate-modal { max-width: 880px; }
.gate-wrap { display: grid; grid-template-columns: 1fr 1.08fr; }
.gate-side {
  background: linear-gradient(160deg, #2E2C27 0%, #4A463E 100%); color: #F5F2EC;
  padding: 38px 34px; border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.gate-side h3 { font-size: 22px; margin-top: 12px; }
.gate-side p { margin-top: 10px; color: #C9C3B6; font-size: 14px; }
.gate-points { list-style: none; margin-top: 20px; display: grid; gap: 10px; font-size: 13.5px; color: #E4DFD5; }
.gate-points li { position: relative; padding-left: 18px; }
.gate-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.gate-form { padding: 36px 34px; }
.gate-form h4 { font-size: 19px; }
.gate-ico { font-size: 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .split, .modal-grid, .gate-wrap { grid-template-columns: 1fr; }
  .gate-side { border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 30px 28px; }
  .gate-points { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .main-nav { gap: 16px; }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .search-input { margin-left: 0; width: 100%; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .main-nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 8px 18px; }
  .main-nav a { font-size: 13.5px; }
  .lang-switch { margin-left: 0; }
  .nav-auth { margin-left: auto; }
  .nav-auth .btn { padding: 7px 13px; font-size: 12.5px; }
  .cart-btn { width: 34px; height: 34px; }
  .brand { font-size: 16px; letter-spacing: 0.1em; }
  .site-header .brand img { height: 58px !important; width: auto !important; }
  .site-footer .brand img { height: 50px !important; width: auto !important; }
  .catalog-band { padding: 36px 28px; }
  .gate-form { padding: 26px 22px; }
  .cb-inner { padding: 11px 18px; }
  .cb-actions { width: 100%; }
  .cb-actions .btn { flex: 1; }
  .cart-drawer { width: 100%; }
}

/* ---------- GEO knowledge hub (resources.html) ---------- */
.g-prose { max-width: 820px; }
.g-prose > h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.01em; margin: 52px 0 14px; }
.g-prose > h2:first-of-type { margin-top: 8px; }
.g-prose > p { color: var(--ink-soft); margin-bottom: 16px; font-size: 16.5px; line-height: 1.72; }
.g-prose strong { color: var(--ink); font-weight: 650; }
.g-prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.g-note { font-size: 14.5px !important; color: var(--ink-faint) !important; margin-top: -4px; }
.g-meta { font-size: 13.5px !important; color: var(--ink-faint) !important; letter-spacing: 0.02em; margin-top: 14px !important; }
.g-crumb { font-size: 13px; color: var(--ink-faint); margin-bottom: 26px; }
.g-crumb a { color: inherit; text-decoration: none; }
.g-crumb a:hover { color: var(--accent-deep); }

.g-ol { margin: 6px 0 18px 22px; }
.g-ol li { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin-bottom: 12px; padding-left: 4px; }

.g-table-wrap { overflow-x: auto; margin: 10px 0 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.g-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.g-table th, .g-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.g-table th { background: var(--surface-alt); font-weight: 650; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.g-table tbody tr:last-child td { border-bottom: none; }
.g-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

.g-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 22px 0 10px; }
.g-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.g-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #D9D3C7; }
.g-card .g-k { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.g-card h3 { font-size: 17px; margin: 8px 0 8px; }
.g-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.g-faq { border-top: 1px solid var(--line); padding: 22px 0 6px; }
.g-faq:last-child { border-bottom: 1px solid var(--line); }
.g-faq h3 { font-size: 17.5px; margin-bottom: 8px; letter-spacing: -0.005em; }
.g-faq p { color: var(--ink-soft); font-size: 15px; line-height: 1.72; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.news-card .nc-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.news-card .nc-date { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.news-card h3 { font-size: 17px; margin: 8px 0 10px; line-height: 1.35; }
.news-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.news-card .nc-link { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent-deep); }
.news-card .nc-link:hover { text-decoration: underline; }

.news-hero { background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.news-hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 48px; }
.news-article { max-width: 780px; margin: 0 auto; padding: 48px 24px 64px; }
.news-article .na-meta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; font-size: 14px; color: var(--ink-faint); }
.news-article .na-meta .na-tag { background: var(--surface-alt); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--accent-deep); }
.news-article img { width: 100%; border-radius: var(--radius); margin: 24px 0; }
.news-article h2 { font-size: 22px; margin-top: 36px; margin-bottom: 14px; }
.news-article p { font-size: 15.5px; line-height: 1.72; color: var(--ink-soft); }
.news-article ul { margin: 14px 0 14px 20px; }
.news-article li { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 6px; }

@media (max-width: 860px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-hero-inner { padding: 40px 20px 32px; }
  .news-article { padding: 32px 20px 48px; }
}

@media (max-width: 640px) {
  .g-prose > p { font-size: 15.5px; }
  .g-prose > h2 { margin-top: 40px; }
}

/* ---------- Crawlable text index (products page) ---------- */
.text-index { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 6px 22px; }
.text-index summary { cursor: pointer; padding: 14px 0; font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.text-index summary:hover { color: var(--accent-deep); }
.ti-body { padding: 4px 0 18px; font-size: 14px; color: var(--ink-soft); }
.ti-body h3 { font-size: 14px; margin: 20px 0 8px; color: var(--ink); letter-spacing: 0.02em; }
.ti-list { list-style: none; display: grid; gap: 7px; }
.ti-list a { color: var(--accent-deep); }
.ti-list a:hover { text-decoration: underline; }

/* ---------- WhatsApp live chat ---------- */
:root { --wa: #25D366; --wa-deep: #128C7E; --wa-ink: #075E54; }

.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 19px 12px 15px; border-radius: 999px;
  background: var(--wa); color: #fff; border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 10px 26px rgba(18, 140, 126, .28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wa-fab svg { width: 23px; height: 23px; display: block; flex: 0 0 auto; }
.wa-fab:hover { background: #1FBE5B; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(18, 140, 126, .36); }
.wa-fab:focus-visible { outline: 3px solid rgba(37, 211, 102, .45); outline-offset: 3px; }
.wa-fab-open { background: var(--wa-deep); }
body.has-cart-bar .wa-fab { bottom: 94px; }

.wa-panel {
  position: fixed; right: 22px; bottom: 86px; z-index: 96;
  width: min(348px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 26px 60px rgba(38, 36, 31, .24);
  overflow: hidden; opacity: 0; pointer-events: none;
  transform: translateY(14px) scale(.98); transform-origin: bottom right;
  transition: opacity .22s ease, transform .22s ease;
}
.wa-panel.open { opacity: 1; pointer-events: auto; transform: none; }
body.has-cart-bar .wa-panel { bottom: 158px; }

.wa-head {
  display: flex; align-items: center; gap: 11px; padding: 15px 16px;
  background: linear-gradient(135deg, var(--wa-ink), var(--wa-deep)); color: #fff;
}
.wa-ava {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); display: flex; align-items: center; justify-content: center;
}
.wa-ava svg { width: 21px; height: 21px; }
.wa-id { flex: 1; min-width: 0; }
.wa-id strong { display: block; font-size: 14.5px; font-weight: 650; letter-spacing: .01em; }
.wa-status { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .82); margin-top: 2px; }
.wa-status i { width: 6px; height: 6px; border-radius: 50%; background: #7CF29B; box-shadow: 0 0 0 3px rgba(124, 242, 155, .22); }
.wa-x { border: none; background: none; color: rgba(255, 255, 255, .78); font-size: 13px; cursor: pointer; padding: 6px; }
.wa-x:hover { color: #fff; }

.wa-body { padding: 16px 16px 15px; max-height: calc(100vh - 230px); overflow-y: auto; }
.wa-bubble {
  background: #EAF8EF; border: 1px solid #D6EEDD; border-radius: 4px 14px 14px 14px;
  padding: 12px 14px; font-size: 13.5px; line-height: 1.55; color: #2F4A3A;
}
.wa-quick { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 12px; }
.wa-chip {
  border: 1px solid #CFE7D6; background: #fff; color: var(--wa-deep);
  font-family: inherit; font-size: 12px; font-weight: 600; padding: 6px 11px;
  border-radius: 999px; cursor: pointer; transition: all .16s ease;
}
.wa-chip:hover { background: #F0FBF3; border-color: var(--wa); }
.wa-body textarea {
  width: 100%; resize: none; font-family: inherit; font-size: 13.5px; line-height: 1.5;
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface-alt); color: var(--ink); min-height: 84px; max-height: 168px;
}
.wa-body textarea:focus { outline: none; border-color: var(--wa); background: #fff; }
.wa-send {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 11px; padding: 12px 16px; border-radius: 999px;
  background: var(--wa); color: #fff; font-size: 14px; font-weight: 650;
  text-decoration: none; transition: background .18s ease;
}
.wa-send:hover { background: #1FBE5B; }
.wa-send svg { width: 19px; height: 19px; }
.wa-note { margin-top: 10px; font-size: 11.5px; color: var(--ink-faint); text-align: center; line-height: 1.5; }

/* inline WhatsApp buttons (contact page, product pages) */
.btn-wa { background: var(--wa); color: #fff; border: 1px solid var(--wa); }
.btn-wa:hover { background: #1FBE5B; border-color: #1FBE5B; color: #fff; }
.btn-wa svg { width: 17px; height: 17px; margin-right: 7px; vertical-align: -3px; }

/* cart drawer: send list on WhatsApp */
.cd-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 9px; padding: 10px 14px; border-radius: 999px;
  background: #F0FBF3; border: 1px solid #CFE7D6; color: var(--wa-deep);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.cd-wa:hover { background: #E4F7EA; border-color: var(--wa); }
.cd-wa svg { width: 16px; height: 16px; }

@media (max-width: 680px) {
  .wa-fab { right: 14px; bottom: 14px; padding: 13px; border-radius: 50%; }
  .wa-fab-label { display: none; }
  .wa-fab svg { width: 25px; height: 25px; }
  .wa-panel { right: 10px; left: 10px; width: auto; bottom: 82px; border-radius: 16px; }
  body.has-cart-bar .wa-fab { bottom: 88px; }
  body.has-cart-bar .wa-panel { bottom: 150px; }
  .wa-body { padding: 14px; }
}

/* keep footer legal line clear of the floating WhatsApp button */
@media (min-width: 681px) {
  .footer-bottom-inner { padding-right: 232px; }
}
@media (max-width: 680px) {
  .footer-bottom-inner { padding-bottom: 64px; }
}


/* ---------- Factory / manufacturing page ---------- */
.answer-box {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 22px 26px;
}
.answer-box p { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }
.answer-box strong { color: var(--ink); font-weight: 650; }

.mfg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mfg-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 22px;
}
.mfg-num { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.mfg-card h3 { margin-top: 12px; font-size: 16.5px; letter-spacing: -.005em; }
.mfg-card p { margin-top: 8px; font-size: 14px; line-height: 1.68; color: var(--ink-soft); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.step-n {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.steps h3 { font-size: 16px; }
.steps p { margin-top: 6px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

@media (max-width: 980px) {
  .mfg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .mfg-grid { grid-template-columns: 1fr; }
  .answer-box { padding: 18px 18px; }
  .steps li { padding: 16px 16px; gap: 14px; }
}


/* ---------- Factory production lines ---------- */
.fstats { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 30px; }
.fstats > div {
  flex: 1 1 150px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px;
}
.fstats strong { display: block; font-size: 22px; letter-spacing: -.01em; color: var(--accent-deep); }
.fstats span { font-size: 12.5px; color: var(--ink-faint); }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
}
.fcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.fcard figcaption { padding: 14px 16px 16px; display: grid; gap: 4px; }
.fcard strong { font-size: 15px; }
.fcard span { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
@media (max-width: 980px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } }


/* ---------- Cookie consent banner ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(38, 36, 31, .10);
  transform: translateY(100%); transition: transform .35s ease;
}
.cookie-bar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-bar-inner p {
  flex: 1 1 420px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft);
}
.cookie-bar-inner p a { color: var(--accent-deep); text-decoration: underline; font-weight: 600; }
.cookie-bar-btn {
  flex: 0 0 auto; padding: 10px 24px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--accent); color: #fff; font-family: inherit; font-size: 14px; font-weight: 600;
  transition: background .2s ease;
}
.cookie-bar-btn:hover { background: var(--accent-deep); }
.cookie-bar.show { transform: translateY(0); }
.cookie-bar.hide { transform: translateY(100%); }
@media (max-width: 680px) {
  .cookie-bar-inner { padding: 14px 18px 18px; gap: 12px; }
  .cookie-bar-inner p { flex-basis: 100%; }
  .cookie-bar-btn { width: 100%; }
}

/* ============================================================
   Quick Quote — one-tap inquiry pop-up (js/inquiry.js)
   ============================================================ */
.qi-overlay {
  position: fixed; inset: 0; background: rgba(38,36,31,.55); z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.qi-overlay.open { opacity: 1; pointer-events: auto; }
.qi-modal {
  position: fixed; z-index: 301; left: 50%; top: 50%;
  transform: translate(-50%, -47%) scale(.98);
  width: min(520px, 94vw); max-height: 92vh; overflow: auto;
  background: var(--surface); border-radius: 16px; padding: 26px 26px 22px;
  box-shadow: 0 24px 60px rgba(60,40,30,.28);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.qi-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.qi-close {
  position: absolute; top: 12px; right: 14px; border: none; background: none;
  font-size: 17px; color: var(--ink-faint); cursor: pointer; line-height: 1; padding: 6px;
}
.qi-close:hover { color: var(--ink); }
.qi-eyebrow {
  display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: #fff; background: var(--accent); padding: 3px 10px; border-radius: 999px;
}
.qi-head h3 { font-size: 19px; line-height: 1.35; margin-top: 10px; padding-right: 28px; }
.qi-sub { font-size: 13px; color: var(--ink-faint); margin-top: 6px; }
.qi-form { margin-top: 16px; }
.qi-field { display: block; margin-bottom: 12px; }
.qi-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; }
.qi-field input {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 14.5px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink);
}
.qi-field input:focus { outline: none; border-color: var(--accent); }
.qi-row { display: flex; gap: 10px; }
.qi-row .qi-field { flex: 1; }
.qi-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); margin: 2px 0 14px; cursor: pointer; }
.qi-check input { accent-color: var(--accent); width: 15px; height: 15px; }
.qi-submit {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; font-size: 15px; font-weight: 700; border-radius: 12px;
}
.qi-submit[disabled] { opacity: .7; cursor: progress; }
.qi-ico { width: 18px; height: 18px; flex: 0 0 auto; }
.qi-hint { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 10px; }
.qi-alt { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; }
.qi-alt .qi-wa { color: #1fa855; font-weight: 700; }
.qi-alt .qi-wa:hover { text-decoration: underline; }
.qi-done { text-align: center; padding: 4px 0 2px; }
.qi-done .qi-done-ico {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
}
.qi-done .qi-done-ico .qi-ico { width: 26px; height: 26px; }
.qi-done p b { font-size: 16.5px; }
.qi-warn {
  margin-top: 10px; font-size: 12.5px; color: var(--accent-deep);
  background: var(--surface-alt); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
}
.qi-done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* ---------- product card: make asking for a price the obvious action ---------- */
.product-card .pc-actions { flex-direction: column; gap: 8px; }
.product-card .pc-actions .btn { flex: none; width: 100%; }
.product-card .pc-qq { padding: 11px 14px; font-size: 14px; font-weight: 700; }
.product-card .pc-add { padding: 9px 14px; font-size: 13px; }

/* ---------- sticky inquiry strip above the grid ---------- */
.inq-strip {
  position: sticky; top: 78px; z-index: 40;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; margin-bottom: 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(60,40,30,.06);
}
.inq-strip .is-text { flex: 1 1 240px; font-size: 13.5px; color: var(--ink-soft); }
.inq-strip .is-text strong { color: var(--accent-deep); }
.inq-strip .is-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.inq-strip .btn { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- closing band under the grid ---------- */
.inq-band {
  margin-top: 46px; padding: 30px 28px; border-radius: var(--radius-lg);
  background: var(--surface-alt); border: 1px solid var(--line); text-align: center;
}
.inq-band h2 { font-size: 22px; margin-bottom: 8px; }
.inq-band p { color: var(--ink-soft); font-size: 14.5px; max-width: 620px; margin: 0 auto; }
.inq-band .ib-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.inq-band .btn { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 560px) {
  .qi-modal { padding: 22px 18px 18px; }
  .qi-row { flex-direction: column; gap: 0; }
  .inq-strip .is-actions { width: 100%; }
  .inq-strip .is-actions .btn { flex: 1; justify-content: center; }
}
