:root {
  --pc-dark: #2f3340;
  --pc-teal: #44c2d6;
  --pc-border: #4b5466c4;
  --pc-text: #111827;
}

/* ============ Base ============ */
.pc-compare-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
  color: var(--pc-text);
}

.pc-title {
  text-align: center;
  font-family: PolySans-Median;
  font-weight: 600;
  line-height: 45px;
  margin-bottom: 30px;
  font-size: 40px;
}

.pc-title .pc-vs {
  background: #C2DBE4;
  padding: 1px 8px;
  border-radius: 5px;
  color: #1EADD3;
}

/* ============ DESKTOP: table layout ============ */
.pc-desktop {
  display: block;
}

.pc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1.5px solid var(--pc-border);
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.pc-table thead th {
  text-align: center;
  padding: 14px 10px;
  font-size: 25px;
  line-height: 22px;
  font-family: Inter-Bold;
  font-weight: 700;
  color: #4B5466;
  background: #fff;
  border-bottom: 1px solid var(--pc-border);
}

.pc-table thead th:first-child {
  border-right: 1px solid var(--pc-border);
}

.pc-table thead tr:last-child {
  height: 82px;
}

.pc-table tbody tr:last-child {
  height: 558px;
}

.pc-table td {
  font-family: Inter-Regular;
  font-size: 20px;
  vertical-align: top;
  font-weight: 400;
  line-height: 45px;
  padding: 40px;
  /* padding-left: 40px; */
  color: #4B5466;
  background: #F5F5F5;

}

.pc-table td:last-child {
  background: #FAFAFA;
}

.pc-table td:first-child {
  border-left: none;
}

.pc-points {
  margin: 0 0 16px 0;
  padding-left: 18px;
  height: 250px;
}

.pc-points li {
  margin: 8px 0;
}

.pc-img {
  width: 100%;
  height: 256px;
  object-fit: cover;


  display: block;
}

.pc-divider {
  height: 1px;
  background: var(--pc-border);
  margin: 14px 0 22px;
}

/* ============ MOBILE: carousel layout ============ */
.pc-mobile {
  display: none;
}

.pc-carousel {
  overflow-x: auto;
  display: flex;
  gap: 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 4px 2px;
}

.pc-carousel::-webkit-scrollbar {
  height: 0;
}

.pc-slide {
  flex: 0 0 88%;
  scroll-snap-align: start;
  color: #FFFFFF;
  padding: 18px 20px;
  position: relative;
  height: 530px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.pc-slide--diy {
  background: #4B5466;

}

.pc-slide--pro {
  background: #1EADD3;

}

.pc-badge {
  font-weight: 700;
  margin-bottom: 2rem;
  margin-top: 1rem;
  font-size: 22px;
  line-height: 25px;
  font-family: Inter-Regular;
}

.mobile-img {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;

  height: 122px;
  object-fit: cover;
  width: 95%;



}

.pc-slide--pro .pc-img {}


/* ============ Responsive toggles ============ */
@media (max-width: 768px) {
  .pc-desktop {
    display: none;
  }

  .pc-mobile {
    display: block;
  }

  .pc-compare-section {
    padding-bottom: 24px;
  }

  .pc-points {
    height: fit-content;
    text-align: left;
    font-family: Inter-Regular;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .pc-title {
    max-width: 70%;
    margin: 2rem auto;
  }
}
@media (max-width: 426px) {
.pc-title{
  font-size: 30px;
  line-height: 30px;
}
.pc-carousel{
  margin: 0 2rem; 
  padding: 0;
}
}
@media (max-width: 321px) {
  .pc-carousel{
  margin: 0 1rem; 
}
}