/* ============================================================================
📁 FILE: store-terms.css
📄 PURPOSE: Styling for the Terms & Legal page info section
🔄 VERSION: Theme-tokenized (no hex)
============================================================================ */

.store-info-section-wrapper {
  width: calc(100% - 0px); /* Leaves 4px padding on left & right */
  margin: 4px auto 0 auto; /* Top spacing + center horizontally */
  padding: 20px;
  background: var(--color_surface);
  border: 2px solid var(--brand);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  color: var(--color_text);
}

/* 📦 Store Info Box */
.store-info-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px;
  background: var(--color_surface);
  border: 1px solid var(--color_border);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  margin-top: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color_text);
}

.store-info-box img {
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  border: 1px solid var(--color_border);
  padding: 8px;
  border-radius: 10px;
  background: transparent;
}

.store-info-box--image-right {
  flex-direction: row-reverse;
}

.store-info-box--image-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.store-info-box--image-center img {
  margin: 0 auto;
}

.store-info-text {
  flex: 1;
  min-width: 200px;
  color: var(--color_text);
  font-size: 1rem;
  line-height: 1.5;
}

.terms-rich-html p:first-child {
  margin-top: 0;
}

/* Responsive Tweak */
@media (max-width: 768px) {
  .store-info-box {
    flex-direction: column;
    text-align: center;
  }
  .store-info-box img {
    margin: 0 auto;
  }
}
