/**
 * Base styles for every lista page. Keep this small: crosstab pages inline it.
 * Page-specific CSS lives in its own file (lista-crosstab,
 * lista-faq, lista-search-near-me, lista-find), registered and
 * enqueued in Lista_Public.
 */

:root {
  --primary: #B90F1A;
  --lista-primary: #000000;
  --charcoal: #121212;
  --soft-black: #1A1A1A;
  --grey: #757575;
  --bg-color: #f6f6f6;
  --shop-color: #128C7E;
}

/* NEARME BOTTOM SHEET RELATED */

.nearme{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background-color: var(--lista-primary) !important;
  color: #ffffff !important;
  border-radius: 1rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
}

/* Limit width to 480px like a mobile even in wide screen */
body {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

/* BUTTON */
.cta-button,
.cta-button-outline {
  height: 2.5rem;
  padding: 0.25rem 1rem;
  border-radius: 99px;
  font-size: 1rem;
  text-decoration: none !important;
  box-shadow: 0 0.05rem 0.05rem rgba(0, 0, 0, 0.1);
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: background-color 0.05s ease, transform 0.1s ease;
  outline: none !important;
}

.cta-button {
  background-color: var(--primary);
  color: #ffffff !important;
  border: none !important;
}

.cta-button-outline {
  background-color: #ffffff;
  color: var(--primary);
  border: 0.5px solid var(--primary);
}

.cta-button.pressed,
.cta-button-outline.pressed {
  filter: brightness(0.85);
  color: white !important;
  transform: scale(0.95);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
}

/* Links that should look like plain content */
.no-underline {
  text-decoration: none !important;
  color: inherit;
  outline: none !important;
}

:where(.wp-site-blocks) > * {
    margin-block-start: 0rem !important;
    margin-block-end: 0;
}

.tiny-text{
  color: var(--soft-black);
  font-size: 0.75rem;
}
/* Disable shadows behind images (was a WPCode CSS snippet). */
img,
img *,
img::before,
img::after,
figure,
figure *,
figure::before,
figure::after {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}
