/*
Theme Name: ZEHOA Coffee
Theme URI: https://zehoa.com/
Author: ZEHOA Coffee
Description: A focused WooCommerce storefront for ZEHOA / WE COFFEE.
Version: 1.0.0
Text Domain: zehoa-coffee
*/

:root {
  --ink: #25211c;
  --cocoa: #4a2a17;
  --olive: #526148;
  --gold: #c69d57;
  --paper: #f6f2ea;
  --white: #fffdf9;
  --line: #ded7ca;
  --muted: #6d675e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-shell { overflow: hidden; }
.site-header {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.94);
}
.header-inner, .container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 23%;
  background: var(--paper);
}
.brand-name { display: grid; line-height: 1.05; }
.brand-name strong { font-size: 15px; font-weight: 700; letter-spacing: 0; }
.brand-name small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: 1.6px; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: 24px; flex-wrap: wrap; }
.primary-nav a { font-size: 14px; color: #4b463e; }
.primary-nav a:hover { color: var(--cocoa); }
.primary-nav .nav-action {
  display: inline-flex;
  padding: 8px 13px;
  border: 1px solid var(--cocoa);
  color: var(--cocoa);
  border-radius: 4px;
}
.language-switcher { position: relative; z-index: 20; flex: 0 0 auto; }
.language-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid transparent;
  color: var(--cocoa);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
  list-style: none;
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher[open] summary { border-color: var(--line); border-radius: 4px 4px 0 0; background: var(--white); }
.language-chevron { color: var(--muted); font-size: 15px; font-weight: 400; transition: transform 160ms ease; }
.language-switcher[open] .language-chevron { transform: rotate(180deg); }
.language-menu {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  width: 176px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 4px 0 4px 4px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(59, 45, 30, .12);
}
.language-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
  padding: 0 9px;
  border-radius: 3px;
  color: var(--ink);
  font-size: 13px;
}
.language-menu a:hover, .language-menu a.is-current { background: #eee7dc; color: var(--cocoa); }
.language-menu a > span { min-width: 28px; color: var(--olive); font-weight: 700; }
.language-menu a small { color: var(--muted); font-size: 12px; }

.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero-inner {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.25fr);
  align-items: stretch;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 74px 30px 74px 0;
}
.eyebrow { margin: 0 0 21px; color: var(--olive); font-size: 12px; letter-spacing: 1.4px; }
.hero h1 { max-width: 440px; margin: 0; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.15; font-weight: 700; letter-spacing: 0; }
.english-line { margin: 20px 0 0; color: var(--cocoa); font-family: Georgia, serif; font-size: 17px; letter-spacing: 0; }
.hero-summary { max-width: 425px; margin: 24px 0 0; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--cocoa); border-radius: 4px; font-size: 14px; }
.button-primary { background: var(--cocoa); color: #fff; }
.button-secondary { color: var(--cocoa); background: transparent; }
.hero-visual { position: relative; min-height: 450px; background: #e9e3d8; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.promise-band { background: var(--olive); color: #f8f4eb; }
.promise-band .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.promise-item { min-height: 120px; padding: 27px 30px; border-right: 1px solid rgba(255,255,255,0.22); }
.promise-item:last-child { border-right: 0; }
.promise-item strong { display: block; font-size: 17px; font-weight: 600; }
.promise-item span { display: block; margin-top: 7px; color: rgba(255,255,255,0.76); font-size: 13px; }

.collections { padding: 94px 0 104px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.section-head p { margin: 0; color: var(--olive); font-size: 12px; letter-spacing: 1.2px; }
.section-head h2 { margin: 8px 0 0; font-size: 32px; line-height: 1.25; font-weight: 700; }
.section-link { color: var(--cocoa); font-size: 14px; white-space: nowrap; }
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.collection-card { min-height: 252px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 6px; background: var(--white); transition: transform 160ms ease, border-color 160ms ease; }
.collection-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.collection-index { color: var(--gold); font: 24px Georgia, serif; }
.collection-card h3 { margin: 0; font-size: 22px; line-height: 1.35; }
.collection-card p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.collection-card span { color: var(--cocoa); font-size: 13px; }
.collection-coffee { background: #f0e7d8; }
.collection-blend { background: #e2e5d8; }
.collection-tools { background: #f5f1ea; }
.collection-roaster { background: #ded4c9; }

.about-strip { padding: 80px 0; background: #e9e2d5; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: center; }
.about-logo { max-width: 290px; margin: 0 auto; mix-blend-mode: multiply; }
.about-copy p { margin: 0; color: var(--olive); font-size: 12px; letter-spacing: 1.2px; }
.about-copy h2 { margin: 12px 0 18px; font-size: 32px; line-height: 1.28; }
.about-copy .body-copy { color: var(--muted); font-size: 16px; line-height: 1.8; letter-spacing: 0; }

.site-footer { padding: 54px 0 22px; background: var(--ink); color: #ece7dd; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.75fr 0.75fr; gap: 36px; }
.footer-logo { display: flex; align-items: center; gap: 13px; }
.footer-logo img { width: 54px; height: 54px; object-fit: cover; object-position: 50% 23%; border-radius: 50%; background: var(--paper); }
.footer-logo strong { display: block; font-size: 17px; }
.footer-logo span { display: block; margin-top: 4px; color: #bfb6a8; font: 12px Georgia, serif; letter-spacing: 1.3px; }
.footer-note { max-width: 390px; margin: 20px 0 0; color: #bfb6a8; font-size: 13px; line-height: 1.8; }
.footer-column h3 { margin: 0 0 12px; color: #f7f2e8; font-size: 13px; font-weight: 600; }
.footer-column a, .footer-column p { display: block; margin: 8px 0; color: #bfb6a8; font-size: 13px; }
.footer-bottom { width: min(1180px, calc(100% - 48px)); margin: 42px auto 0; padding-top: 18px; border-top: 1px solid #4b4740; color: #9b9388; font-size: 12px; }

.page-content, .woocommerce-page .site-main { width: min(1180px, calc(100% - 48px)); margin: 64px auto 100px; }
.site-main h1, .site-main h2 { color: var(--ink); }
.woocommerce ul.products li.product a img { border-radius: 4px; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border-radius: 4px; background: var(--cocoa); color: #fff; }

@media (max-width: 820px) {
  .header-inner { min-height: 70px; gap: 12px; }
  .primary-nav { gap: 6px; }
  .primary-nav a:not(.nav-action) { display: none; }
  .language-switcher summary { min-height: 38px; padding: 0 7px; }
  .language-menu { width: 164px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { min-height: 500px; padding: 58px 0 46px; }
  .hero-visual { min-height: 350px; }
  .promise-band .container { grid-template-columns: 1fr; }
  .promise-item { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.22); }
  .promise-item:last-child { border-bottom: 0; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-logo { max-width: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .header-inner, .container, .page-content, .woocommerce-page .site-main, .footer-bottom { width: min(100% - 32px, 1180px); }
  .brand-name strong { font-size: 13px; }
  .brand-name small { font-size: 9px; }
  .brand-mark { width: 38px; height: 38px; }
  .nav-action { min-height: 38px !important; padding: 0 9px !important; font-size: 12px !important; }
  .language-switcher summary { min-height: 38px; font-size: 12px; }
  .language-menu { right: -2px; width: 158px; }
  .hero h1 { font-size: 42px; }
  .collection-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
}
