/**
 * Beta Energy — Product Page Styles (product-ev.html)
 */

/* =========================================
   PRODUCT HERO SECTION
   ========================================= */
.product-hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

.breadcrumb span.sep {
  opacity: 0.4;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.product-hero h1 {
  font-size: clamp(32px, 4.5vw, 46px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.product-hero p.sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
}

.product-hero .btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.product-photo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.product-photo-card img {
  max-height: 380px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  transition: transform var(--transition-normal);
}

.product-photo-card:hover img {
  transform: scale(1.04);
}

/* =========================================
   VARIANTS SECTION
   ========================================= */
.variants {
  background: var(--light);
}

.variants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.variant-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.variant-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(15, 110, 150, 0.3);
}

.variant-card-photo {
  background: #F8FAFC;
  border-radius: var(--radius);
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  padding: 14px;
}

.variant-card-photo img {
  max-height: 155px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

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

.variant-card .tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  align-self: flex-start;
}

.variant-card h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}

.variant-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.variant-card ul {
  margin-bottom: 24px;
}

.variant-card ul li {
  font-size: 13.5px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  margin-bottom: 9px;
  line-height: 1.45;
}

.variant-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.variant-card .btn {
  width: 100%;
}

/* =========================================
   SPECIFICATIONS SECTION
   ========================================= */
.specs {
  background: var(--white);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.spec-box {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border);
}

.spec-box h4 {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row .label {
  color: var(--text-muted);
}

.spec-row .value {
  color: var(--navy);
  font-weight: 600;
  text-align: right;
}

/* =========================================
   ACCESSORY (DLB SENSOR)
   ========================================= */
.accessory {
  background: linear-gradient(120deg, var(--navy) 50%, var(--navy-soft) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.accessory-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.accessory h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  margin-bottom: 16px;
}

.accessory p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.accessory ul {
  margin-bottom: 28px;
}

.accessory ul li {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.5;
}

.accessory ul li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  color: #18A0FB;
}

.accessory-photo {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lg);
}

.accessory-photo img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
}

.accessory-specs {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}

.accessory-specs .spec-row {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.accessory-specs .spec-row .label {
  color: rgba(255, 255, 255, 0.65);
}

.accessory-specs .spec-row .value {
  color: var(--white);
}

/* =========================================
   RESPONSIVE PRODUCT RULES
   ========================================= */
@media (max-width: 960px) {
  .product-hero-grid,
  .accessory-grid,
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .variants-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}
