/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* App Container */
.app {
  min-height: 100vh;
  background-color: #ffffff;
  color: #000000;
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styles */
header {
  text-align: center;
  margin-bottom: 15px;
  padding: 2rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.subheading {
  font-size: 1.1rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  line-height: 1.2;
}

/* Product Meta Styles */
.product-meta {
  margin: 1.5rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.product-meta p {
  margin: 0.75rem 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

.manufacturer strong,
.features strong {
  font-weight: 600;
}

.subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Table Styles */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  border: 1px solid #eaeaea;
  background: white;
}

.provider-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 800px;
}

.provider-table th {
  background-color: #f8f9fa;
  color: #555;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 10;
}

.provider-table th:not(:last-child) {
  border-right: 1px solid #eaeaea;
}

.provider-row {
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f5f5f5;
}

.provider-row:last-child {
  border-bottom: none;
}

.provider-row:hover {
  background-color: #f9f9f9;
}

.provider-cell {
  padding: 1.25rem 1.5rem;
  vertical-align: middle;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px solid #f0f0f0;
}

.provider-name {
  font-weight: 600;
  color: #1a1a1a;
}

.provider-specialization {
  color: #2c3e50;
}

.provider-competence {
  color: #4a5568;
  font-size: 0.9rem;
}

/* Black details button with white text */
.details-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
}

.details-button:hover {
  background-color: #333333;
  border-color: #333333;
  color: #ffffff;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .app {
    padding: 1.5rem 1rem;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .provider-cell {
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 768px) {
  header {
    margin-bottom: 2rem;
    padding: 1.5rem 0;
  }

  .title {
    font-size: 1.75rem;
  }

  .subheading {
    font-size: 1rem;
  }

  .table-container {
    overflow-x: hidden;
    border: none;
    box-shadow: none;
  }

  .provider-table {
    min-width: 100%;
    border: none;
  }

  .provider-table thead {
    display: none;
  }

  .provider-table .provider-row {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem 1rem 0.5rem 1rem;
    background: #fff;
    overflow: hidden;
  }

  .provider-table .provider-cell {
    display: block;
    padding: 0;
    border-bottom: none;
    text-align: left;
    margin-bottom: 0.5rem;
  }

  .provider-table .provider-cell:last-child {
    margin-bottom: 0;
    margin-top: 1rem;
  }

  .provider-table .provider-cell::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #666;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
  }

  .provider-table .provider-cell:first-child {
    margin-bottom: 1.25rem;
  }

  .provider-table .provider-cell:first-child::before,
  .provider-table .provider-cell:last-child::before {
    display: none;
  }

  .provider-table .provider-cell:first-child .provider-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
  }

  .provider-table .provider-cell:last-child {
    margin: 0.75rem -1rem 0 -1rem;
    padding: 0 1rem 1.5rem 1rem;
  }
  
  .provider-table .provider-cell:last-child a.details-link {
    display: block;
    text-align: center;
    width: 100%;
    border-radius: 0 0 8px 8px;
  }
}

/* Notice Styles */
.notice {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.6;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 0 12px 12px !important;
}

.notice p {
  color: #666;
}

/* Footer Styles */
.footer {
  padding: 40px 20px;
  color: #666;
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-divider {
  height: 1px;
  background-color: #f0f0f0;
  margin-bottom: 1.5rem;
  width: 100%;
}

.footer-cta {
  text-align: center;
}

.footer-cta p {
  margin: 9px;
}

.footer-cta a.cta-link {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  margin-left: 0.3rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid #aaa;
  padding-bottom: 1px;
}

.footer-cta a.cta-link:hover {
  color: #333;
  border-bottom-color: #333;
}

.footer-cta-container {
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 20px;
  padding: 1.5rem 2rem;
  background-color: rgba(0,0,0,0.02);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-info p {
  margin: 0.25rem 0;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-link {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #000;
  text-decoration: underline;
}

.footer-separator {
  color: #ddd;
  user-select: none;
}

/* Animation for row hover */
@keyframes fadeIn {
  from { opacity: 0.8; }
  to { opacity: 1; }
}

.provider-row {
  animation: fadeIn 0.3s ease-out;
}

/* Notice Section */
.notice {
  margin: 1.5rem 0 0 0;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #666;
  max-width: 100%;
  font-style: italic;
  text-align: left;
}

.notice p {
  margin: 0;
  padding: 0;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 0;
    margin-top: 3rem;
  }
  
  .footer-content {
    gap: 1.25rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-separator {
    display: none;
  }
}

/* CTA Mail Link */
.cta-mail {
  font-weight: 700;
  color: #000000;
  text-decoration: none;
}

.cta-mail:hover {
  text-decoration: underline;
}

/* Copyright Text */
.copyright {
  text-align: center;
  margin-top: 1rem;
}

/* Details Link */
.details-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.details-link:hover {
  background-color: #333333;
  color: #ffffff;
}

/* Company Details Page */
.company-details {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.company-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.company-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.company-info {
  display: grid;
  gap: 2rem;
}

.company-description h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.company-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a5568;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.fact-item {
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #000;
}

.fact-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.fact-item p {
  font-size: 1rem;
  color: #1a1a1a;
  margin: 0;
}

.company-references h3,
.company-competencies h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.reference-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.reference-item {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #e2e8f0;
  color: #2d3748;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.competency-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.competency-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background-color: #000;
  color: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

.back-navigation {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

/* Responsive Design for Company Details */
@media (max-width: 768px) {
  .company-image img {
    height: 200px;
  }
  
  .fact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .reference-list,
  .competency-tags {
    justify-content: center;
  }
  
  .company-description p {
    font-size: 1rem;
  }
}

/* Custom Sections */
.product-section {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #000;
}

.product-section h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

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

.custom-section-item {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.5;
  color: #444;
}

.custom-section-item:before {
  content: '•';
  color: #000;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* CTA Section */
.cta-section {
  margin: 3rem 0;
  text-align: center;
}

.cta-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
  line-height: 1.5;
}

.cta-primary {
  background-color: #000;
  color: white;
  border: 2px solid #000;
}

.cta-primary:hover {
  background-color: #333;
  border-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-secondary {
  background-color: white;
  color: #000;
  border: 2px solid #e5e7eb;
}

.cta-secondary:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cta-tertiary {
  background: transparent;
  color: #4b5563;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.cta-tertiary:hover {
  color: #000;
  text-decoration-thickness: 2px;
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }
  
  .cta-button {
    flex: 1 0 auto;
    max-width: 300px;
  }
}

/* ====================================
   PRODUCT PAGE STYLES
   ==================================== */

/* Product Container */
.product-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.product-image {
  width: 100%;
  max-width: 100%;
  margin-bottom: 2rem;
  text-align: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-content {
  padding: 0 1rem;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  line-height: 1.3;
  text-align: center;
}

.product-manufacturer {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-align: center;
}

.product-cta {
  text-align: center;
  margin: 2rem 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: #000;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  min-width: 280px;
  text-align: center;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Product Sections - Clean Design */
.product-section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: #fff;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 1px solid #f0f0f0;
}

.product-section:first-child {
  margin-top: 0;
}

/* Section Headers */
.product-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Icons */
.product-section h2 .icon {
  color: #666;
  opacity: 0.8;
}

/* Content */
.product-section p {
  color: #444;
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}

/* Lists */
.product-section ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.product-section li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  color: #444;
  line-height: 1.5;
}

/* Subtle section variations */
.product-section.type-features li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: #666;
  font-weight: 400;
}

.product-section.type-care {
  border-left: 3px solid #f9c74f;
}

.product-section.type-usage {
  border-left: 3px solid #90be6d;
}

/* Hover effect removed */

/* Feature list items */
.feature-list li {
  padding-left: 1.75rem;
}

.feature-list li:before {
  content: '✓';
  color: #4a6cf7;
  font-weight: bold;
  left: 0.25rem;
}

/* Care section specific */
.product-section.type-care h2 .icon {
  color: #f9c74f;
}

/* Usage section specific */
.product-section.type-usage h2 .icon {
  color: #90be6d;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-item {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
  border-radius: 6px;
  padding-left: 2.5rem;
  transition: all 0.2s ease;
}

/* Hover effect removed */

.feature-item:before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
  position: absolute;
  left: 1rem;
  top: 0.8rem;
  font-size: 1.1em;
  background: #ecfdf5;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(16, 185, 129, 0.2);
}

/* Care Instructions */
.care-instructions {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left-color: #0ea5e9;
}

.care-list {
  list-style: none;
  padding: 0;
  margin: 2px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.care-item {
  padding: 0.5rem 1rem 0.5rem 2rem;
  position: relative;
  line-height: 1.6;
  color: #333;
  background: transparent;
}

/* Clean list styles */
.care-list,
.usage-list {
  list-style: none;
  padding: 0;
  margin: 2px 0;
}

.care-item,
.usage-item {
  position: relative;
  padding: 0.15rem 1rem 0.15rem 2rem;
  margin: 0;
  line-height: 1.4;
}

.care-item:before,
.usage-item:before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: #000;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

/* Usage Notes */
.usage-notes {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-left-color: #6366f1;
}

.usage-list {
  list-style: none;
  padding: 0;
  margin: 2px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.usage-item {
  padding: 0.5rem 1rem 0.5rem 2rem;
  position: relative;
  line-height: 1.6;
  color: #333;
  background: transparent;
}


/* CTA Section */
.cta-section {
  margin: 3.5rem 0;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  transition: all 0.3s ease;
}

/* Hover effect removed */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
  line-height: 1.5;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.cta-button:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

.cta-primary {
  background-color: #000;
  color: white;
  padding: 1.1rem 3rem;
  font-size: 1.15rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-primary:hover {
  background-color: #222;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-primary:active {
  transform: translateY(1px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .product-details {
    gap: 2rem;
  }
  
  .product-gallery {
    max-width: 400px;
  }
  
  .product-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .product-details {
    flex-direction: column;
    gap: 2rem;
  }
  
  .product-gallery {
    max-width: 100%;
    position: static;
  }
  
  .product-section {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .product-title {
    font-size: 1.8rem;
  }
  
  .cta-section {
    padding: 1.5rem;
  }
  
  .cta-button {
    width: 100%;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .product-header {
    margin-bottom: 2rem;
  }
  
  .product-title {
    font-size: 1.6rem;
  }
  
  .product-section {
    padding: 1.25rem;
  }
  
  .feature-item,
  .care-item,
  .usage-item {
    padding-left: 2.5rem;
    font-size: 0.95rem;
  }
  
  .feature-item:before,
  .care-item:before,
  .usage-item:before {
    left: 0.75rem;
  }
}

