/* Extra styles for pages added during the PHP MVC conversion
   (product listing/detail, articles, pagination) that did not
   exist in the original static template. Kept separate from
   main.css so template updates don't get overwritten. */

.page-banner {
  background: linear-gradient(135deg, #14213d 0%, #1f2a4a 100%);
  color: #fff;
  padding: 140px 0 60px;
  text-align: center;
}
.page-banner h1 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.page-banner .breadcrumb-nav a {
  color: #f58220;
  text-decoration: none;
}
.page-banner .breadcrumb-nav span {
  color: #c9ccd6;
}

.pc-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.pc-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.pc-card .pc-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pc-card .pc-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.pc-card .pc-body p {
  font-size: 14px;
  color: #6c757d;
  flex: 1;
}
.pc-card .pc-body .btn-orange {
  display: inline-block;
  margin-top: 10px;
  background: #f58220;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  align-self: start;
}

.category-pills a {
  display: inline-block;
  margin: 4px;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid #e3e6ef;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}
.category-pills a.active,
.category-pills a:hover {
  background: #f58220;
  border-color: #f58220;
  color: #fff;
}

.simple-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.simple-pagination a,
.simple-pagination span {
  display: inline-block;
  min-width: 38px;
  text-align: center;
  padding: 8px 6px;
  border-radius: 6px;
  border: 1px solid #e3e6ef;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}
.simple-pagination a:hover {
  background: #f58220;
  border-color: #f58220;
  color: #fff;
}
.simple-pagination .active {
  background: #14213d;
  border-color: #14213d;
  color: #fff;
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}
.article-meta {
  font-size: 13px;
  color: #6c757d;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
}
.article-body {
  line-height: 2;
  font-size: 16px;
}

.no-results {
  text-align: center;
  padding: 60px 0;
  color: #6c757d;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  position: relative;
  padding-right: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}
.feature-list li::before {
  content: "\2713";
  position: absolute;
  right: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f58220;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Product detail page — info / price / CTA box */
.product-info-box h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #14213d;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.product-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f6fb;
  border: 1px solid #e3e6ef;
  color: #45495a;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 30px;
}
.product-meta-badge i {
  color: #f58220;
}

.product-short-desc {
  font-size: 16px;
  line-height: 2;
  color: #545861;
  margin-bottom: 22px;
}

.product-full-desc {
  margin-bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid #eef0f5;
}
.product-full-desc h3 {
  font-size: 17px;
  font-weight: 700;
  color: #14213d;
  margin-bottom: 10px;
}
.product-full-desc .article-body {
  font-size: 15px;
  line-height: 1.95;
}

.product-price-box {
  background: #f8f9fb;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  padding: 22px;
  margin-top: 10px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.product-price .amount {
  font-size: 28px;
  font-weight: 700;
  color: #14213d;
}
.product-price .currency {
  font-size: 15px;
  color: #6c757d;
}
.product-price-call {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #545861;
  font-weight: 500;
}
.product-price-call i {
  color: #f58220;
  font-size: 18px;
}

.product-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f58220;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.product-cta-btn:hover {
  background: #d96f14;
  color: #fff;
  transform: translateY(-2px);
}
.product-cta-btn i {
  font-size: 17px;
}

@media (max-width: 767px) {
  .product-price-box { text-align: center; }
  .product-price { justify-content: center; }
  .product-cta-btn { width: 100%; justify-content: center; }
}

/* Product detail page — gallery */
.product-gallery-box {
  position: sticky;
  top: 100px;
}
.product-main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f8f9fb;
  border: 1px solid #eef0f5;
  padding: 20px;
}
.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.product-thumbs a {
  display: block;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e3e6ef;
}
.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .product-gallery-box { position: static; }
}

/* Category tag above product title */
.product-category-tag {
  display: inline-block;
  background: rgba(245, 130, 32, .1);
  color: #f58220;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 30px;
  text-decoration: none;
  margin-bottom: 12px;
}
.product-category-tag:hover {
  background: #f58220;
  color: #fff;
}

.related-title {
  font-size: 20px;
  font-weight: 700;
  color: #14213d;
  position: relative;
  padding-bottom: 12px;
}
.related-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: #f58220;
  border-radius: 3px;
}
