/* Gift Card Page Styles */
.gc-page-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: linear-gradient(0deg, white 0%, white 100%);
  position: relative;
  padding: 0 120px;
  box-sizing: border-box;
}

/* Breadcrumb */
.gc-breadcrumb {
  padding: 2px 0 20px 0;
  color: #737373;
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 20px;
}

/* Main Content Layout */
.gc-main-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 60px;
}

.gc-left-column {
  flex: 1 1 65%;
  max-width: 65%;
  min-width: 400px;
}

.gc-right-column {
  flex: 0 0 30%;
  width: 30%;
  max-width: 450px;
  height: auto;
  position: sticky;
  top: 265px;
  align-self: flex-start;
}

/* Title */
.gc-title {
  width: 766px;
  color: var(--Color-Scheme-1-Text, black);
  font-size: 64px;
  font-family: 'Passion One', cursive;
  font-weight: 400;
  line-height: 64px;
  margin: 0 0 40px 0;
}

/* Form */
.gc-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Sections */
.gc-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 690px;
}

.gc-section-title {
  color: var(--Color-Scheme-1-Text, black);
  font-size: 24px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 31.2px;
  margin: 0;
}

/* Amount Selection */
.gc-amounts-container {
  width: 690px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gc-amounts-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.gc-amount-pill {
  display: flex;
  cursor: pointer;
}

.gc-amount-pill input[type='radio'] {
  display: none;
}

.gc-amount-pill span {
  width: 122px;
  padding: 8px 24px;
  border-radius: 50px;
  outline: 1px rgba(0, 0, 0, 0.2) solid;
  outline-offset: -1px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--Color-Scheme-1-Text, black);
  font-size: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 28px;
  transition: all 0.3s ease;
}

.gc-amount-pill input[type='radio']:checked + span {
  background: #0db4e9;
  color: white;
  outline-color: #0db4e9;
}

/* Custom Amount */
.gc-custom-amount-container {
  width: 100%;
}

.gc-custom-label {
  display: block;
  cursor: pointer;
}

.gc-custom-label input[type='radio'] {
  display: none;
}

.gc-custom-field {
  padding: 12px 20px;
  border-radius: 22px;
  outline: 1px #737373 solid;
  outline-offset: -1px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
}

.gc-custom-label-text {
  color: #737373;
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 20px;
}

.gc-custom-input-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gc-custom-placeholder {
  color: #737373;
  font-size: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 28px;
}

.gc-euro-symbol {
  color: rgba(0, 0, 0, 0.2);
  font-size: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 28px;
}

#gc_custom_amount {
  border: none;
  outline: none;
  background: transparent;
  color: #737373;
  font-size: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 28px;
  width: 200px;
}

.gc-custom-label input[type='radio']:checked + .gc-custom-field {
  outline-color: #0db4e9;
}

/* Delivery Method */
.gc-delivery-method {
  width: 690px;
}

.gc-delivery-option {
  display: flex;
  padding: 12px 20px;
  border-radius: 22px;
  outline: 1px rgba(0, 0, 0, 0.2) solid;
  outline-offset: -1px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.gc-delivery-content {
  flex: 1;
}

.gc-delivery-content span {
  color: rgba(0, 0, 0, 0.2);
  font-size: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 28px;
}

.gc-radio-button {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  outline: 1.25px rgba(0, 0, 0, 0.2) solid;
  outline-offset: -1.25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gc-radio-inner {
  width: 12.5px;
  height: 12.5px;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  border-radius: 50%;
}

/* Form Fields */
.gc-form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 690px;
}

.gc-input-field {
  padding: 12px 20px;
  border-radius: 22px;
  outline: 1px #737373 solid;
  outline-offset: -1px;
}

.gc-input-field input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #737373;
  font-size: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 28px;
}

.gc-input-field input::placeholder {
  color: #737373;
}

/* Textarea */
.gc-textarea-field {
  width: 690px;
  height: 102px;
  padding: 12px 20px;
  border-radius: 22px;
  outline: 1px #737373 solid;
  outline-offset: -1px;
}

.gc-textarea-field textarea {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  resize: none;
  color: #737373;
  font-size: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 28px;
}

.gc-textarea-field textarea::placeholder {
  color: #737373;
}

/* Date Field */
.gc-date-field {
  width: 688px;
  padding: 12px 20px;
  border-radius: 22px;
  outline: 1px #737373 solid;
  outline-offset: -1px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gc-date-field label {
  color: #737373;
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 20px;
}

.gc-date-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gc-date-placeholder {
  color: rgba(0, 0, 0, 0.2);
  font-size: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 28px;
}

/* Add to Cart Button */
.gc-add-to-cart-btn {
  width: 688px;
  padding: 16px 40px;
  background: #0db4e9;
  border-radius: 50px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  transition: all 0.3s ease;
  margin-top: 40px;
}

.gc-add-to-cart-btn:hover {
  background: #0a9bc7;
  transform: translateY(-2px);
}

/* Gift Card Preview */
.gc-card-preview {
  width: 100%;
  height: 400px;
  border-radius: 19.53px 488.24px 488.24px 19.53px;
  background: linear-gradient(135deg, #0db4e9 0%, #0a9bc7 100%);
  position: relative;
  overflow: hidden;
}

.gc-card-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.gc-card-text {
  position: absolute;
  left: 74px;
  top: 60px;
  color: white;
  font-size: 94px;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  line-height: 98px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gc-gift-text {
  display: block;
}

.gc-card-circle {
  position: absolute;
  width: 178px;
  height: 178px;
  right: 180px;
  top: 180px;
  background: linear-gradient(141deg, white 0%, #cecece 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gc-card-inner-circle {
  width: 121px;
  height: 121px;
  border-radius: 50%;
  border: 1px #c3c3c3 solid;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gc-card-dot {
  width: 20px;
  height: 20px;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  border-radius: 50%;
}

.gc-card-logo {
  position: absolute;
  bottom: 44px;
  left: 74px;
  width: 241px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Passion One', cursive;
  font-size: 24px;
  color: #0db4e9;
  font-weight: bold;
}

.gc-card-logo::after {
  content: 'EXIT MUSIC';
}

/* Effetti di hover e focus */
.gc-input-field:focus-within,
.gc-textarea-field:focus-within,
.gc-date-field:focus-within,
.gc-custom-field:focus-within {
  outline-color: #0db4e9;
  box-shadow: 0 0 0 3px rgba(13, 180, 233, 0.1);
}

.gc-amount-pill:hover span {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gc-delivery-option:hover {
  outline-color: #0db4e9;
  transform: translateY(-1px);
}

/* Animazioni */
.gc-amount-pill span,
.gc-delivery-option,
.gc-input-field,
.gc-textarea-field,
.gc-date-field {
  transition: all 0.3s ease;
}

/* Stati di errore */
.gc-input-field.error,
.gc-textarea-field.error,
#gc_custom_amount.error {
  outline-color: #ff4444;
}

/* Loading state per il pulsante */
.gc-add-to-cart-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.gc-add-to-cart-btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 1400px) {
  .gc-main-content {
    gap: 20px;
  }

  .gc-left-column {
    flex: 1 1 70%;
    max-width: 70%;
    min-width: 350px;
  }

  .gc-right-column {
    flex: 0 0 25%;
    width: 25%;
  }

  .gc-card-preview {
    height: 350px;
  }

  /* Riduco il form mantenendo il layout side-by-side */
  .gc-amounts-container,
  .gc-form-fields,
  .gc-textarea-field,
  .gc-date-field,
  .gc-add-to-cart-btn,
  .gc-delivery-method,
  .gc-input-field {
    width: 100%;
    max-width: 550px;
  }
}

@media (max-width: 1200px) {
  .gc-page-container {
    padding: 0 40px;
  }

  .gc-main-content {
    gap: 15px;
  }

  .gc-left-column {
    flex: 1 1 75%;
    max-width: 75%;
    min-width: 300px;
  }

  .gc-right-column {
    flex: 0 0 20%;
    width: 20%;
  }

  .gc-card-preview {
    height: 300px;
  }

  /* Form ancora più compatto */
  .gc-amounts-container,
  .gc-form-fields,
  .gc-textarea-field,
  .gc-date-field,
  .gc-add-to-cart-btn,
  .gc-delivery-method {
    width: 100%;
    max-width: 480px;
  }

  .gc-right-column {
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 0 auto;
  }

  .gc-title {
    font-size: 48px;
    line-height: 48px;
    width: 100%;
  }

  .gc-amounts-container,
  .gc-form-fields,
  .gc-textarea-field,
  .gc-date-field,
  .gc-add-to-cart-btn,
  .gc-delivery-method {
    width: 100%;
    max-width: 690px;
  }
}

@media (max-width: 992px) {
  .gc-page-container {
    padding: 0 30px;
  }

  .gc-main-content {
    gap: 10px;
  }

  .gc-left-column {
    flex: 1 1 80%;
    max-width: 80%;
    min-width: 250px;
  }

  .gc-right-column {
    flex: 0 0 15%;
    width: 15%;
  }

  .gc-card-preview {
    height: 200px;
  }

  /* Form ulteriormente compatto per mantenere side-by-side */
  .gc-amounts-container,
  .gc-form-fields,
  .gc-textarea-field,
  .gc-date-field,
  .gc-add-to-cart-btn,
  .gc-delivery-method {
    width: 100%;
    max-width: 400px;
  }

  .gc-title {
    font-size: 42px;
    line-height: 42px;
  }
}

@media (max-width: 768px) {
  .gc-page-container {
    padding: 0 20px;
  }

  /* Solo ora passo al layout verticale */
  .gc-main-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .gc-left-column {
    flex: none;
    width: 100%;
    max-width: 600px;
  }

  .gc-right-column {
    flex: none;
    width: 100%;
    max-width: 500px;
    position: static;
    align-self: auto;
  }

  .gc-card-preview {
    height: 350px;
  }

  .gc-breadcrumb {
    padding: 100px 0 20px 0;
    font-size: 14px;
  }

  .gc-title {
    font-size: 36px;
    line-height: 36px;
  }

  /* Ripristino le dimensioni del form */
  .gc-amounts-container,
  .gc-form-fields,
  .gc-textarea-field,
  .gc-date-field,
  .gc-add-to-cart-btn,
  .gc-delivery-method {
    width: 100%;
    max-width: 600px;
  }

  .gc-amounts-grid {
    flex-direction: column;
  }

  .gc-amount-pill span {
    width: 100%;
  }

  .gc-card-text {
    font-size: 60px;
    line-height: 60px;
    left: 30px;
    top: 30px;
  }

  .gc-card-circle {
    width: 120px;
    height: 120px;
    right: 60px;
    top: 120px;
  }

  .gc-card-inner-circle {
    width: 80px;
    height: 80px;
  }

  .gc-card-dot {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 480px) {
  .gc-page-container {
    padding: 0 15px;
  }

  .gc-main-content {
    gap: 15px;
  }

  .gc-right-column {
    max-width: 100%;
    height: 280px;
  }

  .gc-title {
    font-size: 28px;
    line-height: 32px;
  }
}

/* Gift Card Image */
.gc-card-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.gc-card-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(13, 180, 233, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gc-card-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(13, 180, 233, 0.3);
}

/* Print styles */
@media print {
  .gc-page-container {
    background: white !important;
    padding: 0 !important;
  }

  .gc-breadcrumb,
  .gc-add-to-cart-btn {
    display: none !important;
  }
}
