/* ==========================================================================
   Hoekjes en Boekjes — Cadeaulijsten CSS
   Sprint 1: layout skeleton — volledige styling in Sprint 3-4
   ========================================================================== */

/* Container */
.hb-wl-page {
    padding: 60px 0 100px;
    background: var(--hb-cream);
    min-height: 60vh;
	flex: 1 1 auto;
	min-width: 0;
}

.hb-wl-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typografie */
.hb-wl-page-title {
    font-family: 'Fraunces', serif;
    font-optical-sizing: auto;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--hb-navy);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hb-wl-subhead {
    font-family: 'Nunito', sans-serif;
    color: var(--hb-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.hb-wl-owner-name {
    font-family: 'Nunito', sans-serif;
    color: var(--hb-muted);
    font-size: 1rem;
}

/* Gelegenheid pill */
.hb-wl-gelegenheid-pill {
    display: inline-block;
    background: var(--hb-navy);
    color: var(--hb-cream);
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 1rem;
}

/* Error / 404 state */
.hb-wl-not-found {
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
    font-family: 'Nunito', sans-serif;
}

/* My Account tab — wishlists */
.hb-wl-account-section {
    font-family: 'Nunito', sans-serif;
}

/* ==========================================================================
   Sprint 2 — Create form + Forgot form
   ========================================================================== */

.hb-wl-container--narrow {
    max-width: 640px;
}

/* Form structuur */
.hb-wl-form {
    margin-top: 2.5rem;
}

.hb-wl-field-group {
    margin-bottom: 1.75rem;
}

.hb-wl-label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--hb-navy);
    margin-bottom: 0.5rem;
}

.hb-wl-label-hint {
    font-weight: 400;
    color: var(--hb-muted);
    font-size: 0.875rem;
}

.hb-wl-required {
    color: var(--hb-terracotta);
}

.hb-wl-input,
.hb-wl-textarea {
    width: 100%;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--hb-text);
    background: #ffffff;
    border: 1.5px solid var(--hb-sand);
    border-radius: 6px;
    padding: 10px 14px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
    appearance: none;
}

.hb-wl-input:focus,
.hb-wl-textarea:focus {
    outline: none;
    border-color: var(--hb-navy);
    box-shadow: 0 0 0 3px rgba(29,53,87,0.08);
}

.hb-wl-input--date {
    max-width: 220px;
}

.hb-wl-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Gelegenheid radio cards */
.hb-wl-gelegenheid-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 600px) {
    .hb-wl-gelegenheid-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 380px) {
    .hb-wl-gelegenheid-grid {
        grid-template-columns: 1fr;
    }
}

.hb-wl-gelegenheid-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    border: 1.5px solid var(--hb-sand);
    border-radius: 8px;
    cursor: pointer;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    gap: 4px;
}

.hb-wl-gelegenheid-card:hover {
    border-color: var(--hb-navy);
}

.hb-wl-gelegenheid-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.hb-wl-gelegenheid-card:has(input:checked) {
    border-color: var(--hb-navy);
    background: #EDF1F7;
    box-shadow: 0 0 0 3px rgba(29,53,87,0.1);
}

.hb-wl-gel-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.hb-wl-gel-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--hb-navy);
}

.hb-wl-gel-sub {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    color: var(--hb-muted);
    line-height: 1.3;
}

/* Radio buttons (privacy) */
.hb-wl-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--hb-text);
    cursor: pointer;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.hb-wl-radio-label input[type="radio"] {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--hb-navy);
}

/* Checkbox labels */
.hb-wl-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--hb-text);
    cursor: pointer;
    line-height: 1.5;
}

.hb-wl-checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--hb-navy);
}

.hb-wl-privacy-check {
    color: var(--hb-muted);
    font-size: 0.85rem;
}

/* Submit knop */
.hb-wl-btn-primary {
    display: inline-block;
    background: var(--hb-terracotta);
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.1s ease;
    line-height: 1;
}

.hb-wl-btn-primary:hover {
    background: #b35540;
}

.hb-wl-btn-primary:active {
    transform: translateY(1px);
}

.hb-wl-btn-primary:disabled {
    background: var(--hb-muted);
    cursor: not-allowed;
}

/* Footer link */
.hb-wl-form-footer-link {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--hb-muted);
    margin-top: 1rem;
}

.hb-wl-form-footer-link a {
    color: var(--hb-navy);
}

/* Fout- en succesmeldingen */
.hb-wl-form-error {
    background: #FFF0ED;
    border-left: 3px solid var(--hb-terracotta);
    color: #8B2E1A;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    padding: 14px 16px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hb-wl-form-success {
    background: #EDF5EF;
    border-left: 3px solid var(--hb-sage);
    color: #2D5A34;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    padding: 14px 16px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ==========================================================================
   Sprint 3 — Manage page, modal, catalog button
   ========================================================================== */

/* ♡ knopje op archive cards */
.hb-loop-card {
    position: relative;
}

.hb-wishlist-card-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    min-width: 36px;
    aspect-ratio: 1;
    font-size: 18px;
    line-height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    color: var(--hb-muted);
    transition: color 0.15s ease, transform 0.1s ease;
    z-index: 2;
    padding: 0;
}

.hb-wishlist-card-btn:hover {
    color: var(--hb-terracotta);
    transform: scale(1.12);
}

/* Wishlist knopje op single product */
.hb-add-to-wishlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    background: none;
    border: 1.5px solid var(--hb-sand);
    color: var(--hb-navy);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin: 10px 0 16px;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.hb-add-to-wishlist-btn:hover {
    border-color: var(--hb-terracotta);
    color: var(--hb-terracotta);
}

/* Manage pagina layout */
.hb-wl-manage-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.hb-wl-manage-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hb-wl-manage-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hb-wl-manage-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 880px) {
    .hb-wl-manage-layout {
        grid-template-columns: 1fr;
    }
}

.hb-wl-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hb-wl-section-title {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    color: var(--hb-navy);
    margin: 0;
    font-weight: 600;
}

.hb-wl-edit-info-section {
    background: var(--hb-cream-dark);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
}

/* Items lijst */
.hb-wl-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hb-wl-item-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border: 1.5px solid var(--hb-sand);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 10px;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.hb-wl-item-card.hb-wl-dragging {
    opacity: 0.4;
}

.hb-wl-item-card.hb-wl-drag-over {
    border-color: var(--hb-navy);
    box-shadow: 0 0 0 2px rgba(29,53,87,0.15);
}

.hb-wl-item-drag-handle {
    font-size: 18px;
    color: var(--hb-muted);
    cursor: grab;
    padding: 4px 2px;
    flex-shrink: 0;
    user-select: none;
    line-height: 1;
}

.hb-wl-item-drag-handle:active {
    cursor: grabbing;
}

.hb-wl-item-card__img-wrap {
    flex-shrink: 0;
    width: 64px;
}

.hb-wl-item-card__img {
    width: 64px;
    height: auto;
    border-radius: 4px;
    display: block;
}

.hb-wl-item-card__body {
    flex: 1;
    min-width: 0;
}

.hb-wl-item-card__title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--hb-navy);
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
    line-height: 1.3;
}

.hb-wl-item-card__title:hover {
    text-decoration: underline;
}

.hb-wl-item-card__meta {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    color: var(--hb-muted);
    display: block;
    margin-bottom: 4px;
}

.hb-wl-item-card__price {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--hb-navy);
    display: block;
    margin-bottom: 10px;
}

.hb-wl-item-card__fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hb-wl-item-qty-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hb-wl-item-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.82rem;
    color: var(--hb-muted);
}

.hb-wl-item-qty {
    width: 58px;
    padding: 4px 8px;
    border: 1.5px solid var(--hb-sand);
    border-radius: 4px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--hb-text);
    text-align: center;
}

.hb-wl-item-purchased-info {
    margin: 4px 0;
}

.hb-wl-item-buyer {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.78rem;
    color: var(--hb-muted);
    margin-top: 2px;
}

.hb-wl-item-card__actions {
    flex-shrink: 0;
}

.hb-wl-item-delete {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--hb-muted);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    line-height: 1;
    transition: color 0.12s ease, background 0.12s ease;
}

.hb-wl-item-delete:hover {
    color: var(--hb-terracotta);
    background: #FFF0ED;
}

/* Sidebar */
.hb-wl-sidebar-section {
    background: #fff;
    border: 1.5px solid var(--hb-sand);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 14px;
}

.hb-wl-share-url {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.hb-wl-share-url-input {
    flex: 1;
    font-size: 0.78rem;
    color: var(--hb-muted);
    min-width: 0;
}

.hb-wl-share-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hb-wl-share-wa,
.hb-wl-share-email {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: 6px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.hb-wl-share-wa {
    background: #25D366;
    color: #fff;
}

.hb-wl-share-wa:hover { opacity: 0.88; }

.hb-wl-share-email {
    background: var(--hb-cream-dark);
    color: var(--hb-navy);
    border: 1.5px solid var(--hb-sand);
}

.hb-wl-share-email:hover { background: #e3ddd0; }

.hb-wl-magic-section {
    background: var(--hb-cream-dark);
    border-color: transparent;
}

.hb-wl-url-display {
    word-break: break-all;
    font-size: 0.75rem;
    font-family: monospace;
    background: rgba(255,255,255,0.6);
    padding: 8px 10px;
    border-radius: 4px;
    color: var(--hb-muted);
    line-height: 1.4;
}

.hb-wl-danger-section {
    border-color: transparent;
    background: transparent;
    padding: 0;
}

/* Knoppen */
.hb-wl-btn-secondary {
    display: inline-block;
    background: none;
    border: 1.5px solid var(--hb-navy);
    color: var(--hb-navy);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 9px 18px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.12s ease;
    line-height: 1;
    white-space: nowrap;
}

.hb-wl-btn-secondary:hover {
    background: var(--hb-cream-dark);
}

.hb-wl-btn-text {
    background: none;
    border: none;
    color: var(--hb-muted);
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px;
}

.hb-wl-btn-danger {
    display: block;
    width: 100%;
    text-align: center;
    background: none;
    border: 1.5px solid #C0392B;
    color: #C0392B;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s ease;
}

.hb-wl-btn-danger:hover {
    background: #FFF0ED;
}

/* Visibility pill */
.hb-wl-visibility-pill {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 100px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hb-wl-visibility-pill--publiek {
    background: var(--hb-sage);
    color: #fff;
}

.hb-wl-visibility-pill--prive {
    background: var(--hb-muted);
    color: #fff;
}

/* Status badge */
.hb-wl-status-badge {
    display: inline-block;
    background: var(--hb-terracotta);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 100px;
    margin-bottom: 4px;
}

/* Empty state */
.hb-wl-empty-state {
    text-align: center;
    padding: 48px 24px;
    background: var(--hb-cream-dark);
    border-radius: 8px;
}

.hb-wl-empty-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
    color: var(--hb-muted);
}

.hb-wl-empty-state h3 {
    font-family: 'Fraunces', serif;
    color: var(--hb-navy);
    font-size: 1.1rem;
    margin: 0 0 8px;
}

.hb-wl-empty-state p {
    font-family: 'Nunito', sans-serif;
    color: var(--hb-muted);
    font-size: 0.95rem;
    margin: 0 0 20px;
    line-height: 1.5;
}

/* Toast */
.hb-wl-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: var(--hb-navy);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.hb-wl-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hb-wl-toast--error {
    background: var(--hb-terracotta);
}

.hb-wl-toast-static {
    margin-bottom: 24px;
}

/* Muted text */
.hb-wl-muted-text {
    font-family: 'Nunito', sans-serif;
    color: var(--hb-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Modal */
.hb-wl-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.hb-wl-modal[hidden] {
    display: none;
}

.hb-wl-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.48);
}

.hb-wl-modal__inner {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 28px 28px 24px;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.hb-wl-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--hb-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.12s ease;
}

.hb-wl-modal__close:hover {
    color: var(--hb-navy);
}

.hb-wl-modal-title {
    font-family: 'Fraunces', serif;
    color: var(--hb-navy);
    font-size: 1.35rem;
    margin: 0 0 1rem;
    padding-right: 24px;
    font-weight: 600;
}

.hb-wl-modal-list-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1.5px solid var(--hb-sand);
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: border-color 0.12s ease;
}

.hb-wl-modal-list-option:has(input:checked) {
    border-color: var(--hb-navy);
    background: #EDF1F7;
}

.hb-wl-modal-list-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--hb-navy);
    flex: 1;
}

.hb-wl-modal-list-count {
    font-family: 'Nunito', sans-serif;
    font-size: 0.78rem;
    color: var(--hb-muted);
}

.hb-wl-modal-fields {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hb-wl-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 1.25rem;
}

/* Header wishlist icon */
.hb-action-wishlist {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    line-height: 1;
}

.hb-action-wishlist svg {
    width: 22px;
    height: 22px;
    display: block;
}

.hb-action-wishlist:hover svg {
    stroke: var(--hb-terracotta);
}

.hb-wl-header-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--hb-terracotta);
  color: var(--hb-white);
  border-radius: 10px;
  font-family: var(--hb-font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Sprint 4 — Public view
   ========================================================================== */

.hb-wl-container--wide {
    max-width: 960px;
}

/* Hero */
.hb-wl-view-hero {
    background: var(--hb-cream-dark);
    padding: 48px 24px 40px;
    text-align: center;
}

.hb-wl-view-owner {
    font-family: 'Nunito', sans-serif;
    color: var(--hb-muted);
    font-size: 1.05rem;
    margin: 4px 0 0;
}

.hb-wl-view-date {
    font-style: italic;
}

.hb-wl-view-boodschap {
    max-width: 600px;
    margin: 20px auto 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--hb-muted);
    line-height: 1.7;
    background: #fff;
    border-radius: 8px;
    padding: 20px 24px;
    text-align: left;
    border-left: 3px solid var(--hb-sand);
}

.hb-wl-view-boodschap p:last-child { margin-bottom: 0; }

/* Items grid */
.hb-wl-view-main {
    padding: 48px 24px;
    background: var(--hb-cream);
}

.hb-wl-items-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 800px) {
    .hb-wl-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .hb-wl-items-grid {
        grid-template-columns: 1fr;
    }
}

/* Public item card */
.hb-wl-pub-card {
    background: #fff;
    border: 1.5px solid var(--hb-sand);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}

.hb-wl-pub-card:hover {
    box-shadow: 0 4px 16px rgba(29,53,87,0.10);
}

.hb-wl-pub-card--full {
    opacity: 0.55;
    filter: grayscale(0.3);
}

.hb-wl-pub-card__cover {
    background: var(--hb-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--hb-cream-dark);
}

.hb-wl-pub-card__img {
    max-height: 190px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.hb-wl-pub-card__info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.hb-wl-pub-card__title {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--hb-navy);
    text-decoration: none;
    line-height: 1.3;
}

.hb-wl-pub-card__title:hover { color: var(--hb-terracotta); }

.hb-wl-pub-card__auteur {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    color: var(--hb-muted);
}

.hb-wl-pub-card__price {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--hb-navy);
    margin: 4px 0 8px;
}

/* Status badges */
.hb-wl-pub-status {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}

.hb-wl-pub-status--full span:first-child {
    display: inline-block;
    background: var(--hb-sage);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    width: fit-content;
}

.hb-wl-pub-status--partial span:first-child {
    display: inline-block;
    background: var(--hb-sand);
    color: var(--hb-navy);
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    width: fit-content;
}

.hb-wl-pub-status__by {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    color: var(--hb-muted);
    font-style: italic;
    padding-left: 2px;
}

/* Add to cart */
.hb-wl-pub-card__atc {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hb-wl-pub-qty {
    width: 70px;
    padding: 5px 8px;
    border: 1.5px solid var(--hb-sand);
    border-radius: 4px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    color: var(--hb-text);
}

.hb-wl-pub-atc-btn {
    display: block;
    width: 100%;
    background: var(--hb-navy);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 10px 16px;
    cursor: pointer;
    text-align: center;
    transition: background 0.12s ease;
}

.hb-wl-pub-atc-btn:hover   { background: #152844; }
.hb-wl-pub-atc-btn:disabled { background: var(--hb-muted); cursor: not-allowed; }

.hb-wl-pub-unavailable {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    color: var(--hb-muted);
    font-style: italic;
    margin: auto 0 0;
    padding-top: 8px;
}

/* Footer */
.hb-wl-view-footer {
    background: var(--hb-cream-dark);
    padding: 40px 24px;
    border-top: 1px solid var(--hb-sand);
}

.hb-wl-view-footer__share {
    text-align: center;
    margin-bottom: 32px;
}

.hb-wl-view-footer__tagline {
    font-family: 'Nunito', sans-serif;
    color: var(--hb-muted);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.hb-wl-view-footer__share-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hb-wl-view-footer__webshop {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--hb-sand);
}

.hb-wl-view-footer__webshop p {
    font-family: 'Nunito', sans-serif;
    color: var(--hb-muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

/* Astra container override voor wishlist pagina's */
.hb-wishlist-page #content .ast-container,
.hb-wishlist-page #primary,
.hb-wishlist-page .site-main,
.hb-wishlist-page article.hentry,
.hb-wishlist-page .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ==========================================================================
   My Account — Mijn lijsten tab
   ========================================================================== */

.hb-wl-account-section {
    font-family: 'Nunito', sans-serif;
}

.hb-wl-account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hb-wl-account-title {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    color: var(--hb-navy);
    margin: 0;
}

.hb-wl-account-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--hb-cream);
    border-radius: 8px;
    border: 1.5px dashed var(--hb-sand);
}

.hb-wl-account-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hb-wl-account-card {
    background: #fff;
    border: 1.5px solid var(--hb-sand);
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hb-wl-account-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hb-wl-account-card__title {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    color: var(--hb-navy);
    margin: 0 0 2px;
    font-weight: 700;
}

.hb-wl-account-card__date {
    font-size: 0.8rem;
    color: var(--hb-muted);
    margin: 0;
}

.hb-wl-account-card__stats {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--hb-muted);
}

.hb-wl-account-card__bought {
    color: var(--hb-sage);
    font-weight: 700;
}

.hb-wl-account-card__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Mobile — wishlist pagina's
   ========================================================================== */

@media (max-width: 600px) {

    /* Create form — gelegenheid cards */
    .hb-wl-gelegenheid-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Manage page — sidebar onder main */
    .hb-wl-manage-layout {
        grid-template-columns: 1fr;
    }

    .hb-wl-manage-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hb-wl-manage-header-actions {
        width: 100%;
    }

    .hb-wl-btn-secondary.hb-wl-edit-info-toggle {
        width: 100%;
        text-align: center;
    }

    /* Item cards manage */
    .hb-wl-item-card {
        flex-wrap: wrap;
    }

    .hb-wl-item-drag-handle {
        display: none; /* drag niet bruikbaar op touch */
    }

    /* Share section */
    .hb-wl-share-url {
        flex-direction: column;
    }

    .hb-wl-share-url-input {
        width: 100%;
    }

    /* Public view */
    .hb-wl-items-grid {
        grid-template-columns: 1fr;
    }

    .hb-wl-view-footer__share-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .hb-wl-view-footer__share-btns a,
    .hb-wl-view-footer__share-btns button {
        text-align: center;
        width: 100%;
    }

    /* Modal */
    .hb-wl-modal__inner {
        padding: 24px 20px 20px;
    }

    /* Form buttons */
    .hb-wl-btn-primary,
    .hb-wl-btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Account cards */
    .hb-wl-account-card__actions {
        flex-direction: column;
    }

    .hb-wl-account-card__actions a {
        text-align: center;
    }
}