.announcement,
.site-header,
.site-header .brand b,
.site-header .nav,
.ribi-compact-footer {
  font-family: var(--ribi-storefront-font, Poppins, Arial, sans-serif);
}

.announcement {
  overflow: hidden;
  white-space: nowrap;
  background: var(--ribi-storefront-accent, #4b2037);
}

.ribi-marquee {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  animation: ribiMarquee 24s linear infinite;
}

@keyframes ribiMarquee {
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .ribi-marquee {
    padding-left: 0;
    animation: none;
  }
}

.site-header .header-inner {
  position: relative;
  min-height: 62px;
}

#ribiMenuToggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ribi-storefront-accent, #4b2037);
  border-radius: 11px;
  background: var(--ribi-storefront-accent, #4b2037);
  color: var(--ribi-paper);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.site-header .nav[hidden] {
  display: none !important;
}

.site-header .nav:not([hidden]) {
  position: absolute;
  right: 15px;
  top: calc(100% + 4px);
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  padding: 15px;
  border: 1px solid var(--ribi-line);
  border-radius: 12px;
  background: var(--ribi-paper);
  box-shadow: 0 10px 25px #5323371c;
}

.ribi-compact-footer {
  padding: 15px 0 8px !important;
  background: var(--ribi-plum);
  color: #f6eaf0;
}

.ribi-footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.ribi-footer-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.ribi-footer-info > b {
  font-size: 16px;
}

.ribi-footer-info p {
  margin: 0;
  font-size: 12px;
}

.ribi-footer-info small {
  font-size: 11px;
  line-height: 1.5;
}

.ribi-footer-links {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 7px 0;
  padding: 0;
  list-style: none;
}

.ribi-footer-links a {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}

.ribi-footer-contact-value,
.ribi-footer-info small {
  overflow-wrap: anywhere;
}

.ribi-footer-links a:hover {
  text-decoration: underline;
}

.ribi-footer-links svg {
  margin-top: 2px;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ribi-footer-location {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 7px;
  width: clamp(150px, 21vw, 235px);
}

.ribi-footer-location iframe,
.ribi-map-fallback {
  width: 100%;
  height: 110px;
  border: 0;
  border-radius: 9px;
  background: #f5edf0;
}

.ribi-map-fallback {
  display: grid;
  place-items: center;
  color: #573445;
  font-size: 12px;
  text-align: center;
}

.ribi-map-directions {
  display: block;
  padding: 8px 6px;
  border-radius: 8px;
  background: #96375e;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.ribi-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #71515e;
  font-size: 11px;
}

.ribi-footer-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-weight: 650;
}

.ribi-footer-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: #f0d5dc;
  text-decoration: none;
}

.ribi-footer-shortcuts a:hover {
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .site-header .wrap,
  .ribi-compact-footer .wrap {
    width: calc(100% - 80px);
    max-width: 1560px;
  }

  .ribi-footer-location {
    width: 230px;
  }
}

@media (min-width: 701px) and (max-width: 1023px) {
  .site-header .wrap,
  .ribi-compact-footer .wrap {
    width: calc(100% - 44px);
  }
}

@media (max-width: 700px) {
  .site-header .wrap,
  .ribi-compact-footer .wrap {
    width: calc(100% - 30px);
  }

  .site-header .header-inner {
    min-height: 64px;
  }

  #ribiMenuToggle {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .ribi-footer-main {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .ribi-footer-location {
    width: 100%;
  }

  .ribi-footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .ribi-footer-shortcuts {
    justify-content: center;
    width: 100%;
  }

  .ribi-footer-location iframe,
  .ribi-map-fallback {
    height: 92px;
  }

  .ribi-footer-info > b {
    font-size: 13px;
  }

  .ribi-footer-info p,
  .ribi-footer-links a {
    font-size: 11px;
  }

  .ribi-footer-info small {
    font-size: 10px;
  }


  .ribi-map-directions {
    padding: 7px 4px;
    font-size: 11px;
  }
}
