/* Stack the public header and footer logos with the same proportions.
   A new stylesheet path also refreshes clients that cache CSS without queries. */
body.coco-customer-page header.coco-unified-header
  .coco-public-brand.cocoicotto-wordmark-brand > span > strong,
body.coco-customer-page footer.coco-unified-footer
  .coco-unified-footer-brand.cocoicotto-wordmark-brand > span > strong {
  display: block !important;
  box-sizing: border-box !important;
  width: 68px !important;
  height: 28px !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  background-image: url("/qrmenu/images/cocoicotto-katakana-logo.svg?v=20260923-2") !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;
}

body.coco-customer-page header.coco-unified-header
  > .coco-public-brand.cocoicotto-wordmark-brand,
body.coco-customer-page footer.coco-unified-footer
  > a.coco-unified-footer-brand.cocoicotto-wordmark-brand {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 28px auto !important;
  justify-items: start !important;
  align-content: center !important;
  gap: 0 !important;
  width: 140px !important;
  max-width: 100% !important;
  height: auto !important;
}

body.coco-customer-page header.coco-unified-header
  .coco-public-brand.cocoicotto-wordmark-brand > span,
body.coco-customer-page footer.coco-unified-footer
  .coco-unified-footer-brand.cocoicotto-wordmark-brand > span {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-items: start !important;
  gap: 0 !important;
}

body.coco-customer-page header.coco-unified-header
  .coco-public-brand.cocoicotto-wordmark-brand > .cocoicotto-header-logo,
body.coco-customer-page footer.coco-unified-footer
  .coco-unified-footer-brand.cocoicotto-wordmark-brand > .cocoicotto-footer-logo {
  grid-column: 1 !important;
  grid-row: 2 !important;
  width: 140px !important;
  max-width: 100% !important;
  max-height: none !important;
  height: auto !important;
  object-position: center !important;
  transform: translate(24px, -8px) !important;
}

body.coco-customer-page header.coco-unified-header
  .coco-public-brand.cocoicotto-wordmark-brand > span > small,
body.coco-customer-page footer.coco-unified-footer
  .coco-unified-footer-brand.cocoicotto-wordmark-brand > span > small {
  display: none !important;
}

@media (max-width: 760px) {
  body.coco-customer-page header.coco-unified-header
    > .coco-public-brand.cocoicotto-wordmark-brand,
  body.coco-customer-page footer.coco-unified-footer
    > a.coco-unified-footer-brand.cocoicotto-wordmark-brand {
    width: 112px !important;
  }

  body.coco-customer-page header.coco-unified-header
    .coco-public-brand.cocoicotto-wordmark-brand > .cocoicotto-header-logo,
  body.coco-customer-page footer.coco-unified-footer
    .coco-unified-footer-brand.cocoicotto-wordmark-brand > .cocoicotto-footer-logo {
    width: 112px !important;
  }
}
