/* eeiei.com — Product Insights */

.eeiei-insights {
  margin: 34px 0;
}

.eeiei-insights-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.eeiei-insights-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ee-ink, #141413);
}

.eeiei-insights-all {
  flex: 0 0 auto;
  color: var(--ee-accent, #d63d12);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.eeiei-insights-all:hover,
.eeiei-insights-all:focus-visible {
  color: var(--ee-ink, #141413);
}

.eeiei-insights-tabs {
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--ee-line, #e7e2da);
  scrollbar-width: thin;
}

.eeiei-insights-tabs .nav-link {
  padding: 10px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ee-muted, #6b655d);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.eeiei-insights-tabs .nav-link:hover,
.eeiei-insights-tabs .nav-link:focus-visible {
  color: var(--ee-ink, #141413);
}

.eeiei-insights-tabs .nav-link.active {
  color: var(--ee-ink, #141413);
  border-bottom-color: var(--ee-accent, #d63d12);
  background: transparent;
}

.eeiei-insights-content {
  padding-top: 18px;
}

.eeiei-insights .row[class*="row-cols-"] {
  --bs-gutter-x: 1.8rem;
  --bs-gutter-y: 1.8rem;
}

.eeiei-insights-item {
  min-width: 0;
}

.eeiei-insights-item .product-thumb {
  height: 100%;
}

.eeiei-insights-meta {
  margin-top: 8px;
  color: var(--ee-muted, #6b655d);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-align: center;
}

.eeiei-insights-table {
  margin: 0;
  vertical-align: middle;
}

.eeiei-insights-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ee-line, #e7e2da);
  color: var(--ee-muted, #6b655d);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eeiei-insights-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ee-line, #e7e2da);
  color: var(--ee-ink-soft, #2c2a27);
  font-size: 13.5px;
}

.eeiei-insights-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ee-ink, #141413);
  text-decoration: none;
}

.eeiei-insights-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--ee-line, #e7e2da);
  border-radius: 6px;
}

.eeiei-insights-row:hover span {
  color: var(--ee-accent, #d63d12);
}

.eeiei-insights-login {
  padding: 26px;
  border: 1px solid var(--ee-line, #e7e2da);
  background: var(--ee-wash, #f6f4f0);
  text-align: center;
}

.eeiei-insights-login p {
  margin: 0 0 14px;
  color: var(--ee-muted, #6b655d);
}

.eeiei-insights-login .btn {
  border-radius: 8px;
}

.eeiei-insights-empty {
  padding: 26px;
  border: 1px solid var(--ee-line, #e7e2da);
  background: var(--ee-wash, #f6f4f0);
  color: var(--ee-muted, #6b655d);
  text-align: center;
}

#eeiei-insights-page {
  padding-top: 26px;
  padding-bottom: 40px;
}

#eeiei-insights-page > .row {
  margin-top: 8px;
}

@media (max-width: 767.98px) {
  .eeiei-insights {
    margin: 24px 0;
  }

  .eeiei-insights-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .eeiei-insights-tabs .nav-link {
    padding: 9px 11px;
    font-size: 10.5px;
  }

  .eeiei-insights-table th,
  .eeiei-insights-table td {
    padding: 8px;
    font-size: 12.5px;
  }

  .eeiei-insights-row img {
    width: 48px;
    height: 48px;
  }
}

/* Each tab on the public page links to its own paged section. */
.eeiei-insights-more {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 14px;
}

.eeiei-insights-more a {
  color: var(--ee-accent, #d63d12);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.eeiei-insights-more a:hover,
.eeiei-insights-more a:focus-visible {
  color: var(--ee-ink, #141413);
}

/* Section page header: title on the left, back link on the right. */
.eeiei-insights-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.eeiei-insights-section-head h1 {
  margin: 0;
}

.eeiei-insights-back {
  flex: 0 0 auto;
  color: var(--ee-muted, #6b655d);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.eeiei-insights-back:hover,
.eeiei-insights-back:focus-visible {
  color: var(--ee-ink, #141413);
}

.eeiei-insights-section {
  margin-top: 0;
}

@media (max-width: 575.98px) {
  .eeiei-insights-section-head {
    flex-wrap: wrap;
    row-gap: 6px;
  }
}

/* Category chips under the tabs and on a section page. */
.eeiei-insights .category-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 38px 0 6px;
  padding-top: 18px;
  border-top: 1px solid var(--ee-line, #e7e2da);
}

.eeiei-insights .category-filter-label {
  margin-right: 4px;
  color: var(--ee-muted, #6b655d);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.eeiei-insights .category-filter-link {
  display: inline-block;
  padding: 5px 13px;
  border: 1px solid var(--ee-line, #e7e2da);
  border-radius: 999px;
  color: var(--ee-ink-soft, #2c2a27);
  font-size: 12.5px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.eeiei-insights .category-filter-link:hover,
.eeiei-insights .category-filter-link:focus-visible {
  color: var(--ee-ink, #141413);
  border-color: var(--ee-ink, #141413);
}

.eeiei-insights .category-filter-link.active {
  background: var(--ee-ink, #141413);
  border-color: var(--ee-ink, #141413);
  color: #fff;
}
