* {
  box-sizing: border-box;
}

:root {
  --red: #d90000;
  --deep-red: #c90000;
  --cream: #fff3bd;
  --gold: #ffd447;
  --ink: #2c1712;
  --bottom-offset: 128px;
  --page-width: 525px;
  --cta-main-size: clamp(39px, 9vw, 56px);
}

html {
  background: #fff7df;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff7df;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  padding-bottom: var(--bottom-offset);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: 100%;
}

.hero {
  max-width: var(--page-width);
  margin: 0 auto;
  background: #fff;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.image-disclaimer {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 9px 12px 8px;
  color: #7a4c21;
  background: #fff7df;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.cta-bar,
.float-panel {
  max-width: var(--page-width);
  width: 100%;
  margin: 0 auto;
}

.cta-bar {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  column-gap: clamp(8px, 2vw, 12px);
  height: 78px;
  overflow: hidden;
  padding: 0 5px;
  border-radius: 0;
  background: #fff7df;
  box-shadow: 0 8px 22px rgba(170, 107, 0, 0.18);
}

.price-copy {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-width: 0;
  gap: 0;
  padding: 0;
  color: #ff0000;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.price-copy span {
  font-size: clamp(27px, 6.2vw, 38px);
  font-weight: 900;
  letter-spacing: 0;
}

.price-copy strong {
  display: none;
}

.apply-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 246px);
  height: 64px;
  margin: 0;
  justify-self: center;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #ff0000;
  box-shadow: 0 0 18px rgba(244, 58, 25, 0.22);
  cursor: pointer;
  animation: button-pop 0.34s cubic-bezier(0.215, 0.61, 0.355, 1) infinite, button-glow 0.34s linear infinite;
}

.apply-button::after {
  display: none;
}

.apply-button small {
  display: none;
}

.apply-button b {
  position: relative;
  z-index: 1;
  font-size: var(--cta-main-size);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
  animation: button-pop 0.34s cubic-bezier(0.215, 0.61, 0.355, 1) infinite, button-glow 0.34s linear infinite;
}

.float-panel {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 8px 0 6px;
  background: #fff7df;
  box-shadow: 0 -9px 24px rgba(96, 39, 0, 0.18);
  backdrop-filter: blur(8px);
}

.legal-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 8px 0;
  color: #555;
  background: #fff7df;
  font-size: 13px;
  line-height: 1.35;
}

.legal-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--red);
}

.legal-consent span {
  min-width: 0;
}

.legal-consent a,
.legal-consent button {
  border: 0;
  padding: 0;
  color: #32a7c8;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

@keyframes button-pop {
  0% {
    transform: scale(0.94);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(0.94);
  }
}

@keyframes button-glow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.16) saturate(1.25);
  }
}

@keyframes shine {
  0% {
    left: -42%;
  }
  58%,
  100% {
    left: 118%;
  }
}

@media (max-width: 420px) {
  :root {
    --bottom-offset: 112px;
    --cta-main-size: clamp(35px, 9.6vw, 42px);
  }

  .cta-bar {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    height: 70px;
    column-gap: 7px;
    padding: 0 5px;
  }

  .price-copy {
    gap: 2px;
    padding: 0;
  }

  .price-copy span {
    font-size: clamp(24px, 7vw, 29px);
  }

  .apply-button {
    width: min(100%, 184px);
    height: 56px;
  }

  .legal-consent {
    gap: 5px;
    padding-inline: 6px;
    font-size: 12px;
  }

  .legal-consent input {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 360px) {
  :root {
    --cta-main-size: 32px;
  }

  .cta-bar {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 5px;
    padding-right: 5px;
    padding-left: 5px;
  }

  .price-copy {
    gap: 1px;
    padding-left: 0;
  }

  .price-copy span {
    font-size: 22px;
  }

  .apply-button {
    width: min(100%, 154px);
    height: 52px;
  }

}
