/* ================================================
   SEGUXAT — Sentinel Product Pages CSS
   Estilos específicos para tienda de relojes GPS
   ================================================ */

/* ===== PRODUCT HERO ===== */
.product-hero {
  background: linear-gradient(160deg, #050D1A 0%, #0A1628 60%, #0D1E3A 100%);
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.product-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
}
.product-hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
}

/* ===== PRODUCT LAYOUT ===== */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
}

/* ===== PRODUCT GALLERY ===== */
.product-gallery {
  position: relative;
}
.product-main-img-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  transition: transform 0.4s ease;
}
.product-main-img:hover { transform: scale(1.03); }
.product-badge-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}
.pb-new { background: rgba(255,107,0,0.85); color: white; }
.pb-exclusive { background: rgba(16,185,129,0.85); color: white; }
.pb-bestseller { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.3); }

.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.product-thumb {
  width: 72px; height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.product-thumb.active { border-color: var(--accent); box-shadow: 0 0 15px rgba(255,107,0,0.4); }
.product-thumb:hover { border-color: rgba(255,255,255,0.3); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===== PRODUCT INFO ===== */
.product-info {}
.product-brand {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 6px;
}
.product-name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.product-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  line-height: 1.6;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.stars-display { color: #FBBF24; font-size: 1rem; letter-spacing: 2px; }
.rating-count { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ===== PRICING ===== */
.product-pricing-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.price-toggle {
  display: flex;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 16px;
}
.price-toggle-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-family: inherit;
  transition: all 0.2s;
  text-align: center;
}
.price-toggle-btn.active {
  background: var(--accent);
  color: white;
}
.price-toggle-btn .save-badge {
  display: inline-block;
  background: rgba(16,185,129,0.2);
  color: #34D399;
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 4px;
  font-weight: 700;
}
.price-display {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 8px;
}
.price-main {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}
.price-main sup { font-size: 1.3rem; vertical-align: top; margin-top: 8px; }
.price-main sub { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.5); }
.price-original {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.3);
  text-decoration: line-through;
}
.price-saving {
  font-size: 0.8rem;
  color: #34D399;
  font-weight: 600;
}
.price-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.price-includes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.pi-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}
.pi-item .check { color: #34D399; }

/* ===== BUY BUTTONS ===== */
.buy-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.btn-buy-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-buy-primary:hover {
  background: var(--accent-hover, #E55D00);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,107,0,0.4);
  color: white;
}
.btn-buy-stripe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #635BFF, #7B71FF);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-buy-stripe:hover {
  background: linear-gradient(135deg, #5248DE, #6860EE);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99,91,255,0.4);
  color: white;
}
.btn-buy-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(37,211,102,0.12);
  color: #25D366;
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-buy-wa:hover { background: rgba(37,211,102,0.2); color: #25D366; }

/* ===== TRUST MINI ===== */
.product-trust-mini {
  display: flex;
  gap: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  flex-wrap: wrap;
}
.ptm-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.55);
  flex: 1;
  min-width: 100px;
}
.ptm-item span.icon { font-size: 14px; }

/* ===== PRODUCT SPECS TABLE ===== */
.specs-section { padding: 80px 0; background: var(--gray-50); }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th {
  background: var(--primary);
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 700;
}
.specs-table td {
  padding: 12px 20px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.specs-table tr:nth-child(even) td { background: var(--gray-50); }
.spec-key { font-weight: 600; color: var(--gray-700); width: 40%; }
.spec-val { color: var(--gray-600); }
.spec-val.good { color: var(--success); font-weight: 600; }

/* ===== SUPPLIER INFO ===== */
.supplier-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 20px;
  padding: 36px;
  color: white;
  position: relative;
  overflow: hidden;
}
.supplier-card::before {
  content: '🏭';
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 60px;
  opacity: 0.08;
}

/* ===== COMPARISON MINI ===== */
.product-compare-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pc-card {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.pc-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.pc-card.current { border-color: var(--accent); background: rgba(255,107,0,0.03); }
.pc-card img { width: 100px; height: 100px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.pc-card-name { font-weight: 800; color: var(--primary); font-size: 1rem; margin-bottom: 4px; }
.pc-card-target { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 10px; }
.pc-card-price { font-size: 1.2rem; font-weight: 800; color: var(--accent); }

/* ===== REVIEWS ===== */
.reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
  padding: 28px;
  background: var(--gray-50);
  border-radius: 16px;
}
.reviews-big-num {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  text-align: center;
}
.reviews-big-stars { color: #FBBF24; font-size: 1.5rem; }
.reviews-big-label { font-size: 0.8rem; color: var(--gray-500); }
.rating-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.rb-label { font-size: 0.8rem; color: var(--gray-500); width: 20px; text-align: right; }
.rb-bar { flex: 1; height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.rb-fill { height: 100%; background: #FBBF24; border-radius: 4px; }
.rb-count { font-size: 0.75rem; color: var(--gray-400); width: 24px; }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .product-layout { gap: 40px; }
}
@media(max-width:768px) {
  .product-layout { grid-template-columns: 1fr; padding: 20px 0 60px; }
  .product-hero { min-height: auto; padding-top: 100px; }
  .product-compare-row { grid-template-columns: 1fr; }
  .reviews-summary { grid-template-columns: 1fr; }
  .price-toggle { flex-direction: column; }
}
