/* Minimal nicepage layout primitives for gift landing per-page CSS */
:root {
  --theme-sheet-width-xl: 1140px;
  --theme-sheet-width-lg: 940px;
  --theme-sheet-width-md: 720px;
  --theme-sheet-width-sm: 540px;
  --theme-sheet-width-xs: 340px;
}

.u-sheet {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .u-xl-mode .u-sheet,
  .u-sheet {
    width: var(--theme-sheet-width-xl);
    max-width: min(var(--theme-sheet-width-xl), calc(100% - 40px));
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .u-sheet {
    width: 100%;
    max-width: min(var(--theme-sheet-width-lg), 100%);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .u-sheet {
    width: 100%;
    max-width: min(var(--theme-sheet-width-md), 100%);
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .u-sheet {
    width: 100%;
    max-width: min(var(--theme-sheet-width-sm), 100%);
  }
}

@media (max-width: 575px) {
  .u-sheet {
    width: 100%;
    max-width: min(var(--theme-sheet-width-xs), 100%);
  }
}

.u-clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.u-video {
  position: relative;
  display: block;
}

.u-video .embed-responsive {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 0 !important;
  overflow: hidden;
}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.embed-responsive iframe,
.embed-responsive-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.u-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background-color: #111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.u-video.active .u-video-poster {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.u-repeater {
  display: grid;
}

.u-repeater-item {
  display: flex;
  position: relative;
}

.u-container-layout {
  position: relative;
  flex: 1;
  max-width: 100%;
}

.u-list-item {
  position: relative;
}

.u-image,
.u-image-default {
  display: block;
  max-width: 100%;
}

.u-preserve-proportions {
  position: relative;
}

.u-border-white {
  border-color: #fff !important;
}

.u-border-grey-15 {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.u-radius,
.u-shape-round {
  border-radius: 16px;
}

.u-custom-font {
  font-family: Poppins, sans-serif;
}
