/* Shared site chrome. Load after site.css; Blocksy owns navigation behavior. */

#header.ct-header {
  background: #fbf7f2;
  border-bottom: 1px solid #e8deda;
  box-shadow: 0 4px 20px rgba(45, 24, 33, .035);
  backdrop-filter: none;
}

#header.ct-header [data-row="middle"] {
  min-height: 76px;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}

#header.ct-header [data-row="middle"] > div,
#header.ct-header [data-row="middle"] .ct-container {
  min-height: 76px;
}

#header.ct-header .ct-container {
  width: min(1180px, calc(100% - 48px));
}

#header.ct-header .site-branding {
  flex-shrink: 0;
  gap: 0;
}

#header.ct-header .site-logo-container img,
#header.ct-header .custom-logo-link img {
  width: auto;
  max-width: 170px;
  max-height: 46px;
  object-fit: contain;
}

#header #header-menu-1 .menu {
  align-items: center;
  gap: 3px;
}

#header #header-menu-1 .menu > li > .ct-menu-link {
  min-height: 46px;
  height: 46px;
  padding-block: 0;
  padding-inline: 13px;
  border-radius: 10px;
  background: transparent;
  color: #54434b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

#header #header-menu-1 .menu > li > .ct-menu-link:hover,
#header #header-menu-1 .menu > .current-menu-item > .ct-menu-link,
#header #header-menu-1 .menu > .current-menu-ancestor > .ct-menu-link,
#header #header-menu-1 .menu > .current-menu-parent > .ct-menu-link {
  background: #7f18320b;
  color: #7f1832;
}

#header #header-menu-1 .menu-item-625 {
  display: flex;
  align-self: center;
  align-items: center;
}

#header #header-menu-1 #menu-item-625 > .ct-menu-link,
#header #header-menu-1 .menu-item-625 > .ct-menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 46px;
  height: 46px;
  margin-inline-start: 12px;
  padding: 0 20px;
  border: 1px solid #7f1832;
  border-radius: 11px;
  background: #7f1832;
  color: #fffaf7;
  box-shadow: 0 4px 12px rgba(83, 16, 32, .09);
  font-size: 13px;
  font-weight: 750;
}

#header #header-menu-1 #menu-item-625 > .ct-menu-link:hover,
#header #header-menu-1 .menu-item-625 > .ct-menu-link:hover,
#header #header-menu-1 .menu-item-625.current-menu-item > .ct-menu-link {
  border-color: #631026;
  background: #631026;
  color: #fffaf7;
}

#header #header-menu-1 .sub-menu {
  min-width: 235px;
  padding: 8px;
  border: 1px solid #e6d9d3;
  border-radius: 15px;
  background: #fffdfb;
  box-shadow: 0 16px 40px rgba(39, 20, 29, .12);
}

#header #header-menu-1 .sub-menu .ct-menu-link {
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 9px;
  background: transparent;
  color: #51414a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

#header #header-menu-1 .sub-menu .ct-menu-link:hover,
#header #header-menu-1 .sub-menu .current-menu-item > .ct-menu-link,
#header #header-menu-1 .sub-menu .current-menu-ancestor > .ct-menu-link {
  background: #f6ece8;
  color: #7f1832;
}

#header #header-menu-1 .ct-menu-link svg {
  color: inherit;
  fill: currentColor;
}

#header #header-menu-1 .ct-toggle-dropdown-desktop,
#header #header-menu-1 .ct-toggle-dropdown-desktop-ghost {
  color: #7f1832;
}

#header.ct-header .ct-header-search,
#header.ct-header .ct-header-trigger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e1d6d0;
  border-radius: 11px;
  background: #fffdfa;
  color: #6d2940;
  box-shadow: none;
}

#header.ct-header .ct-header-search:hover,
#header.ct-header .ct-header-trigger:hover {
  background: #f3e8e4;
  border-color: #cba8af;
  color: #7f1832;
}

#header.ct-header :is(a, button):focus-visible {
  outline: 3px solid #9c405b;
  outline-offset: 4px;
}

/* Opaque mobile panel: do not override Blocksy's display, transform, inert or open state. */
#offcanvas.ct-panel.ct-header {
  background: rgba(17, 12, 17, .55);
  --theme-text-color: #f4e9e7;
  --theme-link-initial-color: #eee0e1;
  --theme-link-hover-color: #edb3c1;
  --theme-icon-color: #d1bac4;
  --theme-icon-hover-color: #efb1c0;
}

#offcanvas.ct-panel.ct-header > .ct-panel-inner {
  background: #211b22;
  background-image: none;
  border-inline-start: 1px solid #5a3545;
  box-shadow: 0 0 65px rgba(12, 7, 12, .32);
  backdrop-filter: none;
}

#offcanvas.ct-panel.ct-header .ct-panel-actions {
  min-height: 76px;
  padding: 16px 22px;
  border-bottom: 1px solid #ffffff15;
  background: #211b22;
  color: #f8efeb;
}

#offcanvas.ct-panel.ct-header .ct-toggle-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #ffffff24;
  border-radius: 11px;
  background: #ffffff08;
  color: #f4e9e7;
}

#offcanvas.ct-panel.ct-header .ct-toggle-close:hover {
  border-color: #b3677b;
  background: #ffffff13;
  color: #fff;
}

#offcanvas.ct-panel.ct-header .ct-toggle-close svg {
  color: inherit;
  fill: currentColor;
}

#offcanvas.ct-panel.ct-header .ct-panel-content[data-device="mobile"] {
  padding: 18px 22px 30px;
  background: #211b22;
  color: #f4e9e7;
}

#offcanvas.ct-panel.ct-header .ct-panel-content-inner {
  align-items: stretch;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu {
  width: 100%;
  --theme-link-initial-color: #eee0e1;
  --theme-link-hover-color: #edb3c1;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu > ul > li {
  border-bottom: 1px solid #ffffff12;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu .ct-menu-link {
  min-height: 52px;
  padding: 12px 10px;
  border-radius: 9px;
  background: transparent;
  color: #f0e4e4;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu .ct-menu-link:hover,
#offcanvas.ct-panel.ct-header nav.mobile-menu .current-menu-item > .ct-menu-link,
#offcanvas.ct-panel.ct-header nav.mobile-menu .current-menu-ancestor > .ct-menu-link,
#offcanvas.ct-panel.ct-header nav.mobile-menu .current-menu-item > .ct-sub-menu-parent > .ct-menu-link,
#offcanvas.ct-panel.ct-header nav.mobile-menu .current-menu-parent > .ct-sub-menu-parent > .ct-menu-link,
#offcanvas.ct-panel.ct-header nav.mobile-menu .current-menu-ancestor > .ct-sub-menu-parent > .ct-menu-link {
  background: #ffffff08;
  color: #efb1c0;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu .sub-menu {
  margin-inline: 10px 0;
  padding-inline: 11px 0;
  border-inline-start: 1px solid #7d4155;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu .sub-menu .ct-menu-link {
  min-height: 46px;
  padding-block: 10px;
  font-size: 13px;
  color: #cebfc5;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu .sub-menu .ct-menu-link:hover,
#offcanvas.ct-panel.ct-header nav.mobile-menu .sub-menu .current-menu-item > .ct-menu-link {
  color: #efb1c0;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu button[aria-expanded] {
  min-width: 44px;
  min-height: 44px;
  border-radius: 9px;
  color: #d1bac4;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu button[aria-expanded]:hover,
#offcanvas.ct-panel.ct-header nav.mobile-menu button[aria-expanded="true"] {
  border-color: transparent;
  background: #ffffff0d;
  color: #efb1c0;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu button[aria-expanded] svg {
  color: inherit;
  fill: currentColor;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu > ul > .menu-item-625 {
  margin-top: 20px;
  border-bottom: 0;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu .menu-item-625 > .ct-menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #a74762;
  border-radius: 11px;
  background: #8d2744;
  color: #fff7f5;
  font-size: 14px;
  font-weight: 750;
}

#offcanvas.ct-panel.ct-header nav.mobile-menu .menu-item-625 > .ct-menu-link:hover,
#offcanvas.ct-panel.ct-header nav.mobile-menu .menu-item-625.current-menu-item > .ct-menu-link {
  border-color: #bd627b;
  background: #a13151;
  color: #fff7f5;
}

#offcanvas.ct-panel.ct-header :is(a, button):focus-visible {
  outline: 3px solid #ebc588;
  outline-offset: 3px;
}

/* Reusable footer: the approved logo is kept on an ivory plate, never recolored. */
.utbo-site-footer {
  box-sizing: border-box;
  width: 100%;
  border-top: 3px solid #76253e;
  background: #19161c;
  color: #c8bcc3;
  font-family: inherit;
  line-height: 1.9;
  text-align: start;
}

.utbo-site-footer *,
.utbo-site-footer *::before,
.utbo-site-footer *::after {
  box-sizing: border-box;
}

.utbo-site-footer__inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.utbo-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-block: 58px 48px;
}

.utbo-site-footer__brand,
.utbo-site-footer__column {
  min-width: 0;
}

.utbo-site-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 58px;
  padding: 9px 14px;
  border: 1px solid #ffffff14;
  border-radius: 12px;
  background: #fbf7f2;
}

.utbo-site-footer__logo img {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 42px;
  object-fit: contain;
}

.utbo-site-footer .utbo-site-footer__description {
  max-width: 340px;
  margin: 17px 0 16px;
  color: #c6b8c0;
  font-size: 13px;
  line-height: 2;
}

.utbo-site-footer .utbo-site-footer__note {
  max-width: 340px;
  margin: 15px 0 0;
  color: #a4949f;
  font-size: 11px;
  line-height: 1.9;
}

.utbo-site-footer .utbo-site-footer__heading {
  margin: 5px 0 17px;
  color: #fff5ef;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.utbo-site-footer__column ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utbo-site-footer__column li {
  margin: 0;
  padding: 0;
}

.utbo-site-footer a,
:is(#footer, .site-footer) .utbo-site-footer a {
  color: #c6b8c0;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.utbo-site-footer__column a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 100%;
  padding-block: 3px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.utbo-site-footer a:hover,
:is(#footer, .site-footer) .utbo-site-footer a:hover {
  color: #f0cf9f;
}

.utbo-site-footer .utbo-site-footer__support,
:is(#footer, .site-footer) .utbo-site-footer .utbo-site-footer__support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 16px;
  border: 1px solid #65404f;
  border-radius: 10px;
  background: #38232f;
  color: #f4d5df;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.7;
}

.utbo-site-footer .utbo-site-footer__support:hover,
:is(#footer, .site-footer) .utbo-site-footer .utbo-site-footer__support:hover {
  border-color: #a16177;
  background: #4a293a;
  color: #fff2f5;
}

.utbo-site-footer__support svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.utbo-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  flex-wrap: wrap;
  padding-block: 20px 24px;
  border-top: 1px solid #ffffff13;
}

.utbo-site-footer .utbo-site-footer__copyright {
  margin: 0;
  color: #a696a0;
  font-size: 11px;
  line-height: 1.9;
}

.utbo-site-footer__payment {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  color: #b8a9b3;
  font-size: 11px;
  line-height: 1.8;
}

.utbo-site-footer__payment :is(strong, b) {
  color: #e9d7df;
  font-size: 13px;
  font-weight: 700;
}

.utbo-site-footer__payment .utbo-site-footer__payment-brand {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 2px 10px;
  border: 1px solid #ffffff1c;
  border-radius: 7px;
  color: #e9d7df;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.utbo-site-footer a:focus-visible,
:is(#footer, .site-footer) .utbo-site-footer a:focus-visible {
  outline: 3px solid #ebc588;
  outline-offset: 5px;
  border-radius: 3px;
}

/* A concise hand-off into the footer, without changing the page's content. */
.utb-home .utb-final-cta {
  padding-block: 46px;
}

.utb-home .utb-final-cta .utb-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 36px;
  text-align: start;
}

.utb-home .utb-final-cta .utb-kicker {
  grid-column: 1;
  font-size: 11px;
}

.utb-home .utb-final-cta h2 {
  grid-column: 1;
  max-width: none;
  margin: 0;
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.45;
}

.utb-home .utb-final-cta p {
  grid-column: 1;
  max-width: 600px;
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.utb-home .utb-final-cta .utb-shell > div:last-child {
  grid-column: 2;
  grid-row: 1 / 4;
  min-width: 210px;
  margin-top: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  text-align: center;
}

.utb-home .utb-final-cta .utb-btn {
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13px;
}

.utb-home .utb-final-cta .utb-shell > div:last-child > a:not(.utb-btn) {
  font-size: 11px;
}

@media (max-width: 1100px) {
  #header #header-menu-1 .menu > li > .ct-menu-link {
    padding-inline: 10px;
    font-size: 12px;
  }

  #header #header-menu-1 #menu-item-625 > .ct-menu-link,
  #header #header-menu-1 .menu-item-625 > .ct-menu-link {
    margin-inline-start: 7px;
    padding-inline: 16px;
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .utbo-site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding-block: 42px 34px;
  }

  .utbo-site-footer__brand {
    grid-column: 1 / -1;
  }

  .utbo-site-footer .utbo-site-footer__description,
  .utbo-site-footer .utbo-site-footer__note {
    max-width: 520px;
  }
}

/* Checkout's fixed mobile action bar must not cover footer text at the end of the page. */
@media (max-width: 850px) {
  body:has(.utbb-dock) .utbo-site-footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 689px) {
  #header.ct-header [data-row="middle"],
  #header.ct-header [data-row="middle"] > div,
  #header.ct-header [data-row="middle"] .ct-container {
    min-height: 66px;
  }

  #header.ct-header .ct-container,
  .utbo-site-footer__inner {
    width: calc(100% - 32px);
  }

  #header.ct-header .site-logo-container img,
  #header.ct-header .custom-logo-link img {
    max-width: 142px;
    max-height: 40px;
  }

  #header.ct-header .ct-header-search,
  #header.ct-header .ct-header-trigger {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .utbo-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    padding-block: 19px 24px;
  }

  .utbo-site-footer__column a {
    min-height: 44px;
  }

  .utb-home .utb-final-cta {
    padding-block: 28px;
  }

  .utb-home .utb-final-cta .utb-shell {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 8px;
    text-align: center;
  }

  .utb-home .utb-final-cta h2 {
    font-size: 28px;
    line-height: 1.4;
  }

  .utb-home .utb-final-cta p {
    max-width: 460px;
    font-size: 12px;
    line-height: 1.85;
  }

  .utb-home .utb-final-cta .utb-shell > div:last-child {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    gap: 8px;
    align-items: center;
  }

  .utb-home .utb-final-cta .utb-btn {
    width: min(100%, 320px);
  }
}

@media (max-width: 620px) {
  .utbo-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 22px;
    padding-block: 35px 28px;
  }

  .utbo-site-footer__column:last-child {
    grid-column: 1 / -1;
  }

  .utbo-site-footer__column:last-child ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 22px;
  }

  .utbo-site-footer .utbo-site-footer__heading {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .utbo-site-footer__column ul {
    gap: 2px;
  }

  .utbo-site-footer__column a {
    font-size: 12px;
  }

  .utbo-site-footer .utbo-site-footer__description {
    font-size: 13px;
  }

  .utbo-site-footer__logo img {
    max-width: 145px;
    max-height: 39px;
  }
}

@media (max-width: 390px) {
  #header.ct-header .ct-container,
  .utbo-site-footer__inner {
    width: calc(100% - 24px);
  }

  #offcanvas.ct-panel.ct-header .ct-panel-actions {
    padding-inline: 16px;
  }

  #offcanvas.ct-panel.ct-header .ct-panel-content[data-device="mobile"] {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #header #header-menu-1 .ct-menu-link,
  #offcanvas.ct-panel.ct-header :is(a, button),
  .utbo-site-footer a {
    transition: none;
  }
}
