/* V12.1: isolated styles keep generic button/card rules out of small notices. */
.store-notice[hidden] { display: none !important; }
.store-notice {
  position: fixed;
  z-index: 1038;
  inset-inline: 12px;
  bottom: var(--store-notice-bottom, calc(12px + env(safe-area-inset-bottom)));
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  width: calc(100% - 24px);
  max-width: 400px;
  margin-inline: auto;
  padding: 12px;
  border: 1px solid #e3d7c3;
  border-radius: 18px;
  background: #fffaf1;
  color: #30291e;
  box-shadow: 0 6px 24px rgb(40 32 18 / 14%);
  box-sizing: border-box;
  text-align: start;
  animation: store-notice-enter 180ms ease-out;
}
.store-notice__image {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  background: #f4e8d4;
}
.store-notice__copy { min-width: 0; }
.store-notice__copy strong {
  display: block;
  font-size: .9375rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0;
}
.store-notice__copy p {
  margin: 4px 0 0;
  color: #675740;
  font-size: .8125rem;
  line-height: 1.45;
}
.store-notice .store-notice__close,
.store-notice .store-notice__action {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  animation: none;
  transform: none;
}
.store-notice .store-notice__close:hover { background: rgb(127 110 80 / 12%); }
.store-notice .store-notice__action {
  padding-inline: 12px;
  background: #edc974;
  color: #29251b;
  font-size: .8125rem;
  font-weight: 700;
}
.store-notice .store-notice__action:hover { background: #f4d58d; }
.store-notice .store-notice__close:focus-visible,
.store-notice .store-notice__action:focus-visible {
  outline: 3px solid #ac771c;
  outline-offset: 2px;
}
.store-notice--install {
  grid-template-columns: minmax(0, 1fr) auto 44px;
  max-width: 380px;
  gap: 8px;
  background: #282620;
  border-color: #484136;
  color: #fffaf1;
}
.store-notice--install .store-notice__copy p { color: #dfd5c2; }
.store-notice--install .store-notice__close:focus-visible { outline-color: #edc974; }
body.store-notice-visible .floating-whatsapp { visibility: hidden; }
@media (max-width: 359px) {
  .store-notice--welcome { grid-template-columns: 48px minmax(0, 1fr) 44px; gap: 8px; padding: 10px; }
  .store-notice__image { width: 48px; height: 48px; }
}
@keyframes store-notice-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .store-notice { animation: none; }
}
