/* ===== NEW PRODUCT RELEASE ===== */

/* Featured card — horizontal: image left, text right */
.np-featured {
  padding: 0 0 30px;
}

.np-featured-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 300px;
}

.np-featured-card.np-featured-card--hoverable {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.np-featured-card.np-featured-card--hoverable:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.np-featured-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.np-featured-text {
  position: relative;
  z-index: 2;
  padding: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 300px;
}

.np-featured-text h2 {
  /* font-size: 1.8rem;
  font-weight: 800; */
  color: var(--color-dark);
  margin: 10px;
}

.np-featured-text p {
  font-size: 1.8rem;
  color: var(--color-black);
  margin: 0 10px 10px;
}

/* Product Grid — 2x2 */
.np-grid-section {
  padding: 30px 0;
}

.np-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.np-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.np-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.np-card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  color: var(--color-white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.np-card-content h3 {
  /* font-size: 1.4rem;
  font-weight: 800; */
  margin: 10px;
  color: var(--color-black);
}

.np-card-content p {
  font-size: 1.8rem;
  color: var(--color-black);
  line-height: 1.5;
  margin: 0 10px;
  max-width: 280px;
  flex-grow: 1;
}

/* Button inside card should not stretch */
.np-card-content .btn {
  align-self: flex-start;
  margin: 10px;
}



/* ===== IMD VIDEO MODAL ===== */
.imd-video-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.imd-video-overlay.active {
  display: flex;
}

.imd-video-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #0a1628;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.imd-video-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.imd-video-close:hover {
  background: #fff;
  transform: scale(1.1);
}

/* Video area */
.imd-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.imd-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Controls overlay — bottom-right, same style as homepage */
.imd-video-wrapper .video-controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  pointer-events: auto;
}

.imd-video-wrapper .video-toggle,
.imd-video-wrapper .video-volume {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  flex-shrink: 0;
  pointer-events: auto;
}

.imd-video-wrapper .video-toggle:hover,
.imd-video-wrapper .video-volume:hover {
  background: #fff;
  transform: scale(1.1);
}

.imd-video-wrapper .volume-slider-container {
  background: rgba(255,255,255,0.9);
  border-radius: 25px;
  padding: 8px 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
}

.imd-video-wrapper .volume-slider {
  width: 100px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #ddd;
  outline: none;
  border-radius: 2px;
  cursor: pointer;
}

.imd-video-wrapper .volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.imd-video-wrapper .volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.imd-video-wrapper .volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

/* Seek bar — below the video */
.imd-seekbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 14px;
  background: #0d1f35;
}

.imd-time {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
  min-width: 38px;
  font-family: monospace;
}

.imd-progress-track {
  flex: 1;
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  cursor: pointer;
}

.imd-progress-track:hover .imd-seek-thumb {
  transform: translate(-50%, -50%) scale(1.3);
}

.imd-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #e87722;
  border-radius: 3px;
  pointer-events: none;
  width: 0%;
  transition: width 0.1s linear;
}

.imd-seek-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: #e87722;
  border-radius: 50%;
  pointer-events: none;
  left: 0%;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
  transition: transform 0.15s ease;
}

/* Responsive */
@media (max-width: 600px) {
  .imd-video-wrapper .video-toggle,
  .imd-video-wrapper .video-volume {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .imd-video-wrapper .video-controls {
    bottom: 10px;
    right: 10px;
    gap: 8px;
  }

  .imd-video-wrapper .volume-slider-container {
    padding: 6px 10px;
  }

  .imd-video-wrapper .volume-slider {
    width: 70px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 628px) {
  .np-featured-card {
    grid-template-columns: 1fr;
  }

  .np-grid {
    grid-template-columns: 1fr;
  }

  .np-card {
    min-height: 260px;
  }

  .np-featured{
    padding: 0 0 20px;
  }
}

