/* Deals Banner */
@import url('../../tours/banner/assets/style.css');
.deals-banner {
  position: relative;
  width: 100%;
  height: 35rem;
  overflow: hidden;
}

.deals-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.deals-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.deals-banner__content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.deals-banner__subtitle {
  position: relative;
  z-index: 2;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.deals-banner__title {
  position: relative;
  z-index: 2;
  font-size: 4rem;
  font-weight: 700;
  margin: 0;

  text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.3);
}

/* Loyal Deals Section */
.loyal-deals-section {
  width: 100%;
  background: #fff;
  padding: 4rem 0;
}

.loyal-deals-content {
  max-width: 50rem;
  margin: 0 auto;
}

.loyal-deals-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 2rem;

  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.loyal-deals-intro {
  margin-bottom: 3rem;
}

.loyal-deals-text,
.loyal-deals-description,
.loyal-deals-feedback,
.loyal-deals-duration {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin: 0 0 1.5rem;
}

.loyal-deals-discount {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 1.5rem;
}

.loyal-deals-text .highlight,
.loyal-deals-discount .highlight,
.loyal-deals-description .highlight {
  background: #ff4444;
  color: #fff;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

.loyal-deals-form-wrapper {
  margin-top: 3rem;
}

.loyal-deals-form-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 2rem;

}

/* Form Styles */
.loyal-deals-form-content {
  margin-top: 2rem;
}

.loyal-deals-form-content .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.loyal-deals-form-content .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.loyal-deals-form-content .form-group label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.loyal-deals-form-content .wpcf7-form-control-wrap {
  position: relative;
}

.loyal-deals-form-content input[type="text"],
.loyal-deals-form-content input[type="email"],
.loyal-deals-form-content input[type="tel"],
.loyal-deals-form-content textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: #333;
  background: #fff;
  border: 0.0625rem solid #ddd;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.loyal-deals-form-content input[type="text"]:focus,
.loyal-deals-form-content input[type="email"]:focus,
.loyal-deals-form-content input[type="tel"]:focus,
.loyal-deals-form-content textarea:focus {
  outline: none;
  border-color: #df6951;
  box-shadow: 0 0 0 0.1875rem rgba(223, 105, 81, 0.1);
}

.loyal-deals-form-content input[type="text"]::placeholder,
.loyal-deals-form-content input[type="email"]::placeholder,
.loyal-deals-form-content input[type="tel"]::placeholder,
.loyal-deals-form-content textarea::placeholder {
  color: #999;
}

.loyal-deals-form-content input[type="submit"] {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #df6951;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;

  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.loyal-deals-form-content input[type="submit"]:hover {
  background: #c55a45;
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.5rem rgba(223, 105, 81, 0.3);
}

.loyal-deals-form-content input[type="submit"]:active {
  transform: translateY(0);
}

/* Error Labels */
.loyal-deals-form-content .error-label {
  display: block !important;
  visibility: visible !important;
  color: #df6951;
  font-size: 0.875rem;
  margin-top: 0.375rem;
  font-weight: 500;
}

/* Hide default CF7 outputs */
.loyal-deals-form-content .screen-reader-response,
.loyal-deals-form-content .wpcf7-not-valid-tip,
.loyal-deals-form-content .wpcf7-response-output {
  display: none !important;
}

/* Success Popup */
.loyal-deals-success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.loyal-deals-success-popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.loyal-deals-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(0.25rem);
}

.loyal-deals-success-content {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.3);
  max-width: 32rem;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.loyal-deals-success-popup.active .loyal-deals-success-content {
  transform: scale(1);
}

.loyal-deals-success-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 0.0625rem solid #e8e8e8;
}

.loyal-deals-success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;

}

.loyal-deals-success-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #666;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loyal-deals-success-close:hover {
  color: #df6951;
}

.loyal-deals-success-body {
  padding: 2rem;
  text-align: center;
}

.loyal-deals-success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.loyal-deals-success-icon svg {
  width: 4rem;
  height: 4rem;
  background: rgba(223, 105, 81, 0.1);
  border-radius: 50%;
  padding: 1rem;
}

.loyal-deals-success-message {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* Different Deals Section */
.diff-deals-section {
  width: 100%;
  background: #f8f8f8;
  padding: 4rem 0;
}

.diff-deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 2rem;
}

.diff-deal-card {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 0.0625rem solid #e8e8e8;
}

.diff-deal-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  border-color: #df6951;
}
.hidden-fields-container {
  display: none;
}

.diff-deal-image {
  width: 100%;
  height: 12rem;
  overflow: hidden;
  background: #f0f0f0;
}

.diff-deal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.diff-deal-card:hover .diff-deal-image img {
  transform: scale(1.05);
}

.diff-deal-content {
  padding: 1.5rem;
}

.diff-deal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.diff-deal-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #666;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.diff-deal-code-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
  padding: 0.875rem;
  background: #f8f8f8;
  border-radius: 0.5rem;
  border: 0.0625rem solid #e8e8e8;
}

.diff-deal-code-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.diff-deal-code-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}

.diff-deal-code-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #df6951;

  letter-spacing: 0.05em;
/*   word-break: break-all; */
}

.diff-deal-copy-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #df6951;
  background: #fff;
  border: 0.0625rem solid #df6951;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.diff-deal-copy-btn:hover {
  background: #df6951;
  color: #fff;
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.125rem 0.5rem rgba(223, 105, 81, 0.3);
}

.diff-deal-copy-btn:active {
  transform: translateY(0);
}

.diff-deal-copy-btn.copied {
  background: #4caf50;
  border-color: #4caf50;
  color: #fff;
}

.diff-deal-copy-btn.copied .copy-icon {
  display: none;
}

.diff-deal-copy-btn.copied .check-icon {
  display: block !important;
}

.diff-deal-copy-btn .copy-icon,
.diff-deal-copy-btn .check-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.diff-deal-meta {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  color: #999;
}

.diff-deal-date {
  font-weight: 500;
}

.diff-deals-empty {
  text-align: center;
  padding: 3rem 2rem;
}

.diff-deals-empty p {
  font-size: 1.125rem;
  color: #666;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .deals-banner {
    height: 30rem;
  }

  .deals-banner__content {
    height: 100%;
  }

  .deals-banner__title {
    font-size: 2.5rem;
    padding: 0 1rem;
  }

  .deals-banner__subtitle {
    font-size: 1.25rem;
    padding: 0 1rem;
  }

  .loyal-deals-section {
    padding: 3rem 0;
  }

  .loyal-deals-title {
    font-size: 2rem;
  }

  .loyal-deals-text,
  .loyal-deals-description,
  .loyal-deals-feedback,
  .loyal-deals-duration {
    font-size: 0.9375rem;
  }

  .loyal-deals-discount {
    font-size: 1rem;
  }

  .loyal-deals-form-title {
    font-size: 1.125rem;
  }

  .loyal-deals-form-content input[type="text"],
  .loyal-deals-form-content input[type="email"],
  .loyal-deals-form-content input[type="tel"],
  .loyal-deals-form-content textarea {
    padding: 0.75rem 0.875rem;
    font-size: 0.9375rem;
  }

  .loyal-deals-form-content input[type="submit"] {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    width: 100%;
  }

  .loyal-deals-success-content {
    max-width: 90%;
  }

  .loyal-deals-success-header {
    padding: 1.25rem 1.5rem;
  }

  .loyal-deals-success-title {
    font-size: 1.25rem;
  }

  .loyal-deals-success-body {
    padding: 1.5rem;
  }

  .loyal-deals-success-icon svg {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
  }

  .loyal-deals-success-message {
    font-size: 1rem;
  }

  .diff-deals-section {
    padding: 3rem 0;
  }

  .diff-deals-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .diff-deal-image {
    height: 10rem;
  }

  .diff-deal-content {
    padding: 1.25rem;
  }

  .diff-deal-title {
    font-size: 1rem;
  }

  .diff-deal-code-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .diff-deal-code-display {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }

  .diff-deal-copy-btn {
    width: 100%;
    justify-content: center;
  }
}
