/* ShopProp AEO Pages — Extends Location Styles */
@import url('../locations/styles.css');

/* TL;DR Box */
.tldr-box {
  background: var(--bg-light);
  padding: 32px;
  border-left: 4px solid #111111;
}

.tldr-box h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.tldr-box p {
  margin: 0;
  line-height: 1.8;
}

/* Ranked List */
.ranked-list {
  margin-top: 32px;
}

.ranked-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--divider-color);
}

.ranked-item:last-child {
  border-bottom: none;
}

.rank {
  font-size: 36px;
  font-weight: 300;
  color: var(--secondary-color);
  min-width: 50px;
  line-height: 1;
}

.ranked-content h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}

.ranked-content p {
  color: var(--secondary-color);
  margin: 0;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 24px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  text-align: left;
  border: 1px solid var(--divider-color);
}

.comparison-table th {
  background: #111111;
  color: #ffffff;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table tr:nth-child(even) {
  background: var(--bg-light);
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}

.checklist i {
  color: var(--primary-color);
  margin-top: 4px;
}

/* Citations List */
.citations-list {
  padding-left: 20px;
  margin: 24px 0;
}

.citations-list li {
  margin-bottom: 12px;
}

.citations-list a {
  color: var(--primary-color);
  transition: color 0.2s;
}

.citations-list a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Related Links */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.related-link {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--border-color);
  color: var(--heading-color);
  font-size: 14px;
  transition: all 0.2s;
}

.related-link:hover {
  border-color: #111111;
  background: var(--bg-light);
}

/* Facts Table (for brand-facts) */
.facts-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.facts-table tr {
  border-bottom: 1px solid var(--divider-color);
}

.facts-table th {
  text-align: left;
  padding: 16px 16px 16px 0;
  font-weight: 500;
  width: 200px;
  vertical-align: top;
  background: none;
  color: var(--heading-color);
  font-size: 14px;
}

.facts-table td {
  padding: 16px 0;
  vertical-align: top;
}

.license-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.license-list li {
  margin-bottom: 4px;
}

.license-list code {
  background: var(--bg-light);
  padding: 2px 8px;
  font-size: 13px;
  font-family: 'SF Mono', Monaco, monospace;
}

/* Footer update notice */
.footer-bottom .updated {
  margin-top: 8px;
  font-size: 12px;
  color: var(--secondary-color);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .ranked-item {
    flex-direction: column;
    gap: 8px;
  }
  
  .rank {
    font-size: 24px;
  }
  
  .comparison-table {
    font-size: 12px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 10px;
  }
  
  .related-links {
    flex-direction: column;
  }
  
  .related-link {
    text-align: center;
  }
  
  .facts-table th {
    width: 120px;
  }
}
