.machine-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafe 15%, #eef4fb 35%, #e8f0f8 65%, #e2ecf5 100%);
}

.machine-page .machine-breadcrumb {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-top: 0.5rem;
}

.machine-page .machine-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(30, 94, 168, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.machine-page .machine-breadcrumb a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  border-color: transparent;
  transform: translateX(-3px);
  box-shadow: 0 6px 20px rgba(30, 94, 168, 0.4);
}

.machine-page .machine-breadcrumb a i {
  font-size: 0.85em;
  transition: transform 0.25s ease;
}

.machine-page .machine-breadcrumb a:hover i {
  transform: translateX(-2px);
}

.machine-page .machine-hero {
  background: linear-gradient(135deg, #ffffff 0%, #fafcff 100%);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(30, 94, 168, 0.08), 0 0 0 1px rgba(30, 94, 168, 0.06);
  border: 1px solid rgba(30, 94, 168, 0.12);
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
}

.machine-page .machine-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue-light) 50%, var(--accent-orange) 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.machine-page .machine-hero-inner {
  display: flex;
  align-items: stretch;
  min-height: 320px;
}

@media (max-width: 991px) {
  .machine-page .machine-hero-inner {
    flex-direction: column;
    min-height: auto;
  }
}

.machine-page .machine-hero-content {
  flex: 1;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 991px) {
  .machine-page .machine-hero-content {
    padding: 2rem 1.5rem;
  }
}

.machine-page .machine-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, rgba(30, 94, 168, 0.14) 0%, rgba(33, 150, 243, 0.1) 50%, rgba(255, 107, 53, 0.08) 100%);
  color: var(--primary-blue);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  width: fit-content;
  border: 1px solid rgba(30, 94, 168, 0.2);
}

.machine-page .machine-hero-title {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.machine-page .machine-hero-title .text-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.machine-page .machine-hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.machine-page .machine-hero-image {
  width: 420px;
  min-width: 320px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f2fc 50%, #fdf8f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-left: 1px solid rgba(30, 94, 168, 0.1);
}

@media (max-width: 991px) {
  .machine-page .machine-hero-image {
    width: 100%;
    min-width: 0;
    border-left: none;
    border-top: 1px solid rgba(30, 94, 168, 0.06);
    padding: 1.5rem;
  }
}

.machine-page .machine-hero-image img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.machine-page .machine-main-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1199px) {
  .machine-page .machine-main-grid {
    grid-template-columns: 1fr;
  }
}

.machine-page .machine-content-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(30, 94, 168, 0.06);
  border: 1px solid rgba(30, 94, 168, 0.1);
  border-left: 4px solid var(--primary-blue);
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.25s ease, border-left-color 0.25s ease;
}

.machine-page .machine-content-card:nth-child(2) {
  border-left-color: var(--accent-orange);
}

.machine-page .machine-content-card:nth-child(3) {
  border-left-color: var(--primary-blue);
}

.machine-page .machine-content-card:nth-child(4) {
  border-left-color: var(--success-green);
}

.machine-page .machine-content-card:nth-child(5) {
  border-left-color: var(--primary-blue);
}

.machine-page .machine-content-card:nth-child(6) {
  border-left-color: var(--accent-orange);
}

.machine-page .machine-content-card:nth-child(7) {
  border-left-color: var(--primary-blue);
}

.machine-page .machine-content-card:hover {
  box-shadow: 0 8px 32px rgba(30, 94, 168, 0.12);
}

@media (max-width: 991px) {
  .machine-page .machine-content-card {
    padding: 1.5rem 1.25rem;
  }
}

.machine-page .machine-content-card:last-of-type {
  margin-bottom: 0;
}

.machine-page .machine-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(30, 94, 168, 0.15);
  display: inline-block;
  position: relative;
}

.machine-page .machine-section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
  border-radius: 0 2px 0 0;
}

.machine-page .machine-content-card:nth-child(2) .machine-section-title::after {
  background: var(--gradient-accent);
}

.machine-page .machine-content-card:nth-child(4) .machine-section-title::after {
  background: linear-gradient(135deg, #10b981 0%, #22c55e 100%);
}

.machine-page .machine-content-card:nth-child(6) .machine-section-title::after {
  background: var(--gradient-accent);
}

.machine-page .machine-content-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.machine-page .machine-content-card p:last-child {
  margin-bottom: 0;
}

.machine-page .machine-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.machine-page .machine-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(30, 94, 168, 0.06);
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.machine-page .machine-feature-list li:last-child {
  border-bottom: none;
}

.machine-page .machine-feature-list li:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.machine-page .machine-feature-list li i.fa-check {
  color: var(--success-green);
  font-size: 0.9rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.machine-page .machine-feature-list li i:not(.fa-check) {
  color: var(--primary-blue);
  font-size: 0.9rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.machine-page .machine-feature-list li:nth-child(odd) i:not(.fa-check) {
  color: var(--accent-orange);
}

.machine-page .machine-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.machine-page .machine-specs-table tr {
  border-bottom: 1px solid rgba(30, 94, 168, 0.08);
  transition: background 0.2s ease;
}

.machine-page .machine-specs-table tr:last-child {
  border-bottom: none;
}

.machine-page .machine-specs-table tr:hover {
  background: linear-gradient(90deg, rgba(30, 94, 168, 0.04) 0%, rgba(255, 107, 53, 0.03) 100%);
}

.machine-page .machine-specs-table tr:nth-child(even) {
  background: rgba(30, 94, 168, 0.02);
}

.machine-page .machine-specs-table tr:nth-child(even):hover {
  background: linear-gradient(90deg, rgba(30, 94, 168, 0.05) 0%, rgba(255, 107, 53, 0.04) 100%);
}

.machine-page .machine-specs-table td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
}

.machine-page .machine-specs-table td:first-child {
  font-weight: 500;
  color: var(--text-secondary);
  width: 50%;
}

.machine-page .machine-specs-table td:last-child {
  font-weight: 600;
  color: var(--primary-blue);
  text-align: right;
}

.machine-page .machine-sidebar {
  position: sticky;
  top: 120px;
}

@media (max-width: 1199px) {
  .machine-page .machine-sidebar {
    position: static;
  }
}

.machine-page .machine-sidebar-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(30, 94, 168, 0.06);
  border: 1px solid rgba(30, 94, 168, 0.1);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.machine-page .machine-sidebar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
  z-index: 1;
}

.machine-page .machine-gallery {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f2fc 50%, #fdf8f5 100%);
  min-height: 240px;
}

.machine-page .machine-gallery .swiper,
.machine-page .machine-gallery .machine-swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.machine-page .machine-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.machine-page .machine-swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.machine-page .machine-swiper .swiper-wrapper {
  height: 100%;
}

.machine-page .machine-swiper .swiper-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f2fc 100%);
}

.machine-page .machine-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.machine-page .machine-swiper .swiper-button-prev,
.machine-page .machine-swiper .swiper-button-next {
  color: var(--primary-blue);
  --swiper-navigation-size: 28px;
}

.machine-page .machine-swiper .swiper-button-prev:hover,
.machine-page .machine-swiper .swiper-button-next:hover {
  color: var(--accent-orange);
}

.machine-page .machine-swiper .swiper-pagination-bullet {
  background: rgba(30, 94, 168, 0.3);
}

.machine-page .machine-swiper .swiper-pagination-bullet-active {
  background: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.3);
}

.machine-page .machine-quick-specs {
  background: linear-gradient(135deg, #ffffff 0%, #fafcff 100%);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(30, 94, 168, 0.1);
  border-top: 3px solid var(--primary-blue);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.machine-page .machine-quick-specs-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.machine-page .machine-quick-specs-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.machine-page .machine-quick-specs-item:last-child {
  border-bottom: none;
}

.machine-page .machine-quick-specs-item span:first-child {
  color: var(--text-secondary);
}

.machine-page .machine-quick-specs-item span:last-child {
  font-weight: 600;
  color: var(--primary-blue);
}

.machine-page .machine-quick-specs-item:nth-child(odd) span:last-child {
  color: var(--accent-orange);
}

.machine-page .machine-cta-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(30, 94, 168, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.machine-page .machine-cta-card .icon-wrapper {
  margin-bottom: 1rem;
}

.machine-page .machine-cta-card .icon-wrapper i {
  color: #fff !important;
}

.machine-page .machine-cta-card h6 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.machine-page .machine-cta-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}

.machine-page .machine-cta-card .btn {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.machine-page .machine-cta-card .btn-light {
  background: #fff !important;
  color: var(--primary-blue) !important;
}

.machine-page .machine-cta-card .btn-outline-light {
  margin-top: 0.5rem;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.machine-page .machine-cta-card .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

.machine-page .machine-materials-note {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, rgba(30, 94, 168, 0.06) 0%, rgba(255, 107, 53, 0.04) 100%);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-blue);
}

.machine-page .machine-subsection {
  margin-bottom: 2rem;
}

.machine-page .machine-subsection:last-child {
  margin-bottom: 0;
}

.machine-page .machine-subsection-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.machine-page .machine-subsection-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(30, 94, 168, 0.14) 0%, rgba(33, 150, 243, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
}

.machine-page .machine-subsection:nth-child(2) .machine-subsection-icon {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.14) 0%, rgba(255, 149, 0, 0.1) 100%);
  color: var(--accent-orange);
}

.machine-page .machine-subsection:nth-child(3) .machine-subsection-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(34, 197, 94, 0.08) 100%);
  color: var(--success-green);
}

.machine-page .machine-subsection-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}