/* Newsletter subscribe block — Alfies .subscribe-section (petshop theme tokens) */

.t1-subscribe-section.subscribe-section {
  background: linear-gradient(
    135deg,
    var(--theme-secondary, #0f2f2c) 0%,
    var(--theme-header-bg, #1a2b4b) 50%,
    var(--theme-header-nav-bg, #152238) 100%
  );
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.t1-subscribe-section.subscribe-section::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(0, 183, 47, 0.18) 0%,
    transparent 70%
  );
  top: -100px;
  right: -60px;
  pointer-events: none;
}

.t1-subscribe-section .container {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.t1-subscribe-section.subscribe-section h2 {
  font-family: var(--theme-font-serif, Georgia, serif) !important;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.15;
}

.t1-subscribe-section.subscribe-section > .container > p:not(.subscribe-note) {
    color: rgba(200, 228, 215, .78) !important;
    font-size: 15px;
    margin: 0 auto 28px;
    max-width: 520px;
    line-height: 1.55;
    font-weight: 600;
}

.t1-subscribe-section .subscribe-form {
  display: flex;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto;
  align-items: stretch;
}

.t1-subscribe-section .subscribe-form input[type="email"] {
  flex: 1;
  width: 350px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  padding: 0 16px;
  height: 46px;
  transition: border-color 0.16s ease;
}

.t1-subscribe-section .subscribe-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.45);
  outline: none;
}

.t1-subscribe-section .subscribe-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.t1-subscribe-section .subscribe-form button[type="submit"] {
  background: var(--theme-primary, #16a34a);
  color: var(--theme-text-inverse, #fff);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  padding: 0 22px;
  height: 46px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.16s ease,
    transform 0.12s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.t1-subscribe-section .subscribe-form button[type="submit"]:hover:not(:disabled) {
  background: var(--theme-accent-dark, #15803d);
  transform: translateY(-1px);
}

.t1-subscribe-section .subscribe-form button[type="submit"]:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.t1-subscribe-section .subscribe-note {
  color: rgba(200, 228, 215, .78) !important;
  font-size: 15px;
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.45;
  font-weight: 600;
}

.t1-subscribe-section .sr-only {
  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: 500px) {
  .t1-subscribe-section .subscribe-form {
    flex-direction: column;
  }

  .t1-subscribe-section .subscribe-form button[type="submit"],
  .t1-subscribe-section .subscribe-form input[type="email"] {
    width: 100%;
  }
}