.yp-hamper-builder { padding-bottom: 6rem; }
.yp-hamper-header { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.yp-hamper-intro { color: var(--yp-text-light, #636e72); }

.yp-hamper-step { margin-bottom: 2.5rem; }
.yp-hamper-step h2 { font-size: 1.25rem; margin: 0 0 0.5rem; color: var(--yp-primary, #0a2540); }
.yp-hamper-hint { font-size: 0.9rem; color: var(--yp-text-light, #636e72); margin: 0 0 1rem; }
.yp-hamper-step.is-disabled { opacity: 0.45; pointer-events: none; }

.yp-hamper-sizes {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
}
.yp-size-btn {
  min-width: 4.5rem; padding: 0.75rem 0.9rem;
  border: 2px solid #e4eaf1; border-radius: 10px;
  background: #fff; cursor: pointer; font-weight: 700;
  color: var(--yp-primary, #0a2540); font-size: 1.1rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  transition: 0.15s ease;
}
.yp-size-btn span { font-size: 0.7rem; font-weight: 600; color: #636e72; text-transform: uppercase; }
.yp-size-btn:hover { border-color: var(--yp-accent, #ff6b35); }
.yp-size-btn.is-active {
  border-color: var(--yp-primary, #0a2540);
  background: var(--yp-primary, #0a2540); color: #fff;
}
.yp-size-btn.is-active span { color: rgba(255,255,255,0.85); }

.yp-hamper-progress-bar-wrap {
  background: #fff; border-radius: 12px; padding: 1rem 1.25rem;
  box-shadow: 0 4px 16px rgba(10,37,64,0.06); margin-bottom: 1.25rem;
  position: sticky; top: 0; z-index: 20;
}
.yp-hamper-progress-meta { font-weight: 700; font-size: 1.1rem; color: var(--yp-primary, #0a2540); margin-bottom: 0.5rem; }
.yp-hamper-progress-label { font-weight: 500; font-size: 0.85rem; color: #636e72; margin-left: 0.35rem; }
.yp-hamper-progress-track { height: 10px; background: #eef2f6; border-radius: 999px; overflow: hidden; }
.yp-hamper-progress-fill { height: 100%; background: var(--yp-accent, #ff6b35); border-radius: 999px; transition: width 0.25s ease; }
.yp-hamper-status { margin: 0.65rem 0 0; font-size: 0.9rem; color: #636e72; }
.yp-hamper-status.is-ready { color: #0a7a3e; font-weight: 600; }
.yp-hamper-status.is-over { color: #c0392b; font-weight: 600; }

.yp-hamper-cat-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.yp-hamper-cat {
  padding: 0.4rem 0.85rem; border-radius: 999px; border: none;
  background: #f0f3f7; font-weight: 600; font-size: 0.85rem;
  color: var(--yp-primary, #0a2540); cursor: pointer;
}
.yp-hamper-cat.is-active { background: var(--yp-primary, #0a2540); color: #fff; }

.yp-hamper-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.1rem;
}
.yp-hamper-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(10,37,64,0.06);
  border: 2px solid transparent; display: flex; flex-direction: column;
}
.yp-hamper-card.is-selected { border-color: var(--yp-accent, #ff6b35); }
.yp-hamper-card-img { aspect-ratio: 1; background: #f5f7fa; }
.yp-hamper-card-img img { width: 100%; height: 100%; object-fit: cover; }
.yp-hamper-card-body { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.yp-hamper-card-body h3 { font-size: 0.95rem; margin: 0; line-height: 1.3; }
.yp-hamper-card-price { font-weight: 700; color: var(--yp-primary, #0a2540); }
.yp-hamper-card-min { font-size: 0.75rem; color: #636e72; margin: 0; }

.yp-hamper-qty-row {
  display: flex; align-items: center; gap: 0.35rem; margin-top: auto; padding-top: 0.5rem;
}
.yp-hamper-qty-row button {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid #dfe6ee;
  background: #f8fafc; font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.yp-hamper-qty-row button:disabled { opacity: 0.35; cursor: not-allowed; }
.yp-hamper-qty-row input {
  width: 52px; text-align: center; border: 1px solid #dfe6ee; border-radius: 8px;
  height: 36px; font-weight: 700;
}

.yp-hamper-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #fff; border-top: 1px solid #e8ecf0;
  box-shadow: 0 -8px 24px rgba(10,37,64,0.08);
  padding: 0.85rem 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.yp-hamper-summary { display: flex; gap: 1.5rem; }
.yp-hamper-summary strong { display: block; font-size: 1.05rem; color: var(--yp-primary, #0a2540); }
.yp-hamper-summary span { font-size: 0.75rem; color: #636e72; }
.yp-hamper-footer .yp-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.yp-hamper-footer-msg { width: 100%; margin: 0; font-size: 0.85rem; color: #c0392b; }

@media (max-width: 600px) {
  .yp-hamper-products { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .yp-size-btn { min-width: 3.75rem; padding: 0.6rem; font-size: 1rem; }
}

.yp-slot-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8ecf0;
}
.yp-slot-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.yp-slot-head h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--yp-primary, #0a2540);
}
.yp-slot-quota {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--yp-accent, #ff6b35);
}
.yp-slot-rule {
  font-size: 0.75rem;
  color: #636e72;
  background: #f0f3f7;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.yp-hamper-brand {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #636e72;
  margin: 0;
}
.yp-hamper-card.is-brand-locked-out {
  opacity: 0.35;
  filter: grayscale(0.4);
  pointer-events: none;
}
.yp-quota-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: #636e72;
}
