/* Include padding in native interactive target dimensions. */
.site-header.site-header--refined,
.site-header.site-header--refined *,
.site-header.site-header--refined *::before,
.site-header.site-header--refined *::after { box-sizing: border-box; }
/* R218: public header and footer. Existing compact-nav behaviour owns visibility. */
.site-header.site-header--refined,
.site-footer.unisonges-public-footer.unisonges-public-footer--refined {
  --chrome-paper: #f7f3e8;
  --chrome-ink: #203d36;
  --chrome-muted: #52635b;
  --chrome-clay: #a54532;
  --chrome-ochre: #bc8b3c;
  --chrome-line: #d1cebf;
  color: var(--chrome-ink);
}

.site-header.site-header--refined {
  background: var(--chrome-paper) !important;
  border: 0;
  border-bottom: 1px solid var(--chrome-line);
  box-shadow: 0 2px 12px rgb(32 61 54 / 4%);
}

.site-header--refined .site-header__inner {
  max-width: 1600px !important;
  min-height: 76px !important;
  margin-inline: auto !important;
  padding: .7rem clamp(1rem, 2.5vw, 2.5rem) !important;
  align-items: center;
  gap: clamp(.8rem, 1.3vw, 1.5rem);
  background: transparent !important;
  border: 0;
  backdrop-filter: none;
}

.site-header--refined .brand {
  gap: .5rem;
  color: var(--chrome-ink);
  text-decoration: none;
}

.site-header--refined .brand__name {
  color: var(--chrome-ink);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0;
}

.site-header--refined .brand__mark {
  width: 2.9rem;
}

.site-header--refined :is(.site-nav, .site-account, .mobile-drawer__nav, .mobile-drawer__account, .nav-toggle) {
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--chrome-ink);
}

.site-header--refined :is(.site-nav a, .mobile-drawer__nav a, .site-account .link, .mobile-drawer__account .link) {
  color: var(--chrome-ink);
  text-underline-offset: .35em;
  text-decoration-thickness: 1px;
}

.site-header--refined :is(.site-nav a, .mobile-drawer__nav a):is(.is-active, [aria-current="page"]) {
  color: var(--chrome-clay);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

body:not(.compact-nav) .site-header--refined .navigation-submenus--desktop .navigation-submenus__list--root {
  gap: clamp(.25rem, .65vw, .75rem);
}

body:not(.compact-nav) .site-header--refined .navigation-submenus__item--top > a,
body:not(.compact-nav) .site-header--refined .navigation-submenus__item--top > .navigation-submenus__parent-row > a {
  padding: .75rem .2rem;
  font-size: .91rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 0;
}

.site-header--refined .navigation-submenus__toggle {
  color: var(--chrome-ink);
  border-radius: .35rem;
}

.site-header--refined .navigation-submenus__toggle:hover,
.site-header--refined .site-nav a:hover {
  color: var(--chrome-clay);
  background: rgb(188 139 60 / 9%);
}

body:not(.compact-nav) .site-header--refined .navigation-submenus--desktop .navigation-submenus__submenu[data-navigation-level="1"] {
  padding: .6rem;
  background: #fffdf6;
  color: var(--chrome-ink);
  border-color: var(--chrome-line);
  border-radius: .5rem;
  box-shadow: 0 16px 36px rgb(32 61 54 / 12%);
}

body:not(.compact-nav) .site-header--refined .navigation-submenus--desktop .navigation-submenus__submenu a {
  padding: .7rem .8rem;
  font-size: .94rem;
  line-height: 1.5;
  border-radius: .25rem;
}

body:not(.compact-nav) .site-header--refined .navigation-submenus--desktop .navigation-submenus__submenu a:hover {
  color: var(--chrome-clay);
  background: rgb(188 139 60 / 9%);
}

.site-header--refined .site-account {
  gap: .6rem;
}

.site-header--refined .site-account .link {
  min-height: 44px;
  align-items: center;
  padding: .5rem .1rem;
  color: var(--chrome-muted);
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.4;
}

.site-header--refined .site-account .link:hover,
.site-header--refined .mobile-drawer__account .link:hover {
  color: var(--chrome-clay);
  background: transparent;
  text-decoration: underline;
}

.site-header--refined :is(.site-account, .mobile-drawer__account) .btn--cta {
  min-height: 44px;
  padding: .7rem 1.15rem;
  color: #fffdf6;
  background: var(--chrome-ink);
  border: 1px solid var(--chrome-ink);
  border-radius: .35rem;
  box-shadow: none;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .015em;
  text-decoration: none;
}

.site-header--refined :is(.site-account, .mobile-drawer__account) .btn--cta:hover {
  color: #fffdf6;
  background: #2c5147;
  border-color: #2c5147;
  box-shadow: none;
  filter: none;
}

.site-header--refined .nav-toggle,
.site-header--refined .mobile-drawer__close {
  min-width: 44px;
  min-height: 44px;
  padding: .65rem .75rem;
  color: var(--chrome-ink);
  background: transparent;
  border: 1px solid var(--chrome-line);
  border-radius: .35rem;
  box-shadow: none;
}

.site-header--refined .nav-toggle:hover,
.site-header--refined .mobile-drawer__close:hover {
  color: var(--chrome-clay);
  border-color: var(--chrome-clay);
}

.site-header--refined .nav-toggle__label {
  font-size: .88rem;
  font-weight: 500;
}

.site-header--refined .mobile-backdrop {
  background: rgb(18 39 33 / 45%);
}

.site-header--refined .mobile-drawer {
  width: min(390px, 92vw);
  overscroll-behavior: contain;
  padding: 1.1rem 1.4rem 1.8rem;
  gap: 1rem;
  color: var(--chrome-ink);
  background: var(--chrome-paper);
  border-left: 1px solid var(--chrome-line);
  box-shadow: -12px 0 42px rgb(18 39 33 / 12%);
}

.site-header--refined .mobile-drawer__close {
  flex: 0 0 auto;
  padding: 0;
  font-size: 1.65rem;
  font-weight: 400;
}

body.compact-nav .site-header--refined .navigation-submenus--mobile .navigation-submenus__list--root {
  gap: 0;
}

body.compact-nav .site-header--refined .navigation-submenus--mobile .navigation-submenus__item--top {
  padding-block: .25rem !important;
  border-bottom: 1px solid var(--chrome-line);
}

body.compact-nav .site-header--refined .navigation-submenus--mobile .navigation-submenus__item--top > a,
body.compact-nav .site-header--refined .navigation-submenus--mobile .navigation-submenus__item--top > .navigation-submenus__parent-row > a {
  padding: .85rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
}

body.compact-nav .site-header--refined .navigation-submenus--mobile .navigation-submenus__submenu {
  border-color: #bfc9b9;
  padding-left: .9rem;
}

body.compact-nav .site-header--refined .navigation-submenus--mobile .navigation-submenus__submenu a {
  padding: .65rem .2rem;
  color: var(--chrome-muted);
  font-size: .96rem;
  line-height: 1.45;
}

.site-header--refined .mobile-drawer__account {
  margin-top: 1rem;
  padding-top: .5rem;
  gap: .15rem;
}

.site-header--refined .mobile-drawer__account .btn--cta {
  margin-bottom: .8rem;
}

.site-header--refined .mobile-drawer__account .link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem 0;
  color: var(--chrome-muted);
  font-size: .95rem;
  font-weight: 400;
}

.site-header--refined :is(a, button):focus-visible {
  outline: 3px solid var(--chrome-clay) !important;
  outline-offset: 3px !important;
}

.site-footer.unisonges-public-footer.unisonges-public-footer--refined {
  margin-top: clamp(3rem, 5vw, 4.75rem);
  padding: 2rem 0 .25rem;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--chrome-line);
  box-shadow: none;
}

.unisonges-public-footer--refined .unisonges-public-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.75rem 3rem;
  min-width: 0;
  align-items: start;
}

.site-footer.unisonges-public-footer--refined .unisonges-public-footer__identity {
  margin: .3rem 0 0;
  color: var(--chrome-ink);
  font-family: "tagapagsalaysay_caps_narratBd", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .01em;
}

.site-footer.unisonges-public-footer--refined .unisonges-public-footer__identity::after {
  display: block;
  width: 2.2rem;
  height: 2px;
  margin-top: 1rem;
  content: "";
  background: var(--chrome-ochre);
}

.site-footer.unisonges-public-footer--refined .unisonges-public-footer__navigation ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer.unisonges-public-footer--refined .unisonges-public-footer__navigation li {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.site-footer.unisonges-public-footer.unisonges-public-footer--refined .unisonges-public-footer__navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: .5rem 0;
  color: var(--chrome-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: .94rem;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  text-underline-offset: .3em;
}

.site-footer.unisonges-public-footer.unisonges-public-footer--refined .unisonges-public-footer__navigation a:hover {
  color: var(--chrome-clay);
  text-decoration: underline;
}

.site-footer.unisonges-public-footer--refined .unisonges-public-footer__region {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  color: var(--chrome-muted);
}

.unisonges-public-footer--refined .unisonges-public-footer__region:empty {
  display: none;
}

.site-footer.unisonges-public-footer.unisonges-public-footer--refined .content {
  color: var(--chrome-muted);
  background: transparent;
}

.site-footer.unisonges-public-footer.unisonges-public-footer--refined :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--chrome-clay) !important;
  outline-offset: 3px !important;
}

@media (max-width: 640px) {
  .site-header--refined .site-header__inner {
    min-height: 66px !important;
    padding: .55rem .9rem !important;
    gap: .6rem;
  }

  .site-header--refined .brand {
    gap: .4rem;
  }

  .site-header--refined .brand__name {
    font-size: 1.2rem;
  }

  .site-header--refined .brand__mark {
    width: 2.5rem;
  }

  .unisonges-public-footer--refined .unisonges-public-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .site-footer.unisonges-public-footer--refined .unisonges-public-footer__identity::after {
    margin-top: .75rem;
  }

  .site-footer.unisonges-public-footer--refined .unisonges-public-footer__navigation ul {
    gap: .1rem 1rem;
  }
}

/* R223: the shop has its own place beside the practical header actions. */
.site-header--refined :is(.site-shop, .mobile-drawer__shop) ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header--refined :is(.site-shop, .mobile-drawer__shop) li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header--refined :is(.site-shop, .mobile-drawer__shop) a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .6rem .4rem;
  color: var(--chrome-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: .88rem;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: .3em;
}
.site-header--refined .site-shop {
  margin-right: .3rem;
  padding-left: .8rem;
  border-left: 1px solid var(--chrome-line);
}
.site-header--refined :is(.site-shop, .mobile-drawer__shop) a:is(:hover, .is-active, [aria-current="page"]) {
  color: var(--chrome-clay);
  text-decoration: underline;
}
body.compact-nav .site-header--refined .site-shop {
  display: none;
}
.site-header--refined .mobile-drawer__shop {
  padding-top: .65rem;
  margin-top: .5rem;
  border-top: 2px solid var(--chrome-ochre);
}
.site-header--refined .mobile-drawer__shop a {
  padding-inline: 0;
  font-size: 1.05rem;
}
.site-footer.unisonges-public-footer--refined .unisonges-public-footer__shop {
  margin: 1.2rem 0 0;
  padding-top: .7rem;
  border-top: 1px solid var(--chrome-line);
}

@media (max-width: 350px) {
  .site-header--refined .site-header__inner {
    padding-inline: .7rem !important;
  }

  .site-header--refined .brand__name {
    font-size: 1.05rem;
  }

  .site-header--refined .brand__mark {
    width: 2.2rem;
  }

  .site-header--refined .mobile-drawer {
    padding-inline: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header--refined :is(.mobile-drawer, .mobile-backdrop),
  .site-header--refined .navigation-submenus__toggle::after {
    transition: none;
  }
}

@media (forced-colors: active) {
  .site-header.site-header--refined,
  .site-footer.unisonges-public-footer.unisonges-public-footer--refined {
    --chrome-paper: Canvas;
    --chrome-ink: CanvasText;
    --chrome-muted: CanvasText;
    --chrome-clay: LinkText;
    --chrome-line: CanvasText;
  }

  .site-header--refined :is(.site-account, .mobile-drawer__account) .btn--cta {
    color: ButtonText;
    background: ButtonFace;
    border-color: ButtonText;
  }

  .site-header--refined :is(a, button):focus-visible,
  .site-footer.unisonges-public-footer.unisonges-public-footer--refined :is(a, button, input, select, textarea, summary):focus-visible {
    outline-color: Highlight !important;
  }
}

/* R227: precise chrome and a quiet conclusion to the compact home page. */
.site-header.site-header--refined {
  box-shadow: 0 1px 0 rgb(32 61 54 / 4%), 0 4px 18px rgb(32 61 54 / 4%);
}
.site-header--refined :is(.site-account, .mobile-drawer__account) .btn--cta {
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 5px;
}
.site-header--refined :is(.nav-toggle, .mobile-drawer__close) {
  border-radius: 5px;
}
body:not(.compact-nav) .site-header--refined .navigation-submenus--desktop .navigation-submenus__submenu[data-navigation-level="1"] {
  border-radius: 8px;
  box-shadow: 0 12px 32px rgb(32 61 54 / 11%);
}
.site-footer.unisonges-public-footer.unisonges-public-footer--refined {
  padding-bottom: 1.5rem;
}
.site-footer.unisonges-public-footer.unisonges-public-footer--refined .unisonges-public-footer__navigation a {
  font-size: .88rem;
  font-weight: 400;
}
.unisonges-refined:has(.home-page--finished) .site-footer.unisonges-public-footer--refined {
  margin-top: clamp(28px, 4.2vw, 60px);
  padding-top: 1.25rem;
}
.unisonges-refined:has(.home-page--finished) .unisonges-public-footer__inner {
  grid-template-columns: minmax(0, .7fr) minmax(0, 2fr);
  gap: 1.25rem 2rem;
  align-items: start;
}
.unisonges-refined:has(.home-page--finished) .site-footer.unisonges-public-footer--refined .unisonges-public-footer__identity {
  font-size: 1.35rem;
  margin-top: .65rem;
}
.unisonges-refined:has(.home-page--finished) .site-footer.unisonges-public-footer--refined .unisonges-public-footer__identity::after {
  width: 1.5rem;
  height: 1px;
  margin-top: .65rem;
}
.unisonges-refined:has(.home-page--finished) .site-footer.unisonges-public-footer--refined .unisonges-public-footer__navigation ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1.25rem;
}
.unisonges-refined:has(.home-page--finished) .site-footer.unisonges-public-footer--refined .unisonges-public-footer__navigation a {
  font-size: .82rem;
}
.unisonges-refined:has(.home-page--finished) .site-footer.unisonges-public-footer--refined .unisonges-public-footer__shop {
  margin-top: .6rem;
  padding-top: .4rem;
}
@media (hover: hover) and (pointer: fine) {
  .site-header--refined :is(.site-nav a, .site-account a, .site-shop a, .nav-toggle),
  .site-footer.unisonges-public-footer--refined a {
    transition: color .16s ease, background-color .16s ease, border-color .16s ease;
  }
}
@media (max-width: 700px) {
  .unisonges-refined:has(.home-page--finished) .unisonges-public-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .unisonges-refined:has(.home-page--finished) .site-footer.unisonges-public-footer--refined .unisonges-public-footer__navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 .85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header--refined :is(.site-nav a, .site-account a, .site-shop a, .nav-toggle),
  .site-footer.unisonges-public-footer--refined a {
    transition: none;
  }
}
