body[data-m-showcase] .m-showcase-intro { display: none; }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) {
  --m-ink: #18362d;
  --m-muted: #526357;
  --m-paper: #f8f8f0;
  --m-line: #dce1d2;
  --m-accent: #d7ed89;
  --m-gutter: clamp(18px, 5vw, 80px);
  --m-inset: max(var(--m-gutter), calc((100% - 1320px) / 2));
  --am-text: var(--m-ink);
  --am-muted: var(--m-muted);
  --am-border: var(--m-line);
  background: #fff;
  color: var(--m-ink);
}

:is(html[data-home-width="full"][data-storefront-style="custom"] body[data-m-showcase], html[data-home-width="full"][data-storefront-preset="m"] body[data-m-preset-layout]) { --m-inset: var(--m-gutter); }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) > .page-shell { width: 100%; max-width: none; }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header {
  padding: 14px var(--m-inset);
  gap: clamp(16px, 2.4vw, 36px);
  border-bottom: 1px solid var(--m-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-brand-text {
  color: var(--m-ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header nav a {
  color: var(--m-ink);
  border: 0;
  min-height: 44px;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header nav a:hover {
  color: #376b43;
  text-decoration: underline;
  text-underline-offset: 5px;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header .language-control select {
  border: 1px solid var(--m-line);
  background: var(--m-paper);
  color: var(--m-ink);
  border-radius: 9px;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) :is(a, button, select, summary):focus-visible {
  outline: 2px solid #548c50;
  outline-offset: 3px;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-intro {
  display: grid;
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
  margin: 0;
  padding: clamp(32px, 5vw, 76px) var(--m-inset);
  background: var(--m-ink);
  color: #fff;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-with-image {
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #main:has(> #site-banner:not([hidden])) > .m-showcase-intro { display: none; }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.75rem, 6.2vw, 6rem);
  letter-spacing: -.05em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-copy p {
  max-width: 46ch;
  margin: 16px 0 0;
  color: #dfe8da;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  white-space: pre-line;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 4vw, 44px);
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 20px;
  border: 1px solid #98ad99;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-actions a:hover { border-color: #fff; }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-actions .m-showcase-primary {
  border-color: var(--m-accent);
  background: var(--m-accent);
  color: var(--m-ink);
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-image {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--m-paper);
  color: var(--m-ink);
  text-decoration: none;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-image img {
  width: 100%;
  height: clamp(220px, 26vw, 370px);
  padding: clamp(10px, 2vw, 28px);
  object-fit: contain;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-image > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 14px 18px;
  border-top: 1px solid var(--m-line);
  background: #fff;
  font-weight: 700;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-image:hover > span { background: var(--m-accent); }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #main > :is(section, .home-gallery-block):not(.m-showcase-intro, #site-banner) {
  margin: 0;
  padding: clamp(32px, 5vw, 72px) var(--m-inset);
  border: 0;
  border-radius: 0;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #site-banner { margin: 0; border: 0; border-radius: 0; }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #products { background: #fff; }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #products > .products-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--m-line);
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #products-title { font-size: clamp(2rem, 3.6vw, 3.5rem); }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #products [data-catalog-section="primary"] {
  --column-outer: #f0f3e8;
  --column-heading: #f7f8f1;
  --column-body: #f8faf3;
  --column-card: #fff;
  --column-border: var(--m-line);
  box-shadow: none;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #products [data-catalog-section-heading] { border: 0; }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #products .product-grid:empty { display: none; }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #products [data-public-primary-category]:not([data-product-columns]) .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #products :is(.product-card, .catalog-subgroup) {
  border-radius: 12px;
  box-shadow: none;
}

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #products .product-card { background: #fff; }

:is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-footer {
  margin: 0;
  padding: 25px var(--m-inset);
  border: 0;
  border-radius: 0;
  background: var(--m-ink);
  color: #e2ebdf;
}

@media (max-width: 1080px) {
  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 4px 12px;
  }

  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header > .brand {
    grid-area: 1 / 1;
    width: fit-content;
    max-width: 100%;
  }

  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header .header-logo { width: 92px; max-width: 100%; }

  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header :is(.header-tools, .header-utility-tools) { display: contents; }

  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header .header-actions {
    grid-area: 2 / 1 / 3 / -1;
  }

  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header :is(.header-actions, .header-utility-links) {
    display: flex;
    justify-content: flex-start;
    gap: 0 clamp(8px, 2.4vw, 16px);
    flex-wrap: wrap;
    overflow: visible;
    width: 100%;
    margin: 0;
  }

  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header .header-utility-links { grid-area: 3 / 1 / 4 / -1; }

  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header .header-utility-links:not(:has(a:not([hidden]))) { display: none; }

  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header nav > a {
    flex: none;
    padding-inline: 0;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header .language-control {
    grid-area: 1 / 2;
    justify-self: end;
    margin: 0;
  }
}

@media (max-width: 760px) {
  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .site-header > .brand:has(.site-brand-text) { width: fit-content; max-width: 100%; }
  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-with-image { grid-template-columns: minmax(0, 1fr); }
  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) .m-showcase-image img { height: clamp(180px, 54vw, 320px); }
  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #products [data-public-primary-category]:not([data-product-columns]) .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  :is(html[data-storefront-style="custom"] body[data-m-showcase], html[data-storefront-preset="m"] body[data-m-preset-layout]) #products [data-public-primary-category]:not([data-product-columns]) .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
