:root {
  --paper: #fffaf2;
  --paper-deep: #f5ead9;
  --ink: #2e2923;
  --muted: #756d63;
  --tomato: #9d2f24;
  --tomato-dark: #762019;
  --gold: #d79a34;
  --green: #42654e;
  --line: rgba(62, 48, 37, 0.14);
  --shadow: 0 16px 45px rgba(67, 43, 27, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, textarea { font: inherit; }
button { color: inherit; }

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(62, 48, 37, 0.08);
  background: rgba(255, 250, 242, 0.91);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  background: var(--tomato);
  font-family: "DM Sans", sans-serif;
  font-size: .75rem;
  letter-spacing: .08em;
}
.language-toggle {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: white;
  cursor: pointer;
  font-weight: 700;
  font-size: .78rem;
}
.language-toggle span:not(.active) { color: #aaa198; }
.language-toggle .active { color: var(--tomato); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  min-height: 570px;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 7vw, 108px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 47%, rgba(215, 154, 52, .12) 0 23%, transparent 24%),
    linear-gradient(135deg, #fffaf2 0%, #f9ecdc 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(157, 47, 36, .13);
  border-radius: 50%;
}
.hero::before { left: -135px; top: 95px; }
.hero::after { left: -76px; top: 154px; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.eyebrow {
  margin: 0 0 11px;
  color: var(--tomato);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
}
h1, h2 { font-family: "Fraunces", Georgia, serif; }
h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.15rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.04em;
}
h1 em { color: var(--tomato); font-style: italic; }
.hero-text {
  max-width: 550px;
  margin: 25px 0 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.7;
}
.primary-button {
  display: inline-flex;
  padding: 14px 21px;
  border-radius: 12px;
  color: white;
  background: var(--tomato);
  box-shadow: 0 9px 20px rgba(157, 47, 36, .18);
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s, background .2s;
}
.primary-button:hover { transform: translateY(-2px); background: var(--tomato-dark); }
.hero-cause-note {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 520px;
  margin-top: 18px;
  padding: 11px 14px;
  border: 1px solid rgba(66, 101, 78, .18);
  border-radius: 12px;
  color: var(--green);
  background: rgba(66, 101, 78, .08);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.45;
}
.hero-cause-note:hover { border-color: rgba(66, 101, 78, .38); background: rgba(66, 101, 78, .12); }
.hero-cause-note > span:first-child { flex: 0 0 auto; font-size: 1.1rem; }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; color: var(--muted); font-size: .78rem; }
.contact-row > span { font-weight: 700; }
.contact-row a { color: var(--green); text-decoration: none; font-weight: 800; }
.contact-row a:hover { color: var(--tomato); text-decoration: underline; }

.hero-art { position: relative; z-index: 2; justify-self: center; text-align: center; }
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -6% 3%;
  border-radius: 48% 52% 44% 56%;
  background: rgba(215, 154, 52, .11);
  transform: rotate(-5deg);
}
.tia-illustration {
  display: block;
  width: min(41vw, 470px);
  max-height: 520px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 24px rgba(72, 48, 31, .12));
}
.hero-art > p {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 25px;
  color: var(--green);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-art > p span:first-child { color: var(--tomato); font-size: 1.1rem; }

.shop { padding: 80px clamp(20px, 5vw, 72px) 95px; background: #fffdf9; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto 26px;
}
.section-heading h2, .order-panel h2, .cause-note h2 { margin: 0; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-heading > p { max-width: 405px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.category-tabs {
  display: flex;
  gap: 8px;
  max-width: 1300px;
  margin: 0 auto 28px;
  overflow-x: auto;
  padding: 2px 2px 7px;
  scrollbar-width: none;
}
.category-tab {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: white;
  cursor: pointer;
  font-weight: 600;
  font-size: .86rem;
}
.category-tab.active { color: white; border-color: var(--green); background: var(--green); }

.flavor-note {
  max-width: 1300px;
  margin: -7px auto 27px;
  color: var(--tomato);
  font-size: .78rem;
  font-weight: 700;
}
.flavor-note span:first-child { margin-right: 5px; color: var(--gold); }

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 355px);
  gap: 28px;
  align-items: start;
  max-width: 1300px;
  margin: auto;
}
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 5px 18px rgba(66, 44, 28, .04);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-2px); border-color: rgba(157, 47, 36, .28); box-shadow: 0 10px 25px rgba(66, 44, 28, .08); }
.custom-order-card {
  border-color: rgba(66, 101, 78, .28);
  background: linear-gradient(120deg, #f1f6ef, #fbf7ec);
}
.custom-order-card .product-description { min-height: auto; max-width: 680px; color: #607164; font-size: .84rem; }
.custom-order-card .product-bottom { color: var(--green); font-size: .76rem; font-weight: 700; }
.custom-order-card .product-media { color: white; background: linear-gradient(140deg, #42654e, #66836d); }
.product-media {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 300px;
  padding: 0;
  overflow: hidden;
  color: var(--tomato);
  background:
    radial-gradient(circle at 72% 28%, rgba(215,154,52,.22), transparent 29%),
    #f9edda;
  font-family: "Fraunces", serif;
  font-size: 3.5rem;
  font-weight: 700;
}
.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-content { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 18px; }
.product-name { margin: 0 0 6px; font-family: "Fraunces", serif; font-size: 1.28rem; line-height: 1.15; }
.product-description { min-height: 48px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.package { display: block; color: var(--muted); font-size: .72rem; }
.price { display: block; margin-top: 1px; color: var(--tomato); font-size: .92rem; font-weight: 700; }
.quantity-control { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fffdf9; }
.quantity-control button { width: 30px; height: 30px; border: 0; background: transparent; border-radius: 9px; cursor: pointer; font-size: 1.15rem; }
.quantity-control button:hover { color: white; background: var(--tomato); }
.quantity-control span { min-width: 22px; text-align: center; font-size: .87rem; font-weight: 700; }

.order-panel {
  position: sticky;
  top: 82px;
  padding: 23px;
  border-radius: 22px;
  color: white;
  background: var(--tomato);
  box-shadow: var(--shadow);
}
.order-panel .eyebrow { color: #f2c599; }
.order-panel h2 { font-size: 1.65rem; }
.order-panel-heading { display: flex; justify-content: space-between; align-items: start; }
.order-count { display: grid; place-items: center; min-width: 35px; height: 35px; padding: 0 8px; border-radius: 99px; color: var(--tomato); background: white; font-weight: 800; }
.empty-order { display: grid; place-items: center; min-height: 146px; color: rgba(255,255,255,.75); text-align: center; }
.empty-order span { font-size: 1.7rem; }
.empty-order p { max-width: 200px; margin: 4px auto 0; font-size: .86rem; line-height: 1.45; }
.order-lines { max-height: 275px; margin: 20px 0 12px; overflow-y: auto; }
.order-line { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.order-line p { margin: 0; font-size: .85rem; font-weight: 700; }
.order-line small { display: block; margin-top: 2px; color: rgba(255,255,255,.68); font-size: .7rem; font-weight: 400; }
.order-line strong { font-size: .84rem; }
.total-block { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.3); }
.total-block span { display: block; font-size: .82rem; }
.total-block small { color: #f4cda7; font-size: .69rem; }
.total-block strong { font-family: "Fraunces", serif; font-size: 1.55rem; }
.price-reminder { display: flex; gap: 7px; margin: -3px 0 15px; padding: 9px 10px; border-radius: 9px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.1); font-size: .69rem; line-height: 1.4; }
.price-reminder span:first-child { color: #f4cda7; font-weight: 800; }
.notes-field span { display: block; margin-bottom: 7px; font-size: .76rem; font-weight: 600; }
.notes-field textarea { width: 100%; resize: vertical; padding: 10px 11px; border: 0; border-radius: 10px; outline: 0; color: var(--ink); background: rgba(255,255,255,.95); font-size: .81rem; }
.copy-button { width: 100%; margin-top: 12px; padding: 13px 15px; border: 0; border-radius: 11px; color: var(--tomato); background: white; cursor: pointer; font-weight: 800; }
.copy-button:hover:not(:disabled) { background: #fff5e8; }
.copy-button:disabled { cursor: not-allowed; opacity: .52; }
.send-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.send-buttons button { padding: 10px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; color: white; background: rgba(255,255,255,.1); cursor: pointer; font-size: .78rem; font-weight: 800; }
.send-buttons button:hover:not(:disabled) { color: var(--tomato); background: white; }
.send-buttons button:disabled { cursor: not-allowed; opacity: .42; }
.privacy-note { margin: 10px 3px 0; color: rgba(255,255,255,.7); font-size: .67rem; line-height: 1.4; text-align: center; }

.cause-note {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr);
  align-items: center;
  gap: clamp(35px, 7vw, 95px);
  min-height: 570px;
  padding: clamp(64px, 8vw, 100px) clamp(24px, 7vw, 108px);
  overflow: hidden;
  color: #f5f0e7;
  background:
    radial-gradient(circle at 15% 25%, rgba(239, 189, 149, .15), transparent 28%),
    linear-gradient(135deg, #355440, var(--green));
  text-align: left;
}
.cause-note::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(255,255,255,.025), 0 0 0 104px rgba(255,255,255,.02);
}
.cause-content { position: relative; z-index: 2; max-width: 680px; }
.cause-note .eyebrow { color: #efbd95; }
.cause-note h2 { max-width: 610px; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.03em; }
.cause-main { max-width: 650px; margin: 18px 0 0; color: rgba(255,255,255,.87); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.6; }
.cause-stats { display: flex; gap: 12px; margin: 25px 0; }
.cause-stats > span { display: flex; flex-direction: column; min-width: 145px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.08); }
.cause-stats strong { color: #efbd95; font-family: "Fraunces", serif; font-size: 1.65rem; }
.cause-stats span span { color: rgba(255,255,255,.75); font-size: .72rem; }
.cause-personal { max-width: 650px; margin: 0; color: rgba(255,255,255,.66); font-size: .83rem; line-height: 1.65; }
.cause-button {
  display: inline-flex;
  margin-top: 25px;
  padding: 12px 17px;
  border-radius: 11px;
  color: var(--green);
  background: #f4eadb;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 800;
  transition: transform .2s, background .2s;
}
.cause-button:hover { transform: translateY(-2px); background: white; }
.cause-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  width: 100%;
  height: min(400px, 40vw);
  padding: 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 24px 55px rgba(20,35,25,.24);
  transform: rotate(1.2deg);
}
.cause-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 15px;
}
.cause-gallery img:first-child { grid-row: 1 / 3; }
.toast { position: fixed; z-index: 50; left: 50%; top: 76px; display: flex; align-items: center; gap: 8px; transform: translateX(-50%); padding: 11px 16px; border-radius: 99px; color: white; background: #29251f; box-shadow: var(--shadow); font-size: .86rem; font-weight: 700; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr .8fr; min-height: 530px; }
  .tia-illustration { width: min(40vw, 380px); }
  .cause-note { grid-template-columns: 1fr 1fr; padding-inline: 38px; }
  .cause-gallery { height: 360px; }
  .shop-layout { grid-template-columns: 1fr; }
  .order-panel { position: relative; top: 0; max-width: none; }
  .order-lines { max-height: none; }
}

@media (max-width: 680px) {
  .topbar { padding: 10px 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { display: block; min-height: auto; padding: 60px 20px 54px; }
  .hero-copy { text-align: center; }
  h1 { font-size: clamp(2.9rem, 14vw, 4.2rem); }
  .hero-text { margin: 20px auto 25px; font-size: .98rem; }
  .hero-cause-note { margin-inline: auto; text-align: left; }
  .contact-row { justify-content: center; }
  .hero-art { margin-top: 46px; }
  .tia-illustration { width: min(85vw, 390px); margin: auto; }
  .shop { padding: 58px 16px 68px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading > p { margin-top: 12px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 450px; }
  .product-media { height: 250px; }
  .cause-note { grid-template-columns: 1fr; gap: 38px; min-height: auto; padding: 62px 22px 56px; }
  .cause-gallery { height: 330px; transform: none; }
  .cause-stats { gap: 8px; }
  .cause-stats > span { min-width: 0; flex: 1; padding: 11px 13px; }
  .toast { top: 64px; width: max-content; max-width: calc(100vw - 30px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
