/* Cuvée custom styles overlayed on top of MudBlazor. Keep small and purposeful. */

dl.cuvee-detail-list {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 1rem;
    row-gap: 0.35rem;
    margin: 0.25rem 0 0 0;
}

dl.cuvee-detail-list dt {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875rem;
}

dl.cuvee-detail-list dd {
    margin: 0;
    font-size: 0.95rem;
}

/* Compact mobile list cards used by the entity list pages (Hyller, Viner, Flasker, Produsenter).
   Goal: 3-4 items visible per iPhone screen. */
.cuvee-list-card {
    position: relative;
    padding: 10px 12px 8px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.cuvee-list-card__title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
    padding-right: 80px; /* leave room for the absolute-positioned action strip */
}

.cuvee-list-card__subtitle {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.3;
    margin: 2px 0 4px;
}

.cuvee-list-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.72);
}

.cuvee-list-card__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cuvee-list-card__meta-label {
    color: rgba(0, 0, 0, 0.48);
    font-size: 0.72rem;
}

.cuvee-list-card__actions {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    gap: 2px;
}

.cuvee-list-card__progress {
    margin-top: 6px;
}

.cuvee-list-card__progress .mud-progress-linear {
    height: 4px !important;
}

a.cuvee-list-card--link {
    display: block;
    color: inherit;
    text-decoration: none;
}

a.cuvee-list-card--link:hover {
    background-color: rgba(109, 76, 46, 0.04);
}

/* Selected-in-multi-select styling for entity list cards. */
.cuvee-list-card--selected {
    background-color: rgba(109, 76, 46, 0.08);
    border-left: 3px solid #6d4c2e;
}

/* Floating selection toolbar that slides up from the bottom when at least one
   card is selected in a multi-select list. Lives above the FAB. */
.cuvee-selection-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #3f2a1a;
    color: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.cuvee-selection-bar .mud-button-text {
    color: #fff;
}

/* /b/{slug} tag-landing page — prominent wine name + mobile-first padding. */
.cuvee-tag-landing__header {
    line-height: 1.2;
}

.cuvee-tag-landing__wine {
    margin: 2px 0 0;
    line-height: 1.15;
    overflow-wrap: break-word;
}

.cuvee-tag-landing__vintage {
    margin: 2px 0 0;
    color: rgba(0, 0, 0, 0.64);
    font-weight: 400;
}

.cuvee-tag-landing__cta {
    min-height: 60px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Two-column density on narrow screens: "label · value" pairs flow inline. */
@media (min-width: 600px) {
    .cuvee-list-card {
        padding: 12px 16px 10px;
    }
}
