/* ═══════════════════════════════════
   COMPONENTS — Natuurlijk.fit
═══════════════════════════════════ */

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .04em;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--dur-med) var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--deep);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--acc);
  color: var(--deep);
}
.btn-accent:hover {
  background: var(--acc-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--deep);
}
.btn-outline:hover {
  border-color: var(--mid);
  background: var(--pale);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.5);
  color: var(--white);
  background: rgba(255,255,255,.05);
}

.btn-sm {
  font-size: var(--text-xs);
  padding: 9px 18px;
}

.btn-lg {
  font-size: var(--text-base);
  padding: 16px 36px;
}

/* ── Cards ── */

.card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-8) var(--sp-6);
  transition: border-color var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}

.card:hover {
  border-color: var(--acc);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  transition: background var(--dur-med) var(--ease-out);
}

.card:hover .card-icon {
  background: var(--acc);
}

.card:hover .card-icon svg path,
.card:hover .card-icon svg circle,
.card:hover .card-icon svg line,
.card:hover .card-icon svg rect {
  stroke: var(--white);
}

.card-title {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: var(--sp-2);
}

.card-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.65;
  font-weight: 400;
}

/* ── Badges ── */

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  color: var(--muted);
  line-height: 1;
}

.badge-green {
  background: var(--pale);
  border-color: var(--acc);
  color: var(--deep);
}

.badge-accent {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--deep);
}

.badge-function {
  background: rgba(82, 183, 136, .08);
  border-color: var(--acc);
  color: var(--mid);
  text-decoration: none;
  transition: background var(--dur-fast);
}

.badge-function:hover {
  background: var(--pale);
}

.badge-ingredient {
  background: rgba(45, 106, 79, .06);
  border-color: var(--mid);
  color: var(--mid);
  text-decoration: none;
  transition: background var(--dur-fast);
}

.badge-ingredient:hover {
  background: rgba(45, 106, 79, .12);
}

/* ── Product cards ── */

.product-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.product-card:hover {
  border-color: var(--acc);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  background: var(--cream);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.product-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(245,240,232,.6));
}

.product-card__body {
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
}

.product-card__cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: var(--sp-2);
}

.product-card__name {
  font-family: var(--heading);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--deep);
  margin-bottom: var(--sp-1);
  line-height: 1.3;
}

.product-card__tagline {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: var(--sp-4);
}

.product-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) var(--sp-5) var(--sp-4);
  border-top: 1px solid var(--border);
}

.product-card__footer .button,
.product-card__footer .add_to_cart_button {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--deep);
  color: var(--white);
  padding: 7px 14px;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast);
  line-height: 1;
}

.product-card__footer .button:hover,
.product-card__footer .add_to_cart_button:hover {
  background: var(--mid);
}

.product-card__footer .added_to_cart {
  font-size: 10px;
  font-weight: 600;
  color: var(--acc);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.product-card__price {
  font-family: var(--heading);
  font-size: var(--text-lg);
  color: var(--deep);
  font-weight: 500;
}

.product-card__action {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--acc);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  transition: color var(--dur-fast);
}

.product-card:hover .product-card__action {
  color: var(--deep);
}

.product-detail__dagprijs {
  font-size: var(--text-sm);
  color: var(--acc);
  font-weight: 500;
  margin-top: var(--sp-1);
}

.product-card__dagprijs {
  font-size: 11px;
  color: var(--acc);
  font-weight: 500;
  margin-top: 2px;
}

/* ── Stat boxes ── */

.stat-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
}

.stat-box--light {
  background: var(--ivory);
  border-color: var(--border);
}

.stat-box__value {
  font-family: var(--heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.stat-box--light .stat-box__value {
  color: var(--deep);
}

.stat-box__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

.stat-box--light .stat-box__label {
  color: var(--muted);
}

/* ── Quality items ── */

.quality-item {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}

.quality-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.quality-item__glyph {
  font-family: var(--heading);
  font-size: 2.5rem;
  color: var(--deep);
  opacity: .2;
  display: block;
  margin-bottom: var(--sp-3);
  line-height: 1;
}

.quality-item__title {
  font-family: var(--body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--deep);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.quality-item__desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.6;
  font-weight: 400;
}

/* ── Info blocks (contact page) ── */

.info-block {
  margin-bottom: var(--sp-8);
}

.info-block__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: var(--sp-2);
}

.info-block__value {
  font-size: var(--text-md);
  color: var(--deep);
  font-weight: 500;
}

.info-block__value a {
  color: var(--mid);
  transition: color var(--dur-fast);
}

.info-block__value a:hover {
  color: var(--acc);
}

.info-block__sub {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 400;
  margin-top: var(--sp-1);
}

/* ── Forms ── */

.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--deep);
  display: block;
  margin-bottom: var(--sp-2);
  letter-spacing: .02em;
}

.form-label span {
  color: var(--muted);
  font-weight: 400;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--body);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, .12);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: var(--sp-1);
  font-weight: 400;
}

/* ── Ingredient list ── */

.ingr-list {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.ingr-list__header {
  background: var(--cream);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--deep);
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.ingr-list__row {
  display: flex;
  justify-content: space-between;
  padding: 10px var(--sp-4);
  border-bottom: 1px solid rgba(200, 221, 210, .4);
  font-size: var(--text-sm);
}

.ingr-list__row:last-child {
  border-bottom: none;
}

.ingr-list__name {
  color: var(--deep);
  font-weight: 400;
}

.ingr-list__value {
  color: var(--muted);
  font-weight: 400;
}

.ingr-list__row--highlight .ingr-list__name,
.ingr-list__row--highlight .ingr-list__value {
  color: var(--acc);
  font-weight: 600;
}

/* ── Locked block ── */

.locked-block {
  background: var(--cream);
  border: 1.5px solid #D97706;
  border-radius: var(--r-md);
  padding: var(--sp-6);
}

.locked-block__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--deep);
  margin-bottom: var(--sp-1);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.locked-block__desc {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 400;
  margin-bottom: var(--sp-4);
  line-height: 1.65;
}

/* ── Tables ── */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.data-table th {
  text-align: left;
  padding: 12px var(--sp-4);
  font-size: var(--text-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--cream);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px var(--sp-4);
  border-bottom: 1px solid rgba(200, 221, 210, .4);
  color: var(--charcoal);
  font-weight: 400;
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* ── Channel cards (waar te koop) ── */

.channel-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  transition: border-color var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
  display: block;
  text-decoration: none;
  color: inherit;
}

.channel-card:hover {
  border-color: var(--acc);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.channel-card--placeholder {
  border-style: dashed;
  background: var(--cream);
}

.channel-card--placeholder:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.channel-card__icon {
  width: 48px;
  height: 48px;
  background: var(--pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}

.channel-card__name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--deep);
  margin-bottom: var(--sp-1);
}

.channel-card__desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: var(--sp-4);
}

.channel-card__cta {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--acc);
}

/* ── Distributor rows ── */

.distributor-row {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  transition: border-color var(--dur-fast);
  text-decoration: none;
  color: inherit;
}

.distributor-row:hover {
  border-color: var(--acc);
}

.distributor-row__icon {
  width: 40px;
  height: 40px;
  background: var(--pale);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.distributor-row__info {
  flex: 1;
}

.distributor-row__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--deep);
}

.filter-bar__sep {
  color: var(--border);
  font-size: var(--text-sm);
  padding: 0 var(--sp-1);
  display: flex;
  align-items: center;
}

.distributor-row__desc {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 400;
}

.distributor-row__arrow {
  font-size: var(--text-xs);
  color: var(--acc);
  font-weight: 600;
}

/* ── Blog cards ── */

.blog-card {
  transition: border-color var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out);
}

.blog-card:hover {
  border-color: var(--acc);
  transform: translateY(-3px);
}
