/* Single comparison page */
.comparison-page { padding: 32px 0 48px; }

.comparison-intro {
  margin-bottom: 32px;
}
.comparison-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 16px;
}

/* Product Block — vertical layout */
.product-block {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  transition: border-color var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
}
.product-block:hover { border-color: rgba(232, 101, 26, 0.3); box-shadow: var(--shadow-md); }

/* Header: position badge + name + subtitle */
.product-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px 16px;
}

.product-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

.product-header-text { flex: 1; }

.product-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.product-subtitle {
  font-size: 14px;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.4;
}

/* Diferenciais */
.product-description {
  padding: 0 24px 16px;
  border-top: 1px solid var(--color-border);
}
.product-description h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 16px 0 8px;
}
.product-description p { font-size: 14px; line-height: 1.7; color: var(--color-text); margin-bottom: 8px; }

/* ===== Gallery + Highlights side by side ===== */
.product-gallery-highlights {
  display: grid;
  grid-template-columns: 266px 1fr;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

/* Gallery (Swiper) */
.product-image {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  position: relative;
}
.product-image img { max-width: 100%; max-height: 180px; object-fit: contain; }

.product-gallery {
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.product-gallery.swiper {
  overflow: hidden;
}

.product-gallery .swiper-wrapper {
  align-items: center;
}

.product-gallery .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transform: scale(0.7);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.product-gallery .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}
.product-gallery .swiper-slide img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

/* Single image — no Swiper, show full opacity */
.product-gallery--single {
  padding: 20px;
}
.product-gallery--single img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

/* Swiper navigation arrows */
.product-gallery .swiper-button-prev,
.product-gallery .swiper-button-next {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  opacity: 0;
  transition: all var(--duration-fast) var(--ease-smooth);
  margin-top: -14px;
}
.product-gallery .swiper-button-prev::after,
.product-gallery .swiper-button-next::after {
  font-size: 10px;
  font-weight: 700;
}
.product-gallery .swiper-button-prev { left: 4px; }
.product-gallery .swiper-button-next { right: 4px; }
.product-gallery:hover .swiper-button-prev,
.product-gallery:hover .swiper-button-next {
  opacity: 1;
}
.product-gallery .swiper-button-prev:hover,
.product-gallery .swiper-button-next:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}

/* Swiper pagination dots */
.product-gallery .swiper-pagination {
  position: static;
  margin-top: 8px;
  line-height: 1;
}
.product-gallery .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: var(--color-border);
  opacity: 1;
  transition: all var(--duration-fast) var(--ease-smooth);
}
.product-gallery .swiper-pagination-bullet-active {
  background: var(--color-primary);
  transform: scale(1.25);
}

/* Destaques / Highlights — 3-column grid */
.product-highlights-section {
  padding: 16px 24px;
}
.highlights-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
}
.product-highlights li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  margin-bottom: 0;
  color: var(--color-text);
  line-height: 1.45;
}
.product-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
}
.highlight-title {
  display: block;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 14px;
  margin-bottom: 2px;
}
.highlight-text {
  display: block;
  color: var(--color-text);
}

/* Review page link */
.product-review-link {
  padding: 0 24px 16px;
}
.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  background: transparent;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
}
.btn-review:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(232, 101, 26, 0.3);
}
.btn-review svg { flex-shrink: 0; }

/* Affiliate Links — horizontal row with gap */
.affiliate-row {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
}
.affiliate-row .btn-affiliate {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
}
.affiliate-row .btn-affiliate:hover { transform: translateY(-1px); }
.affiliate-row .btn-affiliate svg { flex-shrink: 0; }
.affiliate-row .btn-affiliate img { height: 16px; width: auto; flex-shrink: 0; }

.btn-amazon { background: #FF9900; color: #111; }
.btn-amazon:hover { background: #e68a00; box-shadow: 0 4px 12px rgba(255, 153, 0, 0.35); }
.btn-magalu { background: #0086FF; color: #fff; }
.btn-magalu:hover { background: #0070d6; box-shadow: 0 4px 12px rgba(0, 134, 255, 0.35); }
.btn-meli { background: #FFE600; color: #111; }
.btn-meli:hover { background: #e6cf00; box-shadow: 0 4px 12px rgba(255, 230, 0, 0.4); }
.btn-shopee { background: #ee6b2d; color: #111; }
.btn-shopee:hover { background: #d4571f; box-shadow: 0 4px 12px rgba(238, 77, 45, 0.35); }

/* Comparison Table */
.comparison-table-section { margin-top: 40px; }
.comparison-table-section h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison-table thead { background: var(--color-secondary); color: #fff; }
.comparison-table th { padding: 14px 18px; text-align: left; font-weight: 600; font-size: 13px; white-space: nowrap; }
.comparison-table td { padding: 12px 18px; border-bottom: 1px solid var(--color-border); color: var(--color-text); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: #f8fafc; }
.comparison-table tbody tr { transition: background var(--duration-fast); }
.comparison-table tbody tr:hover { background: #FFF7ED; }
.comparison-table .spec-label { font-weight: 600; color: var(--color-secondary); background: #f1f5f9; min-width: 160px; }
.table-highlight { color: var(--color-primary); font-weight: 600; }

/* Review — gallery centered, taller on desktop */
.review-gallery-wrapper {
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
  padding: 16px;
}
.review-gallery-wrapper .product-gallery {
  max-width: 500px;
  width: 100%;
}
.review-gallery-wrapper .product-image img {
  max-height: 320px;
}

/* Suggestion Section */
.suggestion-section {
  margin-top: 56px;
}
.suggestion-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-secondary, #1A3A5C);
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.suggestion-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.suggestion-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s, transform 0.25s;
}
.suggestion-card:hover {
  box-shadow: 0 8px 28px rgba(232,101,26,0.13), 0 0 0 1px rgba(232,101,26,0.18);
  transform: translateY(-2px);
}
.suggestion-card-image {
  flex-shrink: 0;
  width: 220px;
  background: #f1f5f9;
  overflow: hidden;
}
.suggestion-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.suggestion-card:hover .suggestion-card-image img {
  transform: scale(1.05);
}
.suggestion-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  gap: 6px;
  min-height: 130px;
}
.suggestion-card-tag {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary, #E8651A);
  background: #FFF7ED;
  padding: 3px 10px;
  border-radius: 20px;
}
.suggestion-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-secondary, #1A3A5C);
  margin: 4px 0 0;
  line-height: 1.3;
}
.suggestion-card-excerpt {
  font-size: 13px;
  color: #64748b;
  margin: 2px 0 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.suggestion-card-cta {
  display: inline-block;
  width: fit-content;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary, #E8651A);
}

/* Responsive */
@media (max-width: 1024px) {
  .product-highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .comparison-page { padding: 24px 0 36px; }
  .product-header { padding: 16px 20px 12px; gap: 12px; }
  .product-name { font-size: 18px; }
  .product-description { padding: 0 20px 12px; }
  .product-gallery-highlights { grid-template-columns: 1fr; }
  .product-image { padding: 10px; }
  .product-image img { max-height: 180px; }
  .product-gallery .swiper-button-prev,
  .product-gallery .swiper-button-next { opacity: 1; }
  .product-gallery .swiper-slide { transform: scale(0.65); }
  .product-gallery .swiper-slide-active { transform: scale(1); }
  .product-highlights { grid-template-columns: repeat(2, 1fr); }
  .product-highlights-section { padding: 12px 20px; }
  .product-review-link { padding: 0 20px 12px; }
  .affiliate-row { flex-direction: column; gap: 8px; padding: 12px 20px; }
  .comparison-table { font-size: 12px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .suggestion-section { margin-top: 36px; }
  .suggestion-card { flex-direction: column; }
  .suggestion-card-image { width: 100%; height: 160px; }
  .suggestion-card-content { padding: 16px; min-height: auto; }
  .suggestion-card-title { font-size: 15px; }
}
@media (max-width: 480px) {
  .product-header { padding: 14px 16px 10px; }
  .product-name { font-size: 16px; }
  .product-description { padding: 0 16px 10px; }
  .product-highlights { grid-template-columns: 1fr; }
  .product-highlights-section { padding: 10px 16px; }
  .product-review-link { padding: 0 16px 10px; }
  .affiliate-row { padding: 10px 16px; }
}
