/* Shared v2 header and footer. Brand pink matches $color-pictorem-primary. */

.site-chrome {
  border-top: 3px solid #de256f;
  background: #fff;
}

.site-chrome--fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Utility bar */
.site-topbar {
  background: #161a1d;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.25rem;
}

.site-topbar__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.site-topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.site-topbar__phone i {
  color: #de256f;
  font-size: 0.75rem;
}

.site-topbar__places {
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.site-social {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-social a:focus-visible {
  outline: 2px solid #de256f;
  outline-offset: 2px;
  color: #fff;
}

.no-touch-enable .site-social a:hover {
  color: #fff;
  background: rgba(222, 37, 111, 0.85);
}

.no-touch-enable .site-topbar__phone:hover {
  color: #fff;
}

/* Main header. Scoped under .site-chrome because the legacy Kallyas header in
   inc_newheader.php uses the same .site-header class and must stay transparent. */
.site-chrome .site-header {
  background: #fff;
  border-bottom: 1px solid rgba(22, 26, 29, 0.08);
}

.site-chrome .site-header .navbar {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.site-logo {
  display: block;
  height: 32px;
  width: auto;
}

.site-chrome .site-header .nav-link {
  color: #161a1d;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
}

.site-chrome .site-header .nav-link:focus-visible {
  color: #de256f;
  outline: 2px solid #de256f;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.no-touch-enable .site-chrome .site-header .nav-link:hover {
  color: #de256f;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-chrome .site-header .navbar-toggler {
  border: 0;
  padding: 0.35rem 0.45rem;
}

.site-chrome .site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(222, 37, 111, 0.28);
}

.site-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: #161a1d;
  text-decoration: none;
  flex: 0 0 auto;
}

.site-cart:focus-visible {
  outline: 2px solid #de256f;
  outline-offset: 2px;
  color: #de256f;
}

.no-touch-enable .site-cart:hover {
  color: #de256f;
  background: #fde8f0;
}

.site-cart__count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #de256f;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
}

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-btn:focus-visible {
  outline: 2px solid #de256f;
  outline-offset: 2px;
}

.site-btn--ghost {
  color: #161a1d;
  background: #fff;
  border: 1px solid #d5d5d8;
}

.site-btn--solid {
  color: #fff;
  background: #de256f;
  border: 1px solid #de256f;
}

.no-touch-enable .site-btn--ghost:hover {
  color: #de256f;
  border-color: #de256f;
}

.no-touch-enable .site-btn--solid:hover {
  color: #fff;
  background: #b21e59;
  border-color: #b21e59;
}

@media (min-width: 992px) {
  .site-logo {
    height: 40px;
  }

  /* Logo | centered links | actions. display:contents lets the collapsed
     menu's children sit on the navbar grid; Bootstrap's flex !important
     would otherwise keep them boxed together. */
  .site-chrome .site-header .navbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    width: 100%;
  }

  .site-chrome .site-header .navbar-expand-lg .navbar-collapse {
    display: contents !important;
  }

  .site-chrome .site-header .navbar-brand {
    grid-column: 1;
    justify-self: start;
  }

  .site-chrome .site-header .navbar-nav {
    grid-column: 2;
  }

  .site-header__actions {
    grid-column: 3;
    justify-self: end;
  }
}

@media (max-width: 991.98px) {
  .site-chrome .site-header .navbar-collapse {
    padding-bottom: 0.85rem;
  }

  .site-chrome .site-header .nav-link {
    padding: 0.7rem 0.15rem;
    border-bottom: 1px solid rgba(22, 26, 29, 0.06);
  }

  .site-header__actions {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.85rem;
  }

  .site-header__actions .site-btn {
    width: 100%;
  }
}

/* Footer */
.site-footer {
  background: #161a1d;
  color: rgba(255, 255, 255, 0.78);
  padding: 2.25rem 0 1.25rem;
  margin-top: 2rem;
}

.site-footer__news {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__title {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__lead {
  margin: 0.35rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.site-footer__form {
  position: relative;
}

.site-footer__email {
  background: #22262a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.site-footer__email::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__email:focus {
  background: #22262a;
  color: #fff;
  border-color: #de256f;
  box-shadow: 0 0 0 0.2rem rgba(222, 37, 111, 0.28);
}

.site-footer__join {
  background: #de256f;
  border: 1px solid #de256f;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.site-footer__join:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.no-touch-enable .site-footer__join:hover {
  background: #b21e59;
  border-color: #b21e59;
  color: #fff;
}

.site-footer__trap {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer__cols {
  row-gap: 1.75rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:focus-visible {
  outline: 2px solid #de256f;
  outline-offset: 2px;
  color: #fff;
  border-radius: 0.2rem;
}

.no-touch-enable .site-footer a:hover {
  color: #fff;
}

.site-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-products a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.25;
}

.site-products img {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border-radius: 0.35rem;
}

.site-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-links li + li {
  margin-top: 0.4rem;
}

.site-links a {
  font-size: 0.9rem;
}

.site-footer__contact p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-footer__contact a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer__phone {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
}

.site-footer__bar a {
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 575.98px) {
  .site-footer {
    padding-top: 1.75rem;
  }

  .site-footer__join {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
}

@media (min-width: 768px) {
  .site-products {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .site-products {
    grid-template-columns: 1fr;
  }
}
