/**
 * Fornecedores — Olivero token remap + overrides (Airbnb coral).
 *
 * Overrides use CSS specificity to beat Olivero's default styles.
 */

/* === Olivero primary → coral Airbnb #FF385C (hsl 349, 100%, 61%) === */
:root {
  --color--primary-hue: 349;
  --color--primary-saturation: 100%;
  --color--primary-lightness: 61%;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ff-white: #FFFFFF;
  --ff-coral: #FF385C;
  --ff-coral-dark: #E31C5F;
  --ff-black: #222222;
  --ff-gray-500: #71717A;
  --ff-gray-200: #DDDDDD;
  --ff-bg: #F7F7F7;
  --ff-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* === Override Olivero rain pattern === */
body {
  background: var(--ff-bg) !important;
}

/* === Cards: ensure visible if JS fails to animate === */
.js:not(.js-fornecedores-animated) .ff-card {
  opacity: 1;
  transform: none;
}

/* === Header (Airbnb style) === */
.site-header {
  background: var(--ff-white) !important;
  border-bottom: 1px solid var(--ff-gray-200) !important;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px !important;
  min-height: 80px !important;
  max-height: 80px !important;
  overflow: hidden;
}
.site-header .site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
}
/* Hide Drupal contextual links */
.contextual,
.contextual-links,
.contextual button.trigger,
.header-nav-overlay {
  display: none !important;
}
.site-header__brand {
  text-decoration: none;
  flex-shrink: 0;
}
.site-header__logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--ff-coral);
  letter-spacing: -0.02em;
}
.site-header__tabs {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--ff-gray-500);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  transition: color 200ms, border-color 200ms;
}
.site-header__tab:hover {
  color: var(--ff-black);
}
.site-header__tab--active {
  color: var(--ff-black);
  border-bottom-color: var(--ff-black);
}
.site-header__tab svg {
  width: 24px;
  height: 24px;
}
.site-header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.site-header__host-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ff-black);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 22px;
  transition: background 200ms;
}
.site-header__host-link:hover {
  background: var(--ff-bg);
}
.site-header__menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ff-white);
  border: 1px solid var(--ff-gray-200);
  border-radius: 22px;
  padding: 8px 12px;
  cursor: pointer;
  transition: box-shadow 200ms;
}
.site-header__menu-btn:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}
.site-header__menu-btn svg {
  color: var(--ff-black);
}
/* Mobile: hide tabs, show compact */
@media (max-width: 767px) {
  .site-header__tabs {
    display: none;
  }
  .site-header__host-link {
    display: none;
  }
  .site-header__inner {
    height: 64px;
    padding: 0 16px;
  }
}

.site-header .site-name__link {
  font-weight: 800 !important;
  font-size: 20px !important;
  letter-spacing: -0.02em !important;
  color: var(--ff-black) !important;
}

/* === Buttons (win over Olivero .button) === */
.button,
a.button,
input[type="submit"],
.node--type-fornecedor .button {
  border-radius: 12px !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  transition: all 200ms ease-out !important;
}

.node--type-fornecedor .button--primary,
button[type="submit"],
a.button--primary {
  background: var(--ff-coral) !important;
  color: #fff !important;
  border-color: var(--ff-coral) !important;
}

.node--type-fornecedor .button--primary:hover,
button[type="submit"]:hover,
a.button--primary:hover {
  background: var(--ff-coral-dark) !important;
}

/* === Footer (Airbnb style) === */
.ff-footer {
  background: var(--ff-white);
  color: var(--ff-black);
  border-top: 1px solid var(--ff-gray-200);
}
.ff-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.ff-footer__cta {
  text-align: center;
  padding: 48px 24px;
}
.ff-footer__cta-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.ff-footer__cta-text {
  font-size: 16px;
  color: var(--ff-gray-500);
  margin-bottom: 20px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.ff-footer__cta-btn {
  display: inline-block;
  background: var(--ff-coral);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 200ms;
}
.ff-footer__cta-btn:hover {
  background: var(--ff-coral-dark);
}
.ff-footer__divider {
  height: 1px;
  background: var(--ff-gray-200);
}
.ff-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 0;
}
@media (max-width: 744px) {
  .ff-footer__columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.ff-footer__col-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ff-black);
}
.ff-footer__col-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ff-footer__col-list li {
  margin-bottom: 12px;
}
.ff-footer__col-list a {
  font-size: 14px;
  color: var(--ff-gray-500);
  text-decoration: none;
  transition: color 200ms;
}
.ff-footer__col-list a:hover {
  color: var(--ff-black);
  text-decoration: underline;
}
.ff-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 744px) {
  .ff-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
.ff-footer__copy {
  font-size: 14px;
  color: var(--ff-gray-500);
}
.ff-footer__bottom-links {
  display: flex;
  gap: 16px;
}
.ff-footer__bottom-links a {
  font-size: 14px;
  color: var(--ff-gray-500);
  text-decoration: none;
}
.ff-footer__bottom-links a:hover {
  text-decoration: underline;
}
.ff-footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.ff-footer__social-link {
  color: var(--ff-gray-500);
  transition: color 200ms;
  display: flex;
  align-items: center;
}
.ff-footer__social-link:hover {
  color: var(--ff-black);
}

/* === Section titles === */
.ff-section-title,
h2.ff-section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ff-black);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

/* === Grid === */
.ff-featured-grid,
.ff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1128px) { .ff-featured-grid, .ff-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 744px) { .ff-featured-grid, .ff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 550px) { .ff-featured-grid, .ff-grid { grid-template-columns: 1fr; } }

/* === Cards === */
/* === Cards (Airbnb style) === */
.ff-card { cursor: pointer; }
.ff-card__link { text-decoration: none; color: inherit; }
.ff-card__media {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ff-bg);
}
.ff-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms cubic-bezier(0.2,0,0,1);
}
.ff-card__media .field,
.ff-card__media .media {
  width: 100%;
  height: 100%;
}
.ff-card__media .field__item {
  width: 100%;
  height: 100%;
}
.ff-card:hover .ff-card__media img { transform: scale(1.03); }
.ff-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--ff-bg) 0%, #E8E8E8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--ff-gray-500);
  opacity: 0.4;
}
.ff-card__heart {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
}
.ff-card__body { padding: 10px 0 0; }
.ff-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ff-black);
  margin-bottom: 2px;
  line-height: 1.35;
}
.ff-card__location {
  font-size: 14px;
  color: var(--ff-gray-500);
  margin-bottom: 4px;
}
.ff-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}
.ff-card__rating .star { font-size: 12px; }

/* === Hero === */
.ff-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(135deg, #FF385C 0%, #FF7A5C 30%, #FFD166 100%);
}
.ff-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.ff-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
}
.ff-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.ff-hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.ff-hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
  max-width: 480px;
}

/* === Search bar (Airbnb pill) === */
.ff-search-bar {
  display: flex;
  background: var(--ff-white);
  border-radius: 9999px;
  padding: 6px 6px 6px 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.20);
  max-width: 680px;
}
.ff-search-bar__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ff-black);
  background: transparent;
  min-width: 0;
}
.ff-search-bar__input::placeholder { color: var(--ff-gray-500); font-weight: 400; }
.ff-search-bar__submit {
  background: var(--ff-coral);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms;
}
.ff-search-bar__submit:hover { background: var(--ff-coral-dark); }

/* === Profile (mobile-first) === */
.ff-profile {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 64px;
}
@media (min-width: 768px) {
  .ff-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 32px 24px 80px;
  }
}
.ff-profile__hero { margin-bottom: 20px; }
@media (min-width: 768px) {
  .ff-profile__hero { margin-bottom: 0; }
}
.ff-profile__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--ff-bg);
}
@media (min-width: 768px) {
  .ff-profile__media { border-radius: 20px; aspect-ratio: 4/3; }
}
.ff-profile__media img { width: 100%; height: 100%; object-fit: cover; }
.ff-profile__media--empty { aspect-ratio: 1/1; }
@media (min-width: 768px) { .ff-profile__media--empty { aspect-ratio: 16/10; } }
.ff-profile__placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, var(--ff-bg) 0%, #E8E8E8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--ff-gray-500);
  opacity: 0.3;
}
.ff-profile__info {
  padding: 0;
}
@media (min-width: 768px) {
  .ff-profile__info {
    padding-top: 8px;
  }
}
.ff-profile__name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.ff-profile__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .ff-profile__title { font-size: 30px; }
}
.ff-fav {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--ff-gray-500);
  transition: color 200ms;
}
.ff-fav:hover,
.ff-fav.is-active {
  color: var(--ff-coral);
}
.ff-fav.is-active .ff-fav__icon {
  fill: var(--ff-coral);
}
.ff-profile__location {
  font-size: 14px;
  color: var(--ff-gray-500);
  margin-bottom: 12px;
}
.ff-profile__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.ff-profile__rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 500;
}
.ff-profile__rating .star {
  font-size: 14px;
  font-weight: 700;
}
.ff-profile__rating-count {
  color: var(--ff-gray-500);
  font-weight: 400;
}
.ff-profile__price {
  text-align: right;
}
.ff-profile__price-label {
  font-size: 12px;
  color: var(--ff-gray-500);
  display: block;
  line-height: 1.2;
}
.ff-profile__price-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--ff-black);
}
.ff-profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.ff-profile__tags .field--name-field-categoria .field__item {
  background: var(--ff-bg);
  border: 1px solid var(--ff-gray-200);
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ff-black);
}
.ff-profile__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ff-gray-500);
  margin-bottom: 24px;
}
.ff-profile__cta {
  margin-bottom: 32px;
}
.ff-profile__cta .button,
.ff-profile__cta a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px !important;
  background: var(--ff-coral);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms;
  height: auto;
  line-height: normal;
  margin: 0;
}
.ff-profile__cta .button:hover,
.ff-profile__cta a:hover {
  background: var(--ff-coral-dark);
}
.ff-profile__section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--ff-gray-200);
}

/* === Accordion (native <details>) === */
.ff-accordion {
  margin-bottom: 32px;
}
.ff-accordion__item {
  border-bottom: 1px solid var(--ff-gray-200);
}
.ff-accordion__item[open] .ff-accordion__chevron {
  transform: rotate(90deg);
}
.ff-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ff-black);
  cursor: pointer;
  list-style: none;
  background: none;
  border: none;
}
.ff-accordion__trigger::-webkit-details-marker { display: none; }
.ff-accordion__trigger::marker { display: none; content: ''; }
.ff-accordion__chevron {
  flex-shrink: 0;
  color: var(--ff-gray-500);
  transition: transform 200ms;
}
.ff-accordion__content {
  padding: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ff-gray-500);
}

/* === Reviews === */
.ff-reviews {
  margin-bottom: 32px;
}
.ff-reviews__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.ff-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-radius: 24px;
  overflow: hidden;
}
@media (max-width: 768px) { .ff-gallery { grid-template-columns: repeat(2, 1fr); } }
.ff-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* === Search bar no catálogo (sobre Olivero) === */
.view-catalogo .views-exposed-form {
  background: var(--ff-white);
  border: 1px solid var(--ff-gray-200);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.view-catalogo .views-exposed-form .form-item {
  min-width: 0;
}
.view-catalogo .views-exposed-form .form-item label,
.view-catalogo .views-exposed-form .fieldset__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ff-black);
  margin-bottom: 6px;
  display: block;
}
.view-catalogo .views-exposed-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.view-catalogo .views-exposed-form .fieldset__wrapper {
  display: flex;
  gap: 12px;
}
.view-catalogo .views-exposed-form input,
.view-catalogo .views-exposed-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ff-gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--ff-sans);
  background: var(--ff-white);
  box-sizing: border-box;
}
.view-catalogo .views-exposed-form input:focus,
.view-catalogo .views-exposed-form select:focus {
  border-color: var(--ff-black);
  outline: none;
}
.view-catalogo .views-exposed-form .form-actions {
  margin: 0;
  align-self: end;
}

/* === Focus global === */
:focus-visible {
  outline: 2px solid var(--ff-coral);
  outline-offset: 2px;
}

/* === Filter Bar (Airbnb style) === */
.ff-filter-bar {
  background: var(--ff-white);
  border-bottom: 1px solid var(--ff-gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ff-filter-bar__categories {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ff-filter-bar__categories::-webkit-scrollbar { display: none; }
.ff-filter-bar__cat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--ff-gray-500);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 200ms, border-color 200ms;
  min-width: fit-content;
}
.ff-filter-bar__cat-tab:hover {
  color: var(--ff-black);
  border-bottom-color: var(--ff-gray-200);
}
.ff-filter-bar__cat-tab--active {
  color: var(--ff-black);
  border-bottom-color: var(--ff-black);
}
.ff-filter-bar__cat-tab svg {
  width: 24px;
  height: 24px;
}
.ff-filter-bar__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ff-filter-bar__location-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--ff-gray-200);
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ff-black);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 200ms;
}
.ff-filter-bar__location-btn:hover {
  border-color: var(--ff-black);
}
.ff-filter-bar__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ff-bg);
  border-radius: 9999px;
  padding: 0 14px;
  flex: 1;
  min-width: 120px;
}
.ff-filter-bar__search svg {
  color: var(--ff-gray-500);
  flex-shrink: 0;
}
.ff-filter-bar__search-input {
  border: none;
  background: none;
  outline: none;
  font-size: 13px;
  width: 100%;
  color: var(--ff-black);
}
.ff-filter-bar__search-input::placeholder {
  color: var(--ff-gray-500);
}
.ff-filter-bar__filters-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--ff-gray-200);
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ff-black);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 200ms;
}
.ff-filter-bar__filters-btn:hover {
  border-color: var(--ff-black);
}
.ff-filter-bar__badge {
  background: var(--ff-coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.ff-filter-bar__divider {
  width: 1px;
  height: 24px;
  background: var(--ff-gray-200);
  flex-shrink: 0;
}
.ff-filter-bar__sort {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ff-filter-bar__sort-label {
  font-size: 13px;
  color: var(--ff-gray-500);
}
.ff-filter-bar__sort-select {
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ff-black);
  cursor: pointer;
  outline: none;
  padding-inline-start: 0;
  padding-inline-end: 0;
}

/* === Modal === */
.ff-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ff-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.ff-modal__content {
  position: relative;
  background: var(--ff-white);
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  animation: ff-slide-up 200ms ease-out;
}
@keyframes ff-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.ff-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ff-gray-200);
  position: sticky;
  top: 0;
  background: var(--ff-white);
}
.ff-modal__title {
  font-size: 18px;
  font-weight: 700;
}
.ff-modal__close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--ff-gray-500);
}
.ff-modal__body {
  padding: 24px;
}
.ff-modal__footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--ff-gray-200);
  position: sticky;
  bottom: 0;
  background: var(--ff-white);
}
.ff-modal__field {
  margin-bottom: 20px;
}
.ff-modal__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ff-black);
  margin-bottom: 10px;
}
.ff-modal__select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--ff-gray-200);
  border-radius: 8px;
  font-size: 14px;
  background: var(--ff-white);
}
.ff-modal__checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ff-modal__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}
.ff-modal__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ff-coral);
}
.ff-modal__geo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--ff-bg);
  border: 1px solid var(--ff-gray-200);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background 200ms;
}
.ff-modal__geo-btn:hover {
  background: var(--ff-gray-200);
}
.ff-modal__separator {
  text-align: center;
  font-size: 12px;
  color: var(--ff-gray-500);
  margin-bottom: 16px;
}
.ff-modal__apply-btn {
  width: 100%;
  padding: 14px;
  background: var(--ff-coral);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 200ms;
}
.ff-modal__apply-btn:hover {
  background: var(--ff-coral-dark);
}
.ff-modal__clear-btn {
  flex: 1;
  padding: 14px;
  background: none;
  border: 1px solid var(--ff-gray-200);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 200ms;
}
.ff-modal__clear-btn:hover {
  border-color: var(--ff-black);
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}