/* Home promo block */
.gift-card {
  margin: 48px 0;
}

.tgc-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tgc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: var(--tgc-height, 380px);
  overflow: hidden;
  background: var(--tgc-panel-bg, #fff);
  color: var(--tgc-text-color, #111);
}

.tgc-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  padding: 48px 56px;
  background: var(--tgc-panel-bg, #fff);
}

.tgc-title {
  margin: 0;
  font-family: var(--font-site);
  font-size: var(--tgc-title-size, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--tgc-text-color, #111);
}

.tgc-line {
  width: 48px;
  height: 2px;
  margin: 18px 0 20px;
  background: var(--tgc-accent-color, #e0aa00);
}

.tgc-description {
  max-width: 22em;
  margin: 0 0 28px;
  font-size: var(--tgc-text-size, 25px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--tgc-text-color, #111);
}

.tgc-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 220px;
  min-height: 48px;
  padding: 0 20px;
  background: var(--tgc-button-bg, #111);
  color: var(--tgc-button-color, #fff);
  transition: background 0.2s ease, transform 0.2s ease;
}

.tgc-button__text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tgc-button__arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.tgc-link:hover .tgc-button {
  background: #2c241c;
}

.tgc-link:hover .tgc-button__arrow {
  transform: translateX(4px);
}

.tgc-meta {
  margin-top: 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--tgc-muted-color, #666);
}

.tgc-media {
  position: relative;
  min-height: var(--tgc-height, 380px);
  overflow: hidden;
  background: #111;
}

.tgc-media__background,
.tgc-media__background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tgc-media__background img {
  object-fit: cover;
  object-position: right center;
}

@media (max-width: 980px) {
  .tgc-card {
    grid-template-columns: 1fr;
  }

  .tgc-content {
    padding: 40px 28px 36px;
    order: 1;
  }

  .tgc-media {
    min-height: 280px;
    order: 0;
  }

  .tgc-title {
    font-size: var(--tgc-title-size-mobile, 36px);
  }

  .tgc-description {
    font-size: var(--tgc-text-size-mobile, 18px);
    margin-bottom: 22px;
  }

  .tgc-meta {
    margin-top: 22px;
  }
}

@media (max-width: 700px) {
  .gift-card {
    margin: 32px 0;
  }

  .tgc-content {
    padding: 32px 20px 28px;
  }

  .tgc-button {
    width: 100%;
    min-width: 0;
  }

  .tgc-media {
    min-height: 240px;
  }
}

/* Gift card page */
.page--gift-card {
  padding: 32px 0 72px;
}

.gc-page__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 40px;
  align-items: start;
}

.gc-page__cover {
  position: sticky;
  top: 96px;
}

.gc-page__cover-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  background: #480b17;
}

.gc-page__cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gc-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gc-form__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gc-form__label {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-ink);
}

.gc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gc-chips--fluid .gc-chip {
  flex: 1 1 calc(50% - 8px);
  justify-content: center;
  text-align: center;
}

.gc-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--color-line-strong, #ddd8d1);
  border-radius: 12px;
  background: #fff;
  color: var(--color-ink);
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gc-chip--md {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
}

.gc-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gc-chip.is-selected,
.gc-chip:has(input:checked) {
  border-color: var(--color-ink);
  background: #f7f4f0;
  box-shadow: inset 0 0 0 1px var(--color-ink);
}

.gc-chip:hover {
  border-color: var(--color-ink);
}

.gc-field__input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--color-line-strong, #ddd8d1);
  border-radius: 14px;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gc-field__input:focus {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px rgba(224, 170, 0, 0.18);
}

.gc-field__input.is-invalid {
  border-color: #b42318;
}

.gc-check {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  cursor: pointer;
}

.gc-check__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-ink);
}

.gc-check__box {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.gc-check__box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.gc-check__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--color-line-strong, #ddd8d1);
  border-radius: 6px;
  background: #fff;
  color: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.gc-check__icon svg {
  width: 14px;
  height: 14px;
}

.gc-check__box input:checked + .gc-check__icon {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}

.gc-schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gc-form__error,
.gc-form__success {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.gc-form__error {
  color: #b42318;
}

.gc-form__success {
  color: #1f6b3a;
}

.gc-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: var(--color-ink);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gc-form__submit:hover {
  background: #3a3128;
}

.gc-faq {
  max-width: 760px;
  margin: 64px 0 0;
}

.gc-faq__title {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-ink);
}

.gc-faq__list {
  display: flex;
  flex-direction: column;
}

.gc-faq__item {
  border-bottom: 1px solid var(--color-line, #ebe6df);
}

.gc-faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.gc-faq__chevron {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--color-muted);
  transition: transform 0.2s ease;
}

.gc-faq__item.is-open .gc-faq__chevron {
  transform: rotate(180deg);
}

.gc-faq__details {
  padding: 0 0 18px;
}

.gc-faq__details p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
}

.gc-faq__details p:last-child {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .gc-page__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gc-page__cover {
    position: static;
  }

  .gc-page__cover-frame {
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 700px) {
  .page--gift-card {
    padding: 20px 0 56px;
  }

  .gc-form__label {
    font-size: 18px;
  }

  .gc-chips--fluid .gc-chip {
    flex-basis: 100%;
  }

  .gc-schedule {
    grid-template-columns: 1fr;
  }

  .gc-faq {
    margin-top: 48px;
  }
}
