html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Ecommerce Header Styles */
.ecommerce-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Top Promotional Banner */
.promo-banner {
  background-color: #2563eb;
  color: white;
  padding: 10px 0;
  text-align: center;
  position: relative;
}

.promo-banner.hidden {
  display: none;
}

.promo-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-close-banner {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px 10px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.btn-close-banner:hover {
  opacity: 1;
}

/* Main Header */
.main-header-nav {
  padding: 15px 0;
  border-bottom: 1px solid #e5e7eb;
}

.mansa-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 12px;
  border: none;
  font-weight: bold;
  font-size: 1.2rem;
  color: #000 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mansa-logo:hover {
  color: #000 !important;
}

.logo-image,
.mansa-logo .logo-image,
.mansa-logo img {
  height: 120px !important;
  max-width: 150px;
  border: none !important;
  width: auto;
  outline: none !important;
}

.logo-text {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
}

.ecommerce-logo {
  font-size: 1.5rem;
  color: #0d6efd !important;
  text-decoration: none;
  font-weight: bold;
}

.ecommerce-logo:hover {
  color: #0a58ca !important;
}

/* Main Navigation Menu */
.main-nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav-menu .nav-link {
  color: #000 !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px !important;
  text-decoration: none;
  transition: color 0.2s;
}

.main-nav-menu .nav-link:hover {
  color: #2563eb !important;
}

.main-nav-menu .dropdown-toggle::after {
  margin-left: 5px;
  font-size: 0.8rem;
}

.main-nav-menu .dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-top: 5px;
  border-radius: 4px;
}

.main-nav-menu .dropdown-item {
  padding: 10px 20px;
  transition: background-color 0.2s;
}

.main-nav-menu .dropdown-item:hover {
  background-color: #f3f4f6;
}

/* Build Custom PC Button */
.build-custom-pc-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border-radius: 8px;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  margin-left: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.build-custom-pc-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.build-custom-pc-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  border: none !important;
}

.build-custom-pc-btn:hover::before {
  left: 100%;
}

.build-custom-pc-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Header Utilities */
.header-utils {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.header-utils-top {
  gap: 15px;
}

.login-link {
  color: #000 !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.login-link:hover {
  color: #2563eb !important;
}

.cart-link {
  position: relative;
  color: #000 !important;
  text-decoration: none;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.cart-link:hover {
  color: #2563eb !important;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  min-width: 20px;
}

/* Header Search */
.header-search {
  min-width: 250px;
}

.search-input-header {
  border: 1px solid #000;
  border-radius: 0;
  padding: 8px 40px 8px 12px;
  font-size: 0.9rem;
}

.search-input-header:focus {
  border-color: #000;
  box-shadow: none;
  outline: none;
}

.search-btn-header {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border: none;
  background: transparent;
  color: #000;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn-header:hover {
  color: #2563eb;
}

.search-container {
  max-width: 500px;
  width: 100%;
  margin: 0 20px;
}

.search-input {
  border-radius: 25px 0 0 25px;
  border-right: none;
}

.search-btn {
  border-radius: 0 25px 25px 0;
  border-left: none;
  padding: 0.5rem 1rem;
}

/* Search Results Dropdown */
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
  margin-top: 2px;
}

.search-results-dropdown.show {
  display: block;
}

.search-results-dropdown .search-result-item {
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.search-results-dropdown .search-result-item:last-child {
  border-bottom: none;
}

.search-results-dropdown .search-result-item:hover {
  background-color: #f8f9fa;
}

.search-results-dropdown .search-result-item .result-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 12px;
  background: #f8f9fa;
  border-radius: 4px;
  padding: 5px;
}

.search-results-dropdown .search-result-item .result-info {
  flex: 1;
  min-width: 0;
}

.search-results-dropdown .search-result-item .result-name {
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-results-dropdown .search-result-item .result-category {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 2px;
}

.search-results-dropdown .search-result-item .result-price {
  font-size: 1rem;
  font-weight: 600;
  color: #0d6efd;
}

.search-results-dropdown .no-results {
  padding: 20px;
  text-align: center;
  color: #6c757d;
}

.search-results-dropdown .loading {
  padding: 20px;
  text-align: center;
  color: #6c757d;
}

.cart-icon {
  position: relative;
  color: #333;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

.cart-icon:hover {
  color: #0d6efd;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.account-btn {
  white-space: nowrap;
}

.header-actions {
  gap: 10px;
}

/* Hero Banner */
.hero-banner {
  margin-top: 0;
}

.hero-banner .carousel {
  height: 650px;
}

.hero-banner .carousel-item {
  height: 650px;
}

.hero-slide {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 20px;
  height: 650px;
  display: flex;
  align-items: center;
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #0d6efd;
}

/* Category Cards */
.category-card {
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* Product Cards */
.product-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border: none !important;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
}

.product-image {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.product-card:hover .product-image {
  background: #f8f9fa !important;
}

/* Offer Banners */
.offer-banner {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.offer-banner:hover {
  transform: scale(1.02);
}

/* Footer Styles */
.ecommerce-footer {
  margin-top: auto;
  padding: 40px 0 20px;
}

.ecommerce-footer h5,
.ecommerce-footer h6 {
  color: #fff;
  margin-bottom: 20px;
}

.ecommerce-footer a {
  transition: color 0.3s;
}

.ecommerce-footer a:hover {
  color: #fff !important;
}

.social-links a {
  font-size: 1.5rem;
  transition: transform 0.3s;
  display: inline-block;
}

.social-links a:hover {
  transform: translateY(-3px);
}

/* Mansa Footer Styles - Royal Blue Design */
footer.mansa-footer {
  background-color: #1e3a8a !important;
  background: #1e3a8a !important;
  color: #ffffff !important;
  padding: 50px 0 30px !important;
  margin-top: auto;
  width: 100%;
}

footer.mansa-footer * {
  color: #ffffff !important;
}

footer.mansa-footer a {
  color: #ffffff !important;
}

footer.mansa-footer h6,
footer.mansa-footer h5,
footer.mansa-footer h4 {
  color: #ffffff !important;
}

footer.mansa-footer p,
footer.mansa-footer span {
  color: #ffffff !important;
}

footer.mansa-footer .footer-logo-box {
  border: 2px solid #ffffff !important;
  padding: 12px 20px !important;
  display: inline-block;
  margin-bottom: 20px;
  background: transparent !important;
  width: auto;
  text-align: center;
}

footer.mansa-footer .footer-logo-text {
  color: #ffffff !important;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

footer.mansa-footer .footer-logo-image {
  max-height: 50px;
  max-width: 150px;
  height: auto;
  width: auto;
  display: block;
}

footer.mansa-footer .footer-copyright {
  color: #ffffff !important;
  font-size: 0.9rem;
  margin-top: 20px;
}

footer.mansa-footer .footer-copyright p {
  color: #ffffff !important;
  margin: 0;
}

footer.mansa-footer .footer-section-title {
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-reviews .review-platform {
  margin-bottom: 8px;
}

footer.mansa-footer .footer-link {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

footer.mansa-footer .footer-link:hover {
  color: #93c5fd !important;
  text-decoration: underline;
}

.footer-social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

footer.mansa-footer .social-icon {
  color: #ffffff !important;
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
}

footer.mansa-footer .social-icon:hover {
  transform: translateY(-3px);
  color: #93c5fd !important;
}

footer.mansa-footer .footer-contact .contact-item {
  color: #ffffff !important;
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

footer.mansa-footer .footer-contact .contact-item i {
  margin-right: 8px;
  margin-top: 3px;
  min-width: 16px;
  color: #ffffff !important;
}

footer.mansa-footer .footer-contact .contact-item span {
  color: #ffffff !important;
}

footer.mansa-footer .footer-hours {
  color: #ffffff !important;
}

footer.mansa-footer .hours-time {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 5px;
  color: #ffffff !important;
}

footer.mansa-footer .hours-days {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #ffffff !important;
}

footer.mansa-footer .hours-note {
  font-size: 0.9rem;
  font-style: italic;
  color: #e0e7ff !important;
}

footer.mansa-footer .footer-about {
  color: #ffffff !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

footer.mansa-footer .footer-about p {
  margin-bottom: 10px;
  color: #ffffff !important;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
  margin: 30px 0 20px;
  width: 100%;
}

.footer-payment-methods {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

footer.mansa-footer .payment-label {
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.payment-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

footer.mansa-footer .payment-icon {
  color: #ffffff !important;
  font-size: 2rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}

footer.mansa-footer .payment-icon:hover {
  transform: scale(1.1);
  opacity: 1;
  color: #ffffff !important;
}

.whatsapp-float {
  position: relative;
  display: inline-block;
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer.mansa-footer {
    padding: 30px 0 20px !important;
  }
  
  footer.mansa-footer .footer-logo-box {
    padding: 10px 15px !important;
  }
  
  footer.mansa-footer .footer-logo-text {
    font-size: 1.2rem;
  }
  
  footer.mansa-footer .footer-section-title {
    font-size: 1rem;
    margin-top: 20px;
  }
  
  footer.mansa-footer .footer-social-icons {
    gap: 10px;
  }
  
  footer.mansa-footer .social-icon {
    font-size: 1.3rem;
    width: 30px;
    height: 30px;
  }
  
  footer.mansa-footer .payment-icons {
    gap: 10px;
  }
  
  footer.mansa-footer .payment-icon {
    font-size: 1.5rem;
  }
  
  footer.mansa-footer .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  footer.mansa-footer .footer-payment-methods {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .promo-banner {
    padding: 8px 0;
  }
  
  .promo-text {
    font-size: 0.8rem;
    padding: 0 40px;
  }
  
  .btn-close-banner {
    right: 10px;
  }
  
  .main-header-nav {
    padding: 10px 0;
  }
  
  .mansa-logo {
    font-size: 1rem;
    padding: 6px 10px;
  }
  
  .main-nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 15px;
  }
  
  .main-nav-menu .nav-link {
    width: 100%;
    padding: 10px 0 !important;
  }
  
  .header-utils {
    align-items: flex-start;
    width: 100%;
    margin-top: 15px;
    gap: 10px;
  }
  
  .header-utils-top {
    width: 100%;
    justify-content: flex-start;
  }
  
  .header-search {
    width: 100%;
    min-width: auto;
  }
  
  .search-container {
    margin: 15px 0;
    max-width: 100%;
  }
  
  .header-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  
  .account-btn {
    width: 100%;
  }
  
  .hero-slide {
    padding: 50px 20px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

/* Product Details Page Styles - Mansa Computers Style */
.product-details-page {
  background-color: #f8f9fa;
  min-height: 100vh;
}

.breadcrumb-nav {
  background-color: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav .breadcrumb {
  margin-bottom: 0;
  background: transparent;
}

.breadcrumb-nav .breadcrumb-item a {
  color: #0d6efd;
  text-decoration: none;
}

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

.product-container {
  padding: 30px 15px;
  max-width: 1400px;
}

.product-main-row {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Product Images Section */
.product-images-section {
  padding-right: 30px;
}

.product-image-gallery {
  position: sticky;
  top: 100px;
}

.main-product-image-wrapper {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-product-image {
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s;
}

.main-product-image:hover {
  transform: scale(1.05);
}

.no-image-placeholder {
  color: #6c757d;
  text-align: center;
}

.no-image-placeholder i {
  font-size: 80px;
  margin-bottom: 10px;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.thumbnail-item {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 4px;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
  overflow: hidden;
}

.thumbnail-item:hover {
  border-color: #0d6efd;
  transform: translateY(-2px);
}

.thumbnail-item.active {
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Product Info Section */
.product-info-section {
  padding-left: 30px;
}

.product-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 10px;
  line-height: 1.2;
}

.product-category {
  margin: 0;
  color: #6c757d;
}

.product-category a {
  color: #0d6efd;
  text-decoration: none;
}

.product-category a:hover {
  text-decoration: underline;
}

/* Price Section */
.product-price-section {
  margin-bottom: 20px;
}

.price-with-discount {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.price-single {
  display: flex;
  align-items: center;
}

.current-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d6efd;
  margin-right: 15px;
}

.compare-price {
  font-size: 1.5rem;
  color: #6c757d;
  text-decoration: line-through;
}

.discount-badge {
  background: #dc3545;
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Stock Status */
.stock-status {
  margin-bottom: 20px;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95rem;
}

.stock-badge.in-stock {
  background-color: #d4edda;
  color: #155724;
}

.stock-badge.out-of-stock {
  background-color: #f8d7da;
  color: #721c24;
}

.product-sku {
  margin-bottom: 20px;
  color: #6c757d;
  font-size: 0.95rem;
}

/* Key Features */
.key-features-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.key-features-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #212529;
}

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

.key-features-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #495057;
}

.key-features-list li i {
  color: #28a745;
  font-size: 0.9rem;
}

/* Product Addons */
.product-addons-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
}

.product-addons-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.addon-card {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s;
  cursor: pointer;
  background: #fff;
}

.addon-card:hover:not(.disabled) {
  border-color: #0d6efd;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

.addon-card.selected {
  border-color: #0d6efd;
  background: #f0f7ff;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.addon-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.addon-image {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 4px;
}

.addon-info h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #212529;
}

.addon-detail {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.addon-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d6efd;
  margin: 10px 0;
}

/* Price Summary */
.price-summary {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

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

.total-price-row {
  margin-top: 10px;
  padding-top: 15px;
  border-top: 2px solid #0d6efd;
  font-size: 1.2rem;
}

/* Product Actions */
.product-actions {
  margin-bottom: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-add-to-cart {
  flex: 1;
  min-width: 200px;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}

.btn-add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-wishlist {
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Warranty Info */
.warranty-info {
  padding: 20px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
}

.warranty-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #856404;
}

.warranty-info p {
  margin: 0;
  color: #856404;
  font-size: 0.95rem;
}

/* Product Tabs */
.product-tabs-section {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.product-tabs {
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 30px;
}

.product-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #6c757d;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 25px;
  margin-right: 10px;
  transition: all 0.3s;
  background: transparent;
}

.product-tabs .nav-link:hover {
  color: #0d6efd;
  border-bottom-color: #0d6efd;
}

.product-tabs .nav-link.active {
  color: #0d6efd;
  border-bottom-color: #0d6efd;
  background: transparent;
}

.product-tab-content {
  min-height: 300px;
}

.tab-content-inner h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #212529;
}

.product-description {
  line-height: 1.8;
  color: #495057;
  font-size: 1rem;
}

.product-description p {
  margin-bottom: 15px;
}

.vendor-info {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.vendor-info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Specifications Table */
.specifications-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spec-row {
  display: grid;
  grid-template-columns: 250px 1fr;
  padding: 15px 20px;
  border-bottom: 1px solid #e9ecef;
  transition: background 0.2s;
}

.spec-row:hover {
  background: #f8f9fa;
}

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

.spec-label {
  font-weight: 600;
  color: #495057;
}

.spec-value {
  color: #6c757d;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: #fff;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question.active {
  background: #f0f7ff;
  color: #0d6efd;
}

.faq-question i {
  transition: transform 0.3s;
  color: #0d6efd;
}

.faq-answer {
  padding: 0 20px 20px 20px;
  color: #495057;
  line-height: 1.8;
}

/* Related Products */
.related-products-section {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.related-products-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #212529;
  position: relative;
  padding-bottom: 15px;
}

.related-products-section .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #0d6efd;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.related-product-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  background: #fff;
}

.related-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: #0d6efd;
}

.related-product-card .product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-product-image {
  width: 100%;
  height: 200px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
}

.related-product-info {
  padding: 20px;
}

.related-product-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #212529;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-product-category {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 10px;
}

.related-product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.related-product-price .current-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0d6efd;
}

.related-product-price .compare-price {
  font-size: 1rem;
  color: #6c757d;
  text-decoration: line-through;
}

/* Responsive Design */
@media (max-width: 992px) {
  .product-images-section {
    padding-right: 15px;
    margin-bottom: 30px;
  }

  .product-info-section {
    padding-left: 15px;
  }

  .product-image-gallery {
    position: relative;
    top: 0;
  }

  .product-main-row {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 1.5rem;
  }

  .current-price {
    font-size: 2rem;
  }

  .addons-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-add-to-cart,
  .btn-wishlist {
    width: 100%;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .related-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .product-tabs .nav-link {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .product-container {
    padding: 15px 10px;
  }

  .product-main-row {
    padding: 15px;
  }

  .main-product-image-wrapper {
    min-height: 300px;
    padding: 15px;
  }

  .related-products-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Build PC Page Styles */
.custom-build-pc-page {
  min-height: 100vh;
  background-color: #f8f9fa;
  padding-bottom: 50px;
}

.build-pc-header {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 40px 0;
  margin-bottom: 30px;
}

.build-pc-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.build-pc-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.delivery-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.delivery-badge i {
  font-size: 1.2rem;
}

.build-pc-configurator {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.section-subtitle {
  color: #6c757d;
  margin-bottom: 30px;
  font-size: 1rem;
}

.component-section {
  margin-bottom: 30px;
  padding: 20px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.component-section:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.component-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.component-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.component-title i {
  color: #2563eb;
}

.component-required {
  background: #dc3545;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-selector {
  margin-top: 15px;
}

.product-dropdown {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.product-dropdown:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.selected-product-info {
  margin-top: 15px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.selected-product-card {
  background: #f8f9fa;
  border: 2px solid #2563eb;
  border-radius: 8px;
  padding: 15px;
}

.selected-product-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 6px;
  background: white;
  padding: 5px;
}

.selected-product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.selected-product-vendor {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
}

.selected-product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2563eb;
}

.remove-product-btn {
  margin-top: 8px;
}

.cost-summary-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
}

.summary-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-title i {
  color: #2563eb;
}

.selected-components-list {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.components-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.component-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: white;
  border-radius: 6px;
  border-left: 4px solid #2563eb;
}

.component-item-name {
  flex: 1;
  font-size: 0.9rem;
  color: #1a1a1a;
}

.component-item-price {
  font-weight: 600;
  color: #2563eb;
  font-size: 1rem;
}

.cost-breakdown {
  border-top: 2px solid #e9ecef;
  padding-top: 20px;
  margin-top: 20px;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 1rem;
}

.cost-item.total-cost {
  border-top: 2px solid #e9ecef;
  padding-top: 15px;
  margin-top: 10px;
  font-size: 1.3rem;
}

.build-actions {
  margin-top: 20px;
}

.build-actions .btn {
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.build-actions .btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
}

.build-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.build-actions .btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

.warranty-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.warranty-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a1a;
}

.warranty-badge i {
  color: #2563eb;
  font-size: 1.1rem;
}

/* Responsive Design for Custom Build PC */
@media (max-width: 992px) {
  .cost-summary-card {
    position: relative;
    top: 0;
    margin-top: 30px;
  }

  .build-pc-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .build-pc-header {
    padding: 30px 0;
  }

  .build-pc-title {
    font-size: 1.8rem;
  }

  .build-pc-subtitle {
    font-size: 1rem;
  }

  .delivery-badge {
    margin-top: 15px;
    width: 100%;
    justify-content: center;
  }

  .build-pc-configurator {
    padding: 20px;
  }

  .component-section {
    padding: 15px;
  }

  .selected-product-card .row {
    flex-direction: column;
    text-align: center;
  }

  .selected-product-image {
    margin: 0 auto 15px;
  }
}

/* Social Media Sharing Buttons */
.product-header .social-share-buttons {
  display: flex !important;
  gap: 12px;
  margin: 15px 0 20px 0;
  align-items: center;
  flex-wrap: wrap;
}

.product-header .social-share-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  text-decoration: none;
  color: white !important;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  visibility: visible !important;
  opacity: 1 !important;
}

.product-header .social-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: white !important;
  text-decoration: none;
}

.product-header .social-share-btn:active {
  transform: translateY(0);
}

.product-header .facebook-share {
  background-color: #1877F2;
}

.product-header .facebook-share:hover {
  background-color: #166FE5;
}

.product-header .twitter-share {
  background-color: #000000;
}

.product-header .twitter-share:hover {
  background-color: #333333;
}

.product-header .linkedin-share {
  background-color: #0077B5;
}

.product-header .linkedin-share:hover {
  background-color: #006399;
}

.product-header .instagram-share {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.product-header .instagram-share:hover {
  background: linear-gradient(45deg, #e0852a 0%, #d55a2d 25%, #c9223a 50%, #b91f5d 75%, #a9157a 100%);
}

@media (max-width: 768px) {
  .product-header .social-share-buttons {
    gap: 10px;
    margin: 12px 0 15px 0;
  }

  .product-header .social-share-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}