.gb, .gs, .gc {
  --g-night: #1b1214;
  --g-night2: #281b1e;
  --g-cream: #f8f1ef;
  --g-rose: #e8a9ad;
  --g-hot: #e0457b;
  --g-out: cubic-bezier(.22, 1, .36, 1);
  --g-back: cubic-bezier(.34, 1.56, .64, 1);
}
@supports (color: oklch(0.8 0.075 15)) {
  .gb, .gs, .gc { --g-rose: oklch(0.8 0.075 15); --g-hot: oklch(0.66 0.19 3); }
}

.gw1, .gw2, .gw3, .gw4, .gw5, .gw6, .gw7, .gw8, .gb__card {
  animation-duration: var(--loop, 10s);
  animation-timing-function: var(--ease, var(--g-out));
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  transform: var(--to, none);
}
.gw1 { animation-name: gw1; } .gw3 { animation-name: gw3; } .gw5 { animation-name: gw5; }
.gw2 { animation-name: gw2; } .gw4 { animation-name: gw4; } .gw6 { animation-name: gw6; }
.gw7 { animation-name: gw7; } .gw8 { animation-name: gw8; }
.gb__card--0 { animation-name: gw1; } .gb__card--1 { animation-name: gw3; } .gb__card--2 { animation-name: gw5; }
@keyframes gw1 { 0%, 2%  { opacity: 0; transform: var(--from, translateY(24px)); } 8%, 100%  { opacity: 1; transform: var(--to, none); } }
@keyframes gw2 { 0%, 9%  { opacity: 0; transform: var(--from, translateY(24px)); } 13%, 100% { opacity: 1; transform: var(--to, none); } }
@keyframes gw3 { 0%, 12% { opacity: 0; transform: var(--from, translateY(24px)); } 18%, 100% { opacity: 1; transform: var(--to, none); } }
@keyframes gw4 { 0%, 19% { opacity: 0; transform: var(--from, translateY(24px)); } 23%, 100% { opacity: 1; transform: var(--to, none); } }
@keyframes gw5 { 0%, 22% { opacity: 0; transform: var(--from, translateY(24px)); } 28%, 100% { opacity: 1; transform: var(--to, none); } }
@keyframes gw6 { 0%, 30% { opacity: 0; transform: var(--from, translateY(24px)); } 35%, 100% { opacity: 1; transform: var(--to, none); } }
@keyframes gw7 { 0%, 38% { opacity: 0; transform: var(--from, translateY(24px)); } 42%, 100% { opacity: 1; transform: var(--to, none); } }
@keyframes gw8 { 0%, 42% { opacity: 0; transform: var(--from, translateY(24px)); } 48%, 100% { opacity: 1; transform: var(--to, none); } }

.gcd { display: flex; gap: 8px; }
.gcd__cell { display: flex; flex-direction: column; align-items: center; min-width: 68px; padding: 10px 10px 8px; box-sizing: border-box; border: 1px solid rgba(248, 241, 239, .18); }
.gcd__cell b { font-family: var(--body); font-weight: 600; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--g-cream); }
.gcd__cell span { font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-top: 5px; color: var(--g-rose); }
.gcd-line { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

.g-run { display: flex; width: max-content; animation: g-run 30s linear infinite; }
@keyframes g-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.gb {
  --loop: 10s;
  position: relative; overflow: hidden; box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); align-items: center;
  min-height: 600px; padding: 34px 72px 96px;
  background: var(--g-night); color: var(--g-cream); font-family: var(--body); font-weight: 300;
}
.gb__copy { position: relative; z-index: 2; }
.gb__brand { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--g-rose); }
.gb__swan { width: 30px; height: 42px; flex: none; background: var(--g-rose); -webkit-mask: url("/static/img/swan.png") center / contain no-repeat; mask: url("/static/img/swan.png") center / contain no-repeat; }
.gb__formula { display: flex; align-items: baseline; margin: 12px 0 8px; font-family: var(--display); font-weight: 400; font-size: 172px; line-height: .86; letter-spacing: -.01em; white-space: nowrap; }
.gb__g { position: relative; display: inline-block; }
.gb__ln { color: transparent; -webkit-text-stroke: 1.4px var(--g-rose); }
.gb__fl { position: absolute; left: 0; top: 0; color: var(--g-rose); animation: var(--loop) var(--g-out) infinite both; }
.gb__g--1 .gb__fl { animation-name: gbf1; }
.gb__g--2 .gb__fl { animation-name: gbf2; }
.gb__g--3 .gb__fl { animation-name: gbf3; color: var(--g-hot); }
.gb__g--3 .gb__ln { -webkit-text-stroke-color: var(--g-hot); }
.gb__op { font-style: italic; }
@keyframes gbf1 { 0%, 6% { clip-path: inset(100% 0 0 0); } 11%, 93% { clip-path: inset(0 0 0 0); } 98%, 100% { clip-path: inset(100% 0 0 0); } }
@keyframes gbf2 { 0%, 16% { clip-path: inset(100% 0 0 0); } 21%, 93% { clip-path: inset(0 0 0 0); } 98%, 100% { clip-path: inset(100% 0 0 0); } }
@keyframes gbf3 { 0%, 40% { clip-path: inset(100% 0 0 0); } 47%, 93% { clip-path: inset(0 0 0 0); } 98%, 100% { clip-path: inset(100% 0 0 0); } }
.gb__title { margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1.05; color: var(--g-cream); text-wrap: balance; }
.gb__title em { font-style: italic; color: var(--g-rose); }
.gb__lede { margin: 0 0 22px; max-width: 44ch; font-size: 16px; line-height: 1.45; color: rgba(248, 241, 239, .72); }
.gb__actions { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.gb__btn { display: inline-block; background: var(--g-rose); color: var(--g-night); border-radius: 999px; padding: 15px 34px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .2s; }
.gb__btn:hover { background: var(--g-cream); }
.gb__fine { margin: 12px 0 0; max-width: 52ch; font-size: 12px; line-height: 1.45; color: rgba(248, 241, 239, .55); }

.gb__stage { position: relative; height: 100%; min-height: 470px; }
.gb__rig { position: absolute; left: 50%; bottom: -96px; width: 560px; height: 560px; margin-left: -430px; transform: scale(var(--rig, 1.36)); transform-origin: 50% 100%; }
.gb__bill {
  position: absolute; right: -40px; top: -8px; z-index: 5; width: 236px; box-sizing: border-box; padding: 16px 18px 14px;
  background: var(--g-cream); color: var(--g-night); rotate: 4deg; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  font-variant-numeric: tabular-nums;
}
.gb__bill::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
  background: linear-gradient(-45deg, transparent 6px, var(--g-cream) 0) 0 0 / 12px 8px repeat-x, linear-gradient(45deg, transparent 6px, var(--g-cream) 0) 0 0 / 12px 8px repeat-x;
}
.gb__bill p { margin: 0; }
.gb__bill-h { padding-bottom: 8px; margin-bottom: 6px !important; border-bottom: 1px dashed rgba(27, 18, 20, .3); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(27, 18, 20, .55); }
.gb__row, .gb__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gb__row { padding: 3px 0; font-size: 14px; }
.gb__row span { color: rgba(27, 18, 20, .6); }
.gb__row b { font-family: var(--display); font-size: 21px; font-weight: 500; white-space: nowrap; }
.gb__row--gift b { color: var(--g-hot); }
.gb__row--gift s { margin-right: 4px; font-size: 15px; color: rgba(27, 18, 20, .45); text-decoration-color: var(--g-hot); text-decoration-thickness: 2px; }
.gb__total { margin-top: 8px !important; padding-top: 8px; border-top: 1.5px solid var(--g-night); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; --from: scale(.9); --ease: var(--g-back); }
.gb__total b { font-family: var(--display); font-size: 30px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.gb__halo { position: absolute; left: 50%; bottom: 40px; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 160, 170, .16), transparent); }
.gb__bag { position: absolute; left: 105px; bottom: 0; width: 350px; height: 300px; transform-origin: 50% 100%; animation: gb-bump var(--loop) ease-out infinite both; }
@keyframes gb-bump {
  0%, 7.5% { transform: none; } 8.6% { transform: scale(1.035, .965); } 10% { transform: none; }
  17.5% { transform: none; } 18.6% { transform: scale(1.035, .965); } 20% { transform: none; }
  27.5% { transform: none; } 28.6% { transform: scale(1.06, .94); } 30.5%, 100% { transform: none; }
}
.gb__handle { position: absolute; left: 95px; top: -78px; width: 160px; height: 110px; border: 2px solid var(--g-rose); border-bottom: 0; border-radius: 80px 80px 0 0; }
.gb__back { position: absolute; inset: 0; background: var(--g-night2); border: 1.5px solid rgba(232, 180, 185, .35); }
.gb__front {
  position: absolute; left: -10px; right: -10px; bottom: 0; height: 220px; z-index: 3; box-sizing: border-box; padding-top: 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px;
  background: var(--g-night2); border: 1.5px solid var(--g-rose); box-shadow: 0 -18px 30px rgba(0, 0, 0, .35);
}
.gb__word { font-family: var(--display); font-size: 30px; letter-spacing: .38em; margin-right: -.38em; color: var(--g-cream); }
.gb__dots { display: flex; gap: 12px; }
.gb__dot { position: relative; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--g-rose); }
.gb__dot i { position: absolute; inset: 2px; border-radius: 50%; background: var(--g-rose); --from: scale(0); --ease: var(--g-back); }
.gb__count { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--g-rose); --from: translateY(8px); }
.gb__card {
  position: absolute; bottom: 130px; width: 170px; height: 226px; z-index: 2; box-sizing: border-box;
  border: 6px solid var(--g-cream); background: var(--g-cream); box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
  --ease: cubic-bezier(.3, 1.35, .6, 1);
}
.gb__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gb__card--0 { left: -10px; --from: translateY(-640px) rotate(-30deg); --to: rotate(-13deg); }
.gb__card--1 { left: 90px; bottom: 150px; --from: translateY(-640px) rotate(20deg); --to: rotate(2deg); }
.gb__card--2 { left: 190px; --from: translateY(-640px) rotate(40deg); --to: rotate(14deg); }
.gb__tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 10px; background: var(--g-night); color: var(--g-cream); font-family: var(--display); font-size: 18px; white-space: nowrap; border: 1px solid var(--g-rose); }
.gb__strike {
  position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: var(--g-hot);
  transform-origin: left center; --from: scaleX(0); --to: scaleX(1); --ease: cubic-bezier(.6, 0, .3, 1);
}
.gb__gift {
  position: absolute; top: -48px; left: 50%; z-index: 2; padding: 5px 12px; white-space: nowrap;
  background: var(--g-hot); color: var(--g-cream); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  --from: translateX(-50%) scale(.3) rotate(-30deg); --to: translateX(-50%) rotate(-6deg); --ease: var(--g-back);
}
.gb__stamp {
  position: absolute; right: -150px; top: 96px; z-index: 4; width: 128px; height: 128px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--g-hot); color: var(--g-cream); font-family: var(--display); font-size: 46px; line-height: .9;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  --from: scale(.2) rotate(-90deg); --to: rotate(-12deg); --ease: var(--g-back);
}
.gb__stamp small { margin-top: 6px; font-family: var(--body); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; line-height: 1.3; }
.gb__ring { position: absolute; right: -150px; top: 96px; z-index: 3; width: 128px; height: 128px; border-radius: 50%; border: 2px solid var(--g-hot); animation: gb-ring var(--loop) ease-out infinite both; }
@keyframes gb-ring { 0%, 45% { opacity: 0; transform: scale(.8); } 47% { opacity: .9; } 60%, 100% { opacity: 0; transform: scale(1.9); } }

.gb__ribbon {
  position: absolute; left: -100px; right: -100px; bottom: 24px; height: 54px; z-index: 6;
  display: flex; align-items: center; overflow: hidden;
  background: var(--g-rose); color: var(--g-night); rotate: -3deg; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.gb__ribbon span { display: flex; align-items: center; gap: 16px; padding-right: 16px; font-size: 17px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.gb__ribbon i { font-family: var(--display); font-size: 30px; font-weight: 500; font-style: normal; letter-spacing: 0; text-transform: none; }
.gb__ribbon s { text-decoration: none; color: var(--g-hot); filter: brightness(.8); }

@media (max-width: 1320px) {
  .gb { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); padding-left: 48px; padding-right: 48px; }
  .gb__formula { font-size: 150px; }
  .gb__rig { --rig: 1.1; margin-left: -400px; }
  .gb__bill { right: -28px; width: 200px; padding: 14px 16px 12px; }
  .gb__row b { font-size: 19px; }
  .gb__total b { font-size: 26px; }
}
@media (max-width: 1200px) {
  .gb__bill { scale: .8; transform-origin: 100% 0; top: -20px; }
}
@media (max-width: 1080px) {
  .gb { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); padding-left: 32px; padding-right: 32px; }
  .gb__formula { font-size: 116px; }
  .gb__title { font-size: 34px; }
  .gb__rig { --rig: .7; margin-left: -330px; bottom: -80px; }
  .gb__bill { display: none; }
}
@media (max-width: 960px) {
  .gb__rig { --rig: .6; margin-left: -322px; }
}
@media (max-width: 860px) {
  .gb { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 30px 20px 26px; }
  .gb__copy { display: contents; }
  .gb__brand { order: 1; font-size: 11px; }
  .gb__swan { width: 22px; height: 31px; }
  .gb__formula { order: 2; font-size: 96px; margin: 10px 0 6px; }
  .gb__title { order: 3; font-size: 30px; margin-bottom: 8px; }
  .gb__lede { order: 4; font-size: 14px; margin-bottom: 0; }
  .gb__stage { order: 5; height: 270px; min-height: 0; margin: 0 -20px; }
  .gb__rig { --rig: .58; bottom: -36px; margin-left: -300px; }
  .gb__ribbon { order: 6; position: relative; left: auto; right: auto; bottom: auto; flex: none; height: 44px; margin: -8px -40px 18px; }
  .gb__ribbon span { font-size: 13px; gap: 12px; padding-right: 12px; }
  .gb__ribbon i { font-size: 22px; }
  .gb .gcd { order: 7; gap: 6px; }
  .gb .gcd__cell { min-width: 0; flex: 1; }
  .gb .gcd__cell b { font-size: 24px; }
  .gb__actions { order: 8; margin-top: 16px; }
  .gb__btn { flex: 1; text-align: center; }
  .gb__fine { order: 9; font-size: 11px; }
}

.gs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin: 22px var(--pad, 54px) 0; padding: 16px 28px;
  background: var(--g-night); color: var(--g-cream); font-family: var(--body);
}
.gs__mark { font-family: var(--display); font-weight: 500; font-size: 38px; line-height: 1; color: var(--g-rose); letter-spacing: -.01em; }
.gs__text { flex: 1; min-width: 220px; font-size: 17px; font-weight: 500; }
.gs__text em { font-style: normal; color: var(--g-rose); }
.gs__cd { font-size: 14px; color: rgba(248, 241, 239, .6); }
.gs__cd .gcd-line { color: var(--g-cream); margin-left: 6px; }
.gs__terms summary { list-style: none; cursor: pointer; padding: 9px 20px; border-radius: 999px; border: 1px solid rgba(248, 241, 239, .22); font-size: 13px; font-weight: 500; }
.gs__terms summary::-webkit-details-marker { display: none; }
.gs__terms[open] { flex-basis: 100%; }
.gs__terms[open] summary { display: inline-block; }
.gs__terms p { margin: 12px 0 0; max-width: 70ch; font-size: 13px; line-height: 1.5; color: rgba(248, 241, 239, .72); }
@media (max-width: 700px) {
  .gs { gap: 8px 16px; padding: 14px 16px; }
  .gs__mark { font-size: 30px; }
  .gs__text { font-size: 15px; min-width: 0; flex-basis: calc(100% - 110px); }
  .gs__cd { font-size: 13px; }
}

.gc { display: flex; flex-direction: column; gap: 12px; margin: 26px var(--pad, 54px) 0; padding: 20px 24px; background: var(--g-night); color: var(--g-cream); font-family: var(--body); }
.gc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.gc__head b { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.15; }
.gc__head b em { font-style: italic; color: var(--g-rose); }
.gc__head span { font-size: 12px; color: rgba(248, 241, 239, .6); }
.gc__body { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gc__note { flex: 1; min-width: 220px; margin: 0; font-size: 14px; line-height: 1.45; color: rgba(248, 241, 239, .72); }
.gc__note b { color: var(--g-cream); font-weight: 600; }
.gc__more { padding: 9px 20px; border-radius: 999px; background: var(--g-rose); color: var(--g-night); font-size: 13px; font-weight: 600; text-decoration: none; }
.gc--done .gc__more { background: transparent; color: var(--g-cream); border: 1px solid rgba(248, 241, 239, .22); }
.gc__bar { position: relative; height: 4px; overflow: hidden; background: rgba(248, 241, 239, .16); }
.gc__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--g-rose); }
.gc__fine { margin: 0; font-size: 11.5px; line-height: 1.45; color: rgba(248, 241, 239, .55); }

.cart__gift { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #e0457b; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.cart__line--gift .cart__amount s, .checkout__item s { color: var(--muted); font-size: .8em; margin-right: 6px; }
.cart__sum { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: 14px; }
.cart__sum--gift { color: #c2366c; }
.announce__gift b { color: #e8a9ad; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .gb *, .gb *::before, .gb *::after, .gc *, .g-run { animation: none !important; }
  .gb__fl { clip-path: none; }
}
