/* Related Stores Section - matches singlestorecategory two-column layout, tuned for store page width */

.related-stores-section {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 20px;
}

.related-stores-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.related-stores-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: #000066;
}

.related-stores-subtitle {
  font-size: 14px;
  color: #374151;
}

/* Use existing classes from styles.css where possible to match look */
.store-columns-container.related-stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.store-column-wrapper-left,
.store-column-wrapper-right {
  display: block;
}

.store-column {
  width: 100%;
}

.store-name-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.related-stores-section .store-info-left h2,
.related-stores-section .store-info-left h3,
.related-stores-section .store-info-left a h3,
.related-stores-section .store-info-left .store-title {
  margin: 0 0 6px 0;
  font-size: 18px !important;
  font-weight: 700 !important;
  font-family: 'FiraSans', sans-serif !important;
  color: #1f2937 !important;
  line-height: 1.3 !important;
}

/* Ultra-specific selector to beat any global h3 styles */
.related-stores-section .store-name-box .store-info-left a > h3.store-title {
  margin: 0 0 6px 0 !important;
  font: 700 18px/1.3 'FiraSans', sans-serif !important;
  color: #1f2937 !important;
}

.related-stores-section .store-info-left h2 span,
.related-stores-section .store-info-left h3 span { font-weight: 700; }

/* Normalize link styles inside the store title */
.related-stores-section .store-info-left a { text-decoration: none; color: inherit; }
.related-stores-section .store-info-left a:hover { text-decoration: underline; }
.store-info-left p { margin: 0; font-size: 14px; color: #374151; }
.store-info-left p.active-codes { font-weight: 700; color: #000066; margin-top: 4px; }

.store-image-right img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.hr-line { height: 8px; }

@media (max-width: 1024px) {
  .related-stores-section { padding: 0 20px; }
}

@media (max-width: 768px) {
  .store-columns-container.related-stores {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .related-stores-header h2 { font-size: 22px; }
  .store-name-box { grid-template-columns: 1fr; gap: 8px; }
  .store-image-right { justify-self: start; }
}


