:root {
  --olive: #3e4f32;
  --terracotta: #c17a4a;
  --cream: #f5f0e8;
  --card-bg: #ffffff;
  --text: #333;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
body {
  font-family: Georgia, serif;
  background: var(--cream);
  color: var(--text);
  max-width: 420px;
  margin: 0 auto;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-frame {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}

.decor {
  display: none;
}

.header {
  background: transparent;
  padding: 4px 6px 0;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  text-align: center;
  flex: 1;
}
.brand .name { 
  font-size: 0.88rem; 
  color: var(--olive); 
  font-weight: bold; 
  letter-spacing: 0.8px;
  line-height: 1;
}
.brand .sub {
  font-size: 0.4rem;
  letter-spacing: 1.6px;
  color: var(--olive);
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.brand .sub::before,
.brand .sub::after {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--olive);
  opacity: 0.5;
}
.header-willow {
  display: none;
}
.menu { font-size: 1.2rem; color: var(--olive); }

.contact {
  background: var(--olive);
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: left;
  padding: 8px 10px;
  font-size: 0.58rem;
  line-height: 1.15;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.contact-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.contact .contact-link,
.contact .contact-link:link,
.contact .contact-link:visited,
.contact .contact-link:hover,
.contact .contact-link:active {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}
.contact .contact-link span:not(.icon-text) {
  color: #ffffff;
}
.contact-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}
.icon-circle {
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-text {
  font-size: 18px;
  color: #3e4f32;
  font-weight: bold;
  line-height: 1;
}

.hero {
  display: flex;
  align-items: flex-start;
  padding: 2px 4px;
  background: transparent;
  gap: 0;
  flex-shrink: 0;
  position: relative;
  min-height: 145px;
  overflow: hidden;
  z-index: 2;
}
.leaf {
  display: none;
}
/* Feather away the isolated cluster of three leaves between the hero headline
   and its supporting copy, without altering the outer willow border image. */
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 30px;
  top: 62px;
  width: 166px;
  height: 94px;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    var(--cream) 0%,
    var(--cream) 44%,
    rgba(245,240,232,0.94) 60%,
    rgba(245,240,232,0) 100%);
}
.underline {
  width: 40px;
  height: 8px;
  object-fit: contain;
  margin: 1px 0 2px;
  opacity: 0.6;
}
.hero-text {
  flex: 0 0 118px;
  z-index: 2;
  padding-top: 10px;
  margin-left: 58px;
}
.hero h1 {
  font-size: 0.79rem;
  line-height: 1;
  color: var(--olive);
  font-weight: normal;
  margin: 70px 0 0 8px;
  width: max-content;
  max-width: 100%;
}
.hero h1 span { color: var(--terracotta); }
/* Soft readability veil only beneath hero copy; keep the willow border visible. */
.hero-text h1,
.hero-text p {
  background: transparent;
  border-radius: 5px;
  box-shadow: none;
}
.hero p { font-size: 0.48rem; margin: 10px 0 4px; line-height: 1.2; max-width: 112px; }
.hero-logo {
  flex: 0 0 90px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-left: -51px;
  margin-top: 45px;
}
.hero-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}
.hero-willow {
  display: none;
}
.hero-image {
  flex: 0 0 95px;
  z-index: 2;
  margin-left: auto;
  margin-right: 10px;
}
.hero-image img {
  width: 95px;
  height: 125px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 3px 2px;
  min-height: 0;
  background: transparent;
  position: relative;
  z-index: 2;
}

.section {
  padding: 1px 2px 2px;
  text-align: center;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.section h2 {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--olive);
  margin: 0 auto 4px;
  padding: 1px 9px 0;
  background: rgba(245, 240, 232, 0.94);
  border-radius: 4px;
  width: max-content;
  max-width: 100%;
  flex-shrink: 0;
}
.section h2::after {
  content: "";
  display: block;
  width: 36px; height: 1.5px;
  background: var(--terracotta);
  margin: 2px auto 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 4px;
  flex: 1 1 0;
  align-content: start;
  min-height: 0;
}
.card {
  background: var(--card-bg);
  min-height: 0;
  
  border: 1px solid #e8e0d8;
  border-radius: 6px;
  padding: 4px 5px 16px 5px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
}
.card img {
  display: block;
  width: 100%;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 2px;
  background: #f0ebe4;
  border-radius: 3px;
}
.card img.product-thumbnail { object-fit: cover; object-position: center; }
.placeholder {
  width: 100%;
  height: 42px;
  flex: 0 0 42px;
  background: #f0ebe4;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  color: #888;
  text-align: center;
  margin-bottom: 2px;
  padding: 2px;
}
.card h3 { font-size: 0.58rem; margin-bottom: 1px; line-height: 1.1; font-weight: bold; }
.price { font-size: 0.55rem; color: var(--terracotta); font-weight: bold; margin-bottom: 1px; }
.card p { font-size: 0.44rem; color: #555; line-height: 1.12; flex: 1; padding-right: 1px; word-break: break-word; }
.arrow {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 14px; height: 14px;
  background: var(--terracotta);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.5rem;
}

.categories {
  background: #f5f0e8;
  display: flex;
  justify-content: space-around;
  padding: 4px 2px 5px;
  font-size: 0.5rem;
  letter-spacing: 0.3px;
  color: var(--olive);
  border-top: 1px solid #eee;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.categories a,
.categories a:link,
.categories a:visited,
.categories a:hover,
.categories a:active {
  color: var(--olive);
  text-decoration: none;
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  cursor: pointer;
}
.categories a:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: -2px;
  border-radius: 4px;
}
.categories span { font-size: 0.95rem; display: block; margin-bottom: 1px; }


/* Service information opens over the homepage, never in the shopping cart. */
.service-overlay[hidden] { display: none; }
.service-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
  background: #283825;
}
.service-dialog {
  position: relative;
  background: #fffdf8;
  color: #333;
  border: 2px solid #d9ccbb;
  border-radius: 16px;
  width: 100%;
  max-width: 365px;
  max-height: min(78dvh, 620px);
  overflow-y: auto;
  padding: 26px 22px 18px;
  text-align: left;
  box-shadow: 0 12px 35px rgba(0,0,0,.24);
}
.service-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #3e4f32;
  font-size: 1.8rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
}
.service-eyebrow {
  color: #c17a4a;
  font-size: .62rem;
  letter-spacing: 1.6px;
  margin-bottom: 10px;
}
.service-dialog h2 {
  color: #3e4f32;
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.service-dialog p {
  font-size: .89rem;
  line-height: 1.45;
  margin-bottom: 12px;
}
.service-contact { margin-top: 16px; }
.service-contact a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 4px;
  color: #3e4f32;
  font-weight: bold;
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: 0.95em;
}
.service-dismiss {
  width: 100%;
  border: 0;
  border-radius: 22px;
  background: #3e4f32;
  color: white;
  padding: 12px;
  font: inherit;
  font-size: .95rem;
  cursor: pointer;
}
#service-cards .card:focus-visible {
  outline: 3px solid #c17a4a;
  outline-offset: -3px;
}
