/**
 * Myragen Product Page - Premium Design
 * Template elegante e moderno para páginas de produto
 * Integra com paleta de cores do Lingoloop
 */

/* ============================================
   🔥 FORÇAR FULL WIDTH - SOBRESCREVER CONTAINERS DO TEMA
   ============================================ */

/* Reset de containers do tema que limitam largura */
body.single-product,
body.single-product #page,
body.single-product #content,
body.single-product #primary,
body.single-product #main,
body.single-product .site-content,
body.single-product .content-area,
body.single-product .site-main,
body.single-product .woocommerce,
body.single-product .container,
body.single-product .site-container,
body.single-product .page-container,
body.single-product .entry-content,
body.single-product .post-content,
body.single-product article,
body.single-product .elementor-section-wrap,
body.single-product .elementor-section,
body.single-product .elementor-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Remover sidebars */
body.single-product #secondary,
body.single-product .sidebar,
body.single-product .widget-area {
    display: none !important;
}

/* Forçar full width no wrapper principal */
body.single-product .site-inner,
body.single-product .site {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Background do body */
body.single-product {
    background: var(--mpp-background, #0f0f23) !important;
    background-attachment: fixed !important;
}

/* ============================================
   CSS Variables - Design System Premium
   ============================================ */
:root {
  /* Cores da paleta (fallbacks elegantes) */
  --mpp-primary: var(--llp-primary, #1a1a2e);
  --mpp-primary-hover: var(--llp-primary-hover, #16162a);
  --mpp-secondary: var(--llp-secondary, #e94560);
  --mpp-accent: var(--llp-accent, #0f3460);
  --mpp-background: var(--llp-background, #0f0f23);
  --mpp-surface: var(--llp-surface, #1a1a2e);
  --mpp-surface-elevated: #242442;
  --mpp-text: var(--llp-text, #ffffff);
  --mpp-text-muted: var(--llp-text-muted, rgba(255,255,255,0.7));
  --mpp-text-light: rgba(255,255,255,0.5);
  --mpp-border: rgba(255,255,255,0.1);
  --mpp-border-hover: rgba(255,255,255,0.2);
  
  /* Cores funcionais */
  --mpp-success: #10b981;
  --mpp-warning: #f59e0b;
  --mpp-error: #ef4444;
  --mpp-gold: linear-gradient(135deg, #f5d061 0%, #e6ac00 100%);
  
  /* Design tokens */
  --mpp-radius: 16px;
  --mpp-radius-sm: 10px;
  --mpp-radius-lg: 24px;
  --mpp-radius-xl: 32px;
  
  /* Shadows premium */
  --mpp-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  --mpp-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
  --mpp-shadow-glow: 0 0 40px rgba(233, 69, 96, 0.2);
  --mpp-shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --mpp-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --mpp-transition-fast: all 0.2s ease;
  
  /* Glass effect */
  --mpp-glass: rgba(255, 255, 255, 0.05);
  --mpp-glass-border: rgba(255, 255, 255, 0.08);
}

/* Light mode detection */
.mpp-product-page[data-theme="light"],
.mpp-product-page.light-theme {
  --mpp-background: #f8fafc;
  --mpp-surface: #ffffff;
  --mpp-surface-elevated: #f1f5f9;
  --mpp-text: #1e293b;
  --mpp-text-muted: #64748b;
  --mpp-text-light: #94a3b8;
  --mpp-border: rgba(0,0,0,0.08);
  --mpp-border-hover: rgba(0,0,0,0.15);
  --mpp-glass: rgba(0, 0, 0, 0.02);
  --mpp-glass-border: rgba(0, 0, 0, 0.05);
}

/* ============================================
   Reset e Base Premium
   ============================================ */
.mpp-product-page,
.mpp-product-page *,
.mpp-product-page *::before,
.mpp-product-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.mpp-product-page {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--mpp-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--mpp-background);
  min-height: 100vh;
}

/* ============================================
   Container Principal - Layout Premium
   ============================================ */
.mpp-product-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 40px;
}

.mpp-product-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 1024px) {
  .mpp-product-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .mpp-product-wrapper {
    padding: 30px 20px;
  }
}

/* ============================================
   Breadcrumb Premium
   ============================================ */
.mpp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--mpp-text-muted);
  margin-bottom: 30px;
  padding: 12px 20px;
  background: var(--mpp-glass);
  border: 1px solid var(--mpp-glass-border);
  border-radius: var(--mpp-radius-sm);
  backdrop-filter: blur(10px);
}

.mpp-breadcrumb a {
  color: var(--mpp-text-muted);
  text-decoration: none;
  transition: var(--mpp-transition-fast);
}

.mpp-breadcrumb a:hover {
  color: var(--mpp-secondary);
}

.mpp-breadcrumb-sep {
  color: var(--mpp-text-light);
  font-size: 10px;
}

.mpp-breadcrumb span:last-child {
  color: var(--mpp-text);
  font-weight: 500;
}

/* ============================================
   Galeria de Imagens - Premium
   ============================================ */
.mpp-gallery {
  position: sticky;
  top: 30px;
}

.mpp-gallery-main {
  position: relative;
  border-radius: var(--mpp-radius-lg);
  overflow: hidden;
  background: var(--mpp-surface);
  aspect-ratio: 1;
  cursor: zoom-in;
  box-shadow: var(--mpp-shadow-lg);
  border: 1px solid var(--mpp-border);
}

.mpp-gallery-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
  opacity: 0;
  transition: var(--mpp-transition);
}

.mpp-gallery-main:hover::before {
  opacity: 1;
}

.mpp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--mpp-transition);
}

.mpp-gallery-main:hover img {
  transform: scale(1.05);
}

/* Badges Premium */
.mpp-gallery-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.mpp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  box-shadow: var(--mpp-shadow);
}

.mpp-badge-sale {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.mpp-badge-new {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.mpp-badge-stock {
  background: rgba(0,0,0,0.7);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Zoom icon */
.mpp-gallery-zoom {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  z-index: 10;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--mpp-transition);
}

.mpp-gallery-main:hover .mpp-gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

/* Thumbnails Premium */
.mpp-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 4px;
}

.mpp-thumb {
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  border-radius: var(--mpp-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--mpp-transition);
  opacity: 0.6;
  background: var(--mpp-surface);
  box-shadow: var(--mpp-shadow-soft);
}

.mpp-thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.mpp-thumb.active {
  border-color: var(--mpp-secondary);
  opacity: 1;
  box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.mpp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Informações do Produto - Premium
   ============================================ */
.mpp-product-info {
  padding: 20px 0;
}

/* Categoria */
.mpp-product-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--mpp-secondary);
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(233, 69, 96, 0.1);
  border-radius: 20px;
}

.mpp-product-category a {
  color: inherit;
  text-decoration: none;
}

/* Título Premium */
.mpp-product-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--mpp-text);
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
}

/* Rating Premium */
.mpp-rating {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--mpp-glass);
  border: 1px solid var(--mpp-glass-border);
  border-radius: var(--mpp-radius-sm);
}

.mpp-rating-stars {
  display: flex;
  gap: 3px;
}

.mpp-star {
  width: 20px;
  height: 20px;
  color: #fbbf24;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
}

.mpp-star.empty {
  color: var(--mpp-border);
  filter: none;
}

.mpp-rating-score {
  font-size: 18px;
  font-weight: 700;
  color: var(--mpp-text);
}

.mpp-rating-count {
  font-size: 14px;
  color: var(--mpp-text-muted);
}

.mpp-rating-count a {
  color: var(--mpp-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--mpp-transition-fast);
}

.mpp-rating-count a:hover {
  text-decoration: underline;
}

/* Preço Premium */
.mpp-price-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--mpp-surface);
  border: 1px solid var(--mpp-border);
  border-radius: var(--mpp-radius);
  box-shadow: var(--mpp-shadow-soft);
}

.mpp-price {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--mpp-text);
  letter-spacing: -1px;
}

.mpp-price-original {
  font-size: 20px;
  color: var(--mpp-text-light);
  text-decoration: line-through;
  font-weight: 500;
}

.mpp-price-discount {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.mpp-price-installments {
  width: 100%;
  font-size: 14px;
  color: var(--mpp-text-muted);
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--mpp-border);
}

.mpp-price-installments strong {
  color: var(--mpp-success);
}

/* Descrição curta */
.mpp-short-description {
  font-size: 16px;
  color: var(--mpp-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.mpp-short-description p {
  margin: 0 0 12px 0;
}

/* Stock status Premium */
.mpp-stock-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  padding: 12px 20px;
  border-radius: var(--mpp-radius-sm);
}

.mpp-stock-status.in-stock {
  color: var(--mpp-success);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.mpp-stock-status.out-of-stock {
  color: var(--mpp-error);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.mpp-stock-status svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Variações Premium
   ============================================ */
.mpp-variations {
  margin-bottom: 32px;
}

.mpp-variation-group {
  margin-bottom: 24px;
}

.mpp-variation-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--mpp-text);
  margin-bottom: 12px;
}

.mpp-variation-label span {
  font-weight: 400;
  color: var(--mpp-text-muted);
  font-size: 13px;
}

.mpp-variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mpp-variation-option {
  position: relative;
}

.mpp-variation-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mpp-variation-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 14px 22px;
  border: 2px solid var(--mpp-border);
  border-radius: var(--mpp-radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--mpp-text);
  cursor: pointer;
  transition: var(--mpp-transition);
  background: var(--mpp-glass);
}

.mpp-variation-option:hover label {
  border-color: var(--mpp-secondary);
  background: rgba(233, 69, 96, 0.05);
}

.mpp-variation-option input:checked + label {
  border-color: var(--mpp-secondary);
  background: var(--mpp-secondary);
  color: white;
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

/* Color swatches premium */
.mpp-variation-option.color label {
  width: 48px;
  height: 48px;
  min-width: auto;
  padding: 0;
  border-radius: 50%;
  position: relative;
  box-shadow: var(--mpp-shadow);
}

.mpp-variation-option.color:hover label {
  transform: scale(1.1);
}

.mpp-variation-option.color input:checked + label {
  box-shadow: 0 0 0 3px var(--mpp-background), 0 0 0 5px var(--mpp-secondary);
}

.mpp-variation-option.color input:checked + label::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ============================================
   Quantidade e Adicionar ao Carrinho - Premium
   ============================================ */
.mpp-add-to-cart-section {
  margin-bottom: 28px;
}

.mpp-add-to-cart {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.mpp-quantity {
  display: flex;
  align-items: center;
  border: 2px solid var(--mpp-border);
  border-radius: var(--mpp-radius-sm);
  overflow: hidden;
  background: var(--mpp-surface);
}

.mpp-qty-btn {
  width: 52px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--mpp-text);
  transition: var(--mpp-transition);
}

.mpp-qty-btn:hover {
  background: var(--mpp-glass);
  color: var(--mpp-secondary);
}

.mpp-qty-input {
  width: 70px;
  height: 56px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--mpp-border);
  border-right: 1px solid var(--mpp-border);
  font-size: 18px;
  font-weight: 700;
  color: var(--mpp-text);
  background: transparent;
}

.mpp-qty-input:focus {
  outline: none;
}

/* Botão Adicionar Premium */
.mpp-btn-add-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--mpp-secondary);
  color: white;
  border: none;
  border-radius: var(--mpp-radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--mpp-transition);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mpp-btn-add-cart::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: var(--mpp-transition);
}

.mpp-btn-add-cart:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(233, 69, 96, 0.4);
}

.mpp-btn-add-cart:hover::before {
  opacity: 1;
}

.mpp-btn-add-cart:disabled {
  background: var(--mpp-text-light);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.mpp-btn-add-cart svg {
  width: 22px;
  height: 22px;
}

.mpp-btn-add-cart.loading {
  pointer-events: none;
}

.mpp-btn-add-cart.loading .mpp-btn-text {
  opacity: 0;
}

.mpp-btn-add-cart.loading::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: mpp-spin 0.8s linear infinite;
}

@keyframes mpp-spin {
  to { transform: rotate(360deg); }
}

/* Botão Comprar Agora Premium */
.mpp-btn-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 36px;
  background: transparent;
  color: var(--mpp-text);
  border: 2px solid var(--mpp-border);
  border-radius: var(--mpp-radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--mpp-transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mpp-btn-buy-now:hover {
  border-color: var(--mpp-text);
  background: var(--mpp-text);
  color: var(--mpp-background);
}

/* Wishlist Premium */
.mpp-btn-wishlist {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mpp-surface);
  border: 2px solid var(--mpp-border);
  border-radius: var(--mpp-radius-sm);
  cursor: pointer;
  transition: var(--mpp-transition);
  color: var(--mpp-text-muted);
}

.mpp-btn-wishlist:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.mpp-btn-wishlist.active {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
}

.mpp-btn-wishlist svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   Trust Badges Premium
   ============================================ */
.mpp-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
  background: var(--mpp-surface);
  border: 1px solid var(--mpp-border);
  border-radius: var(--mpp-radius);
  margin-bottom: 28px;
}

.mpp-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 16px 12px;
  border-radius: var(--mpp-radius-sm);
  transition: var(--mpp-transition);
}

.mpp-trust-item:hover {
  background: var(--mpp-glass);
}

.mpp-trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(233, 69, 96, 0.05) 100%);
  border-radius: 50%;
  color: var(--mpp-secondary);
}

.mpp-trust-icon svg {
  width: 24px;
  height: 24px;
}

.mpp-trust-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--mpp-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mpp-trust-text {
  font-size: 12px;
  color: var(--mpp-text-muted);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .mpp-trust-badges {
    grid-template-columns: 1fr;
  }
  
  .mpp-trust-item {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }
}

/* ============================================
   Meta Info Premium
   ============================================ */
.mpp-meta {
  font-size: 14px;
  color: var(--mpp-text-muted);
  padding: 24px;
  background: var(--mpp-glass);
  border: 1px solid var(--mpp-glass-border);
  border-radius: var(--mpp-radius);
}

.mpp-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mpp-border);
}

.mpp-meta-item:last-child {
  border-bottom: none;
}

.mpp-meta-label {
  font-weight: 600;
  color: var(--mpp-text);
  min-width: 100px;
}

.mpp-meta-value {
  color: var(--mpp-text-muted);
}

.mpp-meta-value a {
  color: var(--mpp-secondary);
  text-decoration: none;
  transition: var(--mpp-transition-fast);
}

.mpp-meta-value a:hover {
  text-decoration: underline;
}

/* ============================================
   Tabs Premium
   ============================================ */
.mpp-tabs-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--mpp-border);
}

.mpp-tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  padding: 8px;
  background: var(--mpp-surface);
  border-radius: var(--mpp-radius);
  border: 1px solid var(--mpp-border);
}

.mpp-tab-btn {
  flex: 1;
  padding: 16px 24px;
  background: transparent;
  border: none;
  border-radius: var(--mpp-radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--mpp-text-muted);
  cursor: pointer;
  transition: var(--mpp-transition);
}

.mpp-tab-btn:hover {
  color: var(--mpp-text);
  background: var(--mpp-glass);
}

.mpp-tab-btn.active {
  background: var(--mpp-secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.mpp-tab-content {
  display: none;
  animation: mpp-fadeIn 0.4s ease;
}

.mpp-tab-content.active {
  display: block;
}

@keyframes mpp-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mpp-tab-panel {
  padding: 32px;
  background: var(--mpp-surface);
  border: 1px solid var(--mpp-border);
  border-radius: var(--mpp-radius);
}

.mpp-tab-panel h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--mpp-text);
}

.mpp-tab-panel p,
.mpp-description-content p {
  color: var(--mpp-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Attributes table */
.mpp-attributes-table {
  width: 100%;
  border-collapse: collapse;
}

.mpp-attributes-table tr {
  border-bottom: 1px solid var(--mpp-border);
}

.mpp-attributes-table tr:last-child {
  border-bottom: none;
}

.mpp-attributes-table th,
.mpp-attributes-table td {
  padding: 16px;
  text-align: left;
}

.mpp-attributes-table th {
  font-weight: 600;
  color: var(--mpp-text);
  width: 200px;
  background: var(--mpp-glass);
}

.mpp-attributes-table td {
  color: var(--mpp-text-muted);
}

/* ============================================
   Reviews Premium
   ============================================ */
.mpp-reviews {
  margin-top: 40px;
}

.mpp-review-item {
  padding: 28px;
  background: var(--mpp-glass);
  border: 1px solid var(--mpp-glass-border);
  border-radius: var(--mpp-radius);
  margin-bottom: 20px;
}

.mpp-review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.mpp-review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mpp-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
}

.mpp-review-meta {
  flex: 1;
}

.mpp-review-author {
  font-weight: 700;
  color: var(--mpp-text);
  margin-bottom: 4px;
}

.mpp-review-date {
  font-size: 13px;
  color: var(--mpp-text-muted);
}

.mpp-review-rating {
  display: flex;
  gap: 3px;
}

.mpp-review-content {
  color: var(--mpp-text-muted);
  line-height: 1.7;
}

/* ============================================
   Related Products Premium
   ============================================ */
.mpp-related-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--mpp-border);
}

.mpp-section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  color: var(--mpp-text);
}

.mpp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .mpp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mpp-related-grid {
    grid-template-columns: 1fr;
  }
}

.mpp-related-card {
  background: var(--mpp-surface);
  border: 1px solid var(--mpp-border);
  border-radius: var(--mpp-radius);
  overflow: hidden;
  transition: var(--mpp-transition);
  text-decoration: none;
  display: block;
}

.mpp-related-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--mpp-shadow-lg);
  border-color: var(--mpp-secondary);
}

.mpp-related-image {
  aspect-ratio: 1;
  overflow: hidden;
}

.mpp-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--mpp-transition);
}

.mpp-related-card:hover .mpp-related-image img {
  transform: scale(1.08);
}

.mpp-related-info {
  padding: 20px;
}

.mpp-related-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--mpp-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.mpp-related-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--mpp-secondary);
}

/* ============================================
   Lightbox Premium
   ============================================ */
.mpp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--mpp-transition);
}

.mpp-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.mpp-lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.mpp-lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--mpp-radius);
  box-shadow: var(--mpp-shadow-lg);
}

.mpp-lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: var(--mpp-transition);
}

.mpp-lightbox-close:hover {
  background: var(--mpp-secondary);
  border-color: var(--mpp-secondary);
}

.mpp-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: var(--mpp-transition);
}

.mpp-lightbox-nav:hover {
  background: var(--mpp-secondary);
  border-color: var(--mpp-secondary);
}

.mpp-lightbox-prev {
  left: -80px;
}

.mpp-lightbox-next {
  right: -80px;
}

/* ============================================
   Toast Notifications Premium
   ============================================ */
.mpp-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: var(--mpp-surface);
  border: 1px solid var(--mpp-border);
  border-radius: var(--mpp-radius);
  box-shadow: var(--mpp-shadow-lg);
  transform: translateX(150%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9998;
}

.mpp-toast.show {
  transform: translateX(0);
}

.mpp-toast.success {
  border-left: 4px solid var(--mpp-success);
}

.mpp-toast.error {
  border-left: 4px solid var(--mpp-error);
}

.mpp-toast-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.mpp-toast.success .mpp-toast-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--mpp-success);
}

.mpp-toast.error .mpp-toast-icon {
  background: rgba(239, 68, 68, 0.15);
  color: var(--mpp-error);
}

.mpp-toast-content {
  flex: 1;
}

.mpp-toast-title {
  font-weight: 700;
  color: var(--mpp-text);
  margin-bottom: 4px;
}

.mpp-toast-message {
  font-size: 14px;
  color: var(--mpp-text-muted);
}

.mpp-toast-actions {
  display: flex;
  gap: 10px;
}

.mpp-toast-btn {
  padding: 10px 20px;
  border-radius: var(--mpp-radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--mpp-transition);
  border: none;
}

.mpp-toast-btn.primary {
  background: var(--mpp-secondary);
  color: white;
}

.mpp-toast-btn.primary:hover {
  filter: brightness(1.1);
}

.mpp-toast-btn.secondary {
  background: var(--mpp-glass);
  color: var(--mpp-text);
  border: 1px solid var(--mpp-border);
}

.mpp-toast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--mpp-text-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: var(--mpp-transition);
}

.mpp-toast-close:hover {
  background: var(--mpp-glass);
  color: var(--mpp-text);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .mpp-product-wrapper {
    padding: 20px 16px;
  }
  
  .mpp-product-container {
    gap: 30px;
  }
  
  .mpp-gallery {
    position: static;
  }
  
  .mpp-product-title {
    font-size: 26px;
  }
  
  .mpp-price {
    font-size: 32px;
  }
  
  .mpp-add-to-cart {
    flex-direction: column;
  }
  
  .mpp-quantity {
    width: 100%;
    justify-content: center;
  }
  
  .mpp-btn-wishlist {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
  }
  
  .mpp-tabs-nav {
    flex-wrap: wrap;
  }
  
  .mpp-tab-btn {
    flex: 0 0 calc(50% - 4px);
  }
  
  .mpp-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes mpp-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes mpp-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.mpp-skeleton {
  background: linear-gradient(90deg, var(--mpp-surface) 25%, var(--mpp-surface-elevated) 50%, var(--mpp-surface) 75%);
  background-size: 200% 100%;
  animation: mpp-shimmer 1.5s infinite;
  border-radius: var(--mpp-radius-sm);
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .mpp-product-page {
    background: white !important;
    color: black !important;
  }
  
  .mpp-btn-add-cart,
  .mpp-btn-buy-now,
  .mpp-btn-wishlist,
  .mpp-lightbox,
  .mpp-toast {
    display: none !important;
  }
}
