/* Recenzja produktu — układ power-pack, zawężone do .smart-review */

body.smart-portal .smart-review {
  --primary-brand: var(--smart-accent);
  --primary-brand-dark: var(--smart-accent-hover);
  --neutral-800: var(--smart-text);
  --neutral-700: #334155;
  --neutral-600: var(--smart-muted);
  --neutral-500: #94a3b8;
  --neutral-900: var(--smart-text);
  --neutral-50: #f8fafc;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --warm-border: #e3e9ef;
  --white: #fff;
  --zinc: #f1f5f9;
  --text-muted: var(--smart-muted);
  --radius-sm: 8px;
  --radius-md: var(--smart-radius);
  --radius-lg: 16px;
  --radius-full: 999px;
  --transition-base: 0.2s ease;
  --font-display: inherit;
  --font-sans: inherit;
  --header-height: 0px;
  background: var(--smart-bg);
}

body.smart-portal .smart-review .breadcrumbs {
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid var(--warm-border);
}

body.smart-portal .smart-review .breadcrumbs-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--neutral-600);
}

body.smart-portal .smart-review .breadcrumbs-inner a {
  color: var(--neutral-600);
  text-decoration: none;
  transition: color var(--transition-base);
}

body.smart-portal .smart-review .breadcrumbs-inner a:hover {
  color: var(--primary-brand);
}

body.smart-portal .smart-review .breadcrumb-sep {
  color: var(--gray-300);
}

body.smart-portal .smart-review .breadcrumb-current {
  color: var(--neutral-800);
  font-weight: 500;
}

body.smart-portal .smart-review .product-hero {
  background: #fff;
  border-bottom: 1px solid var(--warm-border);
  padding: 40px 24px;
}

body.smart-portal .smart-review .product-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

body.smart-portal .smart-review .gallery-main {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.smart-portal .smart-review .gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}

body.smart-portal .smart-review .product-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
}

body.smart-portal .smart-review .product-name {
  font-size: clamp(24px, 3vw, 26px);
  font-weight: 700;
  color: var(--neutral-800);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0;
}

body.smart-portal .smart-review .score-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  margin: 0;
}

body.smart-portal .smart-review .buy-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
}

body.smart-portal .smart-review .store-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.smart-portal .smart-review .store-logo-badge--hama {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
}

body.smart-portal .smart-review .store-logo-badge--hama img {
  max-height: 32px;
  width: auto;
}

body.smart-portal .smart-review .buy-panel-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--neutral-800);
  line-height: 1;
}

body.smart-portal .smart-review .buy-panel-note {
  font-size: 12px;
  color: var(--neutral-600);
  margin: 0;
}

body.smart-portal .smart-review .btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--smart-hama);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--smart-hama);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
  width: 100%;
  text-align: center;
  text-decoration: none;
}

body.smart-portal .smart-review .btn-buy-promoted {
  background: var(--smart-hama);
  color: #fff;
  border-color: var(--smart-hama);
}

body.smart-portal .smart-review .btn-buy-promoted:hover {
  background: var(--smart-hama-hover);
  border-color: var(--smart-hama-hover);
  color: #fff;
}

body.smart-portal .smart-review .anchor-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 248, 246, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--warm-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.smart-portal .smart-review .anchor-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

body.smart-portal .smart-review .anchor-nav-inner::-webkit-scrollbar {
  display: none;
}

body.smart-portal .smart-review .anchor-link {
  display: inline-flex;
  align-items: center;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-600);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  text-decoration: none;
  transition: color var(--transition-base), border-color var(--transition-base);
}

body.smart-portal .smart-review .anchor-link:hover,
body.smart-portal .smart-review .anchor-link.active {
  color: var(--primary-brand);
  border-bottom-color: var(--primary-brand);
}

body.smart-portal .smart-review .anchor-link.active {
  font-weight: 700;
}

body.smart-portal .smart-review .product-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

body.smart-portal .smart-review .content-section {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  margin: 40px 0;
}

body.smart-portal .smart-review .cs-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--neutral-800);
  letter-spacing: -0.3px;
  margin-bottom: 24px;
}

body.smart-portal .smart-review .score-hero-inner {
  margin-top: 40px;
  padding: 32px 36px;
  background: linear-gradient(160deg, #fafbfc 0%, #fff 45%, #f8faff 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 40px rgba(15, 23, 42, 0.06);
}

body.smart-portal .smart-review .score-hero-layout {
  display: flex;
  align-items: stretch;
  gap: 36px;
}

body.smart-portal .smart-review .score-hero-score-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  width: 148px;
  padding: 20px 24px 20px 0;
  border-right: 1px solid var(--gray-200);
}

body.smart-portal .smart-review .score-hero-score-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(14, 165, 183, 0.25);
}

body.smart-portal .smart-review .score-hero-score-num {
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--primary-brand);
  text-align: center;
  max-width: 5.5rem;
}

body.smart-portal .smart-review .score-hero-score-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--neutral-700);
  text-align: center;
  margin: 0;
}

body.smart-portal .smart-review .score-hero-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.smart-portal .smart-review .score-hero-quote {
  margin: 0;
  padding: 0 0 0 20px;
  border: none;
  border-left: 1px solid rgba(14, 165, 183, 0.45);
}

body.smart-portal .smart-review .score-hero-quote p {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
}

body.smart-portal .smart-review .score-hero-author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

body.smart-portal .smart-review .score-hero-author-avatar--photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

body.smart-portal .smart-review .score-hero-author-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.smart-portal .smart-review .score-hero-author-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  font-style: normal;
  color: var(--neutral-900);
}

body.smart-portal .smart-review .score-hero-author-name a {
  color: inherit;
  text-decoration: none;
}

body.smart-portal .smart-review .score-hero-author-name a:hover {
  color: var(--primary-brand);
}

body.smart-portal .smart-review .score-hero-author-role {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

body.smart-portal .smart-review .verdict-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--neutral-700);
  max-width: 70ch;
}

body.smart-portal .smart-review .pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

body.smart-portal .smart-review .pros-col {
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

body.smart-portal .smart-review .cons-col {
  border: 1px solid #fecaca;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

body.smart-portal .smart-review .pros-cons-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.smart-portal .smart-review .pros-col .pros-cons-heading {
  color: #16a34a;
}

body.smart-portal .smart-review .cons-col .pros-cons-heading {
  color: #dc2626;
}

body.smart-portal .smart-review .pros-cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.smart-portal .smart-review .pros-cons-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--neutral-700);
}

body.smart-portal .smart-review .pros-cons-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.smart-portal .smart-review .pros-col .pros-cons-icon {
  background: #bbf7d0;
  color: #16a34a;
}

body.smart-portal .smart-review .cons-col .pros-cons-icon {
  background: #fecaca;
  color: #dc2626;
}

body.smart-portal .smart-review .specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

body.smart-portal .smart-review .spec-group--full {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

body.smart-portal .smart-review .spec-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 18px;
  border-bottom: 1px solid var(--gray-200);
  gap: 12px;
  font-size: 13px;
}

body.smart-portal .smart-review .spec-key {
  flex: 0 0 48%;
  color: var(--neutral-600);
}

body.smart-portal .smart-review .spec-val {
  flex: 1;
  font-weight: 500;
  color: var(--neutral-800);
}

body.smart-portal .smart-review .faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.smart-portal .smart-review .faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}

body.smart-portal .smart-review .faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

body.smart-portal .smart-review .faq-question {
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-800);
}

body.smart-portal .smart-review .faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

body.smart-portal .smart-review .faq-button[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

body.smart-portal .smart-review .faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--neutral-700);
  border-top: 1px solid var(--gray-200);
  padding-top: 14px;
}

body.smart-portal .smart-review .faq-answer p {
  margin: 0;
}

body.smart-portal .smart-review .price-history {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
}

body.smart-portal .smart-review .price-history-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-700);
  margin-bottom: 16px;
}

body.smart-portal .smart-review .author-card {
  margin-top: 48px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--warm-border);
  display: flex;
  gap: 20px;
}

body.smart-portal .smart-review .author-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--zinc);
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-brand);
}

body.smart-portal .smart-review .author-card-avatar--photo {
  overflow: hidden;
  padding: 0;
}

body.smart-portal .smart-review .author-card-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.smart-portal .smart-review .author-card-info h4 {
  font-size: 18px;
  margin: 0 0 4px;
}

body.smart-portal .smart-review .author-card-info h4 a {
  color: inherit;
  text-decoration: none;
}

body.smart-portal .smart-review .author-card-info h4 a:hover {
  color: var(--primary-brand);
}

body.smart-portal .smart-review .author-card-info .author-role {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--neutral-600);
}

body.smart-portal .smart-review .author-card-info p {
  font-size: 14px;
  color: var(--neutral-700);
  line-height: 1.6;
  margin: 0;
}

body.smart-portal .smart-review .competing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

body.smart-portal .smart-review .competing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

body.smart-portal .smart-review .competing-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

body.smart-portal .smart-review .competing-img img {
  max-height: 100%;
  object-fit: contain;
  padding: 12px;
}

body.smart-portal .smart-review .competing-body {
  padding: 14px;
  flex: 1;
}

body.smart-portal .smart-review .competing-name {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
}

body.smart-portal .smart-review .competing-score {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-brand);
}

body.smart-portal .smart-review .competing-verdict {
  font-size: 12px;
  color: var(--neutral-600);
  margin: 6px 0 0;
}

body.smart-portal .smart-review .competing-cta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-brand);
  padding: 10px 14px;
  border-top: 1px solid var(--gray-200);
  text-decoration: none;
}

body.smart-portal .smart-review .related-articles {
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  body.smart-portal .smart-review .product-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.smart-portal .smart-review .product-info {
    position: static;
  }

  body.smart-portal .smart-review .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  body.smart-portal .smart-review .spec-group--full {
    grid-template-columns: 1fr;
  }

  body.smart-portal .smart-review .score-hero-inner {
    padding: 24px 20px;
  }

  body.smart-portal .smart-review .score-hero-layout {
    flex-direction: column;
    gap: 24px;
  }

  body.smart-portal .smart-review .score-hero-score-panel {
    width: 100%;
    padding: 0 0 20px;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

  body.smart-portal .smart-review .anchor-link {
    padding: 12px 10px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  body.smart-portal .smart-review .breadcrumbs {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.smart-portal .smart-review .product-hero {
    padding: 20px 16px;
  }

  body.smart-portal .smart-review .product-content {
    padding: 0 16px 40px;
  }

  body.smart-portal .smart-review .anchor-nav-inner {
    padding: 0 12px;
  }

  body.smart-portal .smart-review .competing-grid {
    grid-template-columns: 1fr;
  }
}

body.smart-portal .smart-review ::selection {
  background: rgba(14, 165, 183, 0.22);
  color: var(--smart-text);
}

body.smart-portal .smart-review a:focus-visible,
body.smart-portal .smart-review button:focus-visible {
  outline: 2px solid var(--smart-accent);
  outline-offset: 3px;
}

body.smart-portal .smart-review .content-section,
body.smart-portal .smart-review .author-card {
  scroll-margin-top: 72px;
}

body.smart-portal .smart-review .anchor-link {
  min-height: 44px;
}

body.smart-portal .smart-review .faq-button {
  min-height: 48px;
}

@media (min-width: 1024px) {
  body.smart-portal .smart-review .product-hero {
    padding: 48px 40px;
  }

  body.smart-portal .smart-review .product-content {
    padding-left: 40px;
    padding-right: 40px;
  }

  body.smart-portal .smart-review .anchor-nav-inner {
    padding: 0 40px;
  }

  body.smart-portal .smart-review .breadcrumbs-inner {
    max-width: 1100px;
    padding: 0 16px;
  }
}
