/* At Sea – homepage popup for the Christmas gourmet boxes. */

.shop-popup {
  width: min(480px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  overflow: auto;
  color: #fff;
  background: #101719;
  border: 1px solid rgba(224, 171, 79, .4);
}

.shop-popup::backdrop {
  background: rgba(0, 0, 0, .7);
}

.shop-popup[open] {
  animation: shop-popup-in .3s ease-out;
}

@keyframes shop-popup-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.shop-popup-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shop-popup-body {
  padding: 2rem 1.5rem 2.5rem;
}

.shop-popup-body .btn-primary {
  cursor: pointer;
}

.shop-popup-close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
  background: rgba(16, 23, 25, .7);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.shop-popup-close:hover,
.shop-popup-close:focus-visible {
  color: #E0AB4F;
}

.shop-popup .title.medium {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
}
