html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Product detail — BUNDLE & SAVE (quantity tiers) */
.bundle-save-wrap {
  margin-top: 8px;
}

.bundle-save-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2c3e50;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.bundle-save-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.bundle-card {
  position: relative;
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 100%;
  padding: 0;
  border: 2px solid #d8dee4;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.bundle-card:hover {
  border-color: #b8c5d0;
}

.bundle-card--selected {
  border-color: #1fa896;
  background: rgba(31, 168, 150, 0.09);
  box-shadow: 0 0 0 1px rgba(31, 168, 150, 0.25);
}

.bundle-card__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px 14px;
  padding-top: 18px;
}

.bundle-card__imgs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.bundle-card__imgs img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: #f6f8fa;
}

.bundle-card__text {
  min-width: 0;
}

.bundle-card__headline {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  line-height: 1.25;
}

.bundle-card__pct {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1fa896;
}

.bundle-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 10px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: uppercase;
  z-index: 1;
}

.bundle-badge--popular {
  background: #1fa896;
}

.bundle-badge--best {
  background: #e8942e;
}

@media (max-width: 576px) {
  .bundle-save-grid {
    flex-direction: column;
  }

  .bundle-card {
    flex: 1 1 auto;
    max-width: none;
  }
}