@charset "UTF-8";
/* ========================================================
   QDZRT High-Precision Photo Galleries Stylesheet
   Strict <= 8px border-radius standard
   ======================================================== */

.qdzrt-gallery-page {
  width: 100%;
  background: #f8fafc;
  color: #11263c;
}

/* ========================================================
   GALLERY HERO BANNER
   ======================================================== */
.qdzrt-gallery-hero {
  width: 100%;
  background: linear-gradient(135deg, #11263c 0%, #0d1e30 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.qdzrt-gallery-hero__inner {
  width: min(calc(100% - (var(--qdzrt-gutter, 20px) * 2)), var(--qdzrt-layout, 1300px));
  margin-inline: auto;
  padding: 46px 0 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Breadcrumb */
.qdzrt-gallery-hero .qdzrt-page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.875rem;
  line-height: 1.4;
}
.qdzrt-gallery-hero .qdzrt-product-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
}
.qdzrt-gallery-hero .qdzrt-product-breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8125rem;
}
.qdzrt-gallery-hero .qdzrt-product-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.18s ease;
}
.qdzrt-gallery-hero .qdzrt-product-breadcrumb a:hover {
  color: #ffffff;
}

/* Standard 4px Engineering Badge */
.qdzrt-gallery-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 12px;
}

/* Title & Intro */
.qdzrt-gallery-hero__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.005em;
}
.qdzrt-gallery-hero__desc {
  max-width: 860px;
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ========================================================
   MAIN CONTENT SHELL
   ======================================================== */
.qdzrt-gallery-page__content {
  padding: 36px 0 28px;
}
.qdzrt-gallery-shell {
  width: min(calc(100% - (var(--qdzrt-gutter, 20px) * 2)), var(--qdzrt-layout, 1300px));
  margin-inline: auto;
}

/* Media Hub Global Filter Bar */
.qdzrt-media-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.qdzrt-media-filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid #d8e2ec;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.qdzrt-media-filter-tab:hover {
  border-color: #009999;
  color: #009999;
  background: #f0fdfd;
}
.qdzrt-media-filter-tab.is-active {
  background: #009999;
  border-color: #008181;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 153, 153, 0.25);
}

/* Category Filter Bar (Sticky Following) */
.qdzrt-gallery-filter-bar {
  position: -webkit-sticky;
  position: sticky;
  top: var(--qdzrt-pinned-header-height, 50px);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  margin-bottom: 26px;
  flex-wrap: wrap;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 226, 236, 0.8);
}
.qdzrt-gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid #d8e2ec;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.qdzrt-gallery-filter-btn:hover {
  border-color: #009999;
  color: #009999;
  background: #f0fdfd;
}
.qdzrt-gallery-filter-btn.is-active {
  background: #009999;
  border-color: #008181;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 153, 153, 0.25);
}

/* ========================================================
   GALLERY CARDS
   ======================================================== */
.qdzrt-gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.qdzrt-gallery-card {
  background: #ffffff;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(17, 38, 60, 0.04);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Card Header */
.qdzrt-gallery-card__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qdzrt-gallery-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qdzrt-gallery-card__category {
  color: #009999;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.qdzrt-gallery-card__spec-badge {
  display: inline-flex;
  padding: 2px 8px;
  background: #e6f7f7;
  color: #008181;
  border: 1px solid #b2e5e5;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}
.qdzrt-gallery-card__title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: #11263c;
  line-height: 1.3;
}
.qdzrt-gallery-card__summary {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #475569;
  max-width: 980px;
}

/* Photos Grid */
.qdzrt-gallery-card__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.qdzrt-gallery-card__photo-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  padding: 10px;
  transition: all 0.22s ease;
}
.qdzrt-gallery-card__photo-item:hover {
  border-color: #80cccc;
  box-shadow: 0 8px 20px rgba(0, 153, 153, 0.08);
  transform: translateY(-2px);
}
.qdzrt-gallery-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/11;
  border-radius: 4px;
  overflow: hidden;
  background: #e2e8f0;
}
.qdzrt-gallery-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.qdzrt-gallery-card__photo-item:hover .qdzrt-gallery-card__img-wrap img {
  transform: scale(1.05);
}
.qdzrt-gallery-card__zoom-indicator {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 24px;
  height: 24px;
  background: transparent;
  backdrop-filter: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: all 0.2s ease;
}
.qdzrt-gallery-card__photo-item:hover .qdzrt-gallery-card__zoom-indicator {
  background: transparent;
  color: #1e293b;
  opacity: 1;
  transform: scale(1.1);
}
.qdzrt-gallery-card__photo-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qdzrt-gallery-card__photo-info strong {
  font-size: 0.875rem;
  color: #11263c;
  line-height: 1.35;
}
.qdzrt-gallery-card__photo-info p {
  margin: 0;
  font-size: 0.78125rem;
  line-height: 1.5;
  color: #64748b;
}

/* Specifications Matrix Box */
.qdzrt-gallery-card__specs-box {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 14px 18px;
}
.qdzrt-gallery-card__specs-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #008181;
  margin-bottom: 8px;
}
.qdzrt-gallery-card__specs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.qdzrt-gallery-card__spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.qdzrt-gallery-card__spec-item .spec-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}
.qdzrt-gallery-card__spec-item .spec-val {
  font-size: 0.8125rem;
  color: #11263c;
  font-weight: 700;
}

/* ========================================================
   FULL-WIDTH 通栏 BOTTOM CTA BANNER
   (Consistent with product-category banner standard)
   ======================================================== */
.qdzrt-gallery-page .qdzrt-product-bottom-cta {
  position: relative;
  left: 0;
  width: 100%;
  margin: 0;
  border-radius: 0;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.14), transparent 32%), linear-gradient(135deg, #089c98 0%, #04726f 100%);
  box-shadow: none;
  overflow: hidden;
}
.qdzrt-gallery-page .qdzrt-product-bottom-cta__inner {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(36px, 4.5vw, 52px) clamp(20px, 4vw, 48px);
  text-align: center;
  color: #ffffff;
}
.qdzrt-gallery-page .qdzrt-product-bottom-cta h2 {
  margin: 0;
  max-width: 860px;
  color: #ffffff;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.qdzrt-gallery-page .qdzrt-product-bottom-cta p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.68;
}
.qdzrt-gallery-page .qdzrt-gallery-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.qdzrt-gallery-page .qdzrt-product-bottom-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #056d69;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.qdzrt-gallery-page .qdzrt-product-bottom-cta__button:hover,
.qdzrt-gallery-page .qdzrt-product-bottom-cta__button:focus-visible {
  transform: translateY(-2px);
  background: #f0fdfd;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  color: #056d69;
  text-decoration: none;
}
.qdzrt-gallery-page .qdzrt-product-bottom-cta__button--ghost {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  backdrop-filter: blur(4px);
  box-shadow: none;
}
.qdzrt-gallery-page .qdzrt-product-bottom-cta__button--ghost:hover,
.qdzrt-gallery-page .qdzrt-product-bottom-cta__button--ghost:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: #056d69;
}

/* ========================================================
   OS DESKTOP WINDOW STYLE DRAGGABLE VIEWER
   Strict <= 8px border-radius standard
   ======================================================== */
.qdzrt-os-window-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.qdzrt-os-window-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.qdzrt-os-window-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 41, 0.75);
  backdrop-filter: blur(6px);
}

/* Draggable Floating OS Window */
.qdzrt-os-window {
  position: fixed;
  z-index: 100000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 1020px);
  max-height: 88vh;
  background: #ffffff;
  border-radius: 6px; /* Strictly <= 8px site standard */
  border: 1px solid #cbd5e1;
  box-shadow: 0 20px 50px rgba(17, 38, 60, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.2s ease, height 0.2s ease, top 0.1s ease, left 0.1s ease;
}
.qdzrt-os-window.is-dragging {
  user-select: none;
  cursor: grabbing !important;
  box-shadow: 0 28px 70px rgba(17, 38, 60, 0.38), 0 0 0 2px #009999;
  transition: none !important;
}
.qdzrt-os-window.is-maximized {
  top: 15px !important;
  left: 15px !important;
  transform: none !important;
  width: calc(100vw - 30px) !important;
  height: calc(100vh - 30px) !important;
  max-height: none !important;
}

/* Window Titlebar (Clean Deep Navy Engineering Header) */
.qdzrt-os-window__titlebar {
  background: #11263c;
  color: #f1f5f9;
  padding: 7px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e395b;
  cursor: grab;
  user-select: none;
}
.qdzrt-os-window__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qdzrt-os-window__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f8fafc;
}
.qdzrt-os-window__title svg {
  color: #38bdf8;
}

/* Titlebar Controls */
.qdzrt-os-window__controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qdzrt-os-window__counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  margin-right: 8px;
  font-family: monospace;
}
.qdzrt-os-window__btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.qdzrt-os-window__btn:hover {
  background: #009999;
  border-color: #009999;
  color: #ffffff;
}
.qdzrt-os-window__btn--close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

/* Window Canvas & Body (Clean Light Canvas with Zero Black Margins) */
.qdzrt-os-window__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #f8fafc;
}
.qdzrt-os-window__canvas {
  width: 100%;
  /* Titlebar/statusbar were trimmed by 21px total; that height is returned here
     so the photo grows while the window keeps its original size. */
  height: calc(62vh + 21px);
  max-height: calc(88vh - 109px);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  padding: 8px;
  overflow: hidden;
  box-sizing: border-box;
}
.qdzrt-os-window.is-maximized .qdzrt-os-window__canvas {
  height: calc(100vh - 129px);
}
.qdzrt-os-window__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(17, 38, 60, 0.08);
  display: block;
}

/* Bottom Statusbar */
.qdzrt-os-window__statusbar {
  padding: 9px 20px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.qdzrt-os-window__caption-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.qdzrt-os-window__caption-text strong {
  font-size: 0.9375rem;
  color: #11263c;
  font-weight: 800;
}
.qdzrt-os-window__caption-text p {
  margin: 0;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .qdzrt-gallery-card__photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qdzrt-gallery-card__specs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qdzrt-gallery-bottom-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .qdzrt-gallery-card {
    padding: 18px;
  }
  .qdzrt-gallery-card__photos {
    grid-template-columns: 1fr;
  }
  .qdzrt-gallery-card__specs-grid {
    grid-template-columns: 1fr;
  }
}

/* V4 multilingual process narrative */
.qdzrt-gallery-process {
	margin: 26px 0 30px;
	padding: 22px;
	border: 1px solid #d8e2ec;
	border-radius: 6px;
	background: #f8fafc;
}

.qdzrt-gallery-process__head {
	max-width: 850px;
	margin-bottom: 18px;
}

.qdzrt-gallery-process__head h2 {
	margin: 0 0 8px;
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	color: #11263c;
}

.qdzrt-gallery-process__head p {
	margin: 0;
	line-height: 1.65;
	color: #52677c;
}

.qdzrt-gallery-process__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.qdzrt-gallery-process__step {
	position: relative;
	padding: 16px;
	border: 1px solid #dce7ef;
	border-radius: 4px;
	background: #ffffff;
}

.qdzrt-gallery-process__num {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #007a7a;
}

.qdzrt-gallery-process__step h3 {
	margin: 5px 0 7px;
	font-size: 1rem;
	color: #11263c;
}

.qdzrt-gallery-process__step p {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.55;
	color: #64748b;
}

@media (max-width: 900px) {
	.qdzrt-gallery-process__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.qdzrt-gallery-process__grid {
		grid-template-columns: 1fr;
	}
}
