/* Header Override for Contact Page */
body:has(.contact-page) .main-header {
  background-color: #1a1a1a;
}

body:has(.contact-page) .main-header .brand-name a,
body:has(.contact-page) .main-header .center-nav a {
  color: #fff;
}

body:has(.contact-page) .main-header .icon-counter,
body:has(.contact-page) .main-header .cart-counter {
  color: #fff;
}

body:has(.contact-page) .main-header .icon-link svg {
  stroke: #fff;
}

/* Footer Override for Contact Page */
body:has(.contact-page) .site-footer {
  background-color: #1a1a1a;
}

body:has(.contact-page) .site-footer .mailing-list p,
body:has(.contact-page) .site-footer .footer-column-title,
body:has(.contact-page) .site-footer .footer-links a,
body:has(.contact-page) .site-footer .back-to-top-link,
body:has(.contact-page) .site-footer .footer-bottom-left p,
body:has(.contact-page) .site-footer .footer-bottom-center a,
body:has(.contact-page) .site-footer .shipping-selector {
  color: #fff;
}

body:has(.contact-page) .site-footer .footer-bottom {
  border-top: 1px solid #333;
}

/* Contact Hero Section */
.contact-hero-section {
  background-color: #1a1a1a;
  padding: 80px 40px 60px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-content {
  max-width: 800px;
  text-align: center;
}

.contact-title {
  color: #ffffff;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0 0 40px 0;
  text-transform: uppercase;
}

.contact-intro {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  margin: 0;
}

.contact-intro p {
  margin: 0 0 15px 0;
}

.contact-intro p:last-child {
  margin-bottom: 0;
}

/* Contact Form Section */
.contact-form-section {
  background-color: #ffffff;
  padding: 80px 40px;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  color: #000000;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #000000;
  background-color: transparent;
  color: #000000;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #666;
  background-color: #f9f9f9;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.checkbox-group label {
  color: #000000;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 0;
  cursor: pointer;
  text-transform: none;
}

.optional-text {
  color: #666;
  font-size: 11px;
  letter-spacing: 0.5px;
  margin-left: auto;
}

/* Submit Button */
.submit-button {
  width: 100%;
  padding: 18px 30px;
  background-color: #1a1a1a;
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.submit-button:hover {
  background-color: #333;
}

.submit-button:disabled {
  background-color: #999;
  cursor: not-allowed;
}

/* Contact Info Section */
.contact-info-section {
  background-color: #f5f5f5;
  padding: 80px 40px;
}

.contact-info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-title {
  color: #000000;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin: 0 0 40px 0;
  text-transform: uppercase;
  text-align: center;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info-item {
  text-align: center;
}

.contact-info-item h3 {
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0 0 15px 0;
  text-transform: uppercase;
}

.contact-info-item p {
  color: #333;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  margin: 0;
}

.contact-info-item a {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-info-item a:hover {
  opacity: 0.6;
}

/* Error States */
.form-group.error input,
.form-group.error textarea {
  border-color: #d32f2f;
}

.error-message {
  color: #d32f2f;
  font-size: 10px;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-hero-section {
    padding: 60px 30px 50px;
    min-height: 250px;
  }

  .contact-title {
    font-size: 40px;
  }

  .contact-intro {
    font-size: 13px;
  }

  .contact-form-section,
  .contact-info-section {
    padding: 60px 30px;
  }

  .contact-form-grid {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .contact-hero-section {
    padding: 50px 20px 40px;
    min-height: 200px;
  }

  .contact-title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .contact-intro {
    font-size: 12px;
  }

  .contact-form-section,
  .contact-info-section {
    padding: 50px 20px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
  }

  .contact-info-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .contact-hero-section {
    padding: 40px 15px 30px;
  }

  .contact-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .contact-intro {
    font-size: 11px;
  }

  .contact-form-section,
  .contact-info-section {
    padding: 40px 15px;
  }

  .form-group label {
    font-size: 10px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 12px;
    padding: 10px;
  }

  .submit-button {
    padding: 15px 25px;
    font-size: 11px;
  }

  .contact-info-title {
    font-size: 18px;
  }

  .contact-info-item h3 {
    font-size: 12px;
  }

  .contact-info-item p {
    font-size: 11px;
  }
}
