
.emberBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 2.9em;
  background: linear-gradient(135deg, var(--c-leaf), var(--c-leaf-deep));
  color: #fff;
  border: none;
  border-radius: 0.625em;
  padding: .85em 1.7em;
  font-family: inherit;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0.35em 1em rgba(29, 77, 58, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.emberBtn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0.6em 1.4em rgba(29, 77, 58, 0.3); }
.emberBtn:active { transform: translateY(0); }
.emberBtn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.btnWide { width: 100%; }
.btnQuiet {
  display: inline-flex;
  align-items: center;
  min-height: 2.75em;
  padding: 0.5em 0.25em;
  color: var(--c-leaf);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 1em;
  cursor: pointer;
}


.emberCard {
  border: 2px solid #e5e7eb;
  border-color: var(--c-line);
  border-radius: 0.75em;
  padding: 1.75em;
  background: #fff;
  transition: .2s;
}
.emberCard:hover { border-color: var(--c-leaf); transform: translateY(-4px); }
.cardGrid { display: grid; grid-template-columns: 1fr; gap: 1em; }
.cardIcon { width: 2.5em; height: 2.5em; margin-bottom: 0.75em; display: block; }
.cardTitle { margin-bottom: 0.4em; }

@media (min-width: 768px) {
  .cardGrid { grid-template-columns: repeat(2, 1fr); gap: 1.5em; }
}
@media (min-width: 1024px) {
  .cardGrid3 { grid-template-columns: repeat(3, 1fr); }
}


.emberChat { display: flex; flex-direction: column; max-width: 46em; margin: 0 auto; }
.chatQ, .chatA { max-width: 88%; padding: .85em 1.1em; margin: .4em 0; }
.chatQ {
  background: var(--c-leaf);
  color: #fff;
  align-self: flex-end;
  border-radius: 1em 1em 0.25em 1em;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.4;
}
.chatA {
  background: var(--c-white);
  color: var(--c-ink);
  align-self: flex-start;
  border-radius: 1em 1em 1em 0.25em;
  border: 1px solid var(--c-line);
}
.chatWho { display: block; font-size: 0.75em; color: var(--c-ink-soft); margin-bottom: 0.2em; }
@media (min-width: 768px) {
  .chatQ, .chatA { max-width: 75%; }
}


.emberForm { display: grid; gap: 0.9em; }
.formField { display: grid; gap: 0.3em; }
.formLabel { font-weight: 600; font-size: 0.9375em; color: var(--c-ink); }
.formInput {
  width: 100%;
  min-height: 2.9em;
  padding: 0.65em 0.85em;
  border: 2px solid var(--c-line);
  border-radius: 0.5em;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: inherit;
  font-size: 1em;
  transition: border-color 0.2s ease;
}
.formInput:focus { border-color: var(--c-leaf); outline: none; box-shadow: 0 0 0 3px rgba(47, 107, 42, 0.18); }
textarea.formInput { min-height: 7em; resize: vertical; }
.formCheck { display: flex; gap: 0.6em; align-items: flex-start; font-size: 0.9375em; color: var(--c-ink-soft); }
.formCheck input { width: 1.25em; height: 1.25em; margin-top: 0.2em; flex: 0 0 auto; accent-color: var(--c-leaf); }
.formNote { font-size: 0.875em; color: var(--c-ink-soft); margin: 0; }
.formError {
  padding: 0.75em 1em;
  border-radius: 0.5em;
  background: #fdecea;
  color: #8a1c13;
  border: 1px solid #f3b8b1;
  margin: 0 0 1em;
}
.formOk {
  padding: 0.75em 1em;
  border-radius: 0.5em;
  background: var(--c-mint);
  color: var(--c-ink);
  border: 1px solid var(--c-pale);
  margin: 0 0 1em;
}
.formTrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.orderBox {
  border: 2px solid var(--c-line);
  border-radius: 1em;
  padding: 1.25em;
}
@media (min-width: 768px) {
  .orderBox { padding: 2em; }
}


.emberOrderBench .orderBox {
  display: grid;
  gap: 1.5em;
  background: var(--c-white);
  border: 2px solid var(--c-line);
  border-radius: 1em;
  padding: 1.25em;
}
@media (min-width: 768px) {
  .emberOrderBench .orderBox { grid-template-columns: 1fr 1fr; padding: 2em; gap: 2.5em; }
}


.emberSalesBench { display: grid; gap: 1.5em; }
.galleryMain {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 1em;
  padding: 0.75em;
  min-height: 12em;
}
.galleryMain img { display: block; width: 100%; height: auto; }
.galleryPanel { display: grid; place-items: center; text-align: center; gap: 0.75em; padding: 1.5em; aspect-ratio: 1 / 1; border-radius: 0.6em; }
.galleryPanel svg { width: 45%; height: auto; }
.panelTexture { background: radial-gradient(circle at 30% 30%, #fff 0, var(--c-sun-soft) 45%, #f7c873 100%); }
.panelBox { background: linear-gradient(160deg, var(--c-mint), #dbeacc); }
.galleryPanel p { color: var(--c-ink); max-width: 18em; }
.galleryThumbs { display: flex; gap: 0.6em; margin-top: 0.75em; list-style: none; padding: 0; }
.thumbBtn {
  width: 4.5em;
  height: 4.5em;
  padding: 0.2em;
  border: 2px solid var(--c-line);
  border-radius: 0.6em;
  background: var(--c-white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease;
}
.thumbBtn img { width: 100%; height: auto; display: block; }
.thumbBtn svg { width: 70%; height: auto; }
.thumbBtn[aria-selected="true"] { border-color: var(--c-leaf); }
.thumbTexture { background: radial-gradient(circle at 30% 30%, #fff 0, var(--c-sun-soft) 50%, #f7c873 100%); }
.thumbBox { background: var(--c-mint); }

.buyPanel { background: var(--c-white); border: 2px solid var(--c-line); border-radius: 1em; padding: 1.25em; }
.buyPrice { font-size: 2.25em; color: var(--c-navy); line-height: 1; margin: 0.25em 0 0.5em; }
.buyFacts { display: grid; gap: 0.3em; margin: 0 0 1em; font-size: 0.9375em; }
.buyFacts div { display: flex; gap: 0.5em; }
.buyFacts dt { color: var(--c-ink-soft); min-width: 8.5em; }
.buyFacts dd { margin: 0; color: var(--c-ink); }
.stockDot { display: inline-block; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--c-leaf); margin-right: 0.35em; }
.qtyStep { display: inline-flex; align-items: center; border: 2px solid var(--c-line); border-radius: 0.6em; overflow: hidden; background: var(--c-white); }
.qtyStep button {
  width: 2.75em;
  height: 2.75em;
  border: 0;
  background: var(--c-mint);
  color: var(--c-ink);
  font-size: 1.15em;
  cursor: pointer;
}
.qtyStep output, .qtyStep span { min-width: 2.5em; text-align: center; font-weight: 600; }
.buyRow { display: flex; flex-wrap: wrap; gap: 0.75em; align-items: center; margin: 1em 0; }
.buyList li { padding-left: 1.6em; position: relative; margin-bottom: 0.4em; color: var(--c-ink-soft); }
.buyList li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.9em; height: 0.5em; border-left: 3px solid var(--c-leaf); border-bottom: 3px solid var(--c-leaf); transform: rotate(-45deg); }

@media (min-width: 768px) {
  .emberSalesBench { grid-template-columns: 1fr 1fr; gap: 2.5em; align-items: start; }
  .buyPanel { padding: 2em; }
}


.emberBlueprint .tabBar { display: flex; flex-wrap: wrap; gap: 0.25em; border-bottom: 2px solid var(--c-line); margin-bottom: 1.25em; }
.tabBtn {
  min-height: 2.9em;
  padding: 0.5em 1em;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: none;
  color: var(--c-ink-soft);
  font-family: inherit;
  font-size: 0.9375em;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0.5em 0.5em 0 0;
}
.tabBtn[aria-selected="true"] { color: var(--c-ink); border-bottom-color: var(--c-leaf); background: var(--c-white); }
.tabPane { background: var(--c-white); border: 1px solid var(--c-line); border-radius: 0.75em; padding: 1.25em; }
.tabPane[hidden] { display: none; }


.emberHandCart { display: grid; gap: 1.5em; }
.cartLine {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 1em;
  align-items: center;
  background: var(--c-white);
  border: 2px solid var(--c-line);
  border-radius: 1em;
  padding: 1em;
}
.cartLine img { width: 5em; height: auto; display: block; }
.cartLineMeta { display: grid; gap: 0.5em; }
.cartTotals { display: grid; gap: 0.35em; margin-top: 1em; padding: 1em; border-radius: 0.75em; background: var(--c-mint); }
.cartTotals div { display: flex; justify-content: space-between; gap: 1em; }
.cartTotalBig { font-size: 1.25em; color: var(--c-navy); }
.cartEmpty { background: var(--c-white); border: 2px dashed var(--c-line); border-radius: 1em; padding: 1.5em; text-align: center; }
.cartEmpty[hidden], .cartFull[hidden] { display: none; }
.stepsLine { counter-reset: pas; display: grid; gap: 0.75em; }
.stepsLine li { counter-increment: pas; position: relative; padding-left: 2.6em; color: var(--c-ink-soft); }
.stepsLine li::before {
  content: counter(pas);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: var(--c-sun-soft);
  color: var(--c-ink);
  display: grid;
  place-items: center;
  font-weight: 600;
}
@media (min-width: 1024px) {
  .emberHandCart { grid-template-columns: 1.1fr 0.9fr; gap: 2.5em; align-items: start; }
}


.emberWidget { position: relative; z-index: 95; }
.widgetFab {
  position: fixed;
  right: 1.25em;
  bottom: 1.5em;
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1em);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.widgetFab.isShown { opacity: 1; visibility: visible; transform: none; }
.widgetPanel {
  position: fixed;
  right: 1em;
  bottom: 5.25em;
  z-index: 96;
  width: 22em;
  max-width: calc(100% - 2em);
  max-height: calc(100vh - 7em);
  overflow: auto;
  background: var(--c-white);
  border: 2px solid var(--c-line);
  border-radius: 1em;
  box-shadow: 0 1.25em 3em rgba(4, 47, 46, 0.22);
  padding: 1.25em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1em);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.widgetPanel.isOpen { opacity: 1; visibility: visible; transform: none; }
.widgetHead { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5em; margin-bottom: 0.5em; }
.widgetHead h2 { font-size: 1.125em; margin: 0; }
.widgetClose { min-width: 2.75em; min-height: 2.75em; border: 0; background: var(--c-mint); border-radius: 50%; font-size: 1.25em; cursor: pointer; color: var(--c-ink); }
@media (max-width: 767.98px) {
  .widgetFab { display: none; }
  .widgetPanel { bottom: 4.6em; right: 0.5em; max-width: calc(100% - 1em); max-height: calc(100vh - 9em); }
}


.reveal { transform: translateY(1.5em); transition: transform 0.6s ease; }
.reveal.active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .emberBtn, .emberCard, .widgetFab, .widgetPanel { transition: none; transform: none; }
}


.emberHouseRules { max-width: 46em; }
.emberHouseRules h1 { overflow-wrap: normal; }
.emberHouseRules h2 { font-size: 1.25em; margin-top: 1.5em; }
.emberHouseRules p, .emberHouseRules li { color: var(--c-ink-soft); }
.emberHouseRules ul { padding-left: 1.25em; }
.emberHouseRules li { margin-bottom: 0.4em; }
.ruleStamp { font-size: 0.875em; color: var(--c-ink-soft); }
.factTable { width: 100%; border-collapse: collapse; background: var(--c-white); border-radius: 0.75em; overflow: hidden; border: 1px solid var(--c-line); }
.factTable th, .factTable td { text-align: left; padding: 0.75em 1em; border-bottom: 1px solid var(--c-line); vertical-align: top; font-size: 0.9375em; }
.factTable th { width: 38%; color: var(--c-ink); background: var(--c-mint); font-weight: 600; }
.factTable td { color: var(--c-ink-soft); }
.factTable tr:last-child th, .factTable tr:last-child td { border-bottom: 0; }

.contactGrid { display: grid; gap: 1.5em; }
.contactLine { display: flex; gap: 0.75em; align-items: flex-start; }
.contactLine svg { width: 1.5em; height: 1.5em; flex: 0 0 auto; margin-top: 0.15em; }
.contactBig { font-size: 1.25em; color: var(--c-ink); text-decoration: none; }
@media (min-width: 768px) {
  .contactGrid { grid-template-columns: 0.9fr 1.1fr; gap: 2.5em; }
}


.uJustifyCenter { justify-content: center; }
.backGroup { min-width: 0; }
.emberPhotos { position: relative; min-width: 0; }
.gallerySlide { display: block; }
.gallerySlide[hidden], .galleryPanel[hidden] { display: none; }
.cartSide { min-width: 0; }
.contactSide { min-width: 0; }
.orderIntro p:last-child { margin-bottom: 0; }
.emberRawToReady .plankHead { margin-bottom: 1.5em; }
.emberAskedOften .plankHead { margin-left: auto; margin-right: auto; }
.emberRecipe strong { font-weight: 600; }
.emberHandmade .cardGrid { margin-top: 0.5em; }
.emberHandling h2 { margin-bottom: 0.25em; }
.emberMakerPledge .factTable { margin-top: 0.5em; }
.emberFinalTouch { padding-bottom: 3.5em; }
.emberFinalTouch p { color: var(--c-pale); }
.emberHallmarks .fBands { margin-top: 0.5em; }
.emberCrate .factTable, .emberReturnNote h2 { margin-top: 1.25em; }
.emberWrite .contactGrid { margin-top: 1em; }
.emberCrumbs + .emberPlank { padding-top: 1em; }
.dockLabel { line-height: 1.2; }
.plankTitle { max-width: 40em; }
.newsItem { line-height: 1.5; }
.uWide { max-width: 72em; }
.chatQ .chatWho { color: var(--c-sun-soft); }
.uBgInk .emberBtn, .uBgInk .emberBtn:hover { color: #fff; }
.buyList { margin-top: 1.25em; }
.backNote, .backBottom { max-width: 78.57em; }
