@charset "UTF-8";

/*
 * MeSobra — integración global 2026-07-28
 * Cabecera con buscador único, publicación en panel y footer adaptativo.
 */

:root {
  --mesobra-header-height: 150px;
  --mesobra-search-sticky-top: 150px;
  --mesobra-sticky-offset: 170px;
  --mesobra-footer-bar-height: 64px;
  --mesobra-footer-content-height: 520px;
  --mesobra-footer-expanded-height: min(
    var(--mesobra-footer-content-height),
    calc(100dvh - var(--mesobra-header-height))
  );
  --mesobra-shell-green: #269b37;
  --mesobra-shell-green-dark: #1d762a;
  --mesobra-shell-green-deep: #14591f;
  --mesobra-shell-ink: #202923;
  --mesobra-shell-line: #dbe5dc;
  --mesobra-shell-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-padding-top: calc(var(--mesobra-header-height) + 22px);
}

#wrapper {
  padding-bottom: var(--mesobra-footer-bar-height);
}

/* Cabecera y acción Publicar */
#header .header-widget {
  display: flex;
  align-items: center;
  gap: 10px;
}

#header .mesobra-header-publish {
  display: inline-flex !important;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
  padding: 8px 18px !important;
  border: 1px solid var(--mesobra-shell-green-dark) !important;
  border-radius: 999px !important;
  background: var(--mesobra-shell-green-dark) !important;
  color: #fff !important;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(29, 118, 42, 0.16);
  transition:
    transform 180ms var(--mesobra-shell-ease),
    background-color 180ms ease,
    box-shadow 180ms ease;
}

#header .mesobra-header-publish:hover {
  background: var(--mesobra-shell-green-deep) !important;
  box-shadow: 0 10px 24px rgba(20, 89, 31, 0.22);
  transform: translateY(-1px);
}

#header .mesobra-header-publish i {
  margin: 0;
}

/* Buscador único compartido */
.mesobra-global-search-wrap {
  min-height: 76px;
  padding: 8px 0 10px;
  border-top: 1px solid rgba(18, 77, 27, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(115deg, #278f37 0%, #2fad3d 100%);
  box-shadow: 0 8px 22px rgba(25, 80, 34, 0.15);
}

.mesobra-global-search-wrap > .container {
  width: 100%;
  max-width: var(--mesobra-ui-content, 1180px);
  padding-right: 20px;
  padding-left: 20px;
}

.mesobra-global-search {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  min-height: 56px;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 71, 26, 0.16);
}

.mesobra-search-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 234px;
  margin: 0;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: #edf6ee;
}

.mesobra-search-scope label {
  position: relative;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}

.mesobra-search-scope input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.mesobra-search-scope span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #38503d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.mesobra-search-scope input:checked + span {
  background: var(--mesobra-shell-green-dark);
  color: #fff;
  box-shadow: 0 5px 14px rgba(29, 118, 42, 0.2);
}

.mesobra-search-scope input:focus-visible + span {
  outline: 3px solid rgba(35, 125, 48, 0.38);
  outline-offset: 2px;
}

.mesobra-global-search__field {
  display: grid;
  min-width: 0;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 8px 0 12px;
}

.mesobra-global-search__field > i {
  color: var(--mesobra-shell-green-dark);
  font-size: 17px;
  text-align: center;
}

.mesobra-global-search__field input {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--mesobra-shell-ink);
  font-size: 16px;
  box-shadow: none !important;
}

.mesobra-global-search__field input::placeholder {
  color: #7b877e;
  opacity: 1;
}

.mesobra-global-search__submit {
  display: inline-flex;
  min-width: 116px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--mesobra-shell-green-dark);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms var(--mesobra-shell-ease);
}

.mesobra-global-search__submit:hover {
  background: var(--mesobra-shell-green-deep);
  transform: translateY(-1px);
}

/* Panel global de publicación */
.mesobra-publish-overlay[hidden] {
  display: none !important;
}

.mesobra-publish-overlay {
  position: fixed;
  z-index: 13000;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  padding: 10px;
  background: rgba(14, 25, 16, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mesobra-publish-overlay.is-visible {
  opacity: 1;
}

.mesobra-publish-panel {
  display: flex;
  width: min(860px, calc(100vw - 20px));
  height: calc(100dvh - 20px);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  background: #f5f8f5;
  box-shadow: -20px 0 70px rgba(10, 29, 13, 0.32);
  transform: translateX(28px);
  transition: transform 420ms var(--mesobra-shell-ease);
}

.mesobra-publish-overlay.is-visible .mesobra-publish-panel {
  transform: translateX(0);
}

.mesobra-publish-panel__header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--mesobra-shell-line);
  background: #fff;
}

.mesobra-publish-panel__header .mesobra-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--mesobra-shell-green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mesobra-publish-panel__header h2 {
  margin: 0 0 5px;
  color: var(--mesobra-shell-ink);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.mesobra-publish-panel__header p {
  max-width: 660px;
  margin: 0;
  color: #637067;
  font-size: 14px;
  line-height: 1.45;
}

.mesobra-publish-panel__close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid #d8e2d9;
  border-radius: 50%;
  background: #f6f8f6;
  color: #3d4c41;
  font-size: 17px;
  cursor: pointer;
}

.mesobra-publish-tabs {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--mesobra-shell-line);
  background: #fff;
}

.mesobra-publish-tabs button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #48564c;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.mesobra-publish-tabs button[aria-selected="true"] {
  border-color: #cfe1d1;
  background: #edf7ee;
  color: var(--mesobra-shell-green-dark);
}

.mesobra-publish-tabpanel {
  position: relative;
  display: none;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  background: #f5f8f5;
}

.mesobra-publish-tabpanel.is-active {
  display: flex;
  flex-direction: column;
}

.mesobra-publish-tabpanel iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border: 0;
  background: #f5f8f5;
}

.mesobra-publish-frame-status {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  background: #f5f8f5;
  color: #5a675e;
  font-size: 15px;
  text-align: center;
  transition: opacity 180ms ease;
}

.mesobra-publish-frame-status.is-loaded {
  opacity: 0;
  pointer-events: none;
}

.mesobra-publish-gate {
  width: min(500px, calc(100% - 36px));
  margin: auto;
  padding: 42px;
  border: 1px solid #dbe5dc;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(27, 47, 31, 0.08);
  text-align: center;
}

.mesobra-publish-gate__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: #e9f6ea;
  color: var(--mesobra-shell-green-dark);
  font-size: 22px;
}

.mesobra-publish-gate .mesobra-eyebrow {
  color: var(--mesobra-shell-green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mesobra-publish-gate h3 {
  margin: 7px 0 10px;
  color: var(--mesobra-shell-ink);
  font-size: 26px;
  letter-spacing: -0.025em;
}

.mesobra-publish-gate p {
  margin: 0 auto 22px;
  color: #5f6c63;
  line-height: 1.55;
}

.mesobra-publish-gate .button {
  margin: 0 0 12px !important;
  border-radius: 999px !important;
}

.mesobra-publish-gate small {
  display: block;
  color: #7a857d;
  line-height: 1.4;
}

html.mesobra-publish-open,
html.mesobra-publish-open body {
  overflow: hidden !important;
}

html.mesobra-publish-open .mesobra-adaptive-footer {
  opacity: 0;
  pointer-events: none;
}

/* Formulario en panel: conserva el formulario productivo sin duplicarlo. */
body.mesobra-panel-embed {
  min-width: 0;
  overflow-x: hidden;
  background: #f5f8f5;
}

body.mesobra-panel-embed #wrapper {
  min-height: 0;
  overflow: visible;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: #f5f8f5;
}

body.mesobra-panel-embed .mesobra-publish-titlebar {
  min-height: 0 !important;
  padding: 25px 0 22px !important;
}

body.mesobra-panel-embed .mesobra-publish-titlebar .container,
body.mesobra-panel-embed .mesobra-publish-shell > .container,
body.mesobra-panel-embed .mesobra-wanted-publish > .container {
  width: 100%;
  max-width: 820px;
  padding-right: 22px;
  padding-left: 22px;
}

body.mesobra-panel-embed .mesobra-wanted-hero,
body.mesobra-panel-embed .mesobra-wanted-catalog {
  display: none !important;
}

body.mesobra-panel-embed .mesobra-wanted-publish {
  min-height: 100vh;
  padding-top: 24px;
  padding-bottom: 40px;
  background: #f5f8f5;
}

body.mesobra-panel-embed .mesobra-wanted-publish__intro {
  margin-bottom: 22px;
}

body.mesobra-panel-embed .mesobra-wanted-publish > .container {
  display: block;
}

/* Footer persistente y desplegable */
.mesobra-footer-trigger {
  width: 100%;
  height: 128px;
  pointer-events: none;
}

#footer.mesobra-adaptive-footer {
  position: fixed;
  z-index: 1080;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--mesobra-footer-bar-height);
  overflow: hidden;
  padding: 0;
  border: 0;
  background: linear-gradient(115deg, #208331 0%, #176225 100%);
  color: #fff;
  box-shadow: 0 -8px 30px rgba(15, 59, 23, 0.2);
  transition:
    height 850ms var(--mesobra-shell-ease),
    opacity 220ms ease;
}

#footer.mesobra-adaptive-footer.is-expanded {
  height: var(--mesobra-footer-expanded-height);
}

.mesobra-footer-bar {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: var(--mesobra-footer-bar-height);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(115deg, #268f36 0%, #1e7b2d 100%);
  transition:
    transform 520ms var(--mesobra-shell-ease),
    opacity 260ms ease;
}

.mesobra-footer-bar__hit {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mesobra-footer-bar__inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: var(--mesobra-ui-content, 1180px);
  height: 100%;
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 0 20px;
  pointer-events: none;
}

.mesobra-footer-bar__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.mesobra-footer-bar__brand img {
  width: 32px;
  height: 38px;
  object-fit: contain;
}

.mesobra-footer-bar__message {
  min-width: 0;
}

.mesobra-footer-bar__message strong,
.mesobra-footer-bar__message span {
  display: block;
}

.mesobra-footer-bar__message strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.mesobra-footer-bar__message span {
  overflow: hidden;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mesobra-footer-social {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mesobra-footer-social li {
  margin: 0 !important;
  padding: 0;
}

.mesobra-footer-social a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  opacity: 0.84;
  pointer-events: auto;
  transition:
    opacity 180ms ease,
    transform 180ms var(--mesobra-shell-ease);
}

.mesobra-footer-social a:hover,
.mesobra-footer-social a:focus-visible {
  background: transparent !important;
  opacity: 1;
  transform: translateY(-2px);
}

.mesobra-footer-social img {
  display: block;
  width: auto;
  max-width: 23px;
  height: auto;
  max-height: 23px;
  object-fit: contain;
}

.mesobra-footer-bar__chevron {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 13px;
}

.mesobra-adaptive-footer.is-expanded .mesobra-footer-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.mesobra-footer-details {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 72px 0 22px;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 9% 11%, rgba(255, 255, 255, 0.09), transparent 24%),
    linear-gradient(135deg, #237d30 0%, #1b6727 56%, #14511e 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition:
    transform 700ms var(--mesobra-shell-ease),
    opacity 450ms ease;
}

.mesobra-adaptive-footer.is-expanded .mesobra-footer-details {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mesobra-footer-details > .container {
  width: 100%;
  max-width: var(--mesobra-ui-content, 1180px);
  padding-right: 24px;
  padding-left: 24px;
}

.mesobra-footer-details__close {
  position: absolute;
  z-index: 4;
  top: 17px;
  right: max(22px, calc((100vw - var(--mesobra-ui-content, 1180px)) / 2 + 22px));
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.mesobra-footer-details__close i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.mesobra-footer-details__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.85fr;
  gap: clamp(34px, 5vw, 70px);
}

.mesobra-footer-details h2 {
  color: #fff !important;
}

.mesobra-footer-details__brand > img {
  width: auto;
  max-height: 72px;
  margin-bottom: 16px;
}

.mesobra-footer-details__brand h2 {
  max-width: 310px;
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.mesobra-footer-description {
  max-width: 370px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.mesobra-footer-description p {
  margin: 0;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.mesobra-footer-publish {
  display: inline-flex !important;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0 !important;
  padding: 9px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.54) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--mesobra-shell-green-dark) !important;
  font-weight: 800;
}

.mesobra-footer-details__nav h2,
.mesobra-footer-details__contact h2 {
  margin: 0 0 18px;
  font-size: 20px;
}

.mesobra-footer-details__nav > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mesobra-footer-details__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mesobra-footer-details__nav li {
  margin: 0 0 9px;
}

.mesobra-footer-details__nav a {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px;
  line-height: 1.35;
}

.mesobra-footer-details__nav a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.mesobra-footer-details__contact .mesobra-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #a9f1b2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mesobra-footer-contact-list {
  display: grid;
  gap: 10px;
}

.mesobra-footer-contact-list > a {
  display: grid;
  min-height: 52px;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #fff !important;
}

.mesobra-footer-contact-list > a > i {
  color: #a9f1b2;
  font-size: 16px;
}

.mesobra-footer-contact-list span,
.mesobra-footer-contact-list small {
  display: block;
}

.mesobra-footer-contact-list small {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mesobra-footer-social--full {
  gap: 4px;
  margin-top: 22px;
}

.mesobra-footer-details__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mesobra-footer-details__bottom .mesobra-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  border: 0;
}

.mesobra-footer-details__bottom .mesobra-footer-legal a,
.mesobra-footer-details__bottom .mesobra-footer-legal button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}

.mesobra-footer-details__bottom .mesobra-footer-legal a:hover,
.mesobra-footer-details__bottom .mesobra-footer-legal button:hover {
  color: #fff;
  text-decoration: underline;
}

.mesobra-footer-details__bottom > p {
  flex: 0 0 auto;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

#footer.mesobra-adaptive-footer .mesobra-footer-details__brand h2 {
  max-width: 310px;
  margin: 0 0 12px !important;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

#footer.mesobra-adaptive-footer .mesobra-footer-details__nav h2,
#footer.mesobra-adaptive-footer .mesobra-footer-details__contact h2 {
  margin: 0 0 18px !important;
  font-size: 20px !important;
}

#footer.mesobra-adaptive-footer .mesobra-footer-description,
#footer.mesobra-adaptive-footer .mesobra-footer-description p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

#footer.mesobra-adaptive-footer .mesobra-footer-details__bottom > p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.56) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

/* Elementos flotantes compatibles con la barra persistente */
#backtotop {
  bottom: calc(var(--mesobra-footer-bar-height) + 18px + env(safe-area-inset-bottom)) !important;
}

.mesobra-toast {
  bottom: calc(var(--mesobra-footer-bar-height) + 18px + env(safe-area-inset-bottom)) !important;
}

.mesobra-cookie-banner {
  position: fixed;
  right: 18px;
  bottom: calc(var(--mesobra-footer-bar-height) + 18px + env(safe-area-inset-bottom));
  left: 18px;
  z-index: 99999;
  max-width: 820px;
  max-height: calc(100dvh - var(--mesobra-footer-bar-height) - 38px);
  margin: auto;
  padding: 22px 24px;
  overflow: auto;
  border: 1px solid #ccd4cd;
  border-radius: 12px;
  background: #fff;
  color: #232823;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.28);
}

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

.mesobra-cookie-banner h2 {
  margin: 0 0 8px;
  color: #1f261f;
  font-size: 22px;
  line-height: 1.25;
}

.mesobra-cookie-banner p {
  margin: 0;
  color: #4d554e;
  font-size: 15px;
  line-height: 1.55;
}

.mesobra-cookie-banner a {
  color: var(--mesobra-shell-green-dark);
  font-weight: 700;
  text-decoration: underline;
}

.mesobra-cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.mesobra-cookie-actions button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--mesobra-shell-green-dark);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

#mesobra-cookie-essential {
  background: #fff;
  color: var(--mesobra-shell-green-dark);
}

#mesobra-cookie-accept {
  background: var(--mesobra-shell-green-dark);
  color: #fff;
}

@media (max-width: 1024px) {
  :root {
    --mesobra-header-height: 140px;
    --mesobra-search-sticky-top: 140px;
    --mesobra-sticky-offset: 160px;
  }

  #header .right-side {
    right: 84px;
  }

  .mesobra-global-search-wrap {
    min-height: 76px;
  }
}

@media (max-width: 900px) {
  #header .mesobra-header-publish,
  #header .mesobra-header-publish:hover {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0 !important;
    border-radius: 50% !important;
    transform: none;
  }

  #header .mesobra-header-publish span {
    display: none;
  }
}

@media (max-width: 820px) {
  .mesobra-publish-overlay {
    padding: 0;
  }

  .mesobra-publish-panel {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

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

  .mesobra-footer-details__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  :root {
    --mesobra-header-height: 134px;
    --mesobra-search-sticky-top: 134px;
    --mesobra-sticky-offset: 154px;
    --mesobra-footer-bar-height: 60px;
    --mesobra-footer-expanded-height: min(
      var(--mesobra-footer-content-height),
      calc(100dvh - var(--mesobra-header-height)),
      68dvh
    );
  }

  #header .mesobra-header-publish,
  #header .mesobra-header-publish:hover {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0 !important;
    border-radius: 50% !important;
    transform: none;
  }

  #header .mesobra-header-publish span {
    display: none;
  }

  .mesobra-global-search-wrap {
    min-height: 70px;
    padding: 6px 0;
  }

  .mesobra-global-search-wrap > .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .mesobra-global-search {
    grid-template-columns: minmax(112px, auto) minmax(90px, 1fr) 44px;
    min-height: 56px;
    gap: 4px;
    padding: 4px;
  }

  .mesobra-search-scope {
    min-width: 0;
    padding: 2px;
  }

  .mesobra-search-scope span {
    min-height: 40px;
    gap: 4px;
    padding: 6px 8px;
    font-size: 12px;
  }

  .mesobra-search-scope span i {
    display: none;
  }

  .mesobra-global-search__field {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 4px;
    padding: 0 4px;
  }

  .mesobra-global-search__field > i {
    font-size: 14px;
  }

  .mesobra-global-search__field input {
    height: 42px;
    font-size: 16px;
  }

  .mesobra-global-search__submit {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
  }

  .mesobra-global-search__submit span {
    display: none;
  }

  .mesobra-publish-panel__header {
    padding: 16px 15px 13px;
  }

  .mesobra-publish-panel__header p {
    display: none;
  }

  .mesobra-publish-tabs {
    padding: 6px;
  }

  .mesobra-publish-tabs button {
    min-height: 46px;
    padding: 8px;
    font-size: 13px;
  }

  .mesobra-publish-gate {
    padding: 28px 20px;
  }

  body.mesobra-panel-embed .mesobra-publish-titlebar .container,
  body.mesobra-panel-embed .mesobra-publish-shell > .container,
  body.mesobra-panel-embed .mesobra-wanted-publish > .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .mesobra-footer-bar__inner {
    grid-template-columns: auto minmax(80px, 1fr) auto auto;
    gap: 8px;
    padding: 0 10px;
  }

  .mesobra-footer-bar__brand span,
  .mesobra-footer-bar__message span {
    display: none;
  }

  .mesobra-footer-bar__brand img {
    width: 29px;
    height: 34px;
  }

  .mesobra-footer-bar__message strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mesobra-footer-social a {
    width: 40px;
    height: 44px;
  }

  .mesobra-footer-bar__chevron {
    width: 32px;
    height: 32px;
  }

  .mesobra-footer-details {
    padding: 72px 0 24px;
  }

  .mesobra-footer-details__close {
    top: 13px;
    right: 10px;
  }

  .mesobra-footer-details > .container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .mesobra-footer-details__grid {
    display: block;
  }

  .mesobra-footer-details__grid > * + * {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
  }

  .mesobra-footer-details__nav > div {
    gap: 12px;
  }

  .mesobra-footer-details__bottom {
    display: block;
  }

  .mesobra-footer-details__bottom > p {
    margin-top: 18px;
  }

  .mesobra-cookie-banner {
    right: 10px;
    bottom: calc(var(--mesobra-footer-bar-height) + 10px + env(safe-area-inset-bottom));
    left: 10px;
    padding: 18px;
  }

  .mesobra-cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mesobra-cookie-actions button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  #header .header-widget {
    gap: 6px;
  }

  #header .right-side {
    right: 66px !important;
  }

  #header .mmenu-trigger {
    right: 10px !important;
  }

  #header #logo img {
    max-width: 120px;
  }

  .mesobra-footer-social--compact li:nth-child(n + 4) {
    display: none;
  }

  .mesobra-publish-tabs button i {
    display: none;
  }
}

@media (max-width: 380px) {
  .mesobra-search-scope span {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 11px;
  }

  .mesobra-global-search__field > i {
    display: none;
  }

  .mesobra-global-search__field {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mesobra-adaptive-footer,
  .mesobra-footer-bar,
  .mesobra-footer-details,
  .mesobra-publish-overlay,
  .mesobra-publish-panel {
    transition-duration: 0.01ms !important;
  }
}
