:root {
  --bg: #fff8e3;
  --bg-soft: #ffeaa8;
  --surface: #fff5cd;
  --surface-strong: #f2c431;
  --ink: #111111;
  --ink-soft: #44360d;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.35);
  --accent: #f0be24;
  --accent-deep: #cf9216;
  --accent-brown: #8f5712;
  --success: #1f8f45;
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  font-family: "Barlow", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 24%),
    linear-gradient(180deg, #ffe7a2 0%, #fff1c0 18%, #fff6d7 54%, #fffaf0 100%);
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.15) 55%, transparent 100%);
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
strong {
  margin: 0;
}

h1,
h2 {
  font-family: "Archivo Black", sans-serif;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
}

body[data-page^="admin"] .container {
  width: min(1820px, calc(100% - 20px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow-x: hidden;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(16px);
  background:
    linear-gradient(180deg, rgba(241, 189, 28, 0.96), rgba(230, 166, 18, 0.94));
}

main {
  overflow-x: hidden;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  width: 144px;
  flex: 0 0 auto;
}

.menu-toggle {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  padding: 10px 16px;
  font-weight: 700;
}

.site-nav {
  position: absolute;
  left: 14px;
  right: 14px;
  top: calc(100% + 8px);
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 2px solid var(--line-strong);
  border-radius: 22px;
  background: #ffe7a0;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .is-current {
  background: rgba(17, 17, 17, 0.08);
}

.nav-cta {
  background: var(--ink);
  color: #ffffff;
}

.hero,
.page-banner,
.section,
.site-footer {
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
}

.hero {
  overflow: hidden;
  padding: 26px 0 40px;
}

.hero::after,
.page-banner::after {
  content: "";
  position: absolute;
  inset: auto -10% -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.08);
  filter: blur(10px);
}

.hero-grid,
.callout-grid,
.institutional-grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  align-items: start;
}

.institutional-hero {
  display: grid;
  gap: 22px;
  align-items: start;
}

.product-hero {
  display: grid;
  gap: 22px;
  align-items: start;
}

.hero-copy {
  padding-top: 0;
}

.eyebrow {
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-brown);
}

h1 {
  font-size: clamp(2.2rem, 9vw, 4.7rem);
  line-height: 0.96;
  max-width: 12ch;
}

.hero-text,
.banner-text,
.category-card p,
.product-card p,
.callout p,
.info-card p,
.section-note,
.site-footer p,
.schedule-list,
.empty-state {
  color: var(--ink-soft);
  line-height: 1.65;
}

.hero-text,
.banner-text {
  margin-top: 16px;
  max-width: 58ch;
  font-size: 1.06rem;
}

.hero-actions,
.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: #ffffff;
}

.button-light {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 17, 17, 0.16);
}

.button-outline {
  border-color: var(--ink);
  background: transparent;
}

.whatsapp-float {
  position: fixed;
  right: 0;
  bottom: 12px;
  left: auto;
  z-index: 30;
  display: grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(17, 17, 17, 0.16);
  border-radius: 50%;
  background: #1faa59;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
  transform: translateX(-12px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  max-width: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translate(-12px, -2px);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.22);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 88px;
  z-index: 29;
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.92);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.cookie-banner a {
  color: #f7ce46;
  font-weight: 800;
  text-decoration: none;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner .button {
  min-height: 44px;
  padding: 0 16px;
}

.cookie-banner .button-dark,
.cookie-banner .button-light {
  background: #f0be24;
  border-color: rgba(17, 17, 17, 0.16);
  color: #111111;
}

.cookie-banner .button-dark:hover,
.cookie-banner .button-dark:focus-visible,
.cookie-banner .button-light:hover,
.cookie-banner .button-light:focus-visible {
  background: #e0ac22;
}

.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-points li,
.category-card,
.product-card,
.info-card,
.callout,
.hero-card {
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-points li {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.52);
  font-weight: 600;
}

.hero-card {
  background:
    linear-gradient(180deg, rgba(255, 244, 207, 0.96), rgba(241, 200, 74, 0.9)),
    linear-gradient(135deg, var(--accent) 0%, var(--surface-strong) 100%);
  padding: 18px;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  align-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-card img {
  width: min(100%, 400px);
  margin: 18px auto;
}

.hero-card-panel {
  padding: 18px;
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.92);
  color: #ffffff;
}

.hero-card-panel p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.section,
.page-banner {
  padding: 34px 0;
}

.page-banner {
  padding-top: 36px;
}

.page-banner .eyebrow,
.hero-copy .eyebrow {
  margin-top: 0;
}

.section-contrast {
  background: rgba(255, 244, 207, 0.7);
  border-top: 2px solid rgba(17, 17, 17, 0.08);
  border-bottom: 2px solid rgba(17, 17, 17, 0.08);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  max-width: 16ch;
}

.split-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-link {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.category-grid,
.product-grid {
  display: grid;
  gap: 16px;
}

.category-card,
.product-card,
.info-card {
  background: rgba(255, 249, 232, 0.92);
  padding: 18px;
}

.category-card span {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--accent-brown);
}

.category-card h3,
.product-card h3,
.info-card h2 {
  font-size: 1.4rem;
}

.category-card p,
.product-card p,
.info-card p {
  margin-top: 10px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-visual {
  position: relative;
  min-height: 180px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.55), transparent 28%),
    linear-gradient(135deg, #ffd75c 0%, #e0ac22 55%, #bc7416 100%);
}

.product-visual::before {
  content: attr(data-emoji);
  position: absolute;
  right: 16px;
  bottom: 10px;
  font-size: 4rem;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.18));
}

.product-visual[data-has-image="true"]::before {
  content: "";
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px dashed rgba(17, 17, 17, 0.22);
  border-radius: 16px;
}

.product-visual[data-has-image="true"]::after {
  border-style: solid;
  border-color: rgba(17, 17, 17, 0.08);
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-category {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-price {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.05rem;
  white-space: nowrap;
}

.product-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.product-card-actions .button {
  width: 100%;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.catalog-search-bar {
  margin-bottom: 14px;
}

.catalog-search-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 2px solid rgba(17, 17, 17, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.filter-button {
  background: rgba(255, 248, 226, 0.95);
  border-color: rgba(17, 17, 17, 0.14);
}

.filter-button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.callout {
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.94), rgba(50, 40, 6, 0.96)),
    linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #ffffff;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: none;
}

.callout .eyebrow,
.callout p {
  color: rgba(255, 255, 255, 0.78);
}

.callout h2 {
  max-width: 12ch;
}

.callout .button-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.institutional-grid {
  grid-template-columns: 1fr;
}

.institutional-hero-card {
  padding: 22px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 244, 207, 0.96), rgba(241, 200, 74, 0.9)),
    linear-gradient(135deg, var(--accent) 0%, var(--surface-strong) 100%);
  box-shadow: var(--shadow);
}

.product-hero-card {
  padding: 22px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 244, 207, 0.96), rgba(241, 200, 74, 0.9)),
    linear-gradient(135deg, var(--accent) 0%, var(--surface-strong) 100%);
  box-shadow: var(--shadow);
}

.product-hero-card img {
  width: min(100%, 280px);
  margin: 18px auto;
}

.institutional-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.92);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.institutional-hero-card img {
  width: min(100%, 280px);
  margin: 18px auto;
}

.institutional-highlight {
  padding: 18px;
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.92);
  color: #ffffff;
}

.institutional-highlight p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.institutional-mini-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.institutional-mini-list li {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  font-weight: 700;
}

.info-card-faith {
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.94), rgba(50, 40, 6, 0.96)),
    linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #ffffff;
}

.info-card-faith .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.info-card-faith p,
.info-card-faith .faith-verse {
  color: rgba(255, 255, 255, 0.84);
}

#privacidade {
  scroll-margin-top: 120px;
}

.faith-verse {
  margin: 14px 0;
  padding: 16px 18px;
  border-left: 4px solid #f7ce46;
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
}

.faith-verse span {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7ce46;
}

.admin-shell,
.admin-grid,
.admin-stats {
  display: grid;
  gap: 18px;
}

.admin-shell {
  align-items: start;
}

.admin-topbar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 2px solid rgba(17, 17, 17, 0.12);
  font-weight: 800;
}

.admin-nav a.is-current {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.admin-card,
.admin-brand {
  min-width: 0;
  padding: 22px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 250, 235, 0.92);
  box-shadow: var(--shadow);
}

.admin-field {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  font-weight: 700;
}

.admin-brand h1 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  overflow-wrap: normal;
  word-break: normal;
}

.admin-brand h1 span {
  display: block;
}

.admin-field input {
  min-height: 52px;
  padding: 0 14px;
  border: 2px solid rgba(17, 17, 17, 0.16);
  border-radius: 16px;
  background: #fffdf6;
}

.admin-inline-field {
  display: grid;
  gap: 10px;
}

.admin-inline-button {
  width: 100%;
}

.admin-field-note {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.admin-image-actions {
  display: grid;
  gap: 10px;
}

.admin-image-preview {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin-top: 12px;
  border: 2px dashed rgba(17, 17, 17, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(45deg, rgba(17, 17, 17, 0.04) 25%, transparent 25%, transparent 75%, rgba(17, 17, 17, 0.04) 75%),
    linear-gradient(45deg, rgba(17, 17, 17, 0.04) 25%, transparent 25%, transparent 75%, rgba(17, 17, 17, 0.04) 75%);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
  overflow: hidden;
  color: var(--ink-soft);
  text-align: center;
  padding: 16px;
}

.admin-image-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.admin-recent-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-recent-empty {
  color: var(--ink-soft);
}

.admin-recent-image {
  width: 76px;
  height: 76px;
  padding: 6px;
  border: 2px solid rgba(17, 17, 17, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.admin-recent-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-emoji-input {
  text-align: center;
  font-size: 1.3rem;
}

.admin-category-lock {
  color: var(--ink);
  font-weight: 700;
  background: rgba(17, 17, 17, 0.06) !important;
  cursor: default;
}

.admin-emoji-groups {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-emoji-group strong {
  display: block;
  margin-bottom: 8px;
}

.admin-emoji-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-emoji-chip {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(17, 17, 17, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.25rem;
  cursor: pointer;
}

.admin-emoji-chip.is-selected {
  border-color: var(--ink);
  background: #f7ce46;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.16);
  transform: translateY(-1px);
}

.admin-select,
.admin-textarea {
  width: 100%;
  border: 2px solid rgba(17, 17, 17, 0.16);
  border-radius: 16px;
  background: #fffdf6;
}

.admin-select {
  min-height: 52px;
  padding: 0 14px;
}

.admin-textarea {
  min-height: 112px;
  padding: 12px 14px;
  resize: vertical;
}

.admin-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.admin-help {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.admin-feedback {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(164, 40, 40, 0.2);
  border-radius: 14px;
  background: rgba(164, 40, 40, 0.08);
  color: #8f2020;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.5;
}

.is-future-feature {
  display: none;
}

.admin-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.admin-stats div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.06);
}

.admin-stats strong {
  display: block;
  font-size: 1.7rem;
  font-family: "Archivo Black", sans-serif;
}

.admin-stats span,
.admin-list,
.admin-card p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.admin-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.admin-dashboard-stack {
  display: grid;
  gap: 12px;
}

.admin-inline-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.05);
}

.admin-inline-form .admin-field {
  margin: 0;
}

.admin-inline-form .admin-check {
  align-self: end;
  min-height: 52px;
  padding-bottom: 8px;
}

.admin-inline-form .button {
  align-self: end;
}

.admin-settings-form {
  display: grid;
  gap: 12px;
}

.admin-products-layout {
  display: grid;
  gap: 18px;
}

.admin-card-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-search {
  min-height: 50px;
  min-width: min(100%, 260px);
  padding: 0 14px;
  border: 2px solid rgba(17, 17, 17, 0.16);
  border-radius: 16px;
  background: #fffdf6;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  text-align: left;
  vertical-align: top;
}

.admin-table th:last-child,
.admin-table td:last-child {
  width: 1%;
  min-width: 220px;
  white-space: nowrap;
  padding-right: 2px;
}

.admin-table td span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-badge.is-on {
  background: rgba(31, 143, 69, 0.15);
  color: #166538;
}

.admin-switch-grid {
  display: grid;
  gap: 10px;
  margin: 10px 0 18px;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.admin-row-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.admin-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.admin-link-button.is-danger {
  color: #a42828;
}

.button-dark.is-danger {
  background: #8f1f1f;
  border-color: #8f1f1f;
  color: #fffaf0;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.admin-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.52);
}

.admin-modal-panel {
  position: relative;
  width: min(720px, calc(100% - 24px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  margin: 16px auto;
  padding: 22px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 250, 235, 0.98);
  box-shadow: var(--shadow);
}

.admin-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.08);
  font-size: 1.5rem;
  cursor: pointer;
}

.admin-confirm-dialog {
  width: min(520px, calc(100% - 24px));
}

.admin-confirm-dialog__text {
  margin: 8px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.admin-confirm-dialog__actions {
  display: flex;
  justify-content: end;
  gap: 12px;
  margin-top: 20px;
}

.schedule-list {
  padding-left: 18px;
  margin: 12px 0 0;
}

.step-list {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.muted {
  opacity: 0.72;
}

.empty-state {
  padding: 20px;
  border: 2px dashed rgba(17, 17, 17, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
}

.site-footer {
  padding: 32px 0 40px;
  background: rgba(17, 17, 17, 0.96);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

.footer-grid > * {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.footer-grid strong {
  display: block;
  margin-bottom: 10px;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-logo {
  width: 140px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 16px;
  background: #f7ce46;
}

.footer-highlight {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border-left: 4px solid #f7ce46;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(247, 206, 70, 0.12), rgba(247, 206, 70, 0.02));
  color: #ffffff !important;
  font-weight: 700;
  line-height: 1.55;
  text-wrap: normal;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 700px) {
  .hero {
    padding: 42px 0 60px;
  }

  .hero-grid,
  .callout-grid,
  .institutional-hero,
  .product-hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-grid {
    align-items: start;
  }

  .callout-grid {
    align-items: center;
  }

  .institutional-hero {
    align-items: start;
  }

  .product-hero {
    align-items: start;
  }

  .category-grid,
  .product-grid,
  .institutional-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
  }

  .admin-topbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }

  .admin-inline-field {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .admin-inline-form {
    grid-template-columns: minmax(0, 1.4fr) 230px 180px auto;
    align-items: end;
  }

  .admin-inline-form .admin-check {
    justify-content: flex-start;
  }

  .admin-inline-button {
    width: auto;
  }

  .admin-image-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 699px) {
  .page-banner::after {
    display: none;
  }

  .container {
    width: auto;
    max-width: none;
    margin-left: 14px;
    margin-right: 14px;
  }

  .page-banner .container,
  .product-hero,
  .institutional-hero,
  .product-hero > *,
  .institutional-hero > * {
    min-width: 0;
    max-width: 100%;
  }

  .product-hero-card,
  .institutional-hero-card,
  .banner-text,
  .hero-actions,
  .hero-actions .button {
    max-width: 100%;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-grid > * {
    min-width: 0;
    width: auto;
    max-width: 100%;
    overflow: hidden;
  }

  html,
  body {
    width: 100%;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  .whatsapp-float {
    box-shadow: 0 14px 22px rgba(0, 0, 0, 0.18);
  }

  .footer-highlight {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 920px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 10px 14px;
  }

  .site-nav .nav-cta:hover,
  .site-nav .nav-cta:focus-visible {
    background: #262626;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .institutional-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-card-wide {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .split-heading {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }

  .whatsapp-float {
    right: 0;
    bottom: 24px;
    width: 62px;
    height: 62px;
    transform: translateX(-24px);
  }

  .cookie-banner {
    left: 24px;
    right: auto;
    bottom: 24px;
    width: min(460px, calc(100% - 110px));
  }

  .admin-products-layout {
    grid-template-columns: minmax(0, 1.9fr) minmax(260px, 0.2fr);
    align-items: start;
  }
}
