.product-main {
  padding-bottom: 120px;
  background-color: #f3f4f6;
  background-image: linear-gradient(180deg, #e5e7eb 0%, #f3f4f6 300px);
  border-top: 6px solid #0a2540;
}

.page-title {
  position: relative;
  width: fit-content;
  margin: 60px auto;
  padding-bottom: 15px;
  color: #0a2540;
  font-size: 2.2rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: 2px;
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80px;
  height: 3px;
  background: #0a2540;
  transform: translateX(-50%);
}

.page-title::before {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 30px;
  height: 1px;
  background: #0076ce;
  transform: translateX(-50%);
}

.product-layout {
  position: relative;
  display: flex;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  gap: 40px;
}

.product-layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  width: 100px;
  height: 100px;
  border-top: 2px solid #0a2540;
  border-left: 2px solid #0a2540;
  opacity: 0.6;
  pointer-events: none;
}

.product-layout::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  border-right: 2px solid #0a2540;
  border-bottom: 2px solid #0a2540;
  opacity: 0.6;
  pointer-events: none;
}

.sidebar {
  position: sticky;
  top: 100px;
  z-index: 10;
  width: 280px;
  flex-shrink: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sidebar h3 {
  margin: 0;
  padding: 20px;
  color: #ffffff;
  background: #0a2540;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

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

.sidebar li {
  border-bottom: 1px solid #f3f4f6;
}

.sidebar li:last-child {
  border-bottom: none;
}

.sidebar li a {
  display: block;
  padding: 16px 20px;
  color: #4b5563;
  font-weight: 400;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.sidebar li a:hover,
.sidebar li a.active {
  background: #f9fafb;
  color: #0076ce;
  border-left: 3px solid #0076ce;
}

.submenu {
  display: none;
  margin: 0;
  padding: 0;
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
  list-style: none;
}

.sidebar .has-submenu.open .submenu {
  display: block;
  animation: slideDown 0.3s ease-out forwards;
}

.submenu a {
  padding: 12px 20px 12px 40px !important;
  color: #6b7280 !important;
  font-size: 0.9rem !important;
  border-left: 3px solid transparent !important;
}

.submenu a:hover,
.submenu a.active {
  background: #f3f4f6 !important;
  color: #005c9e !important;
  border-left-color: #005c9e !important;
}

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

.products {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 30px;
}

.product-row {
  display: flex;
  min-height: 300px;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.product-images {
  display: flex;
  width: 380px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 40px;
  background: #ffffff;
  position: relative;
}

.product-images .main-img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-row:hover .main-img {
  transform: scale(1.03);
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 40px 50px;
  background-color: #f8f9fa;
  border-left: 1px solid #e5e7eb;
}

.product-name {
  margin-bottom: 8px;
  color: #005c9e;
  font-size: 1.6rem;
  font-weight: 400;
}

.model {
  display: block;
  padding-bottom: 15px;
  margin-bottom: 25px;
  color: #6b7280;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  border-bottom: 1px solid #e5e7eb;
}

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

.features span {
  display: flex;
  align-items: flex-start;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}

.features span::before {
  content: "•";
  margin-right: 10px;
  color: #0a2540;
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 1024px) {
  .product-layout { flex-direction: column; padding: 20px; gap: 30px; }
  .product-layout::before { width: 40px; height: 40px; left: 0; }
  .product-layout::after { width: 40px; height: 40px; right: 0; bottom: -10px; }
  .sidebar { width: 100%; position: static; }
  .product-images { width: 100%; border-left: none; border-bottom: 1px solid #e5e7eb; }
  .product-row { flex-direction: column; min-height: auto; }
  .product-info { padding: 30px; border-left: none; }
  .page-title { font-size: 1.8rem; margin: 40px auto; }
}