/* ==========================================================================
   SAFE HARBOR HOODIE PAGE — safe-harbor.css
   ========================================================================== */

/* --- Hero --- */
.sh-hero {
  background-color: #151517;
  padding: 6.5rem 0 4rem;
  text-align: center;
  color: #fff;
}
.sh-hero__logo {
  display: block;
  margin: 0 auto 2rem;
  max-width: 280px;
  height: auto;
}
.sh-hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}
.sh-hero__body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

/* --- Product section --- */
.sh-product {
  padding: 4rem 0 5rem;
  background: #f9f9f7;
}
.sh-product__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.sh-product__mockup {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.sh-product__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #211F20;
}
.sh-product__note {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* --- Form --- */
.sh-form__group {
  margin-bottom: 1.25rem;
}
.sh-form__group--half {
  flex: 1;
  min-width: 0;
}
.sh-form__row {
  display: flex;
  gap: 1rem;
}
.sh-form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #555;
  margin-bottom: 0.4rem;
}
.sh-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #211F20;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.sh-form__input:focus {
  outline: none;
  border-color: #7B7536;
  box-shadow: 0 0 0 3px rgba(123,117,54,0.15);
}

/* --- 100% Badge --- */
.sh-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #211F20;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.sh-badge__number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #C1852C;
  line-height: 1;
  flex-shrink: 0;
}
.sh-badge__text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}

/* Size buttons */
.sh-form__sizes {
  display: flex;
  gap: 0.5rem;
}
.sh-size-btn {
  flex: 1;
  padding: 0.75rem 0;
  border: 2px solid #d1d1d1;
  border-radius: 6px;
  background: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #211F20;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.sh-size-btn__stock {
  font-size: 0.7rem;
  font-weight: 400;
  color: #999;
}
.sh-size-btn:hover:not(:disabled) {
  border-color: #7B7536;
}
.sh-size-btn.active {
  border-color: #7B7536;
  background: #7B7536;
  color: #fff;
}
.sh-size-btn.active .sh-size-btn__stock {
  color: rgba(255,255,255,0.7);
}
.sh-size-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Donation input */
.sh-form__donation-wrap {
  position: relative;
}
.sh-form__dollar {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 600;
  color: #7B7536;
}
.sh-form__input--donation {
  padding-left: 2rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.sh-form__hint {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.3rem;
}

/* Pickup notice */
.sh-form__pickup {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #f0efe8;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}
.sh-form__pickup svg {
  flex-shrink: 0;
  color: #7B7536;
  margin-top: 2px;
}

/* Error message */
.sh-form__error {
  background: #fef2f2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid #fecaca;
}

/* Submit button */
.sh-form__submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* --- Overlays (success/cancel) --- */
/* --- Enlarge hint --- */
.sh-product__enlarge {
  text-align: center;
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.5rem;
}

/* --- Lightbox --- */
.sh-lightbox[hidden] {
  display: none;
}
.sh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.9);
  padding: 2rem;
  cursor: zoom-out;
}
.sh-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}
.sh-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}
.sh-lightbox__close:hover {
  color: #C1852C;
}

.sh-overlay[hidden] {
  display: none;
}
.sh-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(33,31,32,0.85);
  padding: 1rem;
}
.sh-overlay__card {
  background: #fff;
  border-radius: 12px;
  padding: 3rem;
  max-width: 480px;
  text-align: center;
}
.sh-overlay__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #211F20;
}
.sh-overlay__text {
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .sh-product__grid {
    grid-template-columns: 1fr;
  }
  .sh-hero {
    padding: 3rem 0 2.5rem;
  }
  .sh-hero__logo {
    max-width: 160px;
  }
  .sh-form__row {
    flex-direction: column;
    gap: 0;
  }
}
