/* Simple Product Catalog Styles */

.spc-container {
  max-width: 1200px;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.spc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 0;
}

.spc-entries select {
  padding: 5px;
  margin-right: 5px;
}

.spc-search input[type="text"] {
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.spc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spc-table thead {
  background-color: #a52a2a;
  color: white;
}

.spc-table th,
.spc-table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.spc-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.spc-table tbody tr:hover {
  background-color: #f5f5f5;
}

.product-link {
  color: #1e73be;
  text-decoration: none;
}

.product-link:hover {
  text-decoration: underline;
}

.spc-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.pagination-links a {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 2px;
  text-decoration: none;
  border: 1px solid #ddd;
  color: #333;
  border-radius: 4px;
}

.pagination-links a:hover {
  background-color: #f5f5f5;
}

.pagination-links a.active {
  background-color: #1e73be;
  color: white;
  border-color: #1e73be;
}

/* Single Product Styles */
.spc-single-product {
  max-width: 1200px;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.spc-single-product h1 {
  color: #333;
  margin-bottom: 10px;
  font-size: 28px;
}

.product-meta {
  margin-bottom: 30px;
  color: #666;
}

.meta-date {
  font-size: 14px;
}

.product-details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-details-table th,
.product-details-table td {
  padding: 15px;
  text-align: left;
  border: 1px solid #ddd;
}

.product-details-table thead {
  background-color: #f8f9fa;
  font-weight: bold;
}

.product-details-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.product-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.nav-link {
  color: #e91e63;
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  text-decoration: underline;
}

.prev-link {
  text-align: left;
}

.next-link {
  text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
  .spc-header {
    flex-direction: column;
    gap: 10px;
  }

  .spc-pagination {
    flex-direction: column;
    gap: 10px;
  }

  .spc-table,
  .product-details-table {
    font-size: 14px;
  }

  .spc-table th,
  .spc-table td,
  .product-details-table th,
  .product-details-table td {
    padding: 8px;
  }

  .product-navigation {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/*Single Product */
/* Simple Product Catalog Styles */

.spc-container {
  max-width: 1200px;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.spc-error {
  padding: 20px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  color: #721c24;
  text-align: center;
}

.spc-error a {
  color: #721c24;
  text-decoration: underline;
}

.spc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 0;
}

.spc-entries select {
  padding: 5px;
  margin-right: 5px;
}

.spc-search input[type="text"] {
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.spc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spc-table thead {
  background-color: #1e73be;
  color: white;
}

.spc-table th,
.spc-table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.spc-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.spc-table tbody tr:hover {
  background-color: #f5f5f5;
}

.product-link {
  color: #1e73be;
  text-decoration: none;
}

.product-link:hover {
  text-decoration: underline;
}

.spc-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.pagination-links a {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 2px;
  text-decoration: none;
  border: 1px solid #ddd;
  color: #333;
  border-radius: 4px;
}

.pagination-links a:hover {
  background-color: #f5f5f5;
}

.pagination-links a.active {
  background-color: #1e73be;
  color: white;
  border-color: #1e73be;
}

/* Single Product Styles */
.spc-single-product {
  max-width: 1200px;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.spc-single-product h1 {
  color: #333;
  margin-bottom: 10px;
  font-size: 28px;
}

.product-meta {
  margin-bottom: 30px;
  color: #666;
}

.meta-date {
  font-size: 14px;
}

.product-details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-details-table th,
.product-details-table td {
  padding: 15px;
  text-align: left;
  border: 1px solid #ddd;
}

.product-details-table thead {
  background-color: #f8f9fa;
  font-weight: bold;
}

.product-details-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.product-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.nav-link {
  color: #e91e63;
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  text-decoration: underline;
}

.prev-link {
  text-align: left;
}

.next-link {
  text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
  .spc-header {
    flex-direction: column;
    gap: 10px;
  }

  .spc-pagination {
    flex-direction: column;
    gap: 10px;
  }

  .spc-table,
  .product-details-table {
    font-size: 14px;
  }

  .spc-table th,
  .spc-table td,
  .product-details-table th,
  .product-details-table td {
    padding: 8px;
  }

  .product-navigation {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
