/* ===== Variables & Reset ===== */
:root {
  --navy: #0a1f33;
  --navy-2: #0d2a47;
  --blue-700: #114a82;
  --blue-600: #1565b0;
  --blue-500: #2b8fd6;
  --blue-100: #e6eef6;
  --blue-50:  #f5f8fc;
  --ink: #16242f;
  --muted: #5d6f80;
  --line: #d9e3ee;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Buttons (no radius) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-600);
  color: var(--white);
  padding: 15px 32px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .6px;
  text-transform: uppercase;
  border: 1px solid var(--blue-600);
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 31, 51, .28);
}
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--sm { padding: 11px 22px; font-size: 12px; }
.btn--sm:hover { transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 31, 51, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 2px;
}
.logo__icon { width: 28px; height: 28px; color: var(--blue-500); }
.logo__img { max-height: 44px; width: auto; display: block; }
.logo--light { color: var(--white); }

.nav { display: flex; gap: 40px; }
.nav ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav li { list-style: none; position: relative; }
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-parent > a { color: var(--white); }
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after { width: 100%; }
.nav a {
  text-decoration: none;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue-500);
  transition: width .3s ease;
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }
.header__cta { letter-spacing: 1px; }

/* ===== Banner / Carousel ===== */
.banner {
  position: relative;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--navy);
}
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  transition: opacity 1s ease, transform 6s ease, visibility 1s;
  display: flex;
  align-items: center;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,24,40,.12) 0%, rgba(8,24,40,.28) 100%);
}
.slide__content {
  position: relative;
  color: var(--white);
  max-width: 720px;
}
.slide__eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--blue-500);
  margin-bottom: 22px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(40px);
}
.slide__title {
  font-size: 56px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateX(60px);
}
.slide__text {
  font-size: 18px;
  color: rgba(255,255,255,.86);
  margin-bottom: 38px;
  max-width: 560px;
  opacity: 0;
  transform: translateX(60px);
}
.slide__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateX(60px);
}
/* entrance from right when active */
.slide.is-active .slide__eyebrow { animation: enterRight .7s .2s ease forwards; }
.slide.is-active .slide__title  { animation: enterRight .7s .35s ease forwards; }
.slide.is-active .slide__text   { animation: enterRight .7s .5s ease forwards; }
.slide.is-active .slide__actions{ animation: enterRight .7s .65s ease forwards; }
@keyframes enterRight {
  to { opacity: 1; transform: translateX(0); }
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background .25s, border-color .25s;
}
.slider__arrow svg { width: 22px; height: 22px; }
.slider__arrow:hover { background: var(--blue-600); border-color: var(--blue-600); }
.slider__arrow--prev { left: 28px; }
.slider__arrow--next { right: 28px; }

.slider__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}
.slider__dots button {
  width: 34px; height: 4px;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s;
}
.slider__dots button.is-active { background: var(--blue-500); }

/* ===== Section ===== */
.section { padding: 110px 0; }
.section--alt { background: var(--blue-50); }
.section__head { text-align: center; margin-bottom: 64px; }
.section__tag {
  display: inline-block;
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 12px;
}
.section__tag::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 40px; height: 2px;
  background: var(--blue-500);
}
.section__title {
  font-size: 38px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .5px;
  max-width: 760px;
  margin: 0 auto;
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__media { overflow: hidden; position: relative; }
.about__media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.about__media:hover img { transform: scale(1.06); }
.about__text p { color: var(--muted); margin-bottom: 20px; font-size: 16px; }
.about__stats { display: flex; gap: 44px; margin-top: 34px; }
.stat__num {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1;
}
.stat__label { color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

.about__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 56px;
}
.feature {
  background: var(--white);
  padding: 34px 28px;
  transition: background .3s ease, transform .3s ease;
}
.feature:hover { background: var(--navy); transform: translateY(-4px); }
.feature__icon { width: 38px; height: 38px; color: var(--blue-600); transition: color .3s; }
.feature h3 { margin: 16px 0 10px; font-size: 18px; color: var(--navy); letter-spacing: .5px; transition: color .3s; }
.feature p { color: var(--muted); font-size: 14px; transition: color .3s; }
.feature:hover .feature__icon { color: var(--blue-500); }
.feature:hover h3 { color: var(--white); }
.feature:hover p { color: rgba(255,255,255,.75); }

/* ===== Products ===== */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .35s ease, transform .35s ease;
}
.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(10,31,51,.18);
}
.product__media {
  overflow: hidden;
  position: relative;
}
.product__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,31,51,.45));
  opacity: 0;
  transition: opacity .4s ease;
}
.product__media img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: var(--white);
  padding: 14px;
  transition: transform .7s ease;
}
.product:hover .product__media img { transform: scale(1.12); }
.product:hover .product__media::after { opacity: 1; }
.product__body { padding: 22px 24px 24px; }
.product__body h3 { color: var(--navy); font-size: 17px; line-height: 1.3; margin-bottom: 8px; letter-spacing: .3px; }
.product__body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product__link {
  color: var(--blue-600);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product__link span { transition: transform .3s ease; }
.product__link:hover { color: var(--navy); }
.product__link:hover span { transform: translateX(6px); }

/* ===== Contact ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}
.contact__lead { color: var(--muted); font-size: 16px; margin-bottom: 34px; }
.contact__list { list-style: none; }
.contact__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
}
.contact__list svg { width: 22px; height: 22px; color: var(--blue-600); flex-shrink: 0; }

.contact__form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-size: 15px;
  font-family: inherit;
  background: var(--blue-50);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: inset 0 -2px 0 var(--blue-500);
  background: #fff;
}
.field textarea { resize: vertical; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 34px 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .logo__text { font-size: 17px; }
.footer__copy { font-size: 13px; letter-spacing: .5px; }

/* ===== Reveal on scroll (enter from right) ===== */
.reveal {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about, .contact { grid-template-columns: 1fr; gap: 44px; }
  .about__cards { grid-template-columns: repeat(2, 1fr); }
  .about__media img { height: 320px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .slide__title { font-size: 42px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .products, .about__cards { grid-template-columns: 1fr; }
  .about__stats { gap: 28px; }
  .section { padding: 70px 0; }
  .slide__title { font-size: 32px; }
  .slide__content { max-width: 100%; }
  .slider__arrow { display: none; }
  .footer__inner { justify-content: center; text-align: center; }
}

/* ===================================================== */
/* ===== Products Page ===== */
/* ===================================================== */

/* Page hero */
.pagehero {
  position: relative;
  background: url('https://picsum.photos/id/1016/1920/600') center/cover no-repeat fixed;
  color: var(--white);
}
.pagehero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,24,40,.92), rgba(8,24,40,.6));
}
.pagehero__inner {
  position: relative;
  padding: 88px 28px;
}
.pagehero__crumb { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.pagehero__crumb a { color: var(--blue-500); text-decoration: none; }
.pagehero__crumb a:hover { color: #fff; }
.pagehero__title { font-size: 44px; font-weight: 800; letter-spacing: 1px; }

/* Shop layout */
.shop__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sidebar */
.shop__side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.cat {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 26px;
}
.cat__title {
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--blue-500);
}
.cat__list, .cat__sub { list-style: none; margin: 0; padding: 0; }
.cat__item { margin: 0; }
.cat__list > .cat__item { border-bottom: 1px solid var(--line); }
.cat__list > .cat__item:last-child { border-bottom: none; }
.cat__row { display: flex; align-items: center; }
.cat__btn {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 13px 4px 13px 0;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: color .2s;
}
.cat__btn span {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.cat__btn:hover { color: var(--blue-600); }
.cat__btn.is-active { color: var(--blue-600); font-weight: 700; }
.cat__btn.is-active span { color: var(--blue-600); }

/* Accordion toggle */
.cat__toggle {
  flex: 0 0 auto;
  width: 28px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}
.cat__toggle svg { width: 15px; height: 15px; transition: transform .3s ease; }
.cat__toggle:hover { color: var(--blue-600); }
.cat__item.is-open > .cat__row .cat__toggle svg { transform: rotate(180deg); }

/* Sub-categories */
.cat__sub { display: none; margin-left: 6px; }
.cat__item.is-open > .cat__sub { display: block; }
.cat__sub .cat__item { border-bottom: none; }
.cat__sub .cat__btn { padding-left: 16px; font-size: 14px; color: var(--muted); }
.cat__sub .cat__btn:hover,
.cat__sub .cat__btn.is-active { color: var(--blue-600); }

.cat--help { background: var(--navy); color: rgba(255,255,255,.8); }
.cat--help .cat__title { color: #fff; border-bottom-color: var(--blue-500); }
.cat--help p { font-size: 14px; margin-bottom: 18px; }

/* Shop main */
.shop__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.shop__count { color: var(--muted); font-size: 14px; }
.shop__count strong { color: var(--navy); font-size: 16px; }
.products--shop { grid-template-columns: repeat(3, 1fr); }

/* Actions on shop cards */
.product__media { position: relative; }
.product__actions { display: flex; gap: 12px; }
.btn--outline {
  background: transparent;
  color: var(--blue-600);
  border-color: var(--blue-600);
}
.btn--outline:hover {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
}
.product__actions .btn { flex: 1; }

/* ===== Inquiry Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.modal.is-open { display: block; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 31, .72);
  backdrop-filter: blur(3px);
  animation: fadeIn .3s ease;
}
.modal__dialog {
  position: relative;
  max-width: 880px;
  width: calc(100% - 48px);
  margin: 6vh auto;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
  animation: modalIn .4s cubic-bezier(.2,.8,.2,1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background .25s, color .25s;
}
.modal__close svg { width: 20px; height: 20px; }
.modal__close:hover { background: var(--navy); color: #fff; }

.modal__grid { display: grid; grid-template-columns: 1fr 1fr; }

/* Left: product info */
.modal__product { padding: 36px; background: var(--blue-50); border-right: 1px solid var(--line); }
.modal__media { overflow: hidden; margin-bottom: 22px; background: var(--white); border: 1px solid var(--line); }
.modal__media img { width: 100%; height: 240px; object-fit: contain; padding: 16px; }
.modal__cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-600);
  border: 1px solid var(--blue-600);
  padding: 3px 10px;
  margin-bottom: 14px;
}
.modal__name { font-size: 24px; color: var(--navy); margin-bottom: 12px; letter-spacing: .5px; }
.modal__desc { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.modal__specs { list-style: none; }
.modal__specs li {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.modal__specs span { color: var(--muted); }
.modal__specs b { color: var(--navy); font-weight: 600; }

/* Right: form */
.modal__form { padding: 36px; }
.modal__form h4 { font-size: 22px; color: var(--navy); letter-spacing: .5px; margin-bottom: 6px; }
.modal__formlead { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* ===== Products page responsive ===== */
@media (max-width: 992px) {
  .shop__grid { grid-template-columns: 1fr; }
  .shop__side { position: static; flex-direction: row; flex-wrap: wrap; }
  .cat { flex: 1; min-width: 260px; }
  .products--shop { grid-template-columns: repeat(2, 1fr); }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__product { border-right: none; border-bottom: 1px solid var(--line); }
  .modal__dialog { margin: 4vh auto; max-height: 92vh; overflow-y: auto; }
}
@media (max-width: 640px) {
  .products--shop { grid-template-columns: 1fr; }
  .pagehero__title { font-size: 32px; }
  .shop__side { display: none; }
  .modal__product, .modal__form { padding: 26px; }
}

/* ===================================================== */
/* ===== Product Detail Page ===== */
/* ===================================================== */

/* allow <a> to look like category button */
a.cat__btn { text-decoration: none; }

/* Top: gallery + info */
.pd-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-bottom: 56px;
}

/* Gallery */
.pd-gallery__main {
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
}
.pd-gallery__main img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  padding: 18px;
  transition: transform .6s ease;
}
.pd-gallery__main:hover img { transform: scale(1.06); }
.pd-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.pd-thumb {
  border: 1px solid var(--line);
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .25s;
}
.pd-thumb img { width: 100%; height: 90px; object-fit: contain; padding: 6px; background: var(--white); display: block; transition: opacity .25s; }
.pd-thumb:hover img { opacity: .8; }
.pd-thumb.is-active { border-color: var(--blue-600); border-width: 2px; }

/* Info */
.pd-info__cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-600);
  border: 1px solid var(--blue-600);
  padding: 4px 12px;
  margin-bottom: 16px;
}
.pd-info__name {
  font-size: 30px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1.25;
  margin-bottom: 14px;
}
.pd-info__desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

/* Spec table */
.pd-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
.pd-table th,
.pd-table td {
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--line);
}
.pd-table th {
  width: 38%;
  background: var(--blue-50);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: .3px;
}
.pd-table td { color: var(--muted); }

.pd-info__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Below: full detail */
.pd-detail__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 24px;
}
.pd-detail__tab {
  display: inline-block;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--blue-50);
  border: 2px solid var(--line);
  border-bottom: none;
  margin-bottom: -2px;
  font-family: inherit;
  cursor: pointer;
  transition: color .25s, background .25s, border-color .25s;
}
.pd-detail__tab:hover { color: var(--navy); }
.pd-detail__tab.is-active {
  color: var(--blue-600);
  background: var(--white);
  border-color: var(--blue-600);
  border-bottom: 2px solid var(--white);
}
.pd-detail__panel { display: none; }
.pd-detail__panel.is-active { display: block; }
.pd-detail__body { color: var(--muted); font-size: 15px; line-height: 1.85; }
.pd-detail__body p { margin-bottom: 16px; }

/* Detail page responsive */
@media (max-width: 992px) {
  .pd-top { grid-template-columns: 1fr; gap: 32px; }
  .pd-gallery__main img { height: 340px; }
}
@media (max-width: 640px) {
  .pd-info__name { font-size: 24px; }
  .pd-gallery__main img { height: 260px; }
  .pd-detail__tab { padding: 11px 18px; font-size: 13px; }
}

/* ===== Product archive pagination / empty ===== */
.shop__pagination { margin-top: 44px; }
.shop__pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.shop__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background .25s, color .25s, border-color .25s;
}
.shop__pagination .page-numbers:hover,
.shop__pagination .page-numbers.current {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}
.shop__empty {
  padding: 50px 0;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

/* ===== Imported data tables (specifications) ===== */
.pd-spec-wrap { overflow-x: auto; }
.pd-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 520px;
}
.pd-spec-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  padding: 6px 0 12px;
  letter-spacing: .5px;
}
.pd-spec-table th,
.pd-spec-table td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: center;
  white-space: nowrap;
}
.pd-spec-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  letter-spacing: .3px;
}
.pd-spec-table tbody tr:nth-child(even) td { background: var(--blue-50); }
.pd-spec-table tbody tr:hover td { background: var(--blue-100); }

/* Content (intro) images inside the description */
.pd-detail__body img { max-width: 100%; height: auto; margin: 8px 0; }

/* ===== Homepage "view all products" ===== */
.products__more { text-align: center; margin-top: 48px; }
