/* ==========================================================================
   BRAND PAGE STYLES
   ========================================================================== */

/* Brand Page Container */
.sdp-brand-page {
  background: #000000;
  color: #ffffff;
  min-height: 100vh;
  padding: 0 1rem 3rem;
}

/* Breadcrumb */
.sdp-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: #888888;
}

.sdp-breadcrumb a {
  color: #10b981;
  text-decoration: none;
}

.sdp-breadcrumb a:hover {
  text-decoration: underline;
}

.sdp-breadcrumb .separator {
  margin: 0 0.5rem;
  color: #555555;
}

.sdp-breadcrumb .current {
  color: #cccccc;
}

/* Brand Header */
.sdp-brand-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  text-align: center;
  border-bottom: 1px solid #222222;
}

.sdp-brand-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #ffffff;
}

.sdp-brand-tagline {
  font-size: 1.125rem;
  color: #aaaaaa;
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
}

/* Brand Introduction */
.sdp-brand-intro {
  max-width: 900px;
  margin: 2rem auto;
  line-height: 1.7;
  color: #cccccc;
}

.sdp-brand-intro p {
  margin-bottom: 1rem;
}

.sdp-brand-intro strong {
  color: #ffffff;
}

/* Product Lines Grid */
.sdp-product-lines {
  max-width: 1200px;
  margin: 3rem auto;
}

.sdp-product-lines h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.sdp-product-lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.sdp-product-line-card {
  background: #111111;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.sdp-product-line-card:hover {
  border-color: #10b981;
  transform: translateY(-2px);
}

.sdp-product-line-card h3 {
  font-size: 1.125rem;
  color: #ffffff;
  margin: 0 0 0.5rem;
}

.sdp-product-line-card p {
  font-size: 0.875rem;
  color: #aaaaaa;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.sdp-product-line-use {
  display: inline-block;
  font-size: 0.75rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

/* Brand Products Section */
.sdp-brand-products {
  max-width: 1200px;
  margin: 3rem auto;
}

.sdp-brand-products h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.sdp-table-description {
  color: #888888;
  margin-bottom: 1.5rem;
}

.sdp-cta-box {
  background: #111111;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.sdp-button-primary {
  display: inline-block;
  background: #10b981;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.sdp-button-primary:hover {
  background: #059669;
}

.sdp-cta-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #888888;
}

.sdp-view-all {
  text-align: center;
  margin-top: 1.5rem;
}

.sdp-button {
  display: inline-block;
  color: #10b981;
  font-weight: 600;
  text-decoration: none;
}

.sdp-button:hover {
  text-decoration: underline;
}

.sdp-loading {
  text-align: center;
  color: #888888;
  padding: 3rem;
}

/* Brand FAQ Section */
.sdp-brand-faq {
  max-width: 900px;
  margin: 3rem auto;
}

.sdp-brand-faq h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.sdp-brand-faq .sdp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sdp-brand-faq .sdp-faq-item {
  background: #111111;
  border: 1px solid #333333;
  border-radius: 6px;
  overflow: hidden;
}

.sdp-brand-faq .sdp-faq-question {
  padding: 1rem 1.25rem;
  cursor: pointer;
  color: #ffffff;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sdp-brand-faq .sdp-faq-question::-webkit-details-marker {
  display: none;
}

.sdp-brand-faq .sdp-faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: #10b981;
  transition: transform 0.2s;
}

.sdp-brand-faq details[open] .sdp-faq-question::after {
  content: '−';
}

.sdp-brand-faq .sdp-faq-answer {
  padding: 0 1.25rem 1rem;
  color: #cccccc;
  line-height: 1.6;
}

.sdp-brand-faq .sdp-faq-answer p {
  margin: 0;
}

.sdp-brand-faq .sdp-faq-answer strong {
  color: #ffffff;
}

.sdp-brand-faq .sdp-faq-answer em {
  color: #aaaaaa;
}

/* Brand Stats Section */
.sdp-brand-stats {
  max-width: 1200px;
  margin: 3rem auto;
}

.sdp-brand-stats h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-align: center;
}

.sdp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.sdp-stat-card {
  background: #111111;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.sdp-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 0.25rem;
}

.sdp-stat-label {
  font-size: 0.875rem;
  color: #888888;
}

/* Related Brands Section */
.sdp-related-brands {
  max-width: 1200px;
  margin: 3rem auto;
  padding-top: 2rem;
  border-top: 1px solid #222222;
}

.sdp-related-brands h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.sdp-related-brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sdp-related-brand-link {
  background: #111111;
  border: 1px solid #333333;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.sdp-related-brand-link:hover {
  border-color: #10b981;
  background: #1a1a1a;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sdp-brand-title {
    font-size: 1.75rem;
  }
  
  .sdp-brand-tagline {
    font-size: 1rem;
  }
  
  .sdp-product-lines-grid {
    grid-template-columns: 1fr;
  }
  
  .sdp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sdp-stat-value {
    font-size: 1.5rem;
  }
  
  .sdp-button-primary {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .sdp-brand-page {
    padding: 0 0.75rem 2rem;
  }
  
  .sdp-brand-header {
    padding: 1.5rem 0;
  }
  
  .sdp-product-line-card {
    padding: 1rem;
  }
  
  .sdp-related-brands-grid {
    flex-direction: column;
  }
}

/* Comparison Page Styles - REPLACE the comparison section in brand-page-styles.css */

/* Comparison Table Section */
.sdp-comparison-table-section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.sdp-comparison-table-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.sdp-comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

.sdp-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #111111;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333333;
}

.sdp-comparison-table th,
.sdp-comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #222222;
}

.sdp-comparison-table th {
  background: #0a0a0a;
  color: #10b981;
  font-weight: 600;
  white-space: nowrap;
}

.sdp-comparison-table th:first-child {
  width: 20%;
}

.sdp-comparison-table td:first-child {
  color: #ffffff;
  font-weight: 600;
}

.sdp-comparison-table td:last-child {
  color: #10b981;
  font-weight: 500;
}

.sdp-comparison-table tbody tr:hover {
  background: #1a1a1a;
}

.sdp-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive Comparison Table */
@media (max-width: 768px) {
  .sdp-comparison-table-section {
    padding: 0 0.5rem;
  }

  .sdp-comparison-table th,
  .sdp-comparison-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
  }
  
  .sdp-comparison-table th:first-child,
  .sdp-comparison-table td:first-child {
    position: sticky;
    left: 0;
    background: #111111;
    z-index: 1;
  }
  
  .sdp-comparison-table th:first-child {
    background: #0a0a0a;
  }
}

/* Winner badges in comparison tables */
.sdp-comparison-table td:last-child {
  min-width: 150px;
}

/* Comparison page specific styles */
.sdp-comparison-page .sdp-brand-intro ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.sdp-comparison-page .sdp-brand-intro ul li {
  margin-bottom: 0.5rem;
  color: #b0b0b0;
}

.sdp-comparison-page .sdp-brand-intro ul li strong {
  color: #e5e5e5;
}
