.compare-page {
  background: #fff;
  color: #111827;
}
.compare-hero {
  padding: 78px 0 28px;
}
.compare-shell {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}
.compare-hero-banner {
  position: relative;
  width: 100%;
  min-height: 380px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}
.compare-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.16) 42%, rgba(255,255,255,.18) 100%);
}
.compare-hero-image {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.compare-hero-minimal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 28px 32px 0;
}
.compare-hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.compare-hero-overline {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
  color: #111827;
}
.compare-hero h1 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #111827;
}
.compare-main {
  padding: 10px 0 72px;
}
.compare-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 89%;
  margin-left: auto;
  padding: 0 0 28px;
}
.compare-dropdown {
  position: relative;
}
.compare-dropdown-toggle {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  box-shadow: 0 8px 20px rgba(17,24,39,.04);
  padding: 12px 42px 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.compare-dropdown-toggle:hover {
  border-color: rgba(17,24,39,.18);
  box-shadow: 0 16px 36px rgba(17,24,39,.08);
}
.compare-dropdown.is-open .compare-dropdown-toggle {
  border-color: #f5c400;
  box-shadow: 0 0 0 3px rgba(245,196,0,.22), 0 16px 36px rgba(17,24,39,.08);
}
.compare-dropdown.is-busy .compare-dropdown-toggle {
  opacity: .72;
  cursor: wait;
}
.compare-dropdown.is-busy .compare-dropdown-menu {
  pointer-events: none;
}
.compare-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.compare-dropdown-text strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compare-dropdown-text small {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  color: #6b7280;
}
.compare-dropdown-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid #111827;
  border-bottom: 1.5px solid #111827;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.compare-dropdown.is-open .compare-dropdown-icon {
  transform: translateY(-10%) rotate(-135deg);
}
.compare-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  padding: 8px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 24px 48px rgba(17,24,39,.14);
}
.compare-dropdown.is-open .compare-dropdown-menu {
  display: block;
}
.compare-dropdown-item {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background-color .18s ease, color .18s ease;
}
.compare-dropdown-item:hover {
  background: rgba(17,24,39,.04);
}
.compare-dropdown-item.is-active {
  background: rgba(245,196,0,.14);
}
.compare-dropdown-item-title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #111827;
}
.compare-dropdown-item-subtitle {
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
}
.compare-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  width: 89%;
  margin-left: auto;
  padding: 8px 0 12px;
}
.compare-product-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.compare-product-media {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.compare-product-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.compare-product-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #111827;
}
.compare-product-subtitle {
  margin: 8px 0 0;
  min-height: 22px;
  font-size: 14px;
  color: #6b7280;
}
.compare-product-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.compare-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ffd400;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.compare-buy-btn:hover {
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255,212,0,.34);
}
.compare-more-link {
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.compare-table-wrap {
  padding-top: 28px;
}
.compare-group-title {
  margin: 0;
  padding: 28px 0 18px;
  font-size: 28px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -.02em;
  color: #111827;
}
.compare-table-scroll {
  width: 100%;
}
.compare-spec-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.compare-spec-table col:first-child {
  width: 11%;
}
.compare-spec-table col:not(:first-child) {
  width: 29.6667%;
}
.compare-spec-table tr {
  border-top: 1px solid rgba(17,24,39,.08);
}
.compare-spec-table th,
.compare-spec-table td {
  padding: 22px 12px;
  vertical-align: top;
}
.compare-spec-table th {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700;
  color: #111827;
  text-align: left;
}
.compare-spec-table td {
  font-size: 15px;
  line-height: 1.9;
  color: #6b7280;
  text-align: center;
  white-space: pre-line;
}
.compare-empty {
  padding: 22px 0 0;
  color: #9ca3af;
  font-size: 15px;
}
@media (max-width: 1199.98px) {
  .compare-toolbar,
  .compare-products {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    margin-left: 0;
  }
  .compare-dropdown-menu {
    position: static;
    margin-top: 10px;
  }
  .compare-table-scroll {
    overflow-x: auto;
  }
  .compare-spec-table {
    min-width: 860px;
  }
}
@media (max-width: 767.98px) {
  .compare-hero {
    padding-top: 108px;
  }
  .compare-hero-banner {
    min-height: 300px;
  }
  .compare-hero-image {
    height: 300px;
  }
  .compare-hero-minimal {
    padding: 20px 20px 0;
  }
  .compare-hero-overline {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
  }
  .compare-hero h1 {
    font-size: 24px;
    line-height: 1.24;
  }
  .compare-dropdown-toggle {
    min-height: 64px;
    padding: 14px 46px 14px 16px;
    border-radius: 14px;
  }
  .compare-dropdown-text strong {
    font-size: 16px;
  }
  .compare-product-media {
    height: 200px;
  }
  .compare-product-title {
    font-size: 22px;
    line-height: 1.2;
  }
  .compare-group-title {
    font-size: 28px;
    line-height: 40px;
  }
}