/* ============================================
   Products Page Styles
   ============================================ */

.products-page-body {
  background: var(--black);
}

/* ---- Products Banner ---- */
/* ---- Products Banner ---- */
.prd-banner {
  position: relative;
  min-height: 80vh;
  background: radial-gradient(circle at 70% 30%, rgba(226, 7, 20, 0.08) 0%, transparent 60%), var(--black);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 80px;
}

.prd-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.9) 100%);
  z-index: 1;
}

.prd-banner-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 7, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 7, 20, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, #000 40%, transparent 90%);
  pointer-events: none;
  z-index: 1;
}

.prd-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 24px;
  width: 100%;
}

.prd-banner-content {
  text-align: left;
  max-width: 650px;
  padding: 0;
}

.prd-banner-content .section-label {
  justify-content: flex-start;
  margin-bottom: 20px;
}

.prd-banner-title {
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.prd-banner-title span {
  color: var(--red);
  display: block;
}

.prd-banner-desc {
  margin: 0 0 36px 0;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.prd-banner-actions {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
}

.prd-banner-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Borderless Slider Container and Carousel Card */
.prd-slider-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: visible; /* Let the custom aura bleed out */
}

.prd-slider-wrapper {
  position: relative;
  height: 480px;
  width: 100%;
  z-index: 1;
}

.prd-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95) translateY(10px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.prd-slider-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  z-index: 2;
}

/* Category-specific soft glows (auras) behind images */
.prd-slider-slide::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(100px);
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.prd-slider-slide[data-index="0"]::before {
  background: radial-gradient(circle, rgba(0, 150, 255, 0.4) 0%, transparent 70%);
}

.prd-slider-slide[data-index="1"]::before {
  background: radial-gradient(circle, rgba(255, 110, 0, 0.4) 0%, transparent 70%);
}

.prd-slider-slide[data-index="2"]::before {
  background: radial-gradient(circle, rgba(226, 7, 20, 0.4) 0%, transparent 70%);
}

.prd-slider-slide[data-index="3"]::before {
  background: radial-gradient(circle, rgba(0, 220, 220, 0.4) 0%, transparent 70%);
}

@keyframes auraPulse {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.8; }
}

.prd-slider-slide.active::before {
  animation: auraPulse 6s ease-in-out infinite alternate;
}

.prd-slider-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.prd-slider-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  min-height: 310px;
}

.prd-slider-slide.active .prd-slider-img-wrap img {
  animation: floatProduct 5s ease-in-out infinite;
}

.prd-slider-img-wrap img {
  max-width: 100%;
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.8));
  transition: transform 0.5s ease;
}

.prd-slider-info {
  text-align: center;
  padding-top: 16px;
  border-top: none;
}

.prd-slider-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  background: rgba(226, 7, 20, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(226, 7, 20, 0.25);
}

.prd-slider-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

/* Slider Controls */
.prd-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  position: relative;
  z-index: 10;
}

.prd-slider-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.prd-slider-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(226, 7, 20, 0.4);
}

@media (max-width: 900px) {
  .prd-banner {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .prd-banner-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .prd-banner-content {
    margin: 0 auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .prd-banner-title {
    text-align: center;
  }
  .prd-banner-desc {
    text-align: center;
    margin-bottom: 28px;
  }
  .prd-banner-actions {
    justify-content: center;
  }
  .prd-slider-container {
    max-width: 100%;
  }
  .prd-slider-wrapper {
    height: 360px;
  }
  .prd-slider-img-wrap {
    min-height: 200px;
  }
  .prd-slider-img-wrap img {
    max-height: 210px;
  }
  .prd-slider-slide::before {
    width: 260px;
    height: 260px;
    filter: blur(70px);
  }
}

/* ---- Products Grid Section ---- */
.prd-catalog {
  padding: 80px 0 100px;
  position: relative;
}

.prd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.prd-card {
  background: rgba(16, 16, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.prd-card:hover {
  transform: translateY(-5px);
  border-color: rgba(226, 7, 20, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(226, 7, 20, 0.1);
}

.prd-card.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.prd-card-media {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.prd-card-media img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.prd-card:hover .prd-card-media img {
  transform: scale(1.05);
}

.prd-card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prd-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.prd-card-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.prd-card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap 0.3s;
}

.prd-card-link:hover {
  gap: 12px;
}

/* Callouts (like in the image) */
.prd-callout {
  position: absolute;
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.prd-callout::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
}

/* Inner Page Styles */
.prd-detail-header {
  padding: 140px 0 80px;
  position: relative;
  background: radial-gradient(ellipse at top, rgba(226, 7, 20, 0.08) 0%, transparent 60%), var(--black);
}

.prd-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.prd-detail-visual {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 60px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.prd-detail-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(226,7,20,0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.prd-detail-visual img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  position: relative;
  z-index: 1;
  animation: floatProduct 6s ease-in-out infinite;
}

@keyframes floatProduct {
  0%, 100% { transform: translateY(0) scale(1.02); }
  50% { transform: translateY(-15px) scale(1.05); }
}

.prd-detail-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.prd-detail-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 30px;
}

.prd-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.prd-spec-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 24px;
  border-radius: 8px;
  border-left: 3px solid var(--red);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.prd-spec-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  border-left-width: 6px;
}

.prd-spec-item h4 {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.prd-spec-item p {
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 600;
}

@media (max-width: 900px) {
  .prd-card.wide {
    grid-template-columns: 1fr;
  }
  .prd-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---- PREMIUM INNER PAGE REDESIGN ---- */

/* Hero Banner */
.prd-hero-banner {
  padding: 160px 0 80px;
  position: relative;
  background: radial-gradient(ellipse at top, rgba(226, 7, 20, 0.15) 0%, transparent 70%), var(--black);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.prd-hero-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.prd-hero-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Product Showcase */
.prd-showcase-section {
  padding: 80px 0;
  background: var(--black);
}

.prd-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.prd-types-list {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.prd-types-list h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 24px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 12px;
  display: inline-block;
}

.prd-types-list p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Specs Rows */
.prd-specs-section {
  padding: 80px 0 120px;
  background: linear-gradient(to bottom, var(--black) 0%, rgba(10,10,10,1) 100%);
}

.prd-specs-section .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.prd-spec-row {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 4px solid transparent;
  transition: all 0.4s ease;
  align-items: center;
}

.prd-spec-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--red);
  transform: translateX(10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.prd-spec-row h4 {
  font-size: 1.1rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.prd-spec-row p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .prd-showcase-grid {
    grid-template-columns: 1fr;
  }
  .prd-spec-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
}

/* ---- Product Categories Tabs Adjustments ---- */
.tabs-navigation {
  margin-top: -10px;
  margin-bottom: 50px;
  position: relative;
  z-index: 5;
}

.tabs-navigation .tab-btn {
  font-size: 0.95rem;
  padding: 12px 30px;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tabs-navigation .tab-btn.active {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(226, 7, 20, 0.3);
}

/* Category Selection Page Styles */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.category-card {
  background: rgba(16, 16, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(226, 7, 20, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(226, 7, 20, 0.15);
}

.category-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(226, 7, 20, 0.05) 0%, transparent 80%);
}

.category-card img {
  max-height: 160px;
  max-width: 85%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.7));
  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.category-card-body p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.category-card-body .btn {
  align-self: flex-start;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
