/* ============================================
   FEILIKE — Site-wide additions (product detail, archive, contact, blog, 404, timeline)
   ============================================ */

/* Breadcrumb */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--steel); }
.breadcrumb--light { color: rgba(255,255,255,0.7); padding: 0 0 24px; }
.breadcrumb--light a { color: rgba(255,255,255,0.7); }
.breadcrumb--light a:hover { color: var(--accent); }
.breadcrumb--light span { color: #fff; }

/* Page Hero (sub-pages) */
.page-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero__sub {
  max-width: 720px;
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-top: 16px;
}
.page-hero__meta {
  display: inline-block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  letter-spacing: 0.4px;
}

/* Product Hero */
.product-hero { padding: 0 0 80px; }
.product-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-hero__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--steel);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 8px 0 4px;
}
.product-hero__model {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 16px;
}
.product-hero__tagline {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.product-hero__keyspecs { margin-bottom: 28px; }
.product-hero__keyspecs h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.product-hero__keyspecs ul { display: flex; flex-direction: column; gap: 0; }
.product-hero__keyspecs li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.product-hero__keyspecs li span { color: var(--muted); }
.product-hero__keyspecs li strong {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--steel);
}
.product-hero__cta { margin-bottom: 24px; }
.product-hero__cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.product-hero__cta-row .btn { padding: 12px; font-size: 13px; }
.product-hero__perks {
  background: var(--bg-light);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14px;
}
.product-hero__perks li { padding: 4px 0; color: var(--text); }

/* Product Gallery */
.pgallery { position: sticky; top: 100px; }
.pgallery__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-light);
  aspect-ratio: 1;
  margin-bottom: 16px;
}
.pgallery__main img { width: 100%; height: 100%; object-fit: contain; }
.pgallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.pgallery__thumb {
  cursor: pointer;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-light);
  transition: var(--transition);
}
.pgallery__thumb.is-active { border-color: var(--brand); }
.pgallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Tabs */
.product-tabs { padding: 0 0 80px; }
.tabs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--bg-light);
  overflow-x: auto;
}
.tabs__btn {
  background: transparent;
  border: none;
  padding: 18px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: var(--transition);
}
.tabs__btn:hover { color: var(--brand); }
.tabs__btn.is-active { color: var(--brand); background: #fff; }
.tabs__btn.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
}
.tabs__panel { display: none; padding: 36px; }
.tabs__panel.is-active { display: block; }
.tabs__panel h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.tabs__panel p { margin-bottom: 16px; line-height: 1.7; }
.tabs__panel ul { padding-left: 20px; margin-bottom: 16px; }
.tabs__panel ul li { list-style: disc; margin-bottom: 8px; line-height: 1.7; }

/* Specs Table */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th, .specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.specs-table th {
  background: var(--bg-light);
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.specs-table tbody tr:hover { background: var(--bg-light); }
.specs-table td:first-child { color: var(--text); width: 40%; }
.specs-table td:last-child { font-family: var(--font-mono); color: var(--steel); }

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.feature-block {
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}
.feature-block__icon {
  width: 44px;
  height: 44px;
  background: rgba(6, 60, 123, 0.1);
  color: var(--brand);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature-block h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 8px;
}
.feature-block p { font-size: 14px; line-height: 1.6; color: var(--text); }

/* Detail Gallery */
.detail-gallery { display: flex; flex-direction: column; gap: 16px; }
.detail-gallery img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }

/* Video Embed */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 20px 0;
  box-shadow: var(--shadow-lg);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Archive Grid */
.archive-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.archive-sidebar h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 16px;
}
.cat-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}
.cat-list li:last-child a { border-bottom: none; }
.cat-list li a:hover, .cat-list li a.is-active {
  background: var(--bg-light);
  color: var(--brand);
  border-left: 3px solid var(--accent);
  padding-left: 15px;
}
.cat-list li a span {
  background: var(--bg-light);
  color: var(--muted);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 100px;
}
.archive-sidebar__cta {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
}
.archive-sidebar__cta h4 { color: #fff; }
.archive-sidebar__cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  line-height: 1.6;
}
.products__grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Pagination */
.pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--steel);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
}
.pagination .page-numbers:hover, .pagination .page-numbers.current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Page Content */
.page-content { padding: 0; font-size: 16px; line-height: 1.8; color: var(--text); }
.page-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--steel);
  margin: 32px 0 16px;
  letter-spacing: -0.3px;
}
.page-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--steel);
  margin: 24px 0 12px;
}
.page-content p { margin-bottom: 18px; }
.page-content ul { padding-left: 22px; margin-bottom: 18px; }
.page-content ul li { list-style: disc; margin-bottom: 8px; }
.page-content img { border-radius: var(--radius-lg); margin: 20px 0; }

/* Timeline */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 140px;
  width: 2px;
  background: var(--line);
}
.timeline__item {
  display: grid;
  grid-template-columns: 120px 40px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 40px;
  position: relative;
}
.timeline__year {
  text-align: right;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
  padding-top: 2px;
  letter-spacing: -0.3px;
}
.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-light);
  margin: 6px auto 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(255, 106, 19, 0.2);
}
.timeline__body {
  background: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.timeline__body h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.timeline__body p { font-size: 14px; line-height: 1.7; color: var(--text); margin: 0; }

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--steel);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.contact-info > p { color: var(--text); margin-bottom: 28px; }
.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--brand); transform: translateX(4px); }
.contact-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(6, 60, 123, 0.08);
  color: var(--brand);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 4px;
}
.contact-card p { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.contact-card a { font-size: 15px; color: var(--brand); font-weight: 600; }
.contact-card a:hover { color: var(--accent); }

.contact-form-wrap .inquiry__form {
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

/* FAQ */
.faq-group-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 16px;
  padding-top: 16px;
}

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card__img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 24px; }
.blog-card__meta { font-size: 12px; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px; }
.blog-card__body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.3px;
}
.blog-card__body h3 a { color: inherit; }
.blog-card__body h3 a:hover { color: var(--brand); }
.blog-card__body p { font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 12px; }
.blog-card__more { font-size: 13px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: 0.5px; }
.blog-single__img { margin-bottom: 28px; border-radius: var(--radius-lg); overflow: hidden; }

/* Case content */
.case-content__main { margin-bottom: 36px; border-radius: var(--radius-lg); overflow: hidden; }
.case-content__main img { width: 100%; }
.case-content__body { font-size: 16px; line-height: 1.8; margin-bottom: 36px; }

/* 404 */
.error-404 { padding: 120px 0; text-align: center; }
.error-404__big {
  font-family: var(--font-display);
  font-size: 160px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -4px;
  margin-bottom: 12px;
}
.error-404 h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 12px;
}
.error-404 p { color: var(--text); font-size: 17px; margin-bottom: 32px; }
.error-404__ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Form messages */
.form-msg { margin-top: 12px; padding: 0; font-size: 14px; font-weight: 500; text-align: center; }
.form-msg--ok { color: var(--success); }
.form-msg--err { color: #DC2626; }

/* Responsive */
@media (max-width: 1100px) {
  .product-hero__inner { grid-template-columns: 1fr; }
  .pgallery { position: relative; top: 0; }
  .archive-grid { grid-template-columns: 1fr; }
  .products__grid--3 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { left: 20px; }
  .timeline__item { grid-template-columns: 20px 1fr; gap: 16px; }
  .timeline__year { grid-column: 1 / -1; text-align: left; margin-bottom: 4px; padding-left: 36px; }
  .timeline__dot { margin: 6px 0 0; }
}
@media (max-width: 600px) {
  .product-hero__title { font-size: 26px; }
  .product-hero__cta-row { grid-template-columns: 1fr; }
  .tabs__panel { padding: 24px 18px; }
  .pgallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .products__grid--3 { grid-template-columns: 1fr; }
  .error-404__big { font-size: 100px; }
  .error-404 h1 { font-size: 26px; }
}

/* Long pasted spec table — normalize to theme style */
.specs-long { overflow-x: auto; }
.specs-long table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
.specs-long table th,
.specs-long table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
}
.specs-long table th {
  background: var(--bg-light);
  color: var(--steel);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.specs-long table tr:nth-child(even) td { background: #fbfcfd; }
.specs-long table tr:hover td { background: rgba(6, 60, 123, 0.04); }
.specs-long p { margin: 12px 0; line-height: 1.7; }
.specs-long ul, .specs-long ol { padding-left: 22px; margin: 12px 0; }
.specs-long img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 12px 0; }
