.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

.contact-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.contact-info-content {
  flex: 1;
}

.contact-actions {
  margin-top: 24px;
}

.contact-info h2,
.contact-form h2 {
  margin: 0;
  color: var(--primary);
  font-size: 1.45rem;
}

.contact-info address,
.contact-info p {
  margin: 15px 0 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.75;
}

.contact-info strong {
  color: var(--primary);
}

.contact-info > .button {
  margin-top: 18px;
}

.map-card {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #ddc8b6;
  border-radius: 12px;
  background: linear-gradient(135deg, #efe3d5, #f9f4ed);
  color: var(--secondary);
  box-sizing: border-box;
}

.contact-layout > .map-card {
  margin-top: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.contact-layout > .map-card .map-embed-container {
  flex: 1 1 280px;
  min-height: 280px;
  height: auto;
  aspect-ratio: auto;
  margin: 16px 0;
  width: 100%;
  max-width: 100%;
}

.contact-layout > .map-card .map-directions-btn {
  margin-top: auto;
}

.map-card,
.map-card:hover,
.map-embed-container,
.map-embed-container:hover {
  transform: none !important;
  scale: 1 !important;
}

.map-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.map-card-header svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.map-card-header strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary);
}

.map-card-header p {
  margin: 4px 0 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
}

.map-embed-container {
  position: relative;
  width: 100%;
  min-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d4c2b2;
  background: #eae0d5;
  box-shadow: 0 2px 8px rgba(62, 39, 35, .06);
}

.map-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.map-embed-container.is-active iframe,
.map-embed-container:focus-within iframe {
  pointer-events: auto;
}

.map-directions-btn {
  margin-top: 14px;
  text-decoration: none;
}

.map-directions-btn:hover {
  transform: none !important;
}

.contact-form {
  padding: 30px;
}

.contact-form>p {
  margin: 7px 0 20px;
  color: var(--muted);
}

@media (max-width:820px) {
.hero-grid,
  .split,
  .story-grid,
  .contact-layout,
  .product-detail,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width:560px) {
  .contact-info,
  .contact-form,
  .form-card {
    padding: 23px;
  }

  .map-card {
    padding: 18px 16px;
  }

  .map-embed-container {
    min-height: 190px;
  }
}
