

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.gift-cards {
  padding: 80px 0 60px;
}

.gift-cards .gc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0 40px;
}

.gift-cards .gc-left {
  flex: 0 0 calc(50% - 20px);
  max-width: calc(50% - 20px);
  display: flex;
  flex-direction: column;
}

.gift-cards .gc-right {
  flex: 0 0 calc(50% - 20px);
  max-width: calc(50% - 20px);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.gift-cards .gc-preview {
  margin-bottom: 20px;
}

.gift-cards .gc-preview__wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
  aspect-ratio: 597 / 377;
  position: relative;
  background: #fefefe;
  border: 1px solid transparent;
}

.gift-cards .gc-preview__item {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gift-cards .gc-preview__item.active {
  display: flex;
}

.gift-cards .gc-preview__item--premium img {
  width: 72%;
  height: auto;
  object-fit: contain;
}

.gift-cards .gc-preview__item--electronic img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gift-cards .gc-title-block {
  padding-top: 0;
}

.gift-cards .gc-title {
  font-size: 45px;
  line-height: 1.09;
  color: #231f20;
  margin-bottom: 14px;
}

.gift-cards .gc-title--mobile {
  display: none;
}

.gift-cards .gc-subtitle {
  font-size: 18px;
  line-height: 1.3;
  color: #231f20;
  margin-bottom: 30px;
}

.gift-cards .gc-types {
  display: flex;
  gap: 39px;
  margin-bottom: 30px;
}

.gift-cards .gc-types__item {
  flex: 0 0 calc(50% - 19.5px);
  cursor: pointer;
}

.gift-cards .gc-types__img {
  width: 100%;
  height: 183px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
  background: #fefefe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.gift-cards .gc-types__item.active .gc-types__img {
  border-color: #e3bf74;
}

.gift-cards .gc-types__img img {
  max-width: 75%;
  max-height: 80%;
  object-fit: contain;
}

.gift-cards .gc-types__img--phone img {
  max-width: 60%;
}

.gift-cards .gc-types__label {
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
}

.gift-cards .gc-desc {
  font-size: 18px;
  line-height: 1.45;
  color: #231f20;
}

.gift-cards .gc-desc p {
  margin-bottom: 16px;
}

.gift-cards .gc-desc p:last-child {
  margin-bottom: 0;
}

.gift-cards .gc-mobile-desc {
  display: none;
}

.gift-cards .gc-form {
  min-width: 0;
  overflow: hidden;
}

.gift-cards .gc-label {
  font-size: 18px;
  line-height: 1.09;
  color: #231f20;
  margin-bottom: 15px;
}

.gift-cards .gc-required {
  color: #ea5e5e;
}

.gift-cards .gc-designs {
  margin-bottom: 30px;
}

.gift-cards .gc-designs__slider {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.gift-cards .gc-designs__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s;
}

.gift-cards .gc-designs__arrow:hover {
  opacity: 0.6;
}

.gift-cards .gc-designs__arrow svg {
  display: block;
}

.gift-cards [id^="designsSwiper"] {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.gift-cards .gc-designs__card {
  height: 108px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.gift-cards .gc-designs__card.active {
  border-color: #e3bf74;
}

.gift-cards .gc-designs__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gift-cards .gc-nominals {
  margin-bottom: 30px;
}

.gift-cards .gc-nominals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 14px;
}

.gift-cards .gc-nominals__btn {
  height: 50px;
  border-radius: 10px;
  border: 1px solid #878787;
  font-size: 18px;
  line-height: 1.09;
  color: #231f20;
  background: transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.gift-cards .gc-nominals__btn.active {
  background: #e3bf74;
  border-color: #e3bf74;
}

.gift-cards .gc-nominals__btn:hover:not(.active) {
  border-color: #e3bf74;
}

.gift-cards .gc-nominals__input-wrap {
  grid-column: 2 / -1;
}

.gift-cards .gc-nominals__input {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  border: 1px solid #878787;
  padding: 0 20px;
  font-size: 18px;
  line-height: 1.09;
  color: #231f20;
  background: transparent;
  transition: border-color 0.3s ease;
}

.gift-cards .gc-nominals__input::placeholder {
  color: #878787;
}

.gift-cards .gc-nominals__input:focus {
  border-color: #e3bf74;
}

.gift-cards .gc-phone {
  margin-bottom: 30px;
}

.gift-cards .gc-input {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  border: 1px solid #878787;
  padding: 0 20px;
  font-size: 18px;
  line-height: 1.09;
  transition: border-color 0.3s ease;
}

.gift-cards .gc-input::placeholder {
  color: #878787;
}

.gift-cards .gc-input:focus {
  border-color: #e3bf74;
}

.gift-cards .gc-input.error {
  border-color: #e74c3c;
}

.gift-cards .gc-greeting {
  margin-bottom: 30px;
}

.gift-cards .gc-textarea {
  width: 100%;
  min-height: 98px;
  border-radius: 10px;
  border: 1px solid #878787;
  padding: 15px 20px;
  font-size: 18px;
  line-height: 1.3;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.gift-cards .gc-textarea:focus {
  border-color: #e3bf74;
}

.gift-cards .gc-datetime {
  margin-bottom: 30px;
}

.gift-cards .gc-datetime__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.gift-cards .gc-datetime__header .gc-label {
  margin-bottom: 0;
}

.gift-cards .gc-datetime__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gift-cards .gc-datetime__toggle-btn {
  font-size: 18px;
  line-height: 1.09;
  color: #e3bf74;
  text-decoration: underline;
  padding: 0;
  transition: color 0.3s ease;
}
.gc-popup__content div {
  margin-bottom: 12px;
}
.gift-cards .gc-datetime__toggle-btn.active {
  color: #231f20;
  text-decoration: none;
}

.gift-cards .gc-datetime__sep {
  font-size: 18px;
  color: #231f20;
}

.gift-cards .gc-datetime__note {
  font-size: 18px;
  line-height: 1.09;
  color: #231f20;
}

.gift-cards .gc-datepicker {
  margin-top: 15px;
}

.gift-cards .gc-calendar {
  margin-bottom: 15px;
}

.gift-cards .gc-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.gift-cards .gc-calendar__title {
  font-size: 18px;
  line-height: 1.09;
  color: #231f20;
}

.gift-cards .gc-calendar__nav {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s;
}

.gift-cards .gc-calendar__nav:hover {
  opacity: 0.6;
}

.gift-cards .gc-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.gift-cards .gc-calendar__day-label {
  font-size: 13px;
  line-height: 1;
  color: #878787;
  text-align: center;
  padding: 4px 0 8px;
}

.gift-cards .gc-calendar__cell {
  height: 38px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1;
  color: #231f20;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  background: transparent;
}

.gift-cards .gc-calendar__cell:hover:not(.gc-calendar__cell--active):not(.gc-calendar__cell--disabled):not(.gc-calendar__cell--empty) {
  border-color: #c5a35f;
}

.gift-cards .gc-calendar__cell--active {
  background: #e3bf74;
  border-color: #e3bf74;
  color: #fff;
}

.gift-cards .gc-calendar__cell--disabled {
  color: #ccc;
  cursor: default;
}

.gift-cards .gc-calendar__cell--empty {
  cursor: default;
}

.gift-cards .gc-datepicker__time {
  display: flex;
  gap: 15px;
}

.gift-cards .gc-time-select {
  width: 106px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid #878787;
  padding: 0 30px 0 16px;
  font-size: 18px;
  line-height: 1.09;
  color: #231f20;
  background: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='6' viewBox='0 0 11 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5.5 5L10 1' stroke='%23231F20' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  flex-shrink: 0;
}

.gift-cards .gc-submit {
  width: 100%;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(90deg, #e3bf74 0%, #f6ead1 47.6%, #e3bf74 99.52%);
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.18px;
  color: #000;
  margin-bottom: 30px;
  transition: opacity 0.3s ease;
  cursor: pointer;
  border: none;
}

.gift-cards .gc-submit:hover {
  opacity: 0.85;
}

.gift-cards .gc-submit.loading {
  pointer-events: none;
  opacity: 0.6;
}

.gift-cards .gc-submit.loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: gc-spin 0.6s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes gc-spin {
  to { transform: rotate(360deg); }
}

.gift-cards .gc-terms {
  font-size: 18px;
  line-height: 1.09;
  color: #878787;
  display: inline-block;
  transition: color 0.3s ease;
}

.gift-cards .gc-terms:hover {
  color: #e3bf74;
}

.gift-cards .gc-step2__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.gift-cards .gc-step2__back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  line-height: 1.09;
  color: #878787;
  padding: 0;
  transition: color 0.3s ease;
  cursor: pointer;
  border: none;
  background: none;
}

.gift-cards .gc-step2__back:hover {
  color: #e3bf74;
}

.gift-cards .gc-step2__back svg {
  display: block;
}

.gift-cards .gc-step2 .gc-step2__title {
  font-size: 24px;
  line-height: 1.2;
  color: #231f20;
}

.gift-cards .gc-step2 .gc-step2__field {
  margin-bottom: 20px;
}

.gift-cards .gc-success {
  text-align: center;
  padding: 60px 20px;
}

.gift-cards .gc-success .gc-success__icon {
  margin-bottom: 24px;
}

.gift-cards .gc-success .gc-success__icon svg {
  display: inline-block;
}

.gift-cards .gc-success .gc-success__title {
  font-size: 30px;
  line-height: 1.2;
  color: #231f20;
  margin-bottom: 16px;
}

.gift-cards .gc-success .gc-success__text {
  font-size: 18px;
  line-height: 1.45;
  color: #878787;
}

.gift-cards .gc-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 16px;
  margin-bottom: 20px;
}

.gift-cards .gc-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.gift-cards .gc-checkbox .gc-checkbox__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid #231f20;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  margin-top: 1px;
}

.gift-cards .gc-checkbox input[type="checkbox"]:checked + .gc-checkbox__box {
  background: #e3bf74;
  border-color: #e3bf74;
}

.gift-cards .gc-checkbox input[type="checkbox"]:checked + .gc-checkbox__box::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -1px;
}

.gift-cards .gc-checkbox .gc-checkbox__text {
  color: #7b7b7b;
}

.gift-cards .gc-checkbox .gc-checkbox__link {
  color: #231f20;
  text-decoration: underline;
}

.gift-cards .gc-checkbox .gc-checkbox__link:hover {
  text-decoration: none;
}

.gift-cards .gc-form-error {
  margin-top: 14px;
  padding: 12px 16px;
  background: #fff0f0;
  border: 1px solid #e74c3c;
  border-radius: 8px;
  color: #e74c3c;
  font-size: 14px;
  line-height: 1.4;
}

.gc-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gc-popup-overlay.active {
  display: flex;
}

.gc-popup-overlay .gc-popup {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.gc-popup-overlay .gc-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #231f20;
  cursor: pointer;
  transition: opacity 0.2s;
  border: none;
  background: none;
}

.gc-popup-overlay .gc-popup__close:hover {
  opacity: 0.6;
}

.gc-popup-overlay .gc-popup__title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #231f20;
}

.gc-popup-overlay .gc-popup__content {
  font-size: 16px;
  line-height: 1.5;
  color: #231f20;
}

.gc-popup-overlay .gc-popup__content p {
  margin-bottom: 12px;
}

.gc-popup-overlay .gc-popup__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .gift-cards {
    padding: 60px 0 40px;
  }

  .gift-cards .gc-left {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }

  .gift-cards .gc-right {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }

  .gift-cards .gc-grid {
    gap: 0 30px;
  }

  .gift-cards .gc-title {
    font-size: 36px;
  }

  .gift-cards .gc-types__img {
    height: 150px;
  }

  .gift-cards .gc-types__label {
    font-size: 16px;
  }

  .gift-cards .gc-designs__card {
    height: 88px;
  }

  .gift-cards .gc-subtitle {
    font-size: 16px;
  }

  .gift-cards .gc-label {
    font-size: 16px;
  }

  .gift-cards .gc-nominals__btn {
    font-size: 16px;
    height: 46px;
  }

  .gift-cards .gc-nominals__input {
    height: 46px;
    font-size: 16px;
  }

  .gift-cards .gc-input {
    font-size: 16px;
    height: 46px;
  }

  .gift-cards .gc-textarea {
    font-size: 16px;
  }

  .gift-cards .gc-submit {
    font-size: 16px;
    height: 55px;
  }

  .gift-cards .gc-desc {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .gift-cards {
    padding: 20px 0 40px;
  }

  .gift-cards .gc-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
  }

  .gift-cards .gc-left,
  .gift-cards .gc-right {
    display: contents;
  }

  .gift-cards .gc-title-block { order: 1; width: 100%; }
  .gift-cards .gc-types       { order: 2; width: 100%; }
  .gift-cards .gc-mobile-desc { order: 3; width: 100%; }
  .gift-cards .gc-form        { order: 4; width: 100%; min-width: 0; }
  .gift-cards .gc-preview     { display: none; }
  .gift-cards .gc-desc        { display: none; }

  .gift-cards .gc-title {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .gift-cards .gc-title--desktop {
    display: none;
  }

  .gift-cards .gc-title--mobile {
    display: block;
  }

  .gift-cards .gc-subtitle {
    display: none;
  }

  .gift-cards .gc-types {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .gift-cards .gc-types::-webkit-scrollbar {
    display: none;
  }

  .gift-cards .gc-types__item {
    flex: 0 0 calc(50% - 6px);
  }

  .gift-cards .gc-types__img {
    height: 157px;
  }

  .gift-cards .gc-types__label {
    font-size: 14px;
  }

  .gift-cards .gc-desc {
    display: none;
  }

  .gift-cards .gc-mobile-desc {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: #231f20;
    margin-bottom: 20px;
  }

  .gift-cards .gc-label {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .gift-cards .gc-designs {
    margin-bottom: 20px;
  }

  .gift-cards .gc-designs__arrow {
    display: none;
  }

  .gift-cards .gc-designs__slider {
    gap: 0;
  }

  .gift-cards .gc-designs__card {
    height: 66px;
  }

  .gift-cards .gc-nominals {
    margin-bottom: 20px;
  }

  .gift-cards .gc-nominals__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gift-cards .gc-nominals__btn {
    height: 40px;
    font-size: 14px;
  }

  .gift-cards .gc-nominals__input-wrap {
    grid-column: 1 / -1;
  }

  .gift-cards .gc-nominals__input {
    height: 50px;
    font-size: 14px;
    text-align: center;
  }

  .gift-cards .gc-nominals__input::placeholder {
    text-align: center;
  }

  .gift-cards .gc-phone {
    margin-bottom: 20px;
  }

  .gift-cards .gc-input {
    font-size: 14px;
    height: 50px;
  }

  .gift-cards .gc-greeting {
    margin-bottom: 20px;
  }

  .gift-cards .gc-textarea {
    font-size: 14px;
    min-height: 100px;
  }

  .gift-cards .gc-datetime {
    margin-bottom: 20px;
  }

  .gift-cards .gc-datetime__header {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
  }

  .gift-cards .gc-datetime__toggle-btn {
    font-size: 14px;
  }

  .gift-cards .gc-datetime__sep {
    font-size: 14px;
  }

  .gift-cards .gc-datetime__note {
    font-size: 14px;
  }

  .gift-cards .gc-submit {
    font-size: 16px;
    letter-spacing: -0.16px;
    height: 60px;
  }

  .gift-cards .gc-terms {
    font-size: 14px;
  }

  .gift-cards .gc-step2 {
    order: 4;
    width: 100%;
    min-width: 0;
  }

  .gift-cards .gc-step2 .gc-step2__title {
    font-size: 20px;
  }

  .gift-cards .gc-step2__back {
    font-size: 14px;
  }

  .gift-cards .gc-step2__header {
    margin-bottom: 20px;
  }

  .gift-cards .gc-step2 .gc-step2__field {
    margin-bottom: 16px;
  }

  .gift-cards .gc-success {
    order: 4;
    width: 100%;
    padding: 40px 10px;
  }

  .gift-cards .gc-success .gc-success__title {
    font-size: 24px;
  }

  .gift-cards .gc-success .gc-success__text {
    font-size: 14px;
  }

  .gift-cards .gc-calendar__title {
    font-size: 16px;
  }

  .gift-cards .gc-calendar__cell {
    height: 34px;
    font-size: 14px;
  }

  .gift-cards .gc-calendar__day-label {
    font-size: 12px;
  }

  .gift-cards .gc-datepicker__time {
    flex-direction: column;
    gap: 10px;
  }

  .gift-cards .gc-time-select {
    width: 100%;
    font-size: 14px;
  }

  .gc-popup-overlay .gc-popup {
    padding: 30px 20px;
  }

  .gc-popup-overlay .gc-popup__title {
    font-size: 20px;
  }

  .gc-popup-overlay .gc-popup__content {
    font-size: 14px;
  }
}
