/* Accueil — UX type maquette. Données API inchangées. */

body.aq-home-page {
  background: #fff;
}

body.aq-home-page .navbar.header {
  background: #fff !important;
  border-bottom: 1px solid #eee;
  box-shadow: none !important;
}

body.aq-home-page .aq-brand-logo {
  max-height: 52px !important;
  width: auto !important;
}

#mainheroImage.aq-hero-v2 {
  position: relative !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  background: #f4e6d4 !important;
  padding: 56px 16px 32px !important;
  margin: 0 !important;
}

.aq-hero-v2__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #f4e6d4;
  background-image: url("/images/zellige-tile.svg");
  background-size: 120px 120px;
  background-repeat: repeat;
  background-position: 0 0;
}

.aq-hero-v2__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 78% 70% at 50% 28%, rgba(255, 248, 242, 0.82) 0%, rgba(255, 248, 242, 0.42) 58%, rgba(255, 255, 255, 0.9) 100%);
}

.aq-hero-v2__intro {
  max-width: 680px;
  margin: 0 auto 22px;
  padding: 22px 26px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

.aq-hero-v2__intro .aq-hero-v2__sub {
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .aq-hero-v2__intro {
    padding: 18px 16px 16px;
    border-radius: 14px;
  }
}

.aq-hero-v2__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.aq-hero-v2__eyebrow {
  margin: 0 0 10px;
  color: #e31c23;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aq-hero-v2__title {
  margin: 0 0 14px;
  color: #1a1a1a !important;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.aq-hero-v2__accent {
  color: #e31c23 !important;
  position: relative;
  display: inline;
  white-space: nowrap;
  text-decoration: none;
  background-image: linear-gradient(#e31c23, #e31c23);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 3px;
  padding-bottom: 2px;
}

.aq-hero-v2__sub {
  margin: 0 auto 28px;
  max-width: 640px;
  color: #5c4545 !important;
  font-size: 16px;
  line-height: 1.55;
}

#mainheroImage.aq-hero-v2 .aq-smart-search,
#mainheroImage.aq-hero-v2 .searchtab-wrapper {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

/* Barre de recherche — style photo exact */
.aq-search-photo {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #eee;
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
  padding: 14px 14px 16px;
  text-align: left;
  animation: aq-search-in 0.55s ease both;
}

@keyframes aq-search-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.aq-search-photo__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.aq-search-photo__tab {
  border: 0;
  background: transparent;
  color: #666;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.aq-search-photo__tab:hover {
  background: #fff5f5;
  color: #b02e2e;
}

.aq-search-photo__tab.is-active {
  background: #e31c23;
  color: #fff;
  animation: aq-tab-pop 0.28s ease;
}

@keyframes aq-tab-pop {
  0% {
    transform: scale(0.96);
  }
  70% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.aq-search-photo__fields {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.aq-search-photo__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  min-width: 0;
  animation: aq-field-in 0.45s ease both;
}

.aq-search-photo__field:nth-child(1) {
  animation-delay: 0.08s;
}
.aq-search-photo__field:nth-child(2) {
  animation-delay: 0.14s;
}
.aq-search-photo__field:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes aq-field-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.aq-search-photo__field > span {
  font-size: 12px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.aq-search-photo__input,
.aq-search-photo__select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fafafa;
  padding: 10px 12px;
  font-size: 14px;
  color: #111;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
  letter-spacing: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

html[dir="rtl"] .aq-search-photo__select,
[dir="rtl"] .aq-search-photo__select {
  background-position: left 12px center;
  padding-right: 12px;
  padding-left: 36px;
}

.aq-search-photo__input:focus,
.aq-search-photo__select:focus {
  border-color: #ffb3b3;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227, 28, 35, 0.1);
}

.aq-search-photo__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  animation: aq-field-in 0.45s ease 0.24s both;
}

.aq-search-photo__more {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #ececec;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.aq-search-photo__more:hover {
  border-color: #e31c23;
  color: #e31c23;
}

.aq-search-photo__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: #e31c23;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.aq-search-photo__submit:hover {
  background: #c4181e;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(227, 28, 35, 0.28);
}

.aq-search-photo__submit:active {
  transform: translateY(0);
}

.aq-search-photo__suggest {
  left: 14px;
  right: 14px;
  width: auto;
  top: calc(100% - 4px);
}

@media (max-width: 900px) {
  .aq-search-photo__fields {
    grid-template-columns: 1fr;
  }

  .aq-search-photo__actions {
    width: 100%;
  }

  .aq-search-photo__submit {
    flex: 1;
  }
}

/* Ancienne barre masquée si encore présente */
#mainheroImage.aq-hero-v2 .aq-smart-search__bar {
  display: none;
}

.aq-hero-v2__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.aq-hero-v2__stats li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #ffd7d7;
  border-radius: 999px;
  padding: 8px 14px;
  color: #333;
  font-size: 13px;
}

.aq-hero-v2__stats strong {
  color: #111;
  font-weight: 800;
}

/* Filtre rapide avec photos (sous la recherche) */
.aq-quick-filter {
  margin: 20px auto 0;
  max-width: 860px;
  text-align: left;
}

.aq-quick-filter__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aq-quick-filter__row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.aq-quick-filter__row::-webkit-scrollbar {
  display: none;
}

.aq-quick-filter__chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ffd7d7;
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.05);
  color: #111 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.aq-quick-filter__chip:hover {
  border-color: #e31c23;
  transform: translateY(-1px);
}

.aq-quick-filter__img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff5f5;
  flex-shrink: 0;
}

[dir="rtl"] .aq-quick-filter {
  text-align: right;
}

[dir="rtl"] .aq-quick-filter__chip {
  padding: 6px 6px 6px 16px;
}

/* Publicité — couleurs du zellige (crème, terracotta, or, teal), géométrie sans motif tuile */
.aq-zellige-promo {
  padding: 8px 0 28px;
  background: #fff;
}

.aq-zellige-promo--dash {
  padding: 0 0 18px;
}

.aq-zellige-promo__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr minmax(180px, 280px);
  align-items: stretch;
  min-height: 228px;
  border-radius: 24px;
  border: 1px solid rgba(196, 92, 69, 0.22);
  background:
    radial-gradient(1200px 280px at 0% 0%, rgba(255, 255, 255, 0.75) 0%, transparent 55%),
    linear-gradient(118deg, #fff8f0 0%, #f6dcc4 48%, #e8b48a 100%);
  box-shadow:
    0 18px 40px rgba(139, 58, 38, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.aq-zellige-promo__panel--simple {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 16px;
  min-height: 0;
  padding: 16px 24px 16px 26px;
}

.aq-zellige-promo__panel--simple::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, #c45c45 0%, #d4a017 50%, #1f6f8b 100%);
}

[dir="rtl"] .aq-zellige-promo__panel--simple::before {
  left: auto;
  right: 0;
}

.aq-zellige-promo__panel--simple .aq-zellige-promo__eyebrow {
  margin: 0;
}

.aq-zellige-promo__panel--simple .aq-zellige-promo__btn {
  min-width: 148px;
}

.aq-zellige-promo__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: linear-gradient(180deg, #c45c45 0%, #d4a017 50%, #1f6f8b 100%);
  z-index: 2;
}

[dir="rtl"] .aq-zellige-promo__accent {
  left: auto;
  right: 0;
}

.aq-zellige-promo__copy {
  position: relative;
  z-index: 3;
  max-width: 640px;
  padding: 32px 28px 28px 32px;
}

[dir="rtl"] .aq-zellige-promo__copy {
  padding: 32px 32px 28px 28px;
}

.aq-zellige-promo__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e8c9a8;
  color: #c45c45;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(196, 92, 69, 0.12);
}

.aq-zellige-promo__title {
  margin: 0 0 12px;
  color: #1a120e;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.2;
}

.aq-zellige-promo__points {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.aq-zellige-promo__points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: #5a3d32;
  font-size: 14px;
  font-weight: 700;
}

.aq-zellige-promo__points svg {
  color: #c45c45;
  flex-shrink: 0;
}

.aq-zellige-promo__audiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 14px;
  max-width: 560px;
}

.aq-zellige-promo__audience {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(232, 201, 168, 0.9);
  border-radius: 16px;
  padding: 12px 14px;
  text-align: left;
}

[dir="rtl"] .aq-zellige-promo__audience {
  text-align: right;
}

.aq-zellige-promo__audience-label {
  display: inline-block;
  margin: 0 0 4px;
  color: #c45c45;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aq-zellige-promo__audience p {
  margin: 0;
  color: #5a3d32;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.aq-zellige-promo__text {
  margin: 0 0 18px;
  max-width: 540px;
  color: #6a4a3a;
  font-size: 14px;
  line-height: 1.55;
}

.aq-zellige-promo__actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aq-zellige-promo__btn {
  position: relative;
  z-index: 4;
  pointer-events: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.aq-zellige-promo__btn--red {
  background: #e31c23;
  color: #fff !important;
  border: 1px solid #e31c23;
  box-shadow: 0 8px 18px rgba(227, 28, 35, 0.28);
}

.aq-zellige-promo__btn--red:hover {
  background: #c4181e;
  color: #fff !important;
  transform: translateY(-1px);
}

.aq-zellige-promo__btn--ghost {
  background: rgba(255, 255, 255, 0.82);
  color: #5a3d32 !important;
  border: 1px solid #e8c9a8;
}

.aq-zellige-promo__btn--ghost:hover {
  border-color: #c45c45;
  color: #c45c45 !important;
  background: #fff;
}

.aq-zellige-promo__art {
  position: relative;
  z-index: 0;
  min-height: 220px;
  overflow: hidden;
  pointer-events: none;
}

.aq-ad-cinema__panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(196, 92, 69, 0.22);
  background: linear-gradient(118deg, #1a120e 0%, #3a241c 42%, #c45c45 100%);
  box-shadow: 0 18px 40px rgba(139, 58, 38, 0.16);
  min-height: 240px;
}

.aq-ad-cinema__stage {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.aq-zellige-promo--dash .aq-ad-cinema__stage {
  height: 200px;
}

.aq-ad-cinema__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: aq-ad-fade 0.7s ease both;
}

.aq-ad-cinema__media--image {
  animation: aq-ad-fade 0.7s ease both, aq-ad-kenburns 8s ease-in-out alternate infinite;
}

.aq-ad-cinema__demo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 220px at 10% 0%, rgba(255, 248, 240, 0.28), transparent 55%),
    linear-gradient(115deg, #2a1812 0%, #6a3a2c 45%, #d4a017 100%);
  background-size: 160% 160%;
  animation: aq-ad-shimmer 10s ease-in-out infinite alternate;
}

.aq-ad-cinema__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 70% 40%, rgba(227, 28, 35, 0.35), transparent 50%);
  animation: aq-ad-pulse 4s ease-in-out infinite;
}

.aq-ad-cinema__polaroid {
  position: absolute;
  width: 132px;
  height: 96px;
  border-radius: 10px;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  background: #1a120e;
}

.aq-ad-cinema__polaroid img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: aq-ad-kenburns 9s ease-in-out infinite alternate;
}

.aq-ad-cinema__stage--live .aq-ad-cinema__demo,
.aq-ad-cinema__stage--live .aq-ad-cinema__reel {
  display: none;
}

.aq-ad-cinema__polaroid--1 {
  left: 6%;
  top: 38%;
  animation: aq-ad-float 5s ease-in-out infinite;
  transform: rotate(-8deg);
  background: #1a120e url("/images/ads/appartement.jpg") center / cover no-repeat;
}

.aq-ad-cinema__polaroid--2 {
  left: 18%;
  top: 16%;
  animation: aq-ad-float 6s ease-in-out infinite reverse;
  transform: rotate(7deg);
  background: #1a120e url("/images/ads/villa.jpg") center / cover no-repeat;
}

.aq-ad-cinema__polaroid--3 {
  right: 6%;
  top: 22%;
  width: 168px;
  height: 108px;
  animation: aq-ad-float 5.5s ease-in-out infinite;
  transform: rotate(4deg);
  background: #1a120e url("/images/ads/maison.jpg") center / cover no-repeat;
}

.aq-ad-cinema__polaroid--3 img {
  filter: brightness(0.72);
}

.aq-ad-cinema__play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e31c23;
  box-shadow: 0 0 0 0 rgba(227, 28, 35, 0.55);
  animation: aq-ad-play 1.8s ease-out infinite;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.aq-ad-cinema__play::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
}

.aq-ad-cinema__mid {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  justify-content: center;
}

.aq-ad-cinema__actions {
  justify-content: center;
  flex-wrap: nowrap;
}

.aq-ad-cinema__title {
  margin: 12px 0 0;
  text-align: center;
  color: #1a120e;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aq-ad-cinema__stills,
.aq-ad-cinema__reel {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.aq-ad-cinema__dots {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.aq-ad-cinema__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.aq-ad-cinema__dot.is-active {
  background: #fff;
}

.aq-ad-composer {
  margin: 0 0 28px;
  padding: 18px 18px 8px;
  border-radius: 18px;
  background: #fffaf5;
  border: 1px solid #f0dcc8;
}

.aq-ad-composer__title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: #1a120e;
}

.aq-ad-composer__mine {
  margin: 8px 0 16px;
}

.aq-ad-composer__mine h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.aq-ad-composer__mine ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aq-ad-composer__mine li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #f0dcc8;
}

.aq-ad-composer__mine button {
  border: 0;
  background: transparent;
  color: #e31c23;
  font-weight: 700;
  cursor: pointer;
}

.aq-ad-audience-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff6ef;
  border: 1px solid #f0dcc8;
}

.aq-ad-audience-badge--sub {
  max-width: 640px;
  margin: 0 auto 18px;
  justify-content: center;
}

.aq-ad-audience-badge__label {
  font-weight: 700;
  color: #5a3d32;
  font-size: 14px;
}

.aq-ad-audience-badge__value {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 800;
  font-size: 13px;
  background: #c45c45;
  color: #fff;
}

.aq-ad-audience-badge__value--agency {
  background: #1f6f8b;
}

.aq-ad-locked {
  margin: 0 0 8px;
  padding: 20px 16px;
  border-radius: 16px;
  background: #fffaf5;
  border: 1px dashed #e8c9a8;
  text-align: center;
}

.aq-ad-locked p {
  margin: 0 0 14px;
  color: #5a3d32;
  font-weight: 600;
}

.aq-ad-locked__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #e31c23;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

@keyframes aq-ad-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

@keyframes aq-ad-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes aq-ad-shimmer {
  from { background-position: 0% 40%; }
  to { background-position: 100% 60%; }
}

@keyframes aq-ad-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes aq-ad-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes aq-ad-play {
  0% { box-shadow: 0 0 0 0 rgba(227, 28, 35, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(227, 28, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 28, 35, 0); }
}

@media (max-width: 768px) {
  .aq-zellige-promo.aq-ad-cinema {
    padding: 4px 0 18px;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .aq-ad-cinema__panel {
    border-radius: 18px;
    min-height: 0;
    overflow: hidden;
  }

  .aq-ad-cinema__stage,
  .aq-zellige-promo--dash .aq-ad-cinema__stage {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 10px 14px;
    overflow: visible;
  }

  .aq-ad-cinema__stage--live .aq-ad-cinema__demo,
  .aq-ad-cinema__stage--live .aq-ad-cinema__reel {
    display: block;
  }

  .aq-ad-cinema__media {
    display: none;
  }

  .aq-ad-cinema__demo {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: auto;
    display: block;
    order: 1;
    animation: none;
    background: none;
    overflow: visible;
  }

  .aq-ad-cinema__stills {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    pointer-events: none;
  }

  .aq-ad-cinema__reel {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: block;
    width: 100%;
    order: 3;
    pointer-events: none;
  }

  .aq-ad-cinema__glow {
    display: none;
  }

  .aq-ad-cinema__polaroid,
  .aq-ad-cinema__polaroid--1,
  .aq-ad-cinema__polaroid--2 {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    -webkit-transform: none !important;
    transform: none !important;
    animation: none !important;
    flex: 1 1 0;
    width: auto;
    max-width: none;
    height: 110px;
    min-height: 110px;
    border-width: 3px;
    overflow: hidden;
    contain: paint;
  }

  .aq-ad-cinema__polaroid img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100%;
    object-fit: cover;
    -webkit-transform: none !important;
    transform: none !important;
    animation: none !important;
  }

  .aq-ad-cinema__polaroid--2 {
    display: block;
  }

  .aq-ad-cinema__polaroid--3 {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    -webkit-transform: none !important;
    transform: none !important;
    animation: none !important;
    width: 100%;
    max-width: none;
    height: 148px;
    min-height: 148px;
    border-width: 3px;
  }

  .aq-ad-cinema__polaroid--3 img {
    filter: none;
  }

  .aq-ad-cinema__play {
    width: 40px;
    height: 40px;
  }

  .aq-ad-cinema__play::after {
    left: 15px;
    top: 11px;
    border-width: 9px 0 9px 15px;
  }

  .aq-ad-cinema__mid {
    position: relative;
    left: auto;
    top: auto;
    -webkit-transform: none;
    transform: none;
    width: 100%;
    margin: 0;
    order: 2;
    z-index: 1;
  }

  .aq-ad-cinema__actions {
    width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .aq-ad-cinema__actions .aq-zellige-promo__btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 12px;
  }

  .aq-ad-cinema__title {
    font-size: 13px;
    margin-top: 10px;
    letter-spacing: 0.08em;
  }

  .aq-ad-cinema__dots {
    right: 10px;
    top: 10px;
  }

  .aq-ad-composer {
    padding: 14px 12px 6px;
    margin-bottom: 18px;
  }

  .aq-ad-composer__title {
    font-size: 18px;
  }

  .aq-ad-composer .dropbox .dropzone {
    min-height: 112px;
  }

  .aq-ad-composer__mine li {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .aq-ad-cinema__polaroid,
  .aq-ad-cinema__polaroid--1,
  .aq-ad-cinema__polaroid--2 {
    height: 100px;
    min-height: 100px;
  }

  .aq-ad-cinema__polaroid--3 {
    height: 140px;
    min-height: 140px;
  }

  .aq-ad-cinema__actions .aq-zellige-promo__btn {
    min-height: 42px;
    font-size: 12px;
  }
}

.aq-zell-geo {
  position: absolute;
  display: block;
}

.aq-zell-geo--glow {
  inset: 18% 10% 18% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 236, 0.9) 0%, rgba(212, 160, 23, 0.18) 55%, transparent 72%);
}

.aq-zell-geo--star {
  width: 118px;
  height: 118px;
  top: 10%;
  left: 22%;
  background: #c45c45;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  box-shadow: 0 10px 20px rgba(196, 92, 69, 0.25);
}

.aq-zell-geo--oct {
  width: 78px;
  height: 78px;
  right: 16%;
  bottom: 16%;
  background: #1f6f8b;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.aq-zell-geo--d1,
.aq-zell-geo--d2,
.aq-zell-geo--d3 {
  width: 42px;
  height: 42px;
  transform: rotate(45deg);
  border-radius: 6px;
}

.aq-zell-geo--d1 { top: 14%; right: 18%; background: #d4a017; }
.aq-zell-geo--d2 { top: 48%; left: 10%; background: #6b8f3c; }
.aq-zell-geo--d3 { bottom: 18%; left: 36%; background: #a63d2f; width: 28px; height: 28px; }

.aq-zell-geo--sq1,
.aq-zell-geo--sq2,
.aq-zell-geo--sq3 {
  border-radius: 10px;
}

.aq-zell-geo--sq1 { width: 36px; height: 54px; top: 12%; left: 8%; background: #f4e6d4; }
.aq-zell-geo--sq2 { width: 48px; height: 32px; right: 10%; top: 42%; background: #e8c9a8; }
.aq-zell-geo--sq3 { width: 24px; height: 24px; right: 38%; bottom: 12%; background: #c45c45; border-radius: 50%; }

@media (max-width: 768px) {
  .aq-zellige-promo__panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .aq-zellige-promo__panel--simple {
    align-items: stretch;
    padding: 18px 16px 18px 22px;
  }

  .aq-zellige-promo__panel--simple .aq-zellige-promo__actions {
    width: 100%;
  }

  .aq-zellige-promo__panel--simple .aq-zellige-promo__btn {
    flex: 1 1 calc(50% - 6px);
  }

  .aq-zellige-promo__copy {
    padding: 22px 18px 10px 22px;
    text-align: center;
    max-width: none;
  }

  .aq-zellige-promo__points,
  .aq-zellige-promo__actions,
  .aq-zellige-promo__audiences {
    justify-content: center;
  }

  .aq-zellige-promo__audiences {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .aq-zellige-promo__audience {
    text-align: center;
  }

  .aq-zellige-promo__title {
    font-size: 22px;
  }

  .aq-zellige-promo__text {
    margin-left: auto;
    margin-right: auto;
  }

  .aq-zellige-promo__btn {
    flex: 1 1 100%;
  }

  .aq-ad-cinema__actions .aq-zellige-promo__btn {
    flex: 1 1 0;
  }

  .aq-zellige-promo__art {
    min-height: 110px;
  }

  .aq-zell-geo--star { width: 64px; height: 64px; top: 12%; left: 38%; }
  .aq-zell-geo--oct { width: 48px; height: 48px; }
}

.aq-ad-slot {
  display: none;
}

/* Panneau publicitaire — comme la maquette (navy + cartes) */
.aq-promo-lease {
  padding: 8px 0 28px;
  background: #fff;
}

.aq-promo-lease__panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  padding: 28px 32px;
  background:
    radial-gradient(520px 220px at 88% 30%, rgba(227, 28, 35, 0.22), transparent 70%),
    linear-gradient(120deg, #0b1220 0%, #121a2b 48%, #172033 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.22);
}

.aq-promo-lease__copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.aq-promo-lease__ar-pill {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f5c518;
  color: #111;
  font-weight: 800;
  font-size: 13px;
  direction: rtl;
}

.aq-promo-lease__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.25;
}

.aq-promo-lease__points {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.aq-promo-lease__points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
}

.aq-promo-lease__points svg {
  color: #4ade80;
  flex-shrink: 0;
}

.aq-promo-lease__text {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
  max-width: 420px;
}

.aq-promo-lease__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e31c23;
  color: #fff !important;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 800;
  text-decoration: none !important;
  direction: rtl;
}

.aq-promo-lease__btn:hover {
  background: #c4181e;
  color: #fff !important;
}

.aq-promo-lease__visual {
  position: relative;
  min-height: 180px;
  height: 100%;
}

.aq-promo-lease__card {
  position: absolute;
  width: min(210px, 78%);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: #111;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.aq-promo-lease__card--back {
  top: 8px;
  right: 18%;
  transform: rotate(-8deg);
  z-index: 1;
}

.aq-promo-lease__card--front {
  top: 42px;
  right: 0;
  transform: rotate(5deg);
  z-index: 2;
}

.aq-promo-lease__card-img {
  height: 96px;
  background-size: cover;
  background-position: center;
}

.aq-promo-lease__card-img--oran {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25)),
    linear-gradient(135deg, #c45c26, #7a3318);
}

.aq-promo-lease__card-img--alger {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25)),
    linear-gradient(135deg, #2d6a9f, #1a3d5c);
}

.aq-promo-lease__card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px 12px;
}

.aq-promo-lease__card-body strong {
  font-size: 14px;
  font-weight: 800;
  color: #111;
}

.aq-promo-lease__card-body span {
  font-size: 12px;
  color: #666;
}

/* Wilayas — cartes photo horizontales, nom sur l’image */
.aq-lease-wilayas {
  padding: 28px 0 36px;
}

.aq-lease-wilayas__eyebrow {
  margin: 0 0 6px;
  color: #c62828;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aq-lease-wilayas__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.aq-lease-wilayas__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #111;
}

.aq-lease-wilayas__sub {
  margin: 6px 0 0;
  max-width: 520px;
  color: #666;
  font-size: 14px;
  line-height: 1.45;
}

.aq-lease-wilayas__all {
  color: #111 !important;
  font-weight: 700;
  white-space: nowrap;
}

.aq-lease-wilayas__row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-anchor: none;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.aq-lease-wilayas__row::-webkit-scrollbar {
  height: 6px;
}

.aq-lease-wilayas__row::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 99px;
}

.aq-lease-wilaya {
  position: relative;
  flex: 0 0 calc((100% - 70px) / 6);
  min-width: 168px;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: none;
  text-decoration: none !important;
  color: #fff !important;
  background-color: #1f3d52;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
}

.aq-lease-wilaya__photo,
.aq-lease-wilaya img.aq-lease-wilaya__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent;
  transform: none !important;
  transition: none;
}

.aq-lease-wilaya:hover .aq-lease-wilaya__photo {
  transform: none !important;
}

.aq-lease-wilaya__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 38%,
    rgba(0, 0, 0, 0.58) 100%
  );
}

.aq-lease-wilaya__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 14px 14px;
  color: #fff;
}

.aq-lease-wilaya__code {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffd7d7;
}

.aq-lease-wilaya__name {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.aq-lease-wilaya__count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

/* Grille multi-lignes des biens (accueil) */
.aq-listings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.aq-listings-grid__item {
  min-width: 0;
}

@media (min-width: 768px) {
  .aq-listings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1200px) {
  .aq-listings-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Annonces accueil — thème photo (vedette / premium) */
body.aq-home-page .aq-lease-listings .verticle_card,
body.aq-home-page .aq-lease-listings .verticle_main_card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.07);
  border: 1px solid #eee;
  background: #fff;
}

body.aq-home-page .aq-lease-listings .price_teg,
body.aq-home-page .aq-lease-listings .price_tag {
  color: #e31c23 !important;
  font-weight: 800 !important;
}

body.aq-home-page .aq-lease-listings .sell_teg,
body.aq-home-page .aq-lease-listings .for_sale {
  background: #e31c23 !important;
  color: #fff !important;
  border-radius: 8px !important;
}

body.aq-home-page .aq-lease-listings .for_rent {
  background: #111 !important;
  color: #fff !important;
  border-radius: 8px !important;
}

body.aq-home-page .aq-section-block {
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-top: 28px;
  padding-bottom: 8px;
}

body.aq-home-page .aq-section-head {
  align-items: flex-end;
  margin-bottom: 18px;
}

body.aq-home-page .aq-section-head__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #111;
}

body.aq-home-page .aq-section-head__btn {
  color: #111 !important;
  font-weight: 700;
  border: 1px solid #eee;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
}

body.aq-home-page .aq-section-head__btn:hover {
  border-color: #e31c23;
  color: #e31c23 !important;
}

/* Catégories — tuiles claires comme la photo */
body.aq-home-page .aq-categories-section {
  padding: 8px 0 20px;
  background: #fff;
}

body.aq-home-page .aq-cat-card {
  border-radius: 18px !important;
  border: 1px solid #eee !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.05) !important;
  overflow: hidden;
  min-height: 168px;
}

body.aq-home-page .aq-cat-card__media {
  height: 96px !important;
  background: #fff5f5 !important;
}

body.aq-home-page .aq-cat-card__photo {
  object-fit: cover;
  opacity: 0.92;
}

body.aq-home-page .aq-cat-card__overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.28) 100%) !important;
}

body.aq-home-page .aq-cat-card__badge {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.12);
}

body.aq-home-page .aq-cat-card__footer {
  background: #fff !important;
  padding: 12px 14px !important;
}

body.aq-home-page .aq-cat-card__title {
  color: #111 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}

body.aq-home-page .aq-cat-card__count {
  color: #777 !important;
}

body.aq-home-page .aq-cat-card__arrow {
  background: #111 !important;
  color: #fff !important;
  border-radius: 50%;
}

.aq-sell-cta {
  padding: 12px 0 48px;
  background: #fff;
}

.aq-sell-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #111;
  color: #fff;
  border-radius: 20px;
  padding: 28px 32px;
}

.aq-sell-cta__copy h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}

.aq-sell-cta__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}

.aq-sell-cta__btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: #e31c23;
  color: #fff;
  font-weight: 800;
  padding: 12px 22px;
}

@media (max-width: 1100px) {
  .aq-lease-wilaya {
    flex-basis: calc((100% - 28px) / 3);
  }
}

@media (max-width: 768px) {
  #mainheroImage.aq-hero-v2 {
    padding: 28px 12px 18px !important;
  }

  .aq-hero-v2__bg {
    background-size: 92px 92px;
    opacity: 0.55;
  }

  .aq-hero-v2__bg::after {
    background:
      linear-gradient(180deg, rgba(255, 248, 242, 0.78) 0%, rgba(255, 248, 242, 0.88) 42%, #fff 100%);
  }

  .aq-hero-v2__eyebrow {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .aq-hero-v2__title {
    font-size: 26px !important;
    line-height: 1.2 !important;
    margin-bottom: 8px;
  }

  .aq-hero-v2__sub {
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin: 0 auto 14px !important;
    max-width: 34em;
  }

  .aq-search-photo {
    border-radius: 16px;
    padding: 10px 10px 12px;
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.06);
  }

  .aq-search-photo__tabs {
    gap: 4px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .aq-search-photo__tabs::-webkit-scrollbar {
    display: none;
  }

  .aq-search-photo__tab {
    font-size: 13px;
    padding: 7px 12px;
    flex: 0 0 auto;
  }

  .aq-quick-filter {
    margin-top: 12px;
  }

  .aq-quick-filter__label {
    display: none;
  }

  .aq-promo-lease__panel {
    grid-template-columns: 1fr;
    padding: 22px 18px 24px;
  }

  .aq-promo-lease__visual {
    min-height: 160px;
    width: 100%;
  }

  .aq-promo-lease__card--back {
    right: auto;
    left: 8%;
  }

  .aq-promo-lease__card--front {
    right: 4%;
  }

  .aq-sell-cta__box {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
  .aq-lease-wilaya {
    flex-basis: calc((100% - 14px) / 2);
    min-width: 148px;
  }
  #mainheroImage.aq-hero-v2 .aq-smart-search__bar {
    display: none;
  }

  .aq-search-photo {
    border-radius: 16px;
  }
}

/* Espace publicitaire — bandeau 2 colonnes, sans photo ni vidéo */
.aq-ad-follow {
  padding: 8px 0 28px;
  background: #fff;
}

.aq-ad-follow--dash {
  padding: 0 0 18px;
  min-height: 168px;
}

.aq-ad-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.9fr);
  overflow: hidden;
  min-height: 240px;
  border-radius: 24px;
  background:
    radial-gradient(700px 260px at 8% -10%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(118deg, #1c1410 0%, #5c2e24 52%, #c45c45 100%);
  box-shadow: 0 18px 40px rgba(139, 58, 38, 0.16);
}

.aq-ad-banner__copy {
  padding: 28px 32px 26px;
  color: #fff8f0;
}

.aq-ad-banner__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aq-ad-banner__title {
  margin: 0 0 10px;
  max-width: 520px;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.aq-ad-banner__text {
  margin: 0 0 16px;
  max-width: 460px;
  color: rgba(255, 248, 240, 0.9);
  font-size: 15px;
  line-height: 1.55;
}

.aq-ad-banner__points {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.aq-ad-banner__points li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.aq-ad-banner__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd7c8;
}

[dir="rtl"] .aq-ad-banner__points li {
  padding-left: 0;
  padding-right: 18px;
}

[dir="rtl"] .aq-ad-banner__points li::before {
  left: auto;
  right: 0;
}

.aq-ad-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #e31c23;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.aq-ad-banner__cta:hover,
.aq-ad-banner__cta:focus-visible {
  background: #fff4f0;
  color: #c4161c;
}

.aq-ad-banner__aside {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.aq-ad-banner__pattern {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.06) 0 12px,
      transparent 12px 24px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.05) 0 10px,
      transparent 10px 22px
    );
}

.aq-ad-banner__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
}

.aq-ad-banner__stats div {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.aq-ad-banner__stats strong {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.aq-ad-banner__stats span {
  color: rgba(255, 248, 240, 0.82);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .aq-ad-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .aq-ad-banner__copy {
    padding: 22px 16px 20px;
  }

  .aq-ad-banner__aside {
    display: none;
  }

  .aq-ad-banner__cta {
    width: auto;
    min-width: 168px;
  }
}

.aq-ad-follow__overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(26, 18, 14, 0.55);
}

.aq-ad-follow__dialog {
  width: min(420px, 100%);
  padding: 24px 22px 18px;
  border-radius: 20px;
  background: #fffaf5;
  border: 1px solid #f0dcc8;
  box-shadow: 0 24px 50px rgba(26, 18, 14, 0.28);
  text-align: center;
}

.aq-ad-follow__dialog-title {
  margin: 0 0 8px;
  color: #1a120e;
  font-size: 22px;
  font-weight: 800;
}

.aq-ad-follow__dialog-text {
  margin: 0 0 18px;
  color: #6b5346;
  font-size: 14px;
  line-height: 1.45;
}

.aq-ad-follow__choice {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0 0 10px;
  border-radius: 14px;
  border: 1px solid #ead7c4;
  background: #fff;
  color: #1a120e;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.aq-ad-follow__choice--company {
  background: #e31c23;
  border-color: #e31c23;
  color: #fff;
}

.aq-ad-follow__choice--agency {
  background: #fff;
}

.aq-ad-follow__choice:hover,
.aq-ad-follow__choice:focus-visible {
  filter: brightness(0.97);
}

.aq-ad-follow__close {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #8a6f60;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 768px) {
  .aq-ad-follow__dialog {
    width: min(420px, 100%);
  }
}

.aq-listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.aq-listing-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #ead7c4;
  background: #fff;
  color: #1a120e;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.aq-listing-actions__btn--wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.aq-listing-actions__btn--visit {
  background: #e31c23;
  border-color: #e31c23;
  color: #fff;
}

.aq-action-overlay {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(26, 18, 14, 0.5);
}

.aq-action-dialog {
  width: min(420px, 100%);
  padding: 22px 18px 16px;
  border-radius: 18px;
  background: #fffaf5;
  text-align: center;
}

.aq-action-dialog h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.aq-action-dialog__lead,
.aq-action-dialog p {
  margin: 0 0 12px;
  color: #6b5346;
  font-size: 14px;
}

.aq-action-dialog input,
.aq-action-dialog textarea {
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #ead7c4;
  border-radius: 12px;
}

.aq-action-dialog__cta,
.aq-action-dialog__ghost {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.aq-action-dialog__cta {
  background: #e31c23;
  color: #fff;
}

.aq-action-dialog__ghost {
  margin-top: 8px;
  background: transparent;
  color: #6b5346;
}

.aq-alert-win {
  position: fixed;
  left: 16px;
  bottom: 18px;
  z-index: 11000;
  width: min(340px, calc(100vw - 32px));
}

.aq-alert-win__fab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: calc(100vw - 92px);
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #1a120e;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(26, 18, 14, 0.28);
  cursor: pointer;
}

.aq-alert-win__card {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: 18px;
  background: #fffaf5;
  border: 1px solid #f0dcc8;
  box-shadow: 0 18px 40px rgba(26, 18, 14, 0.22);
}

.aq-alert-win__eyebrow {
  margin: 0 0 6px;
  color: #e31c23;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aq-alert-win__card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.aq-alert-win__card p {
  margin: 0 0 12px;
  color: #6b5346;
  font-size: 13px;
  line-height: 1.45;
}

.aq-alert-win__card form {
  display: grid;
  gap: 8px;
}

.aq-alert-win__card input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #ead7c4;
  border-radius: 12px;
}

.aq-alert-win__card button[type="submit"] {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #e31c23;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.aq-alert-win__ok {
  color: #166534 !important;
  font-weight: 700;
}

.aq-alert-win__x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #8a6f60;
  font-size: 22px;
  cursor: pointer;
}

[dir="rtl"] .aq-alert-win {
  left: auto;
  right: 16px;
}

[dir="rtl"] .aq-alert-win__x {
  right: auto;
  left: 8px;
}

.aq-agencies-showcase #main_agent_card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(26, 18, 14, 0.08);
}

@media (max-width: 768px) {
  .aq-alert-win {
    left: 12px;
    right: auto;
    bottom: 92px;
    width: min(260px, calc(100vw - 96px));
  }

  .aq-alert-win__fab {
    max-width: 100%;
  }

  .aq-alert-win__card {
    max-height: min(52vh, 360px);
    overflow: auto;
  }
}

