/* ================================
   Kanawa Coffee Roastery
   Palette: #103435 (deep teal) & #56c3a4 (mint green)
   ================================ */

:root {
  --teal: #103435;
  --teal-2: #1a4647;
  --mint: #56c3a4;
  --mint-2: #7fd4b9;
  --cream: #f7f3ec;
  --cream-2: #ede4d3;
  --ink: #1a2222;
  --muted: #6b7777;
  --line: #e6dfd2;
  --white: #ffffff;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -20px rgba(16, 52, 53, 0.25);
  --transition: 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1240px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
em { font-style: italic; color: var(--mint); }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--mint); color: var(--teal); }
.btn--outline { color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--outline:hover { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn--ghost { color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: var(--white); }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.82rem; background: var(--teal); color: var(--white); }
.btn--small:hover { background: var(--mint); color: var(--teal); }

/* Eyebrow & section helpers */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--mint-2); }

.section { padding: 7rem 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.section__title--light { color: var(--white); }
.section__lead { color: var(--muted); font-size: 1.05rem; }
.section__lead--light { color: rgba(255,255,255,0.78); }

.grid { display: grid; gap: 4rem; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--align { align-items: center; }

/* Topbar */
.topbar {
  background: var(--teal);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.topbar__inner {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}
.topbar__divider { opacity: 0.4; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(16,52,53,0.2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 2rem;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  color: var(--teal);
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--teal);
  color: var(--mint);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 600;
}
.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
}
.logo-text small {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.nav__menu {
  display: flex;
  gap: 2.2rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav__menu a {
  position: relative;
  color: var(--teal);
  padding: 0.25rem 0;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--mint);
  transition: width var(--transition);
}
.nav__menu a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--teal);
  transition: transform var(--transition), opacity var(--transition);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(16,52,53,0.85) 0%, rgba(16,52,53,0.55) 50%, rgba(86,195,164,0.35) 100%),
    radial-gradient(1200px 600px at 80% 20%, rgba(86,195,164,0.4), transparent 60%),
    url("https://images.unsplash.com/photo-1497935586351-b67a49e012bf?auto=format&fit=crop&w=1920&q=80") center / cover no-repeat,
    var(--teal);
  z-index: -1;
}
.hero__inner {
  padding: 7rem 0 6rem;
  max-width: 820px;
}
.hero .eyebrow { color: var(--mint-2); }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.hero__title em { color: var(--mint); }
.hero__sub {
  font-size: 1.12rem;
  max-width: 560px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.hero__stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 600px;
}
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--mint);
  line-height: 1;
}
.hero__stats span {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
}
.hero__scroll span {
  display: block;
  width: 3px; height: 8px;
  background: var(--mint);
  border-radius: 2px;
  margin: 6px auto 0;
  animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* Story */
.story__media {
  position: relative;
  aspect-ratio: 4 / 5;
}
.story__img {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}
.story__img--1 {
  inset: 0 30% 20% 0;
  background-image: url("https://images.unsplash.com/photo-1442975631115-c4f7b05b8a2c?auto=format&fit=crop&w=900&q=80");
}
.story__img--2 {
  inset: 25% 0 0 35%;
  background-image: url("https://images.unsplash.com/photo-1559056199-641a0ac8b55e?auto=format&fit=crop&w=900&q=80");
  border: 8px solid var(--cream);
}
.story__badge {
  position: absolute;
  bottom: 5%; left: 5%;
  width: 110px; height: 110px;
  background: var(--mint);
  color: var(--teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-serif);
  box-shadow: var(--shadow);
  z-index: 2;
}
.story__badge span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.story__badge strong { font-size: 1.8rem; line-height: 1; font-weight: 600; }
.story__content p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}
.story__list {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.story__list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--teal);
  font-weight: 500;
}
.story__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  background: var(--mint);
  color: var(--teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Coffee */
.coffee { background: var(--white); }
.coffee__filters {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.chip {
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal);
  transition: all var(--transition);
}
.chip:hover { border-color: var(--mint); color: var(--mint); }
.chip.is-active { background: var(--teal); color: var(--white); border-color: var(--teal); }

.coffee__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card.is-hidden { display: none; }
.card__img {
  aspect-ratio: 4 / 3;
  position: relative;
  background-size: cover;
  background-position: center;
}
.card__img--gayo { background-image: linear-gradient(rgba(16,52,53,0.05), rgba(16,52,53,0.25)), url("https://images.unsplash.com/photo-1559525839-d9acfd5ed4f0?auto=format&fit=crop&w=800&q=80"); }
.card__img--toraja { background-image: linear-gradient(rgba(16,52,53,0.05), rgba(16,52,53,0.25)), url("https://images.unsplash.com/photo-1611854779393-1b2da9d400fe?auto=format&fit=crop&w=800&q=80"); }
.card__img--bajawa { background-image: linear-gradient(rgba(16,52,53,0.05), rgba(16,52,53,0.25)), url("https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?auto=format&fit=crop&w=800&q=80"); }
.card__img--mandheling { background-image: linear-gradient(rgba(16,52,53,0.05), rgba(16,52,53,0.25)), url("https://images.unsplash.com/photo-1587049352846-4a222e784d38?auto=format&fit=crop&w=800&q=80"); }
.card__img--kintamani { background-image: linear-gradient(rgba(16,52,53,0.05), rgba(16,52,53,0.25)), url("https://images.unsplash.com/photo-1542181961-9590d0c79dab?auto=format&fit=crop&w=800&q=80"); }
.card__img--house { background-image: linear-gradient(rgba(16,52,53,0.05), rgba(16,52,53,0.25)), url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=800&q=80"); }

.card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--white);
  color: var(--teal);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.card__body small {
  color: var(--mint);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.2;
}
.card__body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}
.price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal);
}

/* Roastery / Process */
.roastery {
  background: var(--teal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.roastery::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86,195,164,0.18), transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}
.process__step {
  padding: 2.5rem 1.8rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.process__step:hover {
  background: rgba(86,195,164,0.1);
  border-color: var(--mint);
  transform: translateY(-4px);
}
.process__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--mint);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.process__step h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.process__step p { color: rgba(255,255,255,0.72); font-size: 0.95rem; }

/* Cafes */
.cafes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.cafe {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cafe:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cafe__img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.cafe__img--menteng { background-image: url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=800&q=80"); }
.cafe__img--senopati { background-image: url("https://images.unsplash.com/photo-1453614512568-c4024d13c247?auto=format&fit=crop&w=800&q=80"); }
.cafe__img--canggu { background-image: url("https://images.unsplash.com/photo-1521017432531-fbd92d768814?auto=format&fit=crop&w=800&q=80"); }
.cafe__img--ubud { background-image: url("https://images.unsplash.com/photo-1525629476434-e623d4f5cd00?auto=format&fit=crop&w=800&q=80"); }
.cafe__body { padding: 1.5rem; }
.cafe__body h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.cafe__body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.5rem; }
.cafe__body small {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(86,195,164,0.15);
  color: var(--teal);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Journal */
.journal { background: var(--white); }
.journal__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.journal__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding var(--transition);
}
.journal__item:hover { padding-left: 1rem; }
.journal__item small {
  display: block;
  color: var(--mint);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.journal__item h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--teal);
}
.journal__item .arrow {
  font-size: 1.4rem;
  color: var(--mint);
  transition: transform var(--transition);
}
.journal__item:hover .arrow { transform: translateX(8px); }

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before, .newsletter::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86,195,164,0.2), transparent 70%);
}
.newsletter::before { top: -150px; left: -150px; }
.newsletter::after { bottom: -150px; right: -150px; }
.newsletter__inner { position: relative; max-width: 640px; margin: 0 auto; }
.newsletter h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 500;
}
.newsletter p { color: rgba(255,255,255,0.78); margin-bottom: 2.2rem; }
.newsletter__form {
  display: flex;
  gap: 0.6rem;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 0.4rem;
}
.newsletter__form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--white);
  padding: 0 1.2rem;
  font: inherit;
  font-size: 0.95rem;
}
.newsletter__form input::placeholder { color: rgba(255,255,255,0.5); }

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding-top: 5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
.footer__brand p { margin: 1rem 0 1.5rem; max-width: 320px; font-size: 0.92rem; }
.nav__logo--footer { color: var(--white); }
.nav__logo--footer .logo-text { color: var(--white); }
.nav__logo--footer .logo-text small { color: rgba(255,255,255,0.5); }
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--mint); color: var(--teal); border-color: var(--mint); }
.footer h5 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.footer ul { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.92rem; }
.footer ul a:hover { color: var(--mint); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.6rem 0;
  font-size: 0.82rem;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .section { padding: 5rem 0; }
  .grid--2 { grid-template-columns: 1fr; gap: 3rem; }
  .nav__menu {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a { padding: 1rem 5%; border-bottom: 1px solid var(--line); }
  .nav__menu a::after { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .btn--ghost { display: none; }
  .hero__inner { padding: 5rem 0 4rem; }
  .hero__stats { gap: 2rem; flex-wrap: wrap; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .topbar__divider, .topbar span:last-child { display: none; }
  .hero { min-height: 80vh; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn { width: 100%; }
  .newsletter__form { flex-direction: column; background: transparent; border: 0; padding: 0; }
  .newsletter__form input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 0.95rem 1.5rem;
  }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}


/* ================================
   Multi-page additions
   ================================ */

/* Active nav state */
.nav__menu a.is-active { color: var(--mint); }
.nav__menu a.is-active::after { width: 100%; }

/* Page hero (smaller than home hero) */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(135deg, rgba(16,52,53,0.85), rgba(16,52,53,0.55)),
    var(--teal);
  background-size: cover;
  background-position: center;
}
.page-hero--about .page-hero__bg { background-image: linear-gradient(135deg, rgba(16,52,53,0.85), rgba(16,52,53,0.55)), url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1920&q=80"); background-size: cover; background-position: center; }
.page-hero--coffee .page-hero__bg { background-image: linear-gradient(135deg, rgba(16,52,53,0.85), rgba(16,52,53,0.55)), url("https://images.unsplash.com/photo-1559056199-641a0ac8b55e?auto=format&fit=crop&w=1920&q=80"); background-size: cover; background-position: center; }
.page-hero--roastery .page-hero__bg { background-image: linear-gradient(135deg, rgba(16,52,53,0.85), rgba(16,52,53,0.55)), url("https://images.unsplash.com/photo-1442975631115-c4f7b05b8a2c?auto=format&fit=crop&w=1920&q=80"); background-size: cover; background-position: center; }
.page-hero--cafes .page-hero__bg { background-image: linear-gradient(135deg, rgba(16,52,53,0.85), rgba(16,52,53,0.55)), url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=1920&q=80"); background-size: cover; background-position: center; }
.page-hero--class .page-hero__bg { background-image: linear-gradient(135deg, rgba(16,52,53,0.85), rgba(16,52,53,0.55)), url("https://images.unsplash.com/photo-1512568400610-62da28bc8a13?auto=format&fit=crop&w=1920&q=80"); background-size: cover; background-position: center; }
.page-hero--journal .page-hero__bg { background-image: linear-gradient(135deg, rgba(16,52,53,0.85), rgba(16,52,53,0.55)), url("https://images.unsplash.com/photo-1453614512568-c4024d13c247?auto=format&fit=crop&w=1920&q=80"); background-size: cover; background-position: center; }
.page-hero--contact .page-hero__bg { background-image: linear-gradient(135deg, rgba(16,52,53,0.85), rgba(16,52,53,0.55)), url("https://images.unsplash.com/photo-1521017432531-fbd92d768814?auto=format&fit=crop&w=1920&q=80"); background-size: cover; background-position: center; }

.page-hero__inner { width: 100%; padding: 5rem 0 4rem; }
.page-hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero__title em { color: var(--mint); }
.page-hero__sub { color: rgba(255,255,255,0.78); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--mint-2); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }

/* Section foot */
.section__foot { text-align: center; margin-top: 3rem; }

/* Values grid (about) */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.value {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.value__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.value h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--teal);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.value p { color: var(--muted); font-size: 0.95rem; }

/* Timeline (about) */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 4rem auto 0;
  padding-left: 2.5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--mint), transparent);
}
.timeline__item { position: relative; padding-bottom: 2.2rem; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.5rem; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--mint);
  border: 4px solid var(--cream);
}
.timeline__year {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal);
}
.timeline__item h4 {
  font-size: 1.1rem;
  color: var(--teal);
  margin: 0.2rem 0 0.4rem;
  font-weight: 600;
}
.timeline__item p { color: var(--muted); font-size: 0.95rem; }

/* Team grid */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.team__member { text-align: center; }
.team__photo {
  aspect-ratio: 1;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
  max-width: 220px;
  margin-inline: auto;
  box-shadow: var(--shadow);
}
.team__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--teal);
  font-weight: 600;
}
.team__role { color: var(--mint); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }

/* Coffee shop layout */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}
.shop-aside {
  position: sticky;
  top: 110px;
  background: var(--white);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.shop-aside h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  font-weight: 600;
}
.shop-aside ul { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.8rem; }
.shop-aside ul a {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.4rem 0;
  cursor: pointer;
}
.shop-aside ul a:hover, .shop-aside ul a.is-active { color: var(--mint); }
.shop-aside ul a span { color: var(--line); font-weight: 600; }
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.shop-toolbar__count { color: var(--muted); font-size: 0.92rem; }
.shop-toolbar select {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  color: var(--teal);
  cursor: pointer;
}

/* Class / course cards */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}
.class-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.class-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.class-card__img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}
.class-card__img--intro { background-image: url("https://images.unsplash.com/photo-1497935586351-b67a49e012bf?auto=format&fit=crop&w=900&q=80"); }
.class-card__img--brewing { background-image: url("https://images.unsplash.com/photo-1442975631115-c4f7b05b8a2c?auto=format&fit=crop&w=900&q=80"); }
.class-card__img--latte { background-image: url("https://images.unsplash.com/photo-1525629476434-e623d4f5cd00?auto=format&fit=crop&w=900&q=80"); }
.class-card__img--barista { background-image: url("https://images.unsplash.com/photo-1521017432531-fbd92d768814?auto=format&fit=crop&w=900&q=80"); }
.class-card__img--roasting { background-image: url("https://images.unsplash.com/photo-1559525839-d9acfd5ed4f0?auto=format&fit=crop&w=900&q=80"); }
.class-card__img--cupping { background-image: url("https://images.unsplash.com/photo-1611854779393-1b2da9d400fe?auto=format&fit=crop&w=900&q=80"); }

.class-card__body { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.class-card__meta {
  display: flex;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.class-card__meta .level { color: var(--mint); }
.class-card__meta .duration { color: var(--muted); }
.class-card h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--teal);
  font-weight: 600;
  line-height: 1.2;
}
.class-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.class-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Journal grid */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2.5rem;
}
.post {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.post__img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  transition: transform var(--transition);
}
.post:hover .post__img { transform: scale(1.02); }
.post__img--1 { background-image: url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=900&q=80"); }
.post__img--2 { background-image: url("https://images.unsplash.com/photo-1442975631115-c4f7b05b8a2c?auto=format&fit=crop&w=900&q=80"); }
.post__img--3 { background-image: url("https://images.unsplash.com/photo-1559525839-d9acfd5ed4f0?auto=format&fit=crop&w=900&q=80"); }
.post__img--4 { background-image: url("https://images.unsplash.com/photo-1497935586351-b67a49e012bf?auto=format&fit=crop&w=900&q=80"); }
.post__img--5 { background-image: url("https://images.unsplash.com/photo-1559056199-641a0ac8b55e?auto=format&fit=crop&w=900&q=80"); }
.post__img--6 { background-image: url("https://images.unsplash.com/photo-1525629476434-e623d4f5cd00?auto=format&fit=crop&w=900&q=80"); }
.post__meta {
  display: flex;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.post__meta .cat { color: var(--mint); }
.post__meta .date { color: var(--muted); }
.post h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--teal);
  font-weight: 500;
  line-height: 1.25;
}
.post p { color: var(--muted); font-size: 0.95rem; }
.post .read-more {
  color: var(--teal);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.post:hover .read-more { color: var(--mint); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.contact-item__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-item h4 { color: var(--teal); font-weight: 600; margin-bottom: 0.2rem; }
.contact-item p { color: var(--muted); font-size: 0.92rem; }

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 0;
  border-color: var(--mint);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--mint);
  font-weight: 400;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); margin-top: 0.8rem; line-height: 1.7; }

/* Map placeholder */
.map {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(16,52,53,0.5), rgba(86,195,164,0.3)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.map__pin {
  position: absolute;
  background: var(--mint);
  color: var(--teal);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.map__pin::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--mint);
}
.map__pin:nth-child(1) { top: 30%; left: 22%; }
.map__pin:nth-child(2) { top: 45%; left: 45%; }
.map__pin:nth-child(3) { top: 65%; left: 70%; }
.map__pin:nth-child(4) { top: 50%; left: 80%; }

/* Cafe detail layout */
.cafe-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
}
.cafe-detail:nth-child(even) { grid-template-areas: "info img"; }
.cafe-detail:nth-child(even) .cafe-detail__img { grid-area: img; }
.cafe-detail:nth-child(even) .cafe-detail__body { grid-area: info; }
.cafe-detail__img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; min-height: 300px; }
.cafe-detail__body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.cafe-detail__body small {
  color: var(--mint);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.cafe-detail__body h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--teal);
  font-weight: 600;
  margin: 0.4rem 0 1rem;
  line-height: 1.1;
}
.cafe-detail__body p { color: var(--muted); margin-bottom: 0.6rem; }
.cafe-detail__hours {
  display: flex;
  gap: 1rem;
  margin: 1.2rem 0;
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: 500;
}
.cafe-detail__hours span:first-child { color: var(--muted); }

/* Tags */
.tag-list { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  background: rgba(86,195,164,0.18);
  color: var(--teal);
  border-radius: 999px;
}

/* Featured post hero */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--line);
}
.featured-post__img {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
}
.featured-post h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--teal);
  margin: 0.6rem 0 1rem;
  line-height: 1.15;
  font-weight: 500;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: var(--white);
  padding: 4rem 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.cta-banner p { color: rgba(255,255,255,0.78); }

/* Responsive page bits */
@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-aside { position: static; }
  .contact-grid, .featured-post { grid-template-columns: 1fr; gap: 2.5rem; }
  .cafe-detail, .cafe-detail:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }
  .cafe-detail:nth-child(even) .cafe-detail__img,
  .cafe-detail:nth-child(even) .cafe-detail__body { grid-area: auto; }
  .cafe-detail__body { padding: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.5rem 1.8rem; flex-direction: column; text-align: center; }
}


/* ================================
   E-commerce: Product / Cart / Checkout
   ================================ */

/* Product detail */
.product {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: start;
}
.product__gallery { display: flex; flex-direction: column; gap: 1rem; }
.product__main {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
}
.product__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.product__thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.product__thumb.is-active, .product__thumb:hover { border-color: var(--mint); }

.product__info small {
  color: var(--mint);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.product__info h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--teal);
  font-weight: 600;
  line-height: 1.1;
  margin: 0.4rem 0 1rem;
}
.product__price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.product__desc { color: var(--muted); margin-bottom: 1.8rem; }

.product__notes {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1.8rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.product__notes div small {
  display: block;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.product__notes div strong { color: var(--teal); font-weight: 600; }

.product__options { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 1.8rem; }
.product__option label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.option-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.option-pills button {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--teal);
  transition: all var(--transition);
}
.option-pills button:hover { border-color: var(--mint); }
.option-pills button.is-active { background: var(--teal); color: var(--white); border-color: var(--teal); }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 40px; height: 40px;
  font-size: 1.2rem;
  color: var(--teal);
  transition: background var(--transition);
}
.qty button:hover { background: var(--cream); }
.qty input {
  width: 50px;
  text-align: center;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--teal);
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product__cta { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.product__cta .btn--primary { flex: 1; min-width: 200px; padding: 1.05rem 1.75rem; }

.product__feats {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.product__feats li {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.product__feats li::before {
  content: "✓";
  width: 20px; height: 20px;
  background: var(--mint);
  color: var(--teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Tabs */
.tabs { margin-top: 5rem; }
.tabs__nav {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tabs__nav button {
  padding: 1rem 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.tabs__nav button:hover { color: var(--teal); }
.tabs__nav button.is-active { color: var(--teal); border-color: var(--mint); }
.tabs__panel { display: none; max-width: 780px; }
.tabs__panel.is-active { display: block; }
.tabs__panel p { color: var(--muted); margin-bottom: 1rem; }

/* Cart page */
.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.cart-list {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cart-empty {
  padding: 4rem 2rem;
  text-align: center;
}
.cart-empty h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--teal);
  margin: 0.4rem 0 0.8rem;
}
.cart-empty p { color: var(--muted); margin-bottom: 1.5rem; }

.cart-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.2rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-row:last-child { border-bottom: 0; }
.cart-row__img {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}
.cart-row__info small {
  color: var(--mint);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.cart-row__info h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 600;
  margin: 0.2rem 0;
}
.cart-row__info p { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.cart-row__price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--teal);
  font-weight: 600;
  margin-top: 0.4rem;
}
.cart-row__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}
.cart-row__remove {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.cart-row__remove:hover { color: #c44; }

/* Cart summary */
.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 2rem;
  position: sticky;
  top: 110px;
}
.cart-summary h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.summary-row strong { color: var(--teal); font-weight: 600; }
.summary-total {
  border-top: 1px solid var(--line);
  margin-top: 0.8rem;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-serif);
}
.summary-total span:first-child {
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 600;
}
.summary-total span:last-child {
  color: var(--teal);
  font-size: 1.8rem;
  font-weight: 600;
}
.promo-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.promo-row input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  background: var(--cream);
}
.cart-summary .btn { width: 100%; margin-top: 1.5rem; }
.summary-trust {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.steps {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.step__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 600;
  transition: all var(--transition);
}
.step.is-active .step__num { background: var(--teal); color: var(--mint); border-color: var(--teal); }
.step.is-active { color: var(--teal); font-weight: 600; }
.step.is-done .step__num { background: var(--mint); color: var(--teal); border-color: var(--mint); }
.step__line { width: 30px; height: 1px; background: var(--line); }

.checkout-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.checkout-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkout-card h3 small {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--mint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.shipping-options, .payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.shipping-option, .payment-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.shipping-option:hover, .payment-option:hover { border-color: var(--mint); background: var(--cream); }
.shipping-option input, .payment-option input {
  accent-color: var(--mint);
  width: 18px; height: 18px;
}
.shipping-option:has(input:checked), .payment-option:has(input:checked) {
  border-color: var(--mint);
  background: rgba(86,195,164,0.08);
}
.shipping-option__main, .payment-option__main { flex: 1; }
.shipping-option__main strong, .payment-option__main strong { display: block; color: var(--teal); }
.shipping-option__main small, .payment-option__main small { color: var(--muted); font-size: 0.85rem; }
.shipping-option__price { font-family: var(--font-serif); font-size: 1.2rem; color: var(--teal); font-weight: 600; }

.payment-icon {
  width: 48px; height: 32px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.checkout-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* Order summary list */
.order-summary { padding-bottom: 1.2rem; }
.order-item {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.order-item:last-child { border-bottom: 0; }
.order-item__img {
  aspect-ratio: 1;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.order-item__qty {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--teal);
  color: var(--mint);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}
.order-item__info h5 { color: var(--teal); font-size: 0.92rem; font-weight: 600; }
.order-item__info small { color: var(--muted); font-size: 0.78rem; }
.order-item__price {
  font-family: var(--font-serif);
  color: var(--teal);
  font-weight: 600;
}

/* Success */
.success {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.success__icon {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  font-size: 2.6rem;
  box-shadow: var(--shadow);
}
.success h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--teal);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

/* Cart count badge in nav */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cart-count {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--mint);
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cart-count.is-empty { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; gap: 2.5rem; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-row { grid-template-columns: 80px 1fr; }
  .cart-row__actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}
@media (max-width: 560px) {
  .product__notes { grid-template-columns: 1fr; }
  .checkout-card { padding: 1.5rem; }
}


/* ================================
   Language switcher
   ================================ */
.topbar__inner {
  justify-content: space-between;
}
.topbar__msg {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.lang-switch button {
  color: rgba(247,243,236,0.6);
  font-weight: 600;
  padding: 0.2rem 0.4rem;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}
.lang-switch button:hover { color: var(--mint); }
.lang-switch button.is-active { color: var(--mint); }
.lang-switch span { opacity: 0.4; }

@media (max-width: 560px) {
  .topbar__inner { flex-direction: column; gap: 0.3rem; padding: 0.6rem 0; }
  .topbar__msg { justify-content: center; gap: 0.6rem; }
}


/* ================================
   Mobile bottom navigation
   ================================ */
.bottom-nav { display: none; }

@media (max-width: 960px) {
  body { padding-bottom: 72px; }

  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    inset: auto 0 0 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -10px rgba(16, 52, 53, 0.18);
    z-index: 90;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .bottom-nav__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0.6rem 0.4rem 0.65rem;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color var(--transition);
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
  }
  .bottom-nav__item:hover { color: var(--teal); }
  .bottom-nav__item.is-active { color: var(--mint); }

  .bottom-nav__icon {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
  }
  .bottom-nav__icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .bottom-nav__icon--whatsapp svg { fill: currentColor; stroke: none; }

  .bottom-nav__badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 22px);
    background: var(--mint);
    color: var(--teal);
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    display: grid;
    place-items: center;
  }
  .bottom-nav__badge.is-empty { display: none; }

  /* When mobile menu is open, the menu sits above bottom-nav cleanly */
  .nav__menu.is-open { padding-bottom: 90px; }
}


/* Hide footer on mobile to keep pages compact */
@media (max-width: 960px) {
  .footer { display: none; }
  /* No bottom padding needed beyond what bottom-nav reserves */
}


/* ================================
   Mobile-tighter product cards (2-per-row)
   ================================ */
@media (max-width: 720px) {
  .coffee__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .card { border-radius: var(--radius); }
  .card__img { aspect-ratio: 1 / 1; }
  .card__tag {
    font-size: 0.6rem;
    padding: 0.22rem 0.55rem;
    top: 0.55rem;
    left: 0.55rem;
    letter-spacing: 0.08em;
  }
  .card__body { padding: 0.85rem 0.85rem 1rem; gap: 0.3rem; }
  .card__body small { font-size: 0.62rem; letter-spacing: 0.1em; }
  .card__body h3 { font-size: 1.05rem; line-height: 1.2; }
  .card__body p {
    font-size: 0.78rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding-top: 0.7rem;
    margin-top: 0.3rem;
  }
  .card__foot .price { font-size: 1.05rem; }
  .card__foot .btn--small {
    width: 100%;
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }

  /* Coffee shop sidebar — collapse into horizontal scroller above products */
  .shop-layout { gap: 1.2rem; }
  .shop-aside {
    padding: 1rem;
    background: var(--cream);
  }
  .shop-aside h4 { margin-bottom: 0.6rem; }
  .shop-aside ul {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .shop-aside ul::-webkit-scrollbar { display: none; }
  .shop-aside ul a {
    flex-shrink: 0;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .shop-aside ul a span { display: none; }
  .shop-aside ul a.is-active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
  }

  /* Section padding tighter */
  .section { padding: 3.5rem 0; }
  .section__head { margin-bottom: 2.5rem; }
}

/* Class & journal grids: 2-per-row on mobile too */
@media (max-width: 720px) {
  .class-grid, .journal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .class-card, .post.card { border-radius: var(--radius); }
  .class-card__body, .post.card .card__body { padding: 0.85rem; gap: 0.4rem; }
  .class-card h3, .post.card h3 { font-size: 1rem; line-height: 1.2; }
  .class-card p, .post.card p {
    font-size: 0.78rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .class-card__meta, .post__meta { font-size: 0.6rem; }
  .class-card__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .class-card__foot .price { font-size: 1rem; }
  .class-card__foot .btn--small { width: 100%; font-size: 0.72rem; padding: 0.5rem; }
}

/* On very small phones, keep 2-col but shrink padding further */
@media (max-width: 380px) {
  .coffee__grid, .class-grid, .journal-grid { gap: 0.6rem; }
  .card__body, .class-card__body { padding: 0.7rem; }
}


/* ================================
   Filter drawer (mobile)
   ================================ */
.filter-trigger { display: none; }
.filter-overlay { display: none; }

@media (max-width: 720px) {
  .shop-aside { display: none; }

  .filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--teal);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
  }
  .filter-trigger:hover { border-color: var(--mint); color: var(--mint); }
  .filter-trigger svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .filter-trigger__count {
    background: var(--mint);
    color: var(--teal);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
  }
  .filter-trigger__count.is-empty { display: none; }

  .filter-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(16, 52, 53, 0.4);
    opacity: 0;
    pointer-events: none;
    z-index: 110;
    transition: opacity var(--transition);
  }
  .filter-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .filter-drawer {
    position: fixed;
    inset: auto 0 0 0;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: 120;
    transform: translateY(100%);
    transition: transform var(--transition);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .filter-drawer.is-open { transform: translateY(0); }

  .filter-drawer__handle {
    width: 40px;
    height: 4px;
    background: var(--line);
    border-radius: 999px;
    margin: 0.7rem auto 0;
  }

  .filter-drawer__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem 0.6rem;
    border-bottom: 1px solid var(--line);
  }
  .filter-drawer__head h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--teal);
    font-weight: 600;
  }
  .filter-drawer__close {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 0;
    background: var(--cream);
    color: var(--teal);
    font-size: 1.3rem;
    cursor: pointer;
    transition: background var(--transition);
  }
  .filter-drawer__close:hover { background: var(--line); }

  .filter-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem 1.5rem 1rem;
  }
  .filter-drawer__group { margin-bottom: 1.6rem; }
  .filter-drawer__group h4 {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.8rem;
    font-weight: 600;
  }
  .filter-drawer__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .filter-drawer__pills button {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--teal);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  .filter-drawer__pills button:hover { border-color: var(--mint); }
  .filter-drawer__pills button.is-active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
  }
  .filter-drawer__pills small {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.72rem;
  }
  .filter-drawer__pills button.is-active small { color: rgba(255,255,255,0.6); }

  .filter-drawer__foot {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0.6rem;
    padding: 1rem 1.5rem 1.2rem;
    border-top: 1px solid var(--line);
    background: var(--white);
  }
  .filter-drawer__foot .btn { width: 100%; padding: 0.85rem; }

  body.is-drawer-open { overflow: hidden; }
}


/* Shop toolbar layout on mobile */
@media (max-width: 720px) {
  .shop-toolbar {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .shop-toolbar__count {
    order: 3;
    width: 100%;
    font-size: 0.78rem;
  }
  .shop-toolbar select {
    flex: 1;
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
  }
}


/* ================================
   Legal / article pages
   ================================ */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal__meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.legal h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal);
  margin: 2.5rem 0 0.8rem;
  line-height: 1.25;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal);
  margin: 1.6rem 0 0.5rem;
}
.legal p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.legal ul, .legal ol {
  color: var(--muted);
  margin: 0 0 1.2rem 1.2rem;
  padding-left: 0.8rem;
}
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 0.4rem; line-height: 1.65; }
.legal a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--teal); }
.legal strong { color: var(--teal); }
.legal__toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.5rem;
}
.legal__toc h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.legal__toc ol {
  margin: 0;
  padding-left: 1.4rem;
  color: var(--teal);
}
.legal__toc li { margin-bottom: 0.3rem; }
.legal__toc a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}
.legal__toc a:hover { color: var(--mint); text-decoration: underline; }

/* Consent text under checkout button */
.consent-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}
.consent-note a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-note a:hover { color: var(--mint); }
