.sale-banner {
  position: relative;
  z-index: 60;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px clamp(20px, 4vw, 64px);
  background: #ffd400;
  color: #252525;
  font-size: 14px;
}

.sale-banner__message,
.sale-banner__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.sale-banner__message strong {
  font-size: 16px;
}

.sale-banner__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sale-banner__contact {
  color: #574f00;
}

.sale-banner__contact a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.sale-banner__contact a:hover,
.sale-banner__contact a:focus-visible {
  text-decoration: underline;
}

.sale-banner__cta {
  margin-left: 0;
  padding: 11px 20px;
  border-radius: 999px;
  background: #fff;
  color: #252525;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .08);
  transition: transform .2s, box-shadow .2s;
}

.sale-banner__cta:hover,
.sale-banner__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .14);
}

.sale-banner[hidden],
.sale-banner.is-hidden {
  display: none !important;
}

.sale-banner__close {
  position: absolute;
  right: clamp(10px, 2vw, 24px);
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #252525;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.sale-banner__close:hover,
.sale-banner__close:focus-visible {
  color: #000;
  background: rgba(0, 0, 0, .07);
}

@media (max-width: 700px) {
  .sale-banner {
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 2px;
    padding: 8px 14px 9px;
  }

  .sale-banner__message {
    grid-column: 1 / 2;
    grid-row: 1;
    gap: 7px;
    min-width: 0;
  }

  .sale-banner__message strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sale-banner__icon {
    width: 20px;
    height: 20px;
  }

  .sale-banner__contact {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 5px;
    padding-left: 27px;
    font-size: 12px;
  }

  .sale-banner__cta {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 9px 12px;
    font-size: 11px;
  }

  .sale-banner__close {
    position: static;
    grid-column: 3;
    grid-row: 1;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    margin: 0;
    font-size: 26px;
  }
}

.topbar {
  height: 96px;
}

.brand {
  display: flex;
  width: 230px;
  height: 94px;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 163px;
  height: auto;
  max-width: 100%;
  transform: translateX(-4px);
}

@media (max-width: 700px) {
  .mobile-nav {
    bottom: calc(4px + env(safe-area-inset-bottom));
  }

  .topbar {
    height: 78px;
  }

  .brand {
    width: 180px;
    height: 76px;
  }

  .brand img {
    width: 163px;
    height: auto;
    transform: translateX(-3px);
  }
}

/* PWA Install & Notification Prompt */
.pwa-prompt {
  position: fixed;
  z-index: 9999;
  right: 24px;
  bottom: 24px;
  width: min(400px, calc(100vw - 32px));
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: none;
}

.pwa-prompt.pwa-prompt--visible {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

.pwa-prompt[hidden] {
  display: none !important;
}

.pwa-prompt__card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e8e5e1;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(32, 34, 32, 0.14), 0 2px 6px rgba(32, 34, 32, 0.04);
}

.pwa-prompt__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #f4f2ef;
  color: #777;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}

.pwa-prompt__close:hover {
  background: #e8e5e1;
  color: #111;
}

.pwa-prompt__body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-right: 20px;
}

.pwa-prompt__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pwa-prompt__info {
  flex: 1 1 auto;
  min-width: 0;
}

.pwa-prompt__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #202220;
  line-height: 1.25;
  margin-bottom: 4px;
}

.pwa-prompt__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #666;
}

.pwa-prompt__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.pwa-prompt__btn-install {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  background: #202220;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.pwa-prompt__btn-install:hover {
  background: #333633;
}

.pwa-prompt__btn-install:active {
  transform: scale(0.98);
}

.pwa-prompt__btn-later {
  padding: 11px 14px;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.pwa-prompt__btn-later:hover {
  color: #202220;
  background: #f5f4f0;
}

.pwa-ios-steps {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f7f6f4;
  border-radius: 14px;
  border: 1px solid #ebe8e3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pwa-ios-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
}

.pwa-ios-step__num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #202220;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pwa-ios-step__text {
  flex: 1 1 auto;
  min-width: 0;
}

.pwa-ios-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  vertical-align: middle;
  margin: 0 3px;
}

.pwa-ios-pointer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  color: #007aff;
  animation: pwaBounce 1.6s ease-in-out infinite;
}

@keyframes pwaBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@media (max-width: 700px) {
  .pwa-prompt {
    right: 14px;
    left: 14px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    width: auto;
  }

  .pwa-prompt__card {
    padding: 16px;
    border-radius: 18px;
  }

  .pwa-prompt__icon {
    width: 46px;
    height: 46px;
  }

  .pwa-prompt__title {
    font-size: 14px;
  }

  .pwa-prompt__text {
    font-size: 12px;
  }

  .pwa-ios-step {
    font-size: 12px;
  }

  .pwa-prompt__actions {
    margin-top: 14px;
  }

  .pwa-prompt__btn-install {
    font-size: 12.5px;
    padding: 10px 14px;
  }
}
