/* ============================================================================
   Liberty Coffee — storefront overrides layered on the shared Swiss system
   (colors_and_type.css tokens + cafe-swiss.css). Scoped to the coffee shop only.
   ============================================================================ */

/* Shop-home hero lead paragraph */
.shophome__lede {
  max-width: 48ch;
  margin: 20px 0 0;
  font: 400 16px/1.6 var(--sans);
  color: var(--ink-soft);
}

/* "Shop by category" section */
.shophome-cats {
  padding: 52px 0 12px;
}
.shophome-cats .shead {
  margin-bottom: 4px;
}

/* Category tiles — a hairline grid of Swiss cards */
.ccats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 22px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.ccat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 156px;
  padding: 24px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.ccat:hover {
  background: var(--ink);
  color: var(--cream);
}
.ccat__name {
  font: 500 26px/1.08 var(--serif);
  letter-spacing: -0.01em;
}
.ccat__go {
  margin-top: 28px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .18s ease;
}
.ccat:hover .ccat__go {
  color: var(--cream);
}

@media (max-width: 860px) {
  .ccats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .ccats { grid-template-columns: 1fr; }
  .ccat { min-height: 120px; }
}

/* Single product — "currently unavailable" (out of stock / not purchasable) */
.pd__oos {
  margin: 8px 0 0;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-red);
}

/* ---- Cart / Checkout / My-account (WC blocks + shortcodes, lightly reskinned) ---- */
.acct {
  padding: 44px 0 88px;
  border-top: 1px solid var(--rule);
}
.acct__woo {
  max-width: 1080px;
}
/* Square, ink-on-cream primary buttons across the cart/checkout blocks + classic forms */
.acct__woo .wc-block-components-button,
.acct__woo .wp-block-button__link,
.acct__woo .button,
.acct__woo .woocommerce-button,
.acct__woo button[type="submit"] {
  border-radius: 0 !important;
  background: var(--ink);
  color: var(--cream);
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.02em;
}
.acct__woo .wc-block-components-button:hover,
.acct__woo .button:hover,
.acct__woo button[type="submit"]:hover {
  background: var(--accent-red);
}
/* Square inputs + hairline borders to match the Swiss forms */
.acct__woo input:not([type="checkbox"]):not([type="radio"]),
.acct__woo select,
.acct__woo textarea,
.acct__woo .wc-block-components-text-input input {
  border-radius: 0 !important;
}
.acct__woo a { color: var(--accent-red); }
