/* =====================================================
   NoDig Serbia - Product Page Styles
   ===================================================== */

/* Product Hero */
.product-hero {
  padding: 4rem 0 3rem;
  color: white;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .product-hero-image {
    order: -1;
  }
}

.product-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
  color: white;
}

.product-tagline {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.product-hero-content > p {
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.product-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.product-highlights li {
  padding: 0.5rem 0;
  opacity: 0.95;
}

.product-hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .product-hero-btns {
    justify-content: center;
  }
}

.product-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
}

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comparison-table thead th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Specifications Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.spec-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

/* Product Badge */
.product-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.product-badge.new {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.product-badge.bestseller {
  background: linear-gradient(135deg, #10b981, #059669);
}

/* Gallery */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
