/* NPP | Đồng bộ khối ảnh LED với "Máy in & sản xuất".
   Mọi quy tắc được giới hạn ở section LED / khung phụ ảnh máy in trên trang chủ. */
.npp-v11 .npp-led-home {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: clamp(58px, 7.5vw, 108px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
}
.npp-v11 .npp-led-home .real-photo-header {
  margin-bottom: clamp(25px, 3.8vw, 45px);
}
.npp-v11 .npp-led-home .real-photo-header h2 {
  margin: 0;
  color: #111111 !important;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -.055em;
}
.npp-v11 .npp-led-home .eyebrow {
  color: #FD6A06 !important;
  letter-spacing: .11em;
  font-size: .72rem;
  font-weight: 700;
}
.npp-v11 .npp-led-home .real-photo-desc {
  max-width: 37ch;
  color: #111111 !important;
  font-size: .93rem;
  line-height: 1.7;
}
.npp-v11 .npp-led-home-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(215px, 280px));
  gap: clamp(13px, 1.3vw, 20px);
}
.npp-v11 .npp-led-home-gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #0b1e28;
  box-shadow: 0 15px 36px rgba(2, 102, 194, .12);
  isolation: isolate;
  min-width: 0;
  outline-offset: 5px;
  text-decoration: none;
}
.npp-v11 .npp-led-home-gallery-card-main {grid-row: span 2;}
.npp-v11 .npp-led-home-gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.npp-v11 .npp-led-home-gallery-card-module img {object-fit: contain;}
.npp-v11 .npp-led-home-gallery-card:hover img {transform: scale(1.04);}
.npp-v11 .npp-led-home-gallery-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
  pointer-events: none;
}
.npp-v11 .npp-led-home-photo-caption {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 17px 19px;
  color: #fff !important;
  font-size: clamp(.82rem, 1vw, 1.02rem);
}
.npp-v11 .npp-led-home-photo-caption strong {
  flex: 1;
  color: #fff !important;
  font-weight: 800;
  line-height: 1.3;
}
.npp-v11 .npp-led-home-photo-count {color: #6ad5ff !important;font-size:.79rem;font-weight:700;}
.npp-v11 .npp-led-home-photo-caption > span:last-child {
  border: 1px solid #ffffff77;
  padding: 3px 7px;
  border-radius: 99px;
}
.npp-v11 .npp-led-home-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}
.npp-v11 .npp-led-home-cta,
.npp-v11 .npp-led-home-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 12px;
  padding: 13px 19px;
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.npp-v11 .npp-led-home-cta {
  color: #fff !important;
  background: #FD6A06;
  box-shadow: 0 10px 25px rgba(253,106,6,.20);
}
.npp-v11 .npp-led-home-secondary {
  color: #111 !important;
  background: #fff;
  border: 1px solid #dfe9f3;
}
.npp-v11 .npp-led-home-cta:hover,
.npp-v11 .npp-led-home-secondary:hover {transform: translateY(-2px);}
/* Homepage hero: keep LED as the main photograph, add the original printer photograph. */
.npp-v11 .hero-photo-stage {isolation: isolate;}
.npp-v11 .hero-photo-stage .npp-hero-printer {
  position: absolute;
  z-index: 4;
  right: -12px;
  bottom: 28px;
  width: 42%;
  aspect-ratio: 1.32 / 1;
  overflow: hidden;
  display: block;
  border: 5px solid var(--surface);
  border-radius: 17px;
  background: #172637;
  box-shadow: 0 19px 42px rgba(17,36,52,.23);
  text-decoration: none;
  outline-offset: 3px;
}
.npp-v11 .hero-photo-stage .npp-hero-printer > img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.npp-v11 .hero-photo-stage .npp-hero-printer:hover > img {transform: scale(1.04);}
.npp-v11 .hero-photo-stage .npp-hero-printer-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(1,13,22,.9),rgba(1,13,22,.03));
  color: #fff !important;
  font-size: clamp(.57rem,.68vw,.76rem);
  font-weight: 800;
  letter-spacing: .025em;
}
.npp-v11 .hero-photo-stage .hero-photo-label {z-index: 5;max-width:54%;line-height:1.4;}
.npp-v11 .hero-photo-stage .hero-floating-note {z-index: 6;}
@media (max-width:1050px) {
  .npp-v11 .npp-led-home-gallery {
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-rows: auto;
  }
  .npp-v11 .npp-led-home-gallery-card,
  .npp-v11 .npp-led-home-gallery-card-main {grid-row: auto;aspect-ratio: 1.37;}
  .npp-v11 .npp-led-home-actions {justify-content: flex-start;}
}
@media (max-width:760px) {
  .npp-v11 .npp-led-home .real-photo-header h2 {font-size: 2.1rem;}
  .npp-v11 .hero-photo-stage .npp-hero-printer {right: 3px;bottom: 17px;width: 43%;border-width: 3px;border-radius: 13px;}
  .npp-v11 .hero-photo-stage .npp-hero-printer-caption {padding: 7px 9px; font-size: .55rem;}
  .npp-v11 .hero-photo-stage .hero-photo-label {max-width: 52%;font-size: .55rem;}
}
@media (max-width:575px) {
  .npp-v11 .npp-led-home-gallery {grid-template-columns:1fr;gap:14px;}
  .npp-v11 .npp-led-home-gallery-card,
  .npp-v11 .npp-led-home-gallery-card-main {aspect-ratio:1.5;}
  .npp-v11 .npp-led-home-actions {display:grid;grid-template-columns:1fr;}
  .npp-v11 .npp-led-home-cta,
  .npp-v11 .npp-led-home-secondary {width:100%;}
}
:root[data-theme="dark"] .npp-v11 .npp-led-home {background:#111b28;}
:root[data-theme="dark"] .npp-v11 .npp-led-home .real-photo-header h2 {color:#fff!important;}
:root[data-theme="dark"] .npp-v11 .npp-led-home .real-photo-desc {color:#d8e2ee!important;}
:root[data-theme="dark"] .npp-v11 .npp-led-home-secondary {background:#152b40;color:#fff!important;border-color:#2a4b63;}
@media (prefers-color-scheme: dark) {
 :root:not([data-theme]) .npp-v11 .npp-led-home {background:#111b28;}
 :root:not([data-theme]) .npp-v11 .npp-led-home .real-photo-header h2 {color:#fff!important;}
 :root:not([data-theme]) .npp-v11 .npp-led-home .real-photo-desc {color:#d8e2ee!important;}
 :root:not([data-theme]) .npp-v11 .npp-led-home-secondary {background:#152b40;color:#fff!important;border-color:#2a4b63;}
}
@media (prefers-reduced-motion: reduce) {
 .npp-v11 .npp-led-home *, .npp-v11 .npp-hero-printer > img {transition:none!important;}
}
