:root {
  --ink: #1a1714;
  --ink-soft: #3a342e;
  --ash: #e4e2dc;
  --ash-deep: #d2d0c8;
  --paper: #efeee9;
  --bean: #5c3a22;
  --bean-deep: #3d2616;
  --atitlan: #2a5558;
  --atitlan-deep: #1c3d40;
  --ember: #9a5238;
  --mist: rgba(244, 241, 234, 0.88);
  --line: rgba(26, 23, 20, 0.12);
  --shadow: 0 24px 60px rgba(26, 23, 20, 0.18);
  --radius: 2px;
  --font-brand: "Yeseva One", Georgia, serif;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --container: 1120px;
  --wide: 1320px;
  --measure: 42rem;
  --gutter: 2.5rem;
  --logo-h: 66px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/*
 * Block editor bridge. Core publishes its own content/wide sizes as :root custom
 * properties, and any block or plugin that respects alignwide/alignfull reads them.
 * html:root outranks :root, so theme widths win regardless of stylesheet order.
 */
html:root {
  --wp--style--global--content-size: var(--measure);
  --wp--style--global--wide-size: var(--wide);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(42, 85, 88, 0.08), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(156, 82, 56, 0.07), transparent 55%),
    linear-gradient(180deg, #f3f2ed 0%, var(--paper) 40%, #e9e8e2 100%);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--atitlan-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ember);
}

h1,
h2,
h3,
.brand-word {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-word {
  font-family: var(--font-brand);
  letter-spacing: 0.01em;
}

.container {
  width: min(100% - var(--gutter), var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - var(--gutter), var(--wide));
  margin-inline: auto;
}

/*
 * Editor content flow. The wrapper spans its section; children get the reading
 * measure unless a block opts into wide or full alignment. This replaces capping
 * whole templates, which used to squeeze block-built pages (shop, private menus)
 * into the reading column.
 */
.entry-flow > * {
  width: min(100% - var(--gutter), var(--measure));
  margin-inline: auto;
}

.entry-flow > .alignwide {
  width: min(100% - var(--gutter), var(--wide));
}

.entry-flow > .alignfull {
  width: 100%;
  max-width: none;
}

/*
 * Readable editor content. Page sections sit on light paper, so the theme owns text
 * color rather than inheriting it from blocks. Two layers: normal defaults that
 * outrank a block's single-class rule, then a white-text safety net for blocks
 * copied out of dark layouts (their inline color would otherwise win).
 * A genuinely dark section can opt out with .on-dark.
 */
.entry-flow h1,
.entry-flow h2,
.entry-flow h3,
.entry-flow h4,
.entry-flow h5,
.entry-flow h6 {
  color: var(--ink);
}

.entry-flow p,
.entry-flow li,
.entry-flow dd,
.entry-flow figcaption,
.entry-flow blockquote {
  color: var(--ink-soft);
}

.entry-flow:not(.on-dark) .has-white-color,
.entry-flow:not(.on-dark) .has-very-light-gray-color,
.entry-flow:not(.on-dark) [style*="color:#fff"],
.entry-flow:not(.on-dark) [style*="color: #fff"],
.entry-flow:not(.on-dark) [style*="color:#FFF"],
.entry-flow:not(.on-dark) [style*="color:rgb(255"],
.entry-flow:not(.on-dark) [style*="color: rgb(255"] {
  color: var(--ink) !important;
}

.entry-flow:not(.on-dark) .has-white-background-color {
  background-color: #fff;
}

/* Cover blocks and .on-dark wrappers carry their own dark backdrop: keep light text. */
.entry-flow .wp-block-cover,
.entry-flow .on-dark,
.entry-flow .wp-block-cover h1,
.entry-flow .wp-block-cover h2,
.entry-flow .wp-block-cover h3,
.entry-flow .wp-block-cover p,
.entry-flow .on-dark h1,
.entry-flow .on-dark h2,
.entry-flow .on-dark h3,
.entry-flow .on-dark p {
  color: inherit;
}

.entry-flow .wp-block-cover .has-white-color,
.entry-flow .on-dark .has-white-color {
  color: #fff !important;
}

/* Product grids dropped into page content (private ordering pages, landing pages). */
.entry-flow > .woocommerce,
.entry-flow > .wp-block-woocommerce-product-collection,
.entry-flow > .wp-block-woocommerce-all-products {
  width: min(100% - var(--gutter), var(--wide));
}

.entry-flow > .alignfull img {
  width: 100%;
  height: auto;
}

/* Layout utilities - keep templates free of inline style attributes. */
.section-tight {
  padding-top: 0;
}

.section-after-hero {
  padding-top: 2.5rem;
}

.btn-row-center {
  justify-content: center;
}

.post-teaser {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.stack-sm {
  margin-top: 1.25rem;
}

.stack-md {
  margin-top: 1.75rem;
}

.stack-lg {
  margin-top: 3rem;
}

.tight-head {
  margin-bottom: 1.25rem;
}

.form-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .form-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .form-layout-emphasis {
    grid-template-columns: 1fr 1.1fr;
  }
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  padding: 1.25rem 0;
}

.site-header.is-solid {
  position: sticky;
  top: 0;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.site-header.is-solid .logo-link,
.no-hero .logo-link {
  color: var(--ink);
}

/*
 * The mark is a wide bean + SOML lockup (1620x856). Sizing it by height keeps the
 * lockup legible; a square box letterboxes it to roughly half the height.
 */
.logo-mark {
  height: var(--logo-h);
  width: auto;
  aspect-ratio: 1620 / 856;
  object-fit: contain;
}

@media (max-width: 899px) {
  :root {
    --logo-h: 44px;
  }
}

.logo-text {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  line-height: 1.1;
}

.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 0.15rem;
}

.nav-primary {
  display: none;
  gap: 1.35rem;
  align-items: center;
}

.nav-primary a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header.is-solid .nav-primary a,
.no-hero .nav-primary a {
  color: var(--ink-soft);
}

.nav-primary a:hover {
  color: #fff;
}

.site-header.is-solid .nav-primary a:hover,
.no-hero .nav-primary a:hover {
  color: var(--ember);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
  text-decoration: none !important;
}

.site-header.is-solid .nav-cta,
.no-hero .nav-cta {
  border-color: var(--ink);
  color: var(--ink) !important;
  background: transparent;
}

/*
 * Cart link. The slot stays in the DOM even when empty so WooCommerce can swap it
 * by selector after an AJAX add to cart; it collapses to nothing until then.
 */
.soml-cart-slot:empty {
  display: none;
}

.nav-primary .nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.site-header.is-solid .nav-primary .nav-cart,
.no-hero .nav-primary .nav-cart {
  color: var(--ink-soft);
}

.nav-primary .nav-cart:hover {
  color: #fff;
}

.site-header.is-solid .nav-primary .nav-cart:hover,
.no-hero .nav-primary .nav-cart:hover {
  color: var(--ember);
}

.nav-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--ember);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0;
  line-height: 1;
}

.nav-drawer .nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-drawer .nav-cart-count {
  min-width: 2rem;
  height: 2rem;
  font-size: 1rem;
}

.menu-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.site-header.is-solid .menu-toggle,
.no-hero .menu-toggle {
  border-color: var(--ink);
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

@media (min-width: 900px) {
  .nav-primary {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 20, 0.96);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  z-index: 50;
  padding: 5rem 2rem 2rem;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  padding: 0.55rem 0;
}

.nav-drawer .drawer-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-settle 2.4s var(--ease) forwards;
}

@keyframes hero-settle {
  to {
    transform: scale(1);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 23, 20, 0.35) 0%, rgba(26, 23, 20, 0.15) 35%, rgba(26, 23, 20, 0.72) 100%),
    linear-gradient(90deg, rgba(26, 23, 20, 0.45) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4.5rem;
  max-width: 38rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-brand);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  margin: 0 0 1rem;
  color: #fff;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fff;
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--ash);
  color: var(--ink);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--bean-deep);
  color: #fff;
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3.5rem;
  }
}

/*
 * Namespaced on purpose: core's media-views.css defines .media-frame as
 * position:absolute with inset:0, and that stylesheet loads on the front end for
 * logged-in editors. Keep new structural class names prefixed.
 */
.soml-frame {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: var(--ash-deep);
}

.soml-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.offer-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  min-height: 100%;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.offer-card:hover {
  border-color: rgba(42, 85, 88, 0.45);
  transform: translateY(-3px);
}

.offer-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.55rem;
}

.offer-card p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.offer-card .link-arrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--atitlan-deep);
}

.proof-strip {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0;
}

.proof-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .proof-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.proof-grid h2 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
}

.proof-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.stat {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 1.25rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.product-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-tile img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  background: var(--ash);
}

.product-tile-body {
  padding: 1.1rem 1.15rem 1.35rem;
}

.product-tile h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.product-tile .meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.band-image {
  position: relative;
  min-height: 52vh;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.band-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band-image .band-scrim {
  position: absolute;
  inset: 0;
  background: rgba(26, 23, 20, 0.55);
}

.band-image .band-copy {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
  max-width: 36rem;
}

.band-image h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
}

.page-hero {
  padding: 8rem 0 3rem;
  background:
    linear-gradient(180deg, rgba(42, 85, 88, 0.12), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  max-width: 38rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.content-block {
  max-width: var(--measure);
}

.content-block h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.8rem;
}

.content-block ul {
  padding-left: 1.2rem;
}

.form-slot {
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.form-slot h3,
.form-slot .form-note {
  margin-top: 0;
}

.form-slot .gform_wrapper,
.form-slot .gform_body,
.form-slot .gform_footer {
  margin: 0;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.site-footer .footer-note {
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid-4 {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
  }
}

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.faq-toc a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.faq-toc a:hover {
  border-color: var(--atitlan);
  color: var(--atitlan-deep);
}

.faq-group {
  margin-bottom: 3rem;
  scroll-margin-top: 5rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--atitlan);
  font-family: var(--font-body);
  font-size: 1.1rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.faq-answer a {
  color: var(--atitlan-deep);
}

.legal-content h2 {
  font-size: 1.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer h3 {
  color: #fff;
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}

.footer-brand {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.woo-notice,
.woocommerce-notices-wrapper {
  width: min(100% - 2.5rem, var(--wide));
  margin: 1rem auto 0;
}

.woocommerce ul.products li.product a {
  text-decoration: none;
}

.shop-main .shop-body {
  padding: 3rem 0 5rem;
}

.single-product .shop-main .shop-body {
  padding-top: 8rem;
}

.page-hero-compact {
  padding: 8rem 0 2.5rem;
}

.shop-intro {
  max-width: 42rem;
  margin: 0 0 2.5rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 479px) {
  .woocommerce ul.products {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 700px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0 0 1.5rem;
  text-align: center;
}

/* Square frame so square label art never crops at the edges. */
.woocommerce ul.products li.product img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--paper);
  margin: 0 0 1.1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  padding: 0 1.1rem;
  margin: 0 0 0.5rem;
}

.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 1.1rem;
  margin: 0 0 1.2rem;
  color: var(--bean);
  font-size: 1.05rem;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  align-self: center;
  margin: auto 1.1rem 0;
  padding: 0.8rem 1.6rem;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .added_to_cart:hover {
  background: var(--bean);
}

.single-product .product {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .single-product div.product {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ===========================================================================
 * Cart and checkout
 *
 * WooCommerce's own stylesheets are turned off (woocommerce_enqueue_styles in
 * functions.php), so every control on these pages is styled here. Selectors
 * follow the classic cart/checkout markup. Keep the shared pieces - tables,
 * fields, buttons, notices - scoped to .woocommerce so they never reach
 * Gravity Forms on the inquiry pages.
 * ========================================================================= */

/* These pages are forms, not prose: give them the page column, not the measure. */
.woocommerce-cart .entry-flow > *,
.woocommerce-checkout .entry-flow > *,
.woocommerce-order-received .entry-flow > * {
  width: min(100% - var(--gutter), var(--container));
}

/* --- Fields ------------------------------------------------------------- */

.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce input[type="password"],
.woocommerce input[type="search"],
.woocommerce select,
.woocommerce textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.4;
}

.woocommerce textarea {
  min-height: 7rem;
  resize: vertical;
}

.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
  outline: 2px solid var(--atitlan);
  outline-offset: 1px;
  border-color: var(--atitlan);
}

.woocommerce .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
}

.woocommerce .form-row label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.woocommerce .form-row .required {
  color: var(--ember);
  border: 0;
  text-decoration: none;
}

.woocommerce .form-row.woocommerce-invalid input.input-text,
.woocommerce .form-row.woocommerce-invalid select {
  border-color: var(--ember);
}

.woocommerce label.checkbox,
.woocommerce .woocommerce-form__label-for-checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"] {
  width: auto;
  margin: 0.2rem 0 0;
  accent-color: var(--bean);
}

/* Country and state use select2, whose stylesheet ships inside the WooCommerce
   CSS we disable, so the control needs its own baseline. */
.woocommerce .select2-container .select2-selection--single {
  height: auto;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.4;
  color: var(--ink);
}

.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
}

/* --- Buttons ------------------------------------------------------------ */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
  background: var(--bean);
  color: #fff;
}

.woocommerce button.button:disabled,
.woocommerce input.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #place_order {
  background: var(--bean);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #place_order:hover {
  background: var(--bean-deep);
}

/* --- Tables ------------------------------------------------------------- */

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 2rem;
  background: #fff;
  border: 1px solid var(--line);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 1rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.woocommerce table.shop_table thead th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
}

.woocommerce table.shop_table th.product-price,
.woocommerce table.shop_table th.product-subtotal,
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal,
.woocommerce table.shop_table td.product-total {
  text-align: right;
  white-space: nowrap;
}

.woocommerce td.product-thumbnail {
  width: 6rem;
}

.woocommerce td.product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--paper);
}

.woocommerce td.product-name a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.woocommerce td.product-name a:hover {
  color: var(--ember);
}

.woocommerce td.product-remove {
  width: 3rem;
}

.woocommerce a.remove {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1;
  text-decoration: none;
}

.woocommerce a.remove:hover {
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
}

.woocommerce .quantity input.qty {
  width: 4.75rem;
  padding: 0.55rem 0.4rem;
  text-align: center;
}

/* --- Cart --------------------------------------------------------------- */

.woocommerce td.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--paper);
}

.woocommerce td.actions .coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.woocommerce td.actions .coupon #coupon_code {
  width: 12rem;
}

.woocommerce .cart-collaterals {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2rem;
}

.woocommerce .cart-collaterals .cross-sells {
  flex: 1 1 20rem;
}

.woocommerce .cart_totals {
  flex: 0 1 26rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.woocommerce .cart_totals h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.woocommerce .cart_totals table.shop_table {
  margin: 0 0 1.25rem;
  border: 0;
  background: transparent;
}

.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td {
  padding: 0.65rem 0;
}

.woocommerce .cart_totals table.shop_table th {
  color: var(--ink);
  font-weight: 600;
}

.woocommerce .cart_totals table.shop_table td {
  text-align: right;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
  font-size: 1.1rem;
  border-bottom: 0;
}

.woocommerce .cart_totals #shipping_method {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.woocommerce .wc-proceed-to-checkout .checkout-button {
  display: flex;
  width: 100%;
  padding: 1rem 1.5rem;
}

.woocommerce .cart-empty {
  font-size: 1.15rem;
}

.woocommerce .return-to-shop {
  margin-top: 1.5rem;
}

/* --- Checkout ----------------------------------------------------------- */

.woocommerce-checkout h3 {
  margin: 0 0 1.25rem;
  font-size: 1.4rem;
}

.woocommerce form.checkout_coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
}

.woocommerce form.checkout_coupon .form-row {
  flex: 0 1 16rem;
  margin: 0;
}

.woocommerce-checkout form.checkout {
  display: grid;
  gap: 2.5rem;
}

.woocommerce #customer_details.col2-set {
  display: grid;
  gap: 2rem;
}

.woocommerce #ship-to-different-address h3 {
  margin: 0;
  font-size: 1rem;
}

@media (min-width: 640px) {
  .woocommerce .woocommerce-billing-fields__field-wrapper,
  .woocommerce .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .woocommerce .woocommerce-billing-fields__field-wrapper > .form-row-wide,
  .woocommerce .woocommerce-shipping-fields__field-wrapper > .form-row-wide {
    grid-column: 1 / -1;
  }

  /* Pair the short fields rather than running one per line. */
  .woocommerce #billing_city_field,
  .woocommerce #billing_state_field,
  .woocommerce #billing_postcode_field,
  .woocommerce #billing_phone_field,
  .woocommerce #shipping_city_field,
  .woocommerce #shipping_state_field,
  .woocommerce #shipping_postcode_field {
    grid-column: span 1;
  }
}

@media (min-width: 960px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: 3rem;
    row-gap: 1rem;
    align-items: start;
  }

  .woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .woocommerce-checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
  }

  .woocommerce-checkout #order_review {
    grid-column: 2;
    grid-row: 2;
    position: sticky;
    top: 7.5rem;
  }
}

.woocommerce #order_review {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.woocommerce #order_review table.shop_table {
  margin: 0 0 1rem;
  border: 0;
  background: transparent;
}

.woocommerce #order_review table.shop_table th,
.woocommerce #order_review table.shop_table td {
  padding: 0.6rem 0;
}

.woocommerce #order_review table.shop_table thead th {
  background: transparent;
}

.woocommerce #order_review tfoot th {
  font-weight: 600;
}

.woocommerce #order_review tfoot td {
  text-align: right;
}

.woocommerce #order_review .order-total th,
.woocommerce #order_review .order-total td {
  font-size: 1.1rem;
  border-bottom: 0;
}

/* --- Payment (Stripe) --------------------------------------------------- */

.woocommerce #payment ul.payment_methods {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.woocommerce #payment ul.payment_methods li {
  padding: 0 0 0.85rem;
}

.woocommerce #payment ul.payment_methods li > label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.woocommerce #payment ul.payment_methods li img {
  display: inline-block;
  max-height: 24px;
  width: auto;
  margin: 0;
}

.woocommerce #payment div.payment_box {
  margin: 0.65rem 0 0;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.woocommerce #payment div.payment_box p:last-child {
  margin-bottom: 0;
}

.woocommerce #payment .place-order {
  margin-top: 1.25rem;
}

.woocommerce #payment #place_order {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
}

.woocommerce-privacy-policy-text {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Stripe's express buttons render before the form and style themselves; the
   theme only owns the spacing and the divider beneath them. */
#wc-stripe-express-checkout-element,
.wc-stripe-express-checkout-element {
  margin: 0 0 1.25rem;
}

#wc-stripe-express-checkout-button-separator,
.wc-stripe-express-checkout-button-separator {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --- Notices ------------------------------------------------------------ */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-left: 3px solid var(--atitlan);
  font-size: 0.95rem;
  color: var(--ink);
}

.woocommerce-message {
  border-left-color: var(--bean);
}

.woocommerce-error {
  border-left-color: var(--ember);
}

.woocommerce-message .button,
.woocommerce-info .button {
  margin-left: auto;
}

/* --- Order received ----------------------------------------------------- */

.woocommerce ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
}

.woocommerce ul.woocommerce-order-overview li {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.woocommerce ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* --- Small screens ------------------------------------------------------ */

@media (max-width: 767px) {
  .woocommerce table.shop_table_responsive thead {
    display: none;
  }

  .woocommerce table.shop_table_responsive tr {
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .woocommerce table.shop_table_responsive tr:last-child {
    border-bottom: 0;
  }

  .woocommerce table.shop_table_responsive td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    padding: 0.5rem 1rem;
    text-align: right;
  }

  .woocommerce table.shop_table_responsive td::before {
    content: attr(data-title);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  .woocommerce table.shop_table_responsive td.product-remove::before,
  .woocommerce table.shop_table_responsive td.product-thumbnail::before,
  .woocommerce table.shop_table_responsive td.actions::before {
    content: none;
  }

  .woocommerce table.shop_table_responsive td.product-thumbnail {
    justify-content: flex-start;
    padding-top: 1rem;
  }

  .woocommerce td.actions .coupon,
  .woocommerce td.actions .coupon #coupon_code,
  .woocommerce td.actions .button {
    width: 100%;
  }

  .woocommerce .cart_totals {
    flex: 1 1 100%;
  }
}

.entry-content > *:first-child {
  margin-top: 0;
}

.muted {
  color: var(--ink-soft);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--atitlan);
  margin-bottom: 0.65rem;
}
