/* Filterpanel */
.ma-mobile-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    background: #f8f9fb;
    border-radius: 8px;
    border: 1px solid #e2e5ec;
}

.ma-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.ma-filter-group label {
    font-weight: 600;
    font-size: 13px;
}

.ma-filter-group input[type="range"] {
    width: 100%;
}

.ma-filter-value {
    font-size: 12px;
    color: #555;
}

.ma-filter-group--checkboxes {
    gap: 6px;
}

.ma-filter-group--checkboxes > label {
    font-weight: 600;
}

.ma-filter-group--checkboxes label input {
    margin-right: 4px;
    font-weight: 400;
}

#ma-filter-streaming-service {
    padding: 4px 6px;
    font-size: 13px;
}

/* Tabel */
.ma-mobile-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 1rem 0 2rem;
}

.ma-mobile-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ma-mobile-table th,
.ma-mobile-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
}

.ma-mobile-table thead th {
    font-weight: 600;
    background: #f8f9fb;
}

.ma-col-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ma-col-brand img {
    max-height: 40px;
    width: auto;
    display: block;
}

.ma-campaign {
    font-weight: 600;
    margin-bottom: 4px;
}

.ma-promo {
    font-size: 12px;
    background: #fff7e0;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
}

.ma-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.ma-tag {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 999px;
    border: 1px solid #ddd;
}

.ma-price-old {
    font-size: 12px;
    text-decoration: line-through;
    color: #999;
    display: block;
}

.ma-price {
    font-weight: 700;
    font-size: 15px;
    display: block;
}

.ma-btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #007bff; /* tilpas til din palette */
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

.ma-btn:hover {
    opacity: 0.9;
}

.ma-disclaimer {
    font-size: 12px;
    color: #777;
    margin-top: 8px;
}

/* Mobiljusteringer */
@media (max-width: 768px) {
    .ma-mobile-table th,
    .ma-mobile-table td {
        padding: 8px 6px;
    }

    .ma-col-brand {
        flex-direction: row;
        align-items: center;
    }

    .ma-col-brand span {
        font-size: 13px;
    }
}
