@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Poppins");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Poppins");
}

:root {
  --page-width: 1200px;
  --color-background: #ffffff;
  --color-foreground: #121212;
  --color-muted: rgba(18, 18, 18, 0.75);
  --color-border: #dddddd;
  --color-light: #f3f3f3;
  --font-body: Poppins, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-background);
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-background);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-foreground);
}

button,
input {
  font: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 18px 50px;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  background: #fff;
}

.brand {
  color: var(--color-foreground);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.page-width {
  width: min(var(--page-width), calc(100% - 30px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.text-center {
  text-align: center;
}

.left {
  text-align: left;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-foreground);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin: 0 auto 22px;
  font-size: 40px;
  line-height: 1.18;
}

h2 {
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 1.2;
}

h3 {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.25;
}

p {
  margin-bottom: 16px;
}

.rte {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
}

.rte strong {
  color: var(--color-foreground);
  font-weight: 700;
}

.section-first {
  padding: 40px 0 52px;
}

.rich-text {
  background: #fff;
}

.rich-text.compact {
  padding: 40px 0 12px;
}

.image-section {
  padding: 0 15px;
}

.image-container {
  display: flex;
  justify-content: center;
}

.image-container img {
  width: auto;
  max-width: min(1000px, 100%);
  height: auto;
}

.social-section {
  padding: 0 0 52px;
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
}

.social-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-bottom: 15px;
  border: 1px solid var(--color-border);
  border-radius: 200px;
  padding: 7px 13px 7px 7px;
  color: #000;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}

.rte strong.find-us-here {
  color: #ff0000;
}

.social-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.social-facebook {
  background-color: #1877f2;
}

.social-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-youtube {
  background-color: #ff0000;
}

.social-email {
  background-color: #666;
}

.info-section {
  padding: 36px 0;
  background: #fff;
}

.info-section.slim {
  padding-top: 20px;
}

.info-section h2,
.warranty-section h2,
.support-section h2 {
  text-align: center;
}

.info-section .rte p {
  margin-bottom: 12px;
}

.footer-like {
  margin-top: 36px;
  padding: 52px 0;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  background: var(--color-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
}

.footer-like h2 {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 700;
}

.footer-like p,
.support-section p {
  color: var(--color-muted);
}

.warranty-section {
  padding: 54px 0 36px;
  background: #fff;
}

.section-label {
  margin-bottom: 18px;
  color: var(--color-foreground);
  font-size: 22px;
}

.instruction {
  margin-bottom: 20px;
}

.warranty-form {
  max-width: 720px;
  margin: 0 auto;
}

.gift-display {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: 20px;
  margin: 4px 0 36px;
  padding: 0;
}

.gift-item {
  display: block;
  min-height: 256px;
  overflow: hidden;
  border: 1px solid #d7dce2;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: 34px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gift-item .gift-name {
  margin-bottom: 0;
}

.gift-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: 20px;
  margin: 4px 0 36px;
  padding: 0;
  border: 0;
}

.gift-option {
  position: relative;
  display: block;
  min-height: 256px;
  overflow: hidden;
  border: 1px solid #d7dce2;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gift-option:hover {
  border-color: #8d98a7;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.gift-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.gift-option::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border: 1px solid #c5ccd5;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 5px #fff;
  transition: background 180ms ease, border-color 180ms ease;
  z-index: 1;
}

.gift-card-body {
  display: grid;
  min-height: 256px;
  align-content: center;
  justify-items: center;
  padding: 34px 24px 28px;
  text-align: center;
}

.gift-image-frame {
  display: grid;
  width: 170px;
  height: 150px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid #eef1f4;
  border-radius: 10px;
  background: #fff;
}

.gift-image-frame img {
  max-width: 142px;
  max-height: 132px;
  object-fit: contain;
}

.gift-name {
  display: block;
  color: var(--color-foreground);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.gift-option:has(input:checked) {
  border-color: #111827;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 0 0 2px #111827, 0 16px 38px rgba(15, 23, 42, 0.16);
}

.gift-option:has(input:checked)::before {
  border-color: #111827;
  background: #111827;
}

.gift-option:has(input:checked) .gift-image-frame {
  border-color: #d6dce3;
  background: #fff;
}

.field-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 22px;
  text-align: left;
}

.field-list label {
  display: grid;
  gap: 6px;
  color: var(--color-foreground);
}

.field-list input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bbb;
  border-radius: 0;
  padding: 10px 12px;
  background: #fff;
  color: var(--color-foreground);
}

.field-list input:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 10px 25px;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: #222;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--color-foreground);
  font-weight: 700;
}

.support-section {
  padding: 36px 0 58px;
  background: #fff;
}

@media screen and (max-width: 749px) {
  .site-header {
    min-height: 66px;
    padding: 16px 24px;
  }

  .brand {
    font-size: 24px;
  }

  .section-first {
    padding-top: 30px;
    padding-bottom: 39px;
  }

  h1,
  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .rte {
    font-size: 15px;
  }

  .social-box {
    font-size: 17px;
  }

  .social-box span:last-child {
    word-break: break-word;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gift-options {
    grid-template-columns: minmax(0, 270px);
  }

  .footer-like {
    padding: 36px 0;
  }
}
