body.lvsh-gift-modal-open {
  overflow: hidden;
}

.lvsh-gift-modal[hidden] {
  display: none !important;
}

.lvsh-gift-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.lvsh-gift-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 14, 8, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.7s ease;
}

.lvsh-gift-modal.is-open .lvsh-gift-modal__backdrop {
  opacity: 1;
}

.lvsh-gift-modal__card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(23.5rem, 100%);
  padding: 1.7rem 1.5rem 1.55rem;
  border: 1px solid rgba(253, 230, 138, 0.55);
  border-radius: 1.15rem;
  background-color: #3f1d0a;
  background-image:
    linear-gradient(180deg, rgba(28, 12, 6, 0.28) 0%, rgba(20, 8, 4, 0.46) 100%),
    var(--lvsh-gift-modal-bg, var(--lvsh-gift-leather, url("../../dist/images/leather.webp")));
  background-size: cover;
  background-position: center 42%;
  color: #ffedd5;
  text-align: center;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 237, 213, 0.18);
  transform: translateY(28px) scale(0.94);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease;
}

.lvsh-gift-modal.is-open .lvsh-gift-modal__card {
  transform: none;
  opacity: 1;
}

.lvsh-gift-modal__box {
  display: block;
  order: 4;
  width: 10.5rem;
  height: auto;
  margin: 0.2rem auto 1rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.lvsh-gift-modal__kicker {
  order: 1;
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fde68a;
}

.lvsh-gift-modal__title {
  order: 2;
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff7ed;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.lvsh-gift-modal__text {
  order: 3;
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #fed7aa;
}

.lvsh-gift-modal__sum {
  color: #fde68a;
  font-weight: 800;
  white-space: nowrap;
}

.lvsh-gift-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 5;
  min-height: 2.7rem;
  padding: 0.55rem 1.35rem;
  border: 1px solid rgba(253, 230, 138, 0.55);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #d97706 0%, #9a3412 100%);
  color: #fffbeb;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(69, 26, 3, 0.55), inset 0 1px 0 rgba(254, 243, 199, 0.28);
}

.lvsh-gift-modal__cta:hover,
.lvsh-gift-modal__cta:focus {
  color: #fff7ed;
  filter: brightness(1.06);
}

.lvsh-gift-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.22);
  color: #fde68a;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.lvsh-gift-modal__close:hover,
.lvsh-gift-modal__close:focus {
  background: rgba(0, 0, 0, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .lvsh-gift-modal__card,
  .lvsh-gift-modal__backdrop {
    transition: none;
  }
}

.lvsh-gift-home {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem 1.25rem;
  margin: 0 0 1.25rem;
  padding: 1.2rem 1.35rem 1.25rem;
  border: 1px solid rgba(253, 230, 138, 0.55);
  border-radius: 1rem;
  background-color: #3f1d0a;
  background-image:
    linear-gradient(90deg, rgba(28, 12, 6, 0.55) 0%, rgba(20, 8, 4, 0.28) 58%, rgba(20, 8, 4, 0.12) 100%),
    var(--lvsh-gift-modal-bg, var(--lvsh-gift-leather, url("../../dist/images/leather.webp")));
  background-size: cover;
  background-position: right center;
  color: #ffedd5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 237, 213, 0.16);
}

.lvsh-gift-home__box {
  flex: 0 0 auto;
  width: 4.6rem;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.lvsh-gift-home__copy {
  min-width: 0;
  flex: 1 1 16rem;
}

.lvsh-gift-home__kicker {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fde68a;
}

.lvsh-gift-home__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff7ed;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.lvsh-gift-home__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #fed7aa;
}

.lvsh-gift-home__sum {
  color: #fde68a;
  font-weight: 800;
  white-space: nowrap;
}

.lvsh-gift-home__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2.6rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(253, 230, 138, 0.55);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #d97706 0%, #9a3412 100%);
  color: #fffbeb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(69, 26, 3, 0.55), inset 0 1px 0 rgba(254, 243, 199, 0.28);
}

.lvsh-gift-home__cta:hover,
.lvsh-gift-home__cta:focus {
  color: #fff7ed;
  filter: brightness(1.06);
}

.lvsh-gift-home--hero {
  position: absolute;
  z-index: 5;
  top: 0.7rem;
  left: 0.7rem;
  right: 0.7rem;
  margin: 0;
  padding: 0.7rem 0.85rem;
  gap: 0.55rem 0.8rem;
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 237, 213, 0.16);
}

.lvsh-gift-home--hero .lvsh-gift-home__box {
  width: 3.15rem;
}

.lvsh-gift-home--hero .lvsh-gift-home__title {
  font-size: 1.05rem;
}

.lvsh-gift-home--hero .lvsh-gift-home__text {
  display: none;
}

.lvsh-gift-home--hero .lvsh-gift-home__cta {
  min-height: 2.35rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.72rem;
}

@media (max-width: 767px) {
  body.lvsh-front-page .lvsh-home-hero--gift .lvsh-home-hero__content {
    justify-content: flex-end;
    padding-top: 7.5rem;
    padding-bottom: 2.1rem;
  }
}

@media (min-width: 768px) {
  .lvsh-gift-home--hero {
    top: 1.35rem;
    right: clamp(3.75rem, 6vw, 5.5rem);
    left: auto;
    width: min(22.5rem, 32%);
    flex-direction: column;
    align-items: stretch;
    padding: 1.15rem 1.25rem 1.2rem;
    gap: 0.7rem;
  }

  body.lvsh-front-page .lvsh-home-hero--gift .lvsh-home-hero__content {
    padding-right: min(28rem, 42%);
  }

  .lvsh-gift-home--hero .lvsh-gift-home__copy {
    order: 0;
    flex: 0 0 auto;
  }

  .lvsh-gift-home--hero .lvsh-gift-home__box {
    order: 1;
    width: 12rem;
    margin: 0.15rem auto;
  }

  .lvsh-gift-home--hero .lvsh-gift-home__cta {
    order: 2;
    width: 100%;
    min-height: 2.6rem;
    font-size: 0.8rem;
  }

  .lvsh-gift-home--hero .lvsh-gift-home__title {
    font-size: 1.28rem;
  }

  .lvsh-gift-home--hero .lvsh-gift-home__text {
    display: block;
  }
}

.lvsh-gift-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem 1.25rem;
  margin: 0 0 1.25rem;
  padding: 1.2rem 1.35rem 1.25rem;
  border: 1px solid rgba(253, 230, 138, 0.55);
  border-radius: 1rem;
  background-color: #3f1d0a;
  background-image:
    linear-gradient(90deg, rgba(28, 12, 6, 0.55) 0%, rgba(20, 8, 4, 0.28) 58%, rgba(20, 8, 4, 0.12) 100%),
    var(--lvsh-gift-modal-bg, var(--lvsh-gift-leather, url("../../dist/images/leather.webp")));
  background-size: cover;
  background-position: right center;
  color: #ffedd5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 237, 213, 0.16);
}

.lvsh-gift-status--ready {
  border-color: rgba(250, 204, 21, 0.7);
}

.lvsh-gift-status__copy {
  min-width: 0;
  flex: 1 1 16rem;
}

.lvsh-gift-status__kicker {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fde68a;
}

.lvsh-gift-status__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff7ed;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.lvsh-gift-status__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #fed7aa;
}

.lvsh-gift-status__sum {
  color: #fde68a;
  font-weight: 800;
  white-space: nowrap;
}

.lvsh-gift-status__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2.6rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(253, 230, 138, 0.55);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #d97706 0%, #9a3412 100%);
  color: #fffbeb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(69, 26, 3, 0.55), inset 0 1px 0 rgba(254, 243, 199, 0.28);
}

.lvsh-gift-status__cta:hover,
.lvsh-gift-status__cta:focus {
  color: #fff7ed;
  filter: brightness(1.06);
}

.lvsh-gift-product-note,
.lvsh-gift-product-note {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.75rem;
  background: #fffbeb;
  border: 1px solid #e7caa2;
  color: #7c2d12;
  font-size: 0.875rem;
  font-weight: 600;
}

.lvsh-gift-badge {
  display: inline-block;
  margin: 0.35rem 0.35rem 0 0;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: #b45309;
  color: #fff7ed;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.lvsh-checkout-order-table .lvsh-gift-badge {
  margin: 0 0.35rem 0 0.15rem;
}

.lvsh-gift-price {
  color: #b45309;
  font-weight: 700;
}

.lvsh-cart-item--gift {
  border-color: #d97706 !important;
  background: #fffbeb;
}

.lvsh-cart-item--gift .lvsh-qty__btn {
  display: none;
}

.lvsh-gift-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  font-weight: 700;
}

.lvsh-loop-atc[data-lvsh_gift="1"] .lvsh-atc-label {
  letter-spacing: 0.02em;
}
