:root {
  --yun-color-background: #ffffff;
  --yun-color-surface: #ffffff;
  --yun-color-text: #111111;
  --yun-color-copy: #45413d;
  --yun-color-muted: #6b6762;
  --yun-color-soft: #77716a;
  --yun-color-accent: #a07840;
  --yun-color-accent-deep: #876433;
  /* Small gold text links: 4.85:1 on white, 4.71:1 on the homepage paper. */
  --yun-color-link: #8f6b38;
  --yun-color-green: #174b25;
  --yun-color-green-deep: #0e3318;
  --yun-color-green-ink: #0c2a13;
  --yun-color-green-wash: #eef3ee;
  --yun-color-cream: #f5f1e8;
  --yun-color-line: rgba(17, 17, 17, 0.1);
  --yun-color-line-light: rgba(17, 17, 17, 0.07);
  --yun-color-border: rgba(17, 17, 17, 0.14);
  --yun-color-border-light: rgba(17, 17, 17, 0.08);
  --yun-button-radius: 999px;
  --yun-shell-shadow: 0 24px 54px rgba(17, 17, 17, 0.055);
  --yun-shell-wrap: 1200px;
  --yun-shell-side: 32px;
  --yun-header-height: 72px;
  --yun-font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --yun-font-serif: "Cormorant Garamond", Georgia, serif;
}

.yun-home {
  --yun-header-height: 60px;
  --yun-shell-side: 20px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.yun-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--yun-color-background);
  background: var(--yun-color-text);
  font-family: var(--yun-font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.yun-skip-link:focus {
  transform: translateY(0);
}

/* One keyboard focus ring for the header and every page but the homepage,
   whose content keeps the browser's ring. :where() keeps it at zero
   specificity, so WooCommerce and theme rules that style focus keep theirs.
   WooCommerce Block buttons draw their own ring under a transparent outline
   and are left out entirely. */
:where(body:not(.yun-home) :focus-visible:not(.wc-block-components-button), .yun-site-header :focus-visible, .yun-skip-link:focus-visible) {
  outline: 2px solid var(--yun-color-text);
  outline-offset: 2px;
}

.yun-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--yun-header-height);
  border-bottom: 1px solid transparent;
  background: var(--yun-color-surface);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  transition: background-color 500ms ease, border-color 500ms ease;
}

.yun-site-header.is-scrolled {
  border-bottom-color: var(--yun-color-line);
}

/* Equal side columns keep the navigation at the centre of the header,
   whatever the width of the cart label beside it. */
.yun-site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: min(var(--yun-shell-wrap), calc(100vw - (var(--yun-shell-side) * 2)));
  height: 100%;
  align-items: center;
  gap: 24px;
  margin-right: auto;
  margin-left: auto;
}

.yun-brand-logo {
  transition: opacity 300ms ease;
}

.yun-brand-logo:hover {
  opacity: 0.62;
}

.yun-brand-logo img {
  width: 100%;
  height: auto;
}

.yun-brand-logo--header {
  display: inline-flex;
  width: 102px;
  min-height: 40px;
  align-items: center;
}

.yun-site-header__navigation {
  justify-self: center;
}

.yun-site-header__actions {
  justify-self: end;
}

.yun-site-header__navigation a {
  color: var(--yun-color-text);
  font-family: var(--yun-font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.88;
  transition: opacity 300ms ease, color 300ms ease;
}

.yun-site-header__navigation a:hover {
  color: var(--yun-color-accent-deep);
  opacity: 1;
}

.yun-cart-button {
  position: relative;
  display: inline-flex;
  min-width: 34px;
  min-height: 36px;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  justify-self: end;
  color: var(--yun-color-text);
  font-family: var(--yun-font-sans);
  opacity: 1;
  transition: opacity 300ms ease;
}

.yun-cart-button:hover {
  color: var(--yun-color-text);
  opacity: 0.58;
}

.yun-cart-button svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.yun-cart-button__text {
  display: inline-flex;
  align-items: baseline;
}

.yun-cart-button__count {
  display: none;
  font-variant-numeric: tabular-nums;
}

.yun-cart-button__count.has-items {
  display: inline;
}

/* Outside the homepage an empty cart reads "Cart": the parentheses only frame a count. */
body:not(.yun-home) .yun-cart-button__text:has(.yun-cart-button__count:not(.has-items)) > [aria-hidden="true"] {
  display: none;
}

.yun-site-footer {
  border-top: 1px solid var(--yun-color-line);
  color: var(--yun-color-soft);
  background: var(--yun-color-background);
  font-family: var(--yun-font-sans);
  font-size: 13px;
}

.yun-site-footer__inner {
  width: min(var(--yun-shell-wrap), calc(100vw - (var(--yun-shell-side) * 2)));
  margin-right: auto;
  margin-left: auto;
  padding: 40px 0 56px;
}

.yun-site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.yun-brand-logo--footer {
  display: block;
  width: 168px;
  margin: 0 0 10px;
}

.yun-site-footer__descriptor {
  margin: 0;
}

.yun-site-footer__legal {
  display: none;
}

/* Policy links, then the business name, ABN and contact address, under every footer. */
.yun-site-footer__store {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--yun-color-line);
  font-size: 12px;
  line-height: 1.5;
}

.yun-site-footer__policies,
.yun-site-footer__business {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 4px above and below make each link at least 24px tall. */
.yun-site-footer__store a {
  display: inline-block;
  padding: 4px 0;
  color: var(--yun-color-copy);
}

.yun-site-footer__store a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yun-home .yun-site-header {
  position: sticky;
  right: auto;
  left: auto;
  height: var(--yun-header-height);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
}

.yun-home .yun-site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
}

.yun-home .yun-site-header__inner {
  grid-template-columns: 1fr auto;
  width: min(var(--yun-shell-wrap), calc(100vw - (var(--yun-shell-side) * 2)));
  padding: 0;
}

.yun-home .yun-brand-logo--header {
  width: 96px;
  min-height: 36px;
  justify-self: start;
}

.yun-home .yun-site-header__navigation {
  display: none;
}

.yun-home .yun-skip-link {
  font-size: 12px;
}

.yun-home .yun-site-header__navigation a {
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.62;
}

.yun-home .yun-site-header__actions {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.yun-home .yun-cart-button {
  width: auto;
  min-width: 0;
  min-height: 32px;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--yun-color-text);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.yun-home .yun-cart-button svg {
  display: none;
}

.yun-home .yun-cart-button::before {
  content: "CART";
}

.yun-home .yun-cart-button__count {
  width: 18px;
  height: 18px;
  border: 1px solid var(--yun-color-accent);
  border-radius: 2px;
  color: currentColor;
  background: transparent;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}

.yun-home .yun-cart-button__count {
  width: 18px;
  height: 18px;
  color: currentColor;
  background: transparent;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}

.yun-home .yun-site-footer {
  border-top: 0;
  color: rgba(245, 241, 232, 0.72);
  background: var(--yun-color-green-deep);
  font-size: 16px;
}

.yun-home .yun-site-footer__inner {
  width: 100%;
  padding: 50px 24px 34px;
}

.yun-home .yun-site-footer__top {
  display: block;
}

.yun-home .yun-brand-logo--footer {
  width: 176px;
  margin: 0;
}

.yun-home .yun-site-footer__descriptor {
  margin-top: 7px;
  color: rgba(245, 241, 232, 0.55);
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.65;
  text-transform: uppercase;
}

.yun-home .yun-site-footer__legal {
  display: block;
  margin: 26px 0 0;
  color: rgba(245, 241, 232, 0.38);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.7;
  text-transform: none;
}

@media (min-width: 760px) {
  .yun-home {
    --yun-header-height: 56px;
    --yun-shell-side: clamp(24px, 3vw, 40px);
  }

  .yun-home .yun-site-header__inner {
    grid-template-columns: 1fr auto 1fr;
  }

  .yun-home .yun-brand-logo--header {
    width: 96px;
  }

  .yun-home .yun-site-header__navigation {
    display: flex;
    grid-column: 2;
    align-items: center;
    gap: 28px;
  }

  .yun-home .yun-site-header__navigation a {
    letter-spacing: 0.14em;
    opacity: 0.62;
  }

  .yun-home .yun-site-header__navigation a:hover {
    color: inherit;
    opacity: 1;
  }

  .yun-home .yun-site-header__actions {
    grid-column: 3;
  }

  .yun-home .yun-site-footer__inner {
    padding: 64px clamp(40px, 6vw, 84px) 40px;
  }

  .yun-home .yun-site-footer__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  :root {
    --yun-header-height: 60px;
    --yun-shell-side: 20px;
  }

  .yun-site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .yun-brand-logo--header {
    width: 88px;
  }

  .yun-site-header__navigation {
    display: none;
  }

  .yun-site-footer__top {
    display: grid;
    gap: 18px;
    text-align: center;
  }

  .yun-site-footer__identity {
    display: grid;
    justify-items: center;
  }

  .yun-site-footer__store,
  .yun-site-footer__policies,
  .yun-site-footer__business {
    justify-content: center;
  }

  .yun-home {
    --yun-header-height: 56px;
    --yun-shell-side: 24px;
  }

  .yun-home .yun-site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .yun-home .yun-site-footer__top {
    display: block;
    text-align: left;
  }

  .yun-home .yun-site-footer__identity {
    display: block;
  }

  .yun-home .yun-site-footer__inner {
    padding-top: calc(var(--yun-header-height) + 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .yun-skip-link,
  .yun-site-header,
  .yun-brand-logo,
  .yun-site-header__navigation a,
  .yun-cart-button {
    transition: none;
  }
}
