/* Shared LUMIO branding used by the home, cushion, and glasses pages. */
.lumio-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 112px));
  height: 104px;
  margin-inline: auto;
  border-bottom: 1px solid #e4e9eb;
}

.lumio-page-brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.lumio-page-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font: 14px "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

.lumio-page-nav a {
  position: relative;
  padding-block: 12px;
  color: inherit;
  text-decoration: none;
}

.lumio-page-nav a::after {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #233d49;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.lumio-page-nav a:hover::after {
  transform: scaleX(1);
}

.lumio-logo {
  display: block;
  width: 150px;
  height: auto;
}

.lumio-cart-link {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 19px;
  border: 1px solid #e4e9eb;
  border-radius: 28px;
  background: #fff;
  color: inherit;
  font: 13px "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  cursor: pointer;
}

.lumio-cart-link:hover {
  background: #eaf2f6;
}

.lumio-cart-link span {
  font-size: 20px;
  line-height: 1;
}

.lumio-header-tools {
  gap: 13px;
}

.lumio-icon-button {
  position: relative;
  width: 28px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.lumio-search-icon,
.lumio-user-icon,
.lumio-bag-icon {
  position: absolute;
  display: block;
}

.lumio-search-icon {
  top: 8px;
  left: 6px;
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.lumio-search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  border-top: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.lumio-user-icon {
  top: 5px;
  left: 9px;
  width: 9px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.lumio-user-icon::after {
  position: absolute;
  top: 12px;
  left: -5px;
  width: 17px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  content: "";
}

.lumio-bag-icon {
  top: 10px;
  left: 6px;
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-top: 0;
}

.lumio-bag-icon::before {
  position: absolute;
  top: -5px;
  left: 3px;
  width: 7px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  content: "";
}

.lumio-cart-button b {
  position: absolute;
  top: 2px;
  right: -1px;
  display: grid;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e99654;
  color: #fff;
  font: 8px/1 system-ui, sans-serif;
  place-items: center;
}

.lumio-mobile-actions {
  align-items: center;
}

/* Shared footer, based on the original eyewear page footer. */
.lumio-shared-footer {
  padding: 80px 0 28px;
  background: #213C48;
  color: #dbe1de;
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

.lumio-shared-footer .footer-container {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.lumio-shared-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(2, minmax(120px, 1fr)) minmax(220px, 2fr);
  gap: 36px;
}

.lumio-shared-footer .footer-brand {
  display: block;
  color: inherit;
}

.lumio-shared-footer .footer-brand .navbar-brand {
  display: inline-flex;
  margin-bottom: 27px;
}

.lumio-shared-footer .footer-brand p,
.lumio-shared-footer .footer-contact p {
  margin: 0;
  color: #9eaaa5;
  font-size: 11px;
  line-height: 2;
}

.lumio-shared-footer h3 {
  margin: 0 0 22px;
  color: #89968f;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .18em;
}

.lumio-shared-footer .footer-links a {
  display: block;
  margin-bottom: 13px;
  color: #dbe1de;
  font-size: 12px;
  text-decoration: none;
}

.lumio-shared-footer .footer-links a:hover { color: #fff; }

.lumio-shared-footer .footer-contact { padding-left: 8%; }

.lumio-shared-footer .footer-locale {
  max-width: 190px;
  margin-top: 18px;
  padding: 12px 15px;
  border: 1px solid #52615b;
  font-size: 10px;
  letter-spacing: .09em;
}

.lumio-shared-footer .footer-locale span { float: right; }

.lumio-shared-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 60px;
  padding-top: 23px;
  border-top: 1px solid #43514c;
  color: #7f8e88;
  font-size: 8px;
  letter-spacing: .15em;
}

.lumio-shared-footer .footer-company {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #43514c;
  color: #aebbb6;
  font-size: 11px;
  letter-spacing: .04em;
  line-height: 1.8;
}

.lumio-shared-footer .back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: 42px;
  height: 42px;
  border: 1px solid #26332f;
  background: #fcfcf8;
  color: #26332f;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.lumio-shared-footer .back-top.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 760px) {
  .lumio-page-header {
    width: calc(100% - 40px);
    height: 82px;
  }

  .lumio-page-nav {
    gap: 22px;
    font-size: 13px;
  }

  .lumio-page-nav .lumio-about-link,
  .lumio-page-nav .lumio-pillow-link,
  .lumio-page-header .lumio-cart-link {
    display: none;
  }

  .lumio-logo--header {
    width: 130px;
  }

  .lumio-shared-footer { padding: 58px 0 24px; }
  .lumio-shared-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .lumio-shared-footer .footer-brand,
  .lumio-shared-footer .footer-contact,
  .lumio-shared-footer .footer-company { grid-column: 1 / -1; }
  .lumio-shared-footer .footer-brand { margin-bottom: 4px; }
  .lumio-shared-footer .footer-contact { padding-left: 0; }
  .lumio-shared-footer .footer-bottom { flex-direction: column; margin-top: 36px; gap: 10px; }
  .lumio-shared-footer .back-top { right: 12px; bottom: 12px; }
}

@media (max-width: 380px) {
  .lumio-page-header {
    width: calc(100% - 32px);
  }

  .lumio-page-nav {
    gap: 16px;
    font-size: 12px;
  }

  .lumio-logo--header {
    width: 120px;
  }
}
