@charset "UTF-8";
/* ==========================================================================
   FUHUI WINE - stylesheet
   ========================================================================== */

:root {
  --fh-wine: var(--wine);
  --fh-wine-deep: var(--wine-deep);
  --fh-gold: var(--gold);
  --fh-cream: var(--cream);
  --fh-line: var(--line);
}

/* ---------- price ---------- */
.fh-price { display: flex; align-items: baseline; gap: 6px; font-family: var(--serif); }
.fh-price .cur { font-size: 13px; color: var(--wine); letter-spacing: .02em; }
.fh-price .num { font-size: 24px; font-weight: 600; color: var(--wine); line-height: 1.1; }
.fh-price .unit { font-size: 12px; color: var(--muted); font-family: var(--sans); }
.fh-price.is-box .num { font-size: 17px; color: var(--ink); }
.fh-price.is-box .unit { color: var(--muted); }

.fh-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.fh-tags li {
  font-size: 11px; line-height: 1; padding: 5px 8px; border: 1px solid var(--wine-line);
  color: var(--wine-deep); background: var(--wine-soft); letter-spacing: .04em;
}
.fh-tags li.is-plain { border-color: var(--line); color: var(--ink-2); background: transparent; }

/* ---------- card price and actions ---------- */
.bc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bc-price { display: flex; flex-direction: column; gap: 2px; }
.bc-price .p1 { font-family: var(--serif); font-size: 20px; color: var(--wine); font-weight: 600; }
.bc-price .p1 small { font-size: 12px; color: var(--muted); font-family: var(--sans); font-weight: 400; margin-left: 3px; }
.bc-price .p2 { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.bc-acts { display: flex; align-items: center; gap: 8px; }
.bc-add {
  height: 34px; padding: 0 14px; border: 1px solid var(--wine); color: var(--wine);
  background: transparent; font-size: 12px; letter-spacing: .05em; border-radius: var(--radius);
  transition: all .24s var(--ease); white-space: nowrap;
}
.bc-add:hover { background: var(--wine); color: #fff; }
.bc-link { font-size: 12px; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.bc-link:hover { color: var(--wine); border-color: var(--wine); }

/* ---------- filter chips ---------- */
.fh-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 26px; }
.fh-filter .lab { font-size: 12px; color: var(--muted); letter-spacing: .14em; margin-right: 2px; }
.fh-chip {
  height: 34px; padding: 0 16px; border: 1px solid var(--line); background: transparent;
  color: var(--ink-2); font-size: 13px; border-radius: var(--radius); transition: all .22s var(--ease);
}
.fh-chip:hover { border-color: var(--ink); color: var(--ink); }
.fh-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.fh-count { margin-left: auto; font-size: 12px; color: var(--muted); }

/* ---------- spec table ---------- */
.fh-spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.fh-spec th, .fh-spec td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.fh-spec th { width: 34%; color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: .03em; }
.fh-spec td { color: var(--ink); }
.fh-spec tr:last-child th, .fh-spec tr:last-child td { border-bottom: 0; }

/* ---------- form ---------- */
.fh-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fh-form .full { grid-column: 1 / -1; }
.fh-form label { display: block; font-size: 12px; letter-spacing: .1em; color: var(--muted); margin-bottom: 7px; }
.fh-form input, .fh-form select, .fh-form textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 12px 14px; font-size: 14px; font-family: var(--sans); border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.fh-form input:focus, .fh-form select:focus, .fh-form textarea:focus { outline: 0; border-color: var(--wine); }
.fh-form textarea { min-height: 96px; resize: vertical; }
.fh-form .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.fh-form .err { font-size: 12px; color: #b3261e; margin-top: 6px; min-height: 16px; }
.fh-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-2); }
.fh-check input { width: auto; margin-top: 4px; }
.fh-btn-ok {
  height: 48px; padding: 0 30px; border: 0; background: var(--wine); color: #fff;
  font-size: 14px; letter-spacing: .06em; border-radius: var(--radius); transition: all .26s var(--ease);
}
.fh-btn-ok:hover { background: var(--wine-deep); }
.fh-btn-ok[disabled] { background: #c9c2bd; cursor: not-allowed; }
.fh-cap { display: flex; gap: 10px; align-items: center; }
.fh-cap canvas { border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: var(--cream); }

/* ---------- form feedback ---------- */
.fh-done { border: 1px solid var(--wine-line); background: var(--wine-soft); padding: 22px 24px; display: none; }
.fh-done.is-on { display: block; }
.fh-done .no { font-family: var(--serif); font-size: 20px; color: var(--wine-deep); letter-spacing: .04em; }
.fh-done p { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }

/* ---------- tool panels ---------- */
.fh-tool { border: 1px solid var(--line); background: var(--paper); padding: 26px 28px; }
.fh-tool-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.fh-tool-head h3 { font-size: 19px; }
.fh-tool-head span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.fh-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fh-out {
  margin-top: 20px; border-top: 1px solid var(--line-soft); padding-top: 18px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.fh-out .cell { background: var(--cream); padding: 14px 16px; }
.fh-out .cell b { display: block; font-family: var(--serif); font-size: 24px; color: var(--wine); line-height: 1.2; }
.fh-out .cell span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.fh-out .cell.is-wide { grid-column: 1 / -1; }
.fh-note { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.7; }

/* ---------- quote drawer ---------- */
.fh-bar {
  position: fixed; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius) 0 0 0;
  box-shadow: var(--shadow-l); font-size: 13px;
}
.fh-bar .n { font-family: var(--serif); font-size: 18px; color: #f0d9a8; }
.fh-bar button {
  height: 34px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .4); background: transparent;
  color: #fff; font-size: 12px; letter-spacing: .06em; border-radius: var(--radius);
}
.fh-bar button:hover { background: #fff; color: var(--ink); }
.fh-drawer {
  position: fixed; top: 0; right: 0; width: 400px; max-width: 92vw; height: 100%; z-index: 90;
  background: #fff; border-left: 1px solid var(--line); box-shadow: var(--shadow-l);
  display: none; flex-direction: column;
}
.fh-drawer.is-on { display: flex; animation: fhDrawerIn .3s var(--ease) both; }
@keyframes fhDrawerIn { from { transform: translateX(28px); opacity: .4; } to { transform: translateX(0); opacity: 1; } }
.fh-drawer-h { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.fh-drawer-h h3 { font-size: 17px; }
.fh-drawer-h button { border: 0; background: transparent; font-size: 13px; color: var(--muted); }
.fh-drawer-b { flex: 1; overflow: auto; padding: 16px 22px; }
.fh-drawer-f { padding: 16px 22px 20px; border-top: 1px solid var(--line); }
.fh-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.fh-row img { width: 54px; height: 54px; object-fit: cover; }
.fh-row .t { flex: 1; font-size: 13px; }
.fh-row .t b { display: block; font-weight: 500; margin-bottom: 2px; }
.fh-row .t span { color: var(--muted); font-size: 12px; }
.fh-row .q { display: flex; align-items: center; gap: 6px; }
.fh-row .q button { width: 24px; height: 24px; border: 1px solid var(--line); background: #fff; line-height: 1; }
.fh-row .q em { font-style: normal; min-width: 18px; text-align: center; font-size: 13px; }
.fh-row .x { border: 0; background: transparent; color: var(--muted); font-size: 12px; }
.fh-empty { padding: 28px 0; text-align: center; color: var(--muted); font-size: 13px; }
.fh-drawer-f .total { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 12px; }
.fh-drawer-f .total b { font-family: var(--serif); font-size: 20px; color: var(--wine); }
.fh-drawer-f .act { display: flex; gap: 10px; }
.fh-drawer-f .act a, .fh-drawer-f .act button {
  flex: 1; height: 42px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; letter-spacing: .05em; border-radius: var(--radius);
}
.fh-drawer-f .act .go { background: var(--wine); color: #fff; border: 0; }
.fh-drawer-f .act .cl { border: 1px solid var(--line); background: #fff; color: var(--ink); }

/* ---------- account ---------- */
.fh-acct { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.fh-acct-side { border: 1px solid var(--line); padding: 22px; background: var(--cream); }
.fh-acct-side .who { font-family: var(--serif); font-size: 20px; margin-bottom: 4px; }
.fh-acct-side .sub { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.fh-acct-side ul { list-style: none; margin: 18px 0 0; padding: 0; }
.fh-acct-side li { border-top: 1px solid var(--line); }
.fh-acct-side li a, .fh-acct-side li span { display: block; padding: 11px 0; font-size: 13px; color: var(--ink-2); }
.fh-acct-side li a:hover { color: var(--wine); }
.fh-order { border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 14px; }
.fh-order .oh { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.fh-order .oh b { font-family: var(--serif); color: var(--wine-deep); }
.fh-order ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }

/* ---------- location card ---------- */
.fh-map { border: 1px solid var(--line); background: var(--cream); padding: 20px; }
.fh-map svg { display: block; width: 100%; height: auto; background: var(--cream-2); }
.fh-map .mk { margin-top: 14px; font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.fh-map .mk b { color: var(--ink); }

/* ---------- timeline ---------- */
.fh-time { list-style: none; margin: 0; padding: 0; }
.fh-time li { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.fh-time li:last-child { border-bottom: 0; }
.fh-time .y { font-family: var(--serif); font-size: 17px; color: var(--wine); }
.fh-time .c b { display: block; font-size: 15px; margin-bottom: 4px; font-weight: 500; }
.fh-time .c span { font-size: 13px; color: var(--ink-2); }

/* ---------- article body ---------- */
.fh-post { max-width: 760px; }
.fh-post h2 { font-size: 24px; margin: 34px 0 12px; }
.fh-post h3 { font-size: 18px; margin: 26px 0 10px; }
.fh-post p { font-size: 15.5px; line-height: 2; color: var(--ink-2); }
.fh-post ul, .fh-post ol { padding-left: 22px; color: var(--ink-2); font-size: 15.5px; line-height: 2; }
.fh-post .meta { font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-bottom: 26px; }
.fh-post blockquote { margin: 24px 0; padding: 16px 20px; background: var(--cream); border-left: 2px solid var(--wine); }
.fh-post blockquote p { margin: 0; font-size: 14.5px; }

/* ---------- notices ---------- */
.fh-tip { font-size: 12.5px; color: var(--muted); line-height: 1.8; }

@media (max-width: 900px) {
  .fh-form { grid-template-columns: 1fr; }
  .fh-acct { grid-template-columns: 1fr; gap: 24px; }
  .fh-out { grid-template-columns: 1fr; }
  .fh-grid2 { grid-template-columns: 1fr; }
  .bc-foot { align-items: flex-start; flex-direction: column; }
  .fh-bar { left: 0; right: 0; border-radius: 0; justify-content: space-between; }
  .fh-time li { grid-template-columns: 1fr; gap: 2px; }
  .fh-tool { padding: 20px 18px; }
}

/* ---------- drawer bar hidden by default ---------- */
.fh-bar { display: none; }
.fh-bar.is-on { display: flex; }
body.drawer-open { overflow: hidden; }

/* ---------- mobile nav panel ---------- */
@media (max-width: 900px) {
  .site-header { position: fixed; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 6px 22px 14px; box-shadow: var(--shadow-m); margin: 0;
  }
  .nav.is-open a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-size: 15px; }
  .nav.is-open a:last-child { border-bottom: 0; }
  .nav-toggle.is-on span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle.is-on span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-on span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
  .nav-toggle span { transition: transform .24s var(--ease), opacity .2s; }
}

/* ==========================================================================
   Page components — lockup / header actions / misc
   ========================================================================== */

/* ---------- note ---------- */
.fh-lockup { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.fh-lockup .fh-mark { flex: 0 0 auto; width: 38px; height: 38px; color: var(--wine); }
.fh-lockup .fh-word { display: flex; flex-direction: column; line-height: 1.15; }
.fh-lockup .fh-word b {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  letter-spacing: .16em; color: var(--ink);
}
.fh-lockup .fh-word i {
  font-style: normal; font-size: 9.5px; letter-spacing: .3em;
  color: var(--muted); margin-top: 3px;
}
.site-footer .fh-lockup { color: #fff; margin-bottom: 18px; }
.site-footer .fh-lockup .fh-mark { color: #d0a75e; }
.site-footer .fh-lockup .fh-word b { color: #fff; }
.site-footer .fh-lockup .fh-word i { color: rgba(255, 255, 255, .48); }

/* ---------- header actions ---------- */
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.fh-hlink {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  font-size: 13px; letter-spacing: .02em; border-radius: var(--radius);
  transition: color .2s, border-color .2s;
}
.fh-hlink:hover { color: var(--wine); border-color: var(--wine-line); }
.fh-hlink em {
  font-style: normal; font-family: var(--serif); font-size: 12px; color: #fff;
  background: var(--wine); min-width: 17px; height: 17px; line-height: 17px;
  text-align: center; border-radius: 9px; padding: 0 4px;
}
@media (max-width: 1180px) {
  .fh-hlink em { display: none; }
  .header-actions .fh-hlink:last-child { display: none; }
}
@media (max-width: 900px) {
  .header-actions { margin-left: auto; }
  .header-actions .fh-hlink { display: none; }
}

/* ---------- home tools and blocks ---------- */
.fh-tool .fh-form { gap: 14px; }
.hero .hero-bg img { object-position: center; }
@media (max-width: 900px) {
  .fh-lockup .fh-word b { font-size: 16px; letter-spacing: .1em; }
  .fh-lockup .fh-word i { font-size: 8.5px; letter-spacing: .22em; }
  .fh-lockup .fh-mark { width: 30px; height: 30px; }
}

/* ---------- note ---------- */
@keyframes fhRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal.in { animation: none; }
}

/* ---------- light buttons on red ---------- */
.btn-paper { background: #fff; color: var(--wine-deep); }
.btn-paper:hover { background: var(--cream); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.cta-inner .acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer column widths ---------- */
.footer-top { grid-template-columns: 1.45fr .62fr .72fr 1.42fr .74fr; gap: 38px; }
.site-footer .f-about { font-size: 13px; line-height: 1.95; max-width: none; }
.site-footer .f-about + .f-about { margin-top: 14px; color: rgba(255, 255, 255, .5); line-height: 1.9; }
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
}

/* ---------- filter rows ---------- */
.fh-filter { flex-direction: column; align-items: stretch; gap: 10px; }
.fh-frow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fh-frow .lab { width: 40px; flex: 0 0 auto; letter-spacing: .12em; margin: 0; }
@media (max-width: 640px) {
  .fh-frow .lab { width: 100%; margin-bottom: -2px; }
}
