/* ==========================================================================
   STYLE TRANG ẤN PHẨM & SẢN PHẨM - XƯỞNG IN ĐÀ NẴNG
   ========================================================================== */
.pt-prod-page,
.pt-prod-page * {
  box-sizing: border-box;
}

.pt-prod-page {
  font-family:
    "Be Vietnam Pro",
    "Roboto",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.65;
  padding-bottom: 70px;
  font-size: 14.5px;
}

/* 1. HERO BANNER */
.pt-prod-hero {
  position: relative;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)),
    url("https://plus.unsplash.com/premium_photo-1663047834451-df05235f8163?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=NHwxMjA3fDA%3D");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 45px 20px 60px;
  text-align: center;
  overflow: hidden;
}

.pt-prod-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 10%,
    rgba(220, 38, 38, 0.22) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.pt-prod-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.pt-prod-bc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;
  font-size: 13px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pt-prod-bc a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pt-prod-bc a:hover {
  color: #ffd166;
  text-decoration: underline;
}

.pt-prod-bc .sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.pt-prod-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px;
  background: rgba(220, 38, 38, 0.25);
  border: 1px solid rgba(220, 38, 38, 0.55);
  border-radius: 30px;
  color: #fecaca;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pt-prod-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.3;
}

.pt-prod-hero-sub {
  font-size: 14.5px;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 2. CONTAINER */
.pt-prod-container {
  width: 100%;
  max-width: 1240px;
  margin: 30px auto 0;
  padding: 0 15px;
}

/* Quick Category Tabs */
.pt-cat-switch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
}

.pt-cat-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pt-cat-tab-item:hover {
  border-color: #0b3664;
  color: #0b3664;
  background: #f1f5f9;
}

.pt-cat-tab-item.active {
  background: #0b3664;
  border-color: #0b3664;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(11, 54, 100, 0.25);
}

/* ==========================================================================
   VIEW 1: DANH SÁCH SẢN PHẨM THEO LOẠI (GRID)
   ========================================================================== */
.pt-sp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pt-sp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.pt-sp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
  border-color: #cbd5e1;
}

.pt-sp-thumb-wrap {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #0b1a30;
  display: block;
}

.pt-sp-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pt-sp-card:hover .pt-sp-thumb-wrap img {
  transform: scale(1.06);
}

.pt-sp-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  background: rgba(11, 54, 100, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.pt-sp-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pt-sp-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.pt-sp-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.pt-sp-title a:hover {
  color: #dc2626;
}

.pt-sp-specs-snippet {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 14px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.pt-sp-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.pt-sp-btn-view {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f1f5f9;
  color: #0b3664;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.pt-sp-btn-view:hover {
  background: #0b3664;
  color: #ffffff;
}

.pt-sp-btn-zalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #0068ff;
  color: #ffffff;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}

.pt-sp-btn-zalo:hover {
  background: #0054cc;
  color: #ffffff;
}

/* ==========================================================================
   VIEW 2: CHI TIẾT SẢN PHẨM CỤ THỂ (KHI CLICK VÀO 1 SẢN PHẨM)
   ========================================================================== */
.pt-single-showcase {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 35px;
}

.pt-single-top-row {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.pt-single-img-box {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.pt-single-img-box img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.pt-single-info-box {
  display: flex;
  flex-direction: column;
}

.pt-single-h1 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 12px;
}

.pt-single-status-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: #64748b;
}

.pt-single-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 20px;
  font-weight: 600;
}

.pt-single-specs-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}

.pt-single-specs-card strong {
  color: #0b3664;
  display: block;
  margin-bottom: 8px;
  font-size: 14.5px;
}

.pt-single-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.pt-single-btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #dc2626;
  color: #ffffff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.pt-single-btn-call:hover {
  background: #b91c1c;
  color: #ffffff;
  transform: translateY(-2px);
}

.pt-single-btn-zalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: #0068ff;
  color: #ffffff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.pt-single-btn-zalo:hover {
  background: #0054cc;
  color: #ffffff;
}

.pt-single-content-body {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #e2e8f0;
  font-size: 15.5px;
  line-height: 1.8;
  color: #27272a;
}

.pt-single-content-body h2,
.pt-single-content-body h3 {
  color: #0b3664;
  margin: 24px 0 12px;
  font-weight: 700;
}

.pt-single-content-body p {
  margin-bottom: 16px;
}

/* Banner Liên Hệ Đặt In */
.pt-prod-cta-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, #0b3664 0%, #1e3a8a 100%);
  border-radius: 12px;
  padding: 30px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 6px 20px rgba(11, 54, 100, 0.2);
}

.pt-prod-cta-banner h2,
.pt-prod-cta-banner h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
}

.pt-prod-cta-banner p {
  margin: 0;
  font-size: 14px;
  color: #e2e8f0;
}

.pt-prod-cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.pt-prod-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s;
}

.pt-prod-cta-btn:hover {
  transform: translateY(-2px);
}

.pt-prod-cta-btn.call {
  background: #dc2626;
  color: #ffffff;
}

.pt-prod-cta-btn.zalo {
  background: #ffffff;
  color: #0b3664;
}

/* Responsive */
@media (max-width: 1100px) {
  .pt-sp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pt-single-top-row {
    grid-template-columns: 380px 1fr;
  }
}

@media (max-width: 860px) {
  .pt-sp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pt-single-top-row {
    grid-template-columns: 1fr;
  }
  .pt-prod-cta-banner {
    flex-direction: column;
    text-align: center;
  }
  .pt-prod-cta-btns {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .pt-sp-grid {
    grid-template-columns: 1fr;
  }
  .pt-prod-hero-title {
    font-size: 24px;
  }
}

/* ==========================================================================
   PHÂN TRANG SẢN PHẨM (PAGINATION)
   ========================================================================== */
.pt-pagination-wrap {
  margin-top: 45px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pt-pagination-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.pt-pagination-list li {
  margin: 0;
}
.pt-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.pt-page-link:hover {
  background: #0b3664;
  color: #ffffff;
  border-color: #0b3664;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(11, 54, 100, 0.2);
}
.pt-page-active {
  background: #0b3664 !important;
  color: #ffffff !important;
  border-color: #0b3664 !important;
  box-shadow: 0 4px 12px rgba(11, 54, 100, 0.3);
  cursor: default;
}
.pt-page-disabled {
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: not-allowed;
  box-shadow: none;
}
.pt-page-disabled:hover {
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
  transform: none;
  box-shadow: none;
}
.pt-page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 42px;
  color: #94a3b8;
  font-size: 16px;
}
.pt-pagination-info {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 500;
}
