/* Contact Page Enhancements - Using existing theme styles */

.b-banner-simple__intro {
  max-width: 825px;
  padding-top: 20px;
}

/* Main Contact Content Grid */
.b-contact-main {
  background: white;
  padding: 60px 0;
}

.b-contact-main__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

@media only screen and (max-width: 67.5rem) {
  .b-contact-main__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.b-contact-main__showroom {
  background: color-mix(in srgb, var(--beig), white);
  padding: 46px;
  border-radius: 10px;
}

/* Staff Highlight Component */
.b-staff-highlight {
  background-color: color-mix(in srgb, var(--beig), white);
  padding: 25px 25px 25px 25px; /* Reset to normal padding since image is now at bottom */
  border-radius: 12px;
  margin-bottom: 25px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--beig);
  position: relative;
  min-height: 150px; /* Ensure enough height for the image */
}

@media only screen and (max-width: 47.5rem) {
  .b-staff-highlight {
    flex-direction: column;
    text-align: center;
    padding: 80px 20px 20px 20px; /* More top padding for mobile image popping out */
    margin-top: 100px; /* More space for image to pop out on mobile */
    min-height: auto; /* Remove min-height constraint on mobile */
  }
}

.b-staff-highlight__photo {
  width: 156px;
  height: 182px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  bottom: 0; /* Align bottom of image with bottom of card */
  left: 0px;
}

@media only screen and (max-width: 47.5rem) {
  .b-staff-highlight__photo {
    width: 140px;
    height: 160px; /* Even taller on mobile */
    top: -80px; /* Pop out of the top on mobile */
    bottom: auto; /* Reset bottom positioning on mobile */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally on mobile */
  }
}

.b-staff-highlight__info {
  margin-left: 170px;
}

@media only screen and (max-width: 47.5rem) {
  .b-staff-highlight__info {
    margin-left: 0; /* Reset on mobile since photo is centered */
    margin-top: 10px; /* Small spacing from centered photo */
  }
}

.b-staff-highlight__info h3 {
  color: #262635; /* Using existing --secondary */
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}

.b-staff-highlight__info p {
  color: #535862; /* Using existing --primary-text */
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* Response Promise */
.b-response-promise {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.b-response-promise__time {
  color: #059669;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 5px;
}

.b-response-promise__subtext {
  color: #065f46;
  font-size: 14px;
}

/* Alternative Contact */
.b-alternative-contact {
  text-align: center;
  margin-top: 25px;
  padding: 20px;
  background: #f2f3f4; /* Using existing --gray */
  border-radius: 8px;
  border: 1px solid #e9eaeb; /* Using existing --gray-200 */
}

.b-alternative-contact p {
  color: #535862; /* Using existing --primary-text */
  margin-bottom: 10px;
  font-size: 14px;
}

.b-phone-link {
  color: #20243f; /* Using existing --primary */
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.b-phone-link:hover {
  text-decoration: underline;
  color: #00b097; /* Using existing --green */
}

/* Showroom Section */
.b-showroom__benefit {
  color: #535862; /* Using existing --primary-text */
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.5;
}

.b-appointment-notice {
  background: #E6F7F5;
  border: 1px solid #e9eaeb;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}

.b-appointment-notice h4 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00b097;
}

.b-appointment-notice p {
  font-size: 14px;
  margin: 0;
}

.b-showroom-details {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e9eaeb; /* Using existing --gray-200 */
  margin-bottom: 25px;
}

@media only screen and (max-width: 47.5rem) {
  .b-showroom-details {
    padding: 20px;
  }
}

.b-showroom-hours {
  margin-bottom: 20px;
}

.b-showroom-hours h4 {
  color: #262635; /* Using existing --secondary */
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.b-hours-list {
  color: #535862; /* Using existing --primary-text */
  font-size: 14px;
  line-height: 1.6;
}

.b-showroom-address {
  color: #535862; /* Using existing --primary-text */
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.4;
}

.b-showroom-address address {
  font-style: normal;
}

.b-showroom-phone {
  font-size: 20px;
  font-weight: 700;
  color: #20243f; /* Using existing --primary */
  margin-bottom: 20px;
}

/* Override the existing e-btn styles for our specific buttons */
.b-showroom-details .e-btn {
  background: #20243f; /* Using existing --primary */
  border: 1px solid #20243f;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease;
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
}

.b-showroom-details .e-btn:hover {
  background: #00b097; /* Using existing --green */
  border-color: #00b097;
}

.b-showroom-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.b-showroom-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.b-banner-simple {
  margin-bottom: 0px;
}

@media only screen and (max-width: 47.5rem) {
  .b-contact-main {
    padding: 40px 0;
  }
  
  .b-contact-main__grid {
    gap: 40px;
  }
  
  .b-staff-highlight__photo {
    margin-bottom: 15px;
  }
  
  .b-showroom-image img {
    height: 250px;
  }
}

