.section-laptop-comparison{padding:2rem;background-color:#f8f9fc;border-top:2px solid #dedede}.laptop-filter-options{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.laptop-filter-options label{font-weight:600;margin-right:.5rem}.laptop-user-type-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:2rem}.laptop-user-card{background-color:#fff;padding:1rem;border-radius:12px;border:1px solid #e2e2e2;box-shadow:0 2px 5px rgba(0,0,0,.05)}.laptop-user-card h3{font-size:1.2rem;margin-bottom:.5rem}.laptop-buy-btn{display:inline-block;margin-top:1rem;padding:.5rem 1rem;background:#0070f3;color:#fff;border-radius:6px;font-weight:700;text-decoration:none;transition:background .3s ease}.laptop-buy-btn:hover{background:#0059c1}.section-phone-comparison{padding:2rem;background-color:#fefefe;border-top:2px solid #dcdcdc}.phone-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;margin-bottom:2rem}.phone-card{background:#fff;border:1px solid #e4e4e4;border-radius:10px;padding:1rem;transition:transform .2s ease}.phone-card:hover{transform:translateY(-4px)}.phone-card h4{font-size:1.1rem;margin-bottom:.5rem}.phone-spec-list{list-style:none;padding:0;margin:.5rem 0}.phone-spec-list li{font-size:.95rem;margin-bottom:.25rem}.phone-buy-link{display:inline-block;margin-top:.75rem;background:#28a745;color:#fff;padding:.4rem .8rem;border-radius:5px;text-decoration:none;font-weight:700}.phone-buy-link:hover{background:#1e7e34}.section-heading{font-size:1.75rem;margin-bottom:1rem;border-left:4px solid #0070f3;padding-left:.75rem}.section-description{font-size:1rem;color:#444;margin-bottom:1.5rem}@media (max-width:600px){.laptop-filter-options,.laptop-user-type-cards,.phone-category-grid{flex-direction:column;grid-template-columns:1fr!important}}
/*# sourceMappingURL=pc-phones.css.map */

/* ===============================
   PHONE COMPARISON PAGE
================================= */

.phones-comp-main {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.phones-comp-header h1 {
  font-size: 28px;
  margin-bottom: 15px;
}

.phones-comp-header p {
  line-height: 1.7;
  max-width: 850px;
}

/* Filter Section */
.phones-filter-wrapper {
  margin: 25px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.phones-filter-wrapper select {
  padding: 8px 12px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.phones-filter-wrapper select:focus {
  outline: none;
  border-color: #111;
}

/* Table Styling */
.phones-comp-table {
  overflow-x: auto;
  margin-top: 15px;
}

#phonesTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

#phonesTable thead {
  background: #f4f6fa;
}

#phonesTable th,
#phonesTable td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid #e6e6e6;
}

#phonesTable th {
  font-weight: 600;
}

#phonesTable tbody tr:hover {
  background: #fafafa;
}

/* Smooth hide animation */
.hidden-row {
  display: none;
}

/* FAQ styling */
.phones-comp-faq details {
  margin-bottom: 12px;
}

.phones-comp-faq summary {
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 6px;
}


/* ================= FILTERS ================= */
.phones-comp-filters-wrapper {
  margin: 20px 0;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 10px;
}
.phones-filters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.filter-group {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
}
.filter-group label {
  font-weight: 600;
  margin-bottom: 5px;
}
.filter-group select {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* ================= TABLE WRAPPER ================= */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 15px;
}

/* ================= TABLE ================= */
.phones-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}
.phones-compare-table th, .phones-compare-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}
.phones-compare-table th {
  background-color: #f2f2f2;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 3;
}

/* ================= STICKY DEALS COLUMN ================= */
.phones-compare-table th.sticky-col,
.phones-compare-table td.sticky-col {
  position: sticky;
  right: 0;
  background: #fff;
  z-index: 2;
  min-width: 140px;
}

/* ================= BUTTONS ================= */
.table-buy-btn,
.table-deal-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin: 2px 0;
  padding: 6px 0;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.table-buy-btn { background-color: #007bff; color: #fff; }
.table-deal-btn { background-color: #28a745; color: #fff; }

/* ================= STAR RATINGS ================= */
.stars {
  color: #FFD700; /* Gold color for stars */
  font-size: 16px;
  display: inline-block;
  margin-right: 5px;
}
.rating-number {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

/* Optional: hover effect for editor choice */
.editor-choice {
  background-color: #fff8e1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .phones-filters-grid {
    flex-direction: column;
  }
  .filter-group {
    flex: 1 1 100%;
  }
  .phones-compare-table {
    min-width: 700px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .phones-filter-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .phones-comp-header h1 {
    font-size: 22px;
  }

  #phonesTable th,
  #phonesTable td {
    padding: 10px;
    font-size: 14px;
  }
}