/* Partner Profile Premium Design - Enhanced */

.manufacturer-profile {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #fff;
}

/* Hide sidebar on partner pages */
.page-user .sidebar-second,
.page-user #sidebar-second {
  display: none !important;
}

/* Hide section title wrap/page title */
.section-title-wrap.page-title {
  display: none !important;
}

/* Ensure main content takes full width on partner pages */
.page-user .main-content {
  width: 100% !important;
  max-width: none !important;
}

.page-user .col-lg-8 {
  width: 100% !important;
  max-width: none !important;
}

/* Premium Header */
.manufacturer-header.premium-header {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border-radius: 12px;
  padding: 60px 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
  position: relative;
  overflow: hidden;
}

.manufacturer-header.premium-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.header-content.premium-header-content {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.company-logo.premium-logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.premium-logo img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;

}

.logo-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  font-weight: bold;
  border: 2px solid rgba(255,255,255,0.3);
}

.premium-slogan {
  margin-right: 20px;
}

.slogan-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.premium-main-message {
  text-align: center;
  margin: 40px 0;
  flex-grow: 1;
}

.main-title {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 10px;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  line-height: 1.1;
}

.guarantee-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.premium-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.nav-button {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.nav-button:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.nav-button i {
  font-size: 16px;
}


/* Navigation Tabs */
.manufacturer-nav {
  margin-bottom: 30px;
  border-bottom: 2px solid #e9ecef;
  background: #fff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav-tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

.nav-item {
  margin-bottom: -2px;
}

.nav-link {
  display: block;
  padding: 15px 25px;
  text-decoration: none;
  color: #6c757d;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
  background: #f8f9fa;
  border-radius: 8px 8px 0 0;
  margin-right: 2px;
}

.nav-link.active,
.nav-link:hover {
  color: #dc3545;
  border-bottom-color: #dc3545;
  background: #fff;
  text-decoration: none;
}

/* Main Content */
.manufacturer-content {
  position: relative;
  margin-bottom: 40px;
  width: 100%;
}

.tab-pane {
  display: none;
}

.tab-pane.show {
  display: block;
}

.company-description h2 {
  color: #212529;
  margin-bottom: 20px;
  font-size: 1.8em;
  font-weight: 700;
}

.company-mission {
  margin-bottom: 25px;
}

.mission-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.company-description-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 30px;
}

.contact-manufacturer-btn {
  background: #333;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.contact-manufacturer-btn:hover {
  background: #555;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Premium Partner Sidebar */
.company-highlights.premium-partner-sidebar {
  background: #f8f9fa;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  height: fit-content;
  position: sticky;
  top: 20px;
  flex-shrink: 0;
  width: 350px;
}

.premium-partner-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  width: 100%;
  max-width: 350px;
}

.premium-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.premium-star {
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.verified-check {
  background: #28a745;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.company-details {
  margin-bottom: 25px;
}

.detail-item {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.detail-item strong {
  color: #333;
  font-weight: 600;
  display: inline-block;
  min-width: 80px;
}

.website-link {
  color: #dc3545;
  text-decoration: none;
  font-weight: 500;
}

.website-link:hover {
  text-decoration: underline;
  color: #c82333;
}

.social-media-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #333;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #dc3545;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.social-link i {
  font-size: 16px;
}

/* Product Highlights */
.products-section {
  margin-top: 20px;
}

.products-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
}

.product-highlights-section {
  margin-top: 0;
}

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

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 25px;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.product-description {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
}

.product-detail-link {
  color: #dc3545;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.product-detail-link:hover {
  color: #c82333;
  text-decoration: none;
  transform: translateX(5px);
}

.product-detail-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.product-detail-link:hover i {
  transform: translateX(3px);
}

/* Services Section */
.services-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
}

.services-content {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.services-content h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.services-content ul {
  list-style: none;
  padding: 0;
}

.services-content li {
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
  position: relative;
  padding-left: 25px;
}

.services-content li:before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.support-services {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.support-services h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

/* Contact Section */
.contact-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.contact-primary {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
}

.contact-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.contact-item h3 {
  font-size: 1.1em;
  color: #dc3545;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-value {
  font-size: 1rem;
  color: #333;
}

.contact-value a {
  color: #dc3545;
  text-decoration: none;
  font-weight: 500;
}

.contact-value a:hover {
  text-decoration: underline;
}

.contact-secondary {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  height: fit-content;
}

.contact-secondary h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.contact-info-box {
  text-align: center;
}

.contact-info-box p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: #dc3545;
  color: white;
}

.btn-primary:hover {
  background: #c82333;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Overview Grid Layout */
.overview-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.company-description {
  flex: 1;
  margin-right: 40px;
}

.company-highlights.premium-partner-sidebar {
  flex-shrink: 0;
  width: 350px;
  position: sticky;
  top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .overview-grid {
    flex-direction: column;
    gap: 30px;
  }
  
  .company-description {
    margin-right: 0;
  }
  
  .company-highlights.premium-partner-sidebar {
    width: 100%;
    position: static;
  }
  
  .header-content.premium-header-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .premium-logo-section {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  
  .main-title {
    font-size: 2.5rem;
  }
  
  .premium-navigation {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .nav-button {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .nav-tabs {
    flex-wrap: wrap;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .premium-partner-sidebar {
    position: static;
  }
}

@media (max-width: 480px) {
  .manufacturer-profile {
    padding: 15px;
  }
  
  .manufacturer-header.premium-header {
    padding: 40px 20px;
  }
  
  .main-title {
    font-size: 2rem;
  }
  
  .premium-navigation {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-button {
    width: 200px;
    justify-content: center;
  }
  
}