:root {
  --or-offer-overlay: rgba(22, 20, 16, 0.55);
  --or-offer-surface: #ffffff;
  --or-offer-ink: #2f2f2f;
  --or-offer-muted: #6a6a6a;
  --or-offer-accent: #c9a24d;
  --or-offer-accent-dark: #6a5a33;
  --or-offer-border: rgba(201, 162, 77, 0.26);
  --or-offer-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  --or-offer-radius: 14px;
  --or-offer-bg: linear-gradient(180deg, #ffffff 0%, #fbf8f1 100%);
}

.or-offer-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.or-offer-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.or-offer-popup__backdrop {
  position: absolute;
  inset: 0;
  background: var(--or-offer-overlay);
}

.or-offer-popup__panel {
  position: relative;
  background: var(--or-offer-bg);
  color: var(--or-offer-ink);
  width: min(960px, 100%);
  border-radius: var(--or-offer-radius);
  border: 1px solid var(--or-offer-border);
  box-shadow: var(--or-offer-shadow);
  padding: 20px 22px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  animation: orOfferPopIn 240ms ease;
}

@keyframes orOfferPopIn {
  from {
    transform: translateY(16px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.or-offer-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--or-offer-ink);
  border: 1px solid var(--or-offer-border);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease;
}

.or-offer-popup__close:hover,
.or-offer-popup__close:focus {
  background: #eef2f7;
}

.or-offer-popup__header {
  margin-bottom: 16px;
  padding-left: 6px;
}

.or-offer-popup__eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--or-offer-muted);
  margin: 0 0 8px;
}

.or-offer-popup__header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.or-offer-popup__grid {
  display: grid;
  gap: 14px;
  position: relative;
  padding-left: 6px;
}

.or-offer-inline {
  padding-left: 6px;
}

.or-offer-inline__wrap {
  max-width: 888px;
  margin: 0 auto;
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--or-offer-border);
  background: var(--or-offer-bg);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  padding: 14px 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
}

.or-offer-inline__wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--or-offer-accent);
  opacity: 0.9;
}

.or-offer-inline__media {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-left: 8px;
  flex-shrink: 0;
}

.or-offer-inline__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.or-offer-inline__body {
  padding-right: 8px;
}

.or-offer-inline__title {
  margin: 0 0 6px;
  font-weight: 850;
  color: var(--or-offer-ink);
  line-height: 1.25;
  font-size: 20px;
}

.or-offer-inline__price {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--or-offer-accent-dark);
}

.or-offer-inline__text {
  margin: 0 0 6px;
  color: #4f4f4f;
  line-height: 1.45;
  max-width: 85ch;
}

.or-offer-inline__meta {
  margin: 0 0 10px;
  color: var(--or-offer-muted);
  font-size: 0.95rem;
}

.or-offer-inline__actions {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.or-offer-inline .buttonalt.booking {
  width: auto;
}

.or-offer-inline__phone {
  text-decoration: none;
  color: var(--or-offer-accent-dark);
  font-weight: 600;
  font-size: 0.98rem;
}

.or-offer-inline__phone:hover {
  text-decoration: underline;
}

.or-offer-popup__grid--count-1 {
  grid-template-columns: 1fr;
}

.or-offer-popup__grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.or-offer-popup__grid--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.or-offer-card {
  border: 1px solid rgba(201, 162, 77, 0.2);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.or-offer-card__image {
  background-size: cover;
  background-position: center;
  height: 180px;
}

.or-offer-card__content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.or-offer-card__content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--or-offer-ink);
  line-height: 1.25;
}

.or-offer-card__period {
  margin: 0;
  font-size: 13px;
  color: var(--or-offer-muted);
}

.or-offer-card__value {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--or-offer-ink);
}

.or-offer-card__excerpt {
  margin: 0;
  color: var(--or-offer-muted);
  font-size: 14px;
  line-height: 1.45;
  flex-grow: 1;
}

.or-offer-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--or-offer-accent);
  color: #2f2f2f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease;
  align-self: flex-start;
}

.or-offer-card__cta:hover,
.or-offer-card__cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(201, 162, 77, 0.25);
  color: #2f2f2f;
}

.or-offer-popup__newsletter {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--or-offer-border);
}

.or-offer-popup__newsletter h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--or-offer-ink);
}

.or-offer-popup__newsletter p {
  margin: 0 0 12px;
  color: var(--or-offer-muted);
}

.or-offer-footer-hint {
  display: flex;
  justify-content: center;
  padding: 12px 0 24px;
}

.or-offer-footer-hint__btn {
  background: transparent;
  border: none;
  color: var(--or-offer-accent-dark);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 8px;
}

.or-offer-popup--open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .or-offer-popup__grid--count-2,
  .or-offer-popup__grid--count-3 {
    grid-template-columns: 1fr;
  }

  .or-offer-popup__panel {
    padding: 18px 18px;
  }

  .or-offer-inline__wrap {
    grid-template-columns: 1fr;
  }

  .or-offer-inline__media {
    width: 100%;
    height: 200px;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .or-offer-popup {
    padding: 16px;
  }

  .or-offer-popup__panel {
    padding: 16px;
  }

  .or-offer-popup__header h2 {
    font-size: 20px;
  }

  .or-offer-card__image {
    height: 140px;
  }

  .or-offer-inline__wrap {
    padding: 12px 14px;
  }

  .or-offer-inline__title,
  .or-offer-inline__text,
  .or-offer-inline__meta,
  .or-offer-inline__actions {
    margin-left: 4px;
  }
}
