/* ✅ Debug Banner (remove if no longer needed) */
/* body::before {
  content: "✅ CSS is loading";
  display: block;
  background: #000;
  color: #fff;
  padding: 10px;
  text-align: center; 
}
*/

/* 🔍 Search Panel Layout */
.pcpco-search-form {
  margin: 30px auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}
#pcpco-results {
  display: block;
  height: 1px;
  margin-top: 10px;
}


.pcpco-search-fields {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.pcpco-search-fields input {
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 160px;
}

/* 🔽 Category Row */
.pcpco-search-category-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.pcpco-search-category-row label {
  font-weight: bold;
  margin-right: 5px;
  margin-left:120px;
  font-size: 14px;
}

.pcpco-search-category-row select {
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  min-width: 200px;
  margin-right: 10px;
  margin-left: 5px;
}

/* 🔘 Buttons */
.pcpco-search-buttons {
  display: flex;
  gap: 10px;
  margin-left: 20px;
  margin-top: 0;
  width: auto;
}

.pcpco-search-buttons button {
  padding: 8px 16px;
  font-size: 14px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.pcpco-search-buttons button:hover {
  background-color: #005f8d;
}

.pcpco-clear-button {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  background-color: #f3f3f3;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
}

.pcpco-clear-button:hover {
  background-color: #e2e2e2;
}

/* 🧩 Card Grid Layout */
.pcpco-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

/* 📦 Individual Card Styling */
.pcpco-card {
  background: #f6f6f6;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.pcpco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pcpco-card h3 {
  font-size: 20px;
  margin: 10px 0 5px;
  color: #333;
  font-weight: bold;
}

.entry .pcpco-card-details p {
  margin-bottom: 3px !important;
  margin-top: 2px !important;
  line-height: 1.4 !important;
  font-size: 16px !important;;
  color: #3e3c3c;
}




.pcpco-card a {
  color: #0073aa;
  text-decoration: none;
}

.pcpco-card a:hover {
  text-decoration: underline;
}

/* 🛒 Product Action Buttons */
.pcpco-button-row {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.pcpco-btn {
  display: inline-block;
  padding: 5px 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Amazon-style button */
a.pcpco-btn.amazon-btn {
  background-color: #FF9900;
  color: #fff !important;
  border: 1px solid #E47911;
}

a.pcpco-btn.amazon-btn:hover,
a.pcpco-btn.amazon-btn:focus {
  background-color: #e68a00;
  color: #fff !important;
  transform: scale(1.03);
}

/* Review button */
a.pcpco-btn.review-btn {
  background-color: #0066cc;
  color: #fff !important;
  border: 1px solid #005bb5;
}

a.pcpco-btn.review-btn:hover,
a.pcpco-btn.review-btn:focus {
  background-color: #005bb5;
  color: #fff !important;
  transform: scale(1.03);
}

/* 🧭 Horizontal Card Layout */
.pcpco-card.horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 15px;
  gap: 20px;
  text-align: left;
}

.pcpco-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
}

.pcpco-card-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 6px;
  display: block;
}
.pcpco-card-image {
  position: relative;
}


.pcpco-card-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 10px;
}

.pcpco-tag.featured {
  display: inline-block;
  background-color: #ff5a00;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 6px;
  margin-left: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pcpco-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 6px;
  margin-left: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #fff;
}
/* Makes the Model: Color: etc be Bold */
.pcpco-card-details strong {
  font-weight: bold !important;
}


/* Tag-specific colors */
.pcpco-tag.tag-editors-choice {
  background-color: #F06114;
}

.pcpco-tag.tag-best-value {
  background-color: #0073aa;
}

.pcpco-tag.tag-top-rated {
  background-color: #46b450;
}

.pcpco-features-content {
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 14px;
  line-height: 1.4;
  color: #3e3c3c;
}

.pcpco-features-content.expanded {
  max-height: 1000px; /* large enough to show full content */
}

.pcpco-toggle-btn {
  background: none;
  border: none;
  color: #0073aa;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  margin-top: 5px;
  text-decoration: underline;
}



/* 📱 Mobile Responsive Tweaks -----------------------------------*/
@media (max-width: 768px) {
  .pcpco-search-fields {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pcpco-search-fields input {
    width: 100%;
    max-width: 300px;
  }

  .pcpco-search-category-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .pcpco-search-category-row select {
    width: 100%;
    max-width: 300px;
  }

  .pcpco-search-buttons {
    width: 100%;
    justify-content: flex-start;
    margin-top: 10px;
  }

  .pcpco-search-buttons button,
  .pcpco-clear-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 6px 12px;
    font-size: 13px;
  }

  .pcpco-card-details {
    width: 100%;
	
  }
}

/* 📄 Pagination Styles ------------------------------------------*/
.pcpco-pagination {
  margin-top: 30px;
  text-align: center;
}

.pcpco-page-link {
  display: inline-block;
  margin: 0 6px;
  padding: 6px 12px;
  background: #f1f1f1;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.pcpco-page-link:hover {
  background: #0073aa;
  color: #fff;
}

.pcpco-page-link.current-page {
  background: #0073aa;
  color: #fff;
  font-weight: bold;
}

.pcpco-page-link.prev-page,
.pcpco-page-link.next-page {
  font-weight: bold;
}

/* 📊 Results Summary --------------------------------------------*/
.pcpco-results-summary {
  margin: 20px 0 10px;
  font-size: 16px;
  text-align: center;
  color: #555;
}

/* 🔝 Back to Search Button --------------------------------------*/
.pcpco-back-to-search-wrapper {
  text-align: center;
  margin: 40px 0;
}

#pcpco-back-to-top {
  background-color: #0073aa;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#pcpco-back-to-top:hover {
  background-color: #005f8d;
}






