/* =========================================
   SECTION 1: FEATURES & SPECS STYLING
   ========================================= */

/* Container & Layout */
.pf-section {
  background-color: #f9fafb;
  padding: 60px 20px;
  margin-top: 30px;
}

.pf-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pf-title {
  text-align: center;
  font-size: 2.5rem;
  color: #111827;
  margin-bottom: 40px;
  font-weight: 600;
}

.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Headings */
.pf-subtitle {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Left Column: Features List */
.pf-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pf-feature-item {
  background-color: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center; /* Centers items vertically */
  gap: 15px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.pf-check-icon {
  width: 24px;
  height: 24px;
  color: #0056b3;
  flex-shrink: 0;
}

.pf-feature-text {
  font-size: 1.2rem;
  color: #374151;
  line-height: 1.2;
  margin: 0 !important; /* Removes default browser margins for perfect alignment */
  padding: 0;
}

/* Right Column: Specs Table */
.pf-specs-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pf-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  align-items: center;
}

.pf-spec-row:last-child {
  border-bottom: none;
}

.pf-spec-label {
  font-size: 1.2rem;
  color: #4b5563;
}

.pf-spec-value {
  font-size: 1.2rem;
  color: #111827;
  font-weight: 500;
  text-align: right;
}

/* Mobile Responsive Features */
@media (max-width: 768px) {
  .pf-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pf-title {
    font-size: 1.8rem;
  }
}

/* =========================================
   SECTION 2: YOU MAY ALSO LIKE (Carousel)
   ========================================= */

/* Container Styles */
#custom-recommendations-grid {
  display: flex;
  gap: 20px;
  padding: 10px 5px;
  margin: 0;
  list-style: none;
  flex-wrap: wrap; /* Desktop Default: Wrap items */
  justify-content: center;
}

/* Card Item Styles (Desktop) */
.custom-grid-item {
  flex: 0 1 320px;
  max-width: 320px;
  scroll-snap-align: start;
}

/* Mobile Overrides for Carousel Behavior */
@media screen and (max-width: 767px) {
  #custom-recommendations-grid {
    flex-wrap: nowrap !important;       /* Don't stack vertically */
    overflow-x: auto !important;        /* Enable horizontal scrolling */
    justify-content: flex-start !important; /* Start from left */
    scroll-snap-type: x mandatory;      /* Snap to cards */
    -webkit-overflow-scrolling: touch;  /* Smooth scroll on iOS */
    padding-bottom: 20px;
  }

  .custom-grid-item {
    flex: 0 0 180px !important;         /* Fixed smaller width on mobile */
    max-width: 180px !important;
    margin-right: 10px;
  }

  /* Hide scrollbar for cleaner look */
  #custom-recommendations-grid::-webkit-scrollbar {
    display: none; 
  }
  #custom-recommendations-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}
